
/* ==============================
   Royal Jewels Academy
   Main stylesheet
   ============================== */

:root {
    --royal-navy: #172554;
    --royal-blue: #1e3a8a;
    --royal-gold: #d4a017;
    --light-gold: #facc15;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --text-dark: #243047;
    --text-muted: #64748b;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    color: var(--text-dark);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

/* Top contact bar */

.top-bar {
    padding: 9px 0;
    background: var(--royal-gold);
    color: var(--royal-navy);
    font-size: 13px;
    font-weight: 600;
}

/* Navigation */

.main-navbar {
    background: var(--royal-navy);
    padding: 12px 0;
}

.school-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.navbar-brand {
    color: var(--white);
    font-size: 15px;
}

.navbar-brand small {
    color: var(--light-gold);
    font-size: 12px;
}

.main-navbar .nav-link {
    color: var(--white);
    padding: 12px 10px !important;
    font-size: 14px;
}

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

.dropdown-menu {
    border: 0;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 10px 25px rgb(0 0 0 / 12%);
}

.dropdown-item {
    padding: 9px 12px;
    border-radius: 5px;
}

.dropdown-item:hover {
    background: #fef3c7;
    color: var(--royal-navy);
}

.btn-gold {
    background: var(--royal-gold);
    color: var(--royal-navy);
    border: 1px solid var(--royal-gold);
    font-weight: 700;
    padding: 11px 20px;
}

.btn-gold:hover {
    background: var(--light-gold);
    border-color: var(--light-gold);
    color: var(--royal-navy);
}

.btn-navy {
    background: var(--royal-navy);
    color: var(--white);
    padding: 11px 22px;
}

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

/* Hero banner */

.hero-section {
    background:
        linear-gradient(
            90deg,
            rgb(15 23 42 / 88%),
            rgb(15 23 42 / 45%)
        ),
        url("../images/school-banner.jpg") center/cover no-repeat;
}

.hero-overlay {
    color: var(--white);
    background: linear-gradient(
        90deg,
        rgba(10, 20, 50, 0.88) 0%,
        rgba(10, 20, 50, 0.65) 55%,
        rgba(10, 20, 50, 0.25) 100%
    );
}


.min-vh-75 {
    min-height: 75vh;
}

.hero-content {
    padding-top: 90px;
    padding-bottom: 90px;
}

.hero-label,
.section-label {
    color: var(--royal-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-content h1 {
    margin: 20px 0;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.15;
}

.hero-content p {
    max-width: 650px;
    margin-bottom: 28px;
    color: #f1f5f9;
    font-size: 18px;
}

/* General sections */

.section-padding {
    padding: 85px 0;
}

.section-title {
    margin: 12px 0 18px;
    color: var(--royal-navy);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.25;
}

.section-description {
    color: var(--text-muted);
}

.welcome-image img {
    width: 100%;
    min-height: 340px;
    max-height: 450px;
    object-fit: cover;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

/* Academic programmes */

.programme-card {
    height: 100%;
    padding: 28px 18px;
    background: var(--white);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 22px rgb(15 23 42 / 6%);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.programme-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgb(15 23 42 / 12%);
}

.programme-card i {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--royal-gold);
    font-size: 38px;
}

.programme-card h3 {
    color: var(--royal-navy);
    font-size: 19px;
    font-weight: 700;
}

.programme-card p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 14px;
}

/* Inner Page Banner */
.inner-page-banner {
    padding: 80px 0;
    background: var(--royal-navy);
    color: var(--white);
}

.inner-page-banner h1 {
    margin: 15px 0 20px;
    color: var(--white);
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 800;
}

.inner-page-banner .breadcrumb {
    margin-bottom: 0;
    justify-content: center;
}

.inner-page-banner .breadcrumb-item,
.inner-page-banner .breadcrumb-item.active {
    color: var(--white);
}

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

.inner-page-banner .breadcrumb-item a:hover {
    color: var(--white);
    text-decoration: underline;
}

.inner-page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: var(--white);
}

/* Vision and mission */

.statement-card {
    height: 100%;
    padding: 35px;
    background: var(--light-bg);
    border-left: 5px solid var(--royal-gold);
    border-radius: 10px;
}

.statement-card i {
    color: var(--royal-gold);
    font-size: 35px;
}

.statement-card h2 {
    margin: 15px 0;
    color: var(--royal-navy);
    font-size: 25px;
    font-weight: 800;
}

/* Admissions call to action */

.cta-section {
    padding: 75px 20px;
    background: var(--royal-navy);
    color: var(--white);
}

.cta-section h2 {
    font-size: clamp(27px, 4vw, 40px);
    font-weight: 800;
}

.cta-section p {
    margin: 18px auto 25px;
    color: #e2e8f0;
}


/* School Gallery */
.school-gallery-card {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--light-bg);
    box-shadow: 0 5px 20px rgb(15 23 42 / 8%);
}

