/* ==============================================================
   Zenith Coaching Centre - main stylesheet
   Colours follow the official logo palette (see design brief).
   Screen-size adjustments live in responsive.css.
   ============================================================== */

:root {
    /* Brand colours */
    --navy: #102747;
    --navy-900: #0a1a31;
    --navy-700: #1b3a66;
    --gold: #d4a62f;
    --gold-600: #b98d1f;
    --gold-text: #8a6514;      /* gold that stays readable on light backgrounds */
    --gold-soft: #f6ecd2;
    --red: #d92323;
    --white: #ffffff;
    --ivory: #faf7ef;

    /* Neutrals */
    --ink: #1d2433;
    --muted: #586174;
    --border: #e9e3d3;
    --whatsapp: #25d366;

    /* Shape and depth */
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 8px rgba(16, 39, 71, 0.06);
    --shadow: 0 10px 30px rgba(16, 39, 71, 0.08);
    --shadow-lg: 0 22px 50px rgba(16, 39, 71, 0.16);
    --transition: 0.25s ease;

    /* Typography */
    --font-heading: "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* --------------------------------------------------------------
   Base
   -------------------------------------------------------------- */
html,
body {
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

a {
    color: var(--navy);
    text-decoration-color: rgba(212, 166, 47, 0.6);
    text-underline-offset: 3px;
    transition: color var(--transition);
}

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

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

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

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

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

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 2000;
    padding: 0.6rem 1rem;
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
    border-radius: 0 0 8px 8px;
}

.skip-link:focus {
    top: 0;
}

/* --------------------------------------------------------------
   Buttons
   -------------------------------------------------------------- */
.btn {
    font-weight: 600;
    border-radius: 999px;
    padding: 0.75rem 1.6rem;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

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

.btn i {
    margin-right: 0.35rem;
}

.btn-gold {
    --bs-btn-active-bg: #e0b544;
    --bs-btn-active-border-color: #e0b544;
    --bs-btn-active-color: var(--navy);
    background: var(--gold);
    border: 2px solid var(--gold);
    color: var(--navy);
}

.btn-gold:hover,
.btn-gold:focus-visible,
.btn-gold.active,
.btn-gold:active {
    background: #e0b544;
    border-color: #e0b544;
    color: var(--navy);
    box-shadow: 0 10px 24px rgba(212, 166, 47, 0.35);
}

.btn-navy {
    --bs-btn-active-bg: var(--navy-700);
    --bs-btn-active-border-color: var(--navy-700);
    --bs-btn-active-color: var(--white);
    background: var(--navy);
    border: 2px solid var(--navy);
    color: var(--white);
}

.btn-navy:hover,
.btn-navy:focus-visible {
    background: var(--navy-700);
    border-color: var(--navy-700);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(16, 39, 71, 0.25);
}

.btn-outline-white {
    --bs-btn-active-bg: var(--white);
    --bs-btn-active-border-color: var(--white);
    --bs-btn-active-color: var(--navy);
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: var(--white);
    background: transparent;
}

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

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

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

.btn-whatsapp {
    --bs-btn-active-bg: #0f7a40;
    --bs-btn-active-border-color: #0f7a40;
    --bs-btn-active-color: var(--white);
    background: #128c4a;
    border: 2px solid #128c4a;
    color: var(--white);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
    background: #0f7a40;
    border-color: #0f7a40;
    color: var(--white);
    box-shadow: 0 10px 24px rgba(18, 140, 74, 0.3);
}

/* --------------------------------------------------------------
   Top bar and navigation
   -------------------------------------------------------------- */
.topbar {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    padding: 0.45rem 0;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.topbar-item i {
    color: var(--gold);
}

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

.site-header {
    z-index: 1030;
    transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(10, 26, 49, 0.25);
}

.main-nav {
    background: var(--navy);
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(212, 166, 47, 0.25);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 1.5rem;
}

.brand-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(212, 166, 47, 0.7);
    transition: transform var(--transition);
}

.navbar-brand:hover .brand-logo {
    transform: rotate(-6deg) scale(1.04);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--white);
    letter-spacing: 0.02em;
}

.brand-sub {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
}

.main-nav .nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.8rem !important;
}

