/* ============================================================
   Purawan Astro — custom styles
   ============================================================ */
:root {
    --navy: #0c1236;
    --navy-2: #111845;
    --ink: #1b2150;
    --body: #5b6285;
    --gold: #f5b301;
    --gold-dark: #d99c04;
    --gold-soft: #fff7e0;
    --light: #f6f7fc;
    --border: #e8eaf5;
    --radius: 16px;
}

html { scroll-behavior: smooth; }

body.preloader-active { overflow: hidden; }

.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 45%, #1a2560 100%);
    transition: opacity .55s ease, visibility .55s ease;
}
.site-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.site-preloader-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
}
.site-preloader-logo {
    position: relative;
    z-index: 2;
    height: 100px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    animation: preloaderLogoPulse 1.6s ease-in-out infinite;
}
.site-preloader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(245, 179, 1, .2);
    border-top-color: var(--gold);
    animation: preloaderSpin .9s linear infinite;
}
@keyframes preloaderSpin {
    to { transform: rotate(360deg); }
}
@keyframes preloaderLogoPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.04); opacity: .92; }
}

body {
    font-family: 'Nunito Sans', system-ui, sans-serif;
    color: var(--body);
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, .section-title, .hero-title, .cta-title {
    font-family: 'DM Serif Display', Georgia, serif;
    color: var(--ink);
}

.text-gold { color: var(--gold) !important; }

/* ---------- buttons ---------- */
.btn { font-weight: 800; border-radius: 50rem; }
.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border: 2px solid var(--gold);
}
.btn-gold:hover, .btn-gold:focus {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--navy);
}
.btn-outline-gold {
    background: transparent;
    color: #fff;
    border: 2px solid var(--gold);
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--navy);
}
.btn-navy {
    background: var(--navy);
    color: #fff;
    border: 2px solid var(--navy);
    border-radius: 10px;
    padding: .55rem 1.4rem;
}
.btn-navy:hover { background: var(--navy-2); color: var(--gold); }
.btn-pill { padding: .6rem 1.4rem; font-size: .95rem; }

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    animation: headerSlideDown .55s ease both;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .97) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(12, 18, 54, .06);
    box-shadow: 0 8px 32px rgba(12, 18, 54, .06);
    transition: box-shadow .3s ease, padding .3s ease;
}
.site-header.is-scrolled {
    box-shadow: 0 12px 40px rgba(12, 18, 54, .12);
}
.header-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 45%, var(--gold-dark) 70%, var(--navy) 100%);
    background-size: 200% 100%;
    animation: headerShine 8s ease-in-out infinite;
}
@keyframes headerShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.header-topline {
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%);
    color: #c3c9e8;
    font-size: .78rem;
    font-weight: 700;
    padding: .4rem 0;
    letter-spacing: .02em;
}
.header-tagline {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.header-tagline i { color: var(--gold); }
.header-toplink {
    color: #e8ecff;
    text-decoration: none;
    font-size: .78rem;
}
.header-toplink:hover { color: var(--gold); }
.header-topline .container { gap: .75rem; }
.header-lang { margin-left: auto; }
.header-lang-btn {
    color: #c3c9e8;
    text-decoration: none;
    font-weight: 800;
    font-size: .72rem;
    padding: .2rem .45rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.2);
}
.header-lang-btn.active,
.header-lang-btn:hover {
    color: var(--navy);
    background: var(--gold);
    border-color: var(--gold);
}
.header-navbar { background: transparent !important; }
.header-navbar .navbar-brand { padding-top: 0; padding-bottom: 0; }
.header-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
    transition: transform .25s ease;
}
.header-brand:hover { transform: translateY(-1px); }
.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.brand-logo {
    object-fit: contain;
    height: 100px;
    width: auto;
    max-width: 220px;
    display: block;
}
.brand-text {
    font-weight: 800;
    font-size: 1.22rem;
    letter-spacing: .04em;
    color: var(--navy);
    line-height: 1;
    display: inline-flex;
    flex-direction: column;
}
.brand-text small {
    font-size: .66rem;
    letter-spacing: .48em;
    color: var(--gold-dark);
    font-weight: 800;
}
.brand-text-footer { color: #fff; }

.header-nav {
    gap: .15rem;
    padding: .35rem .5rem;
    border-radius: 50rem;
    background: rgba(246, 247, 252, .85);
    border: 1px solid var(--border);
}
.header-nav .nav-link {
    color: var(--ink);
    font-weight: 800;
    font-size: .88rem;
    padding: .5rem .95rem;
    position: relative;
    border-radius: 50rem;
    transition: color .2s ease, background .2s ease;
}
.header-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: .35rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width .25s ease;
}
.header-nav .nav-link:hover {
    color: var(--navy);
    background: rgba(255, 255, 255, .9);
}
.header-nav .nav-link:hover::after,
.header-nav .nav-link.active::after {
    width: 55%;
}
.header-nav .nav-link.active {
    color: var(--navy);
    background: #fff;
    box-shadow: 0 4px 14px rgba(12, 18, 54, .08);
}
.header-nav .dropdown-toggle::after {
    margin-left: .35rem;
    vertical-align: .15em;
}

