/* =============================================
   42 LEARN - Custom Brand Styles
   ============================================= */

/* ===== CSS Variables ===== */
:root {
    --color-dark: #1E363F;
    --color-primary: #196080;
    --color-secondary: #3B80A6;
    --color-accent: #26B3C0;
    --color-accent-light: #97DDE1;
    --color-surface-light: #C2EBEB;
    --color-white: #ffffff;
    --color-gold: #E8B44B;
    --color-gold-dark: #3D3270;
    
    /* Fonts */
    --font-heading: 'Domine', serif;
    --font-body: 'Lato', sans-serif;
}

/* ===== Base Typography ===== */
body {
    font-family: var(--font-body);
    color: var(--color-dark);
    padding-top: 0; /* No padding - overlay is full screen, navbar hidden initially */
}

/* ============================================
   GLOBAL BRAND OVERRIDES FOR ALL SECTIONS
   ============================================ */

/* Sub-titles - Accent Teal */
.sub-title {
    color: var(--color-accent) !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Main Titles - Primary Blue with Domine */
.section-title .title,
.service-course-area .title,
.parse-option-area .title,
.future-generations .title,
.team-area .title,
.testimonial-area .title,
.contact-area .title,
.blog-area .title {
    color: var(--color-primary) !important;
    font-family: var(--font-heading) !important;
}

.section-title .title span {
    color: var(--color-accent) !important;
}

/* Buttons - Gold Brand Color */
.btn-base,
.btn-border-base {
    background: var(--color-gold) !important;
    border-color: var(--color-gold) !important;
    color: var(--color-dark) !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    border-radius: 50px 50px 50px 0 !important;
    transition: all 0.3s ease !important;
}

.btn-base:hover,
.btn-border-base:hover {
    background: #d4a043 !important;
    border-color: #d4a043 !important;
    transform: translateY(-2px) !important;
}

/* Service Course Area */
.service-course-area .bg-yellow {
    background: var(--color-gold) !important;
}

/* Future Generations Cards - Brand Colors */
.future-generations-inner.color-light-pink {
    background: var(--color-surface-light) !important;
}

.future-generations-inner.color-light-blue {
    background: var(--color-accent-light) !important;
}

.future-generations-inner.color-light-yellow {
    background: #FFF5DC !important;
}

.future-generations-inner.color-light-purple {
    background: #E8F4F6 !important;
}

/* Right Arrow Links */
.right-arrow-text {
    color: var(--color-accent) !important;
    font-weight: 600 !important;
}

.right-arrow-text:hover {
    color: var(--color-primary) !important;
}

/* Subscribe Area */
.footer-subscribe-inner {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0f3c50 100%) !important;
}

/* Team Area */
.single-team-inner .details h5 a {
    color: var(--color-dark) !important;
    font-family: var(--font-heading) !important;
}

.single-team-inner .details h5 a:hover {
    color: var(--color-accent) !important;
}

.team-social-inner li a {
    background: var(--color-accent) !important;
}

.team-social-inner li a:hover {
    background: var(--color-primary) !important;
}

/* Testimonial Area */
.testimonial-area .ratting-inner i {
    color: var(--color-gold) !important;
}

.single-testimonial-inner {
    border-color: var(--color-surface-light) !important;
}

.single-testimonial-inner h5 {
    color: var(--color-dark) !important;
    font-family: var(--font-heading) !important;
}

/* Contact Area */
.contact-area {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0f3c50 100%) !important;
}

.contact-area .style-white .title {
    color: #ffffff !important;
}

.contact-area .style-white .title span {
    color: var(--color-gold) !important;
}

.contact-area .style-white .sub-title {
    color: var(--color-accent-light) !important;
}

/* Blog Area */
.single-blog-list .details h4 a {
    color: var(--color-dark) !important;
    font-family: var(--font-heading) !important;
}

.single-blog-list .details h4 a:hover {
    color: var(--color-accent) !important;
}

/* Course Cards Override */
.single-course-inner .course-cat {
    background: var(--color-accent) !important;
}

.single-course-inner .right-arrow-text {
    color: var(--color-accent) !important;
}

/* Footer */
.footer-area {
    background: var(--color-secondary) !important;
}

h1, h2, h3, h4, h5, h6,
.title, .widget-title, .course-title {
    font-family: var(--font-heading);
    color: var(--color-dark);
}

/* ===== Links ===== */
a { 
    color: var(--color-primary); 
    transition: color 0.3s ease;
}
a:hover { 
    color: var(--color-accent); 
}

/* ===== Primary Buttons ===== */
.btn-base, .btn-primary {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}
.btn-base:hover, .btn-primary:hover {
    background: var(--color-dark) !important;
    border-color: var(--color-dark) !important;
}

/* =============================================
   GLASSY NAVBAR
   ============================================= */
