/*
  CertifiedCoPacking.css
  Fountain City Foods — Co-Packing Landing Page
*/

/* ===================== VARIABLES ===================== */
:root {
    --blue: #0A58CA;
    --cyan: #0dcaf0;
    --gold: #FFB800;
    --purple: #6f42c1;
    --pink: #d63384;
    --dark: #0f172a;
    --mid: #1e293b;
    --muted: #64748b;
    --white: #ffffff;
    --bg: #f8fafc;
    --border: rgba(10, 88, 202, 0.1);
    --radius: 20px;
}

/* ===================== RESET ===================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    background: var(--bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* ===================== ANIMATED BG ===================== */
.vibrant-animated-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: var(--bg);
    overflow: hidden;
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.11;
    animation: drift 20s infinite alternate ease-in-out;
}

.shape-1 {
    width: 700px;
    height: 700px;
    background: var(--cyan);
    top: -180px;
    left: -180px;
}

.shape-2 {
    width: 550px;
    height: 550px;
    background: var(--purple);
    bottom: -80px;
    right: -80px;
    animation-delay: -5s;
}

.shape-3 {
    width: 450px;
    height: 450px;
    background: var(--gold);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 380px;
    height: 380px;
    background: var(--pink);
    top: 60%;
    left: 5%;
    animation-delay: -15s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(70px, 110px) scale(1.1);
    }
}

/* ===================== HEADER ===================== */
.cp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 5%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1.5px solid rgba(13, 202, 240, 0.18);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    transition: padding 0.3s, box-shadow 0.3s;
}

.header-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
}

.header-logo:hover {
    transform: scale(1.04);
}

.nav-links {
    display: flex;
    gap: 26px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.nav-active::after {
    width: 100%;
}

.nav-cta-btn {
    background: linear-gradient(135deg, var(--gold), #ff9900) !important;
    color: white !important;
    padding: 9px 22px !important;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
}

.nav-cta-btn::after {
    display: none !important;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.5);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--blue);
    cursor: pointer;
}

/* Mobile overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu-links a {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    font-family: 'Outfit', sans-serif;
}

.mobile-menu-links a:hover {
    color: var(--gold);
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
}

/* ===================== UTILITY ===================== */
.gradient-text {
    background: linear-gradient(45deg, var(--blue), var(--purple), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gs 5s ease infinite;
}

@keyframes gs {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.section-tag {
    display: inline-block;
    background: rgba(13, 202, 240, 0.12);
    color: var(--blue);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.cp-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    border: none;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
}

.cp-btn-dark {
    background: var(--dark);
    color: white;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
}

.cp-btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.4);
}

.cp-btn-gold {
    background: linear-gradient(135deg, var(--gold), #ff9900);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.3);
}

.cp-btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255, 184, 0, 0.55);
}

.cp-btn-submit {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: white;
    box-shadow: 0 6px 20px rgba(10, 88, 202, 0.3);
    width: 100%;
    justify-content: center;
}

.cp-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(10, 88, 202, 0.45);
}

.cp-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.cp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.92rem;
    margin-top: 10px;
    transition: gap 0.2s;
}

.arrow-link:hover {
    gap: 14px;
}

/* ===================== HERO ===================== */
.cp-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    gap: 5vw;
    padding: 130px 5% 80px;
}

.hero-left {
    flex: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(10, 88, 202, 0.08), rgba(13, 202, 240, 0.08));
    border: 1px solid rgba(10, 88, 202, 0.2);
    color: var(--blue);
    font-weight: 700;
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 22px;
}

#heroHeading {
    font-size: 3.4rem;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 20px;
}

#heroPara {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 28px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: white;
    border: 1px solid var(--border);
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.83rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.hero-badge i {
    color: var(--blue);
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-right {
    flex: 0 0 420px;
}

.form-card {
    background: white;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 30px 70px rgba(10, 88, 202, 0.1);
    border: 1px solid var(--border);
}

.form-card h3 {
    font-size: 1.55rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-sub {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 22px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 14px;
}

.form-group label {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    padding: 10px 13px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    font-size: 0.93rem;
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(10, 88, 202, 0.1);
}

/* ===================== EDUCATE ===================== */
.cp-educate {
    display: flex;
    align-items: center;
    gap: 6vw;
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.edu-left {
    flex: 1;
}

.edu-left h2 {
    font-size: 3rem;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 18px;
}

.edu-left p {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 26px;
    max-width: 500px;
}

.edu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.edu-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--dark);
}

.edu-list li i {
    color: var(--blue);
    font-size: 1.05rem;
}

.edu-right {
    flex: 1;
    position: relative;
    height: 460px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 184, 0, 0.15);
    box-shadow: 6px 8px 30px rgba(10, 88, 202, 0.1);
}

