:root {
    --gso-blue: #52779C;
    --gso-blue-dark: #061A33;
    --gso-blue-mid: #123B63;
    --gso-yellow: #FFF200;
    --gso-gold: #C9A227;
    --gso-bg: #F6F8FB;
    --gso-white: #FFFFFF;
    --gso-text: #13243A;
    --gso-muted: #64748B;
    --gso-border: #E5E7EB;
    --shadow-soft: 0 18px 45px rgba(6, 26, 51, 0.08);
    --shadow-strong: 0 28px 70px rgba(6, 26, 51, 0.16);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--gso-text);
    background: var(--gso-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

.main-navbar {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    transition: 0.35s ease;
    z-index: 999;
}

.navbar-scrolled {
    padding: 9px 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 45px rgba(6, 26, 51, 0.08);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    max-width: 70%;
}

.navbar-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(6, 26, 51, 0.08);
}

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

.brand-text span {
    color: var(--gso-blue-dark);
    font-size: 25px;
    font-weight: 950;
    letter-spacing: 1px;
}

.brand-text small {
    color: var(--gso-muted);
    font-size: 12px;
    font-weight: 750;
}

.nav-link {
    position: relative;
    color: var(--gso-blue-dark) !important;
    font-weight: 850;
    margin-left: 18px;
    transition: 0.25s ease;
}

.nav-link:hover {
    color: var(--gso-blue) !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: -9px;
    width: 0;
    height: 3px;
    background: var(--gso-yellow);
    border-radius: 20px;
    transition: 0.3s ease;
}

.nav-link:hover::after {
    width: 28px;
}

.nav-contact-btn {
    background: linear-gradient(135deg, var(--gso-blue-dark), var(--gso-blue));
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 40px;
    margin-left: 22px;
    box-shadow: 0 12px 28px rgba(6, 26, 51, 0.16);
}

.nav-contact-btn::after {
    display: none;
}

.nav-contact-btn:hover {
    color: white !important;
    transform: translateY(-2px);
}

.custom-toggler {
    border: none;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 90px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 242, 0, 0.24), transparent 28%),
        radial-gradient(circle at 88% 80%, rgba(82, 119, 156, 0.24), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(6, 26, 51, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 26, 51, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent);
    z-index: 1;
}

.hero-row {
    position: relative;
    z-index: 2;
}

.hero-floating {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(1px);
    animation: floatShape 7s ease-in-out infinite;
    z-index: 1;
}

.hero-floating-one {
    width: 190px;
    height: 190px;
    background: var(--gso-yellow);
    right: 7%;
    top: 18%;
}

.hero-floating-two {
    width: 120px;
    height: 120px;
    background: var(--gso-blue);
    left: 6%;
    bottom: 14%;
    animation-delay: 1.6s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-22px);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    background: rgba(255, 242, 0, 0.22);
    border: 1px solid rgba(201, 162, 39, 0.24);
    color: var(--gso-blue-dark);
    padding: 10px 17px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-badge span {
    width: 10px;
    height: 10px;
    background: var(--gso-yellow);
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(255, 242, 0, 0.22);
}

.hero-section h1 {
    color: var(--gso-blue-dark);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 950;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-text {
    color: var(--gso-muted);
    font-size: 20px;
    line-height: 1.8;
    max-width: 570px;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary-custom,
.btn-outline-custom {
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 900;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--gso-blue-dark), var(--gso-blue));
    color: white;
    border: none;
    box-shadow: 0 18px 38px rgba(6, 26, 51, 0.18);
}

.btn-primary-custom:hover {
    transform: translateY(-4px);
    color: white;
    background: linear-gradient(135deg, var(--gso-blue), var(--gso-blue-dark));
}

.btn-outline-custom {
    border: 2px solid var(--gso-blue-dark);
    color: var(--gso-blue-dark);
    background: rgba(255, 255, 255, 0.8);
}

