/* =====================================================================
   IBG Academy - custom-responsive.css
   Ha file style.css chya NANTAR load kara, mhanje ithle rules override hotil.
   ===================================================================== */

/* ---------- 1. Basic responsive safety ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body { overflow-x: hidden; }

img, video, canvas, svg { max-width: 100%; height: auto; }
iframe, embed, object { max-width: 100%; }

input, select, textarea, button { max-width: 100%; }

/* Logo: inline width:220px asel tari mobile var fit hoil */
.header-logo img,
.footer-logo img { max-width: 100%; height: auto; }

/* Motha table mobile var scroll hoil, page bahercha jaat nahi */
@media (max-width: 767px) {
    table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---------- 2. Fluid typography (screen pramane font size) ---------- */
h1, .h1 { font-size: clamp(28px, 5vw, 48px); line-height: 1.2; }
h2, .h2 { font-size: clamp(24px, 4vw, 36px); line-height: 1.25; }
h3, .h3 { font-size: clamp(20px, 3vw, 28px); line-height: 1.3; }
.section-title .title { font-size: clamp(24px, 4vw, 40px); }

/* ---------- 3. Mobile / tablet tweaks ---------- */
@media (max-width: 991px) {
    .section-padding    { padding-top: 60px; padding-bottom: 60px; }
    .section-padding-02 { padding-top: 50px; padding-bottom: 50px; }
}

@media (max-width: 767px) {
    .container { padding-left: 16px; padding-right: 16px; }

    .section-padding    { padding-top: 45px; padding-bottom: 45px; }
    .section-padding-02 { padding-top: 35px; padding-bottom: 35px; }

    .header-logo img { max-width: 150px; }

    /* Buttons mobile var full-width sarkhe */
    .btn { padding-left: 22px; padding-right: 22px; }

    /* Floating buttons ekmekanchya var yenar nahit */
    .whatsapp-float { left: 14px; bottom: 0; }
    .back-to-top    { right: 14px; bottom: 16px; }

    .footer-widget { margin-bottom: 25px; }
    .copyright-wrapper { text-align: center; }
}

@media (max-width: 575px) {
    .courses-wrapper,
    .single-courses { margin-left: auto; margin-right: auto; }
}

/* ---------- Homepage hero motion ---------- */
.slider-section .slider-content .sub-title,
.slider-section .slider-content .main-title,
.slider-section .slider-content p,
.slider-section .slider-content .btn {
    animation: hero-content-rise .65s cubic-bezier(.2, .7, .2, 1) both;
}

.slider-section .slider-content .sub-title { animation-delay: .08s; }
.slider-section .slider-content .main-title { animation-delay: .2s; }
.slider-section .slider-content p { animation-delay: .34s; }
.slider-section .slider-content .btn { animation-delay: .48s; }

.slider-section #homepage {
    animation: hero-image-drift 6s ease-in-out infinite;
}

.slider-section .slider-courses-box .shape-1.animation-left {
    animation: hero-shape-drift-left 8s ease-in-out infinite;
}

.slider-section .slider-rating-box .shape.animation-up {
    animation: hero-shape-drift-up 7s ease-in-out infinite;
}

@keyframes hero-content-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-image-drift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes hero-shape-drift-left {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
}

