/* --- 1. THEME VARIABLES (DARK MODE DEFAULT) --- */
:root {
    /* Brand Identity Colors */
    --brand-navy: #022e47;
    --brand-cream: #FAF8F1;
    --brand-orange: #f68f1d;
    --brand-pink: #ea3b60;
    
    /* Default Dark Theme Mapping */
    --bg-body: #000000; 
    --text-main: #e6e6e6;
    --text-muted: rgba(255, 255, 255, 0.6);
    --nav-bg-scrolled: rgba(1, 26, 42, 0.95);
    --nav-mobile-bg: #000000;
    --nav-mobile-shadow: rgba(0,0,0,0.4);
    
    /* Footer is always dark */
    --footer-bg: var(--brand-navy);
    
    --vf-grad: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange) 65%, var(--brand-pink) 100%);
    
    --font-display: 'Bakbak One', cursive;
    --font-body: 'Work Sans', sans-serif;
}

/* --- 2. GLOBAL STYLES --- */
body {
    background-color: var(--bg-body);
    font-family: var(--font-body);
    color: var(--text-main);
    overflow-x: hidden;
    /* Removed background/color transitions since theme switching is gone */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 400; 
}

.text-gradient {
    background: var(--vf-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- 3. AMBIENT BACKGROUND --- */
.ambient-light {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    z-index: -1; 
    pointer-events: none; 
    overflow: hidden;
    background: var(--bg-body);
}

.orb {
    position: absolute; 
    border-radius: 50%;
    filter: blur(80px); 
    opacity: 0.5;
    animation: floatOrb 20s infinite ease-in-out;
}

.orb-1 { width: 100vw; height: 100vw; background: var(--brand-orange); top: -10%; left: -10%; opacity: 0.15;}
.orb-2 { width: 30vw; height: 30vw; background: var(--brand-pink); bottom: 10%; right: -5%; animation-delay: -5s; opacity: 0.15;}
.orb-3 { width: 60vw; height: 60vw; background: #ff5500; top: 40%; left: 40%; animation-delay: -10s; opacity: 0.1;}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -50px) scale(1.1); }
}

/* --- 4. HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; 
    z-index: 1; 
    flex-wrap: wrap; /* Added for mobile responsiveness */
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 0.9;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.4;
    margin-bottom: 30px;
    max-width: 600px;
    font-weight: 600;
}

/* Abstract Visual Element */
.hero-visual-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 400px;
    width: 100%; /* Ensures proper centering on mobile */
}

.hero-shape {
    width: clamp(250px, 40vw, 350px); /* Responsive sizing */
    height: clamp(250px, 40vw, 350px);
    background: var(--vf-grad);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape 8s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(246, 143, 29, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes morphShape {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: translateY(-15px); }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* Floating Badges */
.hero-badge {
    position: absolute;
    padding: clamp(8px, 2vw, 12px) clamp(16px, 3vw, 24px);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--text-main);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    letter-spacing: -0.02em;
    background: rgba(1, 26, 42, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-badge.b-1 { 
    top: 15%; 
    left: 0%; 
    animation: floatBadge 4s infinite ease-in-out; 
}

.hero-badge.b-2 { 
    bottom: 20%; 
    right: -5%; 
    animation: floatBadge 5s infinite ease-in-out reverse; 
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* --- 5. PAGE HERO --- */
.page-hero {
    padding-top: 120px; 
    padding-bottom: 24px;
}

.hero-panel {
    border-radius: 26px;
    padding: clamp(20px, 3vw, 44px);
    position: relative;
    overflow: hidden;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 28px;
    padding: 2px;
    background: var(--vf-grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); 
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .28;
    pointer-events: none;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .78rem;
    opacity: .85;
}

.kicker .dot {
    width: 8px; 
    height: 8px; 
    border-radius: 999px;
    background: var(--vf-grad);
    box-shadow: 0 0 0 6px rgba(255,255,255,0.06); /* Dark mode default */
}

.page-title {
    font-size: clamp(2.0rem, 4vw, 3.3rem);
    line-height: 1.08;
    margin: 14px 0 10px;
}

.page-sub {
    max-width: 75ch;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 16px;
    font-weight: 500;
}

/* --- 6. SERVICES SECTION --- */
.section { padding: 22px 0 10px; }

.section-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap; /* Better scaling on tiny screens */
}

.section-title .muted { 
    color: var(--text-muted); 
    font-size: .95rem; 
    font-weight: 700; 
    text-transform: none; 
    font-family: var(--font-body); 
}

.fade-sep {
    height: 1px;
    width: 100%;
    /* Hardcoded dark mode gradient */
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.14) 18%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.14) 82%, transparent 100%);
}