.btn-outline-custom:hover {
    transform: translateY(-4px);
    background: var(--gso-yellow);
    color: var(--gso-blue-dark);
    border-color: var(--gso-yellow);
}

.hero-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 42px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(82, 119, 156, 0.15);
    border-radius: 20px;
    padding: 18px 22px;
    min-width: 120px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.hero-stat-card strong {
    display: block;
    color: var(--gso-blue-dark);
    font-size: 27px;
    font-weight: 950;
}

.hero-stat-card span {
    color: var(--gso-muted);
    font-size: 14px;
    font-weight: 750;
}

.hero-visual-card {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 34px;
    box-shadow: var(--shadow-strong);
    animation: softFloat 5.5s ease-in-out infinite;
    overflow: visible;
}

@keyframes softFloat {
    0%, 100% {
        transform: translateY(0) rotate(1deg);
    }

    50% {
        transform: translateY(-14px) rotate(-1deg);
    }
}

.hero-logo-showcase {
    height: 460px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(255, 242, 0, 0.23), transparent 36%),
        linear-gradient(135deg, rgba(82, 119, 156, 0.16), rgba(255, 242, 0, 0.10)),
        white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-logo-showcase img {
    width: 75%;
    height: 75%;
    object-fit: contain;
    animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }
}

.hero-main-image {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 26px;
    display: block;
}

.hero-mini-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(82, 119, 156, 0.14);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(15px);
    padding: 15px 18px;
    border-radius: 18px;
    min-width: 190px;
}

.hero-mini-card strong {
    display: block;
    color: var(--gso-blue-dark);
    font-weight: 950;
}

.hero-mini-card span {
    color: var(--gso-muted);
    font-size: 13px;
    font-weight: 700;
}

.hero-mini-card-top {
    top: 42px;
    left: -36px;
}

.hero-mini-card-bottom {
    right: -30px;
    bottom: 45px;
}

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

.section-title span {
    color: var(--gso-gold);
    text-transform: uppercase;
    font-weight: 950;
    letter-spacing: 3px;
    font-size: 14px;
}

.section-title h2 {
    margin-top: 12px;
    color: var(--gso-blue-dark);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 950;
    letter-spacing: -1px;
}

.section-title p {
    color: var(--gso-muted);
    max-width: 700px;
    margin: 18px auto 0;
    line-height: 1.8;
    font-size: 17px;
}

.announcement-section {
    background: linear-gradient(135deg, var(--gso-blue-dark), var(--gso-blue-mid));
    color: white;
    padding: 18px 0;
}

.announcement-box {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.announcement-box strong {
    color: var(--gso-yellow);
}

.premium-card,
.level-card,
.content-card,
.event-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(82, 119, 156, 0.14);
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
    transition: 0.35s ease;
    height: 100%;
}

.premium-card {
    padding: 34px;
}

.card-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--gso-yellow), var(--gso-gold));
    color: var(--gso-blue-dark);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    margin-bottom: 22px;
    font-size: 20px;
}

.premium-card h4,
.level-card h4,
.content-card h4,
.event-card h4 {
    color: var(--gso-blue-dark);
    font-weight: 950;
}

.premium-card p,
.level-card p,
.content-card p,
.event-card p {
    color: var(--gso-muted);
    line-height: 1.75;
}

.premium-card:hover,
.level-card:hover,
.content-card:hover,
.event-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-strong);
}

.levels-zone,
.events-zone {
    background:
        radial-gradient(circle at top left, rgba(255, 242, 0, 0.12), transparent 28%),
        var(--gso-bg);
}

.level-card {
    padding: 34px 24px;
    text-align: center;
    border-bottom: 6px solid var(--gso-yellow);
}

.level-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gso-blue-dark), var(--gso-blue));
    color: var(--gso-yellow);
    border-radius: 22px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 950;
}

.level-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 22px;
}

.content-card {
    overflow: hidden;
    cursor: pointer;
}

