:root {
    --bg-color: #000000;
    /* Updated page background from snippet */
    --card-surface: #0f1113;
    /* fallback solid color */
    --card-bg-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.006));
    --card-border: rgba(255, 255, 255, 0.06);
    --card-accent: #0ea5ff;
    /* New Blue Accent */
    --text-primary: #ffffff;
    --text-secondary: #bfc4c8;
    /* Updated subtitle color */
    --desc-color: #909397;
    --border-radius: 8px;
    /* Updated radius */
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.d-none {
    display: none;
}

.mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }
}

.btn-primary {
    background-color: var(--secondary-color);
    /* Purple button */
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #5a00cc;
    box-shadow: 0 10px 20px rgba(112, 0, 255, 0.4);
}

.btn-secondary {
    border: 2px solid var(--text-secondary);
    color: var(--text-primary);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    margin-left: 10px;
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
    color: var(--card-accent);
    font-weight: 600;
    margin-top: auto;
    /* Push to bottom of card */
    transition: color 0.3s ease;
}

.btn-outline:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(14, 165, 255, 0.6);
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(13, 13, 17, 0.85);
    /* Matches bg-color with transparency */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo .dot {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links li a:hover,
.nav-links li a.btn-primary {
    color: var(--text-primary);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 130px 0 80px 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero Slider Styles (Fade Effect) */
.hero-slider-container {
    width: 100%;
    max-width: 600px;
    z-index: 2;
    /* Ensure on top of Santa */
    /* Adjust based on original image size */
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

.hero-slider-track {
    display: grid;
    /* Move to Grid for overlapping */
    place-items: center;
    width: 100%;
}

.hero-slide {
    grid-area: 1 / 1;
    /* Stack them on top of each other */
    width: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    /* Smooth Fade 2s */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-image {
    position: relative;
    z-index: 10;
}

.santa-video-wrapper {
    position: absolute;
    top: 50%;
    /* Center vertically */
    bottom: auto;
    left: auto;
    right: 82%;
    /* More tucked under */
    width: 180px;
    /* Adjust size */
    height: auto;
    z-index: -1;
    /* Underlay behind image */
    opacity: 0;
    /* Hidden State: Tucked TO THE RIGHT (under image) */
    transform: translateY(-50%) translateX(50px) scale(0.8);
    transition: all 3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Slower */
    pointer-events: none;
    /* Let clicks pass through */
}

.santa-video-wrapper.show {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
}

.santa-video {
    width: 100%;
    height: auto;
    display: block;
    /* Remove background if video has one, assuming transparent/matched */
    border-radius: 10px;
}

@media (max-width: 992px) {

    .santa-video-wrapper,
    .santa-video-wrapper * {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .hero {
        padding: 120px 0 40px 0;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.2;
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 120px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .hero-content {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        gap: 15px;
        flex-direction: column-reverse;
        text-align: center;
    }
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 500px;
}

.hero-subtitle {
    font-family: 'Switzer', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: #F9FAFB;
    /* Assuming text color based on context */
    text-transform: capitalize;
    margin-bottom: 20px;
    /* Adjusted for single line and smaller size */
    width: max-content;
    height: auto;
    white-space: nowrap;
    display: flex;
    align-items: center;
    /* Vertical align middle */
    display: flex;
    justify-content: center;
    /* ✅ */
    align-items: center;
    width: 100%;
    margin-bottom: 1px;
    text-align: center;
}


.background-options {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    width: 100%;
    /* Fill available space */
    max-width: 500px;
    /* Match stats card width */
}

.bg-option {
    height: 48px;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.6;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content */
    flex: 1;
    /* Equal width */
    gap: 12px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.bg-option .indicator {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    background: transparent;
    transition: all 0.2s ease;
}

.bg-option .text {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

.bg-option:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    border-color: rgba(255, 255, 255, 0.3);
}

.bg-option.active {
    opacity: 1;
    background: rgba(255, 0, 0, 0.05);
    /* Subtle red tint for active context */
    border-color: rgba(255, 0, 0, 0.3);
}

.bg-option.active .indicator {
    background-color: #FF4500;
    /* Red/Orange indicator */
    border-color: #FF4500;
    box-shadow: 0 0 6px rgba(255, 69, 0, 0.6);
}

/* Dynamic Stats Card - Pixel Perfect */
/* Dynamic Stats Card - Pixel Perfect & Unified */
.stats-card {
    margin-top: 15px;
    /* Max width matched with hero button (500px) */
    max-width: 500px;

    /* Full Dark Theme as requested */
    /* User Requested Background and Blur */
    background: transparent;
    border: 1px solid transparent;
    /* Reduced from 2px */
    border-radius: 12.49px;
    backdrop-filter: blur(4.53px);
    box-shadow: none;

    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;

    /* Golden Gradient Border with Darker Background */
    background-image:
        linear-gradient(115.06deg, rgba(255, 165, 0, 0.2) 0.82%, rgba(255, 165, 0, 0.2) 99.18%),
        /* Orange Tint (Top) */
        linear-gradient(#000, #000),
        /* Dark Backing (Middle) */
        linear-gradient(135deg, #ffd700, #b8860b, #ffd700);
    /* Golden Border (Bottom) */
    background-origin: border-box;
    background-clip: padding-box, padding-box, border-box;

    /* Centering */
    text-align: center;
    padding: 6px 16px;
    /* Reduced from 16px 24px */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



/* Update visual elements for default state (Orange) */
.stats-number {
    font-size: 32px;
    font-weight: 800;
    color: rgba(255, 165, 0, 1);
    /* User requested orange */
    line-height: 1.2;
    margin-bottom: 4px;
    letter-spacing: -1px;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

/* Form Section Redesign - Premium */
.form-section {
    padding: 100px 0;
    position: relative;
    /* Dark subtle mesh gradient background */
    background: radial-gradient(at 0% 0%, rgba(14, 165, 255, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(138, 43, 226, 0.05) 0px, transparent 50%);
}

.form-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    /* Remove gap, use padding internally */
    background: rgba(15, 17, 19, 0.7);
    /* translucent dark */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 0;
    /* Clear padding, let children handle it */
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    min-height: 500px;
}

/* Content Side (Left) */
.form-content {
    flex: 1.2;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Old .form-content h2 styles removed as headline moved to .form-visual */

.form-content p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.15rem;
    max-width: 90%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    color: #fff;
    font-size: 1.05rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-bottom-color: var(--card-accent);
    padding-left: 10px;
    /* Slight shift on focus for effect */
    background: linear-gradient(90deg, rgba(14, 165, 255, 0.05), transparent);
}

.form-group select option {
    background-color: #0f1113;
    color: #fff;
    padding: 10px;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s;
}

.form-group input:focus::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn-submit {
    width: 100%;
    /* Adapting 616px to fit container fluidly */
    height: 55px;
    margin-top: 20px;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    padding: 12px 20px;
    border-radius: 10px;
    /* 9.92px */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    /* 4.51px */
    background: linear-gradient(90deg, #8b0000, #a52a2a);
    /* Dark Red */
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(14, 165, 255, 0.5);
}

.hero-btn {
    width: 100%;
    max-width: 500px;
    height: 50px;
    /* Reduced from 67px */
    padding: 0;
    /* Remove padding to ensure height stick */
    margin-top: 25px;
}

/* Visual Side (Left) - Placeholder */
.form-visual {
    flex: 0.8;
    background: transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Stack text and image placeholder */
    justify-content: flex-start;
    /* Align top */
    align-items: flex-start;
    /* Align left */
    padding: 30px;
    /* Add padding for "Top Left" positioning */
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.moved-headline {
    font-size: 1.5rem;
    /* "Little bit small" */
    line-height: 1.3;
    color: #fff;
    margin-bottom: 20px;
    z-index: 10;
    text-align: left;
    max-width: 90%;
}

.hub-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    margin-top: -20px;
}

/* Responsive Form Update */
@media (max-width: 900px) {
    .form-wrapper {
        flex-direction: column;
        height: auto;
    }

    .form-content {
        padding: 40px;
        order: 2;
        /* Form below on mobile */
    }

    .form-visual {
        flex: 0 0 160px;
        /* Fixed height for visual on mobile */
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        order: 1;
        /* Visual top on mobile */
        align-items: center;
        text-align: center;
    }

    .visual-circle {
        width: 140px;
        height: 140px;
    }

    .visual-content {
        text-align: center;
    }

    .visual-content p {
        margin: 0 auto;
    }

    .hub-image {
        display: none;
    }
}

/* YouTube Video Section */
.video-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.video-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    width: 500px;
    height: 530px;
    border-radius: 19.2px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    position: relative;
    background: #0f1113;
}



.youtube-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 19.2px;
}

.video-content-text {
    flex: 1;
    max-width: 600px;
    padding: 0 0 0 40px;
}

.video-content-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    text-align: left;
}

.video-content-text h2 span {
    color: #fff;
}

.video-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: #ccc;
    font-weight: 500;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #FF0000;
    color: white;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}





@media (max-width: 768px) {
    .video-content-wrapper {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .video-wrapper {
        width: 100%;
        height: 300px;
        /* Reduced height for mobile */
    }

    .video-content-text {
        padding: 0;
        text-align: left;
        width: 100%;
    }

    .video-content-text h2 {
        text-align: left;
        font-size: 1.8rem;
        /* Use a smaller font size for mobile */
    }

    .video-features {
        align-items: flex-start;
    }
}

.stats-top-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.stats-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.stats-label {
    font-size: 13px;
    color: rgba(255, 165, 0, 0.9);
    /* Slightly transparent orange for label */
    font-weight: 500;
    max-width: 100%;
    line-height: 1.5;
}

.stats-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stats-footer span {
    font-size: 11px;
    color: #5d6064;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partners-list {
    font-size: 12px;
    color: #b0b3b8;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.placement-stats-img {
    margin-top: 25px;
    width: 100%;
    max-width: 508px;
    /* Matches width of background options content */
    display: block;
    height: auto;
}

.placement-stats-text {
    margin-top: 25px;
    max-width: 508px;
    font-size: 18px;
    color: var(--desc-color);
    background: var(--card-surface);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 24px;
}

.hidden {
    display: none;
}

.stats-mini {
    margin-top: 40px;
    display: flex;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.stat-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-image {
    flex: 1;
    min-width: 300px;
}

.hero-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

    .hero {
        padding: 150px 0 40px;
        /* Increased from 100px to avoid navbar overlap */
        background: #000;
        display: flex;
        justify-content: center;
    }

    .hero-content {
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* ✅ CENTER */
        text-align: center;
    }

    /* IMAGE */
    .hero-image {
        width: 100%;
        margin-bottom: 5px;
        order: 1;
        display: flex;
        justify-content: center;
        /* ✅ CENTER */
    }

    .hero-image .image-placeholder {
        width: 100%;
        max-width: 320px;
        display: flex;
        justify-content: center;
        /* ✅ CENTER */
    }

    .hero-image img {
        width: 100%;
        max-width: 320px;
        height: auto;
        border-radius: 12px;
    }

    /* TEXT */
    .hero-text {
        width: 100%;
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* ✅ CENTER */
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1rem;
        font-weight: 700;
        color: #fff;
        text-align: center;
    }

    .placement-header,
    .placement-count,
    .placement-separator,
    .placement-salary {
        display: none !important;
    }

    .placement-number {
        font-size: 14px;
        font-weight: 700;
        color: #FFA500;
        line-height: 1;
        margin-bottom: 2px;
    }

    .placement-text {
        font-size: 8px;
        color: #ccc;
        line-height: 1;
    }

    .hero-text p {
        font-size: 0.8rem;
        max-width: 100%;
        text-align: center;
        display: none;
    }

    .hero-subtitle {
        font-size: 14px;
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
        color: #fff;
    }

    /* OPTIONS */
    .background-options {
        width: 90%;
        display: flex;
        justify-content: center;
        gap: 10px;
        margin: 10px auto 0;
    }

    .bg-option {
        padding: 6px 12px;
        min-height: 40px;
        height: auto;
        font-size: 10px;
        flex: 1;
        /* Stretch to fill container */
        width: auto;
        justify-content: center;
    }

    .bg-option .text {
        white-space: normal;
        line-height: 1.2;
        text-align: left;
    }

    /* STATS */
    .stats-card {
        width: 90%;
        margin: 20px auto 0;
        padding: 10px 16px;
        background: rgba(139, 69, 19, 0.3);
        border: 1px solid rgba(255, 165, 0, 0.3);
        text-align: center;
    }

    .stats-number {
        font-size: 20px;
        color: #FFA500;
        font-weight: 700;
    }

    .stats-label {
        font-size: 10px;
        color: #FFA500;
    }

    /* BUTTON */
    .hero-btn {
        width: 90%;
        height: 48px;
        margin: 20px auto 0;
        font-size: 1rem;
        background: #dc143c;
        border-radius: 8px;
        font-weight: 600;
    }

    .form-section {
        padding-top: 0px;
        padding-bottom: 30px;
        /* Reduced to tighten gap with video section */
    }

    .video-section {
        padding-top: 30px;
        padding-bottom: 30px;
        /* Reduced gap with courses */
    }

    .courses {
        padding-top: 30px;
        /* Reduced gap from video section */
        padding-bottom: 30px;
        /* Reduced gap with success stories */
    }

    .success-stories-section {
        padding-top: 30px;
        /* Reduced gap from courses section */
    }
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

/* Trusted By */
.trusted-by {
    text-align: center;
    padding: 40px 0;
    opacity: 0.6;
}

.trusted-by p {
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-weight: 700;
    font-size: 1.2rem;
    flex-wrap: wrap;
}

/* Features */
.features {
    background: #0f0f11;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-secondary);
}

/* Courses */
.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns */
    gap: 30px;
}

@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

.course-card {
    background: var(--card-surface);
    background-image: var(--card-bg-gradient);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    box-shadow: 0 6px 18px rgba(2, 6, 10, 0.6);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(32, 31, 31, 0.75);
    border-color: rgba(148, 10, 10, 0.9);
}

.placement-header {
    width: 465px;
    max-width: 465px;
    height: 52px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    background: linear-gradient(115.06deg, rgba(255, 165, 0, 0.2) 0.82%, rgba(255, 165, 0, 0.2) 99.18%);
    border: 0.84px solid transparent;
    border-radius: 53.06px;
    backdrop-filter: blur(4.5px);
    position: relative;
    overflow: hidden;
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.placement-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 53.06px;
    padding: 0.84px;
    background: linear-gradient(299.8deg, rgba(255, 165, 0, 0.5) 19.01%, rgba(255, 165, 0, 0) 35.48%, rgba(255, 165, 0, 0) 50.87%, rgba(255, 165, 0, 0.5) 75.51%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.placement-count {
    font-size: 0.9rem;
    font-weight: 700;
    color: #FFA500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.placement-separator {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 165, 0, 0.5);
    position: relative;
    z-index: 1;
    margin: 0 8px;
}

.placement-salary {
    font-size: 0.9rem;
    font-weight: 700;
    color: #FFA500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.placement-number {
    font-size: 1rem;
    font-weight: 700;
}

.placement-text {
    font-size: 0.8rem;
    font-weight: 600;
}

.placement-label {
    display: none;
}

/* Accent bar on right */
.course-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(112, 6, 6, 0.749), rgba(118, 4, 4, 0.7));
    opacity: 0.0;
    transition: opacity .22s ease;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.course-card:hover::after {
    opacity: 1;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--card-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.meta {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    font-weight: 500;
}

.course-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.course-card p {
    color: var(--desc-color);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.course-card ul {
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
}

.course-card ul li {
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 5px 12px;
    border-radius: 6px;
    color: var(--text-secondary);
}

.btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    margin-top: auto;
    text-shadow: none;
}

.btn-outline:hover {
    background: transparent;
    color: #8b0000;
    border: none;
    transform: none;
    box-shadow: none;
    text-shadow: none;
}




/* Responsive */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        right: 0;
        background: #111;
        width: 100%;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: white;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Popup Modal Styles */
.popup-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.popup-modal.show {
    display: flex;
}

.popup-content {
    background: rgba(20, 20, 20, 0.9);
    margin: auto;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.popup-modal.show .popup-content {
    transform: scale(1);
    opacity: 1;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 25px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.popup-content h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.popup-content p {
    color: #ddd;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Success Stories Section */
.success-stories-section {
    padding: 80px 0;
    position: relative;
    background: transparent;
    overflow: hidden;
    /* Hide overflow from container */
}

.carousel-container {
    position: relative;
    height: 600px;
    /* Increased height for Story format (9:16) */
    width: 100%;
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track-container {
    height: 100%;
    width: 100%;
    /* Use full width for marquee flow */
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    /* Fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    display: flex;
    width: max-content;
    /* Allow track to grow for all items */
    /* Ensure overflow for manual scrolling */
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

/* Hide Scrollbar for Chrome/Safari */
.carousel-track-container::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    display: flex;
    width: max-content;
    /* Animation removed for JS hybrid approach */
}

/* Hover pause handled by JS now */
/* .carousel-track:hover {
    animation-play-state: paused;
} */

/* Keyframes removed - moved to JS logic */
/*
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
*/


.carousel-slide {
    position: relative;
    width: 340px;
    /* Approx 9:16 ratio relative to 600px height */
    height: 100%;
    flex-shrink: 0;
    padding: 0 15px;
}

.story-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    height: 500px;
    /* Reduced height to leave room for text below */
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-5px);
    border-color: rgba(162, 33, 1, 0.703);
}

.story-thumb,
.story-thumb-video {
    width: 100%;
    height: 100%;
    /* Make image fill the card */
    object-fit: cover;
    /* Crop to fit vertical aspect ratio */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.story-card:hover .story-thumb,
.story-card:hover .story-thumb-video {
    opacity: 1;
}

.story-card:hover .story-thumb {
    opacity: 1;
}

.story-info {
    position: relative;
    /* Moved relative to flow below card */
    width: 100%;
    padding: 15px 5px;
    text-align: left;
    color: #fff;
    background: transparent;
    /* No background */
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.story-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #ffa500;
}

.story-info p {
    font-size: 0.9rem;
    color: #ccc;
}

.play-button-small {
    position: absolute;
    top: 50%;
    /* Center in full card */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    /* Slightly larger for emphasis */
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.story-card:hover .play-button-small {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 1;
}



@media (max-width: 768px) {
    .carousel-slide {
        width: 300px;
        /* Smaller cards on mobile */
    }
}

.carousel-container.second-row {
    margin-top: -30px;
    /* Adjust overlap for taller cards */
}

.carousel-track.reverse-track {
    animation-direction: reverse;
}

/* Success Message Styles */
.form-success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    animation: fadeIn 0.5s ease-out;
}



.form-success-message h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
}

.form-success-message p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar Styles - Floating Pill Design */
.brototype-navbar {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1350px;
    height: 74px;
    background: linear-gradient(180deg, rgba(22, 24, 26, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    backdrop-filter: blur(12px);
}

.brototype-navbar.scrolled {
    top: 10px;
    height: 70px;
    background: rgba(11, 13, 15, 0.4);
    backdrop-filter: blur(16px);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 40px;
    height: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-phone-link {
    color: #fca311;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid #fca311;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    background: rgba(252, 163, 17, 0.05);
}

.nav-phone-link:hover {
    background: rgba(252, 163, 17, 0.15);
    transform: translateY(-1px);
}

.phone-icon {
    color: #fca311;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    font-family: 'Outfit', sans-serif;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
}

/* Phone Button */
.btn-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fca311;
    /* Brighter Gold */
    border: 1px solid rgba(252, 163, 17, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    background: rgba(252, 163, 17, 0.08);
    /* Subtle background */
}

.btn-phone:hover {
    background: rgba(252, 163, 17, 0.15);
    border-color: #fca311;
}

/* Nav Link Links */
.nav-links-group {
    display: flex;
    gap: 30px;
    margin: 0 15px;
}

.nav-link {
    text-decoration: none;
    color: #9ca3af;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #fff;
}

.btn-about {
    background-color: #ff2d2d;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-about:hover {
    background-color: #e62525;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 45, 45, 0.3);
}

/* Language Dropdown */
.lang-dropdown {
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
}

.mobile-hire-link {
    display: none;
}

.mobile-about-link {
    display: none;
}

.mobile-hire-only {
    display: none;
}

.lang-dropdown::after {
    content: '▾';
    font-size: 0.8rem;
    color: #9ca3af;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}


/* Mobile Responsive */

@media (max-width: 1200px) {
    .nav-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    .brototype-navbar {
        top: 5px !important;
        height: auto !important;
        padding: 12px 0 !important;
        border-radius: 20px !important;
    }

    .nav-wrapper {
        padding: 0 15px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 12px 0 !important;
    }

    /* Secret Sauce: Make containers invisible to flex but keep children as flex items */
    .nav-left,
    .nav-actions {
        display: contents !important;
    }

    /* Row 1: Logo (1) and About (2) */
    .nav-logo {
        order: 1 !important;
        width: 45% !important;
        display: flex !important;
    }

    .btn-about {
        order: 2 !important;
        width: calc(40% - 6px) !important;
        /* Matched to mobile-hire-link */
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        display: flex !important;
        justify-content: center !important;
        /* Ensure centered text */
        align-items: center !important;
        height: 38px !important;
        /* Match height for consistency */
    }

    /* Row 2: Phone (3) and Hire (4) */
    .nav-phone-link {
        order: 3 !important;
        width: calc(60% - 6px) !important;
        margin: 0 !important;
        height: 38px !important;
        padding: 0 10px !important;
        font-size: 0.7rem !important;
        border-radius: 30px !important;
        justify-content: center !important;
        display: flex !important;
    }

    .mobile-hire-link {
        display: flex !important;
        order: 4 !important;
        width: calc(40% - 6px) !important;
        height: 38px !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        color: #fff !important;
        font-size: 0.7rem !important;
        font-weight: 600 !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 30px !important;
        text-decoration: none !important;
    }

    /* Visibility overrides */
    .desktop-hire {
        display: none !important;
    }

    .logo-text {
        font-size: 1rem !important;
    }

    .phone-icon {
        width: 12px !important;
        height: 12px !important;
    }

    /* Overlay effect: Refined underlay, adjusted to 95px */
    .hero {
        padding: 125px 0 40px 0 !important;
    }

    /* Center Background Section */
    .hero-subtitle {
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .background-options {
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-text p {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }
}

/* Hanging Star Feature */
.question-mark-wrapper {
    position: relative;
    display: inline-block;
}

.hanging-star {
    position: absolute;
    top: 85%;
    /* Hangs from bottom of question mark */
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.4em;
    /* Smaller relative to text */
    color: #FFD700;
    /* Gold */
    transform-origin: top center;
    animation: swing 3s infinite ease-in-out;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

@keyframes swing {
    0% {
        transform: translateX(-50%) rotate(15deg);
    }

    50% {
        transform: translateX(-50%) rotate(-15deg);
    }

    100% {
        transform: translateX(-50%) rotate(15deg);
    }
}

/* Hanging Christmas Symbol */
.christmas-symbol-wrapper {
    position: relative;
    display: inline-block;
}

.hanging-symbol.bell {
    position: absolute;
    top: 65%;
    /* Hangs from center/bottom */
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.35em;
    /* Adjust size */
    color: transparent;
    text-shadow: 0 0 0 #800020;
    /* Grape/Dark Red */
    transform-origin: top center;
    animation: swing 3s infinite ease-in-out;
    filter: drop-shadow(0 0 3px rgba(128, 0, 32, 0.4));
    z-index: 1;
}