:root {
    --primary-navy: #1E1A14;           /* warm charcoal */
    --brand-blue: #132E57;             /* classic navy */
    --brand-maroon: #C4703A;           /* warm terracotta */
    --accent-gold: #C4703A;
    --accent-champagne: #E8C99A;
    --bg-cream: #F5F2EA;
    --bg-light-blue: #F0EDE6;
    --text-main: #1E1A14;              /* warm near-black for body */
    --text-muted: #6B6457;             /* warm taupe for muted text */
    --text-light: #5A5248;             /* warm mid-tone */
    --text-color: #3C372D;             
    --white: #FFFFFF;
    --serif-font: 'Source Serif 4', Georgia, serif;
    --sans-font: 'Lato', 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-premium: 0 20px 50px rgba(30, 26, 20, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    background-color: var(--white);
    color: var(--text-main);
    font-family: var(--sans-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ================= HEADER / NAVBAR ================= */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 14.5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--brand-maroon);
}

.nav-actions {
    cursor: pointer;
    color: var(--primary-navy);
}

/* ================= HERO / REGISTRATION WRAPPER ================= */
.scroll-1 {
    padding: 120px 0 120px;
    position: relative;
    background-color: var(--bg-cream);
    color: var(--primary-navy);
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 48px;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

/* ========= WELCOME PANEL (LEFT SIDE) ========= */
.brand-welcome-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.parallax-logo-bg {
    position: absolute;
    bottom: -240px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
    background-image: url('https://iimbx.iimb.ac.in/wp-content/uploads/2026/04/IIMBx_symbol.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.045;
    pointer-events: none;
    z-index: -1;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.brand-h1 {
    font-family: var(--serif-font);
    font-size: clamp(40px, 5vw, 66px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--primary-navy);
}

.brand-h1 em {
    color: var(--brand-maroon);
    font-style: italic;
}

.brand-lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 500px;
}

/* ========= REGISTRATION/LOGIN FORM CARD (RIGHT SIDE) ========= */
.form-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(44, 36, 22, 0.08);
    position: relative;
    z-index: 10;
}

/* Sliding tab headers */
.tabs-header,
.panel-heading{
    display: flex;
    position: relative;
    background: #FAFAFA;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    height: 64px;
}

.tab-btn,
.nav-tabs li {
    flex: 1;
    background: none;
    border: none;
    font-family: var(--sans-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
    z-index: 2;
    outline: none;
    position:relative;
}

.tab-btn.active,
.nav-tabs li a.active{
    color: var(--brand-maroon) !important;
    position: ;
}

.tab-indicator,
.panel.dynamic_theme_block .nav-tabs>li>a.active::after, 
.panel.dynamic_theme_block .nav-tabs>li>a.active:focus::after, 
.panel.dynamic_theme_block .nav-tabs>li>a.active:hover::after{
    content:'';
    position: absolute;
    bottom: -83%;
    left: 0%;
    width: 100%;
    height: 3px;
    background: var(--brand-maroon);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.form-container-slider {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.form-panel {
    width: 50%;
    padding: 40px;
}

/* Controls styling */
.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.input-control,
.form-control{
    font-family: var(--sans-font);
    font-size: 14.5px !important;
    height: 52px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid rgba(44, 36, 22, 0.12);
    background: #FAFAFA;
    color: var(--text-main);
    width: 100%;
    transition: var(--transition);
    outline: none;
}

.input-control:focus {
    border-color: var(--brand-maroon);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(196, 112, 58, 0.08);
}

/* Dropdowns, selection flags and eye toggles */
.phone-group {
    display: flex;
    gap: 12px;
}

.country-select,
.dynamic_theme_block .merge_field_div .bs-dropdown-to-select-group .bs-dropdown-to-select{
    width: 90px;
    height: 52px;
    border-radius: 8px;
    border: 1px solid rgba(44, 36, 22, 0.12);
    background: #FAFAFA;
    font-family: var(--sans-font);
    font-size: 14.5px;
    padding: 0 8px;
    outline: none;
    cursor: pointer;
    text-align: center;
}

.password-container {
    position: relative;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

/* CAPTCHA Wrapper */
.captcha-wrapper {
    display: flex;
    gap: 16px;
    align-items: center;
}

.captcha-box {
    display: flex;
    align-items: center;
    border: 1px solid rgba(44, 36, 22, 0.12);
    border-radius: 8px;
    background: #FAFAFA;
    overflow: hidden;
    height: 52px;
    min-width: 210px;
}

.captcha-canvas {
    border-right: 1px solid rgba(44, 36, 22, 0.12);
    background: #F1F5F9;
}

.captcha-refresh {
    background: none;
    border: none;
    width: 48px;
    height: 100%;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    outline: none;
}

.captcha-refresh:hover {
    color: var(--brand-maroon);
    background: rgba(0,0,0,0.02);
}

.captcha-refresh.spinning svg {
    transform: rotate(360deg);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Terms checkpoint markup styling */
.checkbox-group {
    margin-top: 24px;
    margin-bottom: 24px;
}
.checkbox-container {
    display: flex;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    user-select: none;
    text-align: left;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #FAFAFA;
    border: 1.5px solid rgba(44, 36, 22, 0.18);
    border-radius: 4px;
    transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--brand-maroon);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--brand-maroon);
    border-color: var(--brand-maroon);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

/* Error/Validation styling */
.error-message {
    color: var(--brand-maroon);
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    display: none;
    align-items: center;
    gap: 4px;
}

.input-control.error-field {
    border-color: var(--brand-maroon);
    background: #FFF8F6;
}

/* Buttons styles */
.btn-submit,
button#registerBtn,
#resendVlinkBtn,
#resendVlinkBtn:hover,
#otpSubmitBtn,
#loginBtn,
#loginBtn:hover,
#otpSubmitBtn:hover,
button#registerBtn:hover, 
button#registerBtn:focus{
    width: 100%;
    height: 52px;
    background: var(--brand-maroon) !important;
    border: none !important;
    border-radius: 8px;
    color: var(--white);
    font-family: var(--sans-font);
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(196, 112, 58, 0.2);
    transition: var(--transition);
    outline: none;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(196, 112, 58, 0.3);
    filter: brightness(1.05);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-actions-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}

.form-link {
    font-size: 13px;
    color: var(--brand-maroon);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.form-link:hover {
    text-decoration: underline;
}

/* Resend Bottom Bar */
.resend-verification-bar {
    background: #FAFAFA;
    padding: 16px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.resend-btn {
    background: none;
    border: none;
    font-family: var(--sans-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    outline: none;
}

.resend-btn:hover {
    color: var(--brand-maroon);
    text-decoration: underline;
}

/* ========= SUCCESS POPUP OVERLAY ========= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 26, 20, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--white);
    padding: 48px;
    border-radius: 20px;
    max-width: 520px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 70px rgba(0,0,0,0.15);
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.modal-icon-wrap {
    width: 72px;
    height: 72px;
    background: #E8F5E9;
    color: #2E7D32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.modal-title {
    font-family: var(--serif-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.modal-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.modal-btn-close {
    background: var(--primary-navy);
    color: var(--white);
    border: none;
    border-radius: 8px;
    height: 48px;
    padding: 0 32px;
    font-family: var(--sans-font);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.modal-btn-close:hover {
    filter: brightness(1.2);
    transform: translateY(-1px);
}

/* ================= STEPS SECTION ================= */
.steps-section {
    padding: 100px 0;
    background-color: #FDFDFB; 
    overflow-x: hidden;
}

.steps-header {
    text-align: center;
    margin-bottom: 60px;
}

.steps-chip {
    font-size: 13px;
    color: var(--brand-maroon);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.steps-h2 {
    font-family: var(--serif-font);
    font-size: clamp(32px, 3.5vw, 44px);
    color: var(--primary-navy);
    font-weight: 500;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

.steps-h2 em {
    color: var(--brand-maroon);
    font-style: italic;
}

.steps-lead {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.65;
}

.timeline-flow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    position: relative;
    margin-top: 40px;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--white);
    border: 1px solid rgba(10, 25, 49, 0.06);
    border-radius: 20px;
    padding: 32px 16px 24px;
    box-shadow: 0 4px 20px rgba(10, 25, 49, 0.02);
    transition: var(--transition);
}

.timeline-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(10, 25, 49, 0.08);
    border-color: var(--theme-color);
}

.step-number {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    opacity: 0.6;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.step-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(var(--theme-color-rgb), 0.08);
    color: var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 0 rgba(var(--theme-color-rgb), 0.15);
}

.timeline-step:hover .step-icon-wrap {
    background-color: var(--theme-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 0 18px 4px rgba(var(--theme-color-rgb), 0.3);
}

.step-title {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--brand-blue);
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.step-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.timeline-chevron {
    position: absolute;
    top: 56px;
    right: -16px;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(10, 25, 49, 0.15);
    pointer-events: none;
    z-index: 2;
    transition: all 0.4s ease;
}

.timeline-step:hover .timeline-chevron {
    transform: translateX(4px);
    color: var(--theme-color);
}

/* ================= CONTACT INFO SECTION ================= */
.contact-section {
    background-color: #F5F2EA;
    padding: 100px 0;
    border-bottom: 1px solid rgba(19, 46, 87, 0.05);
    position: relative;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-h2 {
    font-family: var(--serif-font);
    font-size: clamp(32px, 3.5vw, 44px);
    color: var(--primary-navy);
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.01em;
}

.contact-h2 em {
    color: var(--brand-maroon);
    font-style: italic;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 40px;
    margin: 0 auto;
}

.contact-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
}

.contact-left, .contact-right, .contact-center {
    text-align: center;
    align-items: center;
}

.contact-block-inner {
    background: var(--white);
    border: 1px solid rgba(19, 46, 87, 0.08);
    padding: 55px 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    width: 100%;
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-block:hover .contact-block-inner {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(10, 25, 49, 0.08);
    border-color: rgba(19, 46, 87, 0.15);
}

.contact-label {
    font-size: 22px;
    font-weight: 500;
    color: var(--primary-navy);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    display: block;
}

.contact-label.label-maroon {
    color: var(--brand-maroon);
}

.contact-link {
    font-size: 22px;
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    word-break: break-all;
}

.contact-link:hover {
    color: var(--brand-maroon);
}

.contact-link .external-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.contact-link:hover .external-icon {
    transform: translate(2px, -2px);
}

.contact-val {
    font-size: 24px;
    color: var(--primary-navy);
    font-weight: 700;
    text-decoration: none;
    display: block;
}

.contact-val.val-hover {
    transition: all 0.3s ease;
}

.contact-val.val-hover:hover {
    color: var(--brand-maroon);
}

.contact-icon-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: drop-shadow(0 4px 10px rgba(10, 25, 49, 0.08));
    color: var(--white);
    margin-bottom: 24px;
}

.badge-blue {
    background-color: var(--brand-blue);
}

.badge-red {
    background-color: var(--brand-maroon);
}

.contact-block:hover .contact-icon-badge {
    transform: scale(1.12) translateY(-4px);
    filter: drop-shadow(0 8px 20px rgba(10, 25, 49, 0.15));
}

/* ================= APPLICATION INSTRUCTIONS ================= */
.instructions-section {
    background-color: #F5F2EA;
    padding: 100px 0;
    border-bottom: 1px solid rgba(19, 46, 87, 0.05);
    font-family: var(--serif-font); 
    color: var(--primary-navy);
    position: relative;
}

.instructions-header {
    text-align: center;
    margin-bottom: 50px;
}

.instructions-h2 {
    font-family: var(--serif-font);
    font-size: clamp(32px, 3.5vw, 44px);
    color: var(--primary-navy);
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.01em;
}

.instructions-h2 em {
    color: var(--brand-maroon);
    font-style: italic;
}

.instructions-grid {
    max-width: 1060px;
    margin: 0 auto;
}

.instructions-card {
    background-color: var(--white);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(19, 46, 87, 0.08);
    color: var(--primary-navy);
    transition: var(--transition);
    font-family: var(--sans-font); 
}

.instructions-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(10, 25, 49, 0.08);
}

.inst-list {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.inst-item {
    list-style: none !important;
    list-style-type: none !important;
    position: relative;
    padding-left: 28px;
    font-size: 19px;
    line-height: 1.65;
    color: var(--text-color);
}

.inst-item::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--brand-maroon);
    box-shadow: 0 0 6px rgba(196, 112, 58, 0.2);
}

.inst-item strong {
    color: var(--primary-navy);
    font-weight: 700;
}

.qms-block {
    margin-top: 18px;
    background: rgba(19, 46, 87, 0.03);
    border-left: 3px solid var(--brand-maroon);
    padding: 24px 28px;
    border-radius: 0 16px 16px 0;
    font-family: var(--sans-font); 
}

.qms-advise {
    font-size: 17.5px;
    line-height: 1.65;
    color: var(--text-color);
    margin: 0 0 20px 0;
}

.qms-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.qms-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16.5px;
    color: var(--text-color);
    line-height: 1.55;
}

.qms-number {
    background: var(--brand-maroon);
    color: var(--white);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-family: var(--sans-font);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 2px 6px rgba(199, 31, 37, 0.3);
}

.qms-step strong {
    color: var(--primary-navy);
}

/* ================= RESPONSIVE DESIGN ================= */

@media (min-width: 1024px) {
    .hero-grid {
        display: grid;
        grid-template-columns: 1.15fr 1fr;
        align-items: center;
        justify-content: space-between;
        gap: 60px;
        text-align: left;
        max-width: 1200px;
        margin: 0 auto;
    }
    .brand-welcome-panel {
        align-items: flex-start;
        text-align: left;
        align-self: flex-start;
        margin-top: 45px;
    }
    .parallax-logo-bg {
        bottom: -520px;
        left: -80px;
        transform: none;
        width: 620px;
        height: 620px;
        opacity: 0.065;
    }
    .form-card {
        max-width: 540px;
        margin-left: auto;
    }
}

@media (min-width: 1150px) {
    .timeline-flow::before {
        content: '';
        position: absolute;
        top: 62px;
        left: 40px;
        right: 40px;
        height: 2px;
        background: repeating-linear-gradient(90deg, rgba(10, 25, 49, 0.12), rgba(10, 25, 49, 0.12) 4px, transparent 4px, transparent 8px);
        z-index: 0;
    }
}

@media (max-width: 1150px) {
    .timeline-flow {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    .timeline-chevron {
        display: none;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 580px;
    }

    .contact-block .contact-block-inner {
        align-items: center;
        padding: 40px 24px;
    }

    .instructions-card {
        padding: 35px 25px;
    }
    .inst-item {
        font-size: 17.5px;
    }
    .qms-block {
        padding: 18px 20px;
    }
}

@media (max-width: 768px) {
    .steps-section {
        padding: 60px 0;
    }
    .timeline-flow {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .timeline-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        padding: 24px;
        gap: 20px;
    }
    .step-icon-wrap {
        margin-bottom: 0;
        flex-shrink: 0;
        width: 56px;
        height: 56px;
    }
    .step-title {
        margin-bottom: 4px;
    }
    .nav-links {
        display: none;
    }
}