/* --- 1. THEME VARIABLES (STRICTLY DARK MODE) --- */
:root {
    /* Brand Identity Colors */
    --brand-navy: #022e47;
    --brand-cream: #FAF8F1;
    --brand-orange: #f68f1d;
    --brand-pink: #ea3b60;
    
    /* 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);
    
    --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;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 600; /* Semi-bold globally */
}

.text-gradient {
    background: var(--vf-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- 3. AMBIENT BACKGROUND --- */
.ambient-light {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    z-index: -1; 
    pointer-events: none; 
    overflow: hidden;
    background: var(--bg-body);
}

.orb {
    position: absolute; 
    border-radius: 50%;
    filter: blur(80px); 
    opacity: 0.5;
    animation: floatOrb 20s infinite ease-in-out;
}

.orb-1 { width: 100vw; height: 100vw; background: var(--brand-orange); top: -10%; left: -10%; opacity: 0.15;}
.orb-2 { width: 30vw; height: 30vw; background: var(--brand-pink); bottom: 10%; right: -5%; animation-delay: -5s; opacity: 0.15;}
.orb-3 { width: 60vw; height: 60vw; background: #ff5500; top: 40%; left: 40%; animation-delay: -10s; opacity: 0.1;}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -50px) scale(1.1); }
}

/* --- 4. HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    z-index: 1;
}

.hero-title, .ready-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5.5rem); 
    line-height: 0.9; /* Unified line height for better scaling */
    letter-spacing: -0.001em; 
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Custom Navy Text Class merged to Dark Mode */
.text-navy {
    color: var(--text-main) !important;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 600;
    max-width: 90%;
    margin-bottom: 40px;
    line-height: 1.4 !important; /* Slightly increased for readability on mobile */
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.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);
    text-align: center;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(234, 59, 96, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main) !important;
    padding: 16px 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* --- 5. AESTHETIC MINIMALIST BENTO GRID --- */
.aesthetic-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 280px 220px;
    gap: 20px; 
    width: 100%;
    position: relative;
}

.bento-card {
    border-radius: 24px; 
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08); 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04); 
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.bento-card img, 
.bento-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover img, 
.bento-card:hover video {
    transform: scale(1.03); 
}

.bento-wide { grid-column: 1 / 3; grid-row: 1 / 2; }
.bento-square-1 { grid-column: 1 / 2; grid-row: 2 / 3; }
.bento-square-2 { grid-column: 2 / 3; grid-row: 2 / 3; }

@media (max-width: 991px) {
    .aesthetic-bento {
        grid-template-columns: 1fr;
        grid-template-rows: 240px 200px 200px;
        gap: 16px;
        margin-top: 40px;
    }
    .bento-wide { grid-column: 1; grid-row: 1; }
    .bento-square-1 { grid-column: 1; grid-row: 2; }
    .bento-square-2 { grid-column: 1; grid-row: 3; }
}

/* --- 6. SERVICES GRID (BASE) --- */
.vf-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.vf-svc-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: 40px 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vf-svc-card:hover {
    transform: translateY(-8px);
    border-color: rgba(246, 143, 29, 0.4); 
    background: rgba(0, 0, 0, 0.7); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); 
}

.svc-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(246, 143, 29, 0.15), rgba(234, 59, 96, 0.15));
    color: var(--brand-orange, #f68f1d);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.vf-svc-card:hover .svc-icon { transform: scale(1.1); }

.svc-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 0.02em;
}

.svc-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 400 !important; 
    line-height: 1.6;
    margin-bottom: 10px; 
    flex-grow: 1; 
    width: 100%; 
}

.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.svc-tags span {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- 7. V4 SECTION TITLE & LAYOUT --- */
.services-offered-section {
    color: #f8fafc;
}

.section-title-v4 {
    font-family: 'Bakbak One', sans-serif;
    text-transform: uppercase;
    font-size: clamp(2rem, 4vw, 2.5rem);
    letter-spacing: 0.04em;
    position: relative;
    display: inline-block;
    padding-bottom: 16px; 
    margin-bottom: 0;
    color: #ffffff; 
}

.section-title-v4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--brand-orange, #f68f1d), #ea3b60);
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(246, 143, 29, 0.4); 
    transition: width 0.3s ease;
}