.main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.2rem;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--white);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    transform: scaleX(1);
}

.btn-nav {
    padding: 0.55rem 1.25rem;
    font-size: 0.92rem;
}

.navbar-toggler {
    border: 1px solid rgba(212, 166, 47, 0.6);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(212, 166, 47, 0.4);
}

/* --------------------------------------------------------------
   Hero (homepage)
   -------------------------------------------------------------- */
.hero {
    position: relative;
    color: var(--white);
    padding: 6rem 0 8.5rem;
    background:
        radial-gradient(circle at 82% 18%, rgba(212, 166, 47, 0.22), transparent 42%),
        radial-gradient(circle at 6% 92%, rgba(217, 35, 35, 0.14), transparent 38%),
        linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-700) 100%);
    overflow: hidden;
    isolation: isolate;
}

/* Subtle grid pattern */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(212, 166, 47, 0.12);
    border: 1px solid rgba(212, 166, 47, 0.45);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-title {
    color: var(--white);
    font-size: clamp(2.5rem, 4.5vw + 1rem, 4.4rem);
    font-weight: 800;
    line-height: 1.06;
    margin: 1.4rem 0 1.25rem;
}

.hero-title .text-gold {
    display: inline-block;
    position: relative;
}

.hero-title .text-gold::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.05em;
    height: 0.12em;
    background: linear-gradient(90deg, var(--gold), transparent);
    border-radius: 4px;
    opacity: 0.6;
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-courses {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero-courses li a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition);
}

.hero-courses li a:hover {
    background: rgba(212, 166, 47, 0.16);
    border-color: var(--gold);
    color: var(--white);
}

.hero-courses li a i {
    color: var(--gold);
}

.hero-visual {
    position: relative;
    width: min(420px, 100%);
    margin: 0 auto;
    aspect-ratio: 1;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: -22px;
    border-radius: 50%;
    border: 2px dashed rgba(212, 166, 47, 0.35);
    animation: spin 60s linear infinite;
}

.hero-ring {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 12px;
    background: conic-gradient(from 140deg, #f3d27a, var(--gold), #8a6514, var(--gold), #f3d27a);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 12px rgba(255, 255, 255, 0.04);
}

.hero-ring img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--white);
}

.hero-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
    background: var(--white);
    color: var(--navy);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    font-size: 0.85rem;
    line-height: 1.25;
    animation: float 6s ease-in-out infinite;
}

.hero-badge strong {
    display: block;
    font-size: 0.95rem;
}

.hero-badge small {
    color: var(--muted);
}

.hero-badge .badge-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--navy);
    color: var(--gold);
    font-size: 1.1rem;
}

.hero-badge-1 {
    top: 8%;
    left: -12%;
}

.hero-badge-2 {
    bottom: 8%;
    right: -10%;
    animation-delay: -3s;
}

.hero-curve {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    line-height: 0;
}

.hero-curve svg {
    width: 100%;
    height: 70px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------
   Inner page banner
   -------------------------------------------------------------- */
.page-banner {
    position: relative;
    padding: 4.5rem 0 4rem;
    color: var(--white);
    background:
        radial-gradient(circle at 85% 30%, rgba(212, 166, 47, 0.12), transparent 40%),
        linear-gradient(135deg, var(--navy-900), var(--navy) 60%, var(--navy-700));
    overflow: hidden;
}

.page-banner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--red) 70%, var(--gold));
}

.page-banner h1 {
    color: var(--white);
    font-size: clamp(2rem, 3vw + 1rem, 3.1rem);
    margin: 0.75rem 0 0.75rem;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    font-size: 1.08rem;
    margin-bottom: 0;
}

