:root {
    --color-bg: #f8fafc;
    --color-bg-alt: #ffffff;
    --color-primary: #22c55e;
    --color-primary-dark: #16a34a;
    --color-navy: #0f172a;
    --color-text-main: #0f172a;
    --color-text-muted: #64748b;
    --shadow-soft: 0 6px 20px rgba(15, 23, 42, 0.15);
    --shadow-soft-hover: 0 12px 30px rgba(15, 23, 42, 0.22);
    --radius-lg: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    font-size: 16px;
    color: #334155;
    background: linear-gradient(180deg,
            var(--color-bg) 0%,
            var(--color-bg-alt) 40%,
            #f9fefb 100%);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.18), transparent 55%),
        radial-gradient(circle at 12% 65%, rgba(15, 23, 42, 0.10), transparent 60%);
}

/* NAVBAR */
/* NAVBAR */
.navbar {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    /* let content decide height, but keep minimum */
    min-height: 90px;
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* Wider, but not edge-to-edge */
.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    /* a bit less vertical padding so height isn’t huge */
    padding: 0.6rem 2.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Stacked logo: icon on top, text below, centered within the logo block */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    width: 72px;
    /* was 90px */
    height: auto;
}

.logo-text {
    font-size: 1.6rem;
    /* was 2.1rem */
    font-weight: 700;
    color: #00cab9;
    letter-spacing: 0.05em;
}

/* which logo is visible in which state */
.logo-hero {
    display: block;
}

.logo-solid {
    display: none;
}

/* Solid navbar (after hero) uses solid logo instead */
.navbar.nav-solid .logo-hero {
    display: none;
}

.navbar.nav-solid .logo-solid {
    display: block;
}


/* Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.25rem;
}

li {
    font-size: 1.05rem;
}

.nav-menu a {
    color: #f9fafb;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--color-primary);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hide nav when scrolling down in hero */
.navbar.nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Solid nav style after hero */
.navbar.nav-solid {
    background: #ffffff;
    height: 70px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}

/* Menu colors when solid */
.navbar.nav-solid .nav-menu a {
    color: var(--color-text-main);
}

.navbar.nav-solid .nav-menu a::after {
    background: var(--color-primary);
}

.navbar.nav-solid .hamburger span {
    background: var(--color-text-main);
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #f9fafb;
    margin: 3px 0;
    transition: 0.3s;
}

/* HERO */
.hero {
    position: relative;
    margin-top: -80px;
    /* hero sits under navbar */
    padding: 200px 0 130px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url("/uploads/bg1.png");
    background-size: cover;
    background-position: center;
    color: #f9fafb;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.hero-content.hero-centered {
    max-width: 760px;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.15);
    color: #bbf7d0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-title-main {
    font-size: 8rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    /* text-transform: uppercase; */
}

.hero-accent {
    color: #2dd4bf;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
}

.hero-body {
    font-size: 1.05rem;
    color: #00f7e2;
    opacity: 0.9;
    margin-bottom:7.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 2.4rem;
    background: #10b981;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cta-button:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(16, 185, 129, 0.6);
}

.hero-secondary-link {
    display: inline-block;
    font-size: 0.95rem;
    color: #f9fafb;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    /* text-transform: lowercase; */
}

.hero-secondary-link:hover {
    color: #a7f3d0;
    border-color: #a7f3d0;
}

/* WHITE STRIP */
.hero-links-strip {
    background: #ffffff;
    padding: 28px 0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.hero-quick-links {
    text-align: center;
    font-size: 1.35rem;
    /* big & visible */
    font-weight: 600;
    color: #0f172a;
}

.hero-quick-links a {
    color: #0f766e;
    text-decoration: none;
}

.hero-quick-links a:hover {
    color: #059669;
}

.hero-quick-links span {
    margin: 0 0.75rem;
    color: #0f172a;
}

/* GENERAL LAYOUT */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.25rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* SERVICES */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft-hover);
    border-color: rgba(34, 197, 94, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-main);
    font-weight: 600;
}

.service-card p {
    font-size: 0.98rem;
    color: #555;
    line-height: 1.7;
}

/* PORTFOLIO */
.portfolio {
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    background: #f8fafc;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: left;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft-hover);
}

.portfolio-image {
    height: 200px;
    background: #537979;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 4rem;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    margin-bottom: 0.75rem;
    color: var(--color-text-main);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.portfolio-content p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    text-align: center;
}

/* ABOUT */
.about {
    padding: 100px 0;
    background: #537979;
    color: #e2e8f0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.aboutHeading {
    text-align: center;
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f9fafb;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
    margin-top: 0.25rem;
}

/* WHY US */
.whyus {
    padding: 100px 0;
}

.whyus-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.whyus-item {
    background: #f8fafc;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whyus-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft-hover);
}

.whyus-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.whyus-item h3 {
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.whyus-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* FOOTER */
.footer {
    background: #537979;
    color: #e2e8f0;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #89968e;
    color: #00dd76;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.25rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(15, 23, 42, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        padding: 170px 1.5rem 80px;
        min-height: auto;
    }

    .hero-title-main {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 0.18em;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-quick-links {
        font-size: 1.2rem;
    }
}