/* =========================================================
   Professional Degree Scholarship — DESIGN SYSTEM
   ========================================================= */

:root {
    --navy: #162941;
    --navy-deep: #0b1828;
    --navy-light: #223a59;
    --navy-border: #324967;
    --gold: #f39f20;
    --gold-dark: #d17f05;
    --gold-light: #ffd37a;
    --white: #ffffff;
    --ink: #16192b;
    --gray-900: #1b1f33;
    --gray-700: #4a5170;
    --gray-500: #7b83a3;
    --gray-300: #d7dae6;
    --gray-100: #f4f5fa;
    --gray-050: #f9fafc;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 10px rgba(13, 18, 50, 0.06);
    --shadow-md: 0 12px 32px rgba(13, 18, 50, 0.10);
    --shadow-lg: 0 24px 60px rgba(13, 18, 50, 0.16);
    --maxw: 1240px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Merriweather', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    overflow-x: clip;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 40px;
}

section {
    position: relative;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--gold);
    display: inline-block;
}

.section-head {
    max-width: 680px;
    margin-bottom: 48px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(26px, 3.4vw, 40px);
    margin-bottom: 14px;
}

.section-head h2 span {
    color: var(--gold-dark);
}

.section-head p {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.7;
}


/* ── BUTTONS ── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.03em;
    padding: 15px 30px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(245, 197, 24, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 18px 38px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}


/* ── TOPBAR + HEADER ── */

.topbar {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12.5px;
}

.topbar-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 8px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar-left {
    display: flex;
    gap: 22px;
}

.topbar-left a:hover {
    color: var(--gold);
}

.topbar-left i,
.topbar-right i {
    color: var(--gold);
    margin-right: 4px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
}

.navbar {
    background: var(--navy);
    padding: 0 40px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: #fff;
}

.nav-logo img {
    width: 150px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links>li>a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    padding: 30px 14px;
    transition: color .2s;
    color: #0D2543;
}

.nav-links>li>a:hover,
.nav-links>li:hover>a {
    color: var(--gold);
}

.chev {
    font-size: 10px;
    transition: transform .2s;
    opacity: .7;
}

.has-dropdown:hover .chev {
    transform: rotate(180deg);
}

.dropdown-panel,
.mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .2s ease;
    z-index: 50;
}

.has-dropdown {
    position: relative;
}

.has-dropdown:hover .dropdown-panel,
.has-dropdown:hover .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel {
    min-width: 260px;
    padding: 10px;
}

.dropdown-panel ul li a {
    display: block;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
}

.dropdown-panel ul li a:hover {
    background: var(--gray-100);
    color: var(--gold-dark);
}

.mega-panel {
    left: 50%;
    transform: translate(-50%, 8px);
    width: min(880px, 90vw);
    padding: 32px;
}

.has-mega:hover .mega-panel {
    transform: translate(-50%, 0);
}

.mega-cols {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1fr;
    gap: 32px;
}

.mega-col h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-dark);
    margin-bottom: 14px;
}

.mega-col ul li a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    border-bottom: 1px solid var(--gray-100);
}

.mega-col ul li:last-child a {
    border-bottom: none;
}

.mega-col ul li a:hover {
    color: var(--gold-dark);
    padding-left: 4px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--navy-deep);
    padding: 12px 24px 20px;
    gap: 2px;
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu>a {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-accordion-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.mobile-accordion-panel {
    display: none;
    padding: 4px 0 8px 12px;
}

.mobile-accordion.open .mobile-accordion-panel {
    display: block;
}

.mobile-accordion.open .chev {
    transform: rotate(180deg);
}

.mobile-accordion-panel a {
    display: block;
    padding: 9px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.mobile-mega-heading {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--gold);
    margin-top: 10px;
}


/* ── PAGE HERO (inner pages) ── */

.page-hero {
    background: linear-gradient(120deg, rgba(13, 18, 50, 0.95) 0%, rgba(8, 11, 30, 0.93) 100%), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=1600&q=70') center/cover no-repeat;
    padding: 72px 40px 64px;
    color: #fff;
}

.page-hero-inner {
    max-width: var(--maxw);
    margin: 0 auto;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.breadcrumbs a:hover {
    color: var(--gold);
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(28px, 4vw, 46px);
    max-width: 780px;
}

.page-hero p.lead {
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    max-width: 620px;
    margin-top: 16px;
    line-height: 1.75;
}

.page-hero .badge-row {
    margin-top: 24px;
}


/* ── TRUST BADGES (reusable) ── */

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    padding: 10px 18px;
}

.trust-badge i {
    color: var(--gold);
    font-size: 15px;
}

.trust-badge span {
    font-size: 12.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
}

@media (max-width: 380px) {
    .trust-badge span {
        white-space: normal;
    }
}

.trust-badge.on-light {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

.trust-badge.on-light i {
    color: var(--gold-dark);
}

.trust-badge.on-light span {
    color: var(--navy);
}


/* ── FEATURE BANNER (big image + overlay callout, landing-style sections) ── */

.feature-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
}

.feature-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.feature-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 11, 30, 0.92) 0%, rgba(8, 11, 30, 0.45) 60%, rgba(8, 11, 30, 0.05) 100%);
    z-index: 1;
}

