*{
box-sizing:border-box;
}
@media (max-width: 768px) {
.gradient-text  {
    font-size: clamp(18px, 6vw, 36px); /* أصغر قليلًا على الشاشات الصغيرة */
  }
}
@font-face {
  font-family: "AdobeArabic";
  src: url("../fonts/adobe-arabic-regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AlMohanad";
  src: url("../fonts/al-mohanad.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "google";
  src: url("https://fonts.googleapis.com/css2?family=Lobster&display=swap") format("truetype");
}
body{
  margin:0;
  font-size:16px;
    font-family: 'Cairo', sans-serif;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5); /* يجعل النص يبرز على الصورة */
}

/* NAVBAR */
.gradient-text {
    
    background: linear-gradient(to right, #d9ac35, #b38412, #f6c957, #d9ac35,#b38412);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(18px, 5vw, 40px);  /* صغير على الموبايل وكبير على الديسكتوب */
  font-weight: 500;
  font-family: 'Times New Roman', Times, serif;
}
.navbar{
font-weight: 400;letter-spacing:1px;
font-family: 'Cairo', sans-serif;
font-size: 20px;
position:fixed;
top:0;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 30px;
background:transparent;
transition:0.3s;
z-index:1000;
}
/* العنصر الأب */
.dropdown {
  position: relative;
  margin-right: -15px;
}

/* القائمة المخفية */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
background: rgba(0,0,0,0.3);
  list-style: none;
  padding: 0;
  margin: 0;
  width: 220px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  display: none;
  border-radius: 8px;
  overflow: hidden;
  z-index: 999;
}

/* عناصر القائمة */
.dropdown-menu li a {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}


/* إظهار القائمة عند الوقوف */
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu.show {
  display: block;
}
/* عند scroll */

.navbar.scrolled{
background: rgba(0,0,0,0.3);
box-shadow:0 2px 10px rgba(0,0,0,0.3);
}

/* links */

.nav-links{
display:flex;
gap:20px;
list-style:none;
}

.nav-links a{
color:#d1d5db;
text-decoration:none;
position:relative;
}

/* underline animation */

.nav-links a::after{
content:"";
position:absolute;
bottom:-5px;
left:0;
width:0;
height:2px;
background:orange;
transition:0.3s;
}

.nav-links a:hover::after{
width:100%;
}

/* active */

.nav-links a.active{
color:orange;
}

/* mobile */

.menu-toggle{
display:none;
font-size:24px;
cursor:pointer;
color:#d1d5db;
}

@media(max-width:768px){

.nav-links{
position:absolute;
top:60px;
left:0;
width:100%;
padding-top: 20px;
padding-right: 20px;
padding-bottom: 20px;
background:#11111179;
flex-direction:column;
display:none;
}

.nav-links.show{
display:flex;
}

.menu-toggle{
display:block;
}

}
.hero{height:100vh;
    background-image: url('herohome6.jpeg');
    background-position: center;
    background-size: cover  ;
    display: flex;
    flex-direction: column;
    justify-content: center;    /* توسيط عمودي */
    align-items: center;        /* توسيط أفقي */
    text-align: center;
}
.hero-logo {
    width: 100%;
    height: 350px;
    object-fit: contain;
}
.hero-word{
    position: absolute;
    color: #e4b42c;
    font-size: clamp(24px, 6vw, 42px);
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.966);
    margin-bottom: 150px;
}
.wave{
display:block;
position:absolute;
bottom:-1px; /* ننزلها 1px تحت */
left:0;
width:100%;
height:120px;
}

.hero *{
    position:relative;
    z-index:1;
}
/* ===== Hero Section ===== */
.hero1{
    display: flex;
    align-items: center;
    background:white;
    color:#1b2821 ;
    text-align:center;
    padding:80px 100px;
}
.hero2{height:600px; /* فقط للتجربة للسكرول */
    background-position: center;

}
.hero1-pic{
    height: 200px;
    border-radius: 10px;
}
@media (max-width: 768px) {
  
  .hero2 {
    height: 200px;        /* تقليل ارتفاع الـ div */
    background-size: cover;
  }
 .hero::before{
    height:370px;        /* تقليل ارتفاع الـ div */
  }
  .hero1{
    display: flex;
    flex-direction: column;
    padding: 20px 40px;   /* تقليل الحشو */
  }

}

@media (max-width:768px){

  .dropdown-menu{
    position: static;
    width: 100%;
    box-shadow: none;
    background: transparent;
  }

  .dropdown-menu li a{
    padding-right: 20px;
  }

}
/* ===== Sections ===== */