@keyframes hero-shape-drift-up {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---------- 4. Scroll reveal animations ---------- */
/* Sirf JS chalu asel tevha lapavto, mhanje JS band asel tar content disat rahil */
.js .reveal {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.js .reveal-left  { transform: translate3d(-40px, 0, 0); }
.js .reveal-right { transform: translate3d(40px, 0, 0); }
.js .reveal-zoom  { transform: scale(.92); }

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- 5. Hover animations (desktop) ---------- */
@media (hover: hover) and (pointer: fine) {
    .single-courses,
    .single-blog,
    .single-testimonial,
    .single-work,
    .single-brand,
    .about-item {
        transition: transform .3s ease, box-shadow .3s ease;
    }
    .single-courses:hover,
    .single-blog:hover,
    .single-testimonial:hover,
    .single-work:hover,
    .about-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
    }
    .single-brand:hover { transform: scale(1.06); }

    .courses-images img,
    .blog-image img { transition: transform .5s ease; }
    .single-courses:hover .courses-images img,
    .single-blog:hover .blog-image img { transform: scale(1.06); }

    .btn { transition: transform .25s ease, box-shadow .25s ease; }
    .btn:hover { transform: translateY(-2px); }
}

/* ---------- 6. Header sticky smooth ---------- */
.header-main { transition: box-shadow .3s ease, background-color .3s ease; }

/* ---------- Public form entrance ---------- */
.register-login-form,
.contact-form {
    animation: form-fade-up .65s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes form-fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- 7. Motion kami pahije aslelyansathi (accessibility) ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal,
    .js .reveal-left,
    .js .reveal-right,
    .js .reveal-zoom {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .register-login-form,
    .contact-form {
        animation: none;
    }

    .slider-section .slider-content .sub-title,
    .slider-section .slider-content .main-title,
    .slider-section .slider-content p,
    .slider-section .slider-content .btn,
    .slider-section #homepage,
    .slider-section .slider-courses-box .shape-1.animation-left,
    .slider-section .slider-rating-box .shape.animation-up {
        animation: none;
    }

}
/* =====================================================
   TUTORIAL PAGE - FORCE ALTERNATING RESOURCE ROWS
===================================================== */

html body .tutorial-resources-section
.tutorial-resource-row > .container > .row,
html body .tutorial-resources-section
.tutorial-resource-row .container .row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

/* Mobile layout */
@media screen and (max-width: 767px) {
    html body .tutorial-resources-section
    .tutorial-resource-row > .container > .row {
        flex-direction: column !important;
    }
}

/* ==========================================================
   IBG ACADEMY - MOBILE HOMEPAGE HERO RESPONSIVE FIX
   Desktop design remains unchanged.
   Hero image: 1440 x 749
========================================================== */

@media (max-width: 767px) {

    /* =========================================
       1. HERO SECTION
    ========================================= */

    .slider-section {
        position: relative !important;
        isolation: isolate !important;

        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 0 0 25px !important;
        padding: 0 0 20px !important;

        background-color: #fff !important;
        background-image: none !important;

        overflow: visible !important;
        box-sizing: border-box !important;
    }

    /* =========================================
       2. FULL HERO BACKGROUND IMAGE
    ========================================= */

    .slider-section::before {
        content: "" !important;
        display: block !important;

        position: relative !important;
        top: auto !important;
        left: auto !important;

        width: 100% !important;
        height: auto !important;

        aspect-ratio: 1440 / 749 !important;

        background-image: url("../images/Home/new_home.png") !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-size: 100% 100% !important;
        background-color: #fff !important;

        max-height: none !important;
        min-height: 0 !important;

        opacity: 1 !important;
        z-index: 0 !important;
        pointer-events: none !important;
    }

    .slider-section::after {
        content: none !important;
        display: none !important;
    }

    /* =========================================
       3. HERO CONTENT CONTAINER
    ========================================= */

    .slider-section .hero-container {
        position: relative !important;
        z-index: 2 !important;

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 auto !important;
        padding: 22px 20px 15px !important;

        box-sizing: border-box !important;
    }

    /* =========================================
       4. HERO TEXT
    ========================================= */

    .slider-section .slider-content {
        position: relative !important;
        z-index: 3 !important;

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        text-align: left !important;
        box-sizing: border-box !important;
    }

    .slider-section .slider-content .sub-title {
        display: inline-block !important;

        width: auto !important;
        max-width: 100% !important;

        margin: 0 0 12px !important;
        padding: 7px 12px !important;

        font-size: clamp(8px, 2.2vw, 10px) !important;
        line-height: 1.5 !important;
        letter-spacing: .4px !important;

        white-space: normal !important;
        box-sizing: border-box !important;
    }

    .slider-section .slider-content .main-title {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: clamp(25px, 6.7vw, 32px) !important;
        line-height: 1.22 !important;
        letter-spacing: -.5px !important;

        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    .slider-section .slider-content .main-title span {
        display: inline !important;
    }

    .slider-section .slider-content .main-title span::before,
    .slider-section .slider-content .main-title span::after {
        content: none !important;
        display: none !important;
    }

    .slider-section .slider-content > p {
        width: 100% !important;
        max-width: 100% !important;

        margin: 14px 0 0 !important;
        padding: 0 !important;

        font-size: clamp(12px, 3.3vw, 14px) !important;
        line-height: 1.65 !important;
        font-weight: 400 !important;

        overflow-wrap: break-word !important;
    }

    /* =========================================
       5. HERO BUTTONS
    ========================================= */

    .slider-section .hero-buttons {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;

        align-items: center !important;
        justify-content: flex-start !important;

        width: 100% !important;
        gap: 10px !important;

        margin: 20px 0 0 !important;
        padding: 0 !important;
    }

    .slider-section .hero-btn {
        display: inline-flex !important;

        align-items: center !important;
        justify-content: center !important;

        min-height: 43px !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 9px 14px !important;

        font-size: clamp(10px, 2.8vw, 12px) !important;
        line-height: 1.3 !important;

        white-space: normal !important;
        text-align: center !important;

        box-sizing: border-box !important;
    }

    /* =========================================
       6. RATING BADGE
    ========================================= */

    @media (max-width: 767px) {
    .slider-section .slider-rating-box {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 90px !important;
        margin: 8px 12px 10px auto !important;
        padding: 0 !important;
        transform: none !important;
    }
} 

    /* =========================================
       7. FEATURES PANEL
    ========================================= */

    .slider-section .hero-features {
        position: relative !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        display: block !important;

        width: calc(100% - 24px) !important;
        max-width: 100% !important;
        height: auto !important;

        margin: 0 auto !important;
        padding: 20px 14px 18px !important;

        background: #fff !important;
        border: 1px solid #edf2ee !important;
        border-radius: 16px !important;

        box-shadow: 0 10px 25px rgba(30, 65, 45, .12) !important;

        visibility: visible !important;
        opacity: 1 !important;

        transform: none !important;
        overflow: visible !important;

        box-sizing: border-box !important;
    }

    /* =========================================
       8. FEATURE GRID
    ========================================= */

    .slider-section .hero-feature-list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        align-items: stretch !important;

        width: 100% !important;
        height: auto !important;

        gap: 15px 8px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .slider-section .hero-feature {
        position: relative !important;

        display: flex !important;
        flex-direction: column !important;

        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        min-width: 0 !important;
        min-height: 100px !important;

        margin: 0 !important;
        padding: 10px 5px !important;

        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Remove desktop feature dividers */

    .slider-section .hero-feature::after {
        content: none !important;
        display: none !important;
    }

    /* Center the fifth feature */

    .slider-section .hero-feature:last-child:nth-child(odd) {
        grid-column: 1 / -1 !important;
    }

    .slider-section .feature-icon {
        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        flex-shrink: 0 !important;

        width: 38px !important;
        height: 38px !important;

        margin: 0 auto 8px !important;
        border-radius: 10px !important;

        background: #e4f2e9 !important;
        color: #279653 !important;

        font-size: 16px !important;
    }

    .slider-section .hero-feature h4 {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 0 5px !important;

        color: #202b36 !important;

        font-size: clamp(11px, 3vw, 13px) !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;

        overflow-wrap: anywhere !important;
    }

    .slider-section .hero-feature p {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        color: #687a70 !important;

        font-size: clamp(9px, 2.5vw, 11px) !important;
        line-height: 1.5 !important;
        text-align: center !important;

        overflow-wrap: anywhere !important;
    }

    /* =========================================
       9. TRUST LABELS
    ========================================= */

    .slider-section .hero-features .hero-trust-list {
        position: relative !important;

        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;

        justify-content: center !important;
        align-items: center !important;

        width: 100% !important;
        min-height: 0 !important;

        gap: 8px !important;

        margin: 18px 0 0 !important;
        padding: 15px 0 0 !important;

        border-top: 1px solid #e7eee9 !important;

        box-sizing: border-box !important;
    }

    .slider-section .hero-features .hero-trust-list span {
        display: inline-flex !important;
        flex: 0 1 auto !important;

        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 32px !important;

        margin: 0 !important;
        padding: 7px 11px !important;

        border: 1px solid #dceee2 !important;
        border-radius: 25px !important;

        background: #f2faf4 !important;
        color: #39865a !important;

        font-size: clamp(9px, 2.5vw, 11px) !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;

        white-space: normal !important;
        text-align: center !important;

        overflow-wrap: anywhere !important;
        box-sizing: border-box !important;
    }

    .slider-section .hero-features .hero-trust-list span i {
        flex-shrink: 0 !important;

        margin-right: 6px !important;

        color: #309255 !important;
        font-size: 9px !important;
    }

    /* =========================================
       10. FLOATING CONTACT BUTTONS
    ========================================= */

    .contact-action-rail {
        position: fixed !important;

        top: auto !important;
        left: auto !important;
        right: 12px !important;
        bottom: 12px !important;

        display: flex !important;
        flex-direction: row !important;

        align-items: center !important;
        justify-content: center !important;

        gap: 8px !important;

        width: auto !important;
        height: auto !important;

        z-index: 9999 !important;
    }

    .contact-action-rail > * {
        position: relative !important;

        width: 40px !important;
        height: 40px !important;

        margin: 0 !important;
        flex-shrink: 0 !important;
    }
}


/* ==========================================================
   EXTRA SMALL MOBILE SCREENS
   Maximum width: 360px
========================================================== */

@media (max-width: 360px) {

    .slider-section .hero-container {
        padding: 18px 15px 12px !important;
    }

    .slider-section .slider-content .main-title {
        font-size: 25px !important;
    }

    .slider-section .slider-content > p {
        font-size: 12px !important;
    }

    .slider-section .hero-buttons {
        gap: 8px !important;
    }

    .slider-section .hero-btn {
        padding: 8px 9px !important;
        font-size: 9px !important;
    }

    .slider-section .hero-features {
        width: calc(100% - 20px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 16px 10px !important;
    }

    .slider-section .hero-feature-list {
        gap: 12px 6px !important;
    }

    .slider-section .hero-features .hero-trust-list {
        gap: 7px !important;
    }

    .slider-section .hero-features .hero-trust-list span {
        padding: 6px 9px !important;
        font-size: 9px !important;
    }
}

/* MOBILE HERO - REDUCE FEATURES PANEL HEIGHT */
@media (max-width: 767px) {

    /* Arrange five feature cards in two rows */
    .slider-section .hero-feature-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px 6px !important;
    }

    .slider-section .hero-feature {
        min-height: 90px !important;
        padding: 8px 3px !important;
    }

    /* Do not stretch the fifth card across the full row */
    .slider-section .hero-feature:last-child:nth-child(odd) {
        grid-column: auto !important;
    }

    .slider-section .feature-icon {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: 6px !important;
        font-size: 14px !important;
    }

    .slider-section .hero-feature h4 {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    .slider-section .hero-feature p {
        font-size: 9px !important;
        line-height: 1.35 !important;
    }

    /* Compact trust badges */
    .slider-section .hero-features .hero-trust-list {
        gap: 7px !important;
        margin-top: 12px !important;
        padding-top: 12px !important;
    }

    .slider-section .hero-features .hero-trust-list span {
        flex: 1 1 calc(50% - 4px) !important;
        min-height: 30px !important;
        padding: 5px 6px !important;
        font-size: 9px !important;
        line-height: 1.3 !important;
    }
}

/* MOBILE HERO - COMPACT RATING AND SECTION SPACING */
@media (max-width: 767px) {

    .slider-section .slider-rating-box {
        width: 90px !important;
        margin: 8px 12px 10px auto !important;
    }

    .slider-section .slider-rating-box .box-rating {
        width: 90px !important;
        height: 90px !important;
    }

    .slider-section .hero-features {
        margin-top: 0 !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }

    .slider-section .hero-container {
        padding-bottom: 8px !important;
    }
}
/* Align desktop hero text with header logo */
@media (min-width: 1200px) {
    .slider-section .slider-content {
        margin-left: -90px !important;
    }
     .slider-section {
        background-size: 100% auto !important;
        background-position: center 20px !important;
        background-repeat: no-repeat !important;
    }

    .slider-section .slider-content {
        margin-left: -90px !important;
    }
     .slider-section .hero-features .hero-trust-list {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 31px !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }
}


/* 50% browser zoom: align trust badges with header logo */
@media (min-width: 1920px) {
 .slider-section {
        background-size: 1170px auto !important;
        background-position:calc((100vw - 1200px) / 2) 20px !important;        background-repeat: no-repeat !important;
    }
    .slider-section .hero-features .hero-trust-list {
    position: relative !important;
    left: calc(
    (100vw - 1200px) / 2 - 2.3vw - 26px
) !important;

width: calc(
    100% - ((100vw - 1200px) / 2 - 2.3vw - 26px)
) !important;

    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;

    box-sizing: border-box !important;
    padding-left: 5px !important;
padding-right: 0 !important;
    margin: 0 !important;
}

    .slider-section .hero-features .hero-trust-list > :first-child {
        transform: none !important;
    }

    .slider-section .hero-features .hero-trust-list > :last-child {
        transform: none !important;
    }
  .slider-section .hero-features .hero-trust-list {
        position: relative !important;

        /* Keep the existing left position */
        left: calc(
            (100vw - 1200px) / 2 - 2.3vw - 26px
        ) !important;

        /* Match header content width */
        width: 1170px !important;
        max-width: 1170px !important;

        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;

        padding: 13px 0 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Remove previous badge-specific offsets */
    .slider-section .hero-trust-list > :first-child,
    .slider-section .hero-trust-list > :last-child {
        transform: none !important;
    }
      .slider-section .hero-features .hero-feature-list {
        position: relative !important;

        left: calc(
            (100vw - 1200px) / 2 - 73px
        ) !important;

        width: 1170px !important;
        max-width: 1170px !important;

        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;

        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .slider-section .hero-features .hero-feature-list > * {
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}




/* =========================================================
   BRAND LOGO - SPACING AND UNIFORM LOGO SIZE
========================================================= */

/* Remove extra top spacing */
.brand-logo-wrapper {
    padding-top: 20px !important;
    margin-top: 0 !important;
}

.brand-logo-wrapper .section-title {
    margin-top: 0 !important;
    margin-bottom: 25px !important;
}

/* Remove extra space above logos */
.brand-logo {
    padding-top: 0 !important;
}

/* Equal logo display area */
.brand-logo .single-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 90px !important;
    padding: 5px 12px !important;
    box-sizing: border-box !important;
}

/* Consistent image height */
.brand-logo .single-brand img {
    display: block !important;
    width: auto !important;
    height: 60px !important;
    max-width: 160px !important;
    max-height: 60px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto !important;
}

/* =========================================================
   LEARN JOB BANNER - ALIGN IMAGE WITH HEADER
========================================================= */

.learn-job-banner {
    position: relative !important;
    overflow: hidden !important;
}

.learn-job-banner-image {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: calc(100% - 196px) !important;
    height: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: translate(-50%, -50%) !important;
    z-index: 0 !important;
}






/* MOBILE CONTACT BUTTON FIX */
@media (max-width: 767px) {

    .contact-action-rail {
        position: fixed !important;

        top: auto !important;
        left: auto !important;
        right: 12px !important;
        bottom: 12px !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 8px !important;

        width: auto !important;
        height: auto !important;

        z-index: 9999 !important;
    }

    .contact-action-rail > * {
        position: relative !important;
        width: 40px !important;
        height: 40px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
}
/* =========================================================
   LEARN JOB BANNER - IMAGE SCALING FIX
========================================================= */

.learn-job-banner {
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 100% auto !important;
}

/* Keep mobile layout responsive */

@media (max-width: 767px) {

    .learn-job-banner {
        background-size: 100% auto !important;
        background-position: center top !important;
    }
}/* =========================================
   LEARN JOB BANNER - FIXED HEIGHT
========================================= */

.learn-job-banner-section {
    width: 100%;
    overflow: hidden;
}

.learn-job-banner {
    position: relative;
    width: 100%;
    max-width: 1440px;

    height: 323px !important;
    min-height: 323px !important;
    max-height: 323px !important;

    margin: 0 auto;
    overflow: hidden;

    background-image: none !important;
}

/* Banner image */

.learn-job-banner > .learn-job-banner-image {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    z-index: 0;
}

/* Banner content */

.learn-job-banner-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 7%;
    transform: translateY(-50%);
    max-width: 48%;
}

/* Tablet */

@media (max-width: 991px) and (min-width: 768px) {
    .learn-job-banner {
        height: 323px !important;
        min-height: 323px !important;
        max-height: 323px !important;
    }

    .learn-job-banner-content {
        left: 5%;
    }
}
