/* Logo image styling */
.logo img {
    height: 72px;
    vertical-align: middle;
    margin-right: 0;
    width: auto;
}

@media (max-width: 600px) {
    .logo img {
        height: 56px;
    }
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
        margin-top: 10px;
        text-align: center;
        width: 100%;
        background: var(--primary-green);
        color: var(--dark-bg) !important;
        font-weight: bold;
        border-radius: 5px;
    }
}

:root {
    --primary-green: #C4E834;
    --dark-bg: #0A1C20;
    --dark-card: #152A30;
    --light-blue: #E0F2F7;
    --text-dark: #1F2933;
    --text-light: #FFFFFF;
    --text-grey: #a0aec0;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8fafc;
    color: var(--text-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.text-green {
    color: var(--primary-green);
}

.text-light {
    color: var(--text-light);
}

.bg-dark {
    background-color: var(--dark-bg);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    z-index: 1001;
    /* Above mobile menu */
}

.nav-links {
    display: flex;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 30px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-links a {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: white;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    /* changed from height to min-height for safety */
    padding: 150px 5% 100px;
    /* added top padding for navbar */
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('../assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    max-width: 800px;
    opacity: 0;
    animation: fadeUp 1s forwards 0.5s;
}

.hero p {
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeUp 1s forwards 0.8s;
}

.cta-btn {
    background: white;
    color: var(--dark-bg);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    white-space: nowrap;
}

.cta-btn:hover {
    background: var(--primary-green);
    transform: translateY(-5px);
}

/* Floating Stats in Hero */
.hero-stats {
    position: absolute;
    bottom: 10%;
    width: 90%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .hero-stats {
        position: relative;
        bottom: auto;
        margin-top: 50px;
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 20px;
    flex: 1;
    min-width: 200px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeIn 1s forwards 1.2s;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-info h3 {
    color: var(--dark-bg);
    font-size: 1.1rem;
}

.stat-info p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Sections */
.section {
    padding: 80px 5%;
}

.section-dark {
    background-color: var(--dark-bg);
    color: white;
}

/* Page Headers */
.page-header h1 {
    opacity: 0;
    animation: fadeUp 1s forwards 0.5s;
}

.page-header p {
    opacity: 0;
    animation: fadeUp 1s forwards 0.8s;
}

/* Cards */
.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.check-list i {
    color: var(--primary-green);
    margin-top: 5px;
}

/* Footer New Design */
.new-footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 80px 5% 30px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: #a0aec0;
    line-height: 1.6;
    margin: 20px 0;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
}

.social-icon:hover {
    background: var(--primary-green);
    color: var(--dark-bg);
}

.footer-column h3 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    color: #a0aec0;
}

.contact-info i {
    color: var(--primary-green);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    color: #718096;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}


/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growUp {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

.graph-bar {
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 1s ease-out;
}

.graph-bar.animate-grow {
    animation: growUp 1s ease-out forwards;
}

/* Delay Utilities */
.delay-0 {
    animation-delay: 0s;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================================
   RESPONSIVE DESIGN (All Pages)
   ========================================= */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    /* Navbar & Mobile Menu */
    .menu-toggle {
        display: flex;
        /* Show hamburger */
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        border-radius: 0;
        border: none;
        overflow: hidden;
        max-height: 0;
        /* Hidden by default */
        transition: max-height 0.4s ease-out;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        max-height: 400px;
        /* Slide down */
        padding: 20px 0;
    }

    .nav-links a {
        padding: 15px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .contact-btn {
        display: none;
        /* Hide primary CTA in nav on mobile, links usually suffice */
    }

    /* Hero */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 120px 5% 80px;
    }

    /* Layouts */
    .section {
        padding: 50px 5%;
    }

    .hero-stats {
        flex-direction: column;
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        /* Stack footer */
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    /* Common Grids */
    .service-card-lg,
    .process-step,
    .info-box {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .logo {
        font-size: 1.2rem;
    }
}