.header-toggler {
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--gold-soft);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: inset 0 0 0 1px rgba(245, 179, 1, .4);
}
.header-toggler:focus { box-shadow: 0 0 0 3px rgba(245, 179, 1, .35); }
.header-toggler-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}
.header-toggler[aria-expanded="true"] .header-toggler-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.header-toggler[aria-expanded="true"] .header-toggler-bar:nth-child(2) { opacity: 0; }
.header-toggler[aria-expanded="true"] .header-toggler-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-cta { margin-left: 0; }
@media (min-width: 992px) {
    .header-cta { margin-left: .75rem; }
}
.header-cta-inner { width: 100%; }
.btn-header-navy,
.btn-header-ghost,
.btn-header-gold {
    font-weight: 800;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .55rem 1.15rem;
    font-size: .88rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
}
.btn-header-navy {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.btn-header-navy:hover {
    background: var(--navy-2);
    color: var(--gold);
    transform: translateY(-1px);
}
.btn-header-ghost {
    background: #fff;
    color: var(--ink);
    border-color: var(--border);
}
.btn-header-ghost:hover {
    border-color: var(--gold);
    color: var(--navy);
}
.btn-header-gold {
    background: linear-gradient(135deg, #ffd24a 0%, var(--gold) 45%, var(--gold-dark) 100%);
    color: var(--navy);
    border-color: var(--gold-dark);
    padding: .4rem 1rem .4rem .45rem;
    gap: .65rem;
    box-shadow: 0 8px 22px rgba(245, 179, 1, .35);
}
.btn-header-gold:hover {
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245, 179, 1, .45);
}
.btn-header-gold-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.btn-header-gold-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    text-align: left;
}
.btn-header-gold-text small {
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .85;
}
.btn-header-gold-text strong {
    font-size: .88rem;
    font-weight: 800;
}

.header-dropdown {
    border-radius: 14px !important;
    padding: .5rem !important;
    border: 1px solid var(--border) !important;
    margin-top: .5rem !important;
    min-width: 240px;
}
.header-dropdown .dropdown-item {
    border-radius: 8px;
    font-weight: 700;
}
.btn-call { font-size: .9rem; padding: .5rem 1.1rem; white-space: nowrap; }
.dropdown-toggle-nav::after {
    content: "\F282";
    font-family: 'bootstrap-icons';
    border: 0;
    vertical-align: middle;
    font-size: .7rem;
    margin-left: .3rem;
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    background: url('../images/hero-bg.jpg') center 30% / cover no-repeat var(--navy);
    color: #fff;
    padding: 7.5rem 0 8.5rem;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 11, 38, .82) 0%, rgba(8, 11, 38, .55) 45%, rgba(8, 11, 38, .15) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
    color: var(--gold);
    font-weight: 800;
    letter-spacing: .28em;
    text-transform: uppercase;
    font-size: .8rem;
    margin-bottom: 1.1rem;
}
.hero-title {
    color: #fff;
    font-size: clamp(2.6rem, 5.2vw, 4rem);
    line-height: 1.08;
    margin-bottom: 1.25rem;
}
.hero-sub {
    color: #ccd2ef;
    font-size: 1.08rem;
    max-width: 520px;
    margin-bottom: .5rem;
}
.btn-hero { padding: .8rem 1.7rem; font-size: 1rem; }

