/* --- SCOPED VARIABLES --- */
.vc-hero-section {
    /* --- BRAND COLORS --- */
    --color-primary: #00352b;       /* Deep Green (Card BG) */
    --color-accent: #ff3300;        /* Orange (Highlights/Pills) */
    --color-bg-cream: #fffbe9;      /* Cream */

    /* --- UTILITY COLORS --- */
    --color-accent-dim: #ff33001a;  /* Lowered opacity to 10% for softer pill bg */
    --color-border: #e5e7eb;

    /* --- TEXT COLORS --- */
    --text-main: #000000;           /* Headlines */
    --text-on-dark: #fffbe9;        /* Text inside the Green Card */
    --text-muted: #00352b99;        /* Sub-headlines (60% opacity green) */
    
    --vc-font-family: 'Poppins', system-ui, sans-serif;
    
    /* Layout Reset */
    /* box-sizing: border-box; */
    font-family: var(--vc-font-family);
    padding: 5rem 2rem;
    /* max-width: 1400px; */
    margin: 0 auto;
    text-align: center;
}

.vc-hero-section * { box-sizing: border-box; }

/* --- HEADER ELEMENTS --- */

/* 1. The Pill Badge */
.vc-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-accent-dim); /* Dim Orange BG */
    color: var(--color-accent);                /* Solid Orange Text */
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

/* 2. Main Headline */
.vc-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -1px;
}

/* 3. The Highlight Effect */
.vc-highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.vc-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -4px;
    right: -4px;
    height: 35%; /* Height of the highlight marker */
    background-color: var(--color-accent);
    z-index: -1;
    border-radius: 2px;
    opacity: 0.3; /* Subtle transparency so text remains readable */
}