.section-title-v4:hover::after { width: 120px; }

.vf-services-wrapper-v4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Improved responsiveness */
    gap: 40px; 
    margin: 50px auto 60px auto; 
    padding: 15px; 
    max-width: 1200px; 
}

.vf-svc-card-v4 {
    background: rgba(25, 25, 25, 0.4); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px; 
    padding: 55px 40px 40px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    min-height: 350px;
}

.vf-svc-card-v4:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(246, 143, 29, 0.4); 
}

.vf-svc-card-v4 .service-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.vf-svc-card-v4 .service-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(246, 143, 29, 0.1), rgba(234, 59, 96, 0.1));
    color: var(--brand-orange, #f68f1d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: 1px solid rgba(246, 143, 29, 0.2);
    flex-shrink: 0;
}

.vf-svc-card-v4 h4 {
    font-family: 'Bakbak One', sans-serif;
    text-transform: uppercase;
    font-size: 1.6rem;
    font-weight: normal; 
    margin-bottom: 0; 
    color: var(--brand-orange, #f68f1d) !important; 
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.vf-svc-card-v4 p {
    color: #cbd5e1 !important; 
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 30px; 
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto; 
}

.tag-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 8px 16px; 
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s ease;
    white-space: nowrap; 
}

.tag-pill:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* --- 8. CORP CARDS (Dark Theme Standard) --- */
.vf-corp-card h4 {
    font-family: 'Bakbak One', sans-serif;
    text-transform: uppercase;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    color: #f68f1d !important; 
}

.vf-corp-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #f8fafc !important; 
}

.vf-corp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.vf-corp-tags span {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px; 
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #ffffff !important; 
}

/* --- 9. AVAIL OUR SERVICES --- */
.vf-avail-section {
    padding: 100px 0;
    position: relative;
}

.vf-avail-title {
    font-family: 'Bakbak One', sans-serif;
    text-transform: uppercase;
    font-size: clamp(2.2rem, 5vw, 2.8rem); /* Responsive typography */
    line-height: 1 !important;
    color: #ffffff; 
}