/* --- BRANDED BUTTONS --- */
.btn-glow {
    background: var(--vf-grad); 
    color: white !important;
    padding: 16px 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    box-shadow: 0 10px 20px rgba(246, 143, 29, 0.3); 
    display: inline-block;
    text-align: center;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(234, 59, 96, 0.4); 
}

.btn-outline-glow {
    background: transparent;
    color: #f68f1d !important; 
    border: 2px solid #f68f1d;
    padding: 14px 30px; 
    border-radius: 100px;
    font-family: var(--font-body); 
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    text-align: center;
}

.btn-outline-glow:hover {
    background: #f68f1d;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(246, 143, 29, 0.4);
}

.btn-outline-glow .fa-star {
    color: white; /* Defaulted to dark mode setting */
    transition: color 0.3s ease;
}

/* --- 7. SERVICES GRID V4 --- */
.vf-services-header .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
}

.vf-services-header .muted {
    display: block;
    font-size: 1.1rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    text-transform: none;
    line-height: 1.6;
    margin-top: 15px;
}

.vf-services-wrapper-v4 {
    display: grid;
    /* Responsive Grid: min 280px prevents breaking on tiny phones */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 40px; 
    margin-top: 50px; 
}

.vf-svc-card-v4 {
    background: rgba(25, 25, 25, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px; 
    padding: 55px 40px 40px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
}

.vf-svc-card-v4:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Header Styling */
.vf-section-header-v4 {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vf-main-title-v4 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem); 
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.vf-text-gradient-v4 {
    background: linear-gradient(45deg, #ec008c, #f68f1d);
    -webkit-background-clip: text;
    background-clip: text; 
    -webkit-text-fill-color: transparent;
    display: inline-block; 
}

.vf-main-desc-v4 {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.7;
    max-width: 750px; 
    margin: 0 auto;
    padding: 0 20px; /* Safety padding for mobile */
}

.vf-main-desc-v4 strong {
    color: var(--text-main); 
    font-weight: 600;
}

.vf-svc-icon-v4 {
    position: absolute;
    top: -25px;
    left: 40px;
    width: 65px;
    height: 65px;
    background: var(--vf-grad); 
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    box-shadow: 0 12px 24px rgba(236, 0, 140, 0.3); 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vf-svc-title-v4 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.1rem); 
    margin-top: 10px;
    margin-bottom: 15px;
    line-height: 1.2; 
    letter-spacing: -0.02em;
}

.vf-svc-desc-v4 {
    font-size: 0.95rem; 
    line-height: 1.45; 
    margin-bottom: 30px;
    min-height: 80px; /* Reduced slightly for better mobile fit */
    font-weight: 600; 
}

/* Service List */
.vf-svc-list-v4 {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.vf-svc-list-v4 li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px; 
    font-size: 0.95rem; 
    color: var(--text-main);
    opacity: 1; 
    transition: transform 0.3s ease;
}

.vf-svc-list-v4 li:hover {
    transform: translateX(6px);
}

.vf-svc-list-v4 li::before {
    content: '\f058'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: #f68f1d; 
    font-size: 1.1rem;
    background: -webkit-linear-gradient(45deg, #f68f1d, #ec008c);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sub-Services List */
.vf-svc-list-v4 ul {
    list-style: none;
    padding-left: 24px;
    margin-top: 12px;
    margin-bottom: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1); 
}

.vf-svc-list-v4 ul li {
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.vf-svc-list-v4 ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #f68f1d; 
    border-radius: 50%;
    position: absolute;
    left: -3px; 
    top: 7px;
    background-clip: initial;
    -webkit-text-fill-color: initial;
}

/* Service Inner Box */
.vf-svc-list-box-v4 {
    background: rgba(0, 0, 0, 0.2); 
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px; 
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Sliding Button */
.vf-svc-btn-v4 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: transparent;
    border: 2px solid #ec008c; 
    border-radius: 50px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease;
    margin-top: auto; 
    width: 100%;
}

.vf-svc-btn-v4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, #ec008c, #f68f1d); 
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.vf-svc-card-v4:hover .vf-svc-btn-v4,
.vf-svc-btn-v4:hover {
    color: #fff !important;
    border-color: transparent;
}

.vf-svc-card-v4:hover .vf-svc-btn-v4::before,
.vf-svc-btn-v4:hover::before {
    width: 100%; 
}

.vf-svc-btn-v4 i {
    transition: transform 0.4s ease;
}

.vf-svc-card-v4:hover .vf-svc-btn-v4 i,
.vf-svc-btn-v4:hover i {
    transform: translateX(5px); 
}

/* --- 8. V5 HEADER LAYOUT --- */
.vf-svc-header-v5 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.vf-svc-icon-v5 {
    font-size: 2.5rem; 
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ec008c, #f68f1d); 
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 8px 16px rgba(236, 0, 140, 0.3)); 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vf-svc-card-v4:hover .vf-svc-icon-v5 {
    transform: translateY(-5px) scale(1.1); 
}

.vf-svc-title-v5 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.vf-svc-divider {
    height: 4px;
    width: 40px;
    background: linear-gradient(45deg, #ec008c, #f68f1d);
    border-radius: 50px;
    margin-top: 18px;
    transition: width 0.4s ease;
}

.vf-svc-card-v4:hover .vf-svc-divider {
    width: 100px; 
}

.vf-svc-desc-v5 {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    min-height: 80px;
}

.vf-section-header-v5 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
}

.vf-header-title-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.vf-title-light-v5 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem); 
    font-weight: 600;
    color: #ffffff; 
    margin: 0;
    letter-spacing: -0.01em;
}