.navbar-42 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 54, 63, 0.1);
    padding: 16px 0;
    transform: translateY(-100%); /* Hidden above viewport initially */
    transition: transform 0.4s ease;
}

.navbar-42.navbar-visible {
    transform: translateY(0); /* Slide down when visible */
}

.navbar-42 .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.navbar-42 .logo img {
    max-height: 45px;
}

/* Centered Menu */
.navbar-42 .nav-menu {
    display: flex;
    align-items: center;
    gap: 48px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-42 .nav-menu li a {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.navbar-42 .nav-menu li a:hover {
    color: var(--color-primary);
}

/* ===== Apply Now Button - Yellow/Gold Style ===== */
.btn-apply-now {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-gold-dark) !important;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 14px 36px;
    border-radius: 50px 50px 50px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 180, 75, 0.3);
    position: relative;
    border: 2px solid transparent;
    background-image: linear-gradient(var(--color-gold), var(--color-gold)), 
                      linear-gradient(90deg, #4285f4, #ea4335, #fbbc04, #34a853, #4285f4);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-size: 100% 100%, 400% 100%;
    animation: border-flow 3s linear infinite;
}

@keyframes border-flow {
    0% {
        background-position: 0 0, 0% 0;
    }
    100% {
        background-position: 0 0, 400% 0;
    }
}

.btn-apply-now:hover {
    background: #d4a043;
    color: var(--color-gold-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 180, 75, 0.4);
}

.btn-apply-now:hover::after {
    background: #d4a043;
}

/* ===== Programs Submenu ===== */
.navbar-42 .nav-menu li.has-submenu {
    position: relative;
}

.navbar-42 .nav-menu li.has-submenu > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-42 .nav-menu li.has-submenu > a i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.navbar-42 .nav-menu li.has-submenu:hover > a i {
    transform: rotate(180deg);
}

.navbar-42 .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    min-width: 300px;
    padding: 16px 0;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    list-style: none;
    z-index: 9999;
    margin: 0;
}

.navbar-42 .nav-menu li.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.navbar-42 .submenu li {
    margin: 0;
    padding: 0;
}

.navbar-42 .submenu li a {
    display: block;
    padding: 12px 24px;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1E363F !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.navbar-42 .submenu li a:hover {
    background: #C2EBEB;
    color: #196080 !important;
    padding-left: 28px;
}

.navbar-42 .submenu li.submenu-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 8px 20px;
}

/* Mobile menu toggle */
.navbar-42 .mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.navbar-42 .mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    margin: 5px 0;
    transition: 0.3s;
}

.navbar-42 .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-42 .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-42 .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.navbar-42 .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(30, 54, 63, 0.1);
    max-height: 80vh;
    overflow-y: auto;
}

.navbar-42 .mobile-menu.active {
    display: block;
}

.navbar-42 .mobile-menu > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar-42 .mobile-menu > ul > li {
    border-bottom: 1px solid #eee;
}

.navbar-42 .mobile-menu > ul > li > a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.navbar-42 .mobile-menu > ul > li:last-child {
    border-bottom: none;
}

.navbar-42 .mobile-menu > ul > li > a:hover {
    color: var(--color-primary);
}

/* Mobile Submenu (Programs - open by default) */
.navbar-42 .mobile-menu .mobile-submenu-title {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-42 .mobile-menu .mobile-submenu {
    list-style: none;
    padding: 0 0 10px 16px;
    margin: 0;
}

.navbar-42 .mobile-menu .mobile-submenu li a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: #5a6a72;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: none;
}

.navbar-42 .mobile-menu .mobile-submenu li a:hover {
    color: var(--color-primary);
}

.navbar-42 .mobile-menu .mobile-submenu li a.view-all-link {
    color: var(--color-primary);
    font-weight: 700;
    padding-top: 12px;
}

/* Mobile Apply Now Button */
.navbar-42 .mobile-menu .mobile-apply-btn {
    padding-top: 16px;
    border-bottom: none;
}

.navbar-42 .mobile-menu .mobile-apply-btn a {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-gold-dark) !important;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 50px 50px 50px 0;
    text-decoration: none;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    background-image: linear-gradient(var(--color-gold), var(--color-gold)), 
                      linear-gradient(90deg, #4285f4, #ea4335, #fbbc04, #34a853, #4285f4);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-size: 100% 100%, 400% 100%;
    animation: border-flow 3s linear infinite;
}

/* =============================================
   HERO/BANNER CUSTOMIZATIONS
   ============================================= */
/* Use theme's banner styles - customizations only */
.banner-area h2 span {
    color: var(--color-accent);
}

.btn-yellow {
    background: var(--color-gold) !important;
    color: var(--color-dark) !important;
}

/* Align banner text with logo */
.banner-area .banner-1-top {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Placements Slider */
.banner-area-1 .banner-1-top {
    padding-bottom: 64px !important; /* Reduced by 25% from 85px */
}

.banner-1-top .row {
    min-height: 280px;
}

/* Hero plus pattern background */
.banner-area-1 {
    position: relative;
}

.banner-area-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C2EBEB' fill-opacity='0.22'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.banner-area-1 > .container {
    position: relative;
    z-index: 1;
}