.content-card img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    transition: 0.45s ease;
}

.content-card:hover img {
    transform: scale(1.07);
}

.content-card-body {
    padding: 26px;
}

.content-card-body span,
.event-date {
    color: var(--gso-gold);
    font-weight: 950;
    font-size: 14px;
}

.content-card-body h4 {
    margin: 10px 0;
}

.image-placeholder-small {
    height: 245px;
    background: linear-gradient(135deg, var(--gso-blue-dark), var(--gso-blue));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 950;
}

.clickable-card,
.clickable-card h4,
.clickable-card p,
.clickable-card span,
.clickable-card div {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.event-card {
    padding: 32px;
    border-left: 6px solid var(--gso-yellow);
}

.gallery-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    height: 280px;
    background: var(--gso-blue-dark);
    box-shadow: var(--shadow-soft);
}

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

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

.gallery-title {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: linear-gradient(135deg, rgba(6, 26, 51, 0.92), rgba(82, 119, 156, 0.9));
    color: white;
    padding: 13px 16px;
    border-radius: 15px;
    font-weight: 850;
}

.admission-cta-section {
    padding: 90px 0;
    background: white;
}

.admission-cta {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 242, 0, 0.22), transparent 34%),
        linear-gradient(135deg, var(--gso-blue-dark), var(--gso-blue-mid));
    color: white;
    border-radius: 34px;
    padding: 54px;
    box-shadow: var(--shadow-strong);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.admission-cta span {
    color: var(--gso-yellow);
    text-transform: uppercase;
    font-weight: 950;
    letter-spacing: 3px;
}

.admission-cta h2 {
    margin-top: 12px;
    font-weight: 950;
    font-size: 38px;
}

.admission-cta p {
    color: #D7DEE8;
    max-width: 620px;
    margin-bottom: 0;
    line-height: 1.8;
}

.footer-section {
    position: relative;
    overflow: hidden;
    background: #061A33;
    color: white;
    padding: 65px 0 35px;
}

.footer-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    background: rgba(255, 242, 0, 0.12);
    border-radius: 50%;
    right: -80px;
    top: -90px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
}

.footer-brand h5 {
    margin-bottom: 3px;
    font-weight: 950;
}

.footer-brand span,
.footer-description,
.footer-contact-line span {
    color: #B8C3D3;
}

.footer-section h5 {
    font-weight: 950;
    margin-bottom: 18px;
}

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

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

.footer-section a {
    color: #B8C3D3;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--gso-yellow);
}