/* ---------- inner page hero ---------- */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #1a2560 100%);
    color: #fff;
    padding: 3.5rem 0 3.75rem;
}
.page-breadcrumb .breadcrumb {
    --bs-breadcrumb-divider: "›";
    margin-bottom: 0;
    background: transparent;
    padding: 0;
    font-size: .88rem;
}
.page-breadcrumb .breadcrumb-item a {
    color: #c3c9e8;
    text-decoration: none;
    font-weight: 700;
}
.page-breadcrumb .breadcrumb-item a:hover { color: var(--gold); }
.page-breadcrumb .breadcrumb-item.active { color: var(--gold); font-weight: 800; }
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .35); }
.page-hero-title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.85rem);
    line-height: 1.12;
    margin-bottom: .75rem;
}
.page-hero-sub {
    color: #c3c9e8;
    font-size: 1.05rem;
    max-width: 640px;
}

/* ---------- courses ---------- */
.courses-section,
.home-courses-section { background: var(--light); }
.course-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(12, 18, 54, .12);
}
.course-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
}
.course-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.course-card:hover .course-card-img { transform: scale(1.05); }
.course-card-body {
    padding: 2rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.course-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    font-size: 1.55rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(12, 18, 54, .15);
}
.course-icon-overlay {
    position: absolute;
    right: 1rem;
    bottom: -1.35rem;
    margin-bottom: 0;
    z-index: 1;
    border: 3px solid #fff;
}
.course-icon-lg { width: 72px; height: 72px; font-size: 1.9rem; }
.course-title a {
    color: var(--ink);
    text-decoration: none;
    transition: color .2s ease;
}
.course-title a:hover { color: var(--gold-dark); }
.course-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ink);
    background: var(--gold-soft);
    padding: .25rem .65rem;
    border-radius: 50rem;
}
.course-badge-muted { background: var(--light); color: var(--body); text-transform: none; letter-spacing: 0; }
.course-title {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: .5rem;
}
.course-text { font-size: .9rem; flex-grow: 1; }
.course-price { font-weight: 800; color: var(--ink); font-size: 1rem; }
.course-detail { background: #fff; }
.course-topics li {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    padding: .65rem 0;
    border-bottom: 1px dashed var(--border);
    font-size: .95rem;
    color: var(--ink);
}
.course-topics li:last-child { border-bottom: 0; }
.course-topics i { color: var(--gold-dark); margin-top: .15rem; flex-shrink: 0; }
.course-sidebar {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0 1.5rem 1.75rem;
    background: var(--light);
    box-shadow: 0 12px 34px rgba(12, 18, 54, .07);
    position: sticky;
    top: 6.5rem;
    overflow: hidden;
}
.course-sidebar-media {
    position: relative;
    margin: 0 -1.5rem 1.25rem;
}
.course-sidebar-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.course-sidebar .course-icon-overlay {
    right: 1.25rem;
    bottom: -1.35rem;
}
.course-sidebar-title {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--ink);
    margin: 1.35rem 0 1.25rem;
}
.course-details-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.course-details-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .9rem;
}
.course-details-list li:last-child { border-bottom: 0; }
.course-details-list span { color: var(--body); }
.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    border-radius: 50rem;
    font-weight: 800;
    padding: .55rem 1.2rem;
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: #fff;
}

/* ---------- contact & tiles ---------- */
.info-tile {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem;
    background: #fff;
}
.contact-section { background: var(--light); }
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: 1rem;
    font-size: .98rem;
}
.contact-list i { color: var(--gold-dark); font-size: 1.15rem; margin-top: .15rem; }
.contact-list a { color: var(--ink); font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--gold-dark); }
.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: 0 12px 34px rgba(12, 18, 54, .06);
}
.contact-form .form-label { font-weight: 800; color: var(--ink); font-size: .9rem; }
.contact-form .form-control,
.contact-form .form-select {
    border-radius: 10px;
    border-color: var(--border);
    padding: .65rem .9rem;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 .2rem rgba(245, 179, 1, .2);
}

.navbar .dropdown-item { font-size: .9rem; font-weight: 600; padding: .45rem 1.1rem; }
.navbar .dropdown-item:hover { background: var(--gold-soft); color: var(--ink); }

/* ---------- quick services ---------- */
.quick-services { background: #fff; }
.quick-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    font-size: 1.7rem;
    margin-bottom: .9rem;
    animation: iconFloat 5s ease-in-out infinite;
}
.quick-services .col:nth-child(2) .quick-icon { animation-delay: .4s; }
.quick-services .col:nth-child(3) .quick-icon { animation-delay: .8s; }
.quick-services .col:nth-child(4) .quick-icon { animation-delay: 1.2s; }
.quick-services .col:nth-child(5) .quick-icon { animation-delay: 1.6s; }
.quick-services .col:nth-child(6) .quick-icon { animation-delay: 2s; }
.quick-title { font-family: 'Nunito Sans', sans-serif; font-weight: 800; font-size: 1rem; color: var(--ink); }
.quick-text { font-size: .85rem; margin-bottom: 0; }

