/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, sans-serif;
scroll-behavior:smooth;
}

:root{
--green:#8cc63f;
--dark-green:#5d8f2b;
--brown:#5b3a29;
--light:#f4f7f2;
}

/* PAGE FADE TRANSITION */
body{
color:#333;
line-height:1.6;
background:white;
overflow-x:hidden;
opacity:0;
animation:pageFade 0.8s ease forwards;
}

@keyframes pageFade{
to{opacity:1;}
}


/* LOADER */
#loader{
position:fixed;
width:100%;
height:100%;
background:white;
display:flex;
justify-content:center;
align-items:center;
z-index:3000;
}

.spinner{
width:50px;
height:50px;
border:5px solid #eee;
border-top:5px solid var(--green);
border-radius:50%;
animation:spin 1s linear infinite;
}

@keyframes spin{
100%{transform:rotate(360deg);}
}

/* EXPERTISE SECTION */
.expertise-section{
background:#2e6d1d;
color:white;
padding:80px 20px;
}

.expertise-header{
text-align:center;
max-width:800px;
margin:auto;
margin-bottom:50px;
}

.expertise-header h2{
font-size:2.8rem;
margin-bottom:15px;
}

.expertise-grid{
display:grid;
grid-template-columns:repeat(2, 1fr);
gap:40px;
max-width:900px;
margin:auto;
}


.expertise-item{
background:white;
color:#333;
padding:30px;
border-radius:12px;
text-align:center;
box-shadow:0 8px 20px rgba(0,0,0,.1);
transition:.3s;
}

.expertise-item:hover{
transform:translateY(-6px);
}

.expertise-icon{
font-size:50px;
background:#8cc63f;
width:90px;
height:90px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
margin:0 auto 20px;
color:white;
}

/* HEADER */
.header{
background:white;
border-bottom:2px solid var(--green);
position:sticky;
top:0;
z-index:1000;
transition:.3s;
}

.header.scrolled{
box-shadow:0 6px 20px rgba(0,0,0,.15);
}

.container{
max-width:1200px;
margin:auto;
padding:0 20px;
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 0;
}

.logo{
height:110px;
}

@media(max-width:768px){
.logo{
height:70px;
}
}


nav{
display:flex;
align-items:center;
}

nav a{
margin-left:25px;
color:var(--dark-green);
text-decoration:none;
font-weight:bold;
transition:.3s;
}

nav a:hover{
color:var(--green);
}

/* COMPANY DESCRIPTION */
.company-description{
background:linear-gradient(rgba(46,109,29,0.95), rgba(46,109,29,0.95)),
url("images/palm-bg.png");
background-size:cover;
background-position:center;
color:white;
padding:100px 20px;
}

.company-wrapper{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:2fr 1fr;
gap:60px;
align-items:center;
}

@media(max-width:900px){
.company-wrapper{
grid-template-columns:1fr;
text-align:center;
}
}


.company-text h2{
font-size:2.5rem;
margin-bottom:25px;
}

.company-text p{
font-size:1.1rem;
line-height:1.9;
margin-bottom:22px;
opacity:.95;
}

.company-image img{
width:100%;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,.3);
}

/* MOBILE */
@media(max-width:768px){
.expertise-grid{
grid-template-columns:1fr;
}
}

@media(max-width:768px){

.products-services h2{
font-size:2.2rem;
}

.services-buttons{
max-width:100%;
}

}

.business-info{
background:var(--dark-green);
color:white;
padding:60px 20px;
}


.company-image{
margin-top:30px;
}

/* WHY CHOOSE US */
.why-section{
background:#f4f4f4;
padding:80px 20px;
}

.why-container{
max-width:1100px;
margin:auto;
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:center;
}

.why-left img{
width:100%;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,.2);
}

.why-right{
background:white;
padding:40px;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.why-right h2{
color:#2e6d1d;
font-size:2.3rem;
margin-bottom:20px;
}

.why-right p{
line-height:1.8;
color:#555;
font-size:1.05rem;
}

/* MOBILE */
@media(max-width:768px){
.why-container{
grid-template-columns:1fr;
}
}

.services-split{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:center;
}

.services-image img{
width:100%;
border-radius:20px;
box-shadow:0 15px 30px rgba(0,0,0,.25);
}



.company-content{
max-width:900px;
margin:auto;
font-size:1.1rem;
line-height:1.8;
}

.company-content p{
margin-bottom:25px;
}

@media(max-width:768px){

.services-split{
grid-template-columns:1fr;
}

.services-image{
margin-top:30px;
}

}


/* HERO */
.hero{
position:relative;
height:80vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
overflow:hidden;
}

.hero-video{
position:absolute;
width:100%;
height:100%;
object-fit:cover;
top:0;
left:0;
z-index:-2;
}

.hero-overlay{
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,.45);
z-index:-1;
}

