/* --- 1. THEME VARIABLES (Dark Mode Default) --- */
:root {
    /* Brand Identity Colors */
    --brand-navy: #022e47;
    --brand-cream: #FAF8F1;
    --brand-orange: #f68f1d;
    --brand-pink: #ea3b60;
    
    /* Fixed Dark Theme Mapping */
    --bg-body: #000000; 
    --text-main: #e6e6e6;
    --text-muted: rgba(255, 255, 255, 0.7);
    --nav-bg-scrolled: rgba(1, 26, 42, 0.95);
    --nav-mobile-bg: #000000;
    --nav-mobile-shadow: rgba(0,0,0,0.4);
    --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 theme transitions for pure dark mode performance */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 600;
}

.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); }
}

/* BRAND LOGO FOR DARK THEME */
.brand-logo { 
    height: 70px; 
    width: auto; 
    object-fit: contain; 
}

.logo-light { display: none; }
.logo-dark { display: block; }

/* DYNAMIC TYPOGRAPHY (Responsive by default via clamp) */
.hero-title {
    font-family: var(--font-display);
    line-height: 0.9; /* Adjusted slightly for better wrapping on mobile */
    letter-spacing: -0.001em;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 15px; 
    color: #ffffff;
}

.hero-subtext {
    font-family: var(--font-body);
    line-height: 1.4;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.25rem); /* Responsive sizing */
    margin-bottom: 2rem;
    color: #ffffff;
    opacity: 0.95;
}

/* Theme Text Class */
.theme-text {
    color: #ffffff;
}

/* UNIVERSAL BUTTON */
.btn-universal {
    background: var(--vf-grad);
    color: white !important;
    padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 32px); /* Responsive padding */
    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-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
}

.btn-universal:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(246, 143, 29, 0.5);
}

/* INTERACTIVE ROLE PILLS */
.role-pill {
    background: rgba(246, 143, 29, 0.08);
    color: var(--brand-orange);
    border: 1px solid rgba(246, 143, 29, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    display: inline-block;
    margin: 5px 5px 10px 0;
    transition: all 0.3s ease;
    cursor: default;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.role-pill:hover {
    background: var(--vf-grad);
    color: white !important;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(234, 59, 96, 0.3);
}

/* INFO GLASS CARD */
.info-glass-card {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--brand-orange);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 12px;
}

/* ALUMNI SECTION */
.alumni-section {
    position: relative;
    padding: clamp(60px, 8vw, 100px) 0;
    margin-top: clamp(30px, 5vw, 50px);
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--brand-pink);
    line-height: 1.4;
    border-left: 3px solid var(--brand-orange);
    padding-left: 20px;
    margin: 2rem 0;
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 0 !important; 
}

.hero-image-placeholder {
    width: 100vw; 
    height: 100vh; 
    min-height: 700px;
    position: relative; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    margin-top: 0; 
    overflow: hidden; 
}

.hero-bg-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover; 
    object-position: center; 
    z-index: 0; 
}

.hero-image-placeholder::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; 
    width: 100%; height: 85%; /* Expanded slightly for better text contrast on mobile */
    background: linear-gradient(to top, rgba(1, 26, 42, 1) 0%, rgba(1, 26, 42, 0.6) 50%, rgba(1, 26, 42, 0) 100%);
    z-index: 1; 
    pointer-events: none;
}

.hero-content-dock {
    position: relative;
    z-index: 2; 
    padding-bottom: clamp(3rem, 5vw, 5rem);
    width: 100%;
}

/* SMOKEY ONYX GLASS BOX */
.hero-glass-box {
    background: linear-gradient(135deg, rgba(1, 26, 42, 0.4) 0%, rgba(0, 0, 0, 0.25) 100%);
    backdrop-filter: blur(24px); 
    -webkit-backdrop-filter: blur(24px); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-top: none; 
    padding: clamp(2rem, 5vw, 3.5rem); /* Responsive padding */
    border-radius: clamp(16px, 3vw, 20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    position: relative; 
    overflow: hidden; 
    animation: glassFadeIn 1s ease-out forwards;
    width: 100%;
}

.hero-glass-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px; 
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange) 65%, var(--brand-pink) 100%);
    z-index: 10;
}

