/* Google Fonts: Tajawal */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
    --primary-color: #0b2b4d;
    --secondary-color: #1d70b8;
    --accent-color: #00b4d8;
    --text-dark: #1a1a1a;
    --text-light: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f4f7f6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Floating Navbar */
.navbar-floating {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 0.8rem 2rem;
    z-index: 1050;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.navbar-floating.scrolled {
    top: 10px;
    width: 95%;
    padding: 0.5rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 600;
    color: var(--primary-color) !important;
    position: relative;
    padding: 0.5rem 1rem !important;
    border-radius: 20px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    background: rgba(0, 180, 216, 0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background-color: var(--accent-color);
    transition: transform 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    transform: translateX(-50%) scale(1);
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.6);
    color: #fff;
}

/* Horizontal Scroll Filter Bar */
.horizontal-filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 5px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.horizontal-filter-bar::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    white-space: nowrap;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-color: #fff;
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.filter-pill:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    color: var(--primary-color);
}

.filter-pill.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0, 168, 232, 0.3);
    border-color: transparent;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 150px 0 100px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 20%);
    background-size: 50px 50px;
    animation: floating 20s linear infinite;
    z-index: 1;
}

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

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

/* Glass Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.course-card .badge-price {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

/* Hover Lift Utility */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Fat Footer */
.fat-footer {
    background: linear-gradient(135deg, #061b30, var(--primary-color));
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.fat-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%2300b4d8" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.5;
    pointer-events: none;
}

.fat-footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.fat-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0; /* RTL default */
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}
html[dir="ltr"] .fat-footer h5::after {
    right: auto;
    left: 0;
}

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

.fat-footer ul li {
    margin-bottom: 12px;
}

.fat-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.fat-footer a:hover {
    color: var(--accent-color);
    transform: translateX(-5px); /* RTL */
}
html[dir="ltr"] .fat-footer a:hover {
    transform: translateX(5px);
}

.social-glow a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #fff;
    margin-left: 10px;
    transition: all 0.3s ease;
}
html[dir="ltr"] .social-glow a {
    margin-left: 0;
    margin-right: 10px;
}

.social-glow a:hover {
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    transform: translateY(-3px);
}

.newsletter-form .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}
.newsletter-form .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 180, 216, 0.25);
}
.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================================================
   JoBrains finishing layer
   ========================================================= */
:root {
    --surface: #ffffff;
    --surface-soft: #f6f8fb;
    --surface-muted: #eef3f7;
    --ink: #142033;
    --ink-muted: #5c6b7a;
    --line: rgba(20, 32, 51, 0.1);
    --radius-card: 8px;
    --shadow-soft: 0 12px 30px rgba(20, 32, 51, 0.08);
    --shadow-lift: 0 18px 42px rgba(20, 32, 51, 0.12);
}

html {
    scroll-behavior: smooth;
}

body.public-site {
    background: var(--surface-soft);
    color: var(--ink);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
    max-width: 100%;
}

a,
button,
.btn {
    touch-action: manipulation;
}

.container {
    width: min(calc(100% - 24px), 1180px);
    max-width: 1180px;
}

body.public-site main,
.hero-swiper,
section,
.fat-footer {
    max-width: 100vw;
}

html,
body.public-site,
body.public-site main {
    overflow-x: hidden;
}

@supports (overflow: clip) {
    body.public-site main,
    .hero-swiper,
    section {
        overflow-x: clip;
    }
}

.swiper,
.swiper-wrapper,
.swiper-slide {
    max-width: 100%;
}

.brand-logo {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(11, 43, 77, 0.08);
    background: #fff;
}

.navbar-floating {
    top: 12px;
    width: min(96%, 1320px);
    border-radius: 18px;
    padding: 0.65rem 1rem;
    box-shadow: 0 18px 50px rgba(20, 32, 51, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.72);
}

.navbar-floating.scrolled {
    top: 8px;
    border-radius: 14px;
    padding: 0.45rem 1rem;
}

.navbar-brand {
    max-width: 280px;
    min-width: 0;
}

.navbar-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-link {
    border-radius: 8px;
    padding: 0.55rem 0.75rem !important;
}

.nav-link.active {
    color: var(--accent-color) !important;
    background: rgba(0, 180, 216, 0.08);
}

.navbar-actions {
    min-width: fit-content;
}

.nav-utility-link,
.language-switch {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
}

.btn-primary-custom,
.btn-outline-primary,
.btn-outline-light,
.filter-pill {
    min-height: 42px;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 10px 24px rgba(0, 168, 232, 0.22);
}

.btn-primary-custom:hover {
    box-shadow: 0 14px 28px rgba(0, 168, 232, 0.28);
}

.hero-swiper {
    min-height: 620px;
    background: var(--primary-color);
}

.hero-swiper .container {
    padding-top: 76px;
    padding-bottom: 56px;
}

.hero-swiper h1,
.hero-section h1 {
    max-width: 920px;
    line-height: 1.15;
    text-wrap: balance;
}

.public-hero-title {
    width: min(100%, 920px);
    margin-inline: auto;
    text-align: center;
}