.school-gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.school-gallery-card:hover img {
    transform: scale(1.05);
}

.school-gallery-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 25px 18px 15px;
    color: var(--white);
    background: linear-gradient(
        to top,
        rgb(15 23 42 / 90%),
        transparent
    );
}

.school-gallery-caption h3 {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 700;
}

.school-gallery-caption p {
    margin-bottom: 0;
    font-size: 14px;
}

/* Gallery on smaller screens */
@media (max-width: 767.98px) {
    .school-gallery-card {
        height: 240px;
    }
}

/* Footer */

.site-footer {
    padding: 65px 0 20px;
    background: #0b1228;
    color: #cbd5e1;
}

.site-footer h3,
.site-footer h5 {
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
}

.site-footer strong {
    color: var(--light-gold);
}

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

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a,
.site-footer a {
    color: #cbd5e1;
}

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

.site-footer hr {
    margin: 35px 0 20px;
    border-color: #334155;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 13px;
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* Tablet and mobile */

@media (max-width: 991.98px) {
    .main-navbar .navbar-collapse {
        padding-top: 18px;
    }

    .main-navbar .nav-link {
        padding: 10px 0 !important;
    }

    .main-navbar .nav-item.ms-lg-3 {
        margin: 12px 0;
    }

    .hero-content {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .min-vh-75 {
        min-height: 60vh;
    }
}

@media (max-width: 767.98px) {
    .top-bar {
        text-align: center;
    }

    .top-bar .col-md-4 {
        margin-top: 5px;
    }

    .school-logo {
        width: 45px;
        height: 45px;
    }

    .navbar-brand {
        font-size: 12px;
    }

    .navbar-brand small {
        font-size: 11px;
    }

    .hero-content {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .welcome-image img {
        min-height: 250px;
    }

    .statement-card {
        padding: 25px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
/* ========================================
   NEWS AND EVENTS PAGE
======================================== */

.news-banner {
    position: relative;
}

.news-intro {
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.8;
}

.news-list-section {
    background-color: #f7f8fb;
}

.news-card {
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #e6e8ed;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
}

.news-card-image {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 25px;
    text-align: center;
}

.news-placeholder {
    color: #ffffff;
    background: linear-gradient(135deg, #10264f, #244b82);
}

.news-placeholder i {
    color: #f2c14e;
    font-size: 3rem;
}

.news-placeholder span {
    font-weight: 600;
    letter-spacing: 0.4px;
}

.news-card-body {
    padding: 25px;
}

.news-category {
    display: inline-block;
    margin-bottom: 12px;
    color: #9a7200;
    font-size: 0.85rem;
    font-weight: 700;
}

.news-card-body h3 {
    margin-bottom: 12px;
    color: #10264f;
    font-size: 1.25rem;
    font-weight: 700;
}

.news-card-body p {
    color: #626b78;
    line-height: 1.75;
}

.news-read-more {
    display: inline-block;
    margin-top: 8px;
    color: #10264f;
    font-weight: 700;
    text-decoration: none;
}

.news-read-more:hover {
    color: #b58a16;
}

.news-events-section {
    background-color: #ffffff;
}

.news-events-panel {
    padding: 30px;
    background-color: #f7f8fb;
    border-radius: 12px;
    border: 1px solid #e6e8ed;
}

.news-event-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid #e0e4eb;
}

.news-event-item:first-child {
    padding-top: 0;
}

.news-event-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.news-event-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10264f;
    background-color: #f5d66e;
    border-radius: 50%;
    font-size: 1.35rem;
}

.news-event-item h3 {
    margin-bottom: 8px;
    color: #10264f;
    font-size: 1.1rem;
    font-weight: 700;
}

.news-event-item p {
    margin-bottom: 0;
    color: #626b78;
    line-height: 1.7;
}

.news-cta-section {
    padding: 65px 0;
    color: #ffffff;
    background-color: #10264f;
}

.news-cta-section h2 {
    margin-bottom: 15px;
    font-weight: 700;
}

.news-cta-section p {
    margin-bottom: 0;
    color: #e3e8f1;
    line-height: 1.8;
}

.news-cta-section .section-eyebrow {
    color: #f2c14e;
}

@media (max-width: 767.98px) {
    .news-card-image {
        min-height: 170px;
    }

    .news-card-body {
        padding: 20px;
    }

    .news-events-panel {
        padding: 22px;
    }

    .news-cta-section {
        padding: 45px 0;
    }
}
/* ========================================
   CONTACT PAGE
======================================== */

.contact-banner {
    position: relative;
}

.contact-info-card {
    padding: 30px 24px;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #e6e8ed;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #10264f;
    background-color: #f5d66e;
    border-radius: 50%;
    font-size: 1.6rem;
}

.contact-info-card h3 {
    margin-bottom: 12px;
    color: #10264f;
    font-size: 1.2rem;
    font-weight: 700;
}

.contact-info-card p {
    color: #626b78;
    line-height: 1.7;
}

.contact-info-card a,
.contact-info-card > span {
    color: #10264f;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-info-card a:hover {
    color: #b58a16;
}

.contact-main-section {
    background-color: #f7f8fb;
}

.contact-form-card {
    padding: 35px;
    background-color: #ffffff;
    border: 1px solid #e6e8ed;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.contact-form-intro {
    margin-bottom: 25px;
    color: #626b78;
    line-height: 1.75;
}

.contact-form-card .form-label {
    color: #10264f;
    font-weight: 600;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    min-height: 48px;
    border-color: #d9dee7;
    border-radius: 7px;
}

.contact-form-card textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: #b58a16;
    box-shadow: 0 0 0 0.2rem rgba(181, 138, 22, 0.15);
}

.contact-form-note {
    margin-top: 15px;
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.88rem;
    line-height: 1.6;
}

.contact-details-panel {
    padding: 35px;
    color: #ffffff;
    background-color: #10264f;
    border-radius: 12px;
}

.contact-details-panel .section-eyebrow {
    color: #f2c14e;
}

.contact-details-panel > h2 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
}

.contact-details-panel > p {
    margin-bottom: 30px;
    color: #e3e8f1;
    line-height: 1.8;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 25px;
}

.contact-detail-item > i {
    flex: 0 0 24px;
    color: #f2c14e;
    font-size: 1.35rem;
}

.contact-detail-item h3 {
    margin-bottom: 7px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.contact-detail-item p {
    margin-bottom: 0;
    color: #e3e8f1;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.contact-detail-item a {
    color: #ffffff;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-detail-item a:hover {
    color: #f2c14e;
}

.contact-map-placeholder {
    margin-top: 30px;
    padding: 25px;
    color: #10264f;
    text-align: center;
    background-color: #ffffff;
    border-radius: 10px;
}

.contact-map-placeholder > i {
    color: #b58a16;
    font-size: 2.2rem;
}

.contact-map-placeholder h3 {
    margin-top: 12px;
    font-size: 1.2rem;
    font-weight: 700;
}

.contact-map-placeholder p {
    color: #626b78;
    line-height: 1.7;
}

.contact-map-placeholder .btn {
    white-space: normal;
}

.contact-map-placeholder small {
    display: block;
    margin-top: 14px;
    color: #6c757d;
    line-height: 1.5;
}

.contact-cta-section {
    padding: 65px 0;
    color: #ffffff;
    background-color: #10264f;
}

.contact-cta-section h2 {
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-cta-section p {
    margin-bottom: 0;
    color: #e3e8f1;
    line-height: 1.8;
}

.contact-cta-section .section-eyebrow {
    color: #f2c14e;
}

@media (max-width: 767.98px) {
    .contact-form-card,
    .contact-details-panel {
        padding: 24px;
    }

    .contact-cta-section {
        padding: 45px 0;
    }
}


/* =========================================
   ROYAL JEWELS ACADEMY
   GLOBAL THEME ENHANCEMENTS
   ========================================= */

/* 1. Refined global appearance */
:root {
    --theme-border: #e2e8f0;
    --theme-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
    --theme-shadow-hover: 0 16px 35px rgba(15, 23, 42, 0.12);
    --theme-radius: 14px;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

/* 2. Consistent headings and text */
h1, h2, h3, h4, h5, h6 {
    color: var(--royal-navy);
    font-weight: 700;
    line-height: 1.3;
}

p {
    color: inherit;
}

.section-title {
    letter-spacing: -0.6px;
}

.section-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #a87900;
    text-transform: uppercase;
}

.section-description {
    max-width: 760px;
    line-height: 1.85;
}

/* 3. Consistent section spacing */
.section-padding {
    padding-top: 90px;
    padding-bottom: 90px;
}

section {
    scroll-margin-top: 90px;
}

/* 4. Improved buttons */
.btn,
.btn-gold,
.btn-navy {
    border-radius: 7px;
    font-weight: 700;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

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

.btn-gold:hover {
    background-color: var(--light-gold);
    border-color: var(--light-gold);
    color: var(--royal-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 160, 23, 0.22);
}

.btn-navy {
    background-color: var(--royal-navy);
    border: 1px solid var(--royal-navy);
    color: var(--white);
}

.btn-navy:hover {
    background-color: var(--royal-blue);
    border-color: var(--royal-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(23, 37, 84, 0.2);
}

.btn:focus-visible,
a:focus-visible {
    outline: 3px solid var(--light-gold);
    outline-offset: 3px;
}

/* 5. Refined navigation */
.main-navbar {
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
}

.main-navbar .nav-link {
    font-weight: 600;
    transition: color 0.2s ease;
}

.dropdown-menu {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    box-shadow: var(--theme-shadow-hover);
}

/* 6. Consistent cards */
.programme-card,
.statement-card,
.news-card,
.contact-info-card,
.contact-form-card,
.news-events-panel {
    border-radius: var(--theme-radius);
}

.programme-card,
.news-card,
.contact-info-card {
    border: 1px solid var(--theme-border);
    box-shadow: var(--theme-shadow);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.programme-card:hover,
.news-card:hover,
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--theme-shadow-hover);
}

/* 7. Consistent school colours on News page */
.news-placeholder {
    background: linear-gradient(
        135deg,
        var(--royal-navy),
        var(--royal-blue)
    );
}

.news-placeholder i {
    color: var(--light-gold);
}

.news-category {
    color: #987000;
}

.news-card-body h3,
.news-read-more,
.news-event-item h3 {
    color: var(--royal-navy);
}

.news-read-more:hover {
    color: #987000;
}

.news-event-icon {
    color: var(--royal-navy);
    background-color: #fef0bd;
}

.news-cta-section {
    background-color: var(--royal-navy);
}

.news-cta-section .section-eyebrow {
    color: var(--light-gold);
}

/* 8. Consistent school colours on Contact page */
.contact-info-icon {
    color: var(--royal-navy);
    background-color: #fef0bd;
}

.contact-info-card h3,
.contact-info-card a,
.contact-info-card > span {
    color: var(--royal-navy);
}

.contact-info-card a:hover {
    color: #987000;
}

.contact-details-panel,
.contact-cta-section {
    background-color: var(--royal-navy);
}

.contact-details-panel .section-eyebrow,
.contact-cta-section .section-eyebrow {
    color: var(--light-gold);
}

.contact-map-placeholder > i {
    color: #987000;
}

/* 9. Improved form controls */
.form-control,
.form-select {
    border-radius: 8px;
    border-color: #d7dee9;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--royal-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 160, 23, 0.16);
}

/* 10. Refined footer */
.site-footer {
    background-color: #0b1228;
}

.site-footer a {
    transition: color 0.2s ease;
}

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

/* 11. Responsive improvements */
@media (max-width: 991.98px) {
    .section-padding {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 15px;
    }

    .section-padding {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .section-title {
        font-size: clamp(26px, 7vw, 34px);
    }

    .section-description {
        font-size: 14px;
    }

    .programme-card {
        padding: 25px 16px;
    }

    .contact-form-card,
    .contact-details-panel {
        padding: 22px;
    }

    .news-events-panel {
        padding: 20px;
    }

    .cta-section {
        padding: 55px 18px;
    }

    .btn,
    .btn-gold,
    .btn-navy {
        max-width: 100%;
    }
}

/* 12. Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Footer School Branding */
.footer-school-brand {
    max-width: 340px;
}

.footer-school-logo {
    display: block;
    width: 85px;
    height: 85px;
    object-fit: contain;
    margin-bottom: 18px;
    padding: 5px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.footer-school-brand h3 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 21px;
    font-weight: 800;
}

.footer-school-brand p {
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-school-brand strong {
    color: var(--light-gold);
    display: inline-block;
    margin-top: 5px;
}

@media (max-width: 991.98px) {
    .footer-school-brand {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .footer-school-logo {
        width: 75px;
        height: 75px;
    }
}

/* Hero Text Visibility Enhancement */
.hero-content h1 {
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.85);
    margin-bottom: 22px;
}

.hero-content p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.9);
    max-width: 650px;
}

.hero-content .hero-label {
    display: inline-block;
    color: #facc15;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.9);
    margin-bottom: 18px;
}

/* Navigation Bar - Enhanced Separation */
.main-navbar {
    background: #101b3a;
    border-bottom: 3px solid var(--royal-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1000;
}

.main-navbar .nav-link {
    color: #ffffff;
    transition: color 0.3s ease;
}

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


/* School Gallery Carousel */
.school-gallery-carousel {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    background: var(--royal-navy);
}

.school-gallery-carousel-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
}

.school-gallery-carousel .carousel-item {
    position: relative;
}

.school-gallery-carousel .carousel-item::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(10, 20, 50, 0.85)
    );
}

.school-gallery-carousel .carousel-caption {
    z-index: 2;
    bottom: 35px;
}

.school-gallery-carousel .carousel-caption h3 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.7);
}

.school-gallery-carousel .carousel-caption p {
    color: #ffffff;
    font-size: 1rem;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.8);
}