.page-banner .breadcrumb {
    margin: 0;
    font-size: 0.88rem;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.page-banner .breadcrumb-item a {
    color: var(--gold);
    text-decoration: none;
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------
   Sections
   -------------------------------------------------------------- */
.section {
    padding: 5.5rem 0;
}

.section-ivory {
    background: var(--ivory);
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 3.25rem;
    text-align: center;
}

.section-heading.text-start {
    margin-left: 0;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--gold-text);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.75rem;
}

.section-eyebrow::before,
.section-heading:not(.text-start) .section-eyebrow::after {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.85rem, 2.2vw + 1rem, 2.75rem);
    margin-bottom: 1rem;
}

.section-lead {
    color: var(--muted);
    font-size: 1.08rem;
    margin-bottom: 0;
}

/* --------------------------------------------------------------
   Course cards
   -------------------------------------------------------------- */
.course-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.course-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 166, 47, 0.45);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    flex: 0 0 auto;
    border-radius: 16px;
    background: var(--navy);
    color: var(--gold);
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
    transition: transform var(--transition), background var(--transition), color var(--transition);
}

.course-card:hover .icon-box {
    background: var(--gold);
    color: var(--navy);
    transform: rotate(-6deg);
}

.course-card h3 {
    font-size: 1.55rem;
    margin-bottom: 0.2rem;
}

.course-subtitle {
    display: block;
    color: var(--gold-text);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.9rem;
}

.course-card p {
    color: var(--muted);
    flex-grow: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
}

.card-link i {
    color: var(--gold-600);
    transition: transform var(--transition);
}

.card-link:hover {
    color: var(--navy);
}

.card-link:hover i {
    transform: translateX(4px);
}

/* Detailed course card (courses page) */
.course-detail {
    padding: 2.25rem;
    scroll-margin-top: 110px;
}

.course-detail .course-head {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 1.1rem;
}

.course-detail .course-head .icon-box {
    margin-bottom: 0;
}

.course-facts {
    list-style: none;
    padding: 1rem 1.25rem;
    margin: 0.5rem 0 1.5rem;
    background: var(--ivory);
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(212, 166, 47, 0.55);
}

.course-facts li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    font-size: 0.94rem;
}

.course-facts li + li {
    border-top: 1px solid var(--border);
}

.course-facts .fact-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--navy);
}

.course-facts .fact-label i {
    color: var(--gold-600);
}

.course-facts .fact-value {
    color: var(--muted);
    text-align: right;
}

/* --------------------------------------------------------------
   Feature / strength tiles
   -------------------------------------------------------------- */
.feature-tile {
    height: 100%;
    padding: 2rem 1.6rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--navy);
    font-size: 1.75rem;
    box-shadow: inset 0 0 0 2px rgba(212, 166, 47, 0.5);
}

.feature-tile h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.feature-tile p {
    color: var(--muted);
    margin-bottom: 0;
    font-size: 0.97rem;
}

/* --------------------------------------------------------------
   Facility cards and photo placeholders
   -------------------------------------------------------------- */
.facility-card {
    height: 100%;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.facility-card .card-body {
    padding: 1.5rem 1.5rem 1.75rem;
}

.facility-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.facility-card p {
    color: var(--muted);
    margin-bottom: 0;
    font-size: 0.97rem;
}

.media-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ivory);
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-card:hover .media-frame img {
    transform: scale(1.05);
}

.media-placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    aspect-ratio: 4 / 3;
    color: rgba(255, 255, 255, 0.75);
    background:
        radial-gradient(circle at 75% 20%, rgba(212, 166, 47, 0.25), transparent 50%),
        linear-gradient(135deg, var(--navy), var(--navy-700));
    text-align: center;
    padding: 1rem;
}

.media-placeholder i {
    font-size: 3rem;
    color: var(--gold);
}

.media-placeholder span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(217, 35, 35, 0.08);
    color: #b51b1b;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Hostel highlight */