/* Form Icon Badge - Inside card top right */
.form-icon-badge {
    display: inline-flex;
    align-items: center;
    background: var(--color-gold);
    padding: 12px 24px;
    border-radius: 50px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(232, 180, 75, 0.4);
}

.form-icon-badge span {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enquiry Form Card - Dark Gradient Style */
.enquiry-form-card {
    background: linear-gradient(135deg, #196080 0%, #0f3c50 100%);
    border-radius: 48px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: visible;
    border: 6px solid transparent;
    background-image: linear-gradient(135deg, #196080 0%, #0f3c50 100%), 
                      linear-gradient(90deg, #4285f4, #ea4335, #fbbc04, #34a853, #4285f4);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-size: 100% 100%, 400% 100%;
    animation: form-flare 6s linear forwards;
}

@keyframes form-flare {
    0% {
        background-position: 0 0, 0% 0;
    }
    100% {
        background-position: 0 0, 400% 0;
    }
}

/* Decorative blurred circles */
.enquiry-form-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(38, 179, 192, 0.3);
    border-radius: 50%;
    filter: blur(60px);
}

.enquiry-form-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: rgba(59, 128, 166, 0.3);
    border-radius: 50%;
    filter: blur(50px);
}

.enquiry-form-card h4 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.enquiry-form-card .form-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.enquiry-form-card form {
    position: relative;
    z-index: 1;
}

/* Form Field Wrapper - Inline Style */
.form-field-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form-field-wrapper:hover,
.form-field-wrapper:focus-within {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.form-field-wrapper .field-label {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    padding-right: 12px;
}

.form-field-wrapper .field-divider {
    width: 1px;
    height: 24px;
    background: #e5e7eb;
    margin-right: 12px;
}

.form-field-wrapper .field-select,
.form-field-wrapper .field-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    outline: none;
    padding: 8px 0;
}

.form-field-wrapper .field-select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23196080' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 20px;
}

.form-field-wrapper .field-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* Form Submit Button - Gold like Apply Now */
.form-submit-btn {
    width: 100%;
    background: var(--color-gold);
    color: var(--color-gold-dark);
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 180, 75, 0.4);
}

.form-submit-btn:hover {
    background: #d4a043;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 180, 75, 0.5);
}

.form-submit-btn i {
    font-size: 14px;
}

/* Testimonial Card */
.testimonial-card {
    background: var(--color-accent-light);
    color: var(--color-dark);
    border-radius: 48px 48px 8px 48px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 120px;
    font-weight: 400;
    opacity: 0.25;
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--color-dark);
    line-height: 1;
}