.hero-content{
max-width:700px;
padding:20px;
opacity:0;
transform:translateY(40px);
animation:heroSlide 1.2s ease forwards;
}

@keyframes heroSlide{
to{
opacity:1;
transform:translateY(0);
}
}

.hero-content h1{
color:white;
font-size:3rem;
}

.hero-content p{
color:#eee;
margin-top:10px;
font-size:1.1rem;
}

/* ===== Artistic 5 Image Layout ===== */

.about-image-layout{
position:relative;
width:480px;
height:420px;
margin:auto;
}

/* Base Image Style */
.about-img{
position:absolute;
width:220px;
height:180px;
object-fit:cover;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,.2);
transition:.3s;
}

/* Hover Effect */
.about-img:hover{
transform:scale(1.05);
z-index:5;
}

/* TOP LEFT */
.img-top-left{
top:0;
left:0;
}

/* TOP RIGHT */
.img-top-right{
top:0;
right:0;
}

/* BOTTOM LEFT */
.img-bottom-left{
bottom:0;
left:0;
}

/* BOTTOM RIGHT */
.img-bottom-right{
bottom:0;
right:0;
}

.mission-vision{
background:#2F6F1A;
color:white;
}

.section.mission-vision h2{
color:white !important;
}

.mission-vision .box{
background:white;
color:#333;
}

.contact-wrapper{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:center;
}

.contact-map iframe{
width:100%;
height:100%;
min-height:400px;
border:0;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,.15);
}

@media(max-width:768px){
.contact-wrapper{
grid-template-columns:1fr;
}
}


/* SECTIONS */
.section{
padding:80px 0;
}

.section h2{
text-align:center;
margin-bottom:30px;
color:var(--dark-green);
font-size:3rem;   /* ADD THIS */
}


.light{
background:var(--light);
}


/* SPLIT LAYOUT */
.split{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:center;
}

.about-list{
margin-top:15px;
list-style:none;
line-height:2;
color:#555;
}


.split img{
width:100%;
max-width:420px;   /* controls image size */
height:auto;
border-radius:12px;
box-shadow:0 10px 20px rgba(0,0,0,.08);
}

.split{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:center;   /* vertical center */
}

.about-list{
margin-top:20px;
}


/* GRID */
.grid-2{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}


/* BOX */
.box{
background:white;
padding:30px;
border-radius:12px;
border-top:5px solid var(--green);
box-shadow:0 6px 12px rgba(0,0,0,.05);
transition:.3s;
}

.box:hover{
transform:translateY(-6px);
box-shadow:0 15px 25px rgba(0,0,0,.12);
}


/* NEW PRODUCT SECTION */
.new-product-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:50px;
text-align:center;
margin-top:40px;
}

.product-column{
padding:20px;
transition:.3s;
}

.product-column:hover{
transform:translateY(-6px);
}

.product-top-img{
width:200px;
height:200px;
object-fit:contain;
margin-bottom:20px;
}

.product-column h3{
margin-bottom:15px;
letter-spacing:1px;
}

.product-column ul{
list-style:disc;
text-align:left;
margin:15px auto;
max-width:220px;
color:#555;
}

.cert-icons{
display:flex;
justify-content:center;
gap:20px;
margin:25px 0;
}

.cert-icons img{
width:80px;
height:80px;
object-fit:contain;
}


/* UPDATED BUTTON THEME */
.learn-btn{
background:linear-gradient(135deg,var(--green),var(--dark-green));
color:white;
border:none;
padding:12px 30px;
border-radius:8px;
cursor:pointer;
font-weight:bold;
letter-spacing:1px;
transition:.3s;
position:relative;
overflow:hidden;
}

.learn-btn:hover{
transform:scale(1.05);
box-shadow:0 8px 20px rgba(0,0,0,.2);
}

/* BUTTON RIPPLE */
.learn-btn::after{
content:"";
position:absolute;
width:0;
height:0;
border-radius:50%;
background:rgba(255,255,255,.4);
transform:translate(-50%,-50%);
transition:width .5s,height .5s;
top:50%;
left:50%;
}

.learn-btn:active::after{
width:300px;
height:300px;
}