@keyframes glassFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* DEPARTMENT IMAGE CARDS */
.dept-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3; 
    background-color: #041f2e;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.dept-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dept-card:hover .dept-img { transform: scale(1.05); }

.dept-overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
}

.dept-name {
    color: #ffffff;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin: 0;
    line-height: 1.2;
}

/* PROGRAM DETAILS BANNER */
.program-details-banner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--brand-orange);
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

/* ASYMMETRIC ALTERNATING DEPT CARDS */
.dept-list-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: clamp(20px, 4vw, 40px);
    margin-bottom: clamp(3rem, 6vw, 6rem);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dept-list-image-wrapper {
    padding: clamp(1rem, 2vw, 1.5rem);
    height: 100%;
}

.dept-list-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: clamp(16px, 3vw, 30px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.5s ease;
}

.dept-list-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--brand-orange);
}

.dept-list-card:hover .dept-list-img {
    transform: scale(1.02) rotate(-2deg); 
}

.dept-list-text {
    padding: clamp(2rem, 5vw, 3rem) clamp(2rem, 5vw, 5rem);
}

@media (min-width: 992px) {
    .dept-item:nth-child(even) .row { flex-direction: row-reverse; }
    .dept-item:nth-child(even) .dept-list-text { text-align: right; }
}

@media (max-width: 991px) {
    .dept-list-text { text-align: center; }
}

/* FADED IMAGE CARD */
.faded-image-card {
    background-color: #041f2e;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.image-wrapper-faded {
    position: relative;
    width: 100%;
    height: 180px; 
    overflow: hidden;
    -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;
}

.faded-image-card:hover .image-wrapper-faded img { transform: scale(1.05); }

.card-content-faded {
    padding: clamp(15px, 3vw, 25px);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-num-aesthetic {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--brand-orange);
    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: #ffffff;
    margin-bottom: 8px;
    line-height: 1.1;
    letter-spacing: 1px;
}

.card-desc-faded {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-weight: 500;
}

/* REQUIREMENT PILL */
.aesthetic-pill {
    background-color: rgba(246, 143, 29, 0.15);
    color: var(--brand-orange); 
    border: 1px solid rgba(246, 143, 29, 0.4);
    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;
}

/* PLEASING INFO CARD (Pure Glassmorphism) */
.pleasing-info-card {
    background: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 16px; 
    padding: clamp(25px, 4vw, 40px) clamp(20px, 3vw, 30px); 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.floating-gradient-icon {
    width: 70px; height: 70px;
    background: var(--vf-grad);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(246, 143, 29, 0.3); 
}

/* CUSTOM SHARED GRID LAYOUT */
.vf-composite-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center; 
    position: relative;
    gap: 0; /* Let grid handling overlap naturally */
}

.vf-grid-card {
    grid-column: 1 / 7; /* Adjusted slightly for better scaling */
    grid-row: 1;
    z-index: 2; 
}

.vf-grid-img-wrapper {
    grid-column: 6 / 13; 
    grid-row: 1;
    z-index: 1;
    height: 100%;
    min-height: 450px;
}

.vf-grid-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

@media (max-width: 991px) {
    .vf-composite-grid {
        display: flex;
        flex-direction: column-reverse; 
        gap: 2rem;
    }
    .vf-grid-img-wrapper { min-height: 300px; width: 100%; }
    .vf-grid-card { width: 100%; }
}

/* INTERNSHIP TRACK CARDS */
.internship-track-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.internship-img-card {
    background-color: rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.internship-track-card:hover, .internship-img-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(246, 143, 29, 0.15);
}