.vf-title-bold-v5 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3rem, 6vw, 5rem);
    margin: 0;
    line-height: 0.9 !important;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    background: var(--vf-grad); 
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.vf-header-desc-wrapper-v5 {
    max-width: 550px;
    padding-left: 24px;
    border-left: 2px solid #ec008c; 
}

.vf-section-header-v5 .vf-main-desc-v5 {
    color: var(--text-main) !important; 
    font-size: clamp(1rem, 2vw, 1.15rem) !important;
    font-weight: 600 !important;
    line-height: 1.4 !important; /* Adjusted line height for better mobile readability */
    margin: 0 !important;
}

.vf-main-desc-v5 .text-gradient {
    background: linear-gradient(45deg, #ec008c, #f68f1d);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline; 
    font-weight: 700;
}

/* --- 9. TRUSTED WINS WALL --- */
.wins-wall-fullscreen {
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    padding: 80px 20px; 
    box-sizing: border-box;
    position: relative;
}

.wins-header-v4 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 3rem 0 2rem; 
    gap: 1.5rem; 
}

.wins-header-v4::before,
.wins-header-v4::after {
    content: "";
    flex: 1; 
    height: 1px;
}

/* Hardcoded Dark Mode lines */
.wins-header-v4::before {
    background: linear-gradient(to right, transparent, rgba(148, 163, 184, 0.2));
}

.wins-header-v4::after {
    background: linear-gradient(to left, transparent, rgba(148, 163, 184, 0.2));
}

.wins-title-v4 {
    font-family: var(--font-display, system-ui, -apple-system, sans-serif);
    font-size: clamp(0.9rem, 2vw, 1rem); /* Responsive sizing */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em; 
    color: #94a3b8; /* Defaulted to dark mode muted tone */
    white-space: nowrap; 
    margin: 0;
}

