/* ==========================================================================
   RIT Roorkee Admissions 2026 - Complete Stylesheet (Exact UI/UX Replica)
   ========================================================================== */

@font-face {
    font-family: 'Metric';
    src: url('../fonts/Metric-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Metric';
    src: url('../fonts/Metric-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Metric';
    src: url('../fonts/Metric-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Metric';
    src: url('../fonts/Metric-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Metric';
    src: url('../fonts/Metric-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Metric';
    src: url('../fonts/Metric-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Metric';
    src: url('../fonts/Metric-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --rit-primary: #264087;
    --rit-primary-dark: #1B2557;
    --rit-tab-active: #4263BB;
    --rit-secondary: #FDB813;
    --rit-gold-shadow: #E3B83B;
    --rit-accent: #D63736;
    --rit-accent-dark: #C63433;
    --rit-text: #595959;
    --rit-text-muted: #7A7A7A;
    --rit-dark: #2D2D2D;
    --rit-heading: #262626;
    --rit-black: #000000;
    --rit-white: #FFFFFF;
    --rit-border: #C9C9C9;
    --rit-light-blue: #E5F3FF;
    --rit-video-accent: #7D91F1;
    --rit-faq-bg: #F7F7F7;
    --container-max: 1140px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Metric', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: var(--rit-text);
    background-color: var(--rit-white);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.rit-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================================
   1. SITE HEADER & EXPLORE COURSES MEGA MENU
   ========================================================================== */
.rit-header {
    background: var(--rit-white);
    border-bottom: 1px solid var(--rit-border);
    position: relative;
    z-index: 1002;
}

.rit-header__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rit-logo img {
    height: 62px;
    width: auto;
    object-fit: contain;
}

.rit-header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.rit-social-list {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 36px;
}

.rit-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--rit-primary);
    color: #F5F5F5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.rit-social-icon:hover {
    background-color: var(--rit-primary-dark);
    transform: translateY(-2px);
}

.rit-social-icon svg {
    width: 18px;
    height: 18px;
    fill: #F5F5F5;
}

/* Red Action Buttons (Apply Now / Screen Reader) */
.rit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--rit-accent);
    color: var(--rit-white);
    font-family: 'Metric', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    padding: 10px 20px;
    border: 1px solid var(--rit-accent);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.rit-btn:hover,
.rit-btn:focus {
    background-color: var(--rit-white);
    color: var(--rit-accent);
    border-color: var(--rit-accent);
}

.rit-btn--lg {
    padding: 12px 26px;
    font-size: 17px;
}

/* Explore Courses Button & Mega Menu */
.rit-explore-wrapper {
    position: static;
}

.rit-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--rit-dark);
    font-family: 'Metric', sans-serif;
    font-weight: 600;
    font-size: 17px;
    padding: 10px 14px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.rit-explore-btn:hover,
.rit-explore-btn.is-open {
    color: var(--rit-primary);
    background: rgba(38, 64, 135, 0.06);
}

.rit-explore-btn svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.rit-explore-btn.is-open svg {
    transform: rotate(180deg);
}

.rit-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--rit-white);
    box-shadow: 0 12px 24px 2px rgba(0, 0, 0, 0.25);
    border-top: 1px solid #e5e7eb;
    display: none;
    z-index: 1050;
    animation: megaFadeIn 0.22s ease;
}

.rit-mega-menu.is-open {
    display: block;
}

@keyframes megaFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.rit-mega-menu__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 24px 16px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    max-height: 78vh;
    overflow-y: auto;
}

.rit-school-filter {
    border-right: 1px solid #e5e7eb;
    padding-right: 16px;
}

.rit-school-filter__title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rit-text-muted);
    font-weight: 600;
    margin-bottom: 10px;
}

.rit-school-radio-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rit-school-radio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 13px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    color: var(--rit-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.rit-school-radio:hover {
    background: var(--rit-light-blue);
    color: var(--rit-primary);
}

.rit-school-radio.is-active {
    background: var(--rit-primary);
    color: var(--rit-white);
    box-shadow: 3px 3px 0 0 var(--rit-secondary);
}

.rit-school-radio__count {
    font-size: 13px;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.2);
    padding: 1px 7px;
    border-radius: 10px;
}

.rit-courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    align-content: start;
}

