/* --- 1. THEME VARIABLES --- */
:root {
    /* Brand Identity Colors */
    --brand-navy: #022e47;
    --brand-cream: #FAF8F1;
    --brand-orange: #f68f1d;
    --brand-pink: #ea3b60;
    --brand-yellow: #ffff00;
    
    /* Permanent DARK Theme Mapping */
    --bg-body: #011a2a; 
    --text-main: #e6e6e6;
    --text-muted: rgba(255, 255, 255, 0.6);
    --nav-bg-scrolled: rgba(1, 26, 42, 0.95);
    --nav-mobile-bg: #022e47;
    --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;

    /* Card Configurations */
    --card-bg: var(--brand-navy);
    --card-text: #ffffff;
    --card-text-muted: rgba(255, 255, 255, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-hover-border: rgba(255, 255, 255, 0.4);
    --card-avatar-border: #ffffff;
    --card-watermark: rgba(255, 255, 255, 0.05);
    --card-highlight: rgba(255, 255, 255, 0.12);
    --card-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    --card-shadow-center: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* --- 2. GLOBAL STYLES --- */
body {
    background-color: var(--bg-body);
    font-family: var(--font-body);
    color: var(--text-main);
    overflow-x: hidden;
}

.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); }
}

/* Ensure cards stretch properly in Bootstrap rows */
.premium-overlay-card {
    min-height: 340px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background-color: #000; 
}

.premium-overlay-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important;
}

/* Background image styling */
.premium-bg-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.premium-overlay-card:hover .premium-bg-img {
    transform: scale(1.05); 
}

/* Gradient overlay so white text is always readable */
.premium-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

/* Large aesthetic outline numbers */
.premium-num {
    font-size: 3.5rem;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4);
    line-height: 1;
    font-family: var(--font-display, sans-serif); 
}

/* Description styling */
.premium-desc {
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85) !important;
}
    
/* --- Dynamic Hero Image Frame --- */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dynamic-blob-frame {
    position: relative;
    width: 100%;
    height: 150%;
    overflow: hidden;
    z-index: 2;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphing-blob 8s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.blob-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* A gradient decoration behind the frame to make the shape pop */
.blob-decoration {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: linear-gradient(135deg, var(--vf-pink, #ff2a70), #ff7a00);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    opacity: 0.3;
    animation: morphing-blob-reverse 10s ease-in-out infinite;
    filter: blur(15px);
}

@keyframes morphing-blob {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes morphing-blob-reverse {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}
    
/* --- HERO PRIMARY BUTTON --- */
.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); 
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(234, 59, 96, 0.4); 
}

/* --- HERO SECONDARY BUTTON (Outline) --- */
.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);
}

.btn-outline-glow:hover {
    background: #f68f1d;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(246, 143, 29, 0.4);
}
    
/* --- Background Glows --- */
.hero-glow-1, .hero-glow-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.15;
}
.hero-glow-1 {
    top: -10%; left: -5%; width: 400px; height: 400px;
    background: var(--vf-pink, #ff2a70);
}
.hero-glow-2 {
    bottom: -10%; right: -5%; width: 300px; height: 300px;
    background: #ff7a00;
}

/* --- Pulse Indicator --- */
.status-dot {
    width: 10px; height: 10px;
    background-color: #00ff88;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(0, 255, 136, 0.7);
    animation: status-pulse 2s infinite;
}
@keyframes status-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* --- DYNAMIC THEME TEXT --- */
.theme-text-dynamic {
    color: rgba(255, 255, 255, 0.7); /* Directly mapped to soft white */
}

/* --- Floating Glassmorphism Cards --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.floating-card {
    position: absolute;
    z-index: 5;
    padding: 12px 18px;
    animation: float 20s ease-in-out infinite;
}

.card-top-right {
    top: 5%; right: -15%;
    display: flex; align-items: center; gap: 15px;
    animation-delay: 0s;
}

.card-top-right .stat-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 42, 112, 0.2);
    color: var(--vf-pink, #ff2a70);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}

.card-bottom-left {
    bottom: 15%; left: -10%;
    padding: 10px 20px;
    border-radius: 30px;
    animation-delay: 2s; 
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Ensure the wrapper doesn't crop the floating elements out on mobile */
@media (max-width: 991px) {
    .card-top-right { right: -5%; top: -5%; }
    .card-bottom-left { left: 0%; bottom: 5%; }
}
    
/* --- 7. HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    z-index: 2; 
}

/* "EST. 2017" Badge */
.hero-badge {
    display: inline-block;
    font-family: var(--font-display);
    color: var(--text-main); 
    letter-spacing: 3px;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(246, 143, 29, 0.1); 
    border: 1px solid rgba(246, 143, 29, 0.3);
    backdrop-filter: blur(5px);
}

/* Massive, Bold Display Typography */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem); 
    line-height: 0.8;
    letter-spacing: -0.01em; 
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--text-main);
    text-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
    
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 5rem); 
    line-height: 0.9; 
    letter-spacing: 0.03em; 
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--text-main);
    text-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Lead Text */
.hero-lead {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
}

