/* ===========================
   RESET
=========================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f7f4;
    color:#333;
    line-height:1.6;
}

/* ===========================
   HERO
=========================== */
.hero{
    position: relative;
    background-image: url("images/hero.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 70vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

nav{
    position: relative;
    z-index: 2;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:rgba(0,0,0,0.45);
}

nav ul{
    list-style:none;
    display:flex;
    gap:20px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    transition: color 0.2s ease;
}

nav ul li a:hover,
nav ul li a:focus{
    color:#ffdd33;
}

.nav-toggle{
    display:none;
    background:none;
    border:none;
    color:white;
    font-size:2rem;
    cursor:pointer;
    padding:8px;
}

.logo{
    width:100px;
    height:100px;
    object-fit:contain;
}

@media(max-width:900px){
    nav{
        padding:20px 5%;
    }

    .nav-toggle{
        display:block;
    }

    nav ul{
        position: relative;
    }

    .hero-text{
        padding:60px 20px;
    }

    .hero-text h1{
        font-size: clamp(2.4rem, 7vw, 3.8rem);
    }

    .hero-text .subheading{
        max-width: 100%;
    }
}

    .nav-menu{
        position:absolute;
        top:100%;
        left:0;
        right:0;
        background:rgba(0,0,0,0.95);
        flex-direction:column;
        align-items:stretch;
        gap:0;
        max-height:0;
        overflow:hidden;
        transition:max-height 0.3s ease;
    }

    .nav-menu.open{
        max-height:400px;
    }

    .nav-menu li{
        border-bottom:1px solid rgba(255,255,255,0.1);
    }

    .nav-menu li:last-child{
        border-bottom:none;
    }

    .nav-menu li a{
        display:block;
        padding:16px 24px;
    }
}

.hero-text{
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: 0;
    padding: 80px 20px;
}

.hero-text h1{
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.02;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 18px rgba(0,0,0,0.75);
}

.hero-text p,
.hero-text .subheading{
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin:20px auto;
    max-width: 700px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.hero-actions{
    display:flex;
    gap:16px;
    justify-content:center;
    flex-wrap:wrap;
    margin-top:24px;
}

.button{
    display:inline-block;
    background:#ffdd33;
    color:#0a2a14;
    text-decoration:none;
    padding:14px 26px;
    border-radius:30px;
    box-shadow:0 6px 18px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus{
    transform: translateY(-2px);
    box-shadow:0 8px 22px rgba(0,0,0,0.3);
}

.button.secondary{
    background:rgba(255,255,255,0.95);
    color:#0c5c39;
}

/* ===========================
   SECTIONS
=========================== */

section{
    width:90%;
    max-width:1200px;
    margin:auto;
    padding:60px 0;
}

section h2{
    text-align:center;
    color:#0c5c39;
    margin-bottom:20px;
}

section p{
    text-align:left;
    color:#333;
    line-height:1.8;
}

.about-content{
    background:#ffffff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 20px 60px rgba(0,0,0,0.08);
}

.about-content p{
    margin-bottom:22px;
}

.about-highlights{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:20px;
    margin-top:30px;
}

.highlight{
    background:#f3faf4;
    padding:24px;
    border-radius:16px;
    border:1px solid rgba(12,92,57,0.12);
}

.highlight h3{
    margin-bottom:12px;
    color:#0c5c39;
}

.highlight p{
    margin:0;
    color:#3d3d3d;
    line-height:1.75;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:20px;
    margin-top:30px;
}

.why-card{
    background:#f5fbf5;
    padding:24px;
    border-radius:16px;
    box-shadow:0 20px 45px rgba(0,0,0,0.06);
    border:1px solid rgba(12,92,57,0.1);
}

.why-card h3{
    margin-bottom:14px;
    color:#0c5c39;
}

.service-icon{
    width:60px;
    height:60px;
    margin:0 auto 20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,221,51,0.15);
    font-size:1.8rem;
}

.results-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:20px;
    margin-top:30px;
}

.result-card{
    background:#f3faf4;
    padding:24px;
    border-radius:16px;
    border:1px solid rgba(12,92,57,0.14);
}

.result-card h3{
    margin-bottom:12px;
    color:#0c5c39;
}

.result-card p{
    margin:0;
    color:#315141;
    line-height:1.8;
}


.footer-social{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.footer-social a{
    color:rgba(255,255,255,0.85);
    text-decoration:none;
}

.footer-social a:hover{
    color:#ffdd33;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

/* ===========================
   CARDS
=========================== */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.card{
    background:#ffffff;
    padding:24px;
    border-radius:16px;
    text-align:center;
    box-shadow:0 18px 40px rgba(0,0,0,0.08);
    border:1px solid rgba(12,92,57,0.12);
}

.card h3{
    margin-top:12px;
    color:#0c5c39;
}

.card p{
    color:#3b3b3b;
    line-height:1.75;
}

/* ===========================
   PROJECT IMAGES
=========================== */

.card img{
    width:90%;
    max-width:280px;
    height:auto;
    object-fit:cover;
    display:block;
    margin:15px auto;
    border-radius:8px;
}


/* ===========================
   GALLERY
=========================== */

.gallery{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
}


.gallery img{
    width:100%;
    max-width:240px;
    height:auto;
    object-fit:cover;
    border-radius:12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery img:hover,
.gallery img:focus{
    transform: translateY(-4px);
    box-shadow:0 18px 38px rgba(0,0,0,0.18);
}

/* ===========================
   CONTACT
=========================== */

#contact{
    text-align:center;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    align-items:start;
    margin-top:30px;
}

.contact-details{
    text-align:left;
    padding:30px;
    background:#ffffff;
    border-radius:16px;
    box-shadow:0 20px 60px rgba(0,0,0,0.08);
}

.contact-details p{
    margin:0 0 16px;
    color:#333;
    line-height:1.8;
}

.contact-form{
    display:grid;
    gap:18px;
    text-align:left;
    padding:30px;
    background:#f8fbf8;
    border-radius:16px;
    box-shadow:0 20px 60px rgba(0,0,0,0.08);
}

.contact-form label{
    font-weight:bold;
    color:#0c5c39;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:14px 16px;
    border:1px solid rgba(12,92,57,0.25);
    border-radius:12px;
    font-size:1rem;
    color:#222;
    background:#fff;
}

.contact-form input:focus,
.contact-form textarea:focus{
    outline:none;
    border-color:#0c5c39;
    box-shadow:0 0 0 3px rgba(12,92,57,0.12);
}

.contact-form .button{
    width:auto;
    padding:14px 28px;
}

footer{
    background:#0c5c39;
    color:white;
    padding:40px 20px;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    max-width:1200px;
    margin:0 auto;
    text-align:left;
}

.footer-container h3{
    margin-bottom:16px;
    color:#ffffff;
}

.footer-container p,
.footer-links li,
.footer-links a{
    color:rgba(255,255,255,0.85);
    line-height:1.8;
}

.footer-links{
    padding:0;
}

.footer-links ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-links li{
    margin-bottom:10px;
}

.footer-links a{
    color:rgba(255,255,255,0.85);
    text-decoration:none;
}

.footer-links a:hover{
    color:#ffdd33;
}

.footer-copy{
    margin-top:30px;
    text-align:center;
    color:rgba(255,255,255,0.8);
}

@media(max-width:900px){
    .contact-grid{
        grid-template-columns:1fr;
    }
    .footer-container{
        grid-template-columns:1fr;
    }
}

/* ===========================
   ANIMATION
=========================== */

.hidden{
    opacity:0;
    transform:translateY(40px);
    transition:.8s;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* ===========================
   MOBILE
=========================== */

@media(max-width:100px){

nav{
    flex-direction:column;
}

nav ul{
    flex-direction:column;
    text-align:center;
}

.hero-text h1{
    font-size:30px;
}

.hero-text p{
    font-size:16px;
}

.logo{
    width:50px;
    height:50px;
}

}