/* CONTACT */
.contact-wrapper{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
}

.contact-form{
max-width:600px;
margin:auto;
}

.contact-form input,
.contact-form textarea{
width:100%;
padding:14px;
margin-bottom:15px;
border-radius:8px;
border:1px solid #ccc;
font-size:1rem;
transition:.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
border-color:var(--green);
outline:none;
box-shadow:0 0 6px rgba(140,198,63,.3);
}

.contact-form button{
background:var(--green);
color:white;
border:none;
padding:14px;
border-radius:8px;
cursor:pointer;
font-weight:bold;
transition:.3s;
width:100%;
}

.contact-form button:hover{
background:var(--dark-green);
}


/* REVEAL ANIMATION */
.reveal{
opacity:0;
transform:translateY(80px);
transition:1s;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}


/* FLOATING CONTACT */
.floating-contact{
position:fixed;
right:20px;
bottom:20px;
display:flex;
flex-direction:column;
gap:10px;
z-index:999;
}

.floating-contact a{
width:55px;
height:55px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
color:white;
font-size:22px;
text-decoration:none;
box-shadow:0 5px 15px rgba(0,0,0,.2);
transition:.3s;
}

.floating-contact a:hover{
transform:scale(1.1);
}

.whatsapp{background:#25D366;}
.messenger{background:#1877F2;}


/* MOBILE */
@media(max-width:768px){

.hero-content h1{
font-size:2.2rem;
}


.contact-wrapper{
grid-template-columns:1fr;
}

nav{
display:none;
}

}

/* ===============================
   PRODUCTS AND SERVICES SECTION
================================ */

.products-services{
position:relative;
background:#2e6d1d;
color:white;
padding:80px 20px;
overflow:hidden;
}

.products-services h2{
font-size:3rem;
margin-bottom:20px;
}

.products-services p{
max-width:900px;
line-height:1.8;
font-size:1.05rem;
}

/* Overlay triangle decoration */
.products-overlay{
position:absolute;
top:0;
right:0;
width:0;
height:0;
border-left:150px solid transparent;
border-top:150px solid #dcdcdc;
}

/* Service Buttons */
.services-buttons{
margin-top:40px;
display:flex;
flex-direction:column;
gap:20px;
max-width:650px;
}

.service-btn{
background:#9dc43b;
color:#0b3b1a;
font-weight:bold;
padding:15px 25px;
border-radius:40px;
text-align:center;
box-shadow:0 8px 15px rgba(0,0,0,.25);
transition:.3s;
}

.service-btn:hover{
transform:translateY(-3px);
background:#b4db54;
}

@media(max-width:768px){
}

@media(max-width:768px){
.split{
grid-template-columns:1fr;
}
}

.menu-toggle{
display:none;
font-size:28px;
cursor:pointer;
color:var(--dark-green);
}

/* MOBILE NAV */
@media(max-width:768px){

.menu-toggle{
display:block;
}

.nav-links{
display:none;
flex-direction:column;
position:absolute;
top:100%;
left:0;
width:100%;
background:white;
padding:20px;
}

.nav-links.active{
display:flex;
}

}

@media(max-width:768px){

.hero{
height:60vh;
}

.hero-content h1{
font-size:2rem;
}

.hero-content p{
font-size:0.95rem;
}

}

@media(max-width:768px){

.contact-map iframe{
min-height:250px;
}

}

@media(max-width:480px){

.container{
padding:0 15px;
}

.section{
padding:60px 0;
}

}

.product-top-img{
max-width:100%;
height:auto;
}

.modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
justify-content:center;
align-items:center;
z-index:2000;
}

.modal-content{
background:white;
padding:30px;
border-radius:12px;
max-width:500px;
width:90%;
position:relative;
}

.close-modal{
position:absolute;
top:10px;
right:15px;
font-size:25px;
cursor:pointer;
}

.about-green-box{
background:#2e6d1d;
color:white;
padding:30px;
border-radius:15px;
margin-top:20px;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.about-green-box .about-list{
color:white;
}

.site-footer{
    background:#2e6d1d;
    color:white;
    text-align:center;
    padding:40px 15px;
    margin-top:50px;
    position:relative;
    overflow:hidden;
}

/* Footer Text */
.footer-company{
    font-weight:600;
    font-size:16px;
    margin-bottom:8px;
}

.footer-copy{
    font-size:14px;
}

html{
    overflow-y: scroll;
}

.loader{
transition: opacity 0.3s ease;
}