.rit-course-card {
    border: 1px solid #d1d5db;
    border-radius: 5px;
    padding: 14px 16px;
    background: var(--rit-white);
    cursor: pointer;
    transition: all 0.22s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.rit-course-card:hover {
    border-color: var(--rit-primary);
    box-shadow: 6px 6px 0 0 var(--rit-secondary);
    transform: translate(-2px, -2px);
}

.rit-course-card h6 {
    font-family: 'Metric', sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.3px;
    color: var(--rit-primary);
}

.rit-course-card__meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
    font-weight: 300;
    color: var(--rit-black);
}

.rit-course-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rit-course-card__meta svg {
    width: 14px;
    height: 14px;
    fill: var(--rit-black);
}

/* Mobile Menu Button & Drawer */
.rit-mobile-toggle {
    display: none;
    background: var(--rit-white);
    border: 1px solid var(--rit-border);
    border-radius: 4px;
    padding: 8px 10px;
    cursor: pointer;
    color: var(--rit-primary);
}

.rit-mobile-toggle svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.rit-mobile-nav {
    display: none;
    background: var(--rit-white);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    padding: 12px 16px 20px;
}

.rit-mobile-nav.is-open {
    display: block;
}

.rit-mobile-nav__group {
    border-bottom: 1px solid #f1f5f9;
}

.rit-mobile-nav__trigger {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 11px 4px;
    font-family: 'Metric', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--rit-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.rit-mobile-nav__sub {
    display: none;
    padding: 4px 0 10px 12px;
}

.rit-mobile-nav__group.is-open .rit-mobile-nav__sub {
    display: block;
}

.rit-mobile-nav__sub a {
    display: block;
    padding: 6px 8px;
    font-size: 15.5px;
    color: var(--rit-text);
    border-left: 2px solid var(--rit-secondary);
    margin-bottom: 4px;
}

.rit-mobile-nav__sub a:hover {
    color: var(--rit-primary);
    background: var(--rit-light-blue);
}

.rit-mobile-nav__actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
}

/* ==========================================================================
   2. STICKY SUB-NAVIGATION BAR (#menubar-426)
   ========================================================================== */
.rit-subnav {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--rit-white);
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.25);
    min-height: 42px;
}

.rit-subnav__list {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.rit-subnav__list::-webkit-scrollbar {
    display: none;
}

.rit-subnav__link {
    display: inline-block;
    padding: 11px 22px;
    font-family: 'Metric', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: var(--rit-text-muted);
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
}

.rit-subnav__link:hover {
    color: var(--rit-dark);
}

.rit-subnav__link.is-active {
    background-color: rgba(253, 184, 19, 0.25);
    border-bottom-color: var(--rit-secondary);
    color: var(--rit-black);
    font-weight: 500;
}

/* ==========================================================================
   3. HERO OVERVIEW SECTION (#overview)
   ========================================================================== */
.rit-overview {
    background-color: var(--rit-primary);
    background-image: radial-gradient(at center left, #264087 40%, #1B2557 100%);
    border-bottom: 20px solid var(--rit-secondary);
    padding: 95px 0;
    color: var(--rit-white);
}

.rit-overview__grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.rit-overview__left {
    width: 55%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rit-overview__eyebrow {
    font-family: 'Metric', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--rit-white);
    margin-bottom: 4px;
}

.rit-overview__title {
    font-family: 'Metric', sans-serif;
    font-size: 3.7em;
    font-weight: 700;
    line-height: 1.15;
    color: var(--rit-white);
    margin-bottom: 20px;
}

.rit-overview__bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.rit-overview__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Metric', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--rit-white);
}

.rit-overview__bullets li b {
    font-weight: 600;
}

.rit-overview__bullet-icon {
    flex-shrink: 0;
    margin-top: 4px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rit-overview__bullet-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--rit-white);
}

.rit-overview__right {
    width: 45%;
}

/* Video Card & Sticky Mini Player */
.rit-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.rit-video-box {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    box-shadow: 6px 6px 0 0 var(--rit-gold-shadow);
    overflow: hidden;
    position: relative;
    background: #000;
}

.rit-video-box.is-sticky {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 340px;
    height: 191px;
    z-index: 1100;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 4px 4px 0 0 var(--rit-gold-shadow);
}

.rit-video-close {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 10;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.rit-video-box.is-sticky .rit-video-close {
    display: inline-flex;
}

.rit-video-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.35s ease;
}