.edu-right img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    top: 0;
    left: 0;
}

#edim2 {
    opacity: 0;
}

#edim3 {
    opacity: 0;
}

#edim4 {
    opacity: 0;
}

/* ===================== SERVICES — CSS STICKY HORIZONTAL SCROLL ===================== */

/*
   How it works:
   1. .cp-services-outer is a TALL section (height set by JS = 100vh + track overflow)
   2. .services-sticky uses position:sticky top:0 height:100vh — stays pinned
   3. .services-track is a wide flex row (width: max-content)
   4. JS reads scroll progress within .cp-services-outer and sets transform: translateX()
*/
.cp-services-outer {
    position: relative;
    /* JS will set an explicit pixel height based on track.scrollWidth */
    /* fallback height keeps layout visible before JS runs */
    background: linear-gradient(160deg, #f0f4ff 0%, #e8f0ff 100%);
}

.services-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    /* overflow:clip clips without creating a scroll container
       (overflow:hidden on sticky elements doesn't clip in all browsers) */
    overflow: clip;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    z-index: 1;
}

.services-topbar {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 55px 5% 0;
}

.services-title {
    font-size: 2.5rem;
    color: var(--dark);
    line-height: 1.15;
    margin: 6px 0 0;
}

.services-hint-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.services-scroll-hint {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
}

.services-scroll-hint i {
    color: var(--blue);
}

.services-progress-bar {
    width: 160px;
    height: 3px;
    background: rgba(10, 88, 202, 0.12);
    border-radius: 3px;
    overflow: hidden;
}

.services-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    border-radius: 3px;
    transition: width 0.05s linear;
}

/* The horizontal card row */
.services-track {
    flex: 1;
    display: flex;
    /* flex-start so cards don't stretch taller than their content */
    align-items: flex-start;
    gap: 22px;
    padding: 20px 5%;
    width: max-content;
    will-change: transform;
    /* Clip any overflow so cards never bleed below the sticky viewport */
    overflow: visible;
}