.hostel-box {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hostel-box .hostel-content {
    padding: 2.5rem;
}

.hostel-box .media-placeholder {
    height: 100%;
    min-height: 260px;
    aspect-ratio: auto;
}

/* --------------------------------------------------------------
   About page
   -------------------------------------------------------------- */
.about-visual {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}

.about-visual img {
    display: block;
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 10px var(--white), 0 0 0 12px rgba(212, 166, 47, 0.5), var(--shadow-lg);
}

.about-visual .quote-card {
    position: absolute;
    right: -8%;
    bottom: 2%;
    max-width: 240px;
    padding: 1rem 1.25rem;
    background: var(--navy);
    color: var(--white);
    border-radius: 14px;
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow-lg);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1.35;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
}

.check-list li i {
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: var(--gold-600);
    font-size: 1.15rem;
}

.commitment-box {
    padding: 2.5rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 5px solid var(--gold);
    box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------
   Call to action band
   -------------------------------------------------------------- */
.cta-band {
    position: relative;
    padding: 3rem;
    border-radius: 24px;
    color: var(--white);
    background:
        radial-gradient(circle at 90% 10%, rgba(212, 166, 47, 0.3), transparent 45%),
        linear-gradient(135deg, var(--navy), var(--navy-700));
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.cta-band h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 1.8vw + 1rem, 2.3rem);
    margin-bottom: 0.6rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.9rem;
}

/* --------------------------------------------------------------
   Contact
   -------------------------------------------------------------- */
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.contact-card + .contact-card {
    margin-top: 1rem;
}

.contact-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.contact-card .icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    border-radius: 14px;
    margin: 0;
}

.contact-card h3 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-text);
    margin-bottom: 0.3rem;
}

.contact-card p,
.contact-card a {
    margin: 0;
    color: var(--ink);
    font-weight: 500;
}

.contact-card a {
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--gold-text);
}

.map-frame {
    height: 100%;
    min-height: 360px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: var(--ivory);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}

.note-text {
    font-size: 0.85rem;
    color: var(--muted);
}

/* --------------------------------------------------------------
   Enquiry / registration form
   -------------------------------------------------------------- */
.enquiry-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.enquiry-info {
    height: 100%;
    padding: 3rem 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    background:
        radial-gradient(circle at 10% 0%, rgba(212, 166, 47, 0.14), transparent 45%),
        linear-gradient(160deg, var(--navy), var(--navy-900));
}

.enquiry-info h2 {
    color: var(--white);
    font-size: clamp(1.7rem, 1.5vw + 1rem, 2.2rem);
}

.enquiry-info .section-eyebrow {
    color: var(--gold);
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    counter-reset: step;
}

.steps-list li {
    position: relative;
    padding-left: 3.1rem;
    margin-bottom: 1.35rem;
    counter-increment: step;
}

.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
}

.steps-list strong {
    display: block;
    color: var(--white);
}

.enquiry-contact a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.enquiry-contact a i {
    color: var(--gold);
}

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

.form-card {
    padding: 3rem 2.75rem;
}

.form-card h2 {
    font-size: 1.7rem;
}

.form-label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
}

.required {
    color: var(--red);
    margin-left: 2px;
}

.form-control,
.form-select {
    border: 1.5px solid #dcd5c3;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.98rem;
    color: var(--ink);
    background-color: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control::placeholder {
    color: #9097a4;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(212, 166, 47, 0.22);
}

.input-icon {
    position: relative;
}

.input-icon > i {
    position: absolute;
    left: 1rem;
    top: 0.85rem;
    color: #9097a4;
    pointer-events: none;
    transition: color var(--transition);
}

.input-icon .form-control,
.input-icon .form-select {
    padding-left: 2.75rem;
}

.input-icon:focus-within > i {
    color: var(--gold-600);
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
    border: 1.5px solid #c9c1ab;
}

.form-check-input:checked {
    background-color: var(--navy);
    border-color: var(--navy);
}

.form-check-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(212, 166, 47, 0.22);
}

.form-check-label {
    font-size: 0.92rem;
    color: var(--muted);
}

.char-count {
    font-size: 0.8rem;
    color: var(--muted);
}