.rit-video-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.18);
    transition: background 0.25s ease;
}

.rit-video-thumb:hover::before {
    background: rgba(15, 23, 42, 0.06);
}

.rit-video-play {
    position: relative;
    z-index: 2;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, background 0.25s ease;
}

.rit-video-thumb:hover .rit-video-play {
    transform: scale(1.08);
    background: #ffffff;
}

.rit-video-play svg {
    width: 28px;
    height: 28px;
    fill: var(--rit-video-accent);
    margin-left: 3px;
}

.rit-video-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

.rit-video-box.is-playing .rit-video-iframe {
    display: block;
}

.rit-video-box.is-playing .rit-video-thumb {
    display: none;
}

/* ==========================================================================
   4. SECTION HEADINGS & ADMISSION CRITERIA (#admissions-criteria)
   ========================================================================== */
.rit-section-heading {
    font-family: 'Metric', sans-serif;
    font-size: 3.3em;
    font-weight: 900;
    line-height: 1.2;
    color: var(--rit-heading);
    margin-bottom: 12px;
}

.rit-criteria {
    padding: 60px 0 90px;
    background: var(--rit-white);
}

.rit-criteria__desc {
    max-width: 631px;
    font-size: 18px;
    color: var(--rit-text);
    margin-bottom: 28px;
}

.rit-criteria__desc b {
    font-weight: 600;
    color: var(--rit-dark);
}

.rit-chart-wrap {
    width: 100%;
    max-width: 580px;
    position: relative;
}

.rit-chart-canvas-box {
    max-width: 420px;
    margin: 0;
}

/* ==========================================================================
   5. FORMER EMPLOYERS (#former-employers)
   ========================================================================== */
.rit-employers {
    padding: 20px 0 60px;
    background: var(--rit-white);
}

.rit-employers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 18px;
}

.rit-employers__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rit-employers__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 400;
    color: var(--rit-dark);
    padding: 4px 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.rit-employers__item:hover {
    transform: translateX(4px);
    color: var(--rit-primary);
}

.rit-employers__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rit-employers__icon svg {
    width: 15px;
    height: 15px;
    fill: var(--rit-primary);
}

/* ==========================================================================
   6. ADMISSION PROCESS NESTED TABS (#admissions-process)
   ========================================================================== */
.rit-process {
    padding: 50px 0;
    background: var(--rit-white);
}

.rit-tabs {
    margin-top: 20px;
}

.rit-tabs__nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.rit-tab-btn {
    background: var(--rit-primary);
    color: var(--rit-white);
    border: none;
    border-radius: 10px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Metric', sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.rit-tab-btn:hover {
    box-shadow: 5px 5px 0 0 var(--rit-secondary);
    transform: translateY(-2px);
}

.rit-tab-btn.is-active {
    background: var(--rit-tab-active);
    box-shadow: 5px 5px 0 0 var(--rit-secondary);
}

.rit-tab-btn__num {
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    color: var(--rit-white);
}

.rit-tabs__panels {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px 28px;
    background: var(--rit-white);
    min-height: 92px;
    margin-bottom: 26px;
}

.rit-tab-panel {
    display: none;
    font-size: 18px;
    color: var(--rit-text);
    line-height: 1.6;
    animation: megaFadeIn 0.25s ease;
}

.rit-tab-panel.is-active {
    display: block;
}

.rit-tab-panel ul {
    list-style: disc;
    padding-left: 22px;
}

.rit-tab-panel li {
    margin-bottom: 6px;
}

.rit-tab-panel strong {
    color: var(--rit-dark);
    font-weight: 600;
}

.rit-process__cta {
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   7. COHORT 2025 GEOGRAPHIC PROFILE (#geographic-profile)
   ========================================================================== */
.rit-geo {
    padding: 50px 0 60px;
    background: var(--rit-white);
}

.rit-geo__embed {
    margin-top: 20px;
    min-height: 453px;
    background: var(--rit-white);
    border-radius: 8px;
}

.rit-geo__fallback {
    max-width: 720px;
    margin: 0 auto;
}

/* ==========================================================================
   8. WHAT'S COOKING @ RIT? INSTAGRAM FEED (#whats-cooking)
   ========================================================================== */
.rit-cooking {
    background-color: var(--rit-light-blue);
    padding: 55px 0 65px;
}

.rit-cooking__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.rit-cooking__title {
    font-family: 'Metric', sans-serif;
    font-size: 2.5em;
    font-weight: 600;
    line-height: 1.2;
    color: var(--rit-dark);
}

.rit-insta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: 'Metric', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--rit-white) !important;
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    box-shadow: 0 4px 14px rgba(225, 48, 108, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rit-insta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.45);
}