.feature-banner-content {
    position: relative;
    z-index: 2;
    padding: 34px 36px;
    color: #fff;
}

.feature-banner-content .eyebrow {
    color: var(--gold);
}

.feature-banner-content .eyebrow::before {
    background: var(--gold);
}

.feature-banner-content h3 {
    color: #fff;
    font-size: clamp(20px, 2.6vw, 28px);
    margin-bottom: 10px;
}

.feature-banner-content p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 540px;
    font-size: 14.5px;
    line-height: 1.7;
}


/* ── INLINE STAT STRIP (light-background variant of stats-bar) ── */

.stat-strip-inline {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-strip-inline .stat-item strong {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--gold-dark);
}

.stat-strip-inline .stat-item span {
    font-size: 12.5px;
    color: var(--gray-700);
}


/* ── PULL QUOTE ── */

.pull-quote {
    border-left: 4px solid var(--gold);
    background: var(--gray-050);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 26px 30px;
    margin: 30px 0;
}

.pull-quote p {
    font-size: 18px;
    font-style: italic;
    color: var(--navy);
    line-height: 1.6;
    margin-bottom: 10px !important;
}

.pull-quote cite {
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    color: var(--gray-700);
}


/* ── HOME HERO ── */

.hero {
    background: linear-gradient(to right, rgba(9, 20, 34, 0.97) 0%, rgba(9, 20, 34, 0.88) 45%, rgba(9, 20, 34, 0.55) 75%, rgba(9, 20, 34, 0.25) 100%), url('https://images.unsplash.com/photo-1607237138185-eedd9c632b0b?w=1600&q=80') center/cover no-repeat;
    padding: 56px 40px 64px;
}

.hero-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 480px;
    gap: 52px;
    align-items: center;
}

.hero-inner>* {
    min-width: 0;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 26px;
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--gold);
    border-radius: 100px;
    padding: 7px 16px;
    width: fit-content;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
}

.hero-left h1 {
    color: #fff;
    font-size: clamp(30px, 4.2vw, 52px);
    line-height: 1.12;
}

.hero-left h1 .gold {
    color: var(--gold);
    display: block;
}

.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.75;
    max-width: 560px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat strong {
    display: block;
    font-size: 26px;
    color: var(--gold);
    font-weight: 900;
}

.hero-stat span {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
}

.hero-icons {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.hicon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    width: 92px;
}

.hicon i {
    font-size: 26px;
    color: var(--gold);
}

.hicon span {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}


/* ── FORM CARD ── */

.form-card {
    background: var(--navy-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-card h3 {
    color: #fff;
    font-size: 21px;
    margin-bottom: 8px;
}

.form-card>p {
    font-size: 13.5px;
    color: var(--gray-500);
    margin-bottom: 22px;
    line-height: 1.55;
}

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

.form-row.single {
    grid-template-columns: 1fr;
}

.optional-field {
    position: relative;
}

.optional-tag {
    position: absolute;
    top: -8px;
    right: 12px;
    background: var(--gold);
    color: var(--navy-deep);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 2px 9px;
    border-radius: 20px;
    line-height: 1.4;
    z-index: 2;
    pointer-events: none;
}

.finput,
.fselect,
textarea.finput {
    background: #1c2242;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 13px 14px;
    color: #fff;
    font-family: var(--font);
    font-size: 13.5px;
    width: 100%;
    outline: none;
    appearance: none;
}

.finput::placeholder {
    color: #6b7396;
}

.finput:focus,
.fselect:focus {
    border-color: var(--gold);
}

.fselect {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%236b7396' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
    color: #b4bac9;
}

.form-secure {
    text-align: center;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 12px;
}


/* ── PHONE INPUT WITH COUNTRY-FLAG DROPDOWN (hero form) ── */

.phone-row {
    display: flex;
    gap: 10px;
    position: relative;
    margin-bottom: 10px;
}

.phone-flag-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #1c2242;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 0 12px;
    min-width: 88px;
    cursor: pointer;
    flex-shrink: 0;
}

.phone-flag-wrap img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.phone-flag-wrap span {
    font-size: 13px;
    color: #fff;
}

.phone-flag-wrap i {
    font-size: 10px;
    color: #6b7396;
}

.phone-input {
    flex: 1;
    background: #1c2242;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 13px 14px;
    color: #fff;
    font-family: var(--font);
    font-size: 13.5px;
    outline: none;
    min-width: 0;
}

.phone-input::placeholder {
    color: #6b7396;
}

.phone-input:focus {
    border-color: var(--gold);
}

.country-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    z-index: 999;
    background: var(--navy-light);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    min-width: 210px;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.country-dropdown.open {
    display: block;
}

.co {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    cursor: pointer;
    font-size: 13.5px;
    color: #fff;
    transition: background .15s;
}

.co:hover {
    background: rgba(245, 197, 24, 0.12);
}

.co img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.co span:first-of-type {
    flex: 1;
}

.cdial {
    font-size: 12px;
    color: #8899bb;
}


/* ── SEARCHABLE DROPDOWN (Nationality field) ── */

.searchable-select {
    position: relative;
}

.searchable-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1c2242;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 13px 14px;
    cursor: pointer;
    font-family: var(--font);
    font-size: 13.5px;
}