/* ---------- shared section bits ---------- */
.section-eyebrow {
    color: var(--gold-dark);
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-size: .76rem;
    margin-bottom: .6rem;
}
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; margin-bottom: .9rem; }
.section-text { font-size: .98rem; }

/* ---------- about ---------- */
.about-section { background: #fff; }
.about-img {
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(12, 18, 54, .18);
    border: 6px solid #fff;
}
.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 34px rgba(12, 18, 54, .07);
}
.feature-item {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    padding: 1.15rem 1.25rem;
}
.feature-item + .feature-item { border-top: 1px dashed var(--border); }
.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-soft);
    color: var(--gold-dark);
    font-size: 1.25rem;
}
.feature-title { font-family: 'Nunito Sans', sans-serif; font-weight: 800; font-size: .98rem; color: var(--ink); margin-bottom: .15rem; }
.feature-text { font-size: .85rem; margin-bottom: 0; }

/* ---------- services ---------- */
.services-section { background: var(--light); }
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem 1.3rem;
    transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(12, 18, 54, .12);
}
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.service-title { font-family: 'Nunito Sans', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.service-text { font-size: .88rem; min-height: 3.9em; }
.service-link {
    color: var(--ink);
    font-weight: 800;
    font-size: .88rem;
    text-decoration: none;
}
.service-link i { color: var(--gold-dark); transition: transform .2s ease; }
.service-link:hover { color: var(--gold-dark); }
.service-link:hover i { transform: translateX(4px); }

/* ---------- stats ---------- */
.stats-section {
    position: relative;
    background:
        linear-gradient(90deg, rgba(9, 13, 42, .96) 0%, rgba(9, 13, 42, .92) 55%, rgba(9, 13, 42, .55) 100%),
        url('../images/blog-planets.jpg') right center / cover no-repeat var(--navy);
    color: #fff;
    padding: 4.5rem 0;
}
.stats-section .section-title { color: #fff; }
.stats-sub { color: #c3c9e8; max-width: 420px; font-size: .98rem; }
.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: .8rem;
}
.stat-value { font-size: 1.7rem; font-weight: 800; color: #fff; font-family: 'Nunito Sans', sans-serif; }
.stat-label { font-size: .85rem; color: #c3c9e8; }

/* ---------- testimonials ---------- */
.testimonials-section { background: var(--light); }
.testimonial-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(12, 18, 54, .06);
}
.testimonial-avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-quote { font-size: .88rem; }
.testimonial-name { font-weight: 800; color: var(--ink); font-size: .92rem; }
.testimonial-stars { color: var(--gold); font-size: .85rem; }

/* ---------- blog ---------- */
.blog-section { background: #fff; }
.article-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .8rem;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}
.article-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(12, 18, 54, .12); }
.article-img {
    width: 92px;
    height: 92px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}
.article-title {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: .95rem;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: .4rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-date { font-size: .8rem; color: var(--body); }
.article-date i { color: var(--gold-dark); margin-right: .25rem; }

/* ---------- CTA ---------- */
.cta-section {
    position: relative;
    background: url('../images/cta-bg.jpg') center 65% / cover no-repeat var(--navy);
    color: #fff;
    padding: 4.5rem 0;
}
.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 11, 38, .78) 0%, rgba(8, 11, 38, .35) 100%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-title { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .4rem; }
.cta-sub { color: #ccd2ef; font-size: .95rem; max-width: 560px; }
.btn-cta { padding: .8rem 1.8rem; }

/* ---------- footer ---------- */
.site-footer {
    background: var(--navy);
    color: #b9c0e4;
    padding: 3.5rem 0 0;
}
.footer-logo-badge {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.footer-logo-badge-img {
    width: auto;
    max-width: 130px;
    height: auto;
    padding: 4px 8px;
    background: transparent;
}
.footer-brand-logo {
    height: 100px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}
.social-icons a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}
.social-icons a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-links-col { display: flex; align-items: flex-start; justify-content: center; }
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.6rem;
    max-width: 320px;
}
.footer-links a { color: #b9c0e4; text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: var(--gold); }
.footer-contact a { color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; }
.footer-contact a:hover { color: var(--gold); }
.footer-contact i { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 2.5rem;
    padding: 1.2rem 0;
    font-size: .85rem;
}
.footer-tagline { color: var(--gold); }

/* ---------- back to top ---------- */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--gold);
    color: var(--navy);
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .3s ease;
    z-index: 1030;
    box-shadow: 0 10px 24px rgba(12, 18, 54, .25);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-dark); }

