@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Bebas+Neue&family=Oswald:wght@700&display=swap');

*{
    margin:0px;
    padding:0px;
    font-family: almarai , system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    scroll-behavior: smooth;

}

.logo{
    width:120px;
}
header{
    display:flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    position: sticky;
    top: 0.2em;
    z-index: 555;
    padding:1rem;
    margin-left: 15%;           
    margin-right: 15%;
    border-radius: 2rem;
    
     }
     
nav{
  margin-left: 20%;
}
nav ul{
    display: flex;
    gap:2rem;
    height: 100%;
}
nav ul li{
    list-style: none;
    height: 100%;
}
nav ul li a{
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    padding-top: 2rem;
    color:#09374b

}
nav ul li:hover{
    background-color: #D7C080;
}
.social-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-top: 3rem;
}

.social-header a {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.social-header a:hover {
  transform: scale(1.1);
}


.hero{
    display:flex;
    flex-direction: column;
    align-items: center;
    height: 60rem;
    color:#D7C080; 
    
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.6),rgba(0, 0, 0, 0.9)),
              url("imges/hero_back.webp");  
    background-repeat: no-repeat;
    background-size:cover ;
    background-position: center;    
    margin-bottom: 7rem;                                                          
    
    
}
/* heroo......................................................................................... */
.box {
  display: inline-block;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  background: transparent; /* غيّرها لو عايز خلفية */
}

.type {
  font-size: 1.8rem; /* غيّر المقاس حسب تصميمك */
  line-height: 1.4;
  white-space: pre; /* يحافظ على المسافات */
  color: #fff;      /* غيّر اللون حسب الثيم */
  height: 2em;
}

.cursor {
  display: inline-block;
  width: 0.08em;
  height: 1em;
  translate: 0 .15em;
  background: #60a5fa;
  animation: blink 1s steps(1) infinite;
  margin-inline-start: .12em;
}

@keyframes blink {
  0%, 49% { opacity: 1 }
  50%, 100% { opacity: 0 }
}

/* heroo............................................................ */




.hero_image{
    width:30rem;
}
.hero_image {
  opacity: 0;
  animation: hero_image 2s ease forwards;
}

@keyframes hero_image {
  to { opacity: 1; }
}



.es{
    text-decoration: none;
    color:#D7C080;
    font-size: 20px;
    margin-top: 5rem;
    background-color: #0C3F54;
    padding:20px;
    border-radius: 30px;
    

}
            
.es:hover{
    background-color: #D7C080;
    color:#0C3F54;
    transform: scale(0.9);
    transition-duration: 0.2s;
}
.main{
    font-size: 3rem;
}
.cards{
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin:auto;
    color:#0C3F54;
    margin-bottom: 5rem;

}           
.icon{
    width:4rem ;
    
}
.card{
    display: flex;
    flex-direction: column;
    width:15rem;
    align-items: center;
    gap:0.5rem;
    background-color: #D7C080;
    border-radius: 20%;
    padding: 2rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.9);
   
 }
.card p{
    text-align: justify;
    font-size: 15px;
    font-weight: 700;
           
}
.card:hover{                            
    transform: scale(1.1);
    transition-duration:0.5s;    
    background-color: #0C3F54;   
    color: #D7C080;                  
}
.card h3{
    font-size: 2rem;            
    justify-content: space-between;
}
.man{
display: flex;
width: 70%;
margin: auto;
gap:5rem;   
margin-bottom: 2rem;
}
.image img{
    width:30rem;
    border-radius: 2rem;
}
.text{
    display: flex;
     flex-direction: column;
    width: 50%;
    justify-content: center;    
    color:#0C3F54 ;   
    gap:20px;     
    border-style: outset;     
    border-color: #D7C080;          
    padding: 2rem;           
    border-radius: 2rem;                                          
}
.text p{
    font-size: 20px;
    text-align:justify;
    line-height: 3rem;
}

.text h2{
    padding: 7px;
    border-radius: 2rem;
    background-color: #d7c080;
    padding: 1rem;
}


/* slider .................... */

.about_us{
  background:linear-gradient(rgb(14, 71, 94),rgb(5, 28, 37));
    height: 700px;
    margin-bottom: 5rem;
}