.searchable-select-trigger-text {
    color: #6b7396;
}

.searchable-select-trigger-text.has-value {
    color: #fff;
}

.searchable-select-trigger i {
    font-size: 11px;
    color: #6b7396;
    flex-shrink: 0;
    margin-left: 8px;
}

.searchable-select-list {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--navy-light);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.searchable-select-list.open {
    display: block;
}

.searchable-select-search-wrap {
    position: sticky;
    top: 0;
    z-index: 1;
    background: inherit;
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.searchable-select-search {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    padding: 8px 10px;
    color: #fff;
    font-family: var(--font);
    font-size: 13px;
    outline: none;
}

.searchable-select-search::placeholder {
    color: #6b7396;
}

.searchable-select-search:focus {
    border-color: var(--gold);
}

.searchable-select-options {
    padding: 4px 0;
}

.searchable-select-option {
    padding: 9px 14px;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    transition: background .15s;
}

.searchable-select-option:hover {
    background: rgba(245, 197, 24, 0.12);
}

.searchable-select-option.hidden {
    display: none;
}

.modal-box .searchable-select-trigger {
    background-color: var(--gray-050);
    border: 1px solid var(--gray-300);
    color: var(--ink);
}

.modal-box .searchable-select-trigger-text {
    color: var(--gray-500);
}

.modal-box .searchable-select-trigger-text.has-value {
    color: var(--ink);
}

.modal-box .searchable-select-list {
    background: #fff;
    border: 1px solid var(--gray-300);
    box-shadow: var(--shadow-lg);
}

.modal-box .searchable-select-search-wrap {
    border-bottom-color: var(--gray-300);
}

.modal-box .searchable-select-search {
    background-color: #fff;
    border-color: var(--gray-300);
    color: var(--ink);
}

.modal-box .searchable-select-option {
    color: var(--ink);
}

.modal-box .searchable-select-option:hover {
    background: var(--gray-100);
}

[data-theme="dark"] .modal-box .searchable-select-trigger {
    background-color: #0d1024;
    border-color: #2c3257;
    color: #dfe2f0;
}

[data-theme="dark"] .modal-box .searchable-select-trigger-text.has-value {
    color: #dfe2f0;
}

[data-theme="dark"] .modal-box .searchable-select-list {
    background: #131735;
    border-color: #2c3257;
}

[data-theme="dark"] .modal-box .searchable-select-search-wrap {
    border-bottom-color: #2c3257;
}

[data-theme="dark"] .modal-box .searchable-select-search {
    background-color: #0d1024;
    border-color: #2c3257;
    color: #dfe2f0;
}

[data-theme="dark"] .modal-box .searchable-select-option {
    color: #dfe2f0;
}

[data-theme="dark"] .modal-box .searchable-select-option:hover {
    background: rgba(245, 197, 24, 0.1);
}


/* ── LIGHT CONTACT FORM (used on contact-us.php) ── */

.form-card.light {
    background: var(--gray-050);
    border: 1px solid var(--gray-300);
}

.form-card.light h3 {
    color: var(--navy);
}

.form-card.light>p {
    color: var(--gray-700);
}

.form-card.light .finput,
.form-card.light .fselect {
    background-color: #fff;
    border: 1px solid var(--gray-300);
    color: var(--ink);
}

.form-card.light .fselect {
    color: var(--gray-700);
}


/* ── TRUST / LOGO STRIP (auto-scrolling marquee, full-color brand icons) ── */

.trust-strip {
    background: var(--gray-100);
    padding: 32px 0;
    text-align: center;
    overflow: hidden;
}

.trust-strip .label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--gray-500);
    text-transform: uppercase;
    margin-bottom: 24px;
    padding: 0 40px;
}