.rit-insta-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Instagram Carousel / Grid */
.rit-sbi-wrapper {
    position: relative;
}

.rit-sbi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.rit-sbi-card {
    background: var(--rit-white);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rit-sbi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(38, 64, 135, 0.18);
}

.rit-sbi-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rit-sbi-card:hover img {
    transform: scale(1.05);
}

.rit-sbi-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    color: var(--rit-white);
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6));
}

.rit-sbi-badge svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.rit-sbi-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.84);
    color: var(--rit-white);
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 4;
}

.rit-sbi-card:hover .rit-sbi-overlay {
    opacity: 1;
}

.rit-sbi-caption {
    font-size: 14px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #f8fafc;
}

.rit-sbi-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--rit-white);
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.18);
}

.rit-sbi-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rit-sbi-meta svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.rit-sbi-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.rit-sbi-page-btn {
    background: var(--rit-white);
    color: var(--rit-primary);
    border: 1px solid var(--rit-primary);
    border-radius: 20px;
    padding: 6px 16px;
    font-family: 'Metric', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rit-sbi-page-btn.is-active,
.rit-sbi-page-btn:hover {
    background: var(--rit-primary);
    color: var(--rit-white);
}

/* ==========================================================================
   9. FAQS & "HAVE QUESTIONS?" CALLBACK SECTION (#faqs)
   ========================================================================== */
.rit-faqs-section {
    background-color: var(--rit-faq-bg);
    padding: 65px 0 75px;
}

.rit-faqs__title {
    font-family: 'Metric', sans-serif;
    font-size: 2.5em;
    font-weight: 600;
    line-height: 1.2;
    color: var(--rit-dark);
    margin-bottom: 24px;
}

.rit-faqs__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.rit-faqs__sub {
    font-family: 'Metric', sans-serif;
    font-size: 22px;
    font-weight: 300;
    color: var(--rit-dark);
    margin-bottom: 12px;
}

.rit-accordion-group {
    margin-bottom: 20px;
}

.rit-accordion-item {
    border-bottom: 1px solid #d4d4d8;
}

.rit-accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    font-family: 'Metric', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--rit-black);
    cursor: pointer;
    transition: color 0.2s ease;
}

.rit-accordion-header:hover {
    color: var(--rit-primary);
}

.rit-accordion-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease;
}

.rit-accordion-icon svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.rit-accordion-item.is-open .rit-accordion-icon {
    background: var(--rit-primary);
    border-color: var(--rit-primary);
    color: var(--rit-white);
}

.rit-accordion-item.is-open .rit-accordion-icon svg {
    transform: rotate(180deg);
}

.rit-accordion-body {
    display: none;
    padding: 0 0 16px 0;
    font-size: 16.5px;
    color: #0d0d0d;
    line-height: 1.55;
}

.rit-accordion-body p + p {
    margin-top: 10px;
}

.rit-accordion-item.is-open .rit-accordion-body {
    display: block;
}

/* "Have questions?" Right Column Form Card (elementor-1047) */
.rit-callback-card {
    background-color: var(--rit-light-blue);
    border-radius: 1rem;
    padding: 2rem;
}

.rit-callback-card h5 {
    font-family: 'Metric', sans-serif;
    font-size: 1.6em;
    font-weight: 600;
    line-height: 1.2;
    color: var(--rit-dark);
    margin-bottom: 8px;
}

.rit-callback-card__sub {
    font-family: 'Metric', sans-serif;
    font-size: 1.25em;
    font-weight: 400;
    line-height: 1.25;
    color: var(--rit-dark);
    margin-bottom: 18px;
}

/* Shared Form Controls (Callback & Apply Now Popup) */
.rit-form-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -5px;
    margin-right: -5px;
}

.rit-form-col-100 {
    width: 100%;
    padding: 0 5px;
    margin-bottom: 11px;
}

.rit-form-col-50 {
    width: 50%;
    padding: 0 5px;
    margin-bottom: 11px;
}

.rit-form-col-33 {
    width: 33.3333%;
    padding: 0 5px;
    margin-bottom: 11px;
}