/* Outline Button */
.btn-modern-outline {
    border: 2px solid var(--text-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-modern-outline:hover {
    background: var(--text-main);
    color: var(--bg-body);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- HORIZONTAL SCROLL GALLERY --- */
.horizontal-scroll-section {
    height: 300vh; 
    position: relative;
    background: transparent;
    z-index: 10;
}

.horizontal-sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Moving Track */
.horizontal-track {
    display: flex;
    gap: 8vw; 
    padding: 0 10vw; 
    width: max-content;
    will-change: transform; 
    align-items: center;
}

/* Title Slide */
.gallery-title-slide {
    width: 40vw;
    min-width: 400px;
    flex-shrink: 0;
}

/* Exhibit Slides */
.gallery-slide {
    width: 55vw; 
    max-width: 800px;
    min-width: 350px;
    height: 65vh;
    position: relative;
    flex-shrink: 0;
}

/* The Overlapping Plaque */
.gallery-plaque {
    position: absolute;
    bottom: -2rem; 
    left: -3rem; 
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    width: 80%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 5;
    border-radius: 24px;
}

/* Unified Frame Structure */
.gallery-card {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    padding: 1.5rem; 
    background: #1a1a1a; /* Crisp dark border-matting style */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px; 
}

/* Inner wrapper for sharp image corners */
.gallery-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 20px; 
}

/* Image scaling */
.gallery-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-slide:hover .gallery-img {
    transform: scale(1.05); 
}
    
/* --- Gallery Section Sub-Text --- */
.gal-sub-text {
    font-family: var(--font-body); 
    font-size: 1.1rem;
    font-weight: 600 !important; 
    line-height: 0.7 !important; 
    max-width: 400px;
}

/* --- THE SERVICE BUTTON --- */
.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 2rem;
    padding: 12px 28px;
    border: 1px solid var(--brand-orange);
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 50px;
}

.service-btn i {
    transition: transform 0.4s ease;
}

.service-btn:hover i {
    transform: translateX(4px); 
}

/* --- HIGHLIGHT REEL: STICKY WALLET STACK --- */
.works-stack-section {
    position: relative;
    z-index: 10;
}

.card-stack-container {
    position: relative;
    padding-bottom: 10vh; 
}

.stacked-card {
    position: sticky;
    top: calc(12vh + (var(--card-index) * 20px)); 
    height: 75vh;
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 15vh; 
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-origin: top center;
    background: #111;
}

.stacked-card:nth-child(1) { z-index: 1; }
.stacked-card:nth-child(2) { z-index: 2; }
.stacked-card:nth-child(3) { z-index: 3; }
.stacked-card:nth-child(4) { z-index: 4; }

.stacked-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stacked-card:hover .stacked-img {
    transform: scale(1.05);
}

		.stacked-overlay {
			position: absolute;
			inset: 0;
			background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.95) 100%);
			display: flex;
			flex-direction: column;
			justify-content: flex-end;
			padding: 3rem;
		}

		.stacked-category {
			display: inline-block;
			padding: 8px 18px;
			background: var(--brand-orange, #ff5e00);
			color: white;
			font-size: 0.8rem;
			font-weight: 700;
			letter-spacing: 2px;
			text-transform: uppercase;
			border-radius: 50px;
			margin-bottom: 1rem;
			align-self: flex-start;
		}

		.stacked-title {
			font-family: var(--font-display);
			font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive fluid typography */
			color: white;
			line-height: 1;
			margin-bottom: 1rem;
			text-transform: uppercase;
		}

		.stacked-desc {
			color: rgba(255, 255, 255, 0.8);
			font-size: 1.1rem;
			max-width: 600px;
			margin-bottom: 2rem;
			line-height: 1.6;
		}

		.stacked-footer {
			display: flex;
			justify-content: space-between;
			align-items: center;
			border-top: 1px solid rgba(255,255,255,0.1);
			padding-top: 1.5rem;
		}

		.stacked-btn {
			color: white;
			text-decoration: none;
			font-size: 0.9rem;
			font-weight: 600;
			text-transform: uppercase;
			letter-spacing: 1px;
			display: inline-flex;
			align-items: center;
			gap: 10px;
			transition: color 0.3s ease;
		}

		.stacked-btn:hover {
			color: var(--brand-pink, #ff1493);
		}

		.stacked-btn i {
			background: white;
			color: black;
			width: 35px;
			height: 35px;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			border-radius: 50%;
			transition: transform 0.3s ease, background 0.3s ease;
		}

		.stacked-btn:hover i {
			transform: rotate(-45deg);
			background: var(--brand-pink, #ff1493);
			color: white;
		}

			@media (max-width: 768px) {
				.stacked-overlay { padding: 2rem; }
				.stacked-card { height: 60vh; }
			}
			

		/* --- VOICES OF IMPACT: COMPLETE SCROLL SNAP CAROUSEL --- */
		.testimonials-section {
			position: relative;
			overflow: hidden;
		}

		/* Ambient Background Glow */
		.testimonials-glow {
			position: absolute;
			top: 50%; left: 50%;
			transform: translate(-50%, -50%);
			width: 60vw; height: 60vh;
			background: radial-gradient(circle, rgba(255, 20, 147, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
			z-index: 0;
			pointer-events: none;
		}

		/* The 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); /* Brand pink border */
			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);
		}

		/* Pin to the far edges */
		.carousel-nav-btn.prev-btn { left: -15px; }
		.carousel-nav-btn.next-btn { right: -15px; }

		/* The Scrollable Track */
		.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; /* Smooth iOS scrolling */
			scrollbar-width: none; 
			-ms-overflow-style: none;  
		}

		.testimonial-track::-webkit-scrollbar { display: none; }

		/* Individual Cards inside the track */
.testimonial-card {
    background: var(--card-bg) !important;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--card-border) !important;
    box-shadow: var(--card-shadow) !important; 
    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 .quote-icon-bg {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 140px;
    font-family: var(--font-display, sans-serif);
    color: var(--card-watermark) !important;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.testimonial-card > * {
    position: relative;
    z-index: 1;
}

.testimonial-card .stars {
    color: var(--brand-yellow, #ffff00) !important;
    margin-bottom: 24px;
    font-size: 0.85rem;
    letter-spacing: 3px;
}

.testimonial-card .testimonial-text {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--card-text) !important;
}

.testimonial-card .testimonial-text strong {
    font-weight: 700;
    color: var(--card-text) !important;
    background: var(--card-highlight) !important;
    padding: 0 6px;
    border-radius: 4px;
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--card-border) !important;
}

.testimonial-card .client-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--card-avatar-border) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.testimonial-card .client-info h6 {
    color: var(--card-text) !important;
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 700;
}

.testimonial-card .client-info small {
    color: var(--card-text-muted) !important;
}


/* ==========================================================================
   3. RESPONSIVE BEHAVIOR, CENTER MATRIX & HOVER EFFECTS
   ========================================================================== */

/* Ensure desktop snapping works beautifully with the center detection */
@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 380px;
        scroll-snap-align: center; 
    }
}