.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
   width:70%;
    margin:auto;
    gap:7rem;
}




.slides{ 
    display: flex;
    position: relative;
  width: 100%     ;
  object-fit: cover;
min-height: 600px ;
background-image: url(imges/4.jpg);
background-repeat: no-repeat;
background-position: center;
animation-name: slides;
animation-duration: 50s;
animation-delay: 3s;
animation-iteration-count: infinite;
border-radius: 2rem;
}
@keyframes slides{
    20%{background-image: url(imges/3.jpg);}
    30%{background-image: url(imges/4.jpg);}                                                                           
    40%{background-image: url(imges/5.jpg);}
    50%{background-image: url(imges/6.jpg);}
    60%{background-image: url(imges/7.jpg);}
    70%{background-image: url(imges/777.jpg);}
}


.about_us_text{
    width:100%;
}
.about_us_text h2{
    font-size: 3rem;
    color:#D7C080
}       
.about_us_text p{
    color:#fff;
    font-size:20px;   
    text-align: justify;   
    line-height: 2.5rem;                                                                               
}

/* counter ...................................*/
.counter-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem;
   background:linear-gradient(rgb(14, 71, 94),rgb(7, 35, 46));
;   /* خلفية السكشن */
  color: #fff;
  text-align: center;
  flex-wrap: wrap; /* مهم عشان يكون Responsive */
  
}

.counter-box {
  flex: 1 1 200px;  /* يتقلص ويتمدد حسب الشاشة */
  min-width: 180px;
}

.counter-box h2 {
  font-size: 3rem;
  color: #D7C080;
  margin-bottom: 10px;
}

.counter-box p {
  font-size: 1.2rem;
}

/* Accordion .............................................*/
.services {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 10px;
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color:#0C3F54;
  }

.accordion-item {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.accordion-content ul {
  list-style-type: disc;   /* نقط */
  margin: 0.5rem 1.5rem;
  padding: 0;
  display: block;          /* يخليها عمود */
}

.accordion-content li {
  display: list-item;      /* يخلي العناصر تحت بعض */
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
/* زر العنوان */
.accordion-header {
  width: 100%;
  text-align: right;
  padding: 1rem;
  font-size: 1.2rem;
  background:#0C3F54;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between; /* يخلي السهم في الشمال */
  align-items: center;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: #0b4c65;
}

.arrow {
  transition: transform 0.3s ease;
}

/* محتوى مخفي افتراضيًا */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem; /* padding جانبي بس */
  background: #fff;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-content p {
  margin: 1rem 0;
  line-height: 1.6;
  color: #333;
  text-align: justify;
}

/* عند الفتح */
.accordion-item.active .accordion-content {
  padding: 1rem;
}

.accordion-item.active .arrow {
  transform: rotate(180deg); /* يقلب السهم لفوق */
}

/* whay_us cards................................................................................ */

.whay_us{
  display: flex;
  flex-direction:column ;
  align-items: center;
  background:linear-gradient(rgb(14, 71, 94),rgb(6, 32, 43));
  

}
.whay_us_cards{
  display: flex;
    width:70%;
justify-content: center;
gap:5rem;
color:#fff;
padding: 5rem;
}                           

.whay_us_cards img{
  width:70px;

}
.whay_us_text{
  background-color: #D7C080;
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}
.whay_us_cards div{
  display: flex;
  flex-direction: column;
  align-items: center;
  border-style: outset;
  border-color: #D7C080;
  padding: 1rem;
  width:200px;
  border-radius: 2rem;



}
.whay_us_cards div:hover{
  transform: scale(1.1);
  transition-duration: 0.5s;
}
.whay_us_cards div li{
line-height: 0.5rem;
padding-top: 2rem;
}
.whay_us_cards h2{
  color:#D7C080;
}

/* contact us .......................*/
.contact-info {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 10px;
  text-align: center;
}

.contact-info h2 {
  margin-bottom: 1rem;
  color: #09374b;
  background-color: #D7C080;
  border-radius: 1rem;
}

.contact-info .info p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #333;
}

.contact-info .social {
  margin-top: 1.5rem;
}

.contact-info .social a {
  display: inline-block;
  margin: 0 0.5rem;
  padding: 0.6rem 1.2rem;
  background: #09374b;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.contact-info .social a:hover {
  background: #0b4c65;
}