.school-gallery-carousel .carousel-indicators {
    z-index: 3;
}

.school-gallery-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.school-gallery-carousel .carousel-control-prev,
.school-gallery-carousel .carousel-control-next {
    z-index: 3;
    width: 10%;
}

@media (max-width: 767.98px) {
    .school-gallery-carousel-img {
        height: 350px;
    }

    .school-gallery-carousel .carousel-caption {
        bottom: 25px;
    }

    .school-gallery-carousel .carousel-caption h3 {
        font-size: 1.3rem;
    }

    .school-gallery-carousel .carousel-caption p {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .school-gallery-carousel-img {
        height: 280px;
    }

    .school-gallery-carousel .carousel-caption {
        bottom: 20px;
    }
}


/* Interactive School Gallery */
.school-gallery-card img {
    cursor: pointer;
    transition: transform 0.4s ease;
}

.school-gallery-card:hover img {
    transform: scale(1.05);
}

.school-gallery-card img:focus-visible {
    outline: 4px solid var(--royal-gold);
    outline-offset: 4px;
}

/* Gallery Lightbox */
.school-gallery-modal .modal-content {
    background: #101b3a;
    border: 2px solid var(--royal-gold);
    border-radius: 14px;
    overflow: hidden;
}

.school-gallery-modal .modal-header {
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.school-gallery-modal .modal-title {
    color: #ffffff;
    font-weight: 700;
}

.school-gallery-modal .carousel-item img {
    width: 100%;
    height: 70vh;
    max-height: 650px;
    object-fit: contain;
    background: #080e20;
}

.school-gallery-modal .carousel-caption {
    background: linear-gradient(
        transparent,
        rgba(10, 20, 50, 0.9)
    );
    left: 0;
    right: 0;
    bottom: 0;
    padding: 45px 15px 20px;
}

.school-gallery-modal .carousel-caption h5 {
    color: #ffffff;
    font-weight: 800;
}

.school-gallery-modal .carousel-caption p {
    color: #facc15;
}

.school-gallery-modal .carousel-control-prev,
.school-gallery-modal .carousel-control-next {
    width: 12%;
}

@media (max-width: 767.98px) {

    .school-gallery-modal .carousel-item img {
        height: 55vh;
    }

    .school-gallery-modal .carousel-caption {
        padding: 35px 10px 15px;
    }

}

.main-navbar .navbar-nav .nav-link {
    white-space: nowrap;
}

.main-navbar .navbar-brand {
    flex-shrink: 0;
}

/* =========================================================
   ROYAL JEWELS ACADEMY â€“ ADMISSIONS PAGE ENHANCEMENTS
   Add this block at the END of css/style.css
   ========================================================= */

.admission-page .admission-enquiry-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.admission-page .admission-enquiry-section::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    top: -180px;
    right: -120px;
    border-radius: 50%;
    background: rgba(224, 174, 45, 0.09);
    pointer-events: none;
}

.admission-page .admission-enquiry-section > .container {
    position: relative;
    z-index: 1;
}

.admission-page .admission-enquiry-section .section-title {
    margin-bottom: 1rem;
}

.admission-page .admission-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.1rem;
    margin: 1rem 0;
    background: #fff;
    border: 1px solid rgba(16, 39, 76, 0.08);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(16, 39, 76, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.admission-page .admission-contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 39, 76, 0.09);
}