.internship-track-card:hover {
    border-color: rgba(246, 143, 29, 0.3); 
}

.track-icon-wrapper {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 120, 0, 0.15);
    color: var(--brand-orange);
    transition: all 0.3s ease;
}

.internship-track-card:hover .track-icon-wrapper {
    background: var(--brand-orange);
    color: #ffffff;
    transform: scale(1.1);
}

.skill-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.role-list {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.85;
    padding-left: 0;
    list-style: none;
}

.role-list li {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.role-list i {
    margin-top: 4px;
    font-size: 0.75rem;
    opacity: 0.9;
    color: var(--brand-orange);
}

/* SECTION HEADER BOX */
.section-header-box {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 2rem);
    margin-bottom: clamp(2rem, 4vw, 3.5rem); 
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* CUSTOM CAROUSEL */
.custom-carousel {
    border-radius: 24px;
    overflow: hidden;
    background-color: rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    max-width: 600px; 
    margin: 0 auto; 
    width: 100%; /* Ensure responsiveness within parent */
}

.custom-carousel .carousel-item img {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    height: auto; 
}

/* CAROUSEL CONTROLS */
.carousel-control-prev, .carousel-control-next {
    width: 15%; /* Generous hit area, better for mobile touch */
    opacity: 1; 
}

.nav-btn-circle {
    width: clamp(45px, 6vw, 55px);
    height: clamp(45px, 6vw, 55px);
    background-color: var(--brand-orange);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(246, 143, 29, 0.4);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.carousel-control-prev:hover .nav-btn-circle, 
.carousel-control-next:hover .nav-btn-circle {
    background-color: #ffffff;
    color: var(--brand-orange);
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* CAROUSEL INDICATORS */
.carousel-indicators {
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 50px;
    bottom: 20px;
    margin-bottom: 0;
    width: auto;
    left: 50%;
    transform: translateX(-50%); 
}

.custom-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.5;
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.custom-carousel .carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);
}

/* --- CAROUSEL INDICATORS --- */
.custom-carousel .carousel-indicators .active {
    opacity: 1;
    background-color: var(--brand-orange);
    transform: scale(1.4); 
}

/* --- SHARED SQUARE STYLING (Carousel & Image Cards) --- */
.square-box-container {
    border-radius: clamp(16px, 3vw, 24px);
    overflow: hidden;
    background-color: rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; 
    transition: transform 0.4s ease;
}

.square-box-container:hover {
    transform: translateY(-5px);
}

.square-box-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control-prev, .carousel-control-next {
    width: 15%; /* Keeps hit area generous */
}

/* SMALLER 1x1 SQUARES */
.square-box-sm {
    border-radius: clamp(12px, 3vw, 20px); 
    overflow: hidden;
    aspect-ratio: 1 / 1;
    width: 100%;
    background-color: rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.square-box-sm:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.square-box-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- ALUMNI FULL-WIDTH BANNER --- */
.alumni-wide-banner {
    width: 100%;
    height: clamp(250px, 40vw, 400px); /* Responsive height scaling */
    border-radius: clamp(16px, 4vw, 30px);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.4s ease;
}

.alumni-wide-banner:hover {
    transform: scale(1.01);
}

.alumni-wide-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
}

/* ALUMNI SEPARATORS */
.alumni-top-separator {
    width: 100%;
    overflow: hidden;
}

.alumni-top-separator img {
    display: block;
    width: 100%;
    height: auto; 
    object-fit: contain; 
    opacity: 0.9; 
}

.full-bleed-separator {
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.full-bleed-separator img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}



.alumni-section {
    overflow-x: hidden;
}

/* --- PORTRAIT VIDEO WRAPPER --- */
.portrait-video-wrapper {
    aspect-ratio: 9 / 16; 
    border-radius: clamp(20px, 4vw, 32px);
    overflow: hidden;
    position: relative;
    border: clamp(3px, 1vw, 6px) solid rgba(255,255,255,0.05); /* Sleek dark mode bezel */
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background-color: rgba(0,0,0,0.4);
    transform: rotate(2deg); 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portrait-video-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.portrait-video-wrapper .video-poster,
.portrait-video-wrapper .alumni-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* FLOATING PLAY BUTTON */
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
    background: var(--brand-orange);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    padding-left: 5px; 
    box-shadow: 0 10px 25px rgba(246, 143, 29, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.portrait-video-wrapper:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--brand-pink); 
    box-shadow: 0 15px 30px rgba(232, 62, 140, 0.4);
}

/* --- AESTHETIC INFO CARDS & QUOTES --- */
.aesthetic-info-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: clamp(16px, 3vw, 24px);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
}

