*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --teal-dark: #003e46;
    --teal-mid: #005a66;
    --cyan: #00b4e6;
    --cyan-dim: #008ab0;
    --cyan-glow: rgba(0, 180, 230, .12);
    /* primary text on light backgrounds */
    --text: #052a2c;
    /* light text when on dark backgrounds */
    --text-light: #f7fbfc;
    --bg-light: #f7fbfc; /* nearly white page background */
    --bg-card: #ffffff; /* card surfaces */
    --border: rgba(0, 180, 230, .08);
    /* compatibility variables used in older CSS */
    --off-white: #235354; /* muted dark teal for secondary text on light bg */
    --white: var(--text-light);
    --bg-dark: #05282b; /* dark block background */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text);
    overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3.5rem; /* increased top title bar padding */
    background: rgba(255, 255, 255, .85); /* light translucent bar */
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}

.nav-logo img {
    height: 38px;
    width: auto;
    filter: none; /* keep original SVG colors */
}

.nav-logo span {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.25rem; /* larger */
    letter-spacing: .08em;
    color: var(--teal-dark);
    text-transform: uppercase; /* all caps */
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--cyan);
}

.nav-cta {
    background: var(--cyan);
    color: var(--text-light) !important;
    padding: .5rem 1.25rem;
    border-radius: 4px;
    font-weight: 700 !important;
    transition: background .2s, box-shadow .2s !important;
}

.nav-cta:hover {
    background: #33c8f0 !important;
    box-shadow: 0 0 18px rgba(0, 180, 230, .5);
    color: var(--bg-dark) !important;
}

/* ─── HERO ─── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 2rem 4rem;
    z-index: 1;
    overflow: hidden;
    background: var(--bg-dark); /* dark hero block */
    color: var(--text-light);
}


.hero-logo {
    width: min(340px, 55vw);
    margin-bottom: 2.5rem;
    /* removed glow/drop-shadow to keep the logo crisp */
    filter: none;
    animation: floatLogo 5s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-tag {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1.1rem;
}

.hero-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.02em;
    margin-bottom: 1.5rem;
    max-width: 820px;
    color: var(--text-light);
}

.hero-headline em {
    font-style: normal;
    color: var(--cyan);
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: rgba(255, 255, 255, .9);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 2.75rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    background: var(--cyan);
    color: var(--text-light);
    font-weight: 700;
    font-size: .95rem;
    padding: .85rem 2.2rem;
    border-radius: 5px;
    text-decoration: none;
    letter-spacing: .04em;
    transition: box-shadow .2s, background .2s, transform .15s;
    border: none;
    cursor: pointer;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: #33c8f0;
    box-shadow: 0 0 30px rgba(0, 180, 230, .55);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--cyan);
    font-weight: 600;
    font-size: .95rem;
    padding: .82rem 2.2rem;
    border-radius: 5px;
    text-decoration: none;
    letter-spacing: .04em;
    border: 2px solid var(--cyan);
    transition: background .2s, box-shadow .2s, transform .15s;
}

.btn-outline:hover {
    background: var(--cyan-glow);
    box-shadow: 0 0 22px rgba(0, 180, 230, .3);
    transform: translateY(-2px);
}

/* scroll indicator */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    opacity: .45;
    animation: fadeBounce 2.2s ease-in-out infinite;
}

.scroll-hint span {
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.scroll-hint svg {
    width: 18px;
    height: 18px;
}

@keyframes fadeBounce {
    0%, 100% {
        opacity: .3;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: .7;
        transform: translateX(-50%) translateY(6px);
    }
}

/* ─── STATS BAR ─── */
.stats-bar {
    position: relative;
    z-index: 1;
    background: var(--teal-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.stat-item {
    flex: 1 1 200px;
    max-width: 280px;
    padding: 2.2rem 2rem;
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1;
}

.stat-label {
    font-size: .82rem;
    color: rgba(255, 255, 255, .85);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: .5rem;
}

/* ─── SECTION SHARED ─── */
section {
    position: relative;
    z-index: 1;
}

.section-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 5.5rem 2rem;
}

.section-tag {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: .9rem;
    display: block;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 1.2rem;
}

.section-title em {
    font-style: normal;
    color: var(--cyan);
}

.section-body {
    font-size: 1.05rem;
    color: var(--off-white);
    line-height: 1.8;
    max-width: 620px;
}

/* ─── SERVICES ─── */
#services {
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2.2rem 2rem;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent; /* removed gradient overlay */
    opacity: 0;
    transition: opacity .3s;
}

.service-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(3, 46, 50, .06);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 52px;
    height: 52px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
}

.service-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--cyan);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .7rem;
    color: var(--text);
}