.trust-logos-viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.trust-logos-track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: trust-scroll 42s linear infinite;
}

.trust-logos-viewport:hover .trust-logos-track {
    animation-play-state: paused;
}

.trust-logos-track span {
    font-weight: 800;
    font-size: 18px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform .2s ease;
}

.trust-logos-track span:hover {
    transform: translateY(-2px);
}

.trust-logos-track span i {
    font-size: 22px;
}

@keyframes trust-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-logos-track {
        animation: none;
    }
}


/* ── STATS BAR ── */

.stats-bar {
    background: var(--navy);
    padding: 48px 40px;
}

.stats-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stats-grid>* {
    min-width: 0;
}

.stat-item strong {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: var(--gold);
}

.stat-item span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}


/* ── CARD GRID (programs, features) ── */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all .25s;
}

.card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(245, 197, 24, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 22px;
}

.card h3 {
    font-size: 18px;
}

.card p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.7;
    flex: 1;
}

.card-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-dark);
}

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

.card-meta {
    display: flex;
    gap: 14px;
    font-size: 12.5px;
    color: var(--gray-500);
    flex-wrap: wrap;
}

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

.card-meta i {
    color: var(--gold-dark);
}


/* Program landing pill grid (used on programs/index.php etc) */

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill {
    padding: 10px 20px;
    border-radius: 100px;
    border: 1.5px solid var(--gray-300);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
}

.pill:hover {
    border-color: var(--gold);
    background: rgba(245, 197, 24, 0.08);
}


/* ── SPLIT / IMAGE SECTIONS ── */

.split-section {
    padding: 80px 40px;
}

.split-section.alt {
    background: var(--gray-050);
}

.split-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.split-grid>* {
    min-width: 0;
}

.split-grid.rev>*:first-child {
    order: 2;
}

.split-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--gray-900);
    min-width: 0;
    overflow-wrap: anywhere;
}

.check-list i {
    color: var(--gold-dark);
    margin-top: 3px;
}


/* ── HOW IT WORKS ── */

.steps-row {
    display: flex;
    max-width: var(--maxw);
    margin: 0 auto;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    flex: 1;
}

.step-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    color: var(--navy);
}

.step-item h4 {
    font-size: 14.5px;
}

.step-item p {
    font-size: 12.5px;
    color: var(--gray-500);
}

.step-line {
    flex: 1;
    height: 2px;
    margin: 28px 4px 0;
    background: repeating-linear-gradient(to right, var(--gold) 0 4px, transparent 4px 9px);
}


/* ── TESTIMONIALS ── */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: 28px;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 12px;
}

.testimonial-card p.quote {
    font-size: 14.5px;
    color: var(--gray-900);
    line-height: 1.75;
    margin-bottom: 20px;
}

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

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
}

.testimonial-person strong {
    display: block;
    font-size: 13.5px;
}

.testimonial-person span {
    font-size: 12px;
    color: var(--gray-500);
}


/* ── TESTIMONIAL SLIDER (homepage) ── */

.ts-wrap {
    position: relative;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 64px;
}

.ts-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.ts-viewport::-webkit-scrollbar {
    display: none;
}

.ts-track {
    display: flex;
    gap: 24px;
}

.ts-track .testimonial-card {
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
}

@media (max-width: 1024px) {
    .ts-track .testimonial-card {
        flex: 0 0 100%;
    }
}

.ts-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: var(--shadow-md);
    color: var(--navy);
    font-size: 14px;
    transition: all .2s ease;
}

.ts-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.ts-prev {
    left: 0;
}

.ts-next {
    right: 0;
}

.ts-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.ts-dot {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all .2s ease;
}

.ts-dot.active {
    background: var(--gold);
    width: 26px;
}

[data-theme="dark"] .ts-arrow {
    background: #151a38;
    border-color: #262c50;
    color: #f2f3fa;
}

[data-theme="dark"] .ts-dot {
    background: #2c3257;
}

[data-theme="dark"] .ts-dot.active {
    background: var(--gold);
}

@media (max-width: 1024px) {
    .ts-wrap {
        padding: 0 50px;
    }
}

@media (max-width: 640px) {
    .ts-wrap {
        padding: 0 8px;
    }
    .ts-arrow {
        width: 38px;
        height: 38px;
        top: 14px;
    }
    .ts-prev {
        left: -6px;
    }
    .ts-next {
        right: -6px;
    }
}


/* ── FAQ ACCORDION ── */

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-300);
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: none;
    border: none;
    padding: 22px 4px;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
}

.faq-q i {
    color: var(--gold-dark);
    transition: transform .2s;
    flex-shrink: 0;
}

.faq-item.open .faq-q i {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}