/* footer....................... */
footer {
   background:linear-gradient(rgb(22, 112, 148),rgb(6, 32, 43));
  
  padding: 2rem 0;
  text-align: center;
  color:#fff;
}

.social-footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-top: 3rem;
}

.social-footer a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.social-footer a:hover {
  transform: scale(1.1);
}

/* ألوان خاصة بكل منصة */
.facebook { background: #3b5998; }
.instagram { background: #e4405f; }
.tiktok { background: #010101; }
.x { background: #111111; }
.linkedin { background: #0077b5; }
/* .youtube { background: #ff0000; } */

.image_footer{
  width:500px;   
  border-radius: 2rem;                               
}
.logo_footer{
  width:200px;
}
.info{
  margin-top: 3rem;
}                           

.footer-text {
  font-size: 0.7rem;
  margin-top: 2rem;
  opacity: 0.9;

}
/* الفاصل */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin: 1.5rem auto;
  width: 80%;
}

/* النصوص */
.footer-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

.design-by {
  font-size: 0.7rem;
  margin-top: 0.5rem;
  color: #ccc;
}

.design-by span {
  color: #d7c080; /* لون ذهبي أنيق */
  font-weight: bold;
}

.parteners{
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center       ;
}
.parteners img{
  width:900px;

}
.parteners h2{
  color:#09374b;
  background-color: #D7C080;
  padding: 0.5rem;
  width:35%;
  text-align: center;
  border-radius: 2rem;
}
/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ======================================== */

/* Hamburger menu button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 1000;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #09374b;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   TABLET STYLES (768px and below)
   ======================================== */
@media (max-width: 768px) {
  /* Header adjustments */
  header {
    margin-left: 2%;
    margin-right: 2%;
    padding: 0.8rem 1.2rem;
    flex-wrap: wrap;
  }
  
  .logo {
    width: 80px;
  }

  /* Navigation - Mobile menu */
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(9, 55, 75, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 999;
  }

  nav.show {
    display: block;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
  }

  nav ul li a {
    color: #D7C080;
    font-size: 18px;
    padding: 0.8rem 0;
    display: block;
    border-bottom: 1px solid rgba(215, 192, 128, 0.2);
  }

  nav ul li:hover {
    background-color: transparent;
  }

  nav ul li a:hover {
    color: #fff;
  }

  .hamburger {
    display: flex;
    order: 2;
  }

  .social-header {
    display: none;
  }

  /* Hero section */
  .hero {
    height: 50rem;
    padding: 2rem 1rem;
  }

  .hero_image {
    width: 20rem;
  }

  .main {
    font-size: 2rem;
    text-align: center;
    padding: 0 1rem;
  }

  .box {
    padding: 0.8rem 1rem;
  }

  .type {
    font-size: 1.4rem;
  }

  .es {
    font-size: 16px;
    padding: 15px 20px;
    margin-top: 3rem;
  }

  /* Cards section */
  .cards {
    flex-direction: column;
    width: 90%;
    gap: 2rem;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 300px;
    padding: 1.5rem;
  }

  .card h3 {
    font-size: 1.5rem;
  }

  /* About us section */
  .man {
    flex-direction: column;
    width: 90%;
    gap: 2rem;
    text-align: center;
  }
  

  .text {
    width: 90%;
    padding: 1.5rem;
  }

  .text h2 {
    font-size: 1.8rem;
  }

  .text p {
    font-size: 16px;
    line-height: 2rem;
  }

  .image img {
    width: 100%;
    max-width: 400px;
  }

  /* Container adjustments */
  .container {
    width: 95%;
    flex-direction: column;
    gap: 3rem;
  }

  .slides {
    min-height: 300px;
    width: 100%;
  }

  .about_us_text h2 {
    font-size: 2rem;
    text-align: center;
  }

  .about_us_text p {
    font-size: 16px;
    line-height: 2rem;
  }

  /* Counter section */
  .counter-section {
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 1rem;
  }

  .counter-box h2 {
    font-size: 2.2rem;
  }

  .counter-box p {
    font-size: 1rem;
  }

  /* Services section */
  .services {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }

  .services h2 {
    font-size: 1.8rem;
  }

  .accordion-header {
    font-size: 1rem;
    padding: 0.8rem;
  }

  /* Why us section */
  .whay_us_cards {
    flex-direction: column;
    width: 95%;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .whay_us_cards div {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Partners section */
  .parteners img {
    width: 100%;
    max-width: 500px;
  }

  .parteners h2 {
    width: 80%;
    font-size: 1.5rem;
  }

  /* Contact section */
  .contact-info {
    margin: 1rem;
    padding: 1.5rem;
  }

  .contact-info .info p {
    font-size: 14px;
    margin: 0.8rem 0;
  }

  /* Footer */
  .image_footer {
    width: 100%;
    max-width: 300px;
  }

  .logo_footer {
    width: 150px;
  }
}

/* ========================================
   MOBILE STYLES (480px and below)
   ======================================== */
@media (max-width: 480px) {
  /* Header */
  header {
    padding: 0.5rem 1rem;
    margin-left: 1%;
    margin-right: 1%;
  }

  .logo {
    width: 60px;
  }

  /* Hero section */
  .hero {
    height: 45rem;
    padding: 1rem;
  }

  .hero_image {
    width: 16rem;
  }

  .main {
    font-size: 1.8rem;
    line-height: 2.2rem;
  }

  .type {
    font-size: 1.2rem;
  }

  .es {
    font-size: 14px;
    padding: 12px 18px;
  }

  /* Cards */
  .cards {
    width: 95%;
  }

  .card {
    padding: 1rem;
  }

  .card h3 {
    font-size: 1.3rem;
  }

  .card p {
    font-size: 13px;
  }

  /* About section */
  .man {
    width: 95%;
  }

  .text {
    padding: 1rem;
  }

  .text h2 {
    font-size: 1.5rem;
  }

  .text p {
    font-size: 14px;
    line-height: 1.8rem;
  }

  /* About us text */
  .about_us_text h2 {
    font-size: 1.8rem;
  }

  .about_us_text p {
    font-size: 14px;
    line-height: 1.8rem;
  }

  /* Counter */
  .counter-box h2 {
    font-size: 2rem;
  }

  /* Services */
  .services {
    margin: 1rem 0.5rem;
    padding: 1rem;
  }

  .services h2 {
    font-size: 1.5rem;
  }

  .accordion-header {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  .accordion-content p {
    font-size: 14px;
  }

  /* Why us section */
  .whay_us_text h4 {
    font-size: 1rem;
  }

  .whay_us_text h1 {
    font-size: 1.5rem;
  }

  .whay_us_cards {
    padding: 1.5rem 0.5rem;
  }

  .whay_us_cards div {
    padding: 0.8rem;
  }

  .whay_us_cards h2 {
    font-size: 1.2rem;
  }

  .whay_us_cards li {
    font-size: 13px;
  }

  /* Partners */
  .parteners h2 {
    width: 90%;
    font-size: 1.2rem;
    padding: 0.8rem;
  }

  /* Contact */
  .contact-info {
    margin: 0.5rem;
    padding: 1rem;
  }

  .contact-info h2 {
    font-size: 1.5rem;
  }

  .contact-info .info p {
    font-size: 13px;
  }

  .contact-info .social a {
    padding: 0.5rem 1rem;
    font-size: 14px;
  }

  /* Footer */
  .logo_footer {
    width: 120px;
  }
}

/* ========================================
   LARGE MOBILE LANDSCAPE (576px - 768px)
   ======================================== */
@media (min-width: 576px) and (max-width: 768px) {
  .cards {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    width: calc(50% - 1rem);
    min-width: 250px;
  }

  .whay_us_cards {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .whay_us_cards div {
    width: calc(50% - 1rem);
    min-width: 200px;
  }
}

/* ========================================
   DESKTOP STYLES (1200px and above)
   ======================================== */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }

  .cards {
    max-width: 1000px;
  }

  .man {
    max-width: 1000px;
  }

  .whay_us_cards {
    max-width: 1000px;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .hamburger,
  .social-header,
  .social-footer,
  .es {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000 !important;
    background: #fff !important;
  }

  .hero {
    background: none !important;
    height: auto !important;
  }
}



 