.footer-contact-line {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.footer-contact-line strong {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 45px;
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: #B8C3D3;
    margin-bottom: 0;
}

.page-header {
    background:
        radial-gradient(circle at top left, rgba(255, 242, 0, 0.18), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    padding: 170px 0 90px;
    border-bottom: 1px solid var(--gso-border);
}

.page-header span {
    color: var(--gso-gold);
    text-transform: uppercase;
    font-weight: 950;
    letter-spacing: 3px;
}

.page-header h1 {
    color: var(--gso-blue-dark);
    font-size: 48px;
    font-weight: 950;
    margin-top: 12px;
    margin-bottom: 16px;
}

.page-header p {
    color: var(--gso-muted);
    max-width: 650px;
    margin: 0 auto;
    font-size: 18px;
}

.contact-info-box,
.contact-form-box,
.post-detail-content {
    background: white;
    border: 1px solid rgba(82, 119, 156, 0.14);
    border-radius: 26px;
    padding: 36px;
    box-shadow: var(--shadow-soft);
}

.form-control {
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid var(--gso-border);
}

.form-control:focus {
    border-color: var(--gso-gold);
    box-shadow: none;
}

.empty-box {
    background: white;
    color: var(--gso-muted);
    border: 1px dashed var(--gso-border);
    padding: 34px;
    border-radius: 18px;
    text-align: center;
}

.post-detail-wrapper {
    max-width: 950px;
    margin: 0 auto;
}

.post-detail-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 26px;
    margin-bottom: 34px;
    box-shadow: var(--shadow-strong);
}

.post-detail-content h2 {
    color: var(--gso-blue-dark);
    font-weight: 950;
    margin-bottom: 12px;
}

.post-date {
    color: var(--gso-gold);
    font-weight: 950;
    margin-bottom: 24px;
}

.post-detail-content p {
    color: var(--gso-muted);
    line-height: 1.9;
    font-size: 17px;
}

.reveal {
    opacity: 0;
    transform: translateY(38px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .brand-wrapper {
        max-width: 80%;
    }

    .nav-link {
        margin-left: 0;
        margin-top: 10px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-contact-btn {
        margin-left: 0;
        margin-top: 14px;
        display: inline-block;
    }

    .hero-mini-card {
        display: none;
    }

    .admission-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .main-navbar {
        padding: 10px 0;
    }

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

    .brand-text span {
        font-size: 22px;
    }

    .brand-text small {
        display: none;
    }

    .hero-section {
        padding-top: 90px;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-logo-showcase,
    .hero-main-image {
        height: 310px;
        margin-top: 28px;
    }

    .hero-stats {
        gap: 12px;
    }

    .hero-stat-card {
        flex: 1;
        min-width: 95px;
        padding: 14px;
    }

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

    .admission-cta {
        padding: 34px;
        border-radius: 26px;
    }

    .admission-cta h2 {
        font-size: 29px;
    }

    .announcement-box {
        flex-direction: column;
        gap: 6px;
    }

    .page-header {
        padding: 140px 0 70px;
    }

    .page-header h1 {
        font-size: 36px;
    }
    /* =========================
   ABOUT + LEVELS PREMIUM
========================= */

.premium-page-header {
    position: relative;
    overflow: hidden;
}

.premium-page-header::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(255, 242, 0, 0.16);
    border-radius: 50%;
    top: 25%;
    left: 8%;
    animation: floatShape 7s ease-in-out infinite;
}

.premium-page-header::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    background: rgba(82, 119, 156, 0.14);
    border-radius: 50%;
    right: 10%;
    bottom: 15%;
    animation: floatShape 8s ease-in-out infinite;
}

.premium-page-header .container {
    position: relative;
    z-index: 2;
}

.about-highlight-box {
    margin-top: 28px;
    padding: 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 242, 0, 0.18), transparent 38%),
        white;
    border: 1px solid rgba(82, 119, 156, 0.14);
    box-shadow: var(--shadow-soft);
}

.about-highlight-box h4 {
    color: var(--gso-blue-dark);
    font-weight: 950;
    margin-bottom: 10px;
}

.about-highlight-box p {
    color: var(--gso-muted);
    line-height: 1.8;
    margin-bottom: 0;
}

.about-visual-card {
    position: relative;
    background: white;
    border-radius: 34px;
    padding: 26px;
    min-height: 430px;
    box-shadow: var(--shadow-strong);
    overflow: visible;
}

.about-logo-box {
    height: 380px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(255, 242, 0, 0.22), transparent 35%),
        linear-gradient(135deg, rgba(82, 119, 156, 0.16), rgba(255, 242, 0, 0.10)),
        white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo-box img {
    width: 75%;
    height: 75%;
    object-fit: contain;
    animation: logoPulse 4s ease-in-out infinite;
}

.about-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(82, 119, 156, 0.14);
    box-shadow: var(--shadow-soft);
    padding: 16px 20px;
    border-radius: 18px;
    backdrop-filter: blur(14px);
}

.about-floating-card strong {
    display: block;
    color: var(--gso-blue-dark);
    font-size: 24px;
    font-weight: 950;
}

.about-floating-card span {
    color: var(--gso-muted);
    font-size: 13px;
    font-weight: 750;
}