.admission-page .admission-contact-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #10274c;
    background: rgba(224, 174, 45, 0.18);
    border-radius: 12px;
    font-size: 1.15rem;
}

.admission-page .admission-contact-item h3 {
    margin: 0 0 0.25rem;
    color: #10274c;
    font-size: 1rem;
    font-weight: 700;
}

.admission-page .admission-contact-item p,
.admission-page .admission-contact-item a {
    margin: 0;
    overflow-wrap: anywhere;
}

.admission-page .admission-contact-item a {
    color: #263f68;
    font-weight: 600;
    text-decoration: none;
}

.admission-page .admission-contact-item a:hover {
    color: #bd8c13;
    text-decoration: underline;
}

.admission-page .admission-help-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    color: #34445f;
    background: rgba(224, 174, 45, 0.12);
    border-left: 4px solid #d7a629;
    border-radius: 8px;
}

.admission-page .admission-help-note > i {
    color: #a87908;
    margin-top: 0.15rem;
}

.admission-page .admission-form-card {
    padding: clamp(1.4rem, 3vw, 2.4rem);
    background: #fff;
    border: 1px solid rgba(16, 39, 76, 0.08);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(16, 39, 76, 0.10);
}

.admission-page .admission-form-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.6rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #edf0f5;
}

.admission-page .admission-form-icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #10274c;
    background: rgba(224, 174, 45, 0.20);
    border-radius: 15px;
    font-size: 1.5rem;
}