/* Individual service card */
.svc-card {
    flex-shrink: 0;
    width: 300px;
    /* Explicit height so cards never exceed the sticky viewport */
    height: calc(100vh - 200px);
    max-height: 520px;
    border-radius: 20px;
    background: white;
    border: 1px solid rgba(10, 88, 202, 0.08);
    box-shadow: 0 10px 36px rgba(10, 88, 202, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.svc-card:hover {
    box-shadow: 0 22px 50px rgba(10, 88, 202, 0.14);
}

.svc-img {
    position: relative;
    height: 160px;
    flex-shrink: 0;
    overflow: hidden;
}

.svc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.svc-card:hover .svc-img img {
    transform: scale(1.06);
}

.svc-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.svc-card:nth-child(1) .svc-badge {
    color: var(--blue);
}

.svc-card:nth-child(2) .svc-badge {
    color: var(--purple);
}

.svc-card:nth-child(3) .svc-badge {
    color: #ff9900;
}

.svc-card:nth-child(4) .svc-badge {
    color: #22c55e;
}

.svc-card:nth-child(5) .svc-badge {
    color: var(--pink);
}

.svc-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.svc-num {
    font-size: 0.67rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 7px;
    display: block;
}

.svc-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.svc-card p {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.63;
    margin-bottom: 14px;
    flex: 1;
}

.svc-body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.svc-body ul li {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.svc-body ul li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

/* ===================== STATS ===================== */
.cp-stats {
    background: linear-gradient(135deg, var(--blue), var(--dark));
    padding: 100px 5%;
    color: white;
    position: relative;
    overflow: hidden;
}

.cp-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(13, 202, 240, 0.08) 0%, transparent 60%);
    animation: spinSlow 25s linear infinite;
    z-index: 0;
}

@keyframes spinSlow {
    100% {
        transform: rotate(360deg);
    }
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.stats-text {
    flex: 1;
}

.stats-text h2 {
    font-size: 2.9rem;
    line-height: 1.15;
    margin-bottom: 16px;
}

.stats-text p {
    font-size: 1.05rem;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 30px;
}

.stats-grid {
    flex: 1.2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 30px 22px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.14);
}

.stat-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.stat-card h3 {
    font-size: 2.7rem;
    color: white;
    margin-bottom: 6px;
}

.stat-card p {
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 500;
}

/* ===================== WHY FCF ===================== */
.cp-why {
    padding: 100px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.section-header-center {
    text-align: center;
    margin-bottom: 72px;
}

.section-header-center h2 {
    font-size: 2.9rem;
    color: var(--dark);
}

.why-rows {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.why-row {
    display: flex;
    align-items: center;
    gap: 7vw;
}

.why-row-rev {
    flex-direction: row-reverse;
}

.why-img {
    flex: 1;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 28px 55px rgba(10, 88, 202, 0.09);
}

.why-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.why-img:hover img {
    transform: scale(1.04);
}

.why-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 7px 16px;
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 7px;
}

.why-badge i {
    color: var(--blue);
}

.why-text {
    flex: 1;
}

.why-num {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(10, 88, 202, 0.07);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    display: block;
    margin-bottom: -8px;
}

.why-text h3 {
    font-size: 1.9rem;
    color: var(--dark);
    margin-bottom: 14px;
}

.why-text p {
    font-size: 1.02rem;
    color: var(--muted);
    line-height: 1.75;
}

/* ===================== CERTIFICATIONS ===================== */
.cp-certs {
    background: linear-gradient(135deg, rgba(10, 88, 202, 0.04), rgba(13, 202, 240, 0.04));
    padding: 100px 5%;
    border-top: 1px solid rgba(10, 88, 202, 0.08);
    border-bottom: 1px solid rgba(10, 88, 202, 0.08);
}

.certs-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.certs-inner h2 {
    font-size: 2.7rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.certs-sub {
    font-size: 1.02rem;
    color: var(--muted);
    margin-bottom: 56px;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 22px;
    padding: 44px 40px;
    min-width: 190px;
    box-shadow: 0 8px 28px rgba(10, 88, 202, 0.07);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.cert-badge:hover {
    transform: translateY(-8px) scale(1.06);
    box-shadow: 0 20px 42px rgba(10, 88, 202, 0.15);
    border-color: var(--blue);
}

.cert-badge i {
    font-size: 3.4rem;
    color: var(--blue);
}

.cert-badge span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    letter-spacing: -0.01em;
}

/* ===================== CTA ===================== */
.cp-cta {
    background: var(--dark);
    padding: 120px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 202, 240, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: 3.4rem;
    color: white;
    margin-bottom: 18px;
    line-height: 1.15;
}

.cta-inner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 42px;
    line-height: 1.6;
}

.cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================== FOOTER ===================== */
.vibrant-footer {
    background: #0b1220;
    padding: 80px 5% 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 0.93rem;
    line-height: 1.7;
    margin: 18px 0;
    max-width: 280px;
}

.footer-logo {
    height: 48px;
    width: auto;
}

.social-pills {
    display: flex;
    gap: 12px;
}

.social-pills a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 0.9rem;
    transition: background 0.3s, transform 0.3s;
}

.social-pills a:hover {
    background: var(--blue);
    transform: translateY(-3px);
}

.footer-links-col {
    display: flex;
    flex-direction: column;
}

.footer-links-col h4 {
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    color: white;
    margin-bottom: 18px;
}

.footer-links-col a {
    font-size: 0.89rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links-col a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-news-col h4 {
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    color: white;
    margin-bottom: 12px;
}

.footer-news-col p {
    font-size: 0.89rem;
    margin-bottom: 18px;
    line-height: 1.6;
}

.newsletter-wrap {
    display: flex;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 11px 18px;
    color: white;
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.newsletter-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.newsletter-wrap button {
    background: var(--blue);
    border: none;
    color: white;
    padding: 11px 18px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.newsletter-wrap button:hover {
    background: var(--cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.38);
}

.legal-links {
    display: flex;
    gap: 22px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.84rem;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: var(--gold);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
    .cp-hero {
        flex-direction: column;
        padding-top: 110px;
    }

    #heroHeading {
        font-size: 2.4rem;
    }

    .hero-right {
        flex: none;
        width: 100%;
    }

    .cp-educate {
        flex-direction: column;
    }

    .edu-right {
        height: 300px;
        width: 100%;
    }

    .stats-inner {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-row,
    .why-row-rev {
        flex-direction: column;
        gap: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* Mobile: services section becomes normal vertical scroll */
    .cp-services-outer {
        height: auto !important;
    }

    .services-sticky {
        position: relative;
        height: auto;
        overflow: visible;
    }

    .services-track {
        width: 100%;
        flex-wrap: wrap;
        padding: 20px 5%;
        transform: none !important;
    }

    .svc-card {
        width: calc(50% - 11px);
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    #heroHeading {
        font-size: 2rem;
    }

    .cta-inner h2 {
        font-size: 2.1rem;
    }

    .services-title {
        font-size: 1.8rem;
    }

    .svc-card {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}