.invalid-feedback {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Honeypot field - hidden from people, visible to spam bots */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.btn-submit {
    width: 100%;
    padding: 0.95rem 1.5rem;
    font-size: 1.02rem;
}

.form-privacy-note {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 1rem 0 0;
    text-align: center;
}

/* --------------------------------------------------------------
   Gallery
   -------------------------------------------------------------- */
.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--ivory);
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item .gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem 1rem 0.85rem;
    background: linear-gradient(transparent, rgba(10, 26, 49, 0.85));
    color: var(--white);
    font-weight: 600;
    font-size: 0.92rem;
    text-align: left;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    transform: scale(1.06);
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.lightbox .modal-content {
    background: transparent;
    border: 0;
}

.lightbox img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox .btn-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 0.75rem;
}

.empty-state {
    max-width: 620px;
    margin: 0 auto;
    padding: 3.5rem 2rem;
    text-align: center;
    background: var(--white);
    border: 2px dashed rgba(212, 166, 47, 0.5);
    border-radius: 24px;
}

.empty-state .feature-icon {
    width: 84px;
    height: 84px;
    font-size: 2.1rem;
}

.empty-state h2 {
    font-size: 1.7rem;
}

.empty-state p {
    color: var(--muted);
}

/* --------------------------------------------------------------
   Success page
   -------------------------------------------------------------- */
.success-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
    background: var(--white);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.success-icon {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: #e8f6ee;
    color: #157a43;
    font-size: 3rem;
    animation: pop 0.5s ease;
}

.reference-box {
    display: inline-block;
    margin: 1.25rem 0 1.75rem;
    padding: 1rem 2rem;
    border: 2px dashed var(--gold);
    border-radius: var(--radius-sm);
    background: var(--ivory);
}

.reference-box small {
    display: block;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 600;
}

.reference-box strong {
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: 1.75rem;
    letter-spacing: 0.04em;
}

.summary-list {
    max-width: 460px;
    margin: 0 auto 2rem;
    padding: 0;
    list-style: none;
    text-align: left;
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
}

.summary-list span {
    color: var(--muted);
}

.summary-list strong {
    color: var(--navy);
    text-align: right;
    word-break: break-word;
}

@keyframes pop {
    0% { transform: scale(0.6); opacity: 0; }
    70% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}

/* --------------------------------------------------------------
   Policy page and 404
   -------------------------------------------------------------- */
.prose {
    max-width: 820px;
    margin: 0 auto;
}

.prose h2 {
    font-size: 1.5rem;
    margin: 2.25rem 0 0.75rem;
}

.prose p,
.prose li {
    color: #3a4252;
}

.error-code {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 18vw, 10rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--gold), var(--gold-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --------------------------------------------------------------
   Footer
   -------------------------------------------------------------- */
.site-footer {
    position: relative;
    padding: 4.5rem 0 0;
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy-700), var(--gold), var(--navy-700));
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    margin-bottom: 1.1rem;
}

.footer-brand img {
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(212, 166, 47, 0.7);
}

.footer-brand strong {
    display: block;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.footer-brand small {
    color: var(--gold);
    font-size: 0.8rem;
}

.footer-tagline {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.footer-title {
    font-family: var(--font-body);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1.25rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

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

.footer-links a {
    display: inline-block;
    transition: color var(--transition), transform var(--transition);
}

.footer-links a:hover {
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.footer-contact i {
    color: var(--gold);
    margin-top: 0.15rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 3.5rem;
    padding: 1.4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.88rem;
}

/* --------------------------------------------------------------
   Floating buttons
   -------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition);
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--whatsapp);
    animation: pulse 2.4s ease-out infinite;
}

.whatsapp-float:hover {
    color: var(--white);
    transform: scale(1.08);
}

.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 92px;
    z-index: 1040;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--navy);
}

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

/* --------------------------------------------------------------
   Scroll reveal (only when JavaScript is available)
   -------------------------------------------------------------- */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* SweetAlert2 brand touches */
.swal2-popup {
    font-family: var(--font-body);
    border-radius: 20px !important;
}

.swal2-title {
    font-family: var(--font-heading);
    color: var(--navy) !important;
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