.about-floating-card-one {
    top: 55px;
    left: -24px;
}

.about-floating-card-two {
    right: -24px;
    bottom: 55px;
}

.about-feature-line {
    display: flex;
    gap: 20px;
    background: white;
    border: 1px solid rgba(82, 119, 156, 0.14);
    border-radius: 26px;
    padding: 28px;
    height: 100%;
    box-shadow: var(--shadow-soft);
    transition: 0.35s ease;
}

.about-feature-line:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.about-feature-number {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gso-blue-dark), var(--gso-blue));
    color: var(--gso-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
}

.about-feature-line h4 {
    color: var(--gso-blue-dark);
    font-weight: 950;
    margin-bottom: 8px;
}

.about-feature-line p {
    color: var(--gso-muted);
    line-height: 1.75;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .about-floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-visual-card {
        min-height: auto;
    }

    .about-logo-box {
        height: 300px;
    }

    .about-feature-line {
        flex-direction: column;
    }
}
/* =========================
   CONTACT + POST DETAIL PREMIUM
========================= */

.premium-contact-box {
    position: relative;
    overflow: hidden;
}

.premium-contact-box::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255, 242, 0, 0.13);
    border-radius: 50%;
    right: -60px;
    top: -60px;
}

.contact-badge {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gso-blue-dark), var(--gso-blue));
    color: var(--gso-yellow);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    font-size: 20px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-soft);
}

.premium-contact-box h3 {
    position: relative;
    color: var(--gso-blue-dark);
    font-weight: 950;
    margin-bottom: 16px;
}

.premium-contact-box p {
    position: relative;
    color: var(--gso-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.contact-note {
    position: relative;
    margin-top: 28px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(82, 119, 156, 0.08);
    color: var(--gso-muted);
    font-size: 14px;
    line-height: 1.7;
}

.premium-form-box .section-title h2 {
    font-size: 34px;
}

.premium-alert {
    border-radius: 16px;
    border: none;
    padding: 16px 18px;
    font-weight: 750;
}

.form-label {
    color: var(--gso-blue-dark);
    font-weight: 850;
    margin-bottom: 8px;
}

textarea.form-control {
    resize: vertical;
}

.post-detail-placeholder {
    width: 100%;
    height: 420px;
    border-radius: 26px;
    margin-bottom: 34px;
    background:
        radial-gradient(circle at top right, rgba(255, 242, 0, 0.18), transparent 35%),
        linear-gradient(135deg, var(--gso-blue-dark), var(--gso-blue));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    font-weight: 950;
    box-shadow: var(--shadow-strong);
}

.premium-post-content {
    position: relative;
    overflow: hidden;
}

.premium-post-content::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255, 242, 0, 0.12);
    border-radius: 50%;
    right: -70px;
    top: -70px;
}

.premium-post-content > * {
    position: relative;
}

.post-text {
    color: var(--gso-muted);
    line-height: 1.9;
    font-size: 17px;
}

.post-text p {
    margin-bottom: 18px;
}

.post-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .post-detail-placeholder {
        height: 300px;
        font-size: 42px;
    }

    .premium-form-box .section-title h2 {
        font-size: 29px;
    }

    .post-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .post-actions .btn {
        text-align: center;
    }
}
/* =========================
   WHATSAPP + MAPS + SEO UI
========================= */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 998;
    background: #25D366;
    color: white;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.32);
    transition: 0.3s ease;
}

.whatsapp-float:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 24px 55px rgba(37, 211, 102, 0.42);
}

.maps-section {
    padding: 20px 0 90px;
    background: white;
}

.maps-wrapper {
    margin-top: 42px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(82, 119, 156, 0.14);
}

.maps-wrapper iframe {
    display: block;
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .maps-wrapper iframe {
        height: 320px;
    }
}
/* =========================
   RESPONSIVE FINAL FIX
   PHONE / TABLET / LAPTOP
========================= */