.section{
    padding:20px;
    text-align:center;
}

.container{
    max-width:1100px;
    margin:auto;
    margin-right: 150px;
    padding-left: 60px;

}

/* ===== Services ===== */
.works,
.services{
    display:flex;
    gap:20px;
    justify-content:center;
}

.card{
    background:transparent;
    padding:20px;
    width:250px;
    border: #163126 none 1px  ;box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.sector-card h3,
.card h3{
 color:#d9ac35;
 font-size: clamp(20px, 5vw, 20px);
 height: 50px;
}
/* ===== Why us ===== */
.why{
    display: flex;
    background:rgba(200, 224, 172, 0.699);
    align-items: center;
    text-align:right;
    padding:30px 100px 50px 30px;
}
.why p{text-align: justify;}
/* ===== Projects ===== */

.projects{
    display:flex;
    gap:20px;
    justify-content:center;
}


.footer{
    background:#1b2821;
    color:#d1d5db;
    padding:50px 10px 25px;
}

.footer-container{
    max-width:1200px;
    margin:auto;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:40px;
}

.footer h3,
.footer h4{
    color:#b38412;
    margin-bottom:15px;
    font-size: clamp(18px, 5vw, 20px);
}

.footer-about{
    flex:1 1 300px;
}

.footer-links{
    flex:1 1 100px;
}

.footer-links li{
    margin-bottom:15px;
    
}
.footer-links ul{
    list-style:none;
    padding:0;
}

.footer-links a{
    text-decoration:none;
    color:#d1d5db;
    transition:0.3s;
    font-size: clamp(16px, 5vw, 18px);
    padding: 0;
    margin: 0;
}

.footer-links a:hover{
    color:#b38412;
}

.footer-contact{
    flex:1 1 100px;
}

.footer-bottom{
    padding:10px;
    color: #d1d5db;
    text-align:center;
    background:black;
    font-size: clamp(14px, 5vw, 10px);
}
.footer-about p{
    color:#d1d5db;
    line-height: 28px;
}
.footer-contact p{
    color:#d1d5db;
    line-height: 30px;
}
.why a{
    color:#1e3a2f;
    text-decoration:none;
    transition:0.3s;
    }
.footer-contact a{
    color:#d1d5db;
    text-decoration:none;
    transition:0.3s;
    }
@media (max-width:768px){
    .footer-contact a{
        font-size: 15px;

    }}
.footer-logo{width: 100px ;padding: 20px 20px 0px 0px ;}
/* Section Titles */
.section-title{
    font-size:28px;
    margin-bottom:20px;
    color:#1e3a2f;
    font-weight:bold;
}

/* Legal Cards */
.cards{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap:20px;
    margin-top:30px;
}

/* Layout */
.contact-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

/* Info Box */
.info-box{
    background:#fff;
    padding:30px;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.info-box h3{
    margin-top:0;
    color:#1e3a2f;
}

.info-item{
    margin-bottom:20px;
}

.info-item strong{
    display:block;
    color:#1e3a2f;
}

/* Form */
.form-box{
    background:#fff;
    padding:30px;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

form input,
form textarea{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:6px;
    font-size:15px;
}

form textarea{
    resize:none;
    height:120px;
}

form button{
    background:#1e3a2f;
    color:#fff;
    border:none;
    padding:12px 25px;
    cursor:pointer;
    border-radius:6px;
    font-size:16px;
    transition:0.3s;
}

form button:hover{
    background:#163126;
}
.whatsapp-btn{
    display:inline-block;
    background:#25D366;
    color:#fff;
    padding:12px 25px;
    border-radius:30px;
    text-decoration:none;
    font-weight:bold;
    margin-top:15px;
    transition:0.3s;
}
.whatsapp-btn:hover{
    background:#1ebe5d;
}
.footer-wave{
position:relative;
line-height:0;
}

.footer-wave svg{
display:block;
width:100%;
height:120px;
}

.footer-wave{
margin-bottom:-70px; /* يمنع أي خط فاصل */
}
.hero-wave{
position:relative;
line-height:0;
margin-top:-5px; /* يمنع الخط الفاصل */
}

.hero-wave svg{
display:block;
width:100%;
height:70px;
}
.messege{
    background:rgba(200, 224, 172, 0.699);
    padding:50px 150px;
    text-align:right;
}
.messege h2{
    color:#1e3a2f;
    font-size: clamp(20px, 5vw, 12px);
    margin-bottom:20px;
}
.messege p{
    color:#455225; 
    font-size:clamp(16px, 4vw, 12px);
 text-align: justify;
    line-height: 35px;
}
.card-icon{
    width: 100%;
    height: 200px;
object-fit: contain;}
@media (max-width:768px){

  .messege{
    padding: 40px;
  }

  .messege h2{
    font-size: 18px;
  }

  .messege p{
    font-size: 14px;
    line-height: 28px;
  }

}
.hero-video{
position:relative;
height:650px;
overflow:hidden;
}

.video-bg{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
}

/* اخفاء فيديو الموبايل في الكمبيوتر */

.mobile-video{
display:none;
}

/* عند الموبايل */

@media (max-width:768px){

.desktop-video{
display:none;
}

.mobile-video{
display:block;
}

}
.hero-content{
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-logo{
  width: 80px;
}
@media (max-width:768px){
.hero-video{
  height: 425px;

}

.why{
    display: flex;
    flex-direction: column;
    padding: 50px 20px;
    margin: 0px;
text-align: justify;  
}
.container{
    margin: 0px;
    padding: 20px;
}
}

.container{
overflow:hidden;
width:100%;
padding-bottom: 50px;
}

.works{
display:flex;
transition:0.6s;
}

.card{
flex:0 0 calc(100% / 4);
padding:30px;
margin:10px;
background:#fff;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
text-align:center;
}
/* موبايل */



.card{
opacity:0;
transform:translateY(40px);
transition:0.6s;
}

.card.show{
opacity:1;
transform:translateY(0);
}

.hero-content{
z-index:2;
}

.hero-btn{
width: 210px;
display:flex;
position: absolute;
left: 30px;
margin-top:435px;
padding:14px 30px;
background:#cc8c0cdc;
color:white;
text-decoration:none;
font-size:18px;
border-radius:6px;
transition:0.3s;
}

.hero-btn:hover{
background:#eb9f09;
transform:scale(1.05);
}
.works-btn:hover{
background:#163126;
transform:scale(1.05);
}

.works-btn{
width: 210px;
display:flex;
position: absolute;
left: 30px;
margin-top:500px;
padding:14px 30px;
background:#163126e5;
color:white;
text-decoration:none;
font-size:18px;
border-radius:6px;
transition:0.3s;
}

.card-btn{
display:flex;
position: absolute;
bottom: 10px;
left: 30px;
padding:3px 20px;
background:#163126e5;
color:white;
text-decoration:none;
font-size:15px;
border-radius:6px;
transition:0.3s;
}

.about-btn:hover{
background:#163126;
transform:scale(1.05);
}

.about-btn{
display:flex;
position: absolute;
left: 30px;
padding:10px 20px;
background:#163126e5;
color:white;
text-decoration:none;
font-size:15px;
border-radius:6px;
transition:0.3s;
}
.contact-btn{
display:flex;
position: absolute;
left: 200px;
padding:10px 20px;
background:#163126e5;
color:white;
text-decoration:none;
font-size:15px;
border-radius:6px;
transition:0.3s;
}
h1{
    color:#b38412;
    font-size: clamp(20px, 5vw, 35px);
    margin-bottom:10px;

}

h2{
    color:#455225;
    font-size: clamp(20px, 5vw, 30px);
    margin-bottom:20px;
}
h4{
    color:#455225;
    font-weight: normal;
    font-size: clamp(15px, 5vw, 20px);
}

p{
    color:#455225; 
    font-size:clamp(16px, 4vw, 18px);
    line-height: 35px;
    }
@media(max-width:768px){
.sectors-grid{
 flex-direction: column;
}
    .projects{
    display: flex;
flex-direction: column;
}
.project-card{
flex:0 0 calc(100% / 1);

}
.card{
flex:0 0 calc(100% / 1);
}

.hero-btn{
width: 158px;
font-size:13px;
display:flex;
position: absolute;
left: 30px;
margin-top:300px;
padding:14px 30px;
color:white;
text-decoration:none;
border-radius:6px;
transition:0.3s;
}
.works-btn{
width: 158px;
font-size:12px;
display:flex;
position: absolute;
left: 30px;
margin-top:360px;
padding:14px 30px;
color:white;
text-decoration:none;
border-radius:6px;
transition:0.3s;
}
}

.pillars{
padding:80px 20px;
background:#f8f8f8;
text-align:center;
}

.pillars h2{
font-size:32px;
margin-bottom:50px;
}

.pillars-cards{
display:flex;
flex-wrap:wrap;
gap:25px;
justify-content:center;
}

.pillar-card{
background:white;
padding:30px;
width:250px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
transition:0.3s;
}

.pillar-card h3{
margin-bottom:15px;
font-size:20px;
}

.pillar-card p{
font-size:15px;
line-height:1.7;
color:#555;
}

.pillar-card:hover{
transform:translateY(-8px);
box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.sectors-intro{
    text-align:center;
max-width:750px;
margin:auto;
margin-bottom:60px;
}


.sectors-intro p{
line-height:1.8;
color:#555;
}

.sectors-grid{
display:flex;
position: relative;
gap:25px;
}

.sector-card{
text-align: center;
    position: relative;
background:#ffffff;
border-radius:10px;
overflow:hidden;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
transition:0.3s;
}

.sector-card img{
width:100%;
height:200px;
object-fit:cover;
}

.sector-content{
padding:25px;
}


.sector-content span{
display:block;
font-size:14px;
color:#888;
margin-bottom:15px;
}

.sector-content p{
font-size:14px;
line-height:1.7;
margin-bottom:50px;
}

.sector-btn{
display: flex;
position: absolute;
left: 30px;
bottom: 20px;
text-decoration:none;
background:#163126e5;
color:white;
padding:10px 18px;
border-radius:5px;
font-size:14px;
}

.sector-card:hover{
transform:translateY(-6px);
}

/*== الزراعيه كروت ===== */
.sector-scope{
padding:80px 20px;
background:#f8f8f8;
}


.scope-header{
text-align:center;
max-width:700px;
margin:auto;
margin-bottom:60px;
}

.scope-header h2{
font-size:32px;
margin-bottom:15px;
}

.scope-header p{
color:#666;
line-height:1.8;
}

.scope-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

.scope-card{
text-align: center;
    background:#fff;
padding:30px;
border-radius:10px;
box-shadow:0 6px 18px rgba(0,0,0,0.08);
transition:0.3s;
position:relative;
}

.scope-card h3{
font-size:40px;
color:#e6e6e6;
margin-bottom:10px;
}

.scope-card h4{
font-size:18px;
margin-bottom:10px;
}

.scope-card p{
font-size:14px;
line-height:1.7;
color:#555;
}

.scope-card:hover{
transform:translateY(-6px);
box-shadow:0 12px 25px rgba(0,0,0,0.12);
}

@media(max-width:992px){

.scope-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.scope-grid{
grid-template-columns:1fr;
}

}

/*الزراعيه كرت 2*/
.key-fields{
padding:90px 20px;
background:#ffffff;
}


.fields-header{
text-align:center;
max-width:700px;
margin:auto;
margin-bottom:60px;
}

.fields-header h2{
font-size:32px;
margin-bottom:15px;
}

.fields-header p{
color:#666;
line-height:1.8;
}

.fields-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:25px;
}

.field-card{
background:#f8f8f8;
padding:35px;
border-radius:10px;
position:relative;
transition:0.3s;
border-left:5px solid #c89b3c;
}

.field-card h3{
font-size:20px;
margin-bottom:12px;
}

.field-card p{
color:#555;
line-height:1.7;
font-size:15px;
}

.field-card:hover{
background:#ffffff;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
transform:translateY(-6px);
}
@media(max-width:768px){

.fields-grid{
grid-template-columns:1fr;
}

}

/*== Leadership Section ===== */
.contact-section{
padding:80px 20px;
background:#f8f8f8;
text-align:center;
}

#contactForm{
max-width:600px;
margin:auto;
display:flex;
flex-direction:column;
gap:15px;
}

#contactForm input,
#contactForm textarea{
padding:14px;
border:1px solid #ddd;
border-radius:6px;
font-size:15px;
}

#contactForm textarea{
height:140px;
resize:none;
}

#contactForm button{
background:#163126;
color:white;
padding:14px;
border:none;
border-radius:6px;
cursor:pointer;
font-size:16px;
transition:0.3s;
}

#contactForm button:hover{
background:#0f2119;
}

#formMsg{
margin-top:10px;
font-size:14px;
}

/*project card*/
.project-card{
background:#fff;
padding:30px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
position:relative;
transition:0.3s;
}

.project-pic{
    height: 350px;width: 400px;
    border-radius: 10px;
}
 .lisectors{
        display: none;
        
    }
@media (max-width: 768px) {
    .project-pic{
            height: 250px;
            width:  75%;
    }
    .lisectors{
        display: flex;
        
    }
        }
   @media (max-width:768px){


.menu-icon{
    margin-right:5px;
}
.dropdown{
position: relative;
margin-right: 140px;
margin-top:-57px ;
 z-index: 0;
    top: 0px;
}
}