/* Public site styles shared by the homepage and registration pages. */
        :root {
            --primary: #0f2027;
            --secondary: #203a43;
            --accent: #d4af37;
            --accent-soft: rgba(212, 175, 55, 0.18);
            --text-light: #ffffff;
            --text-dark: #2b3336;
            --glass-bg: rgba(255, 255, 255, 0.08);
            --glass-border: rgba(255, 255, 255, 0.14);
            --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            --header-h: 84px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Tajawal', sans-serif;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: var(--header-h);
            overflow-anchor: none;
        }

        body {
            background-color: #f6f3ea;
            color: var(--text-dark);
            overflow-x: hidden;
        }

        .skip-link {
            position: absolute;
            top: -40px;
            right: 16px;
            background: var(--accent);
            color: var(--primary);
            padding: 8px 16px;
            z-index: 2000;
            border-radius: 8px;
            font-weight: 700;
            text-decoration: none;
        }

        .skip-link:focus { top: 16px; }

        header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            padding: 16px 5%;
            transition: var(--transition);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(to bottom, rgba(15, 32, 39, 0.72), transparent);
        }

        header.scrolled {
            background: rgba(15, 32, 39, 0.94);
            backdrop-filter: blur(16px);
            padding: 10px 5%;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
            border-bottom: 1px solid var(--glass-border);
        }

        .logo {
            color: var(--accent);
            font-size: 1.02rem;
            font-weight: 800;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 12px;
            z-index: 1001;
            max-width: min(420px, 62vw);
        }

        .logo img {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .logo:hover img { transform: rotate(-8deg) scale(1.06); }

        .nav-links {
            display: flex;
            gap: 16px;
            list-style: none;
        }

        .nav-links a {
            color: var(--text-light);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.98rem;
            position: relative;
            padding: 6px 0;
            transition: var(--transition);
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0%;
            height: 2px;
            background: var(--accent);
            transition: var(--transition);
        }

        .nav-links a:hover,
        .nav-links a:focus-visible {
            color: var(--accent);
            outline: none;
        }

        .nav-links a:hover::before,
        .nav-links a:focus-visible::before { width: 100%; }

        .menu-toggle {
            display: none;
            color: var(--text-light);
            font-size: 1.7rem;
            cursor: pointer;
            background: rgba(255,255,255,0.08);
            border: 1px solid var(--glass-border);
            width: 44px;
            height: 44px;
            border-radius: 12px;
            z-index: 1002;
        }

        .menu-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(8, 16, 20, 0.55);
            z-index: 999;
        }

        .menu-overlay.show { display: block; }

        .hero-slider {
            position: relative;
            width: 100%;
            height: 100vh;
            height: 100dvh;
            min-height: 100vh;
            min-height: 100dvh;
            background: #0f2027;
            overflow: hidden;
        }

        .hero-slider .swiper-wrapper {
            display: flex;
            width: 100%;
            height: 100%;
            box-sizing: border-box;
        }

        .swiper-slide {
            position: relative;
            flex-shrink: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: #0f2027;
        }

        .slide-bg {
            position: absolute;
            inset: 0;
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            z-index: 0;
            transform: scale(1.12);
            transition: transform 7s ease;
            filter: saturate(1.05);
        }

        .swiper-slide-active .slide-bg { transform: scale(1); }

        .overlay {
            position: absolute;
            inset: 0;
            background:
                linear-gradient(180deg, rgba(15, 32, 39, 0.28) 0%, rgba(15, 32, 39, 0.52) 45%, rgba(15, 32, 39, 0.88) 100%);
            z-index: 1;
        }

        .overlay::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                radial-gradient(circle at 12% 22%, rgba(212, 175, 55, 0.22) 0 2px, transparent 3px),
                radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.22) 0 1.5px, transparent 3px),
                radial-gradient(circle at 70% 76%, rgba(212, 175, 55, 0.18) 0 2px, transparent 3px);
            animation: sparkle 9s linear infinite;
            pointer-events: none;
        }

        .slide-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: var(--text-light);
            max-width: 860px;
            padding: 0 20px;
        }

        .slide-kicker {
            display: inline-block;
            color: var(--accent);
            border: 1px solid rgba(212, 175, 55, 0.45);
            background: rgba(212, 175, 55, 0.12);
            padding: 6px 16px;
            border-radius: 999px;
            font-size: 0.92rem;
            margin-bottom: 16px;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.8s ease 0.15s;
        }

        .slide-content h1 {
            font-size: clamp(2rem, 5.4vw, 4.1rem);
            font-weight: 800;
            color: var(--accent);
            margin-bottom: 16px;
            text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.9s ease 0.28s;
        }

        .slide-content p {
            font-size: clamp(1.05rem, 2.2vw, 1.45rem);
            margin-bottom: 28px;
            line-height: 1.9;
            opacity: 0;
            transform: translateY(24px);
            transition: all 0.9s ease 0.48s;
        }

        .slide-content .btn-glow {
            opacity: 0;
            transform: translateY(18px);
            transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s, color 0.35s, box-shadow 0.35s, background 0.35s;
        }

        .swiper-slide-active .slide-kicker,
        .swiper-slide-active .slide-content h1,
        .swiper-slide-active .slide-content p,
        .swiper-slide-active .slide-content .btn-glow {
            opacity: 1;
            transform: translateY(0);
        }

        .scroll-hint {
            position: absolute;
            bottom: 28px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 4;
            color: var(--accent);
            font-size: 1.3rem;
            animation: bounceDown 1.8s infinite;
            text-decoration: none;
        }

        .btn-glow {
            display: inline-block;
            padding: 14px 36px;
            background: transparent;
            color: var(--accent);
            border: 2px solid var(--accent);
            border-radius: 50px;
            font-size: 1.12rem;
            font-weight: bold;
            text-decoration: none;
            position: relative;
            overflow: hidden;
            transition: var(--transition);
            z-index: 1;
            cursor: pointer;
        }

        .btn-glow::before {
            content: '';
            position: absolute;
            top: 0; right: 0;
            width: 0%; height: 100%;
            background: var(--accent);
            z-index: -1;
            transition: var(--transition);
        }

        .btn-glow:hover,
        .btn-glow:focus-visible {
            color: var(--primary);
            box-shadow: 0 0 24px rgba(212, 175, 55, 0.55);
            outline: none;
        }

        .btn-glow:hover::before,
        .btn-glow:focus-visible::before { width: 100%; }

        .btn-solid {
            background: var(--accent);
            color: var(--primary);
        }

        .btn-solid:hover { box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4); }

        .swiper-button-next,
        .swiper-button-prev {
            color: var(--accent) !important;
            background: rgba(255,255,255,0.12);
            width: 54px !important;
            height: 54px !important;
            border-radius: 50%;
            backdrop-filter: blur(6px);
            transition: var(--transition);
        }

        .swiper-button-next:after,
        .swiper-button-prev:after { font-size: 18px !important; }

        .swiper-button-next:hover,
        .swiper-button-prev:hover {
            background: var(--accent);
            color: var(--primary) !important;
            transform: scale(1.08);
        }

        .swiper-pagination-bullet {
            background: var(--text-light) !important;
            width: 10px !important;
            height: 10px !important;
            opacity: 0.7 !important;
        }

        .swiper-pagination-bullet-active {
            background: var(--accent) !important;
            width: 28px !important;
            border-radius: 10px !important;
        }

        section {
            padding: 96px 5%;
            position: relative;
        }

        .section-header {
            text-align: center;
            margin-bottom: 52px;
        }

        .section-header h2 {
            font-size: clamp(1.9rem, 4vw, 2.8rem);
            color: var(--primary);
            display: inline-block;
            position: relative;
            padding-bottom: 16px;
        }

        .section-header h2::before,
        .section-header h2::after {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            background: var(--accent);
        }

        .section-header h2::before {
            bottom: 0;
            width: 72px;
            height: 3px;
            border-radius: 2px;
        }

        .section-header h2::after {
            bottom: -5px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            box-shadow: 0 0 0 4px #f6f3ea;
        }

        .branches .section-header h2::after { box-shadow: 0 0 0 4px #15262d; }

        .about-container {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            align-items: stretch;
            gap: 42px;
        }

        .about-text {
            font-size: 1.15rem;
            line-height: 2;
            color: #555;
        }

        .vision-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 18px;
            margin-top: 26px;
        }

        .vision-card {
            background: #fff;
            border-radius: 18px;
            padding: 22px;
            border-right: 4px solid var(--accent);
            box-shadow: 0 12px 28px rgba(15, 32, 39, 0.06);
            transition: var(--transition);
        }

        .vision-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 18px 36px rgba(212, 175, 55, 0.18);
        }

        .vision-card h3 {
            color: var(--primary);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .vision-card p {
            font-size: 1.02rem;
            line-height: 1.95;
            color: #555;
        }

        .founding-card {
            margin-bottom: 18px;
        }

        .about-features {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .feature-box {
            background: white;
            padding: 26px 18px;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 12px 28px rgba(15, 32, 39, 0.06);
            transition: var(--transition);
            border-bottom: 3px solid var(--accent);
        }

        .feature-box:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
        }

        .feature-box i {
            font-size: 2.1rem;
            color: var(--accent);
            margin-bottom: 12px;
            display: inline-block;
            animation: iconFloat 3.2s ease-in-out infinite;
        }

        .branches {
            background:
                radial-gradient(circle at 12% 20%, rgba(212, 175, 55, 0.12), transparent 28%),
                linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            overflow: hidden;
        }

        .branches .section-header h2 { color: white; }

        .events-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
        }

        .event-card {
            background: #fff;
            border-radius: 22px;
            padding: 34px 22px;
            text-align: center;
            border-top: 4px solid var(--accent);
            box-shadow: 0 12px 28px rgba(15, 32, 39, 0.06);
            transition: var(--transition);
        }

        .event-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 18px 36px rgba(212, 175, 55, 0.18);
        }

        .event-card i {
            font-size: 2.1rem;
            color: var(--accent);
            margin-bottom: 14px;
            display: inline-block;
        }

        .event-card h3 {
            color: var(--primary);
            font-size: 1.2rem;
            line-height: 1.7;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 22px;
        }

        .news-empty {
            grid-column: 1 / -1;
            text-align: center;
            color: #5c6b73;
            background: #fff;
            border-radius: 22px;
            padding: 36px 20px;
            border: 1px dashed rgba(212, 175, 55, 0.45);
        }

        .news-card {
            background: #fff;
            border-radius: 22px;
            overflow: hidden;
            box-shadow: 0 12px 28px rgba(15, 32, 39, 0.06);
            border-top: 4px solid var(--accent);
            display: flex;
            flex-direction: column;
            cursor: pointer;
            transition: var(--transition);
        }

        .news-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 18px 36px rgba(212, 175, 55, 0.18);
        }

        .news-cover,
        .news-cover-empty {
            width: 100%;
            height: 190px;
            object-fit: cover;
            background: linear-gradient(135deg, #0f2027, #203a43);
        }

        .news-cover-empty {
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            font-size: 2rem;
        }

        .news-card-body {
            padding: 18px 18px 20px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            flex: 1;
        }

        .news-card-body time {
            color: var(--accent);
            font-weight: 700;
            font-size: 0.9rem;
        }

        .news-card-body h3 {
            color: var(--primary);
            font-size: 1.15rem;
            line-height: 1.6;
            margin: 0;
        }

        .news-card-body p {
            color: #5c6b73;
            line-height: 1.8;
            margin: 0;
            flex: 1;
        }

        .news-more {
            align-self: flex-start;
            background: none;
            border: 0;
            color: var(--primary);
            font-weight: 800;
            cursor: pointer;
            padding: 0;
            font-family: inherit;
        }

        .news-modal {
            position: fixed;
            inset: 0;
            z-index: 80;
            background: rgba(15, 32, 39, 0.78);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 18px;
            overflow: auto;
        }

        .news-modal[hidden] { display: none; }

        .news-modal-card {
            background: #fff;
            width: min(920px, 100%);
            max-height: min(92vh, 960px);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border-radius: 24px;
            position: relative;
            box-shadow: 0 24px 60px rgba(15, 32, 39, 0.28);
        }

        .news-modal-close {
            position: absolute;
            top: 12px;
            left: 12px;
            z-index: 2;
            width: 42px;
            height: 42px;
            border: 0;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 4px 14px rgba(15, 32, 39, 0.16);
            cursor: pointer;
            font-size: 1.4rem;
            line-height: 1;
        }

        .news-modal-inner {
            overflow: auto;
            padding: 28px 28px 32px;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior: contain;
        }

        .news-modal-card time {
            display: inline-block;
            color: var(--accent);
            font-weight: 800;
            margin-bottom: 6px;
        }

        .news-modal-card h3 {
            color: var(--primary);
            margin: 0 0 14px;
            font-size: clamp(1.25rem, 2.4vw, 1.7rem);
            line-height: 1.6;
            padding-left: 36px;
        }

        .news-modal-card .news-text {
            white-space: pre-wrap;
            line-height: 1.95;
            color: #2b3336;
            font-size: 1.05rem;
            margin: 16px 0 0;
        }

        .news-gallery {
            display: grid;
            grid-template-columns: 1fr;
            gap: 14px;
            margin-top: 4px;
        }

        .news-gallery img {
            width: 100%;
            height: auto;
            max-width: 100%;
            display: block;
            object-fit: contain;
            background: #f7f3e8;
            border-radius: 16px;
            border: 1px solid rgba(212, 175, 55, 0.28);
        }

        @media (max-width: 700px) {
            .news-modal {
                padding: 0;
                align-items: stretch;
            }
            .news-modal-card {
                width: 100%;
                height: 100%;
                max-height: 100%;
                border-radius: 0;
            }
            .news-modal-inner {
                padding: 64px 18px 28px;
            }
            .news-modal-card h3 { padding-left: 0; }
            .news-modal-close { top: 10px; left: 10px; }
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 18px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .card {
            background: rgba(255, 255, 255, 0.07);
            backdrop-filter: blur(14px);
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 22px;
            padding: 28px 16px 24px;
            text-align: center;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            min-height: 248px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .card::before {
            content: '';
            position: absolute;
            inset: auto auto -40% -30%;
            width: 160%;
            height: 90%;
            background: radial-gradient(circle, rgba(212,175,55,0.22) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.5s;
            pointer-events: none;
        }

        .card:hover::before { opacity: 1; }

        .card:hover {
            transform: translateY(-12px);
            border-color: var(--accent);
            box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
        }

        .stage-num {
            width: 54px;
            height: 54px;
            margin: 0 auto 14px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            border: 2px solid var(--accent);
            color: var(--accent);
            font-weight: 800;
            font-size: 1.15rem;
            background: rgba(212, 175, 55, 0.08);
        }

        .card h3 {
            font-size: 1.12rem;
            margin-bottom: 8px;
            line-height: 1.55;
        }

        .card p {
            color: rgba(255, 255, 255, 0.78);
            font-size: 0.92rem;
            line-height: 1.7;
            margin: 0;
        }

        .stats {
            background: #fff;
            padding: 70px 5%;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 22px;
            text-align: center;
        }

        .stat-item {
            padding: 18px 10px;
            border-radius: 18px;
            transition: var(--transition);
        }

        .stat-item:hover { background: rgba(212, 175, 55, 0.08); }

        .stat-item h4 {
            font-size: clamp(2.2rem, 4vw, 3.4rem);
            color: var(--accent);
            font-weight: 800;
            margin-bottom: 8px;
            text-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
        }

        .stat-item p {
            font-size: 1.05rem;
            color: var(--primary);
            font-weight: 700;
        }

        .cta-band {
            padding: 70px 5%;
            text-align: center;
            background:
                linear-gradient(135deg, rgba(15,32,39,0.92), rgba(32,58,67,0.92)),
                radial-gradient(circle at center, #d4af37, #0f2027);
            color: #fff;
        }

        .cta-band h2 {
            color: var(--accent);
            font-size: clamp(1.7rem, 3.5vw, 2.4rem);
            margin-bottom: 12px;
        }

        .cta-band p {
            margin-bottom: 18px;
            color: rgba(255,255,255,0.84);
        }

        .reg-countdown {
            margin: 6px auto 22px;
            max-width: 640px;
        }

        .reg-countdown-label {
            margin: 0 0 14px;
            font-weight: 800;
            color: rgba(255,255,255,0.92);
        }

        .reg-countdown-grid {
            display: flex;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .reg-cd-unit {
            min-width: 74px;
            padding: 12px 10px;
            border: 1px solid rgba(212, 175, 55, 0.38);
            border-radius: 14px;
            background: rgba(255,255,255,0.08);
        }

        .reg-cd-unit b {
            display: block;
            font-size: 1.7rem;
            color: var(--accent);
            font-variant-numeric: tabular-nums;
            line-height: 1.1;
        }

        .reg-cd-unit span {
            display: block;
            margin-top: 4px;
            font-size: 0.82rem;
            color: rgba(255,255,255,0.76);
            font-weight: 700;
        }

        .page-hero .reg-countdown {
            margin-top: 22px;
        }

        footer {
            background: var(--primary);
            color: var(--text-light);
            position: relative;
        }

        .footer-wave {
            position: absolute;
            top: -1px; left: 0; width: 100%;
            overflow: hidden;
            line-height: 0;
        }

        .footer-wave svg {
            display: block;
            width: calc(100% + 1.3px);
            height: 60px;
        }

        .footer-wave .shape-fill { fill: #0f2027; }

        .cta-band + footer .footer-wave .shape-fill { fill: transparent; }
        .cta-band + footer .footer-wave { display: none; }

        .footer-content {
            padding: 80px 5% 36px;
            display: grid;
            grid-template-columns: 1.3fr 0.8fr 1fr;
            gap: 40px;
        }

        .footer-logo {
            font-size: 1.15rem;
            color: var(--accent);
            margin-bottom: 18px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 800;
        }

        .footer-col h3 {
            margin-bottom: 22px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: 0; right: 0;
            width: 40px; height: 2px;
            background: var(--accent);
        }

        .footer-col ul { list-style: none; }
        .footer-col ul li { margin-bottom: 14px; }

        .footer-col a {
            color: #bbb;
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-col a:hover {
            color: var(--accent);
            padding-right: 8px;
        }

        .social-icons {
            display: flex;
            gap: 12px;
            margin-top: 18px;
        }

        .social-icons a {
            width: 42px; height: 42px;
            background: var(--glass-bg);
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            color: white;
            transition: var(--transition);
        }

        .social-icons a:hover {
            background: var(--accent);
            color: var(--primary);
            transform: translateY(-5px);
        }

        .footer-bottom {
            text-align: center;
            padding: 18px;
            background: #091318;
            font-size: 0.88rem;
            color: #888;
        }

        @keyframes sparkle {
            0%, 100% { opacity: 0.45; transform: translateY(0); }
            50% { opacity: 1; transform: translateY(-8px); }
        }

        @keyframes bounceDown {
            0%, 100% { transform: translate(-50%, 0); opacity: 0.55; }
            50% { transform: translate(-50%, 8px); opacity: 1; }
        }

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

        @media (max-width: 1100px) {
            .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
            .news-grid { grid-template-columns: 1fr 1fr; }
            .stats-grid { grid-template-columns: 1fr 1fr; }
            .about-container { grid-template-columns: 1fr; }
            .footer-content { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 1024px) {
            :root { --header-h: 72px; }

            header,
            header.scrolled {
                padding: 10px 4%;
                background: rgba(15, 32, 39, 0.95);
                backdrop-filter: blur(14px);
            }

            .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }

            .nav-links {
                position: fixed;
                top: 0;
                right: -110%;
                width: min(300px, 84vw);
                height: 100%;
                height: 100dvh;
                background: rgba(15, 32, 39, 0.98);
                backdrop-filter: blur(16px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 28px;
                transition: right 0.35s ease;
                z-index: 1001;
                padding-top: env(safe-area-inset-top);
            }

            .nav-links.active { right: 0; }
            .nav-links a { font-size: 1.2rem; padding: 8px 0; }

            .hero-slider {
                height: 100vh;
                height: 100dvh;
                min-height: 100vh;
                min-height: 100dvh;
            }

            .slide-content { padding: 0 18px 70px; }
            .swiper-button-next,
            .swiper-button-prev { display: none; }
            .swiper-pagination { bottom: 18px !important; }

            section { padding: 64px 5%; }
            .vision-grid,
            .about-features { grid-template-columns: 1fr 1fr; }
            .card:hover,
            .feature-box:hover,
            .vision-card:hover,
            .event-card:hover,
            .news-card:hover { transform: translateY(-6px); }
            .scroll-hint { bottom: 18px; }
        }

        @media (max-width: 640px) {
            .cards-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
            .stats-grid,
            .vision-grid,
            .about-features,
            .events-grid,
            .news-grid,
            .footer-content { grid-template-columns: 1fr; }

            .news-gallery { grid-template-columns: 1fr; }

            .card { min-height: 210px; padding: 22px 12px 18px; }
            .card h3 { font-size: 1rem; }

            .feature-box { padding: 22px 14px; }
            .cta-band { padding: 54px 5%; }
            .footer-content { padding-top: 54px; }
            .logo img { width: 46px; height: 46px; }
            .btn-glow { width: 100%; max-width: 280px; text-align: center; }
            .page-loader span { padding: 0 18px; text-align: center; }
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation: none !important;
                transition: none !important;
            }
            .slide-bg { transform: none !important; }
        }
body.inner-page header,
header.solid {
    background: rgba(15, 32, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 5%;
}

.page-hero {
    margin-top: 72px;
    padding: 70px 5% 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.6rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 1.15rem;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.88);
}

.hero-links {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-links a {
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 8px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.register-wrap,
.wrap {
    padding: 50px 5% 80px;
}

.register-form {
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    padding: 42px;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(15, 32, 39, 0.08);
}

.form-section { margin-bottom: 34px; }

.form-section h2 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0e6c4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h2 i { color: var(--accent); }

.stage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.stage-option,
.choice { position: relative; }

.stage-option input,
.choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.stage-option label,
.choice label {
    display: block;
    text-align: center;
    padding: 18px 12px;
    border: 2px solid #e6eceb;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    background: #fafcfc;
    font-weight: 700;
    color: var(--primary);
}

.stage-option small {
    display: block;
    margin-top: 6px;
    font-weight: 400;
    color: #777;
    font-size: 0.85rem;
}

.stage-option input:checked + label,
.stage-option label:hover,
.choice input:checked + label,
.choice label:hover {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.12);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label { font-weight: 700; color: var(--primary); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8ea;
    border-radius: 12px;
    font-size: 1rem;
    background: #fafcfc;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
    background: #fff;
}

.juz-range,
.juz-box {
    margin-top: 18px;
    padding: 18px 16px;
    border: 1px dashed rgba(212, 175, 55, 0.55);
    border-radius: 16px;
    background: #fffdf6;
}

.juz-range h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: var(--primary);
}

.juz-range p {
    margin: 0 0 14px;
    color: #5c6b73;
    line-height: 1.7;
}

.juz-range-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.juz-summary {
    margin-top: 12px;
    font-weight: 700;
    color: var(--primary);
}

.hint { font-size: 0.85rem; color: #888; }

.form-actions { margin-top: 10px; text-align: center; }

.form-message {
    display: none;
    margin-top: 18px;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
}

.form-message.success { display: block; background: #e8f6ee; color: #1d6b3d; }
.form-message.error { display: block; background: #fdecec; color: #8a1f1f; }

.news-share {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.news-share a,
.news-share button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}

.news-share .wa {
    background: #25d366;
    color: #fff;
}

.news-share .copy {
    background: #0f2027;
    color: #d4af37;
}

.news-article {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(15, 32, 39, 0.08);
}

.news-article img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    background: #f6f3ea;
    border-radius: 16px;
    margin: 12px 0;
}

.news-article .news-text {
    white-space: pre-wrap;
    line-height: 1.9;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .form-grid,
    .juz-range-grid,
    .choice-grid { grid-template-columns: 1fr; }
    .register-form { padding: 24px; }
    .page-hero h1 { font-size: 1.9rem; }
    .news-article { padding: 20px; }
}

body.inner-page footer {
    background: var(--primary);
    color: #888;
    text-align: center;
    padding: 22px;
    font-size: 0.9rem;
}

body.inner-page footer a { color: var(--accent); text-decoration: none; }