.faq-item.open .faq-a {
    max-height: 600px;
}

.faq-a p {
    padding: 0 4px 22px;
    font-size: 14.5px;
    color: var(--gray-700);
    line-height: 1.75;
}


/* ── CTA BANNER ── */

.cta-banner {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: 56px 40px;
}

.cta-banner-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-banner-inner h2 {
    color: #fff;
    font-size: clamp(22px, 2.6vw, 30px);
    margin-bottom: 8px;
}

.cta-banner-inner p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14.5px;
    max-width: 520px;
}


/* ── BLOG ── */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.blog-card {
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .25s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.blog-card img {
    height: 190px;
    object-fit: cover;
}

.blog-card-body {
    padding: 22px 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.blog-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--gold-dark);
}

.blog-card h3 {
    font-size: 17.5px;
    line-height: 1.35;
}

.blog-card p {
    font-size: 13.5px;
    color: var(--gray-700);
    line-height: 1.65;
    flex: 1;
}

.blog-meta {
    font-size: 12px;
    color: var(--gray-500);
    display: flex;
    gap: 12px;
}

.blog-article {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.blog-article h2 {
    font-size: 24px;
    margin: 40px 0 16px;
    padding-left: 16px;
    border-left: 4px solid var(--gold);
}

.blog-article h3 {
    font-size: 19px;
    margin: 26px 0 12px;
}

.blog-article p {
    font-size: 16px;
    color: var(--gray-900);
    line-height: 1.85;
    margin-bottom: 18px;
}

.blog-article ul,
.blog-article ol {
    margin: 0 0 20px 22px;
}

.blog-article li {
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.blog-article img.cover {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
}

.blog-hero-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 13px;
    color: var(--gray-500);
    margin: 18px 0 8px;
}

.blog-share {
    display: flex;
    gap: 10px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-300);
}

.blog-share a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}

.blog-share a:hover {
    background: var(--gold);
}


/* ── GENERIC CONTENT / LEGAL PAGES ── */

.content-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.content-page h2 {
    font-size: 22px;
    margin: 40px 0 16px;
    padding-left: 16px;
    border-left: 4px solid var(--gold);
}

.content-page h3 {
    font-size: 18px;
    margin: 24px 0 10px;
}

.content-page p {
    font-size: 15.5px;
    color: var(--gray-900);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-page ul,
.content-page ol {
    margin: 0 0 18px 22px;
}

.content-page li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.content-page .updated {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 30px;
    padding: 6px 14px;
    background: var(--gray-100);
    border-radius: 100px;
    display: inline-block;
}


/* ── TABLE ── */

.table-scroll {
    overflow-x: auto;
    margin: 20px 0 30px;
    -webkit-overflow-scrolling: touch;
}

table.info-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    margin: 0;
    font-size: 14.5px;
}

table.info-table th,
table.info-table td {
    border: 1px solid var(--gray-300);
    padding: 12px 16px;
    text-align: left;
}

table.info-table th {
    background: var(--gray-100);
    font-weight: 800;
    color: var(--navy);
}


/* ── SIDEBAR LAYOUT (used by admissions/resources detail pages) ── */

.with-sidebar {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 60px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    align-items: start;
}

.with-sidebar>* {
    min-width: 0;
}

.sidebar-box {
    background: var(--gray-050);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: 26px;
    position: sticky;
    top: 110px;
}

.sidebar-box h4 {
    font-size: 15px;
    margin-bottom: 14px;
}

.sidebar-box ul li {
    margin-bottom: 10px;
}

.sidebar-box ul li a {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
}

.sidebar-box ul li a:hover {
    color: var(--gold-dark);
}


/* ── FOOTER ── */

.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    padding: 64px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(5, 1fr);
    gap: 32px;
}

.footer-logo {
    width: 250px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.footer-trust-badges span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-trust-badges i {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--navy);
}

.footer-col h4 {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 11px;
}

.footer-col ul li a {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-newsletter {
    background: rgba(245, 197, 24, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 30px 0;
    flex-wrap: wrap;
}

.newsletter-inner h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 4px;
}

.newsletter-inner p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 13.5px;
    min-width: 240px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    padding: 22px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    max-width: 700px;
    line-height: 1.6;
}

.footer-bottom-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

#backToTop {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 300;
    box-shadow: var(--shadow-md);
}

#backToTop.show {
    display: flex;
}


/* ── THEME TOGGLE ── */

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    font-size: 14px;
    transition: border-color .2s, color .2s;
}

.theme-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.theme-toggle .fa-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: inline-block;
}


/* ── "LET'S TALK" SIDE TAB ── */