/* 4. Sub-headline */
.vc-sub-headline {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* --- SLIDER CONTAINER --- */
.vc-slider-wrapper {
    display: flex;
    gap: 15px;
    height: 500px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none; 
    -ms-overflow-style: none;
}
.vc-slider-wrapper::-webkit-scrollbar { display: none; }

/* --- CARD --- */
.vc-card {
    background-color: var(--color-primary); /* Deep Green BG */
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    display: flex; 
    align-items: center; 
    
    /* Closed State */
    flex: 1; 
    min-width: 120px;
    padding: 0; 
    
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- IMAGE SECTION --- */
.vc-image-wrapper {
    height: 100%;
    width: 100%; 
    position: relative;
    border-radius: 0; 
    overflow: hidden;
    flex-shrink: 0; 
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.vc-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

/* Inactive Overlay Title */
.vc-inactive-title {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--text-on-dark); /* Cream Text */
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 1;
    transition: opacity 0.3s;
    z-index: 10;
}

/* --- CONTENT SECTION --- */
.vc-content-wrapper {
    width: 0;       
    opacity: 0;     
    padding: 0;
    overflow: hidden;
    white-space: normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-on-dark); /* Cream Text */
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- ACTIVE STATE --- */
.vc-card.vc-active {
    flex: 4; 
    min-width: 850px; 
    padding: 1.5rem; 
    gap: 2.5rem; 
}

/* Modify Image when active */
.vc-card.vc-active .vc-image-wrapper {
    width: 42%; 
    height: 100%; 
    border-radius: 16px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.vc-card.vc-active .vc-card-img {
    transform: scale(1.05); 
}

/* Modify Content when active */
.vc-card.vc-active .vc-content-wrapper {
    width: 58%; 
    opacity: 1;
}

/* Hide inactive title when active */
.vc-card.vc-active .vc-inactive-title {
    opacity: 0;
}

/* --- TYPOGRAPHY INSIDE CARD --- */
.vc-stat-number {
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    color: var(--text-on-dark);
}

.vc-stat-desc {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    color: var(--text-on-dark);
}

.vc-quote {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.95;
    color: var(--text-on-dark);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .vc-headline { font-size: 2.5rem; }
    
    .vc-slider-wrapper { flex-direction: column; height: auto; }
    
    .vc-card { width: 100%; height: 220px; flex: none; padding: 0; }
    
    .vc-card.vc-active { 
        flex: none; height: auto; min-width: 0; 
        flex-direction: column; padding: 1.25rem; 
    }
    
    .vc-card.vc-active .vc-image-wrapper { width: 100%; height: 250px; margin-bottom: 20px; }
    .vc-card.vc-active .vc-content-wrapper { width: 100%; }
}

/* --- Stat Counters --- */
.stat-box {
    background-color: var(--color-bg-cream);
    padding: 40px 30px;
    text-align: center;
    border-radius: 16px;
    height: 100%; /* Ensure equal height */
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    color: var(--color-primary);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    /* Add a '+' sign after the counter finishes */
}
.stat-number.counted::after {
    content: '+';
}


.stat-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* --- Experts Section Styling --- */

/* 1. Badge Styling */
.badge-dashed {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-accent-dim); /* Dim Orange BG */
    color: var(--color-accent);                /* Solid Orange Text */
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

/* 2. Text Colors */
.text-primary-custom {
    color: var(--color-primary);
}
.text-accent-custom {
    color: var(--color-accent);
}

/* 3. Card Container */
.expert-card {
    background-color: #ebeff3; /* Light grey background from screenshot */
    border: 1px solid var(--color-accent-dim); /* Outer dashed border */
    border-radius: 12px;
    padding: 15px;
    transition: transform 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-5px);
}

/* 4. Image Box (The white square) */
.expert-img-box {
    background-color: #ffffff;
    height: 280px; /* Adjust height based on preference */
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* 5. Typography inside Card */
.expert-name {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.expert-role {
    color: #6c757d; /* Bootstrap muted gray */
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* 6. Divider */
.dashed-divider {
    border-top: 1px dashed #cfd3d8;
    margin: 15px 0;
}

/* 7. Social Icons (Font Awesome) */
.expert-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #374151; /* Dark gray */
    font-size: 1rem;
    padding: 5px;
    background-color: #ffffff; /* Tiny white box behind icon if desired, or transparent */
    border-radius: 4px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

/* --- Booking Section Styles --- */

/* 1. The Main Container wrapper */
.visa-type-booking-container {
    background-color: #fff;
    /* Ensures rounded corners clip the image on the left */
}

/* 2. Left Side - The Green Overlay & Image */
.visa-type-booking-left {
    min-height: 500px; /* Ensure it has height on smaller screens */
    /* REPLACE WITH YOUR IMAGE PATH */
    background-image: url('https://images.unsplash.com/photo-1571260899304-425eee4c7efc?w=900&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8M3x8c3R1ZGVudHxlbnwwfHwwfHx8MA%3D%3D'); 
    background-size: cover;
    background-position: center;
}

/* The dark green overlay using your brand color */
.visa-type-booking-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-primary);
    opacity: 0.85; /* Adjust opacity to see more/less image */
    z-index: 1;
}

/* Utility for slightly transparent white */
/* Kept original name as used in HTML without prefix */
.bg-white-subtle {
     background-color: rgba(255, 255, 255, 0.1) !important;
}
.border-white-subtle {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Prefixed custom utility */
.visa-type-ls-1 { letter-spacing: 1px; }


/* 3. Right Side - Form Styling */

/* Custom styling for form fields to match the clean look */
.visa-type-field-styled {
    box-shadow: none !important; /* Remove bootstrap focus shadow */
    border-color: #dee2e6; /* Standard light gray border */
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.visa-type-form-select-styled {
    background-position: right 1rem center;
}

/* Ensure the icon part of the input group matches height */
/* Standard Bootstrap class, kept as is */
.input-group-text {
    border-color: #dee2e6;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Focus state for inputs */
.input-group:focus-within .input-group-text,
.input-group:focus-within .visa-type-field-styled {
    border-color: var(--color-primary); /* Highlight with brand green on focus */
}

/* 4. The Button */
.visa-type-btn-accent {
    background-color: var(--color-accent);
    border: none;
    color: var(--text-on-dark); /* White text */
    transition: all 0.3s ease;
}

.visa-type-btn-accent:hover {
    background-color: #e62e00; /* Slightly darker orange on hover */
    color: #fff;
    transform: translateY(-2px);
}

#migration-advisors {
    scroll-margin-top: 50px;
}