.hero-swiper .lead,
.hero-section .lead {
    max-width: 760px;
    line-height: 1.9;
}

.hero-proof-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: -18px auto 30px;
    max-width: 820px;
}

.hero-proof-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.hero-proof-row i {
    color: #7de3ff;
    font-size: 1rem;
}

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

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

.glass-card,
.card,
.rounded-4 {
    border-radius: var(--radius-card) !important;
}

.glass-card,
.card {
    border: 1px solid var(--line) !important;
    box-shadow: 0 6px 18px rgba(20, 32, 51, 0.06) !important;
}

.glass-card:hover,
.card:hover,
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift) !important;
}

.course-card .card-img-top,
.course-card [style*="height: 220px"],
.card [style*="height: 220px"] {
    border-radius: 0 !important;
}

.horizontal-filter-bar {
    gap: 10px;
    padding: 8px 2px 14px;
    scroll-padding-inline: 16px;
}

.filter-pill {
    border-radius: 999px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    box-shadow: none;
}

.filter-pill.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.fat-footer {
    padding: 64px 0 28px;
}

.fat-footer h3,
.fat-footer h5 {
    color: #fff;
}

.fat-footer p,
.fat-footer li,
.fat-footer a {
    line-height: 1.8;
}

.fat-footer .social-glow {
    gap: 10px;
}

.social-glow a {
    margin: 0;
    border-radius: 8px;
}