.text-orange {
    color: var(--brand-orange, #f68f1d) !important;
}

.vf-avail-subtitle {
    font-size: 1.15rem;
    line-height: 1.4 !important;
    font-weight: 600;
    color: #ffffff;
}

.vf-contact-info span {
    color: #ffffff;
    font-weight: 600;
}

.vf-form-card {
    background: rgba(25, 25, 25, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.vf-form-card .form-title {
    font-family: 'Bakbak One', sans-serif;
    color: var(--brand-orange, #f68f1d);
    text-transform: uppercase;
    font-size: 1.8rem;
    letter-spacing: 0.02em;
}

.vf-input, .vf-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important; 
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.vf-input::placeholder {
    color: #64748b;
}

.vf-input:focus, .vf-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand-orange, #f68f1d);
    box-shadow: 0 0 0 4px rgba(246, 143, 29, 0.15);
    outline: none;
}

.vf-btn-submit {
    position: relative;
    color: #ffffff !important;
    border: 2px solid var(--brand-orange, #f68f1d);
    border-radius: 12px;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    overflow: hidden; 
    z-index: 1;
    transition: all 0.4s ease;
    cursor: pointer;
    background: transparent;
}

.vf-btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%; 
    height: 100%;
    background: linear-gradient(90deg, var(--brand-orange, #f68f1d), #ea3b60);
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1; 
}

.vf-btn-submit:hover {
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(246, 143, 29, 0.4);
    transform: translateY(-3px);
}

.vf-btn-submit:hover::before {
    width: 100%; 
}

/* Mobile Adjustments for forms and layout */
@media (max-width: 991px) {
    .vf-avail-section { padding: 60px 0; }
    .vf-form-card { padding: 30px 20px; }
    .vf-services-wrapper-v4 {
        grid-template-columns: 1fr; 
        gap: 30px;
        margin-top: 30px;
        padding: 10px;
    }
}

/* --- INPUT WRAPPER & HOVER TOOLTIP --- */
.vf-input-wrap {
    position: relative;
    width: 100%;
}

.vf-input-wrap .vf-input {
    padding-right: 45px; 
}

/* Info Icon Placement */
.vf-info-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8; 
    cursor: help;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.vf-info-icon:hover {
    color: var(--brand-orange, #f68f1d);
}

/* Custom CSS Tooltip Box */
.vf-info-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 12px);
    right: -10px; 
    width: max-content;
    max-width: min(220px, 80vw); /* Responsive width constraint */
    background: #1e293b; 
    color: #ffffff;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none; 
    line-height: 1.4;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tooltip Triangle Pointer */
.vf-info-icon::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    right: 5px;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

/* Show tooltip on hover */
.vf-info-icon:hover::after,
.vf-info-icon:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- CONTACT BOX DESIGN (DARK MODE DEFAULT) --- */
.vf-contact-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: clamp(20px, 4vw, 30px);
    display: block;      
    width: 100%;         
    max-width: 100%;    
    text-align: left;
}

.contact-box-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-orange);
    margin-bottom: 25px;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item:last-child { margin-bottom: 0; }

.icon-circle {
    width: 45px;
    height: 45px;
    background: rgba(246, 143, 29, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #94a3b8; 
    margin-bottom: 2px;
    font-weight: 600;
}

.contact-text span {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    font-weight: 500;
    color: #ffffff; 
}

/* --- DROPDOWN OPTION VISIBILITY --- */
.vf-select option {
    background-color: #1a1a1a; 
    color: #ffffff;
}

/* --- CAPTCHA PLACEHOLDER STYLING --- */
.vf-captcha-placeholder {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #cbd5e1; 
    font-size: 0.95rem;
    font-weight: 500;
    flex-wrap: wrap; /* Allows wrapping on tiny screens */
    gap: 10px;
}

.vf-captcha-checkbox {
    width: 28px;
    height: 28px;
    border: 2px solid #64748b;
    border-radius: 4px;
    background: #0f172a;
    margin-right: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.vf-captcha-checkbox:hover {
    border-color: var(--brand-orange, #f68f1d);
}

.vf-captcha-logo {
    text-align: center;
    color: #64748b;
    line-height: 1;
}

.vf-captcha-logo i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.vf-captcha-logo small {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

/* --- FORM LABELS (OUTSIDE INPUTS) --- */
.vf-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: #e2e8f0; 
}

/* --- HERO BUTTONS OVERRIDE --- */
.hero-actions .btn-glow,
.hero-actions .btn-glass {
    padding: 12px 24px; 
    display: inline-flex; 
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 16px; 
        width: 100%;
    }

    .hero-actions .btn-glow,
    .hero-actions .btn-glass {
        width: 100%; 
    }
}

/* --- 1. THE CTA CARD (STRICTLY DARK MODE) --- */
.vf-cta-card {
    background-color: var(--brand-navy, #022e47); 
    border-radius: clamp(16px, 4vw, 32px); 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); 
    padding: clamp(30px, 5vw, 60px); 
    transition: all 0.3s ease;
}

.vf-cta-card .vf-title-navy-white {
    color: #ffffff !important; 
}

.vf-cta-card .hero-title {
    margin-bottom: 20px;
}

.vf-cta-card .hero-subtitle {
    max-width: 90%;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.6); 
}

.vf-cta-card .hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .vf-cta-card {
        padding: 40px 20px !important;
    }
}

/* --- SLIDING GRADIENT BUTTON --- */
.btn-vf-slide {
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.3); 
    color: #ffffff; 
    border-radius: 30px; 
    text-decoration: none;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05); 
    padding: 12px 24px;
}

.btn-vf-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--vf-grad); 
    z-index: -1;
    transform: translateX(-101%); 
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-vf-slide:hover::before {
    transform: translateX(0); 
}

.btn-vf-slide:hover {
    color: #ffffff !important; 
    border-color: transparent !important;
    box-shadow: 0 5px 15px rgba(246, 143, 29, 0.4); 
}

/* --- BRAND SEPARATOR LINE --- */
.vf-brand-line {
    display: block;
    width: 250px;
    max-width: 80%;
    height: 5px;
    background: var(--vf-grad) !important;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(246, 143, 29, 0.7), 0 0 5px rgba(234, 59, 96, 0.5);
    transition: box-shadow 0.3s ease;
}