.lets-talk-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background: var(--gold);
    color: var(--navy);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.04em;
    padding: 12px 22px;
    border-radius: 10px 10px 0 0;
    border: none;
    cursor: pointer;
    z-index: 250;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.lets-talk-tab:hover {
    background: var(--gold-light);
}


/* ── LEAD MODAL ── */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 8, 20, 0.72);
    backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}


/* Hide the floating trigger buttons while any modal is open, on both mobile
   and desktop, so they don't float on top of the overlay. */

body:has(.modal-overlay.open) .float-cta-btn,
body:has(.modal-overlay.open) .floating-btn-circle,
body:has(.modal-overlay.open) .lets-talk-tab {
    display: none;
}

.modal-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 460px;
    width: 100%;
    padding: 14px 18px 12px;
    position: relative;
    box-shadow: var(--shadow-lg);
    max-height: 98vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-box h3 {
    font-size: 16px;
    margin-bottom: 2px;
}

.modal-box>p,
.modal-box .modal-form>p {
    font-size: 12px;
    margin-bottom: 6px;
    line-height: 1.35;
}

.modal-box .form-row {
    margin-bottom: 4px;
}

.modal-box .finput,
.modal-box .fselect,
.modal-box textarea.finput {
    padding: 7px 12px;
    font-size: 13px;
}

.modal-box .phone-row {
    margin-bottom: 4px;
}

.modal-box .form-secure {
    margin-top: 4px;
    font-size: 10.5px;
}

.modal-box .btn {
    padding: 10px 30px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-700);
    font-size: 14px;
}

.modal-close:hover {
    background: var(--gray-300);
    color: var(--navy);
}

.modal-box h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 8px;
}

.modal-box>p {
    font-size: 11.5px;
    color: var(--gray-700);
    margin-bottom: 22px;
    line-height: 1.6;
}

.modal-box .finput,
.modal-box textarea.finput,
.modal-box .fselect,
.modal-box .phone-input,
.modal-box .phone-flag-wrap {
    background-color: var(--gray-050);
    border: 1px solid var(--gray-300);
    color: var(--ink);
    margin-bottom: 12px;
}