.newsletter-form .input-group {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.newsletter-form .form-control,
.newsletter-form .btn {
    border-radius: 0 !important;
}

.table-responsive {
    border-radius: 8px;
}

@media (min-width: 768px) {
    .w-md-75 {
        width: 75% !important;
    }
}

@media (max-width: 1199.98px) {
    .navbar-floating {
        width: calc(100% - 20px);
    }

    .navbar-floating .navbar-collapse {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(20, 32, 51, 0.09);
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }

    .navbar-floating .navbar-nav {
        gap: 4px;
    }

    .navbar-floating .nav-link {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0.7rem 0.85rem !important;
    }

    .navbar-actions {
        width: 100%;
        margin: 12px 0 0 !important;
        padding: 12px 0 0 !important;
        border-inline: 0 !important;
        border-top: 1px solid rgba(20, 32, 51, 0.09);
        flex-wrap: wrap;
        justify-content: stretch;
    }

    .navbar-actions > * {
        flex: 1 1 auto;
        justify-content: center;
    }

    .navbar-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

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

    .container {
        width: min(calc(100% - 20px), 1180px);
    }

    .navbar-floating {
        top: 8px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
        transform: none;
        border-radius: 12px;
        padding: 0.5rem 0.7rem;
    }

    .navbar-brand {
        max-width: calc(100vw - 120px);
        font-size: 1.05rem !important;
    }

    .brand-logo {
        width: 32px;
        height: 32px;
    }

    .hero-swiper {
        height: auto !important;
        min-height: 100svh;
        width: 100vw;
        margin-inline: 0;
    }

    .hero-swiper .container {
        min-height: 100svh;
        padding-top: 108px;
        padding-bottom: 84px;
        align-items: stretch !important;
        text-align: start !important;
    }

    .hero-swiper h1,
    .hero-section h1,
    .display-3,
    .display-4 {
        font-size: 2.15rem;
        line-height: 1.25;
    }

    .hero-swiper .lead,
    .hero-section .lead,
    .lead {
        font-size: 1rem;
        line-height: 1.8;
    }

    .hero-nav-btn {
        display: none;
    }

    section.py-5,
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .glass-card,
    .card {
        padding: 20px !important;
    }

    .course-card,
    .card.h-100 {
        padding: 0 !important;
    }

    .card-body,
    .course-card .p-4 {
        padding: 1.1rem !important;
    }

    .horizontal-filter-bar {
        margin-inline: -10px;
        padding-inline: 10px;
    }

    .horizontal-filter-bar ~ .position-absolute {
        display: none;
    }

    .filter-pill {
        flex: 0 0 auto;
        max-width: 78vw;
        padding: 9px 15px;
        font-size: 0.92rem;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .fat-footer {
        text-align: start;
        padding-top: 48px;
        padding-bottom: calc(42px + 86px + env(safe-area-inset-bottom));
        margin-bottom: calc(-86px - env(safe-area-inset-bottom));
    }

    .fat-footer [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .fat-footer .row {
        row-gap: 28px !important;
    }

    .fat-footer .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .fat-footer .col-lg-4 {
        margin-bottom: 0 !important;
    }

    .fat-footer p {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .fat-footer .row > .footer-link-col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }

    .footer-link-col h5 {
        font-size: 1rem;
        white-space: nowrap;
    }

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

    .footer-link-col a {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .fat-footer .footer-bottom .d-flex {
        gap: 10px !important;
    }

    .newsletter-form .input-group {
        display: flex;
        flex-wrap: nowrap;
    }

    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }

    .verify-search-box {
        display: grid !important;
        grid-template-columns: 1fr;
        border-radius: 18px !important;
        gap: 8px;
    }

    .verify-search-box .form-control,
    .verify-search-box .btn {
        width: 100%;
        min-height: 54px;
        border-radius: 14px !important;
        text-align: center;
    }

    .public-hero-title {
        width: min(100%, 680px);
        margin-inline: auto !important;
        text-align: center !important;
        overflow-wrap: anywhere;
    }

    .hero-section {
        min-height: 34vh !important;
        padding: 120px 0 64px;
        background-attachment: scroll !important;
    }

    .policy-body {
        font-size: 1rem !important;
        line-height: 1.85 !important;
    }

    .policy-body h2,
    .policy-body h3 {
        line-height: 1.45;
        margin-top: 1.35rem;
    }

    .list-group-item-action {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .contact-page-card,
    .contact-info-card {
        border-radius: 14px !important;
    }

    .contact-page-card .form-control,
    .contact-page-card .btn {
        min-height: 52px;
        border-radius: 14px !important;
    }

    .contact-info-item {
        align-items: flex-start !important;
        gap: 12px;
    }

    .contact-info-item > .bg-white {
        margin: 0 !important;
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
    }

    .contact-info-item span,
    .contact-info-item a {
        overflow-wrap: anywhere;
    }

    .diploma-search-panel {
        display: grid !important;
        grid-template-columns: auto 1fr;
        border-radius: 18px !important;
        padding: 10px !important;
        gap: 8px;
    }

    .diploma-search-panel .btn {
        grid-column: 1 / -1;
        min-height: 50px;
        width: 100%;
    }

    .diploma-card-modern .row {
        flex-direction: column !important;
    }

    .diploma-card-modern [style*="min-height: 420px"] {
        min-height: 260px !important;
    }

    .diploma-card-copy {
        padding-inline: 0 !important;
        text-align: start;
    }

    .diploma-title {
        font-size: 1.55rem !important;
    }

    .diploma-excerpt {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .gallery-album-card,
    .card-img-top {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

/* =========================================================
   Mobile app-like experience
   ========================================================= */
.mobile-menu-head,
.mobile-nav-icon,
.mobile-action-dock {
    display: none;
}

.mobile-menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    background: rgba(11, 43, 77, 0.06);
    transition: transform 0.2s ease, background 0.2s ease;
}

.mobile-menu-toggle i {
    font-size: 1.55rem;
    line-height: 1;
}

.mobile-menu-toggle:active {
    transform: scale(0.94);
}

@media (max-width: 991.98px) {
    html,
    body,
    body.public-site {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden !important;
        overscroll-behavior-x: none;
    }

    body.public-menu-open {
        overflow: hidden !important;
    }

    body.public-site {
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
        background: #f6f8fb;
    }

    .navbar-floating {
        left: max(10px, env(safe-area-inset-left));
        right: max(10px, env(safe-area-inset-right));
        top: max(8px, env(safe-area-inset-top));
        width: auto !important;
        max-width: none;
        transform: none !important;
        border-radius: 18px;
        padding: 0.55rem 0.65rem;
        box-shadow: 0 14px 36px rgba(10, 25, 41, 0.15);
    }

    .navbar-floating .container-fluid {
        padding-inline: 0;
        min-width: 0;
    }

    .navbar-brand {
        max-width: calc(100vw - 92px);
        min-width: 0;
        padding: 0;
    }

    .navbar-brand span {
        font-size: 1.02rem;
        line-height: 1;
    }

    .brand-logo {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }

    .navbar-floating .navbar-collapse,
    .navbar-floating .navbar-collapse.collapsing {
        position: fixed;
        top: calc(-1 * max(9px, env(safe-area-inset-top)));
        left: calc(-1 * max(10px, env(safe-area-inset-left)));
        right: auto;
        bottom: auto;
        z-index: 2000;
        margin: 0;
        padding: calc(22px + env(safe-area-inset-top)) 18px calc(22px + env(safe-area-inset-bottom));
        max-height: none;
        height: 100dvh !important;
        width: calc(100dvw + max(10px, env(safe-area-inset-left)));
        overflow-y: auto;
        border: 0;
        border-radius: 0;
        background:
            radial-gradient(circle at 20% 0%, rgba(0, 180, 216, 0.16), transparent 30%),
            linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,248,251,0.98));
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: none;
    }

    body.public-menu-open {
        overflow: hidden;
        touch-action: none;
    }

    .navbar-floating .navbar-collapse.collapsing {
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .navbar-floating .navbar-collapse:not(.show) {
        pointer-events: none;
    }

    .mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 22px;
    }

    .mobile-menu-kicker {
        display: block;
        color: var(--accent-color);
        font-size: 0.78rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0;
        margin-bottom: 4px;
    }

    .mobile-menu-head h3 {
        margin: 0;
        color: var(--primary-color);
        font-size: clamp(1.25rem, 6.4vw, 1.85rem);
        font-weight: 800;
    }

    .mobile-menu-close {
        width: 46px;
        height: 46px;
        border: 1px solid rgba(11, 43, 77, 0.1);
        border-radius: 14px;
        color: var(--primary-color);
        background: #fff;
        box-shadow: 0 10px 26px rgba(20, 32, 51, 0.08);
    }

    .navbar-floating .navbar-nav {
        width: 100%;
        gap: 10px;
        margin: 0 !important;
        padding: 0;
        text-wrap: nowrap;
    }

    .navbar-floating .nav-item {
        opacity: 0;
        transform: translateY(12px);
        animation: mobileMenuItem 0.34s ease forwards;
    }

    .navbar-floating .navbar-collapse.show .nav-item:nth-child(1) { animation-delay: 0.03s; }
    .navbar-floating .navbar-collapse.show .nav-item:nth-child(2) { animation-delay: 0.06s; }
    .navbar-floating .navbar-collapse.show .nav-item:nth-child(3) { animation-delay: 0.09s; }
    .navbar-floating .navbar-collapse.show .nav-item:nth-child(4) { animation-delay: 0.12s; }
    .navbar-floating .navbar-collapse.show .nav-item:nth-child(5) { animation-delay: 0.15s; }
    .navbar-floating .navbar-collapse.show .nav-item:nth-child(6) { animation-delay: 0.18s; }
    .navbar-floating .navbar-collapse.show .nav-item:nth-child(7) { animation-delay: 0.21s; }

    @keyframes mobileMenuItem {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .navbar-floating .nav-link {
        min-height: 58px;
        padding: 0.8rem 1rem !important;
        border: 1px solid rgba(20, 32, 51, 0.08);
        border-radius: 16px;
        background: #fff;
        color: var(--primary-color) !important;
        font-size: 1.02rem;
        font-weight: 800;
        box-shadow: 0 10px 24px rgba(20, 32, 51, 0.055);
        justify-content: flex-start;
        gap: 12px;
    }

    html[dir="rtl"] .navbar-floating .nav-link {
        justify-content: flex-start;
    }

    .mobile-nav-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 11px;
        color: var(--accent-color);
        background: rgba(0, 180, 216, 0.1);
        font-size: 1.05rem;
        flex: 0 0 34px;
    }

    .navbar-floating .nav-link.active {
        color: #fff !important;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        border-color: transparent;
        box-shadow: 0 16px 32px rgba(0, 168, 232, 0.22);
    }

    .navbar-floating .nav-link.active .mobile-nav-icon {
        color: #fff;
        background: rgba(255, 255, 255, 0.18);
    }

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

    .navbar-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px !important;
        width: 100%;
        margin: 18px 0 0 !important;
        padding: 18px 0 0 !important;
        border: 0 !important;
        border-top: 1px solid rgba(20, 32, 51, 0.08) !important;
    }

    .navbar-actions .btn {
        grid-column: 1 / -1;
        min-height: 54px;
        border-radius: 16px !important;
    }

    .nav-utility-link,
    .language-switch {
        min-height: 50px;
        border: 1px solid rgba(20, 32, 51, 0.08) !important;
        border-radius: 14px;
        background: #fff;
        justify-content: center;
    }

    .mobile-action-dock {
        position: fixed;
        left: max(12px, env(safe-area-inset-left));
        right: max(12px, env(safe-area-inset-right));
        bottom: max(10px, env(safe-area-inset-bottom));
        z-index: 1040;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, 0.76);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: 0 16px 38px rgba(10, 25, 41, 0.18);
        transition: transform 0.22s ease, opacity 0.22s ease;
    }

    body.public-menu-open .mobile-action-dock {
        opacity: 0;
        transform: translateY(110%);
        pointer-events: none;
    }

    .mobile-action-dock.is-hidden {
        opacity: 0;
        transform: translateY(calc(100% + 20px));
        pointer-events: none;
    }

    .mobile-action-dock a {
        min-width: 0;
        min-height: 54px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        border-radius: 15px;
        color: var(--primary-color);
        text-decoration: none;
        font-size: 0.74rem;
        font-weight: 800;
        line-height: 1.15;
        position: relative;
        overflow: hidden;
        transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
    }

    .mobile-action-dock a i {
        font-size: 1.2rem;
    }

    .mobile-action-dock a.active,
    .mobile-action-dock a:active {
        color: #fff;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        transform: translateY(-2px);
    }

    .hero-swiper {
        min-height: 100svh;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .hero-swiper .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .hero-swiper .container {
        width: 100%;
        max-width: 100%;
        padding-inline: 22px;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero-swiper h1 {
        max-width: 100%;
        font-size: clamp(2.05rem, 10vw, 3.1rem);
        line-height: 1.18;
        margin-inline: auto;
        overflow-wrap: anywhere;
    }

    .hero-swiper .lead {
        max-width: 100%;
        margin-inline: auto;
        font-size: clamp(1rem, 4.2vw, 1.18rem);
        line-height: 1.85;
    }

    .hero-proof-row {
        display: grid;
        grid-template-columns: 1fr;
        width: min(100%, 320px);
        margin: -14px auto 24px;
        gap: 8px;
    }

    .hero-proof-row span {
        justify-content: center;
        min-height: 42px;
        font-size: 0.86rem;
    }

    .hero-swiper .btn,
    .btn-primary-custom {
        position: relative;
        overflow: hidden;
    }

    .hero-swiper .btn {
        width: min(100%, 320px);
        min-height: 56px;
        justify-content: center;
        border-radius: 18px !important;
        font-size: 1.03rem;
    }

    .hero-pagination {
        bottom: 84px !important;
    }

    .hero-pagination .swiper-pagination-bullet {
        width: 9px;
        height: 9px;
    }

    .btn-primary-custom:active,
    .filter-pill:active,
    .card:active,
    .glass-card:active {
        transform: scale(0.98);
    }

    .card,
    .glass-card,
    .filter-pill,
    .btn {
        position: relative;
        overflow: hidden;
        -webkit-tap-highlight-color: transparent;
    }

    .btn::before,
    .filter-pill::before,
    .mobile-action-dock a::before,
    .navbar-floating .nav-link::before {
        content: '';
        position: absolute;
        left: var(--tap-x, 50%);
        top: var(--tap-y, 50%);
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.38);
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
        pointer-events: none;
    }

    .filter-pill::before,
    .mobile-action-dock a::before,
    .navbar-floating .nav-link::before {
        background: rgba(0, 180, 216, 0.16);
    }

    .tap-active::before {
        animation: tapRipple 0.48s ease-out;
    }

    @keyframes tapRipple {
        0% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
        100% {
            opacity: 0;
            transform: translate(-50%, -50%) scale(24);
        }
    }
}

@media (max-width: 380px) {
    .hero-swiper .container {
        padding-inline: 16px;
    }

    .navbar-floating {
        left: 8px;
        right: 8px;
    }

    .navbar-floating .navbar-collapse,
    .navbar-floating .navbar-collapse.collapsing {
        left: calc(-1 * max(10px, env(safe-area-inset-left)));
    }

    .mobile-action-dock {
        left: 8px;
        right: 8px;
    }

    .mobile-action-dock a span {
        font-size: 0.68rem;
    }
}

/* =========================================================
   Visual content enrichment
   ========================================================= */
.about-feature-section {
    padding: 72px 0 56px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.about-copy-panel {
    max-width: 680px;
}

html[dir="rtl"] .about-copy-panel {
    text-align: right;
}

html[dir="ltr"] .about-copy-panel {
    text-align: left;
}

.about-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border: 1px solid rgba(0, 180, 216, 0.18);
    border-radius: 999px;
    background: rgba(0, 180, 216, 0.08);
    color: var(--secondary-color);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.about-copy-panel h2 {
    max-width: 640px;
    margin-bottom: 18px;
    color: var(--primary-color);
    font-size: clamp(2rem, 3vw, 3.25rem);
    line-height: 1.18;
    font-weight: 800;
}

.about-copy-panel p {
    max-width: 640px;
    margin-bottom: 28px;
    color: #526173;
    font-size: 1.08rem;
    line-height: 2;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-actions .btn {
    min-height: 48px;
    padding-inline: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.about-visual-card {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 8px;
    background: #e9eef5;
    box-shadow: 0 24px 70px rgba(10, 25, 41, 0.16);
}

.about-visual-card img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}

.about-visual-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(180deg, rgba(11, 43, 77, 0), rgba(11, 43, 77, 0.78));
    pointer-events: none;
}

.about-visual-badge {
    position: absolute;
    inset-inline: 22px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(10, 25, 41, 0.18);
}

.about-visual-badge i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 180, 216, 0.12);
    color: var(--secondary-color);
    font-size: 1.15rem;
    flex: 0 0 38px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 36px;
}

.about-stat-card {
    min-height: 118px;
    padding: 22px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(10, 25, 41, 0.055);
    text-align: center;
}

.about-stat-card strong {
    display: block;
    color: var(--primary-color);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1;
    font-weight: 800;
}

.about-stat-card span:last-child {
    display: block;
    margin-top: 10px;
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.35;
}

.about-rich-content {
    margin-top: 36px;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(10, 25, 41, 0.07);
    color: #334155;
    font-size: 1rem;
    line-height: 1.95;
}

html[dir="rtl"] .about-rich-content {
    text-align: right;
}

html[dir="ltr"] .about-rich-content {
    text-align: left;
}

.about-rich-content section {
    padding: 0;
    margin: 0 0 34px;
}

.about-rich-content section:last-child {
    margin-bottom: 0;
}

.about-rich-content .container {
    width: auto;
    max-width: none;
    padding: 0;
}

.about-rich-content h1,
.about-rich-content h2,
.about-rich-content h3 {
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1.35;
}

.about-rich-content h1 {
    font-size: clamp(1.7rem, 2.4vw, 2.35rem);
    margin-bottom: 12px;
}

.about-rich-content h2 {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    margin: 0 0 14px;
}

.about-rich-content h3 {
    font-size: 1.08rem;
    margin: 0 0 10px;
}

.about-rich-content p {
    margin-bottom: 14px;
    color: #475569;
}

.about-rich-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    padding-inline-start: 1.25rem;
    margin: 18px 0 0;
}

.about-rich-content li {
    color: #475569;
    line-height: 1.75;
}

.about-rich-content .values-grid,
.about-rich-content .market-benefits,
.about-rich-content .vision-mission {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.about-rich-content .value-card,
.about-rich-content .benefit-item,
.about-rich-content .vision-box,
.about-rich-content .mission-box {
    height: 100%;
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 8px;
    background: #f8fafc;
}

.about-rich-content .cta-section {
    padding: 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(11, 43, 77, 0.96), rgba(0, 180, 216, 0.88));
    color: #fff;
}

.about-rich-content .cta-section h2,
.about-rich-content .cta-section p {
    color: #fff;
}

.about-rich-content a.btn-primary,
.about-rich-content a.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 6px 0;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.about-rich-content a.btn-primary {
    background: var(--secondary-color);
    color: #fff;
}

.about-rich-content a.btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 1px solid rgba(11, 43, 77, 0.12);
}