/* ---------- mobile bottom nav ---------- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 28px rgba(12, 18, 54, .1);
    padding: .35rem .25rem calc(.35rem + env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: stretch;
    gap: .15rem;
}
.mobile-bottom-nav-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    padding: .45rem .2rem;
    text-decoration: none;
    color: var(--body);
    font-size: .62rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    border-radius: 12px;
    transition: color .2s ease, background .2s ease;
}
.mobile-bottom-nav-item i {
    font-size: 1.2rem;
    color: var(--ink);
    transition: color .2s ease, transform .2s ease;
}
.mobile-bottom-nav-item span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mobile-bottom-nav-item:hover,
.mobile-bottom-nav-item:focus {
    color: var(--navy);
    background: var(--gold-soft);
}
.mobile-bottom-nav-item.active {
    color: var(--navy);
    background: var(--gold-soft);
}
.mobile-bottom-nav-item.active i {
    color: var(--gold-dark);
    transform: translateY(-1px);
}

/* ---------- animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes headerSlideDown {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@keyframes heroGlow {
    0%, 100% { opacity: .35; transform: scale(1); }
    50% { opacity: .55; transform: scale(1.08); }
}

.hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: 12%;
    top: 22%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 179, 1, .25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: heroGlow 7s ease-in-out infinite;
}

.hero-animate-group > .animate-fade-up {
    opacity: 0;
    animation: fadeInUp .75s cubic-bezier(.22, 1, .36, 1) forwards;
}
.hero-animate-group > .animate-fade-up:nth-child(1) { animation-delay: .08s; }
.hero-animate-group > .animate-fade-up:nth-child(2) { animation-delay: .2s; }
.hero-animate-group > .animate-fade-up:nth-child(3) { animation-delay: .32s; }
.hero-animate-group > .animate-fade-up:nth-child(4) { animation-delay: .44s; }

/* ---------- reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
    will-change: opacity, transform;
}
.reveal-left { transform: translate3d(-36px, 32px, 0); }
.reveal-right { transform: translate3d(36px, 32px, 0); }
.reveal-scale { transform: translate3d(0, 32px, 0) scale(.94); }
.reveal.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}
.reveal.visible .course-card,
.reveal.visible .service-card,
.reveal.visible .testimonial-card,
.reveal.visible .article-card {
    animation: cardLift .65s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes cardLift {
    from { box-shadow: 0 4px 12px rgba(12, 18, 54, .04); }
    to { box-shadow: 0 10px 30px rgba(12, 18, 54, .06); }
}

.btn-gold,
.btn-navy,
.btn-outline-gold {
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-gold:hover,
.btn-navy:hover,
.btn-outline-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(12, 18, 54, .14);
}

@media (prefers-reduced-motion: reduce) {
    .site-preloader { transition: none; }
    .site-preloader-logo,
    .site-preloader-ring { animation: none; }
    .site-header { animation: none; }
    .header-accent { animation: none; }
    .hero::after { animation: none; }
    .quick-icon { animation: none; }
    .hero-animate-group > .animate-fade-up {
        opacity: 1;
        animation: none;
    }
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .reveal.visible .course-card,
    .reveal.visible .service-card,
    .reveal.visible .testimonial-card,
    .reveal.visible .article-card {
        animation: none;
    }
    .btn-gold:hover,
    .btn-navy:hover,
    .btn-outline-gold:hover {
        transform: none;
        box-shadow: none;
    }
}

/* ---------- responsive / mobile ---------- */
.container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
}