.rit-field-label {
    display: block;
    font-family: 'Metric', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--rit-dark);
    margin-bottom: 3px;
}

.rit-field-label::after {
    content: ' *';
    color: var(--rit-accent);
}

.rit-input,
.rit-select {
    width: 100%;
    background-color: var(--rit-white);
    color: var(--rit-black);
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    padding: 9px 12px;
    font-family: 'Metric', sans-serif;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rit-input:focus,
.rit-select:focus {
    border-color: var(--rit-primary);
    box-shadow: 0 0 0 2px rgba(38, 64, 135, 0.15);
}

.rit-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--rit-dark);
    line-height: 1.35;
    cursor: pointer;
}

.rit-consent-label input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--rit-primary);
    flex-shrink: 0;
}

.rit-submit-btn {
    width: 100%;
    background-color: var(--rit-accent);
    color: var(--rit-white);
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-family: 'Metric', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.rit-submit-btn:hover {
    background-color: var(--rit-accent-dark);
}

.rit-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.rit-form-alert {
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 15px;
    margin-bottom: 12px;
    display: none;
}

.rit-form-alert.is-error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.rit-form-alert.is-success {
    display: block;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

/* ==========================================================================
   10. FOOTER (elementor-1487)
   ========================================================================== */
.rit-footer {
    background-image: linear-gradient(-218deg, #264087 45%, #1B2557 100%);
    border-bottom: 20px solid var(--rit-secondary);
    padding-top: 55px;
    color: #CCCCCC;
}

.rit-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr 1fr;
    gap: 24px;
    padding-bottom: 45px;
}

.rit-footer__logo img {
    width: 200px;
    height: auto;
    margin-bottom: 16px;
}

.rit-footer__address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #CCCCCC;
    margin-bottom: 14px;
    line-height: 1.4;
}

.rit-footer__address svg {
    width: 22px;
    height: 22px;
    fill: var(--rit-white);
    flex-shrink: 0;
    margin-top: 2px;
}

.rit-footer__about {
    font-size: 12px;
    line-height: 1.5;
    color: #CCCCCC;
    opacity: 0.9;
}

.rit-footer__links li {
    margin-bottom: 8px;
}

.rit-footer__links a,
.rit-footer__links span {
    font-size: 15px;
    color: #CCCCCC;
    transition: color 0.2s ease;
}

.rit-footer__links a:hover {
    color: var(--rit-secondary);
}

.rit-footer__links b {
    color: var(--rit-white);
    font-weight: 600;
    font-size: 16px;
}

.rit-footer__bottom {
    border-top: 1px solid #4D4D4D;
    padding: 32px 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 15px;
    color: #CCCCCC;
}

.rit-footer__legal {
    display: flex;
    align-items: center;
    gap: 36px;
    color: var(--rit-white);
}

/* ==========================================================================
   11. APPLY NOW POPUP MODAL (elementor-1895) + OTP & PAYU STEPS
   ========================================================================== */
.rit-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(3px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
    overflow-y: auto;
}

.rit-modal-backdrop.is-open {
    display: flex;
}

.rit-modal {
    background: var(--rit-light-blue);
    border-radius: 10px;
    width: 100%;
    max-width: 650px;
    padding: 30px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45), 6px 6px 0 0 var(--rit-secondary);
    animation: megaFadeIn 0.25s ease;
    max-height: 92vh;
    overflow-y: auto;
}

.rit-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--rit-white);
    color: var(--rit-dark);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
}

.rit-modal__close:hover {
    background: var(--rit-accent);
    color: var(--rit-white);
}

.rit-modal__title {
    font-family: 'Metric', sans-serif;
    font-size: 2.5em;
    font-weight: 900;
    line-height: 1.15;
    color: var(--rit-heading);
    margin-bottom: 16px;
}

/* OTP & PayU Verification Steps */
.rit-step-box {
    background: var(--rit-white);
    border-radius: 8px;
    padding: 22px;
    border: 1px solid #cbd5e1;
}

.rit-step-badge {
    display: inline-block;
    background: var(--rit-primary);
    color: var(--rit-white);
    font-size: 13px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.rit-otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 16px 0;
}

.rit-otp-digit {
    width: 54px;
    height: 56px;
    text-align: center;
    font-family: 'Metric', sans-serif;
    font-size: 26px;
    font-weight: 700;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    color: var(--rit-primary);
    outline: none;
}