@media (max-width: 991.98px) {
    .about-feature-section {
        padding: 44px 0 36px;
    }

    .about-copy-panel h2,
    .about-copy-panel p {
        max-width: none;
    }

    .about-visual-card,
    .about-visual-card img {
        min-height: 340px;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-rich-content ul,
    .about-rich-content .values-grid,
    .about-rich-content .market-benefits,
    .about-rich-content .vision-mission {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .about-actions .btn {
        width: 100%;
    }

    .about-stats-grid {
        gap: 10px;
    }

    .about-stat-card {
        padding: 16px 12px;
        min-height: 104px;
    }
}

.visual-trust-strip {
    position: relative;
    margin-top: -42px;
    z-index: 5;
    padding: 0 0 42px;
}

.visual-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 44px rgba(20, 32, 51, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.visual-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    min-height: 88px;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #f8fbfd);
    border: 1px solid rgba(20, 32, 51, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.visual-trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(20, 32, 51, 0.1);
}

.visual-trust-item i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 10px 22px rgba(0, 168, 232, 0.18);
    font-size: 1.15rem;
}

.visual-trust-item strong,
.visual-trust-item span {
    display: block;
}

.visual-trust-item strong {
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.35;
}

.visual-trust-item span {
    color: var(--ink-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.academy-experience-section {
    position: relative;
    padding: 90px 0;
    background:
        linear-gradient(180deg, #fff 0%, #f7fafc 100%);
    overflow: hidden;
}

.experience-steps {
    display: grid;
    gap: 12px;
}

.experience-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(20, 32, 51, 0.08);
    box-shadow: 0 10px 24px rgba(20, 32, 51, 0.06);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.experience-step:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 180, 216, 0.28);
    box-shadow: 0 18px 38px rgba(20, 32, 51, 0.1);
}

.experience-step > span {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary-color);
    background: rgba(0, 180, 216, 0.1);
}

.experience-step strong {
    display: block;
    color: var(--ink);
    margin-bottom: 3px;
}

.experience-step p {
    margin: 0;
    color: var(--ink-muted);
    line-height: 1.65;
}

.experience-visual-board {
    position: relative;
    min-height: 560px;
    border-radius: 10px;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 26px 60px rgba(10, 25, 41, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: #0b2b4d;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.experience-visual-board:hover {
    transform: translateY(-4px);
    box-shadow: 0 34px 70px rgba(10, 25, 41, 0.22);
}

.experience-main-img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    display: block;
    filter: saturate(1.08) contrast(1.04);
    transition: transform 0.8s ease;
}

.experience-visual-board:hover .experience-main-img {
    transform: scale(1.04);
}

.experience-visual-board::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(11, 43, 77, 0.05), rgba(11, 43, 77, 0.76)),
        linear-gradient(90deg, rgba(0, 180, 216, 0.32), transparent 55%);
    pointer-events: none;
}