.vf-logo-grid-v4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(30px, 6vw, 80px); 
    max-width: 1200px;
    margin: 0 auto;
}

.vf-logo-item-v4 {
    display: flex;
    justify-content: center;
}

.vf-logo-item-v4 img {
    max-height: clamp(35px, 5vw, 50px); /* Scales well on mobile */
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.4);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

/* Media Queries for Extra Small Screens */
@media screen and (max-width: 768px) {
    .vf-section-header-v5 {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .vf-header-desc-wrapper-v5 {
        border-left: none;
        border-top: 2px solid #ec008c;
        padding-left: 0;
        padding-top: 20px;
    }
    
    .hero-badge.b-1, .hero-badge.b-2 {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        margin: 10px;
        display: inline-block;
        animation: none; /* Turn off float animation for cleaner mobile layout */
    }
    .hero-visual-wrapper {
        flex-direction: column;
    }
}

       /* --- LOGO HOVER ANIMATION (DARK MODE DEFAULT) --- */
.vf-logo-item-v4 img {
    max-height: 150px;
    width: auto;
    transition: all 0.3s ease;
    filter: invert(1) brightness(2); /* Permanent dark mode filter */
    object-fit: contain;
}

.vf-logo-item-v4:hover img {
    filter: invert(1) brightness(2.5); /* Slight brighten on hover instead of losing invert */
    transform: translateY(-5px) scale(1.05);
}

.vf-logo-grid-v4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); 
    gap: 30px;
    align-items: center; 
    justify-items: center;
    margin-top: 1rem; 
}