.admission-page .admission-form-kicker {
    display: block;
    margin-bottom: 0.2rem;
    color: #a87908;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.admission-page .admission-form-heading h3 {
    margin: 0 0 0.3rem;
    color: #10274c;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 800;
}

.admission-page .admission-form-heading .form-intro {
    color: #68758a;
    font-size: 0.9rem;
}

.admission-page .admission-form-card .form-label {
    margin-bottom: 0.45rem;
    color: #26364f;
    font-size: 0.9rem;
    font-weight: 650;
}

.admission-page .admission-form-card .form-control,
.admission-page .admission-form-card .form-select {
    min-height: 49px;
    padding: 0.7rem 0.9rem;
    color: #26364f;
    background-color: #fbfcfe;
    border: 1px solid #dce2eb;
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.admission-page .admission-form-card textarea.form-control {
    min-height: 125px;
    resize: vertical;
}

.admission-page .admission-form-card .form-control:focus,
.admission-page .admission-form-card .form-select:focus {
    background-color: #fff;
    border-color: #d7a629;
    box-shadow: 0 0 0 0.22rem rgba(215, 166, 41, 0.16);
}

.admission-page .admission-submit-btn {
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 1.4rem;
    color: #142747;
    background: linear-gradient(135deg, #f2c94c 0%, #dca91f 100%);
    border: 0;
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(190, 143, 23, 0.22);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.admission-page .admission-submit-btn:hover {
    color: #102747;
    filter: brightness(1.04);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(190, 143, 23, 0.30);
}

.admission-page .admission-submit-btn:focus-visible {
    outline: 3px solid rgba(16, 39, 76, 0.35);
    outline-offset: 3px;
}

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

.admission-page .form-privacy-note {
    color: #748096;
    font-size: 0.82rem;
    line-height: 1.6;
    text-align: center;
}

.admission-page .form-privacy-note i {
    color: #43835e;
}

@media (max-width: 575.98px) {
    .admission-page .admission-form-card {
        border-radius: 15px;
    }

    .admission-page .admission-form-heading {
        align-items: flex-start;
    }

    .admission-page .admission-form-icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 1.25rem;
    }
}


/* =========================================================
   ROYAL JEWELS ACADEMY - CONTACT PAGE ENHANCEMENTS
   Safe version: does not override contact details panel
   ========================================================= */

/* Contact page background and section spacing */
.contact-page .contact-main-section {
    background-color: #f5f7fb;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Enquiry form card */
.contact-page .contact-form-card {
    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(20, 39, 70, 0.07);
}

/* Form heading layout */
.contact-page .contact-form-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.contact-page .contact-form-heading-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff4d6;
    color: #bd8d20;
    border-radius: 13px;
    font-size: 23px;
}

.contact-page .contact-form-heading .section-eyebrow {
    display: block;
    color: #bd8d20;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 5px;
}

.contact-page .contact-form-heading .section-title {
    color: #142746;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 0;
}

.contact-page .contact-form-intro {
    color: #68768a;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 27px;
}

/* Form labels */
.contact-page .contact-form-card label {
    display: block;
    color: #263852;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Input fields and dropdowns */
.contact-page .contact-form-card .form-control,
.contact-page .contact-form-card .form-select {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    background-color: #f9fafc;
    border: 1px solid #dce3ed;
    border-radius: 9px;
    color: #24344d;
    font-size: 14px;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease,
                background-color 0.2s ease;
}

.contact-page .contact-form-card textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-page .contact-form-card .form-control::placeholder {
    color: #a1aaba;
}

.contact-page .contact-form-card .form-control:focus,
.contact-page .contact-form-card .form-select:focus {
    background-color: #ffffff;
    border-color: #d2a12e;
    box-shadow: 0 0 0 3px rgba(210, 161, 46, 0.13);
    outline: none;
}

/* Send Message button */
.contact-page .contact-submit-btn {
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 8px;
    padding: 13px 22px;
    border: 1px solid #c99522;
    border-radius: 9px;
    background-color: #d9aa35;
    color: #142746;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: 0 5px 14px rgba(201, 149, 34, 0.18);
    transition: background-color 0.2s ease,
                transform 0.2s ease,
                box-shadow 0.2s ease;
}

.contact-page .contact-submit-btn i {
    font-size: 16px;
}

.contact-page .contact-submit-btn:hover {
    background-color: #edc04c;
    border-color: #d2a12e;
    color: #142746;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(201, 149, 34, 0.24);
}

.contact-page .contact-submit-btn:focus-visible {
    outline: 3px solid rgba(201, 149, 34, 0.35);
    outline-offset: 3px;
}

/* Form submission information */
.contact-page .contact-form-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 18px;
    margin-bottom: 0;
    padding: 12px 14px;
    border-radius: 8px;
    background-color: #f1f7f2;
    color: #536c5c;
    font-size: 12px;
    line-height: 1.7;
}

.contact-page .contact-form-note i {
    flex-shrink: 0;
    color: #34835a;
    font-size: 17px;
    margin-top: 1px;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {

    .contact-page .contact-main-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .contact-page .contact-form-card {
        padding: 24px 19px;
        border-radius: 13px;
    }

    .contact-page .contact-form-heading {
        align-items: flex-start;
        gap: 11px;
    }

    .contact-page .contact-form-heading-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 20px;
    }

    .contact-page .contact-form-heading .section-title {
        font-size: 21px;
    }

    .contact-page .contact-form-intro {
        font-size: 13px;
    }

    .contact-page .contact-submit-btn {
        min-height: 52px;
    }
}


/* =========================================================
   ROYAL JEWELS ACADEMY - THANK YOU PAGE
   ========================================================= */

.thank-you-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left,
            rgba(218, 174, 65, 0.12),
            transparent 35%),
        linear-gradient(135deg, #f3f6fb, #e9eef6);
}

.thank-you-page .thank-you-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 65px 15px;
}

