/* Terna landing page styles (extracted from index.php, same cascade order) */

/* brand colours must live on :root: the popup form sits outside .th-hero, so var(--th-o) was undefined there (white hover button) */
:root { --th-o: #F58220; --th-o-deep: #e0690a; }

        .th-country-option {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 43px !important;
    padding: 9px 12px !important;
    background: #fff !important;
    border: 0 !important;
    text-align: left !important;
    cursor: pointer !important;
}

.th-country-option img {
    width: 25px !important;
    height: 18px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}

.th-country-option .th-country-name {
    flex: 1 !important;
    color: #172536 !important;
    font-size: 13px !important;
}

.th-country-option strong {
    color: #172536 !important;
    font-size: 13px !important;
    white-space: nowrap !important;
}

.th-country-option:hover {
    background: #f0f4f8 !important;
}

.th-country-dropdown {
    width: 300px !important;
    max-width: calc(100vw - 35px) !important;
    background: #fff !important;
    z-index: 999999 !important;
}
/* =========================================
   TERNA MOBILE HERO + ENQUIRY FORM FIX
========================================= */

@media (max-width: 991px) {

    /* Mobile banner layout */
    .th-hero {
        position: relative !important;
        overflow: hidden !important;
        background: #12334d !important;
    }

    /* Keep mobile banner image fully visible */
    .th-hero .th-banner {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 340px !important;
        display: block !important;
        overflow: hidden !important;
    }

    .th-hero .th-banner img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center top !important;
    }

    /* Keep overlay behind the content */
    .th-hero::before {
        z-index: 1 !important;
        background: linear-gradient(
            180deg,
            rgba(10,30,50,.78),
            rgba(16,53,80,.96)
        ) !important;
    }

    /* Content and form in one column */
    .th-hero .th-inner {
        position: relative !important;
        z-index: 2 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 22px !important;
        min-height: 0 !important;
        padding: 28px 18px 30px !important;
        align-items: start !important;
    }

    .th-hero .th-left {
        width: 100% !important;
        min-width: 0 !important;
    }

    /* Remove Apply Now button */
    .th-hero .th-btns {
        display: none !important;
    }

    /* Show the actual enquiry form */
    .th-hero .th-inline-form {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        width: 100% !important;
        max-width: 520px !important;
        height: auto !important;
        margin: 0 auto !important;
        z-index: 5 !important;
    }

    .th-hero .th-inline-form .th-form-card {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 18px !important;
        background: #fff !important;
        border-radius: 14px !important;
    }

    /* One field per row */
    .th-hero .th-form.th-stack .th-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .th-hero .th-form.th-stack .th-f {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* Smaller mobile screen */
@media (max-width: 575px) {

    .th-hero .th-banner {
        height: 290px !important;
    }

    .th-hero .th-inner {
        padding: 23px 14px 25px !important;
        gap: 18px !important;
    }

    .th-hero .th-title {
        font-size: clamp(27px, 7.5vw, 35px) !important;
        line-height: 1.12 !important;
    }

    .th-hero .th-at {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .th-hero .th-early {
        max-width: 100% !important;
    }

    .th-hero .th-plist {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }

    .th-hero .th-inline-form {
        max-width: 100% !important;
    }

    .th-hero .th-inline-form .th-form-card {
        padding: 15px !important;
    }
}

/* =========================================
   COUNTRY CODE DROPDOWN FIX
========================================= */

/* Remove the old fake +91 text */
body .th-form.th-stack .th-f.ph::before,
body .th-form .th-f.ph::before {
    content: none !important;
    display: none !important;
}

/* Contact field wrapper */
body .th-form.th-stack .th-f.ph {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    overflow: visible !important;
    border: 1px solid #cdd6df !important;
    border-radius: 8px !important;
    background: #fff !important;
}

/* Actual country code select */
body .th-form.th-stack .th-f.ph select.th-cc {
    display: block !important;
    position: relative !important;
    z-index: 10 !important;

    flex: 0 0 112px !important;
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;

    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 5px 0 8px !important;

    border: 0 !important;
    border-right: 1px solid #cdd6df !important;
    border-radius: 8px 0 0 8px !important;

    /* Use the native dropdown arrow */
    appearance: auto !important;
    -webkit-appearance: menulist !important;
    background: #f2f5f8 !important;

    color: #172b3d !important;
    -webkit-text-fill-color: #172b3d !important;
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: none !important;
    text-indent: 0 !important;
}

/* Dropdown options */
body .th-form.th-stack .th-f.ph select.th-cc option {
    display: block !important;
    color: #172b3d !important;
    background: #fff !important;
    font-size: 13px !important;
}

/* Phone number input */
body .th-form.th-stack .th-f.ph input[type="tel"] {
    display: block !important;
    position: relative !important;
    z-index: 1 !important;

    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 10px !important;

    border: 0 !important;
    border-radius: 0 8px 8px 0 !important;
    background: #fff !important;
    color: #222 !important;
    box-shadow: none !important;
}

/* Make dropdown usable on touch screens */
body .th-form.th-stack .th-f.ph select.th-cc:focus {
    outline: 2px solid #F58220 !important;
    outline-offset: -2px !important;
}

@media (max-width: 380px) {
    body .th-form.th-stack .th-f.ph select.th-cc {
        flex-basis: 102px !important;
        width: 102px !important;
        min-width: 102px !important;
        max-width: 102px !important;
    }
}

       
/* ==========================================
   TERNA ENQUIRY FORM - SINGLE COLUMN
   Desktop + Tablet + Mobile
========================================== */

/* Always show one field per row */
body .th-form.th-stack .th-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    gap: 12px !important;
    width: 100% !important;
}

/* Every field takes full width */
body .th-form.th-stack .th-row > .th-f,
body .th-form.th-stack .th-f.full {
    display: block;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
}

/* Consistent input and dropdown sizes */
body .th-form.th-stack .th-f input:not([type="checkbox"]),
body .th-form.th-stack .th-f select:not(.th-cc) {
    width: 100% !important;
    height: 46px !important;
    box-sizing: border-box !important;
}

/* Contact field wrapper */
body .th-form.th-stack .th-f.ph {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    overflow: hidden !important;
    border: 1px solid #cdd6df !important;
    border-radius: 8px !important;
    background: #fff !important;
}

/* Country code dropdown - keep native dropdown functionality */
body .th-form.th-stack .th-f.ph select.th-cc {
    display: block !important;
    flex: 0 0 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 4px 0 8px !important;
    box-sizing: border-box !important;
    appearance: auto !important;
    -webkit-appearance: menulist !important;
    background: #f4f6f9 !important;
    border: 0 !important;
    border-right: 1px solid #cdd6df !important;
    border-radius: 0 !important;
    color: #222 !important;
    font: 600 12px 'Poppins', Arial, sans-serif !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Country code options */
body .th-form.th-stack .th-f.ph select.th-cc option {
    background: #fff !important;
    color: #222 !important;
    font-size: 13px !important;
}

/* Contact number input */
body .th-form.th-stack .th-f.ph input[type="tel"] {
    display: block !important;
    flex: 1 1 auto !important;
    width: 1% !important;
    min-width: 0 !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

/* Submit button full width */
body .th-form.th-stack .th-submit {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
}

/* Consistent mobile appearance */
@media (max-width: 991px) {
    body .th-form.th-stack .th-row {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body .th-form.th-stack .th-f.ph select.th-cc {
        flex-basis: 96px !important;
        width: 96px !important;
    }
}

@media (max-width: 380px) {
    body .th-form.th-stack .th-f.ph select.th-cc {
        flex-basis: 88px !important;
        width: 88px !important;
        min-width: 88px !important;
    }
}


    

/* ===== COUNTRY SELECTOR AND PHONE INPUT FIX ===== */

.th-form .th-f.ph {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    position: relative !important;
    overflow: visible !important;
    z-index: 100 !important;
}

.th-country-wrap {
    position: relative !important;
    flex: 0 0 125px !important;
    width: 125px !important;
    min-width: 125px !important;
}

.th-country-selected {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
    height: 44px !important;
    padding: 0 8px !important;
    background: #fff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    color: #172536 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    line-height: normal !important;
}

.th-country-selected img {
    display: block !important;
    width: 24px !important;
    height: 17px !important;
    object-fit: cover !important;
}

.th-selected-code {
    color: #172536 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.th-country-arrow {
    font-size: 10px !important;
}

.th-country-dropdown {
    display: none;
    position: absolute !important;
    top: 48px !important;
    left: 0 !important;
    width: 290px !important;
    max-width: calc(100vw - 35px) !important;
    background: #fff !important;
    border: 1px solid #d5dce5 !important;
    border-radius: 7px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,.18) !important;
    z-index: 999999 !important;
    overflow: hidden !important;
}

.th-country-dropdown.active {
    display: block !important;
}

.th-country-search {
    display: block !important;
    width: 100% !important;
    height: 42px !important;
    padding: 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #ddd !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.th-country-options {
    max-height: 230px !important;
    overflow-y: auto !important;
}

.th-country-option {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    height: 40px !important;
    padding: 7px 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #172536 !important;
    text-align: left !important;
    cursor: pointer !important;
    font-size: 13px !important;
}

.th-country-option:hover {
    background: #edf3f8 !important;
}

.th-country-option img {
    display: block !important;
    width: 24px !important;
    height: 17px !important;
    object-fit: cover !important;
}

.th-country-option strong {
    margin-left: auto !important;
    color: #172536 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.th-form .th-f.ph input.th-phone-input {
    display: block !important;
    flex: 1 1 0% !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #172536 !important;
    font-size: 14px !important;
}

@media(max-width:480px) {
    .th-country-wrap {
        flex-basis: 112px !important;
        width: 112px !important;
        min-width: 112px !important;
    }

    .th-country-selected {
        padding: 0 6px !important;
    }
}

            /* ===== FIX INTERNATIONAL PHONE FIELD ===== */

.th-form .th-f.ph {
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
    position: relative;
}

.th-form .th-f.ph .iti {
    display: block !important;
    width: 100% !important;
    position: relative;
}

.th-form .th-f.ph .iti input.th-phone-input {
    width: 100% !important;
    height: 44px !important;
    box-sizing: border-box !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-right: 12px !important;
    /* Let intl-tel-input calculate left padding */
    padding-left: 96px !important;
    margin: 0 !important;
    font-size: 14px !important;
}

.th-form .th-f.ph .iti__flag-container {
    height: 44px !important;
}

.th-form .th-f.ph .iti__selected-country {
    height: 44px !important;
    padding: 0 8px !important;
}

.th-form .th-f.ph .iti__selected-dial-code {
    font-size: 14px !important;
    margin-left: 5px !important;
}

.th-form .iti__country-container {
    z-index: 999999 !important;
}

.iti__dropdown-content {
    z-index: 999999 !important;
}

.iti__country-list {
    max-height: 250px !important;
    overflow-y: auto !important;
    min-width: 280px !important;
    background: #fff !important;
    color: #222 !important;
    box-shadow: 0 5px 20px rgba(0,0,0,.15) !important;
}

.iti__country {
    padding: 9px 12px !important;
    font-size: 13px !important;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background: #f1f5f9 !important;
}

.iti__search-input {
    width: 100% !important;
    padding: 10px !important;
    box-sizing: border-box !important;
}

@media(max-width:767px) {
    .th-form .th-f.ph .iti {
        width: 100% !important;
    }

    .th-form .th-f.ph .iti__country-list {
        max-width: calc(100vw - 40px) !important;
        min-width: 260px !important;
    }
}

            /* Country flag phone dropdown */
            .th-form .th-f.ph {
                width: 100%;
                display: block;
            }

            .th-form .th-f.ph .iti {
                width: 100%;
                display: block;
            }

            .th-form .th-f.ph .iti input {
                width: 100% !important;
                padding-left: 90px !important;
                box-sizing: border-box;
            }

            .iti__country-list {
                z-index: 99999 !important;
                max-height: 220px;
            }

            .iti__flag-container {
                z-index: 5;
            }

            .th-hero,
            .th-hero *,
            .th-modal,
            .th-modal * {
                box-sizing: border-box;
            }

            /* kill any gap the old template leaves between header and banner */
            .boxed_wrapper {
                margin-top: 0 !important;
                padding-top: 0 !important;
            }

            .th-hero {
                position: relative;
                margin: 0 !important;
                padding: 0 !important;
                overflow: hidden;
                color: #fff;
                font-family: 'Poppins', Arial, sans-serif;
                background: linear-gradient(120deg, #0d2a44 0%, #103550 55%, #17466B 100%);
            }

            .th-bg {
                position: absolute;
                inset: 0;
                opacity: 0;
                transition: opacity .7s ease;
                background-size: cover;
                background-position: center;
                background-image: var(--bg-d);
            }

            .th-bg.is-active {
                opacity: 1;
            }

            .th-hero::before {
                /* dark overlay for readable text */
                content: "";
                position: absolute;
                inset: 0;
                z-index: 1;
                background: linear-gradient(90deg, rgba(10, 30, 50, .94) 0%, rgba(16, 53, 80, .84) 55%, rgba(23, 70, 107, .55) 100%);
            }

            .th-inner {
                position: relative;
                z-index: 2;
                max-width: 1350px;
                margin: 0 auto;
                padding: 60px 25px;
                min-height: 660px;
                display: grid;
                grid-template-columns: minmax(0, 1fr) 520px;
                gap: 50px;
                align-items: center;
            }

            /* ---- slides (text) ---- */
            .th-slides {
                display: grid;
            }

            .th-slide {
                grid-area: 1 / 1;
                opacity: 0;
                visibility: hidden;
                transform: translateY(14px);
                transition: opacity .6s ease, transform .6s ease, visibility .6s;
            }

            .th-slide.is-active {
                opacity: 1;
                visibility: visible;
                transform: none;
            }

            .th-badge {
                display: inline-flex;
                align-items: center;
                gap: 9px;
                padding: 8px 16px;
                border-radius: 40px;
                background: rgba(255, 255, 255, .1);
                border: 1px solid rgba(255, 255, 255, .22);
                font-size: 12px;
                font-weight: 600;
                letter-spacing: .08em;
                text-transform: uppercase;
            }

            .th-badge i {
                width: 9px;
                height: 9px;
                border-radius: 50%;
                background: #22d98f;
                box-shadow: 0 0 8px #22d98f;
            }

            .th-slide h2 {
                margin: 16px 0 12px;
                font-size: clamp(26px, 3.3vw, 46px);
                line-height: 1.12;
                font-weight: 700;
                color: #fff;
                letter-spacing: -.01em;
                max-width: 760px;
            }

            .th-grad {
                background: linear-gradient(90deg, #F58220 0%, #ffa94d 55%, #ffd08a 100%);
                -webkit-background-clip: text;
                background-clip: text;
                color: transparent;
                -webkit-text-fill-color: transparent;
            }

            .th-slide p {
                margin: 0 0 22px;
                font-size: 16px;
                line-height: 1.6;
                color: rgba(255, 255, 255, .8);
                max-width: 620px;
            }

            .th-slide p strong {
                color: #fff;
            }

            .th-btns {
                display: flex;
                flex-wrap: wrap;
                gap: 14px;
            }

            .th-btn {
                display: inline-flex;
                align-items: center;
                gap: 12px;
                padding: 12px 14px 12px 26px;
                border-radius: 50px;
                font: 700 15px 'Poppins', Arial, sans-serif;
                text-decoration: none;
                cursor: pointer;
                border: 0;
                color: #fff;
                transition: transform .2s, box-shadow .2s;
            }

            .th-btn:hover {
                transform: translateY(-2px);
                color: #fff;
            }

            .th-btn-apply {
                background: linear-gradient(135deg, #F58220, #e0690a);
                box-shadow: 0 8px 24px rgba(245, 130, 32, .45);
            }

            .th-btn-apply span {
                width: 34px;
                height: 34px;
                border-radius: 50%;
                background: #fff;
                color: #17466B;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .th-btn-apply svg {
                width: 16px;
                height: 16px;
            }

            .th-btn-call {
                padding: 12px 26px;
                background: rgba(255, 255, 255, .08);
                border: 1px solid rgba(255, 255, 255, .25);
            }

            .th-btn-call svg {
                width: 18px;
                height: 18px;
                fill: #e8b86d;
            }

            .th-dots {
                display: flex;
                gap: 8px;
                margin-top: 24px;
            }

            .th-dots button {
                width: 10px;
                height: 10px;
                padding: 0;
                border: 0;
                border-radius: 10px;
                background: rgba(255, 255, 255, .35);
                cursor: pointer;
                transition: width .3s, background .3s;
            }

            .th-dots button.is-active {
                width: 30px;
                background: #F58220;
            }

            /* ---- enquiry form (card) ---- */
            .th-form-card {
                background: #fff;
                border-radius: 18px;
                padding: 24px 28px 26px;
                box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
            }

            .th-form h3 {
                margin: 0 0 6px;
                font: 600 22px/1.2 'Poppins', Arial, sans-serif;
                color: #111;
            }

            .th-form input[type=text],
            .th-form input[type=email],
            .th-form input[type=tel],
            .th-form select {
                width: 100%;
                height: 46px;
                padding: 0 4px;
                border: 0;
                border-bottom: 1px solid #e6e8ec;
                border-radius: 0;
                background: transparent;
                font: 400 15px 'Poppins', Arial, sans-serif;
                color: #222;
                outline: none;
                transition: border-color .2s;
            }

            .th-form select {
                appearance: none;
                -webkit-appearance: none;
                background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 6px center;
                padding-right: 24px;
                color: #222;
            }

            .th-form select:invalid {
                color: #7d838c;
            }

            .th-form input::placeholder {
                color: #7d838c;
            }

            .th-form input:focus,
            .th-form select:focus {
                border-bottom-color: #F58220;
            }

            .th-form .is-bad {
                border-bottom-color: #d9480f !important;
            }

            .th-row {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 0 18px;
            }

            .th-consent {
                display: flex;
                gap: 9px;
                align-items: flex-start;
                margin: 14px 0 14px;
                font: 400 11.5px/1.5 'Poppins', Arial, sans-serif;
                color: #555;
                cursor: pointer;
            }

            .th-consent input {
                margin-top: 2px;
                accent-color: #17466B;
                flex: none;
            }

            .th-submit {
                width: 100%;
                height: 50px;
                border: 0;
                border-radius: 10px;
                cursor: pointer;
                color: #fff;
                font: 700 14px 'Poppins', Arial, sans-serif;
                letter-spacing: .04em;
                text-transform: uppercase;
                background: linear-gradient(135deg, #2d6a8a, #10264a);
                transition: transform .2s, box-shadow .2s;
            }

            .th-submit:hover {
                transform: translateY(-1px);
                box-shadow: 0 8px 18px rgba(16, 38, 74, .35);
            }

            .th-err {
                margin: 8px 0 0;
                font: 500 12px 'Poppins', Arial, sans-serif;
                color: #d9480f;
            }


            /* ---- form fixes: beat theme styles + nice-select plugin ---- */
            .th-form .nice-select,
            .th-modal .nice-select {
                display: none !important;
            }

            .th-form select,
            .th-form input[type=text],
            .th-form input[type=email],
            .th-form input[type=tel] {
                display: block !important;
                width: 100% !important;
                height: 46px !important;
                min-height: 0 !important;
                margin: 0 !important;
                padding: 0 4px !important;
                line-height: 46px !important;
                box-shadow: none !important;
                border-top: 0 !important;
                border-left: 0 !important;
                border-right: 0 !important;
                float: none !important;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
            }

            .th-form select {
                padding-right: 26px !important;
                cursor: pointer;
                position: static !important;
                opacity: 1 !important;
                visibility: visible !important;
            }

            .th-form select option {
                color: #222;
                background: #fff;
                font-size: 14px;
                line-height: 1.4;
                white-space: normal;
            }

            .th-form-card {
                overflow: visible;
            }

            .th-modal .th-form-card {
                overflow-y: auto;
            }

            /* ---- required-field asterisk wrapper ---- */
            .th-f { position: relative; min-width: 0; }
            .th-f.req::after { content: "*"; position: absolute; right: 6px; top: 15px; color: #d9480f; font: 700 17px/1 'Poppins', Arial, sans-serif; pointer-events: none; }
            .th-f.req.sel::after { right: 27px; }
            .th-form .th-f.req input { padding-right: 22px !important; }
            .th-form .th-f.req select { padding-right: 42px !important; }
            .th-req-note { margin: 0 0 4px; font: 400 11.5px 'Poppins', Arial, sans-serif; color: #7d838c; }
            .th-req-note b { color: #d9480f; }
            @media (max-width: 359px) { .th-row { grid-template-columns: 1fr !important; } }

            /* ---- popup ---- */
            .th-modal {
                position: fixed;
                inset: 0;
                z-index: 100001;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 16px;
                background: rgba(10, 20, 35, .72);
                opacity: 0;
                visibility: hidden;
                transition: opacity .25s, visibility .25s;
            }

            .th-modal.is-open {
                opacity: 1;
                visibility: visible;
            }

            .th-modal .th-form-card {
                position: relative;
                width: 100%;
                max-width: 480px;
                max-height: 94vh;
                overflow-y: auto;
                transform: translateY(18px) scale(.97);
                transition: transform .25s;
            }

            .th-modal.is-open .th-form-card {
                transform: none;
            }

            .th-modal-close {
                position: absolute;
                top: 10px;
                right: 10px;
                width: 34px;
                height: 34px;
                border: 0;
                border-radius: 50%;
                background: #F58220;
                color: #fff;
                font-size: 20px;
                line-height: 1;
                cursor: pointer;
            }

            .th-modal .th-form h3 {
                padding-right: 36px;
            }

            body.th-lock {
                overflow: hidden;
            }

            /* ---- responsive ---- */
            @media (max-width: 991px) {
                .th-inner {
                    grid-template-columns: 1fr;
                    padding: 44px 18px 40px;
                    min-height: 540px;
                    align-content: center;
                }

                .th-inline-form {
                    display: none;
                }

                /* form opens via Apply Now popup */
                .th-bg {
                    background-image: var(--bg-m);
                }

                .th-hero::before {
                    background: linear-gradient(180deg, rgba(10, 30, 50, .93), rgba(16, 53, 80, .88));
                }
            }

            @media (max-width: 575px) {
                .th-slide h2 {
                    font-size: 25px;
                }

                .th-slide p {
                    font-size: 14px;
                    margin-bottom: 18px;
                }

                .th-btn {
                    font-size: 14px;
                }

                .th-btns {
                    gap: 10px;
                }

                .th-row {
                    grid-template-columns: 1fr 1fr;
                    gap: 0 12px;
                }

                .th-form-card {
                    padding: 22px 18px 22px;
                }

                .th-form input[type=text], .th-form input[type=email], .th-form input[type=tel], .th-form select {
                    font-size: 14px !important;
                }
            }

            /* ---- left-side approvals: large, vertically centred, hover = name ---- */
            .th-corner { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 9997; display: flex; flex-direction: column; gap: 12px; font-family: 'Poppins', Arial, sans-serif; }
            .th-cb { position: relative; width: 108px; height: 108px; padding: 5px; border-radius: 0 20px 20px 0; background: linear-gradient(135deg, #F58220 0%, #17466B 100%); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); cursor: pointer; outline: none; transition: transform .25s; }
            .th-cb-in { width: 100%; height: 100%; padding: 8px; border-radius: 0 15px 15px 0; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
            .th-cb img { max-width: 100%; max-height: 100%; object-fit: contain; }
            .th-cb:hover, .th-cb:focus { transform: translateX(6px); }
            .th-cb span { position: absolute; left: calc(100% + 12px); top: 50%; transform: translate(-8px, -50%); opacity: 0; visibility: hidden; pointer-events: none; white-space: nowrap; padding: 10px 18px; border-radius: 10px; background: linear-gradient(135deg, #F58220, #17466B); color: #fff; font: 600 13px 'Poppins', Arial, sans-serif; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); transition: opacity .2s, transform .2s, visibility .2s; }
            .th-cb:hover span, .th-cb:focus span { opacity: 1; visibility: visible; transform: translate(0, -50%); }
            @media (min-width: 768px) and (max-width: 1599px) { .th-cb { width: 88px; height: 88px; } }
            @media (min-width: 1600px) { .th-cb { width: 124px; height: 124px; } }

            /* ---- right-bottom actions: WhatsApp + Call icons + Enquire Now ---- */
            .th-fabs { position: fixed; right: 18px; bottom: 22px; z-index: 9997; display: flex; align-items: center; gap: 12px; }
            .th-fab-ic { position: relative; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .28); transition: transform .2s; }
            .th-fab-ic:hover { transform: translateY(-3px) scale(1.07); }
            .th-fab-ic svg { width: 28px; height: 28px; fill: #fff; }
            .th-fab-wa { background: #25D366; animation: thWaPulse 2.4s infinite; }
            .th-fab-call { background: #17466B; }
            .th-fab { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border: 0; border-radius: 50px; cursor: pointer; color: #fff; font: 700 15px 'Poppins', Arial, sans-serif; background: linear-gradient(135deg, #F58220, #e0690a); box-shadow: 0 10px 26px rgba(245, 130, 32, .5); transition: transform .2s; }
            .th-fab:hover { transform: translateY(-2px); }
            .th-fab svg { width: 20px; height: 20px; fill: #fff; }
            @keyframes thWaPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
            .scroll-top { bottom: 90px !important; }

            /* ---- mobile sticky bar: Enquire Now / WhatsApp / Call ---- */
            .th-sticky { display: none; }
            @media (max-width: 767px) {
                .th-fabs { display: none; }
                .th-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998; display: flex; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: #fff; box-shadow: 0 -4px 18px rgba(0, 0, 0, .18); font-family: 'Poppins', Arial, sans-serif; }
                .th-sticky a, .th-sticky button { flex: 1 1 0; min-width: 0; height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 10px; color: #fff !important; font: 700 13px 'Poppins', Arial, sans-serif; text-decoration: none; cursor: pointer; }
                .th-sticky svg { width: 19px; height: 19px; fill: #fff; flex: none; }
                .th-sticky .s-enq { background: linear-gradient(135deg, #F58220, #e0690a); }
                .th-sticky .s-wa { background: #25D366; }
                .th-sticky .s-call { background: #17466B; }
                body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
                .scroll-top { bottom: 76px !important; }
                .th-cb { width: 64px; height: 64px; padding: 3px; border-radius: 0 13px 13px 0; }
                .th-cb-in { padding: 5px; border-radius: 0 10px 10px 0; }
                .th-cb span { font-size: 11.5px; padding: 7px 11px; white-space: normal; width: max-content; max-width: 170px; }
            }

            /* ===== PHP COUNTRY CODE DROPDOWN ===== */

.th-form .th-f.ph {
    display: flex !important;
    width: 100% !important;
    gap: 8px !important;
    align-items: stretch !important;
    overflow: visible !important;
}

.th-form .th-f.ph select.th-cc {
    display: block !important;
    flex: 0 0 125px !important;
    width: 125px !important;
    min-width: 125px !important;
    height: 44px !important;
    padding: 0 7px !important;
    border: 1px solid #d5dce4 !important;
    border-radius: 6px !important;
    background-color: #fff !important;
    color: #172536 !important;
    font-size: 13px !important;
    cursor: pointer !important;
}

.th-form .th-f.ph input[type="tel"] {
    flex: 1 1 auto !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 12px !important;
    border: 1px solid #d5dce4 !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
}

@media(max-width:480px) {
    .th-form .th-f.ph select.th-cc {
        flex-basis: 115px !important;
        width: 115px !important;
        min-width: 115px !important;
        font-size: 12px !important;
    }
}

            /* ===== Enquire form: compact outlined UI ===== */
            .th-form-card { padding: 20px 24px 22px !important; border-radius: 16px; }
            .th-form .th-fh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
            .th-form .th-fh h3 { margin: 0; font: 600 20px/1.2 'Poppins', Arial, sans-serif; color: #103550; padding-right: 0; }
            .th-modal .th-form .th-fh h3 { padding-right: 36px; }
            .th-form .th-req-note { margin: 0; font: 500 11.5px 'Poppins', Arial, sans-serif; color: #7d838c; white-space: nowrap; }
            .th-form .th-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin: 0 0 12px; }
            .th-form .th-row.one { grid-template-columns: 1fr; }
            .th-form .th-f input:not([type=checkbox]),
            .th-form .th-f select { display: block !important; width: 100% !important; height: 44px !important; min-height: 0 !important; margin: 0 !important; padding: 0 30px 0 12px !important; line-height: normal !important; border: 1.5px solid #dde4ec !important; border-radius: 10px !important; background-color: #f6f8fb !important; font: 400 14px 'Poppins', Arial, sans-serif !important; color: #222; box-shadow: none !important; text-overflow: ellipsis; transition: border-color .2s, background-color .2s, box-shadow .2s; }
            .th-form .th-f select { background: #f6f8fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center !important; padding-right: 46px !important; cursor: pointer; }
            .th-form .th-f input:not([type=checkbox]):focus,
            .th-form .th-f select:focus { border-color: #F58220 !important; background-color: #fff !important; box-shadow: 0 0 0 3px rgba(245, 130, 32, .15) !important; }
            .th-form .th-f .is-bad { border-color: #d9480f !important; background-color: #fff6f3 !important; }
            .th-form .th-f.req::after { top: 14px; right: 12px; }
            .th-form .th-f.req.sel::after { right: 32px; }
            /* .th-form .th-f.ph input { padding-left: 44px !important; } */
            .th-form .th-f.ph::before { content: "+91"; position: absolute; left: 12px; top: 22px; transform: translateY(-50%); font: 600 13.5px 'Poppins', Arial, sans-serif; color: #555; pointer-events: none; }
            .th-form .th-consent { margin: 4px 0 12px; font-size: 11.5px; line-height: 1.45; }
            .th-form .th-submit { height: 46px; font-size: 13.5px; }
            .th-form .th-err { margin: 8px 0 0; text-align: center; }
            @media (max-width: 575px) {
                .th-form-card { padding: 18px 14px 18px !important; }
                .th-form .th-row { gap: 0 8px; margin-bottom: 10px; }
                .th-form .th-fh h3 { font-size: 17px; }
                .th-form .th-f input:not([type=checkbox]), .th-form .th-f select { font-size: 13px !important; padding-left: 10px !important; }
                /* .th-form .th-f.ph input { padding-left: 38px !important; } */
                .th-form .th-f.ph::before { left: 10px; font-size: 12.5px; }
                .th-form .th-f.req input { padding-right: 20px !important; }
                .th-form .th-f.req select { padding-right: 38px !important; }
            }
            @media (max-width: 359px) { .th-form .th-row { grid-template-columns: 1fr; } }

            .th-bg{opacity:1!important;transition:none!important}.th-slide{opacity:1!important;visibility:visible!important;transform:none!important}.th-dots{display:none!important}
            .th-slide h2{font-size:clamp(28px,3vw,43px);margin-top:12px}.th-slide p{margin-bottom:15px}
            .th-scholar-date{display:inline-flex;align-items:center;gap:12px;padding:10px 15px;margin:0 0 15px;border:1px solid rgba(255,190,112,.55);border-radius:12px;background:rgba(245,130,32,.15)}
            .th-calendar{width:34px;height:34px;border-radius:9px;background:#f58220;display:grid;place-items:center;font-size:20px;color:#fff}
            .th-scholar-date strong,.th-scholar-date small{display:block}.th-scholar-date strong{font-size:14px;color:#fff}.th-scholar-date small{font-size:11px;color:rgba(255,255,255,.78);margin-top:2px}
            .th-programmes{margin:0 0 18px}.th-programmes h3{margin:0 0 9px;color:#fff;font:600 15px 'Poppins',Arial,sans-serif}
            .th-programmes ul{display:grid;grid-template-columns:1fr 1fr;gap:7px 18px;list-style:none;margin:0;padding:0}
            .th-programmes li{position:relative;padding-left:17px;color:#fff;font:400 12px/1.45 'Poppins',Arial,sans-serif}
            .th-programmes li:before{content:"✓";position:absolute;left:0;color:#ffb45e;font-weight:800}
            .th-inline-form{display:block!important}
            @media(max-width:991px){.th-inner{grid-template-columns:1fr;gap:24px;min-height:0;padding:36px 18px}.th-inline-form{display:none!important}.th-programmes ul{grid-template-columns:1fr 1fr}.th-hero::before{background:linear-gradient(180deg,rgba(10,30,50,.94),rgba(16,53,80,.9))}}
            @media(max-width:575px){.th-inner{padding:28px 15px}.th-programmes ul{grid-template-columns:1fr;gap:6px}.th-programmes li{font-size:12px}.th-scholar-date{padding:8px 11px}.th-scholar-date strong{font-size:13px}}
        

            
            /* ================= HERO v2: banner image + two-column programmes + enquiry form ================= */
            .th-hero { --th-o: #F58220; --th-o-deep: #e0690a; }

            /* single banner (picture swaps desktop/mobile file) */
            .th-hero .th-banner { position: absolute; inset: 0; z-index: 0; display: block; margin: 0; }
            .th-hero .th-banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

            /* COMPACT: height comes from the content only (no min-height), so the banner no longer grows */
            .th-hero .th-inner { grid-template-columns: minmax(0, 1fr) 460px; gap: 36px; min-height: 590px; padding: 44px 25px; align-items: center; }
            .th-hero .th-left { min-width: 0; }

            /* ---- entrance animations (play once on load) ---- */
            @keyframes thUp  { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
            @keyframes thInL { from { opacity: 0; transform: translateX(-42px); } to { opacity: 1; transform: none; } }
            @keyframes thInR { from { opacity: 0; transform: translateX(42px); } to { opacity: 1; transform: none; } }
            @keyframes thShine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
            @keyframes thTick { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.12) rotate(-6deg); } }
            @keyframes thGlow { 0%, 100% { box-shadow: 0 10px 26px rgba(0,0,0,.32), 0 0 0 0 rgba(245,130,32,0); } 50% { box-shadow: 0 10px 26px rgba(0,0,0,.32), 0 0 0 8px rgba(245,130,32,.28); } }
            @keyframes thAlertIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
            .th-a { animation: thUp .7s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(var(--i, 0) * .12s + .1s); }

            /* "ADMISSIONS OPEN" tag with a light sweep */
            .th-open-tag { position: relative; overflow: hidden; display: inline-block; padding: 8px 20px; border-radius: 30px; background: var(--th-o-deep); color: #fff; font: 700 clamp(14px, 1.35vw, 19px)/1.2 'Poppins', Arial, sans-serif; letter-spacing: .03em; text-transform: uppercase; }
            .th-open-tag::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: thShine 3.4s ease-in-out 1.4s infinite; }

            /* big serif title */
            .th-title { margin: 12px 0 0; color: #fff; font: 500 clamp(32px, 3.7vw, 52px)/1.06 'Frank Ruhl Libre', Georgia, serif; letter-spacing: -.01em; }
            .th-title span { display: block; }
            .th-at { margin: 10px 0 16px; max-width: 660px; color: rgba(255,255,255,.92); font: 400 clamp(14px, 1.2vw, 16.5px)/1.5 'Poppins', Arial, sans-serif; }

            /* early bird: ONE rounded box (not square): dark label + orange date */
            .th-early { display: inline-flex; align-items: stretch; margin: 0 0 18px; max-width: 100%; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 26px rgba(0,0,0,.32); animation: thUp .7s cubic-bezier(.2,.7,.2,1) backwards, thGlow 3s ease-in-out 1.6s infinite; animation-delay: calc(var(--i, 0) * .12s + .1s), 1.6s; }
            .th-early-label { display: flex; flex-direction: column; justify-content: center; padding: 10px 18px; background: #0f3d66; color: #fff; font: 600 clamp(12.5px, 1.05vw, 14.5px)/1.25 'Poppins', Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
            .th-early-label b { color: #ffb36b; font-weight: 700; font-size: .92em; }
            .th-early-date { display: flex; align-items: center; gap: 12px; padding: 10px 20px; background: linear-gradient(135deg, #F58220, #e0690a); color: #fff; }
            .th-early-date > svg { flex: none; width: 30px; height: 30px; animation: thTick 2.6s ease-in-out infinite; }
            .th-early-date strong { display: block; font: 700 clamp(17px, 1.6vw, 22px)/1.15 'Poppins', Arial, sans-serif; white-space: nowrap; }
            .th-early-date sup { font-size: .55em; line-height: 0; vertical-align: super; }
            .th-early-date small { display: block; margin-top: 2px; font: 600 12px/1.2 'Poppins', Arial, sans-serif; }
            .th-early-date small:empty { display: none; }

            /* programmes: 2 columns x 3 rows (first 3 left, last 3 right), rounded cards that slide in */
            .th-plist { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); gap: 10px 14px; max-width: 780px; }
            .th-plist li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.22); border-left: 4px solid var(--th-o); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); color: #fff; font: 600 clamp(13px, 1.05vw, 15px)/1.3 'Poppins', Arial, sans-serif; animation: thInL .75s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(.55s + var(--r, 0) * .12s); transition: transform .25s, background .25s, border-color .25s; }
            .th-plist li:nth-child(n+4) { animation-name: thInR; animation-delay: calc(.67s + var(--r, 0) * .12s); }
            .th-plist li:hover { transform: translateY(-3px); background: rgba(245,130,32,.28); border-color: rgba(255,255,255,.4); border-left-color: var(--th-o); }
            .th-plist li .th-pic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--th-o); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,.25); transition: background .25s, transform .25s; }
            .th-plist li .th-pic svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
            .th-plist li:hover .th-pic { background: #17466B; transform: scale(1.08) rotate(-6deg); }

            /* buttons only where the form is hidden (tablet / mobile) */
            .th-hero .th-btns { display: none; margin-top: 22px; }

            /* ---- form card ---- */
            .th-hero .th-inline-form .th-form-card { animation: thInR .85s cubic-bezier(.2,.7,.2,1) .3s backwards; }
            .th-hero .th-form-card { padding: 20px 22px 22px !important; border-radius: 16px; box-shadow: 0 18px 48px rgba(0,0,0,.35); }
            .th-form.th-stack .th-fh { display: block; margin: 0 0 12px; }
            .th-form.th-stack .th-fh h3 { margin: 0; font: 600 20px/1.25 'Poppins', Arial, sans-serif; color: #103550; }
            .th-form.th-stack .th-fsub { margin: 4px 0 0; font: 400 12.5px/1.4 'Poppins', Arial, sans-serif; color: #5d6772; }
            .th-form.th-stack .th-row { display: grid; grid-template-columns: 1fr 1fr !important; gap: 10px !important; margin: 0 0 14px !important; }
            .th-form.th-stack .th-f { min-width: 0; }
            .th-form.th-stack .th-f.full { grid-column: 1 / -1; }
            .th-form.th-stack .th-f.req::after { content: none !important; display: none !important; }

            /* fields (no left icons; high specificity so the old icon/underline rules cannot leak in) */
            body .th-form.th-stack .th-f input:not([type=checkbox]),
            body .th-form.th-stack .th-f select { display: block !important; width: 100% !important; height: 42px !important; margin: 0 !important; padding: 0 14px !important; border: 1px solid #cdd6df !important; border-radius: 8px !important; background-color: #fff !important; background-image: none !important; box-shadow: none !important; color: #1d2933 !important; font: 400 14.5px/1.2 'Poppins', Arial, sans-serif !important; line-height: normal !important; }
            body .th-form.th-stack .th-f select { -webkit-appearance: none !important; appearance: none !important; padding-right: 36px !important; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 13px center !important; }
            body .th-form.th-stack .th-f select:invalid { color: #6b7580 !important; }
            body .th-form.th-stack .th-f input:not([type=checkbox]):focus,
            body .th-form.th-stack .th-f select:focus { border-color: var(--th-o) !important; box-shadow: 0 0 0 3px rgba(245,130,32,.18) !important; outline: 0; }
            body .th-form.th-stack .th-f.ph::before { content: none !important; display: none !important; }
            body .th-form.th-stack .th-f.ph { display: flex; align-items: stretch; border: 1px solid #cdd6df; border-radius: 8px; background: #fff; overflow: hidden; }
            body .th-form.th-stack .th-f.ph:focus-within { border-color: var(--th-o); box-shadow: 0 0 0 3px rgba(245,130,32,.18); }
            .th-form.th-stack .th-cc { flex: none; display: flex; align-items: center; padding: 0 10px; border-right: 1px solid #cdd6df; background: #f4f6f9; font: 600 14px 'Poppins', Arial, sans-serif; color: #333; }
            body .th-form.th-stack .th-f.ph input:not([type=checkbox]) { flex: 1 1 auto; min-width: 0; width: auto !important; height: 40px !important; border: 0 !important; border-radius: 0 !important; padding: 0 10px !important; background: transparent !important; box-shadow: none !important; }
            /* error state */
            body .th-form.th-stack .th-f.bad input:not([type=checkbox]),
            body .th-form.th-stack .th-f.bad select { border-color: #d9480f !important; background-color: #fff6f3 !important; }
            body .th-form.th-stack .th-f.ph.bad { border-color: #d9480f; background: #fff6f3; }

            /* country-code dropdown inside the Contact field */
            body .th-form.th-stack .th-f.ph select.th-cc { flex: none; width: auto !important; min-width: 0; height: 40px !important; border: 0 !important; border-right: 1px solid #cdd6df !important; border-radius: 0 !important; padding: 0 20px 0 9px !important; background-color: #f4f6f9 !important; background-position: right 6px center !important; font: 600 13px 'Poppins', Arial, sans-serif !important; color: #222 !important; }
            body .th-form.th-stack .th-f.ph input:not([type=checkbox]) { padding: 0 8px !important; }
            body .th-form.th-stack .th-f.sel select, body .th-form.th-stack .th-f.sel select:invalid { font-size: 13.5px !important; padding-left: 12px !important; padding-right: 30px !important; }

            /* submit */
            .th-form.th-stack .th-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-width: 0; height: 46px; margin: 0; padding: 0 16px; border: 0; border-radius: 10px; background: #17466B; color: #fff; font: 700 14px 'Poppins', Arial, sans-serif; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: background .25s, transform .25s, box-shadow .25s; }
            .th-form.th-stack .th-submit svg { width: 20px; height: 20px; padding: 0; background: none; border-radius: 0; fill: #fff; flex: none; transition: transform .3s; }
            .th-form.th-stack .th-submit:hover:not(:disabled) { background: var(--th-o); box-shadow: 0 8px 18px rgba(245,130,32,.35); transform: none; }
            .th-form.th-stack .th-submit:hover:not(:disabled) svg { transform: translateX(4px); }
            .th-form.th-stack .th-submit:disabled { opacity: .7; cursor: progress; }
            .th-form.th-stack .th-err { margin: 10px 0 0; text-align: center; color: #d9480f; font-size: 12.5px; }
            .th-hp { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px; height: 1px; overflow: hidden; }

            /* ---- Bootstrap alert shown after submit (top centre, above the popup) ---- */
            #thAlerts { position: fixed; left: 50%; top: calc(var(--terna-header-h, 170px) + 12px); transform: translateX(-50%); z-index: 100100; width: min(92vw, 540px); pointer-events: none; }
            #thAlerts .alert { position: relative; margin: 0; padding: 14px 46px 14px 16px; border-radius: 12px; pointer-events: auto; box-shadow: 0 14px 36px rgba(0,0,0,.28); font: 500 14px/1.5 'Poppins', Arial, sans-serif; animation: thAlertIn .45s cubic-bezier(.2,.8,.2,1); }
            #thAlerts .alert-success { background: #e8f7ee; border: 1px solid #9ad8b3; color: #14532d; }
            #thAlerts .alert-danger { background: #fdecea; border: 1px solid #f1aeb5; color: #842029; }
            #thAlerts .alert strong { display: block; font-size: 15px; margin-bottom: 2px; }
            .th-alert-x { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border: 0; background: transparent; color: inherit; font-size: 24px; line-height: 1; opacity: .6; cursor: pointer; }
            .th-alert-x:hover { opacity: 1; }

            /* ---- tablet / mobile ---- */
            @media (max-width: 1199px) {
                .th-hero .th-inner { grid-template-columns: minmax(0, 1fr) 430px; gap: 26px; min-height: 560px; }
            }

            @media (max-width: 991px) {
    .th-hero .th-inner {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: 0;
        padding: 36px 18px 40px;
    }

    /* Hide Apply Now and Call buttons */
    .th-hero .th-btns {
        display: none !important;
    }

    /* Show the actual enquiry form below banner content */
    .th-hero .th-inline-form {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        width: 100% !important;
        max-width: 520px;
        margin: 10px auto 0 !important;
        height: auto !important;
    }

    .th-hero .th-form-card {
        display: block !important;
        width: 100% !important;
        padding: 18px !important;
        margin: 0 !important;
    }

    .th-plist {
        max-width: none;
    }
}

@media (max-width: 575px) {
    .th-hero .th-inner {
        padding: 26px 15px 30px;
        gap: 20px;
    }

    .th-hero .th-inline-form {
        max-width: 100%;
        margin-top: 5px !important;
    }

    .th-hero .th-form-card {
        padding: 16px !important;
        border-radius: 12px !important;
    }

    .th-form.th-stack .th-row {
        grid-template-columns: 1fr !important;
    }
}
            /* @media (max-width: 991px) {
                .th-hero .th-inner { grid-template-columns: 1fr; gap: 0; min-height: 0; padding: 36px 18px 40px; }
                .th-hero .th-btns { display: flex; }
                .th-plist { max-width: none; }
            } */
            @media (max-width: 575px) {
                .th-hero .th-inner { padding: 30px 15px 34px; }
                .th-open-tag { padding: 7px 14px; font-size: 13px; }
                .th-title { font-size: clamp(28px, 8.2vw, 38px); margin-top: 10px; }
                .th-at { margin: 8px 0 14px; font-size: 14px; }
                .th-early { display: flex; flex-direction: column; width: 100%; margin-bottom: 14px; }
                .th-early-label { padding: 9px 14px; }
                .th-early-date { padding: 9px 14px; }
                .th-early-date > svg { width: 26px; height: 26px; }
                .th-early-date strong { font-size: 19px; }
                .th-plist { grid-auto-flow: row; grid-template-columns: 1fr; grid-template-rows: none; gap: 8px; }
                .th-plist li, .th-plist li:nth-child(n+4) { animation-name: thInL; font-size: 13.5px; padding: 9px 12px; }
                .th-plist li:nth-child(n+4) { animation-delay: calc(.55s + (var(--r, 0) + 3) * .12s); }
                #thAlerts { top: calc(var(--terna-header-h, 130px) + 8px); }
            }
            /* very small phones: one field per row */
            @media (max-width: 440px) { .th-form.th-stack .th-row { grid-template-columns: 1fr !important; } }
            @media (prefers-reduced-motion: reduce) {
                .th-a, .th-early, .th-plist li, .th-hero .th-inline-form .th-form-card, .th-open-tag::after, .th-early-date > svg { animation: none !important; }
            }
        

            /* hide the floating Enquire/WhatsApp/Call buttons while the hero form is on screen (they overlapped it) */
            body.th-form-visible .th-fabs { display: none; }
        

            .th-ess { background: #f4f6f9; padding: 16px 0; font-family: 'Poppins', Arial, sans-serif; }
            .th-ess * { box-sizing: border-box; }
            .th-ess-wrap { max-width: 1350px; margin: 0 auto; padding: 0 25px; }
            .th-ess-row { display: flex; flex-wrap: nowrap; gap: 14px; padding: 10px 2px 14px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
            .th-ess-row::-webkit-scrollbar { display: none; }
            .th-ess-item { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; overflow: hidden; color: #fff; text-decoration: none; background: linear-gradient(135deg, #0d2a44 0%, #17466B 100%); box-shadow: 0 8px 20px rgba(16, 53, 80, .22); scroll-snap-align: start; transition: transform .3s, box-shadow .3s; }
            .th-ess-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #F58220, #e0690a); opacity: 0; transition: opacity .35s; }
            .th-ess-item::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg); animation: thEssShine 5.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .7s); pointer-events: none; }
            .th-ess-item > * { position: relative; z-index: 1; }
            .th-ess-item:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(245, 130, 32, .38); color: #fff; }
            .th-ess-item:hover::before { opacity: 1; }
            .th-ess-ic { flex: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; animation: thEssFloat 3s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .25s); transition: background .3s; }
            .th-ess-ic svg { width: 26px; height: 26px; fill: #F58220; transition: fill .3s; }
            .th-ess-item:hover .th-ess-ic { background: #fff; }
            .th-ess-item:hover .th-ess-ic svg { fill: #17466B; }
            .th-ess-tx strong { display: block; font-size: 14px; line-height: 1.3; font-weight: 700; color: #fff; }
            .th-ess-tx small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; color: rgba(255, 255, 255, .8); }
            .th-ess-row.in .th-ess-item { animation: thEssIn .7s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i, 0) * .09s); }
            @keyframes thEssIn { from { opacity: 0; transform: translateY(26px) scale(.94); } to { opacity: 1; transform: none; } }
            @keyframes thEssFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
            @keyframes thEssShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
            @media (max-width: 1279px) { .th-ess-item { flex: 0 0 auto; min-width: 225px; } }
            @media (max-width: 575px) { .th-ess-wrap { padding: 0 12px; } .th-ess-item { min-width: 200px; padding: 14px 12px; } }
            @media (prefers-reduced-motion: reduce) { .th-ess-item::after, .th-ess-ic, .th-ess-row.in .th-ess-item { animation: none !important; } }
        

            .th-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; margin: 0 0 36px; font-family: 'Poppins', Arial, sans-serif; }
            .th-intro-txt h2 { margin: 0 0 16px; font: 700 clamp(26px, 2.8vw, 38px)/1.2 'Poppins', Arial, sans-serif; color: #103550; text-align: left; }
            .th-intro-txt h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 12px; border-radius: 4px; background: linear-gradient(90deg, #F58220, #17466B); }
            .th-intro-txt p { margin: 0 0 20px; font-size: 15.5px; line-height: 1.75; color: #3b4a58; text-align: left; }
            .th-intro-img { position: relative; min-height: 380px; border-radius: 22px; background: #103550 center/cover no-repeat; box-shadow: 0 20px 50px rgba(16, 53, 80, .25); overflow: hidden; }
            .th-intro-img::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(to bottom, #F58220, #17466B); }
            .th-intro-tag { position: absolute; left: 18px; bottom: 18px; padding: 11px 18px; border-radius: 12px; background: linear-gradient(135deg, #F58220, #17466B); color: #fff; font-size: 13px; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
            .th-intro-tag strong { display: block; font-size: 15px; }
            @media (max-width: 991px) { .th-intro { grid-template-columns: 1fr; gap: 26px; } .th-intro-img { min-height: 260px; } }

            /* courses slider: image only, text slides up on hover (always visible on touch screens) */
            .departments-area .single-research-box { position: relative; height: 360px; border-radius: 18px; overflow: hidden; background: #103550; box-shadow: 0 10px 28px rgba(16, 53, 80, .18); }
            .departments-area .single-research-box .img-holder { position: absolute !important; inset: 0; height: 100% !important; margin: 0 !important; }
            .departments-area .single-research-box .img-holder::before,
            .departments-area .single-research-box .img-holder::after { display: none !important; }
            .departments-area .single-research-box .img-holder img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .7s ease; }
            .departments-area .single-research-box:hover .img-holder img { transform: scale(1.1); }
            .departments-area .single-research-box .icon,
            .departments-area .single-research-box .overlay-icon { display: none !important; }
            .departments-area .single-research-box .overlay-content { position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; height: auto !important; padding: 56px 22px 20px !important; background: linear-gradient(to top, rgba(10, 30, 50, .94) 0%, rgba(10, 30, 50, .6) 60%, rgba(10, 30, 50, 0) 100%) !important; transform: translateY(100%) !important; opacity: 0 !important; visibility: visible !important; transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .35s !important; }
            .departments-area .single-research-box:hover .overlay-content,
            .departments-area .single-research-box:focus-within .overlay-content { transform: none !important; opacity: 1 !important; }
            .departments-area .single-research-box .overlay-content .inner-title::before { content: ""; display: block; width: 42px; height: 3px; margin-bottom: 10px; background: #F58220; border-radius: 3px; }
            .departments-area .single-research-box .overlay-content h3 { margin: 0; font-size: 19px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
            .departments-area .single-research-box .overlay-content h3 a { color: #fff !important; }
            .departments-area .single-research-box .overlay-content .text { display: block !important; opacity: 1 !important; visibility: visible !important; height: auto !important; margin: 6px 0 0; }
            .departments-area .single-research-box .overlay-content .text p { margin: 0; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
            @media (hover: none) { .departments-area .single-research-box .overlay-content { transform: none !important; opacity: 1 !important; } }
            @media (max-width: 575px) { .departments-area .single-research-box { height: 300px; } }
        

            .th-about2 { max-width: 1350px; margin: 0 auto; padding: 0 25px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; font-family: 'Poppins', Arial, sans-serif; }
            .th-about2 *, .th-about2 *::before, .th-about2 *::after { box-sizing: border-box; }
            .th-about-img { position: relative; min-height: 560px; border-radius: 22px; background: #103550 url(assets/img/about.jpg) center/cover no-repeat; box-shadow: 0 20px 50px rgba(16, 53, 80, .25); overflow: hidden; }
            .th-about-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 30, 50, .85) 0%, rgba(10, 30, 50, 0) 55%); }
            .th-about-img::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(to bottom, #F58220, #17466B); }
            .th-about-badge { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; display: flex; gap: 14px; flex-wrap: wrap; }
            .th-about-badge div { flex: 1 1 140px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .95); border-top: 3px solid #F58220; }
            .th-about-badge strong { display: block; font-size: 17px; line-height: 1.2; color: #17466B; }
            .th-about-badge span { font-size: 12px; color: #5b6875; }
            .th-about-txt .th-eyebrow3 { display: inline-block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F58220; }
            .th-about-txt h2 { margin: 0 0 16px; font: 700 clamp(26px, 2.8vw, 38px)/1.2 'Poppins', Arial, sans-serif; color: #103550; }
            .th-about-txt h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 12px; border-radius: 4px; background: linear-gradient(90deg, #F58220, #17466B); }
            .th-about-txt p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.75; color: #3b4a58; }
            .th-about-list { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
            .th-about-list li { position: relative; padding: 14px 14px 14px 42px; border-radius: 12px; background: #f4f6f9; font-size: 14px; line-height: 1.45; font-weight: 500; color: #103550; }
            .th-about-list li::before { content: "✓"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: #F58220; color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
            .th-about-btn { display: inline-block; padding: 13px 32px; border-radius: 50px; background: linear-gradient(135deg, #F58220, #e0690a); color: #fff !important; font: 700 14.5px 'Poppins', Arial, sans-serif; text-decoration: none; box-shadow: 0 8px 22px rgba(245, 130, 32, .35); transition: transform .2s; }
            .th-about-btn:hover { transform: translateY(-2px); }
            @media (max-width: 991px) { .th-about2 { grid-template-columns: 1fr; gap: 30px; padding: 0 16px; } .th-about-img { min-height: 340px; } .th-about-list { grid-template-columns: 1fr; } }
        

            .fact-counter-area { background: #f4f6f9 !important; background-image: none !important; padding: 56px 0 !important; }
            .fact-counter-area::before, .fact-counter-area::after { display: none !important; }
            .fact-counter-area .sec-title h2, .testimonial-style1__title .sec-title h2 { color: #103550 !important; }
            .fact-counter-area .sec-title .sub-title p, .testimonial-style1__title .sec-title .sub-title p { color: #5b6875 !important; }
            .testimonial-style1-area { background: #fff !important; background-image: none !important; padding: 56px 0 60px !important; }
            .testimonial-style1-area::before, .testimonial-style1-area::after { display: none !important; }

            /* flip card */
            .th-flip { perspective: 1200px; height: 250px; outline: none; font-family: 'Poppins', Arial, sans-serif; cursor: pointer; }
            .th-flip-t { height: 290px; }
            .th-flip-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .85s cubic-bezier(.4, .2, .2, 1); }
            @media (hover: hover) { .th-flip:hover .th-flip-in { transform: rotateY(180deg); } }
            .th-flip:focus .th-flip-in, .th-flip.is-flipped .th-flip-in { transform: rotateY(180deg); }
            .th-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 22px 20px; text-align: center; border-radius: 18px; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-sizing: border-box; }
            .th-front { background: #fff; border-top: 4px solid #F58220; box-shadow: 0 10px 28px rgba(23, 70, 107, .13); }
            .th-back { transform: rotateY(180deg); color: #fff; background: linear-gradient(135deg, #0d2a44 0%, #17466B 62%, #F58220 170%); box-shadow: 0 14px 34px rgba(16, 53, 80, .3); }
            .th-front h3 { margin: 4px 0 0; font-size: 18px; line-height: 1.3; font-weight: 700; color: #103550; }
            .th-hint { margin-top: 6px; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #F58220; }
            .th-fact-ic { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg, #F58220 0%, #17466B 100%); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(23, 70, 107, .28); }
            .th-fact-ic svg { width: 36px; height: 36px; fill: #fff; }
            .th-back p { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .92); }
            .th-back strong { font-size: 14px; color: #ffc891; }
            .th-flip-btn { margin-top: 8px; display: inline-block; padding: 10px 26px; border-radius: 50px; background: linear-gradient(135deg, #F58220, #e0690a); color: #fff !important; font: 700 13.5px 'Poppins', Arial, sans-serif; text-decoration: none; }
            .th-av { margin-bottom: 2px; }
            .th-prog { font-size: 13px; color: #6b7886; }
            .th-stars { font-size: 17px; letter-spacing: 3px; color: #F58220; }
            .th-q { font: 700 54px/0.6 Georgia, serif; color: #F58220; }
            .th-back .th-qt { font-size: 15px; line-height: 1.6; }

            /* sliders: dots */
            .th-fslider .owl-dots, .research-carousel .owl-dots { text-align: center; margin-top: 22px; }
            .th-fslider .owl-dots .owl-dot, .research-carousel .owl-dots .owl-dot { background: none; border: 0; padding: 0; }
            .th-fslider .owl-dots .owl-dot span, .research-carousel .owl-dots .owl-dot span { display: block; width: 10px; height: 10px; margin: 0 5px; border-radius: 10px; background: #c9d6e3; transition: width .3s, background .3s; }
            .th-fslider .owl-dots .owl-dot.active span, .research-carousel .owl-dots .owl-dot.active span { width: 30px; background: #F58220; }
            .th-fslider .owl-dots .owl-dot:only-child { display: none; }
            @media (prefers-reduced-motion: reduce) { .th-flip-in { transition: none; } }
        

            .course-carousel .owl-nav, .testimonial-carousel .owl-nav { display: flex !important; justify-content: center; gap: 14px; margin-top: 26px; }
            .course-carousel .owl-nav button, .testimonial-carousel .owl-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #F58220 !important; color: #fff !important; font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s; }
            .course-carousel .owl-nav button:hover, .testimonial-carousel .owl-nav button:hover { background: #17466B !important; }
            .th-av { display: flex; width: 70px; height: 70px; border-radius: 50%; align-items: center; justify-content: center; background: linear-gradient(135deg, #17466B, #F58220); color: #fff; font: 700 28px 'Poppins', Arial, sans-serif; }
        

            .research-area .sec-title h2,
            .research-area .sec-title .sub-title p { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
            .research-area { background: #f4f6f9 !important; background-image: none !important; padding: 56px 0 60px !important; }
            .research-area::before, .research-area::after { display: none !important; }
            .research-area .sec-title h2 { color: #103550 !important; }
            .research-area .sec-title .sub-title p { color: #5b6875 !important; }
            .research-carousel .owl-stage-outer { padding: 22px 0 6px; }
            .research-area .single-research-box { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 16px; height: auto; min-height: 170px; padding: 6px; text-align: center; background: none !important; border: 0; box-shadow: none; overflow: visible; }
            .research-area .single-research-box .img-holder { position: static !important; inset: auto !important; width: auto !important; height: auto !important; margin: 0 !important; }
            .research-area .single-research-box .img-holder::before,
            .research-area .single-research-box .img-holder::after { display: none !important; }
            .research-area .single-research-box .img-holder .icon { position: static !important; display: flex !important; align-items: center; justify-content: center; width: 92px !important; height: 92px !important; margin: 0 auto !important; border-radius: 50% !important; background: linear-gradient(135deg, #F58220 0%, #17466B 100%) !important; border: 0 !important; box-shadow: 0 10px 24px rgba(23, 70, 107, .3); transform: none !important; animation: thRing 2.8s ease-out infinite; transition: transform .35s; }
            .research-area .single-research-box .img-holder .icon span { color: #fff !important; font-size: 40px !important; line-height: 1; }
            .research-area .single-research-box:hover .img-holder .icon { transform: translateY(-6px) rotate(-8deg) scale(1.06) !important; }
            .research-area .single-research-box .overlay-content { position: static !important; width: 100%; height: auto !important; padding: 0 !important; background: none !important; opacity: 1 !important; visibility: visible !important; transform: none !important; }
            .research-area .single-research-box .overlay-content .inner-title::before { display: none !important; }
            .research-area .single-research-box .overlay-content h3 { margin: 0; font-size: 16.5px; line-height: 1.4; font-weight: 700; display: block; overflow: visible; }
            .research-area .single-research-box .overlay-content h3 a { color: #103550 !important; transition: color .2s; }
            .research-area .single-research-box:hover .overlay-content h3 a { color: #F58220 !important; }
            @keyframes thRing { 0% { box-shadow: 0 10px 24px rgba(23, 70, 107, .3), 0 0 0 0 rgba(245, 130, 32, .45); } 70% { box-shadow: 0 10px 24px rgba(23, 70, 107, .3), 0 0 0 16px rgba(245, 130, 32, 0); } 100% { box-shadow: 0 10px 24px rgba(23, 70, 107, .3), 0 0 0 0 rgba(245, 130, 32, 0); } }
            @media (max-width: 575px) { .research-area .single-research-box .img-holder .icon { width: 72px !important; height: 72px !important; } .research-area .single-research-box .img-holder .icon span { font-size: 32px !important; } .research-area .single-research-box .overlay-content h3 { font-size: 14.5px; } }
            @media (prefers-reduced-motion: reduce) { .research-area .single-research-box .img-holder .icon { animation: none; } }
        

            .th-guide-wrap { font-family: 'Poppins', Arial, sans-serif; }
            .th-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px 0 26px; }
            .th-pill { padding: 11px 22px; border: 2px solid #17466B; border-radius: 50px; background: #fff; color: #17466B; font: 600 14px 'Poppins', Arial, sans-serif; cursor: pointer; transition: all .25s; }
            .th-pill.is-active, .th-pill:hover { background: #F58220; border-color: #F58220; color: #fff; }
            .th-guide { position: relative; overflow: hidden; border-radius: 20px; box-shadow: 0 14px 40px rgba(23, 70, 107, .16); background: #fff; }
            .th-guide .swiper-slide { height: auto; }
            .th-gslide { display: grid; grid-template-columns: 0.9fr 1.3fr; min-height: 380px; }
            .th-gimg { background-size: cover; background-position: center; min-height: 240px; }
            .th-gtxt { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
            .th-gnum { font: 700 14px 'Poppins', Arial, sans-serif; color: #F58220; letter-spacing: .12em; }
            .th-gtxt h3 { margin: 6px 0 14px; font: 700 25px/1.25 'Poppins', Arial, sans-serif; color: #103550; }
            .th-gtxt p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.7; color: #3b4a58; }
            .th-gtxt a:not(.th-gbtn) { color: #F58220; font-weight: 600; }
            .th-gl { list-style: none; margin: 0 0 8px; padding: 0; }
            .th-gl li { position: relative; padding: 0 0 10px 24px; font-size: 14.5px; line-height: 1.65; color: #3b4a58; }
            .th-gl li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #17466B, #F58220); }
            .th-gbtn { margin-top: 8px; display: inline-block; padding: 12px 28px; border-radius: 50px; background: linear-gradient(135deg, #F58220, #e0690a); color: #fff !important; font: 700 14px 'Poppins', Arial, sans-serif; text-decoration: none; box-shadow: 0 8px 20px rgba(245, 130, 32, .35); transition: transform .2s; }
            .th-gbtn:hover { transform: translateY(-2px); }
            .th-gnav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 22px; }
            .th-gnav button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #F58220; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s; }
            .th-gnav button:hover { background: #17466B; }
            .th-gbar { flex: 0 1 220px; height: 4px; border-radius: 4px; background: #dbe4ec; overflow: hidden; }
            .th-gbar i { display: block; height: 100%; width: 0; background: #F58220; }
            @media (max-width: 767px) {
                .th-gslide { grid-template-columns: 1fr; }
                .th-gimg { min-height: 180px; }
                .th-gtxt { padding: 24px 20px; }
                .th-gtxt h3 { font-size: 21px; }
                .th-pill { flex: 1 1 100%; text-align: center; }
            }
        

            .partner-area { background: linear-gradient(135deg, #f1f6fd 0%, #dde8f7 100%) !important; background-image: linear-gradient(135deg, #f1f6fd 0%, #dde8f7 100%) !important; padding: 56px 0 !important; overflow: hidden; }
            .partner-area::before, .partner-area::after { display: none !important; }
            .th-rc { max-width: 1500px; margin: 0 auto; padding: 0 25px; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 30px; align-items: center; font-family: 'Poppins', Arial, sans-serif; }
            .th-rc * { box-sizing: border-box; }
            .th-rc-left .th-rc-eyebrow { display: inline-block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F58220; }
            .th-rc-left h2 { margin: 0 0 14px; font: 700 clamp(28px, 3vw, 42px)/1.15 'Poppins', Arial, sans-serif; color: #0f1b2d; }
            .th-rc-left p { margin: 0 0 24px; font-size: 15.5px; line-height: 1.7; color: #4a5a6a; }
            .th-rc-btn { display: inline-block; padding: 13px 32px; border-radius: 50px; background: linear-gradient(135deg, #F58220, #e0690a); color: #fff !important; font: 700 14.5px 'Poppins', Arial, sans-serif; text-decoration: none; box-shadow: 0 8px 22px rgba(245, 130, 32, .35); transition: transform .2s; }
            .th-rc-btn:hover { transform: translateY(-2px); }
            .th-rc-rows { display: flex; flex-direction: column; gap: 20px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 94%, transparent 100%); }
            .th-rc-track { display: flex; width: max-content; will-change: transform; animation: thRcL var(--spd, 40s) linear infinite; }
            .th-rc-track.rc-r { animation-name: thRcR; }
            .th-rc-rows:hover .th-rc-track { animation-play-state: paused; }
            .th-rc-group { display: flex; flex: none; }
            .th-rc-card { flex: none; width: 275px; height: 100px; margin-right: 25px; padding: 14px 24px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(23, 70, 107, .08); transition: transform .3s, box-shadow .3s; }
            .th-rc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(23, 70, 107, .16); }
            .th-rc-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
            .th-rc-name { font: 600 14px 'Poppins', Arial, sans-serif; color: #17466B; text-align: center; }
            @keyframes thRcL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
            @keyframes thRcR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
            @media (max-width: 991px) {
                .th-rc { grid-template-columns: 1fr; gap: 28px; padding: 0 16px; }
                .th-rc-card { width: 190px; height: 80px; margin-right: 16px; padding: 10px 16px; border-radius: 12px; }
                .th-rc-rows { gap: 14px; -webkit-mask-image: none; mask-image: none; }
            }
            @media (prefers-reduced-motion: reduce) { .th-rc-track { animation: none; } .th-rc-rows { overflow-x: auto; } }
        

            .th-contact-sec { position: relative; padding: 64px 0; overflow: hidden; font-family: 'Poppins', Arial, sans-serif; background: #103550 url(assets/img/banners/db1.webp) center/cover no-repeat; }
            .th-contact-sec::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(10, 30, 50, .93) 0%, rgba(16, 53, 80, .86) 55%, rgba(23, 70, 107, .72) 100%); }
            .th-contact-sec *, .th-contact-sec *::before, .th-contact-sec *::after { box-sizing: border-box; }
            .th-ct-wrap { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
            .th-ct-info .th-eyebrow2 { display: inline-block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F58220; }
            .th-ct-info h2 { margin: 0 0 12px; font: 700 clamp(28px, 3.2vw, 42px)/1.15 'Poppins', Arial, sans-serif; color: #fff; }
            .th-ct-info > p { margin: 0 0 28px; font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, .8); max-width: 480px; }
            .th-ct-item { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 20px; color: #fff; font-size: 15px; line-height: 1.65; }
            .th-ct-item .ic { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #F58220; display: flex; align-items: center; justify-content: center; }
            .th-ct-item svg { width: 22px; height: 22px; fill: #fff; }
            .th-ct-item small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #ffc891; font-weight: 600; }
            .th-ct-item a { color: #fff; text-decoration: none; }
            .th-ct-item a:hover { color: #F58220; }
            .th-contact-form { background: #fff; border-radius: 20px; padding: 44px 38px 46px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); border-top: 5px solid #F58220; }
            .th-contact-form h3 { margin: 0 0 4px; font: 700 26px/1.2 'Poppins', Arial, sans-serif; color: #103550; }
            .th-contact-form .th-sub { margin: 0 0 18px; font-size: 14px; color: #6b7886; }
            .th-contact-form input, .th-contact-form textarea { display: block; width: 100% !important; margin: 0 0 16px !important; padding: 16px 18px !important; border: 1.5px solid #dfe6ee !important; border-radius: 10px !important; background: #f8fafc !important; font: 400 15px 'Poppins', Arial, sans-serif !important; color: #222; outline: none; box-shadow: none !important; resize: none; height: auto !important; transition: border-color .2s, background .2s; }
            .th-contact-form input:focus, .th-contact-form textarea:focus { border-color: #F58220 !important; background: #fff !important; }
            .th-contact-form .is-bad { border-color: #d9480f !important; }
            .th-contact-form button { width: 100%; height: 58px; border: 0; border-radius: 10px; cursor: pointer; color: #fff; font: 700 14px 'Poppins', Arial, sans-serif; letter-spacing: .05em; text-transform: uppercase; background: linear-gradient(135deg, #F58220, #e0690a); box-shadow: 0 10px 24px rgba(245, 130, 32, .35); transition: transform .2s; }
            .th-contact-form textarea { min-height: 130px; }
            .th-ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
            .th-cf { position: relative; min-width: 0; }
            .th-cf.req::after { content: "*"; position: absolute; right: 14px; top: 15px; color: #d9480f; font: 700 17px/1 'Poppins', Arial, sans-serif; pointer-events: none; }
            .th-cf.req.sel::after { right: 38px; }
            .th-contact-form .th-cf.req input { padding-right: 30px !important; }
            .th-contact-form .th-cf.req select { padding-right: 56px !important; }
            @media (max-width: 440px) { .th-ct-row { grid-template-columns: 1fr; } }
            .th-contact-form select { display: block !important; width: 100% !important; height: auto !important; min-height: 54px; margin: 0 0 16px !important; padding: 16px 42px 16px 18px !important; border: 1.5px solid #dfe6ee !important; border-radius: 10px !important; background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center !important; font: 400 15px 'Poppins', Arial, sans-serif !important; color: #222; appearance: none; -webkit-appearance: none; outline: none; box-shadow: none !important; float: none !important; cursor: pointer; transition: border-color .2s; }
            .th-contact-form select:invalid { color: #7d838c; }
            .th-contact-form select:focus { border-color: #F58220 !important; background-color: #fff !important; }
            .th-contact-form .nice-select { display: none !important; }
            .th-contact-form button:hover { transform: translateY(-2px); }
            .th-contact-form .th-err { margin: 10px 0 0; font: 500 12.5px 'Poppins', Arial, sans-serif; color: #d9480f; }
            @media (max-width: 900px) { .th-contact-sec { padding: 56px 0; } .th-ct-wrap { grid-template-columns: 1fr; gap: 34px; padding: 0 16px; } .th-contact-form { padding: 34px 20px 36px; } }
        

            /* ===== FIXES: solid colours, no asterisks, roomy form, vertical action buttons ===== */
            .th-f.req::after, .th-cf.req::after, .th-req-note { display: none !important; }

            /* --- enquiry form: taller, roomier, icons on the left --- */
            .th-form-card { padding: 30px 30px 32px !important; border-radius: 18px; }
            .th-form .th-fh { margin: 0 0 20px; }
            .th-form .th-fh h3 { font-size: 22px; color: #17466B; }
            .th-form .th-row { gap: 0 14px; margin: 0 0 16px; }
            .th-form .th-f input:not([type=checkbox]),
            .th-form .th-f select { height: 52px !important; padding: 0 14px 0 42px !important; font-size: 14.5px !important; border: 1.5px solid #d5dde7 !important; background-color: #f6f8fb !important; }
            .th-form .th-f select { padding-right: 38px !important; }
            .th-form .th-f.req input, .th-form .th-f.req select { padding-right: 14px !important; }
            .th-form .th-f.req select { padding-right: 38px !important; }
            .th-form .th-f input:not([type=checkbox]):focus, .th-form .th-f select:focus { border-color: #17466B !important; box-shadow: 0 0 0 3px rgba(23, 70, 107, .14) !important; }
            .th-form .th-f .is-bad { border-color: #d9480f !important; }
            .th-form .th-err { color: #d9480f; }
.th-form input[name="first_name"], .th-contact-form input[name="first_name"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2317466B' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%224%22/%3E%3Cpath d=%22M4 21c0-4 4-6 8-6s8 2 8 6%22/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: 13px center !important; padding-left: 42px !important; }
.th-form input[name="last_name"], .th-contact-form input[name="last_name"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2317466B' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%224%22/%3E%3Cpath d=%22M4 21c0-4 4-6 8-6s8 2 8 6%22/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: 13px center !important; padding-left: 42px !important; }
.th-form input[name="name"], .th-contact-form input[name="name"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2317466B' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%224%22/%3E%3Cpath d=%22M4 21c0-4 4-6 8-6s8 2 8 6%22/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: 13px center !important; padding-left: 42px !important; }
.th-form input[name="phone"], .th-contact-form input[name="phone"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2317466B' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z%22/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: 13px center !important; padding-left: 42px !important; }
.th-form input[name="email"], .th-contact-form input[name="email"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2317466B' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22/%3E%3Cpath d=%22M3 7l9 6 9-6%22/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: 13px center !important; padding-left: 42px !important; }
.th-form input[name="city"], .th-contact-form input[name="city"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2317466B' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z%22/%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%222.5%22/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: 13px center !important; padding-left: 42px !important; }
.th-form select[name="year"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2317466B' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x=%223%22 y=%224%22 width=%2218%22 height=%2218%22 rx=%222%22/%3E%3Cpath d=%22M16 2v4M8 2v4M3 10h18%22/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important; background-repeat: no-repeat, no-repeat !important; background-position: 13px center, right 14px center !important; padding-left: 42px !important; }
.th-form select[name="exam"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2317466B' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z%22/%3E%3Cpath d=%22M14 3v6h6M8 13h8M8 17h5%22/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important; background-repeat: no-repeat, no-repeat !important; background-position: 13px center, right 14px center !important; padding-left: 42px !important; }
.th-form select[name="spec"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2317466B' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M22 10L12 5 2 10l10 5 10-5z%22/%3E%3Cpath d=%22M6 12v5c3 2.5 9 2.5 12 0v-5%22/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important; background-repeat: no-repeat, no-repeat !important; background-position: 13px center, right 14px center !important; padding-left: 42px !important; }
.th-form input[name="subject"], .th-contact-form input[name="subject"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2317466B' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M21 15a2 2 0 0 1-2 2H8l-5 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z%22/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: 13px center !important; padding-left: 42px !important; }
.th-form .th-f.ph input, .th-contact-form input[name="phone"] { padding-left: 72px !important; background-position: 13px center !important; }
.th-form .th-f.ph::before { left: 40px !important; top: 25px !important; }

            /* --- consent: real clickable tick box --- */
            .th-form .th-consent { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 18px; padding: 12px 14px; border: 1.5px solid #e3e9f0; border-radius: 10px; background: #f9fbfd; cursor: pointer; font: 400 12.5px/1.5 'Poppins', Arial, sans-serif; color: #44515e; user-select: none; position: relative; transition: border-color .2s, background .2s; }
            .th-form .th-consent:hover { border-color: #17466B; }
            .th-form .th-consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; left: 14px; top: 12px; cursor: pointer; }
            .th-form .th-consent .th-ctext { display: block; padding-left: 34px; position: relative; }
            .th-form .th-consent .th-ctext::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border: 2px solid #17466B; border-radius: 6px; background: #fff; transition: background .2s; }
            .th-form .th-consent .th-ctext::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .15s; }
            .th-form .th-consent input:checked + .th-ctext::before { background: #17466B; }
            .th-form .th-consent input:checked + .th-ctext::after { transform: rotate(45deg) scale(1); }
            .th-form .th-consent input:focus-visible + .th-ctext::before { box-shadow: 0 0 0 3px rgba(245, 130, 32, .4); }
            .th-form .th-consent input.is-bad + .th-ctext::before { border-color: #d9480f; }

            /* --- submit: simple blue, arrow on the right --- */
            .th-form .th-submit { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 12px 0 26px; border-radius: 12px; background: #17466B; color: #fff; font-size: 14px; letter-spacing: .06em; box-shadow: none; }
            .th-form .th-submit svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #F58220; color: #fff; flex: none; }
            .th-form .th-submit:hover { background: #F58220; transform: none; box-shadow: 0 8px 18px rgba(245, 130, 32, .35); }
            .th-form .th-submit:hover svg { background: #17466B; }

            /* --- contact form icons --- */
            .th-contact-form input[name="name"], .th-contact-form input[name="phone"], .th-contact-form input[name="email"], .th-contact-form input[name="subject"] { padding-left: 46px !important; padding-right: 16px !important; background-color: #f8fafc !important; }
            .th-contact-form input[name="phone"] { padding-left: 46px !important; }
            .th-contact-form button { background: #17466B; box-shadow: none; }
            .th-contact-form button:hover { background: #F58220; }

            /* --- banner: taller, wider form column --- */
            .th-slide h2 { font-size: clamp(28px, 3.4vw, 50px); }
            @media (max-width: 575px) { .th-inner { min-height: 560px; padding: 44px 16px 44px; } .th-form-card { padding: 22px 16px 24px !important; } .th-form .th-f input:not([type=checkbox]), .th-form .th-f select { height: 48px !important; } }
            @media (max-width: 359px) { .th-form .th-row { grid-template-columns: 1fr; } }

            /* --- left approvals: ONE colour (blue), orange on hover --- */
            .th-cb { background: #17466B; }
            .th-cb:hover, .th-cb:focus { background: #F58220; }
            .th-cb span { background: #17466B; }
            .th-cb:hover span, .th-cb:focus span { background: #F58220; }

            /* --- right side actions: stacked top to bottom --- */
            .th-fabs { flex-direction: column; align-items: flex-end; gap: 12px; right: 16px; bottom: 22px; }
            .th-fab { height: 50px; padding: 0 22px; font-size: 14px; background: #F58220; box-shadow: 0 8px 20px rgba(245, 130, 32, .4); }
            .th-fab:hover { background: #17466B; box-shadow: 0 8px 20px rgba(23, 70, 107, .4); }
            .th-fab-call { background: #17466B; }
            .th-fab-call:hover { background: #F58220; }
            .th-fab-wa:hover { background: #17466B; }
            .scroll-top { bottom: 235px !important; }
            @media (max-width: 767px) { .scroll-top { bottom: 76px !important; } }

            /* --- remove orange+blue gradient mixes: simple blue, orange on hover --- */
            .th-fact-ic { background: #17466B; box-shadow: 0 8px 20px rgba(23, 70, 107, .25); transition: background .3s, transform .3s; }
            .th-flip:hover .th-fact-ic, .th-flip:focus .th-fact-ic { background: #F58220; }
            .th-front { border-top-color: #17466B; }
            .th-back { background: #17466B; }
            .th-av { background: #17466B; }
            .th-intro-tag { background: #17466B; }
            .th-about-img::after, .th-intro-img::after { background: #F58220; }
            .th-about-badge div { border-top: 3px solid #17466B; transition: border-color .25s, transform .25s; }
            .th-about-badge div:hover { border-top-color: #F58220; transform: translateY(-3px); }
            .th-about-badge div:hover strong { color: #F58220; }
            .th-intro-txt h2::after, .th-about-txt h2::after { background: #F58220; }
            .th-gl li::before { background: #17466B; }
            .research-area .single-research-box .img-holder .icon { background: #17466B !important; animation: none; transition: background .3s, transform .35s; box-shadow: 0 10px 24px rgba(23, 70, 107, .25); }
            .research-area .single-research-box:hover .img-holder .icon { background: #F58220 !important; }
            .th-ess-item { background: #17466B; }
            .th-ess-item::before { background: #F58220; }
            .th-contact-form { border-top-color: #17466B; }
        

            /* ===== ROUND 2 FIXES ===== */

            /* submit button: centred, compact */
            .th-form .th-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: auto; min-width: 230px; max-width: 100%; height: 48px; padding: 0 12px 0 28px; margin: 0 auto; }
            .th-form .th-submit svg { width: 30px; height: 30px; padding: 7px; }

            /* banner: shorter */
            .th-form-card { padding: 22px 26px 24px !important; }
            .th-form .th-fh { margin: 0 0 14px; }
            .th-form .th-row { margin: 0 0 12px; }
            .th-form .th-f input:not([type=checkbox]), .th-form .th-f select { height: 46px !important; }
            .th-form .th-consent { margin: 2px 0 14px; padding: 10px 12px; }
            .th-slide h2 { margin: 14px 0 10px; font-size: clamp(26px, 3vw, 44px); }
            .th-slide p { margin-bottom: 18px; }
            .th-dots { margin-top: 18px; }
            @media (max-width: 575px) { .th-inner { min-height: 400px; padding: 30px 16px 30px; } .th-form .th-f input:not([type=checkbox]), .th-form .th-f select { height: 44px !important; } }

            /* courses slider: title always visible, details on hover */
            .departments-area .single-research-box .overlay-content { transform: none !important; opacity: 1 !important; padding: 80px 20px 18px !important; background: linear-gradient(to top, rgba(10, 30, 50, .96) 0%, rgba(10, 30, 50, .72) 55%, rgba(10, 30, 50, 0) 100%) !important; }
            .departments-area .single-research-box .overlay-content h3 { white-space: normal !important; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 18px; transition: color .25s; }
            .departments-area .single-research-box .overlay-content .text { max-height: 0 !important; opacity: 0 !important; overflow: hidden !important; margin: 0 !important; transition: max-height .45s ease, opacity .35s ease, margin .3s ease !important; }
            .departments-area .single-research-box:hover .overlay-content .text,
            .departments-area .single-research-box:focus-within .overlay-content .text { max-height: 90px !important; opacity: 1 !important; margin-top: 8px !important; }
            .departments-area .single-research-box .overlay-content .text p { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
            .departments-area .single-research-box:hover .overlay-content h3 a { color: #F58220 !important; }
            .th-more { display: inline-block; margin-top: 8px; padding: 6px 16px; border-radius: 30px; background: #F58220; color: #fff !important; font: 600 12.5px 'Poppins', Arial, sans-serif; text-decoration: none; transition: background .2s; }
            .th-more:hover { background: #17466B; }
            @media (hover: none) { .departments-area .single-research-box .overlay-content .text { max-height: 90px !important; opacity: 1 !important; margin-top: 8px !important; } }

            /* glance: professional icon cards */
            .th-glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 10px; font-family: 'Poppins', Arial, sans-serif; }
            .th-gcard { background: #fff; border-radius: 16px; padding: 30px 20px 26px; text-align: center; border-bottom: 3px solid #17466B; box-shadow: 0 8px 24px rgba(23, 70, 107, .1); transition: transform .3s, box-shadow .3s, border-color .3s; }
            .th-gcard:hover { transform: translateY(-6px); border-bottom-color: #F58220; box-shadow: 0 16px 32px rgba(23, 70, 107, .18); }
            .th-gcic { display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; background: #17466B; transition: background .3s; }
            .th-gcard:hover .th-gcic { background: #F58220; }
            .th-gcic svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
            .th-gcard h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; font-weight: 700; color: #103550; }
            .th-gcard p { margin: 0; font-size: 14px; line-height: 1.5; color: #5b6875; }
            /* @media (max-width: 991px) { .th-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } } */
            @media (max-width: 480px) { .th-glance { grid-template-columns: 1fr; } }

            /* why choose: image cards, title at bottom, subtitle on hover */
            .th-why { position: relative; height: 290px; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #17466B, #0d2a44); box-shadow: 0 10px 26px rgba(23, 70, 107, .2); outline: none; font-family: 'Poppins', Arial, sans-serif; }
            .th-why img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .6s ease; }
            .th-why:hover img, .th-why:focus img { transform: scale(1.08); }
            .th-why-ov { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 18px; background: linear-gradient(to top, rgba(10, 30, 50, .95) 0%, rgba(10, 30, 50, .6) 65%, rgba(10, 30, 50, 0) 100%); color: #fff; }
            .th-why-ov h3 { margin: 0; font: 700 16.5px/1.35 'Poppins', Arial, sans-serif; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .25s; }
            .th-why-ov h3::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: 8px; border-radius: 3px; background: #F58220; }
            .th-why-ov p { margin: 0; max-height: 0; opacity: 0; overflow: hidden; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .92); transition: max-height .45s ease, opacity .35s ease, margin .3s ease; }
            .th-why:hover .th-why-ov p, .th-why:focus .th-why-ov p { max-height: 90px; opacity: 1; margin-top: 8px; }
            .th-why:hover .th-why-ov h3, .th-why:focus .th-why-ov h3 { color: #ffb36b; }
            @media (hover: none) { .th-why-ov p { max-height: 90px; opacity: 1; margin-top: 8px; } }
            @media (max-width: 575px) { .th-why { height: 260px; } }

            /* career outcomes: testimonial cards */
            .testimonial-carousel .owl-stage { display: flex; }
            .testimonial-carousel .owl-item { display: flex; }
            .testimonial-carousel .owl-stage-outer { padding: 14px 4px 18px; }
            .th-tcard { width: 100%; display: flex; flex-direction: column; padding: 26px 26px 22px; border-radius: 18px; background: #fff; border-top: 4px solid #17466B; box-shadow: 0 10px 30px rgba(23, 70, 107, .12); font-family: 'Poppins', Arial, sans-serif; transition: transform .3s, border-color .3s, box-shadow .3s; }
            .th-tcard:hover { transform: translateY(-5px); border-top-color: #F58220; box-shadow: 0 16px 36px rgba(23, 70, 107, .2); }
            .th-tq { display: block; height: 34px; font: 700 64px/1 Georgia, serif; color: #F58220; }
            .th-tcard > p { flex: 1; margin: 6px 0 20px; font-size: 15px; line-height: 1.7; color: #3b4a58; }
            .th-tfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #e8edf3; }
            .th-tfoot .th-av { width: 50px; height: 50px; font-size: 21px; flex: none; }
            .th-tmeta { min-width: 0; }
            .th-tmeta strong { display: block; font-size: 15px; line-height: 1.3; color: #103550; }
            .th-tmeta span { font-size: 12.5px; color: #6b7886; }
            .th-tfoot .th-stars { margin-left: auto; font-size: 13px; letter-spacing: 1px; }

            /* recruiters: text centred, company name under the logo */
            .th-rc-left { text-align: center; }
            .th-rc-card { flex-direction: column; gap: 10px; width: 230px; height: 128px; padding: 14px 18px; }
            .th-rc-card img { max-width: 100%; max-height: 56px; }
            .th-rc-name { margin: 0; font: 600 13.5px/1.3 'Poppins', Arial, sans-serif; color: #17466B; text-align: center; }
            @media (max-width: 991px) { .th-rc-card { width: 180px; height: 112px; margin-right: 16px; } }
        

            /* ===== ROUND 3: merged About + Glance, banner height ===== */

            .th-about2 { grid-template-columns: 1fr 1.05fr; align-items: center; }
            .th-collage { position: relative; min-height: 620px; font-family: 'Poppins', Arial, sans-serif; }
            .th-col-main { position: absolute; left: 0; top: 0; width: 80%; height: 560px; border-radius: 26px; background: #103550 center/cover no-repeat; box-shadow: 0 20px 50px rgba(16, 53, 80, .22); }
            .th-col-small { position: absolute; right: 0; bottom: 0; width: 52%; height: 250px; border-radius: 22px; border: 6px solid #fff; background: #17466B center/cover no-repeat; box-shadow: 0 16px 40px rgba(16, 53, 80, .25); transition: transform .4s; }
            .th-col-small:hover { transform: scale(1.03); }
            .th-cbadge { position: absolute; right: 0; display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 18px; box-shadow: 0 14px 34px rgba(16, 53, 80, .22); transition: transform .3s; }
            .th-cbadge:hover { transform: translateY(-4px); }
            .th-cbadge strong { display: block; font-size: 16px; line-height: 1.25; font-weight: 700; }
            .th-cbadge small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.3; }
            .th-cb-blue { top: 34px; background: #17466B; color: #fff; }
            .th-cb-blue small { color: rgba(255, 255, 255, .82); }
            .th-cb-white { top: 168px; background: #fff; color: #103550; border-left: 4px solid #F58220; }
            .th-cb-white small { color: #5b6875; }
            .th-cbic { flex: none; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
            .th-cbic svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
            .th-ic-orange { background: #F58220; }
            .th-ic-blue { background: #17466B; }
            .th-cb-white:hover .th-ic-blue { background: #F58220; }

            .th-abglance { margin: 22px 0 24px; padding: 20px 20px 18px; border-radius: 18px; background: #f4f6f9; }
            .th-abglance h3 { margin: 0; font: 700 18px/1.3 'Poppins', Arial, sans-serif; color: #103550; }
            .th-absub { display: block; margin: 2px 0 14px; font-size: 13px; color: #5b6875; }
            .th-abgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
            .th-abstat { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(23, 70, 107, .08); transition: transform .25s, box-shadow .25s; }
            .th-abstat:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(23, 70, 107, .16); }
            .th-abic { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #17466B; display: flex; align-items: center; justify-content: center; transition: background .25s; }
            .th-abstat:hover .th-abic { background: #F58220; }
            .th-abic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
            .th-abstat h4 { margin: 0; font: 700 14px/1.3 'Poppins', Arial, sans-serif; color: #103550; }
            .th-abstat p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.4; color: #5b6875; }

            @media (max-width: 991px) {
                .th-collage { min-height: 0; height: 470px; }
                .th-col-main { height: 400px; width: 82%; }
                .th-col-small { height: 190px; width: 54%; }
                .th-cb-white { top: 140px; }
            }
            @media (max-width: 575px) {
                .th-collage { height: 400px; }
                .th-col-main { height: 330px; width: 86%; border-radius: 20px; }
                .th-col-small { height: 150px; width: 52%; border-width: 4px; border-radius: 16px; }
                .th-cbadge { padding: 10px 14px 10px 10px; gap: 10px; }
                .th-cbadge strong { font-size: 13.5px; }
                .th-cbadge small { font-size: 11px; }
                .th-cbic { width: 42px; height: 42px; }
                .th-cbic svg { width: 21px; height: 21px; }
                .th-cb-blue { top: 18px; }
                .th-cb-white { top: 100px; }
                .th-abgrid { grid-template-columns: 1fr; }
            }
        

            /* ===== ROUND 4: circle About collage, centred recruiters text ===== */
            .th-collage { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 1 / 1; min-height: 0 !important; height: auto !important; }
            .th-col-main { left: 0; top: 0; width: 78%; height: auto !important; aspect-ratio: 1 / 1; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 20px 50px rgba(16, 53, 80, .25); }
            .th-col-small { right: 0; bottom: 0; width: 46%; height: auto !important; aspect-ratio: 1 / 1; border-radius: 50%; border: 6px solid #fff; }
            .th-cb-blue { top: 5%; }
            .th-cb-white { top: 38%; }
            @media (max-width: 991px) { .th-collage { max-width: 460px; } }
            @media (max-width: 575px) {
                .th-col-main, .th-col-small { border-width: 4px; }
                .th-cb-blue { top: 3%; }
                .th-cb-white { top: 32%; }
            }

            /* recruiters: heading, text and button truly centred */
            .th-rc-left { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center !important; }
            .th-rc-left h2, .th-rc-left p, .th-rc-left .th-rc-eyebrow { text-align: center !important; margin-left: auto; margin-right: auto; }
        

            /* ===== ROUND 5: image cards back to long + short, "Since 1980" as a circle ===== */
            .th-collage { aspect-ratio: 1 / 1.1; }
            .th-col-main { aspect-ratio: auto; height: 91% !important; width: 78%; border: 0; border-radius: 26px; }
            .th-col-small { aspect-ratio: auto; height: 40% !important; width: 50%; border: 6px solid #fff; border-radius: 22px; }

            .th-cb-blue { top: 3%; right: -14px; flex-direction: column; justify-content: center; gap: 6px; width: 160px; height: 160px; padding: 12px; border: 5px solid #fff; border-radius: 50%; text-align: center; background: #17466B; transition: background .3s, transform .3s; }
            .th-cb-blue > div { text-align: center; }
            .th-cb-blue strong { font-size: 17px; }
            .th-cb-blue small { font-size: 11.5px; line-height: 1.3; }
            .th-cb-blue .th-cbic { width: 44px; height: 44px; }
            .th-cb-blue .th-cbic svg { width: 22px; height: 22px; }
            .th-cb-blue:hover { background: #F58220; }
            .th-cb-blue:hover .th-cbic { background: #17466B; }
            .th-cb-white { top: 42%; }

            @media (max-width: 575px) {
                .th-col-small { border-width: 4px; border-radius: 16px; }
                .th-col-main { border-radius: 20px; }
                .th-cb-blue { right: 0; width: 120px; height: 120px; padding: 8px; gap: 4px; border-width: 4px; }
                .th-cb-blue strong { font-size: 14px; }
                .th-cb-blue small { font-size: 10px; }
                .th-cb-blue .th-cbic { width: 34px; height: 34px; }
                .th-cb-blue .th-cbic svg { width: 18px; height: 18px; }
                .th-cb-white { top: 40%; }
            }

            /* banner: a little taller */
        

            .th-rv { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
            .th-rv.th-l { transform: translateX(-46px); }
            .th-rv.th-r { transform: translateX(46px); }
            .th-rv.th-z { transform: scale(.94); }
            .th-rv.in { opacity: 1; transform: none; }
            @media (prefers-reduced-motion: reduce) { .th-rv { opacity: 1 !important; transform: none !important; transition: none !important; } }
        