.vf-logo-item-v4 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Base Text Fixes (Formerly Dark Mode Overrides) */
.wins-title-v4 {
    color: #ffffff !important;
}
.wins-sub-v4 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* --- CAROUSEL WRAPPER & BUTTONS --- */
.carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0 10px; 
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 20, 147, 0.5); 
    color: white;
    width: 55px; 
    height: 55px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center; 
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.carousel-nav-btn:hover {
    background: var(--brand-pink, #ff1493);
    border-color: var(--brand-pink, #ff1493);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 15px 30px rgba(255, 20, 147, 0.3);
}

.carousel-nav-btn.prev-btn { left: -15px; }
.carousel-nav-btn.next-btn { right: -15px; }

/* --- TESTIMONIAL TRACK & CARDS --- */
.testimonial-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 2rem 1rem 4rem 1rem; 
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none; 
    -ms-overflow-style: none;  
}

.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial-card {
    background: var(--brand-orange, #ff5e00) !important;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0.5;
    transform: scale(0.85);
}

.testimonial-card:nth-child(even) { animation-delay: -3s; }

.testimonial-card:hover {
    border-color: rgba(255, 20, 147, 0.8); 
}

.testimonial-card.is-center {
    opacity: 1;
    transform: scale(1) translateY(-10px);
    box-shadow: 0 25px 50px rgba(255, 94, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.6) !important;
}

/* Card Typography & Layout */
.quote-icon-bg {
    position: absolute;
    top: -10px; 
    right: 20px;
    font-family: var(--font-display, sans-serif);
    font-size: clamp(6rem, 10vw, 8rem); /* Responsive sizing */
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    transition: color 0.4s ease;
    pointer-events: none;
}

.testimonial-card:hover .quote-icon-bg { color: rgba(255, 20, 147, 0.08); }

.testimonial-card > * { position: relative; z-index: 1; }

.stars {
    color: #ffffff; /* Unified star color */
    margin-bottom: 24px;
    font-size: 0.85rem;
    letter-spacing: 3px;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95) !important;
    flex-grow: 1;
}

.testimonial-text strong {
    font-weight: 700;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2);
    padding: 0 6px;
    border-radius: 4px;
    border-bottom: 1px solid var(--brand-pink, #ff1493);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.client-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--brand-pink, #ff1493), var(--brand-orange, #ff5e00));
}

.client-info h6 {
    color: #ffffff !important;
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 700;
}

.client-info small {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* --- IMAGE & LOGO VISIBILITY (REMOVED THEME TOGGLES) --- */
.brand-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-dark, .img-dark, .theme-img-dark {
    display: block !important;
    opacity: 1 !important;
}

.logo-light, .img-light, .theme-img-light {
    display: none !important; /* Permanently hide light assets */
}

/* --- GLOBAL SCROLL & BACKGROUND --- */
html {
    scroll-behavior: smooth;
}

html, body {
    background-color: #000000 !important;
    color: #e6e6e6 !important;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* --- IMPACT STORY TESTIMONIAL --- */
.vf-impact-section {
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.vf-impact-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column; 
    position: relative;
}

.vf-impact-visual {
    width: 100%;
    aspect-ratio: 16 / 9; 
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Integrated dark mode shadow */
    z-index: 1;
}

.vf-impact-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    display: block;
}

.vf-impact-card {
    background: var(--bg-body);
    border-radius: 16px;
    padding: 2.5rem 1.5rem; 
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px var(--nav-mobile-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Adjusted for dark mode */
    margin-top: -3rem; 
    margin-left: 1rem;
    margin-right: 1rem;
}

.vf-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--vf-grad);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.vf-quote-icon {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 0;
    display: block;
    margin-bottom: 1.5rem;
    background: var(--vf-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vf-impact-headline {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.vf-impact-body p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.vf-impact-body strong {
    color: var(--text-main);
}

.vf-impact-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vf-metric {
    flex: 1;
    min-width: 80px; 
}

.vf-metric-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--brand-orange);
    line-height: 1;
    margin-bottom: 0.25rem;
    font-weight: bold;
}

.vf-metric-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-main);
    letter-spacing: 0.5px;
    line-height: 1.2;
    opacity: 0.8;
    display: block;
}

.vf-impact-author {
    margin-top: 1rem;
}

.vf-author-name {
    font-size: 1.1rem;
    color: var(--text-main);
    margin: 0 0 0.25rem 0;
}

.vf-author-title {
    font-size: 0.8rem;
    color: var(--brand-pink);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-weight: 600;
}

/* =========================================================
   RESPONSIVE DESIGN CONSOLIDATION
   ========================================================= */

/* Mobile / Small Screens */
@media (max-width: 767px) {
    .testimonial-track {
        flex-direction: column;
        gap: 24px;
        overflow: visible;  
        padding: 0;          
    }

    .testimonial-card {
        opacity: 1 !important;
        transform: none !important;
        flex: 1 1 auto;      
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

    .carousel-nav-btn {
        display: none !important;
    }

    .vf-logo-item-v4 img {
        filter: invert(1) brightness(2);
        transform: none;
    }
    
    .vf-svc-card-v4.revealed {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }
    
    .vf-svc-card-v4.revealed .vf-svc-btn-v4 {
        color: #ec008c;
    }
}

/* Desktop Snapping for Testimonials */
@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 380px;
        scroll-snap-align: center; 
    }
}

/* Tablet & Landscape Optimization */
@media (max-width: 1023px) and (orientation: landscape), (min-width: 768px) {
    .vf-impact-section {
        padding: 4rem 2rem;
    }

    .vf-impact-container {
        flex-direction: row; 
        align-items: center;
    }

    .vf-impact-visual {
        flex: 0 0 45%;
        height: 100%;
        min-height: 350px;
        aspect-ratio: auto;
    }

    .vf-impact-card {
        flex: 0 0 65%;
        margin-top: 0;
        margin-left: -10%; 
        padding: 3rem 2rem;
    }
}

/* Large Desktops Optimization */
@media (min-width: 1024px) {
    .vf-impact-section {
        padding: 6rem 2rem;
    }

    .vf-impact-container {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        align-items: center;
    }

    .vf-impact-visual {
        grid-column: 1 / 8;
        grid-row: 1;
        height: 100%;
        min-height: 500px;
    }

    .vf-impact-card {
        grid-column: 6 / 13;
        grid-row: 1;
        margin: 0; 
        padding: 4rem;
        transform: translateY(20px); 
    }

    .vf-impact-headline {
        font-size: 1.75rem;
    }

    .vf-metric-number {
        font-size: 2rem;
    }
}