/* The active/centered card styling */
.testimonial-card.is-center {
    opacity: 1;
    transform: scale(1) translateY(-10px);
    box-shadow: var(--card-shadow-center) !important;
    border-color: var(--card-hover-border) !important;
}

/* Stagger animations so they bob up and down organically */
.testimonial-card:nth-child(even) { 
    animation-delay: -3s; 
}

/* Clean hover state */
.testimonial-card:hover {
    border-color: var(--card-hover-border) !important; 
    transform: translateY(-5px);
}

/* Nuclear fallback block to prevent slider scripts or generic theme overrides */
.testimonial-card {
    background: var(--card-bg) !important;
}

/* Typography & Layout inside the card */
.quote-icon-bg {
    position: absolute;
    top: -10px; right: 20px;
    font-family: var(--font-display, sans-serif);
    font-size: 8rem; line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    z-index: -1;
    transition: color 0.4s ease;
}

.testimonial-card:hover .quote-icon-bg { 
    color: rgba(255, 20, 147, 0.08); 
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem; 
    line-height: 1.7; 
    margin-bottom: 2rem; 
    flex-grow: 1;
}

.testimonial-text strong {
    color: white; 
    font-weight: 600; 
    border-bottom: 1px solid var(--brand-pink);
}

.client-info {
    display: flex; 
    align-items: center; 
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    padding-top: 1.5rem;
}

.client-avatar {
    width: 50px; height: 50px; 
    border-radius: 50%; 
    object-fit: cover;
    padding: 2px; 
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-orange));
}
        
/* --- SUBTEXT SEPARATOR --- */
/* Desktop: Vertical line on the left */
.subtext-separator {
    border-left: 3px solid var(--brand-pink);
    padding-left: 1.5rem;
}

/* Mobile: Switches to a horizontal line on the top */
@media (max-width: 767.98px) {
    .subtext-separator {
        border-left: none;
        border-top: 3px solid var(--brand-pink);
        padding-left: 0;
        padding-top: 1.5rem;
        margin-top: 1rem;
    }
}

/* --- INTERNSHIP CARD DECK SECTION --- */
.internship-section {
    padding: 100px 0;
    overflow: hidden; 
}

/* The Button Styling */
.btn-apply-big {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-orange));
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 20px rgba(255, 20, 147, 0.2);
}

.btn-apply-big:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 20, 147, 0.4);
    color: white;
}
        
.flex-cards-container {
    display: flex;
    gap: 15px;
    height: 400px; 
    width: 100%;
}

.flex-card {
    position: relative;
    flex: 1; 
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    transition: flex 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
}

/* Hover State: Panel expands rapidly */
.flex-card:hover, 
.flex-card.active {
    flex: 4; 
}

.flex-card-content {
    padding: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    min-width: 250px; 
}

.flex-card .card-num {
    font-family: var(--font-display); 
    font-size: 2rem;
    color: var(--brand-orange); 
    opacity: 0.8;
}

/* Hide the text info when panel is closed */
.flex-card .card-info {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    white-space: normal;
}

/* Reveal the text info when expanded */
.flex-card:hover .card-info, 
.flex-card.active .card-info {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s; 
}