/* Main card */
.thank-you-page .thank-you-card {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
    padding: 50px 55px;
    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 22px;
    text-align: center;
    box-shadow: 0 18px 55px rgba(20, 39, 70, 0.10);
    overflow: hidden;
}

/* Gold top border */
.thank-you-page .thank-you-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #c99522, #f0cb65, #c99522);
}

/* School logo */
.thank-you-page .thank-you-logo {
    margin-bottom: 25px;
}

.thank-you-page .thank-you-logo img {
    display: inline-block;
    max-width: 125px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Success icon */
.thank-you-page .thank-you-success-icon {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #e9f6ed;
    border: 5px solid #d5eddd;
    color: #25834c;
    font-size: 43px;
}

/* Small heading */
.thank-you-page .thank-you-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #bd8d20;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* Main heading */
.thank-you-page .thank-you-card h1 {
    margin-bottom: 12px;
    color: #142746;
    font-size: 40px;
    font-weight: 800;
}

/* Lead message */
.thank-you-page .thank-you-lead {
    margin-bottom: 20px;
    color: #27804b;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

/* Divider */
.thank-you-page .thank-you-divider {
    width: 65px;
    height: 3px;
    margin: 0 auto 23px;
    border-radius: 5px;
    background: #d5a32e;
}

/* Main message */
.thank-you-page .thank-you-message {
    max-width: 480px;
    margin: 0 auto 23px;
    color: #647187;
    font-size: 15px;
    line-height: 1.9;
}

/* School motto */
.thank-you-page .thank-you-motto {
    margin-bottom: 28px;
    color: #142746;
    font-size: 15px;
    font-weight: 800;
}

/* Return Home button */
.thank-you-page .thank-you-home-btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 27px;
    border: 1px solid #c99522;
    border-radius: 9px;
    background: linear-gradient(135deg, #edc34f, #d5a32e);
    color: #142746;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(201, 149, 34, 0.22);
    transition: all 0.25s ease;
}

.thank-you-page .thank-you-home-btn:hover {
    background: linear-gradient(135deg, #f4d16e, #e0b13e);
    color: #142746;
    transform: translateY(-3px);
    box-shadow: 0 11px 23px rgba(201, 149, 34, 0.3);
}

.thank-you-page .thank-you-home-btn:focus-visible {
    outline: 3px solid rgba(201, 149, 34, 0.4);
    outline-offset: 4px;
}

.thank-you-page .thank-you-home-btn .bi-arrow-right {
    transition: transform 0.25s ease;
}

.thank-you-page .thank-you-home-btn:hover .bi-arrow-right {
    transform: translateX(4px);
}

/* Footer message */
.thank-you-page .thank-you-footer {
    margin: 27px 0 0;
    color: #929dad;
    font-size: 12px;
}

/* Mobile responsiveness */
@media (max-width: 575.98px) {

    .thank-you-page .thank-you-main {
        padding: 35px 12px;
    }

    .thank-you-page .thank-you-card {
        padding: 38px 22px;
        border-radius: 16px;
    }

    .thank-you-page .thank-you-logo img {
        max-width: 105px;
    }

    .thank-you-page .thank-you-success-icon {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }

    .thank-you-page .thank-you-card h1 {
        font-size: 32px;
    }

    .thank-you-page .thank-you-lead {
        font-size: 15px;
    }

    .thank-you-page .thank-you-message {
        font-size: 14px;
    }

    .thank-you-page .thank-you-home-btn {
        width: 100%;
        padding: 13px 18px;
    }
}

