/* =========================
   Theme Variables
========================= */
:root {
    --brand-green: #0f7a5c;
    --brand-green-dark: #0b5e46;
    --brand-green-light: #e6f4ef;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
}

/* =========================
   Reset and Base
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--brand-green-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   Header & Navigation
========================= */
.navbar {
    background-color: var(--brand-green-dark);
    padding: 1.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 120px;
    margin-right: 22px;
}

.company-name {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 700;
    white-space: nowrap;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.6rem;
}

.nav-links a {
    color: #d1fae5;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.15rem;
}

.nav-links a:hover {
    color: #ffffff;
}

/* =========================
   Hero Section
========================= */
.hero {
    background:
        linear-gradient(
            rgba(15, 122, 92, 0.9),
            rgba(15, 22, 92, 0.9)
        ),
        url('https://images.unsplash.com/photo-1555949963-aa79d0ebc8fb?auto=format&fit=crop&q=80')
        center/cover no-repeat;

    color: white;
    text-align: center;
    padding: 5.5rem 1rem 4.5rem;
}

.hero-content {
    max-width: 780px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.7rem;
    margin-bottom: 0.8rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.8rem;
    opacity: 0.95;
}

.hero h1 {
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);   /* soft dark shadow */
    /* or stronger: text-shadow: 0 4px 12px rgba(0,0,0,0.7); */
}
.hero .hero-subtitle {
    color: #f0f4f8;   /* very light blue-white */
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* CTA base */
.cta-button {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
}

/* CTA on green backgrounds (hero) */
.hero .cta-button {
    background-color: #ffffff;
    color: var(--brand-green-dark);
}

.hero .cta-button:hover {
    background-color: #d1fae5;
}

/* =========================
   Sections (Global)
========================= */
.section {
    padding: 4.5rem 0;
}

.section h1,
.section h2,
.section h3,
.section h4 {
    color: var(--brand-green-dark);
}

/* White card sections (INDEX) */
.about,
.expertise,
.why-choose {
    background-color: #ffffff;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    margin: 2.5rem 0;
    border-radius: 10px;
}

/* ✅ White card sections (SERVICES) */
.services-hero {
    background-color: #ffffff;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    margin: 2.5rem 0;
    border-radius: 10px;
}

/* CTA inside white sections */
.section:not(.hero) .cta-button {
    background-color: var(--brand-green-dark);
    color: #ffffff;
}

.section:not(.hero) .cta-button:hover {
    background-color: var(--brand-green);
}

/* =========================
   Icons
========================= */
.icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--brand-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon svg {
    width: 22px;
    height: 22px;
    fill: var(--brand-green-dark);
}

/* =========================
   Service Lists
========================= */
.service-list {
    list-style: none;
    margin-top: 2rem;
}

.service-item {
    display: flex;
    gap: 1.3rem;
    margin-bottom: 2rem;
}

.service-item strong {
    font-size: 1.1rem;
}

/* =========================
   Expertise
========================= */
.section-intro {
    max-width: 720px;
    margin: 0.75rem 0 2rem;
    color: #4b5563;
}

.credential-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.3rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid #d1fae5;
    border-radius: 10px;
    background: #ffffff;
}

/* =========================
   Footer (Enhanced)
========================= */
footer {
    background-color: var(--brand-green-dark);
    color: #d1fae5;
    padding: 2.5rem 0;
    margin-top: 3rem;
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

footer p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.8rem; /* generous spacing for clean look */
}

.footer-links li a {
    color: #d1fae5;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.25s ease, transform 0.2s ease;
}

.footer-links li a:hover {
    color: #ffffff;
    transform: translateY(-2px); /* subtle lift on hover */
}

/* Optional: Add small icons via Font Awesome (add CDN to <head> if using) */
/* Example: <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css"> */
/* Then in HTML: <i class="fas fa-envelope"></i> Contact Us  etc. */
/* If using icons, uncomment and adjust below: */
/*
.footer-links li a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 0.5rem;
    opacity: 0.8;
}
.footer-links li a[href*="contact"]::before { content: "\f0e0"; } /* envelope */
.footer-links li a[href*="privacy"]::before { content: "\f3ed"; } /* shield */
.footer-links li a[href*="linkedin"]::before { content: "\f08c"; } /* linkedin */
*/

/* Simple arrow fallback if no Font Awesome */
.footer-links li a::before {
    content: "→ ";
    margin-right: 0.4rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive: stack links on very small screens */
@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* =========================
   Responsive (existing + minor footer tweak)
========================= */
@media (max-width: 768px) {
    .logo {
        height: 90px;
    }

    .company-name {
        font-size: 1.6rem;
    }

    .hero {
        padding: 4.5rem 1rem 3.5rem;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1.3rem;
        width: 100%;
        margin-top: 1.2rem;
        text-align: center;
    }

    footer {
        padding: 2rem 1rem;
    }
}

/* =========================
   Header Banner Only (White)
========================= */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.company-name {
    color: var(--brand-green-dark);
}

.nav-links a {
    color: var(--brand-green);
}

.nav-links a:hover {
    color: var(--brand-green-dark);
}