.flex-card .card-head {
    font-family: var(--font-display); 
    font-size: 1.5rem;
    line-height: 1.1;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.flex-card .card-body-text {
    font-family: var(--font-body); 
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

/* Mobile Fallback: Stack them vertically on phones */
@media (max-width: 991.98px) {
    .flex-cards-container {
        flex-direction: column;
        height: 600px; 
    }
}

/* ==========================================================
   2. SWIPE-FILL INTERACTIVE BUTTON
   ========================================================== */
.btn-swipe-fill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 16px 40px;
    background: transparent;
    color: white !important; /* Forced dark mode default */
    font-family: var(--font-body); 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 2px solid var(--brand-pink); 
    border-radius: 100px;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease;
}

/* The hidden gradient background block */
.btn-swipe-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%; 
    height: 100%;
    background: linear-gradient(to right, var(--brand-orange) 0%, var(--brand-orange) 65%, var(--brand-pink) 100%);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

/* Hover Effect: Gradient sweeps across */
.btn-swipe-fill:hover {
    color: white !important;
    border-color: transparent; 
}

.btn-swipe-fill:hover::before {
    width: 100%; 
}

.btn-swipe-fill .btn-icon {
    transition: transform 0.4s ease;
}

.btn-swipe-fill:hover .btn-icon {
    transform: translateX(5px); 
}

/* --- THE STACK CONTAINER --- */
.stack-container {
    position: relative;
    width: 100%;
    max-width: 380px; 
    height: 500px; 
    margin: 0 auto;
    perspective: 1000px; 
    cursor: pointer;
}

/* Base Card Styling */
.stack-card {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease;
    transform-origin: bottom center; 
}

/* Background Image & Dark Overlay */
.card-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.card-bg-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.2) 40%, rgba(10,10,10,0.95) 100%);
}

/* Card Content Layout */
.card-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-head {
    font-family: var(--font-display, sans-serif);
    font-size: 2rem;
    line-height: 1.1;
    color: white;
    letter-spacing: 1px;
}

.card-body-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-top: auto; 
    margin-bottom: 1rem;
}

.card-num {
    font-family: var(--font-display, sans-serif);
    font-size: 4rem;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.1);
    align-self: flex-end;
}

/* --- THE STACK MECHANICS (Resting State) --- */
.card-1 { z-index: 3; transform: rotate(-3deg) translateY(0); }
.card-2 { z-index: 2; transform: rotate(2deg) translateX(10px) translateY(5px); }
.card-3 { z-index: 1; transform: rotate(6deg) translateX(20px) translateY(15px); }


/* --- THE HOVER SPREAD --- */
@media (min-width: 992px) {
    /* 1. Fan the deck out when the mouse enters the container */
    .stack-container:hover .card-1 {
        transform: translateX(-110px) rotate(-12deg) translateY(0px);
        box-shadow: -15px 15px 30px rgba(0, 0, 0, 0.5);
    }
    
    .stack-container:hover .card-2 {
        transform: translateX(0px) rotate(0deg) translateY(-20px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    }

    .stack-container:hover .card-3 {
        transform: translateX(110px) rotate(12deg) translateY(0px);
        box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.5);
    }

    /* 2. THE MAGIC: Pop up the specific card being hovered */
    .stack-container:hover .card-1:hover {
        transform: translateX(-110px) rotate(0deg) scale(1.08) translateY(-40px) !important;
        z-index: 10 !important;
        box-shadow: 0 30px 60px rgba(255, 20, 147, 0.3);
        border-color: var(--brand-pink);
    }

    .stack-container:hover .card-2:hover {
        transform: translateX(0px) rotate(0deg) scale(1.08) translateY(-50px) !important;
        z-index: 10 !important;
        box-shadow: 0 30px 60px rgba(255, 20, 147, 0.3);
        border-color: var(--brand-pink);
    }

    .stack-container:hover .card-3:hover {
        transform: translateX(110px) rotate(0deg) scale(1.08) translateY(-40px) !important;
        z-index: 10 !important;
        box-shadow: 0 30px 60px rgba(255, 20, 147, 0.3);
        border-color: var(--brand-pink);
    }
}

/* 1. TITLE STYLING */
.internship-title-tight {
    font-family: var(--font-display, 'Bakbak One', sans-serif);
    line-height: 0.9 !important; 
    letter-spacing: -0.001em;    
    text-transform: uppercase;
}

/* 2. SUB-TEXT STYLING */
.subtext-ultra-tight {
    font-family: var(--font-body, 'Work Sans', sans-serif);
    font-weight: 600 !important;   
    line-height: 1 !important;   
    font-size: 1.1rem;
    max-width: 500px;
}