@media (max-width: 991.98px) {
    .hero {
        padding: 4.5rem 0 5rem;
        background-position: center center;
    }
    .hero::before {
        background: linear-gradient(180deg, rgba(8, 11, 38, .9) 0%, rgba(8, 11, 38, .75) 55%, rgba(8, 11, 38, .5) 100%);
    }
    .hero::after {
        width: 200px;
        height: 200px;
        right: 5%;
        top: 10%;
    }
    .hero-title { font-size: clamp(2.1rem, 8vw, 2.8rem); }
    .hero-sub { font-size: 1rem; max-width: none; }
    .hero-actions .btn { width: 100%; }
    .page-hero { padding: 2.75rem 0 3rem; }
    .page-hero-title { font-size: clamp(1.75rem, 6.5vw, 2.4rem); }
    .page-hero-sub { font-size: .98rem; }
    .page-breadcrumb .breadcrumb {
        flex-wrap: wrap;
        row-gap: .25rem;
    }

    .header-topline { font-size: .72rem; }
    .header-nav {
        border-radius: var(--radius);
        padding: .5rem;
        margin-top: .5rem;
    }
    .header-nav .nav-link {
        padding: .7rem .85rem;
        font-size: .95rem;
    }
    .header-nav .nav-link::after { display: none; }
    .navbar-collapse {
        padding: .5rem 0 1rem;
        max-height: calc(100dvh - 7rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .navbar .dropdown-menu-responsive {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: 1px solid var(--border) !important;
        margin: 0 0 .5rem;
        max-height: 220px;
        overflow-y: auto;
        width: 100%;
    }
    .navbar .dropdown-item {
        padding: .65rem 1rem;
        white-space: normal;
    }
    .navbar-cta,
    .header-cta-inner { width: 100%; }
    .btn-header-gold { width: 100%; justify-content: flex-start; }
    .btn-header-navy,
    .btn-header-ghost { width: 100%; }

    .mobile-bottom-nav { display: flex; }
    body {
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
    }
    .back-to-top {
        right: max(14px, env(safe-area-inset-right));
        bottom: calc(4.75rem + env(safe-area-inset-bottom));
    }
    .site-footer {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }

    .section-cta-col {
        text-align: left !important;
    }
    .section-cta-col .btn {
        width: 100%;
    }

    .course-sidebar {
        position: static;
        top: auto;
        margin-top: .5rem;
    }
    .stats-section { padding: 3.25rem 0; }
    .stats-section .row > .col-lg-5 { margin-bottom: 1.5rem; }
    .cta-section { padding: 3.25rem 0; }
    .cta-action-btn { width: 100%; }
    .footer-links-col { justify-content: flex-start; }
    .footer-links { max-width: none; }
    .footer-bottom { text-align: center; }
    .footer-tagline { text-align: center; }

    .service-text { min-height: 0; }
    .testimonial-card .d-flex.align-items-center {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .testimonial-avatar { width: 48px !important; height: 48px !important; }
}

@media (max-width: 767.98px) {
    .py-5 { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
    .section-eyebrow {
        letter-spacing: .14em;
        font-size: .7rem;
    }
    .section-title { font-size: clamp(1.65rem, 6vw, 2rem); }
    .quick-icon {
        width: 58px;
        height: 58px;
        font-size: 1.45rem;
    }
    .quick-title { font-size: .92rem; }
    .about-img { border-width: 4px; }
    .article-card {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .article-img {
        width: 100%;
        height: 160px;
    }
    .course-footer {
        flex-direction: column;
        align-items: flex-start !important;
        gap: .75rem !important;
    }
    .course-details-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: .2rem;
    }
    .contact-form { padding: 1.25rem; }
    .contact-form .form-control,
    .contact-form .form-select {
        font-size: 16px;
        min-height: 48px;
    }
    .stat-label { font-size: .8rem; line-height: 1.35; }
}

@media (max-width: 575.98px) {
    .brand-text { font-size: 1.05rem; }
    .brand-text small { letter-spacing: .32em; font-size: .62rem; }
    .brand-logo { height: 72px; max-width: 160px; }
    .footer-brand-logo { height: 72px; max-width: 160px; }
    .hero { padding: 3.75rem 0 4.25rem; }
    .hero-eyebrow {
        letter-spacing: .1em;
        font-size: .68rem;
        line-height: 1.5;
    }
    .btn-hero {
        padding: .75rem 1.25rem;
        font-size: .95rem;
    }
    .back-to-top {
        right: max(14px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
        width: 44px;
        height: 44px;
    }
}

@media (hover: none) {
    .course-card:hover,
    .service-card:hover,
    .article-card:hover {
        transform: none;
    }
    .course-card:hover .course-card-img {
        transform: none;
    }
}