.modal-box .fselect {
    color: var(--gray-700);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%237b83a3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.modal-box .phone-row {
    margin-bottom: 12px;
}

.modal-box .phone-flag-wrap {
    margin-bottom: 0;
}

.modal-box .phone-flag-wrap span {
    color: var(--ink);
}

.modal-box .phone-flag-wrap i {
    color: var(--gray-500);
}

.modal-box .finput::placeholder,
.modal-box .phone-input::placeholder {
    color: var(--gray-500);
}

.modal-box .finput:focus,
.modal-box .fselect:focus,
.modal-box .phone-input:focus {
    border-color: var(--gold);
}

.modal-box .country-dropdown {
    background: #fff;
    border: 1px solid var(--gray-300);
    box-shadow: var(--shadow-lg);
}

.modal-box .co {
    color: var(--ink);
}

.modal-box .co:hover {
    background: var(--gray-100);
}

.modal-box .cdial {
    color: var(--gray-500);
}

.modal-thankyou {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.modal-thankyou.show {
    display: block;
}

.modal-thankyou .ty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(245, 197, 24, 0.15);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 18px;
}

.modal-thankyou h3 {
    margin-bottom: 10px;
}

.modal-thankyou p {
    color: var(--gray-700);
    font-size: 14.5px;
    line-height: 1.7;
}

.modal-form.hide {
    display: none;
}


/* ── RESPONSIVE ── */

@media (max-width: 1180px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1024px) {
    .nav-links,
    .nav-right {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .navbar {
        padding: 0 20px;
        height: 72px;
    }
    .nav-logo img {
        width: clamp(120px, 45vw, 180px);
    }
    .topbar {
        display: none;
    }
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .split-grid {
        grid-template-columns: 1fr;
    }
    .split-grid.rev>*:first-child {
        order: 0;
    }
    .card-grid,
    .card-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonial-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-row {
        flex-wrap: wrap;
        gap: 24px;
    }
    .step-line {
        display: none;
    }
    .with-sidebar {
        grid-template-columns: 1fr;
    }
    .sidebar-box {
        position: static;
    }
}

@media (max-width: 640px) {
    .container,
    .page-hero,
    .hero,
    .split-section,
    .cta-banner,
    .trust-strip,
    .stats-bar,
    .footer-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-logo {
        width: 180px;
    }
    .card-grid,
    .card-grid.cols-4,
    .card-grid.cols-2,
    .testimonial-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-form {
        width: 100%;
    }
    .newsletter-form input {
        flex: 1;
        min-width: 0;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .trust-logos-track {
        gap: 36px;
    }
    .trust-logos-track span {
        font-size: 15px;
    }
    .trust-logos-track span i {
        font-size: 18px;
    }
    .feature-banner {
        min-height: 240px;
    }
    .stat-strip-inline {
        justify-content: space-between;
        gap: 20px 16px;
    }
    .lets-talk-tab {
        padding: 9px 16px;
        font-size: 12px;
    }
}


/* =========================================================
   DARK THEME — toggled via [data-theme="dark"] on <html>
   Header/footer/hero/cta-banner/stats-bar stay navy in both
   themes by design; only page "surface" colors flip here.
   ========================================================= */

[data-theme="dark"] body {
    background: #0b0e1f;
    color: #dfe2f0;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
    color: #f2f3fa;
}

[data-theme="dark"] .split-section.alt,
[data-theme="dark"] .trust-strip,
[data-theme="dark"] .form-card.light {
    background: #101430;
}

[data-theme="dark"] .card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .sidebar-box,
[data-theme="dark"] .dropdown-panel,
[data-theme="dark"] .mega-panel,
[data-theme="dark"] .modal-box,
[data-theme="dark"] .pull-quote {
    background: #131735;
    border-color: #262c50;
}

[data-theme="dark"] .card p,
[data-theme="dark"] .blog-card p,
[data-theme="dark"] .testimonial-card p.quote,
[data-theme="dark"] .section-head p,
[data-theme="dark"] .content-page p,
[data-theme="dark"] .blog-article p,
[data-theme="dark"] .check-list li,
[data-theme="dark"] .card-meta,
[data-theme="dark"] .blog-meta,
[data-theme="dark"] .testimonial-person span,
[data-theme="dark"] .content-page li,
[data-theme="dark"] .blog-article li {
    color: #aab0d1;
}

[data-theme="dark"] .pull-quote p {
    color: #f2f3fa;
}

[data-theme="dark"] .dropdown-panel ul li a,
[data-theme="dark"] .mega-col ul li a,
[data-theme="dark"] .sidebar-box ul li a {
    color: #dfe2f0;
}

[data-theme="dark"] .dropdown-panel ul li a:hover {
    background: rgba(245, 197, 24, 0.08);
}

[data-theme="dark"] .mega-col ul li a {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .btn-outline {
    color: #f2f3fa;
    border-color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

[data-theme="dark"] .pill {
    color: #dfe2f0;
    border-color: #2c3257;
}

[data-theme="dark"] .pill:hover {
    background: rgba(245, 197, 24, 0.12);
    border-color: var(--gold);
}

[data-theme="dark"] .faq-q {
    color: #f2f3fa;
}

[data-theme="dark"] .faq-item,
[data-theme="dark"] .blog-share {
    border-color: #262c50;
}

[data-theme="dark"] .blog-share a {
    background: #1a1f42;
    color: #dfe2f0;
}

[data-theme="dark"] table.info-table th {
    background: #171b3c;
    color: #f2f3fa;
}

[data-theme="dark"] table.info-table th,
[data-theme="dark"] table.info-table td {
    border-color: #262c50;
}

[data-theme="dark"] .content-page .updated {
    background: #171b3c;
    color: #8992ba;
}

[data-theme="dark"] .form-card.light .finput,
[data-theme="dark"] .form-card.light .fselect,
[data-theme="dark"] .modal-box .finput,
[data-theme="dark"] .modal-box .fselect,
[data-theme="dark"] .modal-box .phone-input,
[data-theme="dark"] .modal-box .phone-flag-wrap {
    background-color: #0d1024;
    border-color: #2c3257;
    color: #dfe2f0;
}

[data-theme="dark"] .modal-box .phone-flag-wrap span {
    color: #dfe2f0;
}

[data-theme="dark"] .modal-box .country-dropdown {
    background: #131735;
    border-color: #2c3257;
}

[data-theme="dark"] .modal-box .co {
    color: #dfe2f0;
}

[data-theme="dark"] .modal-box .co:hover {
    background: rgba(245, 197, 24, 0.1);
}

[data-theme="dark"] .trust-badge.on-light {
    background: #171b3c;
    border-color: #262c50;
}

[data-theme="dark"] .trust-badge.on-light span {
    color: #f2f3fa;
}

[data-theme="dark"] .modal-close {
    background: #1a1f42;
    color: #aab0d1;
}

[data-theme="dark"] .trust-logos-track span {
    color: #aab0d1;
}

[data-theme="dark"] #backToTop {
    color: var(--navy);
}


/* Floating Button Container Styling */

.floating-btn-circle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    /* Initial Perfect Circle Shape Settings */
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    /* Text hidden rahega jab tak width circle hai */
    /* Core transitions for smooth width expansion */
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.3s ease, box-shadow 0.3s ease;
    /* Animation Trigger */
    animation: floatAnimation 3s ease-in-out infinite;
    background: var(--gold);
    color: #000;
}


/* Icon Wrapper Inside Circle */

.floating-btn-circle i {
    font-size: 1.4rem;
    min-width: 60px;
    /* Force icon to stay perfectly centered inside the initial 60px width */
    text-align: center;
    display: inline-block;
}


/* Text Element Hidden State */

.floating-btn-circle span {
    opacity: 0;
    max-width: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, max-width 0.4s ease, transform 0.3s ease;
    padding-right: 25px;
    /* Adds space inside button once expanded */
}


/* Hover Expansion State */

.floating-btn-circle:hover {
    width: 190px;
    /* Button expands horizontally to hold the text */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.4);
    color: #000;
    animation-play-state: paused;
    /* Hover karne par up/down animation stop ho jayegi taake jump feel na ho */
}


/* Reveal Text and Opacity Smoothly on Hover */

.floating-btn-circle:hover span {
    opacity: 1;
    max-width: 150px;
    transform: translateX(0);
    transition-delay: 0.1s;
    /* Subtle delay for beautiful visual timing */
}


/* Continuous Up & Down Animation Structure */

@keyframes floatAnimation {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-cta-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9000;
    background: var(--gold);
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 900;
    padding: 16px 36px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(243, 159, 32, 0.55), 0 2px 8px rgba(0, 0, 0, 0.35);
    animation: floatBounceVibrate 5s ease-in-out infinite;
    overflow: visible;
}

.float-cta-btn:hover {
    animation: none;
    transform: translateX(-50%) translateY(-6px);
    background: var(--gold-light);
    box-shadow: 0 16px 44px rgba(243, 159, 32, 0.75), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.float-shimmer-wrap {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.float-shimmer-bar {
    position: absolute;
    top: 0;
    left: -110%;
    width: 65%;
    height: 100%;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.28) 40%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0.28) 60%, transparent 100%);
    transform: skewX(-18deg);
    animation: gold-shimmer 2.8s ease-in-out infinite;
}

.float-cta-btn svg,
.float-cta-btn>span.float-label {
    position: relative;
    z-index: 1;
}

.float-cta-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.float-ring {
    position: absolute;
    inset: -8px;
    border-radius: 100px;
    border: 2px solid rgba(245, 197, 24, 0.65);
    animation: floatPulseRing 2.5s ease-out infinite;
    pointer-events: none;
    z-index: -1;
}

.float-ring-2 {
    inset: -4px;
    border-color: rgba(245, 197, 24, 0.4);
    animation-delay: 1.25s;
}

@keyframes floatBounceVibrate {
    /* Bounce once */
    0% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }
    10% {
        transform: translateX(-50%) translateY(-9px) rotate(0deg);
    }
    20% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }
    /* Vibrate shake */
    24% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }
    27% {
        transform: translateX(calc(-50% - 7px)) translateY(0px) rotate(-5deg);
    }
    30% {
        transform: translateX(calc(-50% + 7px)) translateY(0px) rotate(5deg);
    }
    33% {
        transform: translateX(calc(-50% - 7px)) translateY(0px) rotate(-5deg);
    }
    36% {
        transform: translateX(calc(-50% + 7px)) translateY(0px) rotate(5deg);
    }
    39% {
        transform: translateX(calc(-50% - 5px)) translateY(0px) rotate(-3deg);
    }
    42% {
        transform: translateX(calc(-50% + 5px)) translateY(0px) rotate(3deg);
    }
    45% {
        transform: translateX(calc(-50% - 2px)) translateY(0px) rotate(-1deg);
    }
    48% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }
    /* Bounce again slowly */
    60% {
        transform: translateX(-50%) translateY(-9px) rotate(0deg);
    }
    72% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }
    84% {
        transform: translateX(-50%) translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }
}

@keyframes floatPulseRing {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.55);
    }
}

@media (max-width: 480px) {
    .float-cta-btn {
        font-size: 18px;
        padding: 19px 22px;
        gap: 8px;
        /* bottom: 18px; */
    }
    .float-cta-btn svg {
        width: 17px;
        height: 17px;
    }
    .hero-left h1 {
        font-size: 22px !important;
    }
    .hero-desc {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .float-cta-btn {
        font-size: 12px;
        padding: 14px 16px;
        gap: 6px;
        letter-spacing: 0.03em;
    }
    .hero-stat strong {
        font-size: 20px !important;
    }
    .hero-badge {
        font-size: 9px;
    }
    .hero-icons {
        gap: 32px
    }
    .hero {
        padding: 31px 40px 64px;
    }
    .float-cta-btn svg {
        width: 14px;
        height: 14px;
    }
    .float-ring,
    .float-ring-2 {
        display: none;
    }
}