/* 3. NEW BUTTON DESIGN: "The Career Launcher" */
.btn-apply-branded {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 10px 10px 10px 32px; 
    color: white !important;
    text-decoration: none;
    border-radius: 100px;
    font-family: var(--font-body, 'Work Sans', sans-serif);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    /* Forced dark mode styles */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-apply-branded .icon-circle {
    width: 45px;
    height: 45px;
    background: var(--vf-grad); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.btn-apply-branded:hover {
    background: rgba(255, 255, 255, 0.15); /* Slightly lighter on hover in dark mode */
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.btn-apply-branded:hover .icon-circle {
    transform: rotate(-45deg);
}

/* --- BRAND LOGO THEME ADAPTATION --- */
.brand-logo {
    height: 70px; 
    width: auto;
    object-fit: contain;
}

/* Dark Mode Only Settings */
.logo-light {
    display: none;
}

.logo-dark {
    display: block;
}

@media (max-width: 991px) {
    /* Allow native horizontal swiping on mobile */
    .horizontal-sticky-container {
        position: relative !important;
        height: auto !important;
    }
    
    .horizontal-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 2rem;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
    }
    
    .gallery-slide {
        scroll-snap-align: center;
        flex: 0 0 85vw; 
        margin-right: 0 !important;
    }
}

/* ==========================================================
   1. STATIC DETAIL CARDS (Left Side)
   ========================================================== */
.static-detail-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #022e47; /* Fallback color */
    flex: 1; /* Ensures all 3 cards stretch to fill the column equally */
    display: flex;
    align-items: center;
    min-height: 140px; /* Base height for horizontal layout */
}

/* Image background locked at 30% opacity so text is readable */
.static-detail-card .card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.25; 
    z-index: 1;
}

.static-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px 30px;
    width: 100%;
    color: white;
}

.card-num-large {
    font-family: var(--font-display); /* Bakbak One */
    font-size: 3.5rem;
    color: #f68f1d; /* Verafede Orange */
    line-height: 1;
}

.card-text-block {
    flex: 1;
}

.card-title-tight {
    font-family: var(--font-display);
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    line-height: 1.1;
    letter-spacing: 1px;
}

.card-desc-clean {
    font-family: var(--font-body); /* Work Sans */
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}

/* ==========================================================
   2. FADED IMAGE FEATURE CARDS (Left Side)
   ========================================================== */