.testimonial-card .testimonial-text {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .author-line {
    width: 40px;
    height: 3px;
    background: var(--color-dark);
}

.testimonial-card .author-name {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.placements-slider-wrapper {
    padding-left: 20px;
    position: relative;
}

.placements-slider .placement-slide {
    background: linear-gradient(135deg, #E8B44B 0%, #d4a43e 100%);
    border-radius: 16px;
    padding: 6px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.placements-slider .placement-slide:hover {
    transform: none;
}

.placements-slider .placement-slide img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}

.placements-slider .placement-name {
    background: #ffffff;
    padding: 12px 15px;
    border-radius: 10px;
    margin-top: 6px;
    font-family: 'Domine', serif;
    font-size: 20px;
    color: #1E363F;
    font-weight: 600;
}

.placements-slider .placement-name span {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #196080;
    margin-top: 4px;
}

/* Slider Navigation Arrows */
.placements-slider .owl-nav {
    display: flex !important;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: -15px;
    right: -15px;
    transform: translateY(-50%);
    pointer-events: none;
}

.placements-slider .owl-nav button {
    width: 40px;
    height: 40px;
    background: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.placements-slider .owl-nav button:hover {
    background: #196080 !important;
    color: #ffffff;
}

.placements-slider .owl-nav button i {
    font-size: 14px;
    color: #196080;
}

.placements-slider .owl-nav button:hover i {
    color: #ffffff;
}

/* Tablet slider adjustments (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .banner-area-1 .banner-1-top {
        padding-bottom: 30px !important;
    }
    
    .banner-1-top h2 {
        font-size: 3rem;
        text-align: center !important;
    }
    
    .banner-1-top .b-content {
        font-size: 1.25rem;
        text-align: center !important;
    }
    
    .placements-slider-wrapper {
        padding: 20px 30px 0 30px;
        max-width: 100%;
    }
    
    .placements-slider .placement-slide img {
        height: 120px;
    }
    
    .placements-slider .placement-name {
        font-size: 14px;
        padding: 8px 10px;
    }
    
    .placements-slider .placement-name span {
        font-size: 12px;
    }
}

/* Large mobile adjustments (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .banner-1-top h2 {
        font-size: 2.5rem;
        text-align: center !important;
    }
    
    .banner-1-top .b-content {
        font-size: 1.1rem;
        text-align: center !important;
    }
    
    .placements-slider-wrapper {
        padding: 20px 40px 0 40px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .placements-slider .placement-slide img {
        height: 140px;
    }
    
    .placements-slider .placement-name {
        font-size: 16px;
        padding: 10px 12px;
    }
    
    .placements-slider .placement-name span {
        font-size: 14px;
    }
}

/* Small mobile slider adjustments (below 576px) */
@media (max-width: 575px) {
    .banner-area-1 .banner-1-top {
        padding-bottom: 30px !important;
    }
    
    .banner-1-top .row {
        min-height: auto;
    }
    
    .banner-1-top h2 {
        font-size: 1.75rem;
        text-align: center !important;
    }
    
    .banner-1-top .b-content {
        font-size: 0.95rem;
        text-align: center !important;
    }
    
    .placements-slider-wrapper {
        padding: 20px 40px 0 40px;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .placements-slider .owl-nav {
        left: -30px;
        right: -30px;
    }
    
    .placements-slider .placement-slide {
        margin: 0;
    }
    
    .placements-slider .placement-slide img {
        height: 160px;
    }
    
    .placements-slider .placement-name {
        font-size: 16px;
    }
    
    .placements-slider .placement-name span {
        font-size: 14px;
    }
}

/* Vary background colors with gradients */
.placements-slider .owl-item:nth-child(3n+1) .placement-slide { 
    background: linear-gradient(135deg, #E8B44B 0%, #d4a43e 100%); 
}
.placements-slider .owl-item:nth-child(3n+2) .placement-slide { 
    background: linear-gradient(135deg, #26B3C0 0%, #1a9aa6 100%); 
}
.placements-slider .owl-item:nth-child(3n) .placement-slide { 
    background: linear-gradient(135deg, #3B80A6 0%, #2d6a8a 100%); 
}

.placements-slider .owl-dots {
    text-align: center;
    margin-top: 15px;
}

.placements-slider .owl-dot {
    width: 8px;
    height: 8px;
    background: #C2EBEB;
    border-radius: 50%;
    margin: 0 4px;
    display: inline-block;
    border: none;
    transition: all 0.3s ease;
}

.placements-slider .owl-dot.active {
    background: #196080;
    width: 24px;
    border-radius: 4px;
}

.placements-slider .owl-nav {
    display: none;
}

/* =============================================
   FOOTER
   ============================================= */
.footer-42 {
    background: var(--color-secondary);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .navbar-42 .nav-menu {
        display: none;
    }
    
    .navbar-42 .mobile-toggle {
        display: block;
    }
    
    .navbar-42 .nav-actions .btn-apply-now {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    body {
        padding-top: 70px;
    }
}

@media (max-width: 767px) {
    .navbar-42 .nav-container {
        padding: 0 16px;
    }
    
    .navbar-42 .logo img {
        max-height: 36px;
    }
    
    .navbar-42 .nav-actions .btn-apply-now {
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* Tablet (768px-991px): Show Apply Now in header beside burger, hide in mobile menu */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-42 .nav-actions {
        display: flex !important;
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .navbar-42 .nav-actions .btn-apply-now {
        font-size: 13px;
        padding: 10px 18px;
    }
    
    .navbar-42 .mobile-menu .mobile-apply-btn {
        display: none;
    }
    
    /* Form and testimonial full width */
    .enquiry-form-card {
        padding: 30px;
    }
    
    .row.g-4.align-items-stretch > .col-lg-7,
    .row.g-4.align-items-stretch > .col-lg-5 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .testimonial-card {
        margin-top: 20px;
    }
}

/* Hide Apply Now in header below 360px - only show in mobile menu */
@media (max-width: 360px) {
    .navbar-42 .nav-actions {
        display: none;
    }
    
    .navbar-42 .logo img {
        max-height: 32px;
    }
    
    .navbar-42 .nav-container {
        padding: 0 12px;
    }
}

/* Hide Apply Now in burger menu when it's visible in header (above 360px) */
@media (min-width: 361px) and (max-width: 991px) {
    .navbar-42 .mobile-menu .mobile-apply-btn {
        display: none !important;
    }
}

/* ============================================
   COMPANIES LOGOS SECTION
   ============================================ */
#hiring-companies {
    background-color: #ffffff !important;
}

/* ============================================
   PROGRAMS SECTION
   ============================================ */
.programs-area {
    background-color: #EFFBFB; /* #C2EBEB - brand light teal */
    padding: 80px 0;
}

.program-card-wrapper {
    height: 100%;
}

.program-card {
    background: #ffffff;
    border-radius: 0 48px 0 0; /* Only top-right corner curved */
    padding: 30px 25px;
    text-align: left;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.program-icon {
    position: relative;
    width: 140px;
    height: 120px;
    margin-left: auto;
    margin-bottom: 24px;
}

/* The D shape background - flat bottom, rounded top */
.program-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F1F4F9; /* #97DDE1 - brand accent light */
    border-radius: 70px 70px 0 0; /* Rounded top, flat bottom */
    z-index: 0;
}

/* The illustration sits on top */
.program-icon img {
    position: relative;
    z-index: 1;
    max-width: 110%;
    max-height: 110%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.program-card:hover .program-icon img {
    transform: translateY(-8px);
}

.program-title {
    font-family: 'Domine', serif;
    font-size: 20px;
    font-weight: 700;
    color: #1E363F;
    margin-bottom: 16px;
    line-height: 1.3;
}

.program-desc {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: #5a6a72;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.program-link {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #26B3C0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.program-link:hover {
    color: #196080;
    gap: 12px;
}

.program-link i {
    font-size: 12px;
}

/* Programs Slider Wrapper */
.programs-slider-wrapper {
    position: relative;
    padding-bottom: 60px;
}

.programs-slider {
    padding: 10px 5px;
}

/* Hide default Owl nav */
.programs-slider .owl-nav {
    display: none !important;
}

/* Navigation Arrows - SVG style */
.programs-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.programs-nav button {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.programs-nav button img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.programs-nav button:hover img {
    transform: scale(1.1);
}

/* Hide arrows on desktop (above 991px) */
@media (min-width: 992px) {
    .programs-nav {
        display: none;
    }
}

/* ============================================
   CAREERS FOR EVERYONE SECTION
   ============================================ */
.careers-area {
    background: #ffffff;
    padding: 100px 0;
}

.careers-content {
    max-width: 600px;
}

.careers-headline {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: 24px;
}

.careers-headline .highlight {
    background: var(--color-gold) !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    color: var(--color-primary) !important;
}

.careers-headline .accent {
    color: var(--color-primary);
    font-style: italic;
}

.careers-desc {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: #5a6a72;
    margin-bottom: 32px;
}

.careers-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-get-started {
    background: var(--color-primary);
    color: #ffffff !important;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 96, 128, 0.3);
}

.btn-get-started:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(25, 96, 128, 0.4);
}

.btn-view-placements {
    background: #ffffff;
    color: var(--color-dark) !important;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-placements:hover {
    background: #f8fafc;
}

/* Career Cards */
.careers-cards-wrapper {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 48px;
    padding: 16px;
    width: 260px;
    box-shadow: 0 8px 32px rgba(25, 95, 128, 0.12);
    transition: transform 0.3s ease;
}

.career-card:hover {
    transform: translateY(-8px);
}

.career-card.card-1 {
    top: 20px;
    right: 0;
    transform: rotate(3deg);
    z-index: 2;
}

.career-card.card-2 {
    bottom: 40px;
    left: 0;
    transform: rotate(-6deg);
    z-index: 1;
}

.career-card-img {
    width: 100%;
    height: 180px;
    border-radius: 36px;
    overflow: hidden;
    background: var(--color-primary);
    margin-bottom: 16px;
}

.career-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.career-card-info {
    padding: 0 8px 8px;
}

.career-card-info h5 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.career-card-info .company {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
}

.career-card-info .package {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0;
}

/* Responsive for Careers Section */
@media (max-width: 991px) {
    .careers-area {
        padding: 60px 0;
    }
    
    .careers-headline {
        font-size: 36px;
        text-align: center;
    }
    
    .careers-desc {
        text-align: center;
    }
    
    .careers-buttons {
        justify-content: center;
    }
    
    .careers-cards-wrapper {
        height: 350px;
        margin-bottom: 40px;
    }
    
    .career-card {
        width: 220px;
    }
    
    .career-card.card-1 {
        top: 10px;
        right: 10%;
    }
    
    .career-card.card-2 {
        bottom: 20px;
        left: 10%;
    }
}

@media (max-width: 576px) {
    .careers-headline {
        font-size: 28px;
    }
    
    .careers-desc {
        font-size: 16px;
    }
    
    .careers-cards-wrapper {
        height: 300px;
    }
    
    .career-card {
        width: 180px;
        border-radius: 32px;
        padding: 12px;
    }
    
    .career-card-img {
        height: 100px;
        border-radius: 24px;
    }
    
    .career-card-info h5 {
        font-size: 14px;
    }
    
    .career-card-info .company {
        font-size: 11px;
    }
    
    .career-card-info .package {
        font-size: 14px;
    }
}

/* Responsive for programs */
@media (max-width: 991px) {
    .programs-area {
        padding: 60px 0;
    }
    
    .program-card {
        padding: 25px 20px;
    }
}

@media (max-width: 767px) {
    .programs-area {
        padding: 50px 0;
    }
    
    .program-icon {
        width: 100px;
        height: 85px;
    }
    
    .program-title {
        font-size: 18px;
    }
    
    .programs-nav button {
        font-size: 18px;
    }
}


#hiring-companies .container {
    max-width: 95%;
}

.companies-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px 40px;
}

.companies-logos-grid img {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: grayscale(0);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.companies-logos-grid img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive adjustments for company logos */
@media (max-width: 768px) {
    .companies-logos-grid {
        gap: 20px 30px;
    }
    
    .companies-logos-grid img {
        height: 90px;
    }
}

@media (max-width: 576px) {
    .companies-logos-grid {
        gap: 15px 20px;
    }
    
    .companies-logos-grid img {
        height: 70px;
    }
}

/* ============================================
   STACKING CARDS SECTION
   ============================================ */
.stacking-cards-container {
    position: relative;
    width: 100%;
    background: #1a1a2e; /* Dark background */
}

.stacking-card-wrapper {
    height: 100vh; /* Each wrapper is full viewport height */
    position: relative;
}

.stacking-card {
    position: sticky;
    bottom: 0;
    width: 100%;
    height: 100vh; /* Card fills the viewport */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 48px 48px 0 0; /* Rounded top corners */
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.stacking-card.card-1 {
    background: #FFF8E7; /* Warm cream */
}

.stacking-card.card-2 {
    background: #E8F4F8; /* Light teal */
}

.stacking-card-content {
    width: 100%;
    max-width: 1200px;
    padding: 60px;
    text-align: center;
    color: #333;
    position: relative;
    z-index: 10;
}

/* ============================================
   THREE TINTED SECTIONS
   ============================================ */
.tinted-sections {
    width: 100%;
}

.tinted-section {
    position: relative;
    width: 100%;
    min-height: 33vh;
    display: flex;
    align-items: center;
    padding: 40px 60px;
    overflow: hidden;
}

/* ============================================
   ENERGY PROGRAMS SECTION
   ============================================ */
.energy-programs-area {
    background-color: #f8f9fa;
}

.energy-program-card {
    background: #fff;
    border-radius: 0 48px 0 0; /* Top-right 48px only */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.energy-program-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.energy-program-card .card-image {
    position: relative;
    overflow: hidden;
}

.energy-program-card .card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.energy-program-card .card-ribbon {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.energy-program-card .card-content {
    padding: 24px;
}

.energy-program-card .card-content h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.energy-program-card .card-content p {
    font-family: var(--font-body);
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.energy-program-card .card-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.energy-program-card .card-link:hover {
    gap: 12px;
}

/* Energy Programs Navigation */
.energy-programs-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.energy-programs-nav button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.energy-programs-nav button:focus {
    outline: none;
}

.energy-programs-nav button img {
    width: 50px;
    height: auto;
    display: block;
}

/* Hide default Owl Carousel arrows */
.energy-programs-slider .owl-nav {
    display: none !important;
}

/* Hide navigation on desktop when 4 cards visible */
@media (min-width: 992px) {
    .energy-programs-nav {
        display: none;
    }
}

.tinted-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* Section 1 - Background image only */
.tinted-section.section-1 {
    background: url('../img/3programs/1.png') center/cover no-repeat;
}

/* Section 2 - Background image only */
.tinted-section.section-2 {
    background: url('../img/3programs/2.png') center/cover no-repeat;
}

/* Section 3 - Background image only */
.tinted-section.section-3 {
    background: url('../img/3programs/3.png') center/cover no-repeat;
}

/* Tinted overlays at 95% opacity */
.tinted-section.section-1 .tinted-overlay {
    background: rgba(25, 96, 128, 0.90);
}
.tinted-section.section-2 .tinted-overlay {
    background: rgba(38, 179, 192, 0.90);
}
.tinted-section.section-3 .tinted-overlay {
    background: rgba(218, 165, 32, 0.90);
}

/* Section 2 - Center aligned */
.tinted-section.section-2 {
    justify-content: center;
}
.tinted-section.section-2 .tinted-content {
    text-align: center;
}

/* Section 3 - Right aligned */
.tinted-section.section-3 {
    justify-content: flex-end;
}
.tinted-section.section-3 .tinted-content {
    text-align: right;
}

/* Mobile: All sections centered below 767px */
@media (max-width: 767px) {
    .tinted-section,
    .tinted-section.section-1,
    .tinted-section.section-2,
    .tinted-section.section-3 {
        position: relative !important;
        transform: none !important;
        opacity: 1 !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 40px 20px !important;
        min-height: 60vh !important;
    }
    .tinted-section .tinted-content,
    .tinted-section.section-1 .tinted-content,
    .tinted-section.section-2 .tinted-content,
    .tinted-section.section-3 .tinted-content {
        text-align: center !important;
    }
}

/* ============================================
   SERVICE COURSE AREA CUSTOMIZATIONS
   ============================================ */
/* SheBuilds Title - Same size as Careers headline */
.shebuilds-title {
    font-family: var(--font-heading) !important;
    font-size: 52px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: var(--color-dark) !important;
}

.shebuilds-title .highlight {
    background: var(--color-gold);
    padding: 0 12px;
    border-radius: 12px;
    color: var(--color-primary);
}

@media (max-width: 991px) {
    .shebuilds-title {
        font-size: 36px !important;
    }
}

@media (max-width: 767px) {
    .shebuilds-title {
        font-size: 28px !important;
    }
}

.service-card-48 {
    border-radius: 48px !important;
}

.service-img-square {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
}

.service-course-thumb-full {
    position: relative;
    height: 100%;
}

.service-img-full-height {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; /* No rounded corners */
}

/* Mobile: Square image */
@media (max-width: 991px) {
    .service-img-full-height {
        aspect-ratio: 1 / 1;
        height: auto;
    }
}

.single-check-inner li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.single-check-inner li i {
    flex-shrink: 0;
}

/* Know More Button */
.tinted-content .btn-know-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: var(--color-primary);
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.tinted-content .btn-know-more:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tinted-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 600px;
}

.tinted-content .section-badge {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.tinted-content h3 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.tinted-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

/* =============================================
   INTRO OVERLAY - Horizontal Scroll Section
   ============================================= */

#intro-overlay {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: white;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

/* =============================================
   PARSE OPTION - Image & Ratings
   ============================================= */
.parse-option-img-col {
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.parse-option-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 991px) {
    .parse-option-img-col {
        min-height: 300px;
    }
}

/* Rating badge - horizontal pill */
.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary) !important;
    padding: 12px 20px;
    border-radius: 12px;
    line-height: 1;
    white-space: nowrap;
}

.rating-badge i.fa-star,
.rating-badge .fa-star {
    color: var(--color-gold) !important;
    font-size: 24px !important;
}

.rating-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
}

/* =============================================
   STUDENT SUCCESS STORIES - Horizontal Scroll
   ============================================= */
.success-stories-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 10px 0 20px;
}

.success-stories-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.success-stories-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
    padding: 10px 0;
}

.success-stories-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.success-stories-track {
    display: flex;
    gap: 24px;
    padding: 0 60px 0 60px;
    width: max-content;
}

/* Default card */
.story-card {
    flex-shrink: 0;
    width: 340px;
    background: #ffffff;
    border-radius: 48px;
    padding: 30px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Featured card - gold */
.story-card-featured {
    background: var(--color-gold);
    border: none;
    color: #ffffff;
    padding: 35px;
    min-height: 320px;
}

.story-card-featured .story-text {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.6;
}

.story-card-featured .story-name {
    color: #ffffff;
}

.story-card-featured .story-role {
    color: rgba(255, 255, 255, 0.7);
}

/* Video testimonial card */
.story-card-video {
    position: relative;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.story-video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 48px;
}

.story-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 100%);
    border-radius: 48px;
    transition: background 0.3s ease;
}

.story-card-video:hover .story-video-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.75) 100%);
}

.story-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.3s ease;
}

.story-card-video:hover .story-video-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.story-video-info {
    position: absolute;
    bottom: 28px;
    left: 30px;
    right: 30px;
    z-index: 2;
}

.story-video-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.story-video-role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.story-quote {
    font-size: 60px;
    line-height: 1;
    opacity: 0.3;
    margin-bottom: 10px;
    font-family: Georgia, serif;
}

.story-text {
    font-family: var(--font-body);
    font-size: 15px;
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.story-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

.story-role {
    font-family: var(--font-body);
    font-size: 13px;
    color: #888;
    margin: 4px 0 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .success-stories-track {
        padding: 0 30px 0 0;
    }
}

@media (max-width: 767px) {
    .success-stories-track {
        padding: 0 20px 0 0;
        gap: 16px;
    }

    .story-card {
        width: 280px;
        padding: 24px;
    }

    .story-card-featured {
        padding: 28px;
        min-height: 280px;
    }

    .story-card-featured .story-text {
        font-size: 17px;
    }
}

/* Stories navigation arrows */
.stories-nav-container {
    position: relative;
}

.stories-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--color-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.stories-arrow:hover {
    background: var(--color-gold);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.stories-arrow-left {
    left: 20px;
}

.stories-arrow-right {
    right: 20px;
}

@media (max-width: 767px) {
    .stories-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .stories-arrow-left {
        left: 10px;
    }

    .stories-arrow-right {
        right: 10px;
    }
}

/* =============================================
   INTRO OVERLAY
   ============================================= */

/* White rounded card container */
.intro-white-card {
    background:var(--color-secondary);
    border-radius: 32px;
    width: 100%;
    max-width: 1800px;
    height: calc(100vh - 80px); /* Full height minus padding */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    padding: 40px 50px 40px 50px;
    box-sizing: border-box;
}

/* Header: Logo + Heading side by side */
.intro-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    flex-shrink: 0;
}

.intro-logo {
    flex-shrink: 0;
}

.intro-logo img {
    height: 90px;
    width: auto;
}

.intro-header-text {
    display: flex;
    flex-direction: column;
}

.intro-heading {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin: 0 0 8px 0;
}

.intro-subheading {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    color: var(--color-gold);
    line-height: 1.3;
    margin: 0;
}

/* Blue inner area for heading text */
.intro-header {
    background: var(--color-secondary);
    border-radius: 24px;
    padding: 30px 40px;
}

/* Desktop: 2x logo & text, centered */
@media (min-width: 992px) {
    .intro-header {
        justify-content: center;
        text-align: left;
    }

    .intro-logo img {
        height: 120px;
    }

    .intro-heading {
        font-size: 64px;
    }

    .intro-subheading {
        font-size: 40px;
    }
}

/* .intro-logo img { 
    42white.png is already white, no filter needed 
}*/

/* Cards viewport - clips the overflow */
.intro-cards-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 0; /* Allow flex child to shrink */
}

/* Cards track - horizontal strip */
.intro-cards-track {
    display: flex;
    gap: 30px;
    height: 100%;
    align-items: center;
    will-change: transform;
}

/* Individual student card */
.intro-student-card {
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.intro-card-border {
    background: var(--color-gold);
    border-radius: 20px;
    padding: 8px;
    width: 440px;
    max-height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.intro-card-border:hover {
    transform: translateY(-5px);
}

/* Shuffle brand colors across cards */
.intro-student-card:nth-child(1) .intro-card-border { background: var(--color-gold); }
.intro-student-card:nth-child(2) .intro-card-border { background: var(--color-primary); }
.intro-student-card:nth-child(3) .intro-card-border { background: var(--color-accent); }
.intro-student-card:nth-child(4) .intro-card-border { background: var(--color-gold-dark); }
.intro-student-card:nth-child(5) .intro-card-border { background: var(--color-secondary); }
.intro-student-card:nth-child(6) .intro-card-border { background: var(--color-accent-light); }
.intro-student-card:nth-child(7) .intro-card-border { background: var(--color-gold); }
.intro-student-card:nth-child(8) .intro-card-border { background: var(--color-primary); }

.intro-card-img {
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.intro-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.intro-card-info {
    background: #ffffff;
    padding: 20px 20px;
    border-radius: 0 0 16px 16px;
    text-align: center;
}

.intro-card-info h4 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 6px 0;
}

.intro-card-info p {
    font-family: var(--font-body);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

/* Scroll indicator button */
.intro-scroll-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gold);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.intro-scroll-btn.visible {
    opacity: 1;
    visibility: visible;
    animation: introScrollBounce 2s ease-in-out infinite;
}

.intro-scroll-btn i {
    font-size: 16px;
    animation: introArrowBounce 2s ease-in-out infinite;
}

@keyframes introScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes introArrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Mid-range screens: scale cards between mobile and full desktop */
@media (min-width: 992px) and (max-width: 1400px) {
    .intro-card-border {
        width: 340px;
    }

    .intro-card-info {
        padding: 16px 16px;
    }

    .intro-card-info h4 {
        font-size: 22px;
    }

    .intro-card-info p {
        font-size: 18px;
    }

    .intro-cards-track {
        gap: 24px;
    }
}

/* Mobile responsive for intro overlay */
@media (max-width: 991px) {
    #intro-overlay {
        padding: 25px;
    }

    .intro-white-card {
        padding: 25px 25px 25px 25px;
        border-radius: 24px;
    }

    .intro-header {
        flex-direction: column;
        gap: 10px;
        padding: 20px 25px;
        text-align: center;
        align-items: center;
    }

    .intro-heading {
        font-size: 40px;
    }

    .intro-subheading {
        font-size: 36px;
    }

    .intro-logo img {
        height: 60px;
    }

    .intro-card-border {
        width: 320px;
    }

    .intro-card-info h4 {
        font-size: 22px;
    }

    .intro-card-info p {
        font-size: 18px;
    }

    .intro-cards-track {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    #intro-overlay {
        padding: 15px;
        height: 100vh;
    }

    .intro-white-card {
        padding: 15px;
        border-radius: 20px;
        height: calc(100vh - 30px);
    }

    .intro-header {
        padding: 15px 20px;
        border-radius: 16px;
        margin-bottom: 15px;
    }

    .intro-heading {
        font-size: 34px;
    }

    .intro-subheading {
        font-size: 30px;
    }

    .intro-logo img {
        height: 100px;
    }

    .intro-card-border {
        width: 280px;
        padding: 6px;
    }

    .intro-card-info h4 {
        font-size: 20px;
    }

    .intro-card-info p {
        font-size: 16px;
    }

    .intro-cards-track {
        gap: 15px;
    }
}