.service-card p {
    font-size: .93rem;
    color: var(--text);
    line-height: 1.75;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card ul li {
    font-size: .88rem;
    color: var(--text);
    padding: .3rem 0 .3rem 1.2rem;
    position: relative;
}

.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .62rem;
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
}

/* ─── PROCESS ─── */
#process {
    background: #052b2d; /* solid dark teal */
    color: var(--text-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
    counter-reset: step;
}

.process-step {
    position: relative;
    padding: 2rem 1.6rem;
    border-left: 2px solid var(--border);
    transition: border-color .25s;
}

.process-step:hover {
    border-color: var(--cyan);
}

.step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, .32); /* stronger so numbers are legible on dark bg */
    line-height: 1;
    margin-bottom: .8rem;
}

.process-step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .55rem;
    color: var(--cyan);
}

.process-step p {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.7;
}


/* ─── WHY US ─── */
/* light background for the Why section */
#why {
    background: var(--bg-light); /* light block */
    color: var(--text); /* dark text for readability */
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.why-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-item {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

.why-dot {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(3, 46, 50, .12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .1rem;
}

.why-dot svg {
    width: 18px;
    height: 18px;
    stroke: var(--cyan);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.why-text strong {
    display: block;
    font-size: .98rem;
    font-weight: 700;
    margin-bottom: .3rem;
    color: var(--text);
}

.why-text p {
    font-size: .88rem;
    color: rgba(3, 46, 50, .88);
    line-height: 1.65;
}

.why-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-logo-bg {
    position: relative;
}

.why-logo-bg img {
    width: 280px;
    /* remove glow around the logo */
    filter: none;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(3, 46, 50, .16); /* darker ring for light bg */
}

/* increased ring sizes to avoid colliding with the logo */
.ring-1 {
    width: 420px;
    height: 420px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 22s linear infinite;
}

.ring-2 {
    width: 560px;
    height: 560px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 35s linear infinite reverse;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--teal-dark);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(3, 46, 50, .08);
    border: 1px solid rgba(0, 0, 0, .06);
}

.ring-1 .orbit-dot {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-2 .orbit-dot {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
}

/* ─── CTA BANNER ─── */
#cta {
    position: relative;
    overflow: hidden;
}

.cta-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

#cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #042b2d; /* solid dark color */
    z-index: 0;
}

#cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0; /* removed glow */
    z-index: 0;
}

.cta-inner .section-title {
    max-width: 700px;
    margin: 0 auto 1.2rem;
    color: var(--text-light);
}

.cta-inner .section-body {
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, .92);
}

/* ─── CONTACT ─── */
#contact {
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.contact-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .5rem;
}

.contact-info p {
    font-size: .93rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    font-size: .9rem;
    color: var(--text);
}

.contact-detail svg {
    width: 18px;
    height: 18px;
    stroke: var(--cyan);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.contact-detail a {
    color: var(--cyan);
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.form-field label {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--off-white);
}

.form-field input,
.form-field select,
.form-field textarea {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: .75rem 1rem;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: .92rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

/* stronger, higher-specificity rules for selects to avoid browser UA styles making text invisible */
.contact-form .form-field select,
.contact-form .form-field select option {
    color: var(--text) !important;
    background: var(--bg-card) !important;
    -webkit-text-fill-color: var(--text) !important;
}

.form-field select {
    color: var(--text);
}

.form-field select:focus {
    color: var(--text);
}

.form-field select option {
    background: var(--bg-card);
    color: var(--text);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 180, 230, .12);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(3, 46, 50, .45);
}


.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

/* ─── FOOTER ─── */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(0, 0, 0, .06);
    background: #04282a; /* dark footer */
    color: var(--text-light);
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand img {
    height: 44px;
    filter: none; /* keep SVG original colors */
    margin-bottom: .75rem;
    background: var(--text-light); /* subtle backdrop so logo colors are not washed out */
    padding: 6px;
    border-radius: 6px;
}

.footer-brand p {
    font-size: .86rem;
    color: rgba(255, 255, 255, .86);
    max-width: 280px;
    line-height: 1.65;
}

.footer-links-col h4 {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.footer-links-col ul a {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    font-size: .88rem;
    transition: color .2s;
}

.footer-links-col ul a:hover {
    color: var(--cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: .8rem;
    color: var(--off-white);
}

.footer-bottom a {
    color: var(--cyan);
    text-decoration: none;
}

/* ─── FLASH MESSAGE ─── */
.flash {
    padding: .9rem 1.4rem;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.flash-success {
    background: rgba(0, 180, 100, .15);
    border: 1px solid rgba(0, 180, 100, .4);
    color: #55e8a0;
}

.flash-error {
    background: rgba(220, 60, 60, .15);
    border: 1px solid rgba(220, 60, 60, .4);
    color: #f58a8a;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-visual {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        flex-direction: column;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .stat-item:last-child {
        border-bottom: none;
    }
}