.faded-image-card {
    background-color: white; /* Light mode default */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Soft aesthetic shadow */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Dark Mode Adaptation */
[data-theme="dark"] .faded-image-card {
    background-color: #041f2e; /* Slightly lighter navy than main background */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* The Image Wrapper with the Aesthetic Fade Mask */
.image-wrapper-faded {
    position: relative;
    width: 100%;
    height: 180px; /* Static height for consistency */
    overflow: hidden;
    
    /* THE MAGIC FADE (Adjust the % to control the spread) */
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 60%);
    mask-image: linear-gradient(to top, transparent 0%, black 60%);
}

.image-wrapper-faded img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Optional: Slight image zoom on card hover to feel alive */
.faded-image-card:hover .image-wrapper-faded img {
    transform: scale(1.05);
}

.card-content-faded {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-num-aesthetic {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: #f68f1d;
    line-height: 1;
    margin-bottom: 10px;
    opacity: 0.8;
}

.card-title-faded {
    font-family: var(--font-display);
    font-size: 1.15rem;
    text-transform: uppercase;
    color: #022e47; /* Verafede Navy (light mode) */
    margin-bottom: 8px;
    line-height: 1.1;
    letter-spacing: 1px;
}

[data-theme="dark"] .card-title-faded {
    color: white;
}

.card-desc-faded {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.4;
    color: #4a5a6b; /* Muted text */
    margin: 0;
    font-weight: 500;
}

[data-theme="dark"] .card-desc-faded {
    color: rgba(255,255,255,0.7);
}

/* ==========================================================
   3. REQUIREMENT PILL (Card 03)
   ========================================================== */
.aesthetic-pill {
    background-color: rgba(246, 143, 29, 0.1); /* Soft orange background */
    color: #f68f1d; /* Verafede Orange text */
    border: 1px solid rgba(246, 143, 29, 0.3);
    padding: 6px 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

/* Dark mode adaptation (Optional, if you want it to pop more on dark backgrounds) */
[data-theme="dark"] .aesthetic-pill {
    background-color: rgba(246, 143, 29, 0.15);
    border-color: rgba(246, 143, 29, 0.4);
}

/* ==========================================================
   4. THE AESTHETIC SUPER BUTTON (Right Side UI)
   ========================================================== */
.super-button-card {
    background: #021a29; /* Very deep, rich navy */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-decoration: none;
    overflow: hidden; /* Keeps the glow inside */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* The Ambient Glow Effect */
.aesthetic-glow-orb {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(234, 59, 96, 0.25) 0%, rgba(2, 26, 41, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Top UI: Micro Label & Pulse */
.micro-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #f68f1d; /* Orange indicator */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(246, 143, 29, 0.7);
    animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(246, 143, 29, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(246, 143, 29, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(246, 143, 29, 0); }
}

/* Middle UI: Typography Art */
.aesthetic-headline {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 0.9;
    color: white;
    letter-spacing: -1px;
}

/* The Hollow Text Effect */
.text-outline-hover {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
}

.aesthetic-subtext {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    max-width: 90%;
}

/* Bottom UI: Sleek Action Bar */
.action-text-bold {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.aesthetic-arrow-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    backdrop-filter: blur(5px); /* Glassmorphism touch */
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ==========================================================
   THE HOVER INTERACTIONS (Brings it to life)
   ========================================================== */
.super-button-card:hover {
    transform: translateY(-8px);
    border-color: rgba(234, 59, 96, 0.3); /* Soft pink border */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(234, 59, 96, 0.1);
}

/* Orb swells and brightens */
.super-button-card:hover .aesthetic-glow-orb {
    transform: scale(1.5);
    background: radial-gradient(circle, rgba(234, 59, 96, 0.4) 0%, rgba(2, 26, 41, 0) 70%);
}

/* Hollow text fills with gradient */
.super-button-card:hover .text-outline-hover {
    color: #ea3b60; /* Fills in Pink */
    -webkit-text-stroke: 1.5px #ea3b60;
}

/* Arrow box highlights and shoots forward */
.super-button-card:hover .aesthetic-arrow-box {
    background: white;
    color: #ea3b60;
    transform: rotate(-45deg) scale(1.1);
    border-color: white;
}

/* FADED IMAGE BACKGROUND FOR SUPER BUTTON */
.button-bg-faded {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Fades the image out as it goes down, blending into the dark navy */
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
    mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
    opacity: 0.35; /* Keeps the background dark enough for text readability */
    transition: opacity 0.5s ease;
    pointer-events: none; /* Prevents the image from interfering with clicks */
}

.button-bg-faded img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Enhancing the hover state to make the image react */
.super-button-card:hover .button-bg-faded {
    opacity: 0.6; /* Image brightens slightly on hover */
}

.super-button-card:hover .button-bg-faded img {
    transform: scale(1.08); /* Slow, premium zoom effect */
}

/* ==========================================================
   5. MOBILE RESPONSIVENESS & LAYOUT REFINEMENTS
   ========================================================== */

/* Tablet & Smaller Laptops */
@media (max-width: 1199.98px) {
    .aesthetic-headline { font-size: 3.2rem; }
}

@media (max-width: 991.98px) {
    /* Super Button drops below the 3 feature cards */
    .super-button-card { 
        min-height: 400px; 
        padding: 40px !important; 
    }
    
    .landscape-hero-wrapper {
        height: 300px;
    }

    /* Reveal hidden elements immediately */
    .partners-title-wrapper,
    [style*="opacity: 0"] {
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Horizontal Scroll Section Reset */
    .horizontal-sticky-container {
        height: auto !important;
        position: relative !important;
    }
    
    .horizontal-track {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        transform: none !important;
        gap: 2rem;
    }
    
    .gallery-title-slide, 
    .gallery-slide {
        width: 100% !important;
        margin-right: 0 !important;
        padding-right: 0 !important;
    }

    /* Mobile Gallery Card Fix */
    .gallery-slide {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .gallery-card {
        width: 100% !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .gallery-plaque {
        position: relative !important;
        width: 90% !important; 
        margin-top: -40px !important; 
        z-index: 2 !important; 
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        padding: 2rem !important;
    }

    /* Highlight Reel Stack Reset */
    .card-stack-container {
        height: auto !important;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .stacked-card {
        position: relative !important;
        top: auto !important;
        transform: none !important;
        opacity: 1 !important;
        margin-bottom: 0 !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        min-height: 420px !important;
    }

    .stacked-overlay {
        padding: 1.5rem !important; 
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
    }

    .stacked-card .stacked-title {
        font-size: 1.75rem !important; 
        line-height: 1.2 !important;
        margin-bottom: 0.5rem !important;
    }
    .stacked-card .stacked-title br {
        display: none !important;
    }
    .stacked-card .stacked-desc {
        font-size: 1rem !important; 
        line-height: 1.5 !important;
        margin-bottom: 0 !important;
    }
    .stacked-card .stacked-footer {
        margin-top: 1.5rem !important;
        align-items: center !important;
    }
    .stacked-card .stacked-btn {
        font-size: 1rem !important; 
    }
    .stacked-card .stacked-btn i {
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        font-size: 1rem !important;
        padding: 0 !important;
        margin-left: 0.5rem !important;
    }

    /* Internship Card Stack Reset */
    .internship-section .stack-container {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        margin-top: 2.5rem;
    }
    
    .internship-section .stack-card {
        position: relative !important;
        width: 100% !important;
        top: auto !important;
        transform: none !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: 250px !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .internship-section .col-lg-6 {
        text-align: center !important;
        margin-bottom: 3rem !important;
    }

    .internship-section .headline-spicy {
        font-size: clamp(2.5rem, 8vw, 3rem) !important;
        line-height: 1.1 !important;
    }
    .internship-section .headline-spicy br {
        display: none !important; 
    }

    .internship-section .subtitle-text {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .internship-section .btn-apply-big {
        margin-top: 1rem !important;
    }

    .internship-section .card-content-wrapper {
        padding: 1.5rem !important;
    }
    .internship-section .card-body-text {
        opacity: 1 !important; 
        transform: none !important;
        display: block !important;
        margin-top: 1rem !important;
        font-size: 0.95rem !important;
    }
    .internship-section .card-num {
        position: relative !important;
        margin-top: 1rem !important;
    }

    /* Carousel / Testimonial Overrides */
    .carousel-wrapper {
        display: block !important;
        height: auto !important;
        overflow: hidden !important;
    }

    .testimonial-track {
        display: block !important;
        width: 100% !important;
        transform: none !important; 
    }

    .testimonial-card {
        display: block !important;
        width: 100% !important;
        margin-bottom: 1.5rem !important; 
        opacity: 1 !important; 
        position: relative !important;
        left: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    /* Mobile Full-Width Button Fix */
    a[class*="btn"]:not(.stack-card a):not(.stacked-card a):not(.gallery-slide a):not(.testimonial-card a) {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Mobile Hero Section Cleanup */
    .hero-section .col-lg-7 {
        text-align: center !important;
        padding-top: 2rem !important;
    }
    .hero-section .mb-4.d-flex {
        justify-content: center !important;
    }
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
        line-height: 1.1 !important;
    }
    .hero-title br {
        display: none !important; 
    }
    .hero-lead {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .hero-section .d-flex.flex-wrap.gap-3 {
        flex-direction: column !important;
        width: 100% !important;
        gap: 1rem !important;
    }
    .hero-section .d-flex.flex-wrap.gap-3 a {
        width: 100% !important; 
        margin: 0 !important;
    }
    .hero-image-wrapper {
        max-width: 100vw !important;
        margin-top: 1rem !important;
        transform: scale(0.9) !important; 
    }
    .floating-card {
        transform: scale(0.85) !important; 
    }
    .card-top-right {
        top: -10px !important;
        right: 0 !important;
    }
    .card-bottom-left {
        bottom: -10px !important;
        left: 0 !important;
    }

    /* Mobile Highlight Reel Cleanup */
    .works-stack-section .row.mb-5 {
        text-align: center !important;
        display: flex;
        flex-direction: column;
    }
    .works-stack-section .badge {
        margin-left: auto;
        margin-right: auto;
        display: inline-flex;
    }
    .headline-spicy {
        font-size: clamp(2.5rem, 8vw, 3rem) !important;
        line-height: 1.1 !important;
    }
    .headline-spicy br {
        display: none !important;
    }
    .works-stack-section .col-lg-4 {
        margin-top: 1.5rem !important;
        text-align: center !important;
        width: 100% !important;
    }
    .works-stack-section .btn-pulse {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
}

/* Mobile Phones */
@media (max-width: 767.98px) {
    .display-3.headline-spicy { font-size: 2.8rem !important; }
    .aesthetic-headline { font-size: 2.5rem; line-height: 1; }
    
    .image-wrapper-faded { 
        height: 140px; 
    }
    .card-content-faded { 
        padding: 20px 15px; 
    }
    .card-num-aesthetic { 
        font-size: 1.8rem; 
    }
    .card-title-faded { 
        font-size: 1.1rem; 
    }
    
    .super-button-card { 
        padding: 30px 20px !important; 
        min-height: 350px; 
    }
    .aesthetic-glow-orb {
        width: 150px; 
        height: 150px;
    }
    
    .action-text-bold { 
        font-size: 1rem; 
    }
    .aesthetic-arrow-box { 
        width: 45px; 
        height: 45px; 
        font-size: 1rem; 
    }

    .landscape-hero-wrapper {
        height: 220px; 
    }
    
    .brand-content-bg {
        padding: 50px 0 30px 0;
    }
    .marquee-item {
        padding: 0 40px;
    }
    .marquee-item .brand-logo {
        height: 110px; 
    }
    .is-clone {
        display: none !important;
    }
}

/* Extra Small Phones */
@media (max-width: 575.98px) {
    .display-3.headline-spicy { font-size: 2.3rem !important; }
    .aesthetic-headline { font-size: 2.2rem; }
}

/* ==========================================================
   6. GLOBAL COMPONENT REFINEMENTS
   ========================================================== */

.landscape-hero-wrapper {
    width: 100%;
    height: auto; 
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); 
}

.landscape-hero-wrapper img {
    width: 100%; 
    height: auto; 
    display: block; 
}

[data-theme="dark"] .landscape-hero-wrapper {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Brand Logo Theme Adaptation */
.brand-logo {
    height: 70px; 
    width: auto;
    object-fit: contain;
}

.logo-light {
    display: block;
}
.logo-dark {
    display: none;
}

html[data-theme="dark"] .logo-light {
    display: none;
}
html[data-theme="dark"] .logo-dark {
    display: block;
}

/* Global Section Subtitle Rule */
.hero-lead,
.partners-title-wrapper p,
.gallery-title-slide p,
.testimonials-section > .container > div:first-child p,
.internship-section .subtitle-text {
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    font-size: 1.1rem !important; 
    line-height: 1.4 !important;  
}

/* --- BRAND PARTNERS WRAPPER --- */
.brand-partners-wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    padding: 0; 
    margin: 40px 0; 
}

.brand-separator {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 5;
    margin: -1px 0; 
}

/* Marquee Container & Track */
.logo-marquee-container {
    width: 100%;
    position: relative;
    padding: 20px 0; 
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-marquee-track {
    display: flex;
    align-items: center;
    width: max-content; 
    animation: marqueeSlide 60s linear infinite; 
}

.logo-marquee-track:hover {
    animation-play-state: paused;
}

/* Individual Logos */
.marquee-item {
    padding: 0 70px; 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Light Mode */
.marquee-item .brand-logo {
    height: 200px; 
    width: auto;
    object-fit: contain;
    filter: brightness(0) !important; 
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.marquee-item:hover .brand-logo {
    opacity: 1; 
    transform: scale(1.15); 
    filter: brightness(0) drop-shadow(0px 0px 20px rgba(255, 107, 0, 0.9)) !important; 
}

/* Dark Mode Overrides */
.dark-mode .marquee-item .brand-logo,
[data-theme="dark"] .marquee-item .brand-logo,
[data-bs-theme="dark"] .marquee-item .brand-logo {
    filter: brightness(0) invert(1) !important; 
    opacity: 1;
}

.dark-mode .marquee-item:hover .brand-logo,
[data-theme="dark"] .marquee-item:hover .brand-logo,
[data-bs-theme="dark"] .marquee-item:hover .brand-logo {
    opacity: 1;
    transform: scale(1.15);
    filter: brightness(0) invert(1) drop-shadow(0px 0px 30px rgba(255, 107, 0, 0.9)) drop-shadow(0px 0px 10px rgba(255, 165, 0, 0.6)) !important; 
}

@keyframes marqueeSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- DEVICE MOCKUPS --- */
.hero-image-wrapper {
    position: relative;
    max-width: 320px; 
    margin: 0 auto;
}

.vf-phone-mockup {
    width: 100%;
    position: relative;
    z-index: 1;
}

.phone-bezel {
    position: relative;
    width: 100%;
    padding-top: 177.77%; 
    background: #111; 
    border-radius: 36px;
    box-shadow: 
        0 0 0 3px #333, 
        0 15px 50px rgba(0,0,0,0.5); 
    overflow: hidden;
    border: 8px solid #111; 
}

.phone-screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    background: #000;
    overflow: hidden;
}

.ig-video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    object-fit: cover; 
}

/* Repositioning your floating cards to fit the taller phone profile */
.card-top-right {
    top: 10% !important; 
    right: -20% !important; 
}

.card-bottom-left {
    bottom: 15% !important; 
    left: -20% !important; 
}

/* Verafede 10th anniversary asset handling */
.verafede-10th {
    z-index: 0; 
}

.iphone-frame {
  position: relative;
  display: inline-block;  
  border: 10px solid #000; 
  border-radius: 60px;
  background: #000;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
  transform: scale(1.2);  
  transform-origin: center; 
}

.iphone-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 8px;
  background: #222;
  border-radius: 4px;
}

/* Secondary Fade Styles */
.fade-left-to-right {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
    mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

.hero-img-cover {
    object-fit: cover; 
    width: 100%;
    height: 100%;
}

@media (min-width: 992px) {
    .hero-right-bleed {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 50vw; 
        z-index: 1;
    }
}

/* --- OBB INTRO OVERLAY STYLES --- */
.hero-obb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #022E47; 
    z-index: 99; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.obb-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.hero-obb-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* --- TEXT REVEAL POP-UP TIMING --- */
.hero-reveal-container {
    opacity: 0;
    transform: translateY(40px); 
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-reveal-container.is-visible {
    opacity: 1;
    transform: translateY(0); 
}

/* --- GEOMETRIC CARD BACKGROUNDS --- */
.geo-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.premium-overlay-card:hover .geo-pattern {
    transform: scale(1.08);
}

.premium-overlay {
    z-index: 2;
    background: linear-gradient(to top, rgba(2, 46, 71, 0.9) 0%, rgba(2, 46, 71, 0.2) 100%);
}

/* CARD 1: Dynamic Angles */
.geo-pattern-1 {
    background-color: var(--brand-navy);
    background-image: 
        linear-gradient(45deg, rgba(246, 143, 29, 0.05) 25%, transparent 25%, transparent 75%, rgba(246, 143, 29, 0.05) 75%, rgba(246, 143, 29, 0.05)),
        linear-gradient(-45deg, rgba(246, 143, 29, 0.05) 25%, transparent 25%, transparent 75%, rgba(246, 143, 29, 0.05) 75%, rgba(246, 143, 29, 0.05));
    background-size: 60px 60px;
}

.geo-pattern-1::before {
    content: "";
    position: absolute;
    top: 0; right: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(246, 143, 29, 0.25) 0%, transparent 60%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

/* CARD 2: Structural Grid */
.geo-pattern-2 {
    background-color: var(--brand-navy);
    background-image: 
        linear-gradient(rgba(250, 248, 241, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(250, 248, 241, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center center;
}

.geo-pattern-2::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(234, 59, 96, 0.25), transparent);
}

/* CARD 3: Interconnected Nodes */
.geo-pattern-3 {
    background-color: var(--brand-navy);
    background-image: radial-gradient(rgba(234, 59, 96, 0.25) 2px, transparent 2px);
    background-size: 24px 24px;
}

.geo-pattern-3::before {
    content: "";
    position: absolute;
    top: -20%; left: -20%; width: 140%; height: 140%;
    background: radial-gradient(circle at 80% 20%, rgba(246, 143, 29, 0.3) 0%, transparent 50%);
}