.rit-otp-digit:focus {
    border-color: var(--rit-primary);
    box-shadow: 0 0 0 3px rgba(38, 64, 135, 0.15);
}

.rit-summary-list {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 14px;
    margin: 14px 0;
    font-size: 16px;
}

.rit-summary-list div {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #e2e8f0;
    gap: 10px;
}

.rit-summary-list div:last-child {
    border-bottom: none;
    font-weight: 700;
    color: var(--rit-primary);
    font-size: 18px;
}

/* ==========================================================================
   12. FLOATING WHATSAPP WIDGET (#wa) & SCROLL TO TOP
   ========================================================================== */
.rit-wa-widget {
    position: fixed;
    bottom: 26px;
    left: 26px;
    z-index: 1500;
    font-family: 'Metric', sans-serif;
}

.rit-wa-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.rit-wa-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #2db742;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(45, 183, 66, 0.45);
    transition: transform 0.25s ease;
}

.rit-wa-btn:hover .rit-wa-circle {
    transform: scale(1.07);
}

.rit-wa-circle svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.rit-wa-label {
    background: #ffffff;
    color: #2D2D2D;
    padding: 7px 13px;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
    border: 1px solid #e5e7eb;
}

.rit-wa-popup {
    position: absolute;
    bottom: 68px;
    left: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    display: none;
    border: 1px solid #e2e8f0;
}

.rit-wa-popup.is-open {
    display: block;
    animation: megaFadeIn 0.22s ease;
}

.rit-wa-popup__head {
    background: #2db742;
    color: #fff;
    padding: 16px 18px;
}

.rit-wa-popup__head h4 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 2px;
}

.rit-wa-popup__head p {
    font-size: 13.5px;
    opacity: 0.92;
}

.rit-wa-popup__body {
    padding: 16px;
}

.rit-wa-gdpr {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: #475569;
    margin-bottom: 14px;
    line-height: 1.35;
}

.rit-wa-agent {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2db742;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.rit-wa-agent:hover {
    background: #f0fdf4;
}

.rit-wa-agent__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #2db742;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rit-wa-agent__avatar svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.rit-wa-agent__info strong {
    display: block;
    font-size: 15px;
    color: #1e293b;
}

.rit-wa-agent__info span {
    font-size: 12.5px;
    color: #16a34a;
}

/* Scroll To Top Button */
.rit-scroll-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: var(--rit-primary);
    color: var(--rit-white);
    border: 2px solid var(--rit-secondary);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1400;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.25s ease;
}

.rit-scroll-top.is-visible {
    display: inline-flex;
}

.rit-scroll-top:hover {
    background: var(--rit-accent);
    border-color: var(--rit-accent);
    transform: translateY(-3px);
}

.rit-scroll-top svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Instagram Lightbox Modal */
.rit-ig-lightbox {
    background: var(--rit-white);
    border-radius: 10px;
    max-width: 820px;
    width: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.rit-ig-lightbox__media {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.rit-ig-lightbox__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rit-ig-lightbox__info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-height: 500px;
    overflow-y: auto;
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
    .rit-mega-menu__inner {
        grid-template-columns: 210px 1fr;
    }
    .rit-sbi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .rit-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .rit-header__right {
        display: none;
    }
    .rit-mobile-toggle {
        display: inline-flex;
    }
    .rit-overview {
        padding: 36px 0;
    }
    .rit-overview__grid {
        flex-direction: column;
    }
    .rit-overview__left,
    .rit-overview__right {
        width: 100%;
    }
    .rit-overview__eyebrow {
        font-size: 16px;
    }
    .rit-overview__title {
        font-size: 2.2rem;
    }
    .rit-overview__bullets li {
        font-size: 15px;
    }
    .rit-section-heading {
        font-size: 2.1rem;
    }
    .rit-employers__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rit-tabs__nav {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .rit-sbi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rit-faqs__layout {
        grid-template-columns: 1fr;
    }
    .rit-form-col-50,
    .rit-form-col-33 {
        width: 100%;
    }
    .rit-footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .rit-footer__logo img {
        margin: 0 auto 14px;
    }
    .rit-footer__address {
        justify-content: center;
    }
    .rit-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    .rit-ig-lightbox {
        grid-template-columns: 1fr;
    }
    .rit-wa-label {
        display: none;
    }
}