.experience-floating-card {
    position: absolute;
    z-index: 3;
    display: grid;
    gap: 4px;
    min-width: 170px;
    padding: 16px;
    border-radius: 10px;
    color: #fff;
    background: rgba(9, 25, 43, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.experience-floating-card i {
    font-size: 1.3rem;
    color: #61d7f5;
}

.experience-floating-card strong {
    font-size: 0.9rem;
    line-height: 1.4;
}

.experience-floating-card span {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
}

.experience-floating-card.card-top {
    top: 24px;
    inset-inline-start: 24px;
}

.experience-floating-card.card-bottom {
    bottom: 128px;
    inset-inline-end: 24px;
}

.experience-mini-gallery {
    position: absolute;
    z-index: 4;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.experience-mini-gallery img {
    height: 92px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.bg-gradient-dark {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}

.line-clamp-2,
.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    -webkit-line-clamp: 3;
}

@media (max-width: 991.98px) {
    .visual-trust-strip {
        margin-top: -24px;
        padding-bottom: 30px;
    }

    .visual-trust-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 10px;
        margin-inline: -10px;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
    }

    .visual-trust-grid::-webkit-scrollbar {
        display: none;
    }

    .visual-trust-item {
        min-width: 255px;
        scroll-snap-align: start;
        box-shadow: 0 12px 28px rgba(20, 32, 51, 0.09);
    }

    .academy-experience-section {
        padding: 64px 0;
    }

    .academy-experience-section .lead {
        font-size: 1rem;
    }

    .experience-visual-board {
        min-height: 470px;
    }

    .experience-main-img {
        min-height: 470px;
    }

    .experience-floating-card {
        min-width: 142px;
        padding: 13px;
    }

    .experience-floating-card.card-bottom {
        bottom: 112px;
    }

    .experience-mini-gallery img {
        height: 78px;
    }
}

@media (max-width: 575.98px) {
    .visual-trust-item {
        min-width: 235px;
    }

    .experience-step {
        padding: 14px;
    }

    .experience-visual-board {
        min-height: 430px;
        border-radius: 8px;
    }

    .experience-main-img {
        min-height: 430px;
    }

    .experience-floating-card.card-top {
        top: 16px;
        inset-inline-start: 16px;
    }

    .experience-floating-card.card-bottom {
        inset-inline-end: 16px;
        bottom: 104px;
    }

    .experience-mini-gallery {
        left: 14px;
        right: 14px;
        bottom: 14px;
        gap: 8px;
    }

    .experience-mini-gallery img {
        height: 70px;
    }
}

/* =========================================================
   Verify and diplomas refinement layer
   ========================================================= */
.verify-page {
    isolation: isolate;
}

.verify-shell {
    padding-top: 18px;
    padding-bottom: 18px;
}

.verify-heading h2,
.diploma-section-heading h2 {
    letter-spacing: 0;
}

.verify-search-card,
.verify-result-card,
.diploma-card-modern,
.stat-card-premium {
    border-radius: 8px !important;
}

.verify-result-card {
    border-width: 1px !important;
    border-color: rgba(25, 135, 84, 0.24) !important;
}

.verify-result-grid {
    background: #f7fafc !important;
    border: 1px solid rgba(20, 32, 51, 0.08);
}

.verify-result-grid h5,
.verify-result-grid h6 {
    overflow-wrap: anywhere;
}

.verify-page .btn {
    white-space: normal;
}

html[dir="rtl"] .verify-page,
html[dir="rtl"] .diploma-list-section,
html[dir="rtl"] .diploma-card-copy,
html[dir="rtl"] .diploma-search-panel input {
    text-align: right !important;
}

html[dir="rtl"] .verify-heading,
html[dir="rtl"] .diploma-hero .parallax-content,
html[dir="rtl"] .diploma-section-heading {
    text-align: right !important;
}

html[dir="rtl"] .verify-heading p,
html[dir="rtl"] .diploma-hero .lead {
    margin-right: 0 !important;
    margin-left: auto !important;
}

.diploma-hero {
    min-height: 48vh !important;
    background-attachment: scroll !important;
}

.diploma-hero::before,
.diploma-hero-decor {
    display: none !important;
}

.diploma-hero-overlay {
    background:
        linear-gradient(135deg, rgba(8, 30, 52, 0.9) 0%, rgba(10, 83, 123, 0.82) 62%, rgba(197, 160, 89, 0.32) 100%) !important;
}

.diploma-hero .container {
    max-width: 980px;
}

.diploma-hero .badge {
    border-radius: 8px !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
}

.diploma-hero h1 {
    font-size: clamp(2.35rem, 5.5vw, 4.6rem);
}

.diploma-hero .lead {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.86) !important;
}

.diploma-stats-section {
    margin-top: 0 !important;
    padding-top: 34px !important;
}

.diploma-stats-section [data-aos],
.diploma-feature-ribbon [data-aos],
.diploma-list-section [data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

.stat-card-premium {
    padding: 28px !important;
    box-shadow: 0 10px 26px rgba(20, 32, 51, 0.08) !important;
}

.stat-card-premium > .position-absolute {
    display: none !important;
}

.stat-card-premium h2 {
    font-size: clamp(2.2rem, 4.4vw, 3.25rem) !important;
    line-height: 1;
}

.stat-card-premium:hover {
    transform: translateY(-4px);
}

.stat-icon-wrapper {
    width: 62px;
    height: 62px;
    border-radius: 8px;
    font-size: 1.65rem;
    margin-bottom: 18px;
    transform: none;
}

.stat-icon-wrapper::after {
    border-radius: 8px;
}

.diploma-feature-ribbon .d-flex {
    min-height: 54px;
    padding: 10px 14px;
    border: 1px solid rgba(20, 32, 51, 0.08);
    border-radius: 8px;
    background: #fff;
}

.diploma-list-section {
    background: linear-gradient(180deg, #f4f7f6 0%, #ffffff 100%) !important;
}

.diploma-section-heading {
    max-width: 760px;
}

html[dir="ltr"] .diploma-section-heading {
    margin-inline: auto;
}

html[dir="rtl"] .diploma-section-heading {
    margin-inline-start: auto;
    margin-inline-end: 0;
}

.diploma-search-panel {
    border-radius: 8px !important;
    box-shadow: 0 12px 32px rgba(20, 32, 51, 0.08) !important;
}

.diploma-search-panel .btn {
    border-radius: 8px !important;
    min-width: 112px;
}

.diploma-card-modern {
    border-color: rgba(20, 32, 51, 0.09) !important;
    box-shadow: 0 16px 42px rgba(20, 32, 51, 0.08) !important;
}

.diploma-card-modern .card-glow {
    display: none !important;
}

.diploma-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 52px rgba(20, 32, 51, 0.12) !important;
}

.diploma-card-modern .rounded-4 {
    border-radius: 8px !important;
}

.diploma-card-modern img {
    min-height: 320px;
}

.diploma-card-copy {
    max-width: 760px;
}

.diploma-card-copy .badge {
    border-radius: 8px !important;
    letter-spacing: 0 !important;
}

.diploma-title {
    font-size: clamp(1.65rem, 3vw, 2.45rem) !important;
}

.diploma-excerpt {
    font-size: 1.05rem !important;
    margin-bottom: 1.7rem !important;
}

.feature-box {
    border-radius: 8px !important;
}

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

.diploma-actions .btn {
    border-radius: 8px !important;
}

html[dir="rtl"] .diploma-actions {
    justify-content: flex-start;
}

@media (max-width: 991.98px) {
    .verify-page {
        margin-top: 68px !important;
        min-height: auto !important;
    }

    .verify-shell {
        padding-top: 24px;
        padding-bottom: 88px;
    }

    .verify-heading {
        margin-bottom: 1.5rem !important;
    }

    .verify-heading h2 {
        font-size: clamp(1.7rem, 7vw, 2.25rem);
    }

    .verify-search-card,
    .verify-result-card {
        padding: 18px !important;
    }

    .verify-result-grid {
        padding: 18px !important;
        gap: 14px 0;
    }

    .verify-result-card .bi-check-circle-fill {
        font-size: 3.4rem !important;
    }

    .diploma-hero {
        margin-top: 72px !important;
        min-height: auto !important;
        padding: 84px 0 56px;
        text-align: start !important;
    }

    .diploma-hero .container {
        padding-inline: 18px;
        margin-top: 0 !important;
    }

    .diploma-hero h1 {
        font-size: clamp(2.2rem, 11vw, 3.25rem);
    }

    .diploma-hero .lead {
        font-size: 1.02rem !important;
    }

    .diploma-hero svg {
        height: 34px !important;
    }

    .diploma-stats-section {
        padding-top: 22px !important;
    }

    .stat-card-premium {
        padding: 22px !important;
    }

    .stat-card-premium .position-relative.z-1 {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 6px 14px;
        text-align: start;
    }

    .stat-card-premium .stat-icon-wrapper {
        grid-row: 1 / span 2;
        width: 54px;
        height: 54px;
        margin: 0;
        font-size: 1.45rem;
    }

    .stat-card-premium h2 {
        margin: 0 !important;
        font-size: clamp(2rem, 10vw, 2.55rem) !important;
    }

    .stat-card-premium h6 {
        letter-spacing: 0 !important;
        font-size: 0.85rem !important;
        line-height: 1.35;
        text-align: start;
    }

    .diploma-feature-ribbon .row {
        --bs-gutter-y: 0.7rem;
    }

    .diploma-feature-ribbon .col-6 {
        width: 100%;
    }

    .diploma-feature-ribbon .d-flex {
        justify-content: flex-start !important;
    }

    html[dir="rtl"] .diploma-feature-ribbon .d-flex {
        justify-content: flex-start !important;
    }

    .diploma-search-panel {
        display: grid !important;
        grid-template-columns: auto 1fr;
        gap: 8px;
        border-radius: 8px !important;
        padding: 10px !important;
    }

    .diploma-search-panel .btn {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 48px;
        margin: 0 !important;
    }

    .diploma-card-modern > .row {
        flex-direction: column !important;
    }

    .diploma-card-modern .col-lg-5,
    .diploma-card-modern .col-lg-7 {
        width: 100%;
    }

    .diploma-card-modern .col-lg-5 > div {
        min-height: 240px !important;
    }

    .diploma-card-modern img {
        min-height: 240px;
    }

    .diploma-card-modern .col-lg-7 {
        padding: 22px !important;
    }

    .diploma-card-copy {
        padding: 0 !important;
    }

    .diploma-excerpt {
        font-size: 0.98rem !important;
    }

    .diploma-card-modern .row.g-4.mb-5 {
        margin-bottom: 1.35rem !important;
    }

    .feature-box {
        padding: 12px !important;
    }

    .feature-box strong {
        font-size: 1rem !important;
    }

    .diploma-actions,
    .diploma-actions .btn {
        width: 100%;
    }

    .diploma-actions .btn {
        justify-content: center;
        min-height: 52px;
        padding-inline: 18px !important;
    }
}

@media (max-width: 575.98px) {
    .verify-page .row.g-3 > [class*="col-"],
    .verify-page .row.g-4 > [class*="col-"] {
        width: 100%;
    }

    .verify-page .img-thumbnail {
        width: 132px;
        height: 132px;
    }

    .verify-search-box .form-control {
        font-size: 1rem !important;
        letter-spacing: 1px !important;
    }

    .diploma-section-heading h2 {
        font-size: 1.75rem;
    }

    .diploma-card-modern .col-lg-5 {
        padding: 10px !important;
    }

    .diploma-card-modern .col-lg-5 > div,
    .diploma-card-modern img {
        min-height: 210px !important;
    }

    .diploma-title {
        font-size: 1.55rem !important;
    }

    .diploma-card-modern .badge {
        white-space: normal;
    }
}