/* --- 12. ALTERNATE MODAL STYLES (HERO HEADER & RECEIPT CARD) --- */
.vf-modal-alt {
    border-radius: clamp(16px, 4vw, 28px);
    overflow: hidden; 
    background: #0f172a; 
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Header Design */
.vf-modal-header-hero {
    position: relative;
    background: var(--vf-grad);
    padding: clamp(20px, 4vw, 30px) clamp(16px, 4vw, 24px);
    overflow: hidden;
}

.hero-header-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 100%);
    z-index: 0;
}

.header-icon-circle {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Unified Receipt Card */
.vf-info-card {
    padding: clamp(16px, 4vw, 24px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
}

.vf-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    gap: 10px;
}

.vf-info-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.vf-info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    text-align: right;
    word-break: break-word;
}

.vf-message-box {
    padding: 16px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

/* --- 13. SUCCESS MODAL SPECIFICS --- */
.vf-success-text {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.btn-submit {
    background: var(--vf-grad, linear-gradient(135deg, #f68f1d 0%, #ea3b60 100%));
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
    font-size: 1rem; 
    padding: 14px 28px; 
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(234, 59, 96, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Default to full width for mobile ease */
    max-width: 300px;
}

.btn-submit:hover {
    color: #ffffff;
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(234, 59, 96, 0.4); 
}

.btn-submit i {
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.btn-submit:hover i.fa-arrow-right {
    transform: translateX(4px);
}

.btn-edit-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 14px 24px; 
    color: rgba(255, 255, 255, 0.6);
}

.btn-edit-alt:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

/* Force Dark Blue for standard Submit Button (Overrides gradient if used on form) */
.vf-btn-submit {
    background: #022e47 !important; 
    color: #ffffff !important; 
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(2, 46, 71, 0.5) !important;
}

.vf-btn-submit:hover {
    background: #034166 !important; 
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 46, 71, 0.7) !important;
}

.asterisk {
  color: #dc3545; 
  font-weight: bold;
}

/* Wrapper to align with textboxes */
.vf-recaptcha-wrapper {
  width: 100%; 
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  background: var(--vf-grad);
  box-shadow: 0 6px 12px rgba(2, 46, 71, 0.25);
  overflow: hidden; /* Prevents overflow on small mobile */
}

.vf-recaptcha-wrapper .g-recaptcha {
  transform: scale(1.05); 
  transform-origin: center;
}

/* Responsive Scaling for Captcha on small devices */
@media (max-width: 400px) {
    .vf-recaptcha-wrapper .g-recaptcha {
        transform: scale(0.85);
    }
}

.iphonee-frame {
  position: relative;
  width: 100%;  
  max-width: 360px; /* Limits width on desktop */
  aspect-ratio: 1 / 2; /* Maintains proportions fluidly */
  height: auto;
  min-height: 600px;
  border: 14px solid #000;
  border-radius: 48px;
  background: #000;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  margin: 0 auto; /* Centers it globally */
}

.iphonee-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 10px;
  background: #333;
  border-radius: 5px;
  z-index: 10; /* Ensures the notch stays above content */
}
/* --- 1. LOCAL PORTFOLIO VARIABLES (STRICTLY DARK MODE) --- */
:root {
    --vf-text-primary: #ffffff; 
    --vf-text-secondary: #f4f4f4; 
    --vf-pink: #ea3b60; 
    
    /* Glassmorphism Dark Theme Defaults */
    --vf-glass-bg: rgba(25, 25, 25, 0.4);
    --vf-glass-border: rgba(255, 255, 255, 0.08);
    --vf-glass-shadow: rgba(0, 0, 0, 0.4);
}

/* --- 2. GLOBAL BODY FALLBACK --- */
body, html {
    background-color: var(--bg-body, #011a2a) !important; 
    color: var(--text-main, #e6e6e6) !important;
    overflow-x: hidden;
}

/* --- 3. PORTFOLIO SECTION & LAYOUT --- */
.vf-portfolio-section {
    background-color: var(--bg-body, #011a2a);
    color: #ffffff;
    padding: clamp(60px, 8vw, 100px) 20px;
    font-family: var(--font-body);
    overflow: hidden;
}

.vf-container {
    max-width: 1200px;
    margin: 0 auto;
}

.vf-z-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: clamp(60px, 10vw, 120px);
    gap: clamp(30px, 5vw, 60px);
}

.vf-z-row.reverse-row {
    flex-direction: row-reverse;
}

.vf-z-row:last-child {
    margin-bottom: 0;
}

/* --- 4. GLASSMORPHISM TEXT CONTENT CARD --- */
.vf-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem; 
    padding: clamp(2rem, 4vw, 3rem); 
    max-width: 600px;
    width: 100%;
    
    background: var(--vf-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); 
    border: 1px solid var(--vf-glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 var(--vf-glass-shadow);
}

/* --- 5. TYPOGRAPHY (RESPONSIVE) --- */
.vf-eyebrow {
    color: var(--vf-pink); 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.vf-title-group .vf-display-heading,
.vf-display-heading {
    font-family: var(--font-display);
    color: var(--vf-text-primary);
    font-size: clamp(2.5rem, 5vw, 3.5rem); 
    margin: 0 0 20px 0;
    line-height: 0.9; /* Relaxed from 0.7 for better mobile wrapping */
    letter-spacing: -0.04em; 
    padding-bottom: 10px;
    text-transform: uppercase;
    
    /* Gradient text mapping */
    background: var(--vf-grad, linear-gradient(135deg, #f68f1d, #ea3b60));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

.vf-sub-text {
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.4;
    font-size: clamp(1rem, 2vw, 1.15rem);
    letter-spacing: -0.001em;
    color: var(--vf-text-secondary);
    margin-bottom: 30px;
}

/* --- 6. ANIMATED ACCENT LINE --- */
.vf-accent-line {
    height: 4px;
    background: var(--vf-grad, linear-gradient(135deg, #f68f1d, #ea3b60));
    border-radius: 4px;
    animation: drawLine 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards;
}

/* --- 7. BUTTONS --- */
.vf-btn-wrapper {
    margin-top: 0.5rem;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

.vf-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--vf-grad, linear-gradient(135deg, #f68f1d, #ea3b60));
    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);
}

.vf-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(246, 143, 29, 0.45);
}

/* --- 8. IPHONE MOCKUP (STAGGERED OVERLAP) --- */
.vf-phones-wrapper {
    flex: 1;
    position: relative;
    height: clamp(450px, 60vw, 600px);
    max-width: 550px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.iphone-frame {
    position: absolute;
    width: clamp(220px, 40vw, 280px);
    height: clamp(440px, 80vw, 560px);
    border: 12px solid #000;
    border-radius: 40px;
    background: #000;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

/* Staggering Positioning */
.phone-back {
    top: 0;
    left: 5%;
    z-index: 1;
    transform: scale(0.95);
}

.phone-front {
    top: 10%;
    right: 5%;
    z-index: 2;
}

/* Micro-interaction Hover Effects */
.iphone-frame:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(234, 59, 96, 0.3); 
    z-index: 3; 
}
.phone-back:hover { 
    transform: translateY(-15px) scale(0.98); 
}

.iphone-frame::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 8px;
    background: #222;
    border-radius: 5px;
    z-index: 10;
}

/* Facade Pattern Image & Overlay */
.vf-facade-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vf-ig-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.iphone-frame:hover .vf-ig-overlay {
    opacity: 1;
}

.vf-ig-overlay span {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 50px;
    text-transform: uppercase;
}

/* --- 9. SCROLL ANIMATIONS --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 10. KEYFRAMES --- */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drawLine {
    0% { width: 0px; }
    100% { width: 150px; }
}

/* --- 11. RESPONSIVE / MOBILE OPTIMIZATIONS --- */
@media (max-width: 992px) {
    .vf-z-row, .vf-z-row.reverse-row {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .vf-text-content {
        max-width: 100%;
        align-items: center;
    }

    .vf-display-heading {
        line-height: 1.1; 
        margin-bottom: 20px;
    }

    .vf-phones-wrapper {
        height: 500px;
        width: 100%;
    }

    .iphone-frame {
        width: 240px;
        height: 480px;
    }

    .phone-back { 
        left: auto;
        right: 40%;
        top: 0; 
    }
    
    .phone-front { 
        right: auto;
        left: 40%;
        top: 40px; 
    }
}

@media (max-width: 576px) {
    .phone-back { 
        right: 25%;
    }
    
    .phone-front { 
        left: 25%;
    }
    
    .vf-text-content {
        padding: 2rem 1.5rem;
    }
}