/* Prevent horizontal scrolling */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Make all media safe */
img,
video,
iframe {
    max-width: 100%;
}

/* =========================
   LAPTOP / DESKTOP
   992px and more
========================= */

@media (min-width: 992px) {
    .container {
        max-width: 1180px;
    }

    .hero-section {
        min-height: 100vh;
    }

    .hero-row {
        min-height: 100vh;
    }

    .hero-visual-card {
        max-width: 560px;
        margin-left: auto;
    }
}

/* =========================
   TABLET
   768px to 991px
========================= */

@media (min-width: 768px) and (max-width: 991px) {
    .main-navbar {
        padding: 10px 0;
    }

    .brand-wrapper {
        max-width: 75%;
    }

    .navbar-logo {
        width: 48px;
        height: 48px;
    }

    .brand-text span {
        font-size: 23px;
    }

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

    .navbar-collapse {
        background: white;
        margin-top: 14px;
        padding: 18px;
        border-radius: 20px;
        box-shadow: var(--shadow-soft);
    }

    .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .nav-link::after {
        display: none;
    }

    .nav-contact-btn {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
    }

    .hero-section {
        padding-top: 120px;
        min-height: auto;
    }

    .hero-row {
        min-height: auto !important;
        padding: 60px 0 70px;
    }

    .hero-section h1 {
        font-size: 52px;
        line-height: 1.08;
    }

    .hero-text {
        font-size: 19px;
        max-width: 100%;
    }

    .hero-visual-card {
        margin-top: 50px;
    }

    .hero-logo-showcase,
    .hero-main-image {
        height: 430px;
    }

    .hero-mini-card {
        display: none;
    }

    .hero-stats {
        gap: 14px;
    }

    .hero-stat-card {
        flex: 1;
        min-width: 150px;
    }

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

    .section-title h2 {
        font-size: 40px;
    }

    .premium-card,
    .level-card,
    .content-card,
    .event-card {
        border-radius: 24px;
    }

    .gallery-card {
        height: 260px;
    }

    .admission-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 44px;
    }

    .footer-section {
        padding: 55px 0 30px;
    }
}