.aesthetic-quote {
    position: relative;
    padding-left: clamp(1rem, 2vw, 1.5rem);
    border-left: 3px solid var(--brand-orange);
    margin: 1.5rem 0;
}

.aesthetic-quote p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-style: italic;
    font-weight: 500;
    color: var(--brand-orange);
    line-height: 1.6;
}

.quote-icon-bg {
    position: absolute;
    top: -15px;
    left: -15px;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--brand-orange);
    opacity: 0.15;
    z-index: 0;
}

.announcement-icon-circle {
    width: clamp(35px, 6vw, 45px);
    height: clamp(35px, 6vw, 45px);
    min-width: clamp(35px, 6vw, 45px);
    background: rgba(232, 62, 140, 0.15); 
    color: var(--brand-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.aesthetic-pill {
    width: fit-content; 
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: clamp(0.5rem, 2vw, 0.8rem) clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 50px; 
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    transition: transform 0.3s ease;
}

.aesthetic-pill:hover { transform: translateY(-2px); }

.editorial-desc {
    padding-left: clamp(1rem, 3vw, 1.5rem);
    border-left: 4px solid var(--brand-pink);
    margin-bottom: 2rem;
}

/* --- HIGHLIGHT QUOTE CARD (Verafede Gradient Forced) --- */
.highlight-quote-card {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange) 65%, var(--brand-pink) 100%) !important;
    color: #ffffff !important;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: clamp(12px, 3vw, 16px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4); 
    position: relative;
    margin-bottom: 2rem;
    transform: translateX(0); /* Reset for mobile */
    border: none;
    transition: all 0.3s ease; 
}

@media (min-width: 992px) {
    .highlight-quote-card { transform: translateX(-15px); } /* Retains 3D pop-out on desktop */
}

.highlight-quote-card p,
.highlight-quote-card .fa-quote-right {
    color: #ffffff !important;
}

