/* ==========================================
   1. RESET & BASE STYLES
   ========================================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    line-height:1.7;
    color:#333;
    background-color: #ffffff;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ==========================================
   2. HEADER & LOGO INTEGRATION (Static)
   ========================================== */
header{
    position:fixed; 
    top: 0;
    left: 0;
    width:100%;
    padding: 30px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background: rgb(6 51 29 / 40%);; 
    z-index:999;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px; /* Gap between image logo and company name text */
}

.logo-img {
    height: 80px; /* Control image logo size here */
    width: auto;
    object-fit: contain;
}

.logo h2{
    color:#ffffff; 
    font-size:26px;
    font-weight: 700;
}

nav ul{
    display:flex;
    gap:30px;
    list-style:none;
}

nav a{
    color:#ffffff; 
    text-decoration:none;
    font-weight:500;
    transition: opacity 0.3s;
}

nav a:hover{
    opacity: 0.8;
}

/* ==========================================
   3. HERO SECTION (Full-Screen Layout)
   ========================================== */
.hero{
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url("images/hero.jpg") center center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.overlay{
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 60px 0; /* Keeps content clear of the dynamic absolute header elements */
}

.hero-content{
    text-align: left;
    color: white;
    max-width: 560px;
}

.hero-content h1{
    font-size:40px;
    margin-bottom:20px;
    font-weight:700;
    line-height: 1.2;
}

.hero-content p{
    font-size:20px;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    padding:12px 30px;
    background:#00b01c;
    color:white;
    text-decoration:none;
    border-radius:40px;
    font-weight: 500;
    transition:.3s;
}

.btn:hover{
    background:#008e40;
}

/* ==========================================
   4. CONTENT SECTIONS
   ========================================== */
.about{
    padding:80px 0;
    background:#f8f8f8;
    text-align:center;
}

.about h2{
    font-size:36px;
    margin-bottom:25px;
}

.about p{
    max-width:800px;
    margin:20px auto;
    font-size:18px;
}

.services{
    padding:80px 0;
    background:white;
}

.services h2{
    text-align:center;
    font-size:36px;
    margin-bottom:50px;
}

.card-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.card{
    background:white;
    padding:40px 30px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
    transition:.3s;
    border: 1px solid #eee;
}

.card:hover{
    transform:translateY(-5px);
}

.icon{
    font-size:50px;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
}

.impact{
    padding:80px 0;
    background:#f4faf5;
}

.impact h2{
    text-align:center;
    font-size:36px;
    margin-bottom:50px;
}

.impact-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.impact-card{
    background:white;
    padding:40px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.04);
}

/* ==========================================
   5. FRAMEWORKS TAG GRID
   ========================================== */
.frameworks{
    padding:80px 0;
    text-align:center;
}

.frameworks h2{
    font-size:36px;
    margin-bottom:40px;
}

.tags{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    max-width: 800px;
    margin: 0 auto;
}

.tags span{
    background:#0d5c36;
    color:white;
    padding:10px 20px;
    border-radius:30px;
    font-size: 14px;
}

/* ==========================================
   6. CONTACT ACTION STYLE
   ========================================== */
.contact{
    padding:80px 0;
    background:#0d5c36;
    color:white;
    text-align:center;
}

.contact h2{
    font-size:36px;
    margin-bottom:20px;
}

.contact p{
    margin-bottom:35px;
    font-size: 18px;
}

.email-btn {
    display: inline-block;
    background: white;
    color: #0d5c36;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.email-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* ==========================================
   7. FOOTER
   ========================================== */
footer{
    background:#06331d;
    color:white;
    text-align:center;
    padding:40px 20px;
}

footer h3{
    margin-bottom:10px;
}

/* ==========================================
   8. MEDIA QUERIES (Responsive Engineering)
   ========================================== */
@media(max-width:992px){
    .hero-content h1{
        font-size:40px;
    }
}

@media(max-width:768px){
    header{
        position: absolute;
        flex-direction: column;
        gap: 15px;
        padding: 20px 5%;
        text-align: center;
    }

    .logo {
        flex-direction: column;
        gap: 8px;
    }

    .logo-img {
        height: 35px; /* Slightly scaled image layout for handhelds */
    }

    .logo h2 {
        font-size: 22px;
    }

    nav ul{
        gap:20px;
        font-size:15px;
    }

    .overlay {
        padding: 190px 0 40px 0; /* Expanded padding to keep room for mobile header */
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-content h1{
        font-size:32px; 
    }

    .hero-content p{
        font-size:16px;
    }

    .about h2,
    .services h2,
    .impact h2,
    .frameworks h2,
    .contact h2{
        font-size:28px;
    }
    
    .about, .services, .impact, .frameworks, .contact {
        padding: 50px 0;
    }
}