/* =========================
   PHONE
   0px to 767px
========================= */

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

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    /* Navbar */
    .main-navbar {
        padding: 9px 0;
    }

    .brand-wrapper {
        max-width: 78%;
        gap: 9px;
    }

    .navbar-logo {
        width: 42px;
        height: 42px;
    }

    .brand-text span {
        font-size: 21px;
    }

    .brand-text small {
        display: none;
    }

    .navbar-toggler {
        padding: 6px 8px;
    }

    .navbar-collapse {
        background: white;
        margin-top: 12px;
        padding: 16px;
        border-radius: 18px;
        box-shadow: var(--shadow-soft);
    }

    .nav-link {
        margin-left: 0;
        padding: 10px 0;
        font-size: 15px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-contact-btn {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
        padding: 10px 18px !important;
    }

    /* Hero */
    .hero-section {
        min-height: auto;
        padding-top: 105px;
    }

    .hero-row {
        min-height: auto !important;
        padding: 45px 0 55px;
    }

    .hero-badge {
        font-size: 11px;
        letter-spacing: 1.4px;
        padding: 8px 13px;
        margin-bottom: 18px;
    }

    .hero-section h1 {
        font-size: 38px;
        line-height: 1.08;
        letter-spacing: -1px;
        margin-bottom: 18px;
    }

    .hero-text {
        font-size: 16.5px;
        line-height: 1.7;
        margin-bottom: 26px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn,
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        text-align: center;
        padding: 13px 20px;
        border-radius: 12px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 30px;
    }

    .hero-stat-card {
        width: 100%;
        padding: 16px;
    }

    .hero-stat-card strong {
        font-size: 25px;
    }

    .hero-visual-card {
        margin-top: 42px;
        padding: 14px;
        border-radius: 26px;
        animation: none;
    }

    .hero-logo-showcase,
    .hero-main-image {
        height: 280px;
        border-radius: 20px;
        margin-top: 0;
    }

    .hero-logo-showcase img {
        width: 82%;
        height: 82%;
    }

    .hero-mini-card,
    .hero-floating,
    .premium-page-header::before,
    .premium-page-header::after {
        display: none;
    }

    /* Sections */
    .section-padding {
        padding: 62px 0;
    }

    .section-title span {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .section-title h2 {
        font-size: 30px;
        line-height: 1.15;
    }

    .section-title p {
        font-size: 15.5px;
        line-height: 1.7;
    }

    /* Cards */
    .premium-card,
    .level-card,
    .content-card,
    .event-card,
    .contact-info-box,
    .contact-form-box,
    .post-detail-content {
        border-radius: 22px;
    }

    .premium-card,
    .event-card,
    .contact-info-box,
    .contact-form-box,
    .post-detail-content {
        padding: 26px;
    }

    .level-card {
        padding: 28px 22px;
    }

    .card-icon,
    .level-icon {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        font-size: 22px;
    }

    .content-card img,
    .image-placeholder-small {
        height: 220px;
    }

    .content-card-body {
        padding: 22px;
    }

    .gallery-card {
        height: 240px;
        border-radius: 22px;
    }

    .gallery-title {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 11px 13px;
        font-size: 14px;
    }

    /* Page headers */
    .page-header {
        padding: 135px 0 65px;
    }

    .page-header h1 {
        font-size: 34px;
        line-height: 1.15;
    }

    .page-header p {
        font-size: 15.5px;
    }

    /* About page */
    .about-visual-card {
        padding: 16px;
        border-radius: 26px;
        min-height: auto;
    }

    .about-logo-box {
        height: 260px;
        border-radius: 20px;
    }

    .about-floating-card {
        display: none;
    }

    .about-feature-line {
        flex-direction: column;
        padding: 24px;
        border-radius: 22px;
    }

    /* Contact page */
    .contact-line {
        margin-bottom: 16px;
    }

    .premium-form-box .section-title h2 {
        font-size: 28px;
    }

    .form-control {
        padding: 12px 13px;
    }

    /* Post detail */
    .post-detail-image,
    .post-detail-placeholder {
        height: 280px;
        border-radius: 22px;
    }

    .post-detail-placeholder {
        font-size: 40px;
    }

    .post-actions {
        flex-direction: column;
    }

    .post-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* CTA */
    .admission-cta-section {
        padding: 62px 0;
    }

    .admission-cta {
        padding: 30px;
        border-radius: 24px;
        flex-direction: column;
        align-items: stretch;
    }

    .admission-cta h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .admission-cta p {
        font-size: 15.5px;
    }

    .admission-cta .btn {
        width: 100%;
        text-align: center;
    }

    /* Maps */
    .maps-section {
        padding: 10px 0 62px;
    }

    .maps-wrapper {
        border-radius: 22px;
        margin-top: 30px;
    }

    .maps-wrapper iframe {
        height: 300px;
    }

    /* Footer */
    .footer-section {
        padding: 48px 0 28px;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-brand img {
        width: 52px;
        height: 52px;
    }

    .footer-bottom {
        text-align: left;
    }

    /* WhatsApp button */
    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        padding: 11px 15px;
        font-size: 13px;
        border-radius: 999px;
    }
}

/* =========================
   VERY SMALL PHONES
   0px to 380px
========================= */

@media (max-width: 380px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-section h1 {
        font-size: 33px;
    }

    .section-title h2 {
        font-size: 27px;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .hero-logo-showcase,
    .hero-main-image {
        height: 245px;
    }

    .content-card img,
    .image-placeholder-small {
        height: 200px;
    }

    .gallery-card {
        height: 220px;
    }

    .premium-card,
    .event-card,
    .contact-info-box,
    .contact-form-box,
    .post-detail-content {
        padding: 22px;
    }
}
/* =========================
   MOBILE HERO PHOTO ORDER
========================= */

.hero-buttons-after-image {
    margin-top: 30px;
}

@media (min-width: 992px) {
    .hero-buttons-after-image {
        margin-top: 34px;
    }

    .hero-image-column .hero-stats {
        display: none;
    }

    .hero-content-column .hero-stats {
        display: flex;
    }
}

@media (max-width: 991px) {
    .hero-image-column {
        display: flex;
        flex-direction: column;
    }

    .hero-visual-card {
        order: 1;
    }

    .hero-buttons-after-image {
        order: 2;
    }

    .hero-image-column .hero-stats {
        order: 3;
    }
}
/* =========================
   ACTIVE NAVBAR LINK
========================= */

.nav-link.active {
    color: var(--gso-blue-dark) !important;
    font-weight: 950;
}

.nav-link.active::after {
    width: 100%;
}

.nav-contact-btn.active-contact {
    background: var(--gso-blue-dark);
    color: var(--gso-yellow) !important;
    box-shadow: 0 12px 28px rgba(8, 30, 63, 0.24);
}

@media (max-width: 991px) {
    .nav-link.active {
        background: rgba(82, 119, 156, 0.10);
        padding-left: 14px !important;
        padding-right: 14px !important;
        border-radius: 12px;
    }

    .nav-contact-btn.active-contact {
        display: inline-block;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}
/* =========================
   SMOOTH SCROLL
========================= */

html {
    scroll-behavior: smooth;
}

#about {
    scroll-margin-top: 95px;
}
/* =========================
   ARABIC / RTL CONTENT SUPPORT
========================= */

[dir="auto"],
.auto-dir {
    unicode-bidi: plaintext;
}

.auto-dir {
    line-height: 1.9;
}

/* Better font support for Arabic + French */
body {
    font-family:
        "Inter",
        "Segoe UI",
        "Helvetica Neue",
        Arial,
        "Noto Sans Arabic",
        "Tahoma",
        sans-serif;
}

/* Arabic text inside cards */
.content-card-body h4,
.content-card-body p,
.level-card h4,
.level-card p,
.event-card h4,
.event-card p,
.gallery-title,
.post-text,
.post-detail-content h2,
.section-title h2,
.section-title p {
    unicode-bidi: plaintext;
}

/* Better alignment when a block is Arabic */
[dir="rtl"] {
    text-align: right;
}

[dir="ltr"] {
    text-align: left;
}

/* Form fields accept Arabic correctly */
input[dir="auto"],
textarea[dir="auto"] {
    unicode-bidi: plaintext;
}

/* Arabic paragraphs inside post detail */
.post-text p {
    unicode-bidi: plaintext;
}
/* =========================
   ARABIC / RTL CONTENT SUPPORT
========================= */

[dir="auto"],
.auto-dir {
    unicode-bidi: plaintext;
}

.auto-dir {
    line-height: 1.9;
}

body {
    font-family:
        "Inter",
        "Segoe UI",
        "Helvetica Neue",
        Arial,
        "Noto Sans Arabic",
        "Tahoma",
        sans-serif;
}

.content-card-body h4,
.content-card-body p,
.level-card h4,
.level-card p,
.event-card h4,
.event-card p,
.gallery-title,
.post-text,
.post-detail-content h2,
.section-title h2,
.section-title p,
.hero-section h1,
.hero-text,
.announcement-box strong,
.announcement-box span {
    unicode-bidi: plaintext;
}

[dir="rtl"] {
    text-align: right;
}

[dir="ltr"] {
    text-align: left;
}

input[dir="auto"],
textarea[dir="auto"] {
    unicode-bidi: plaintext;
}

.post-text p {
    unicode-bidi: plaintext;
}

html[lang="fr"] [dir="auto"] {
    text-align: start;
}
}