.highlight-quote-card .fa-quote-right {
    position: absolute;
    top: -20px;
    right: 25px;
    font-size: clamp(3rem, 6vw, 4rem);
    opacity: 0.9;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.action-callout {
    background: rgba(246, 143, 29, 0.05); 
    border: 2px dashed rgba(246, 143, 29, 0.3); 
    border-radius: 16px;
    padding: clamp(1rem, 3vw, 1.5rem);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.action-callout:hover {
    background: rgba(246, 143, 29, 0.1);
    border-color: var(--brand-orange);
    transform: translateY(-3px);
}

.action-icon-square {
    background: rgba(255, 255, 255, 0.1);
    color: var(--brand-orange);
    width: clamp(45px, 8vw, 55px);
    height: clamp(45px, 8vw, 55px);
    min-width: clamp(45px, 8vw, 55px);
    border-radius: 14px; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* --- APPLICATION FORM STYLES --- */
.vf-form-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border-radius: clamp(16px, 3vw, 20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vf-form-label {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.vf-form-input {
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(150, 150, 150, 0.3);
    background-color: rgba(0, 0, 0, 0.3) !important; 
    color: #ffffff !important;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem); /* Prevents zoom on mobile iOS */
}

.vf-form-input::placeholder { color: rgba(255, 255, 255, 0.6) !important; }
.form-select.vf-form-input option { color: #ffffff !important; background-color: #1e1e1e !important; }

.vf-form-input:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 4px rgba(246, 143, 29, 0.15);
}

/* DRAG & DROP UPLOAD ZONE */
.vf-upload-zone {
    position: relative;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 1.5rem);
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.vf-upload-zone:hover, .vf-upload-zone.dragover {
    border-color: var(--brand-pink);
    background: rgba(232, 62, 140, 0.08);
}

.vf-upload-zone.file-selected {
    border-color: var(--brand-pink);
    border-style: solid;
    background: rgba(232, 62, 140, 0.05);
}

.upload-icon {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--brand-pink);
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.vf-upload-zone:hover .upload-icon, .vf-upload-zone.dragover .upload-icon {
    transform: translateY(-5px);
    color: var(--brand-orange);
}

.upload-text, .upload-text strong { color: #ffffff !important; font-size: clamp(0.85rem, 2vw, 0.95rem); }
.upload-subtext { color: rgba(255, 255, 255, 0.7) !important; }

/* SLIDING GRADIENT SUBMIT BUTTON */
.btn-gradient-slide {
    background-image: linear-gradient(to right, var(--brand-pink) 0%, var(--brand-orange) 50%, var(--brand-pink) 100%);
    background-size: 200% auto;
    color: white !important; 
    border: none;
    border-radius: 50px;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-position 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Full width on mobile, can be overridden by grid/flex containers */
}

@media (min-width: 768px) {
    .btn-gradient-slide { width: auto; } /* Auto width on larger screens */
}

.btn-gradient-slide:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(232, 62, 140, 0.3);
    text-decoration: none;
}

.btn-gradient-slide:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(232, 62, 140, 0.2);
}

.btn-gradient-slide i { transition: transform 0.3s ease; }
.btn-gradient-slide:hover i { transform: translateX(4px); }

/* --- MODAL & DOCUMENT DISPLAYS --- */
.vf-modal-content {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.vf-btn-close { filter: invert(1) grayscale(100%) brightness(200%); }

.vf-summary-card {
    background: rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.vf-doc-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.vf-btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    background: transparent;
}

.vf-btn-outline:hover { background: rgba(255, 255, 255, 0.05); }

/* --- VALIDATION STATES --- */
.vf-form-input.is-invalid, .form-control.is-invalid, .form-select.is-invalid {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.05) !important;
    box-shadow: 0 0 4px rgba(220, 53, 69, 0.6);
}

.vf-upload-zone.is-invalid {
    border: 2px dashed #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.05) !important;
    box-shadow: 0 0 4px rgba(220, 53, 69, 0.6);
}

.asterisk {
    color: #dc3545; 
    font-weight: bold;
}

/* --- RECAPTCHA WRAPPER --- */
.vf-recaptcha-wrapper {
    width: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(4px, 2vw, 8px);
    border-radius: 8px;
    background: var(--vf-grad);
    box-shadow: 0 6px 12px rgba(2, 46, 71, 0.4);
    overflow: hidden; /* Prevents overflow on ultra-narrow mobile screens */
}

.vf-recaptcha-wrapper .g-recaptcha {
    transform: scale(1.05); 
    transform-origin: center;
}

@media (max-width: 400px) {
    .vf-recaptcha-wrapper .g-recaptcha {
        transform: scale(0.85); /* Scales down safely on very small mobile screens */
    }
}

.vf-recaptcha-wrapper.is-invalid {
    border: 2px solid #dc3545;
}

body, html {
    background-color: var(--bg-body, #000000) !important; 
    color: var(--text-main, #e6e6e6) !important;
    overflow-x: hidden;
}

/* Gradient Text Utility */
.text-gradient {
    background: var(--vf-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
}

/* Custom Checkbox focus state */
.form-check-input:checked {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(246, 143, 29, 0.25); /* Uses brand-orange with opacity */
}