      :root {
        --gold: #c9a84c;
        --gold-light: #e8c97a;
        --gold-dark: #8b6914;
        --deep: #0d1a0f;
        --deep2: #142318;
        --green: #1a3a22;
        --green2: #2a5534;
        --cream: #f5efe0;
        --cream2: #ede3cc;
        --text: #2c1a06;
        --text-light: #5a4a2a;
        --white: #fdfaf4;
      }

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

      html {
        scroll-behavior: smooth;
      }

      body {
        font-family: Georgia, "Times New Roman", serif;
        background: var(--cream);
        color: var(--text);
        overflow-x: hidden;
      }

      /* ── TOPBAR ── */
      .topbar {
        background: var(--deep);
        color: var(--gold-light);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 0.78rem;
        padding: 6px 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        letter-spacing: 0.04em;
        border-bottom: 1px solid var(--gold-dark);
      }
      .topbar a {
        color: var(--gold-light);
        text-decoration: none;
      }
      .topbar a:hover {
        color: var(--gold);
      }

      /* ── HEADER ── */
      header {
        background: var(--deep2);
        position: sticky;
        top: 0;
        z-index: 1000;
        border-bottom: 2px solid var(--gold-dark);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
      }

      .header-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 40px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 72px;
      }

      .logo-wrap {
        display: flex;
        align-items: center;
        gap: 14px;
        cursor: pointer;
        text-decoration: none;
      }

      .logo-emblem {
        width: 52px;
        height: 52px;
        background: linear-gradient(
          135deg,
          var(--gold-dark),
          var(--gold),
          var(--gold-dark)
        );
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        flex-shrink: 0;
        box-shadow:
          0 0 0 2px var(--gold-dark),
          0 0 0 4px var(--deep2),
          0 0 16px rgba(201, 168, 76, 0.4);
      }
      .logo-img-full {
        height: 64px;
        width: auto;
        max-width: 320px;
        object-fit: contain;
        filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
        display: block;
      }

      .logo-text {
        display: flex;
        flex-direction: column;
      }

      .logo-title {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        color: var(--gold);
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 0.08em;
      }

      .logo-sub {
        font-family: Georgia, "Times New Roman", serif;
        color: var(--gold-light);
        font-size: 0.78rem;
        opacity: 0.8;
        letter-spacing: 0.12em;
      }

      nav ul {
        list-style: none;
        display: flex;
        gap: 4px;
      }

      nav ul li a {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--cream2);
        text-decoration: none;
        padding: 6px 14px;
        border-radius: 3px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        transition: all 0.2s;
        border: 1px solid transparent;
        cursor: pointer;
        display: block;
      }

      nav ul li a:hover,
      nav ul li a.active {
        color: var(--gold);
        border-color: var(--gold-dark);
        background: rgba(201, 168, 76, 0.08);
      }

      .hamburger {
        display: none;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 6px;
      }
      .hamburger span {
        width: 26px;
        height: 2px;
        background: var(--gold);
        border-radius: 2px;
        transition: all 0.3s;
      }

      /* ── PAGES ── */
      .page {
        display: none;
      }
      .page.active {
        display: block;
      }

      /* ── HERO SLIDER ── */
      .hero {
        position: relative;
        height: 540px;
        overflow: hidden;
        background: var(--deep);
      }

      .slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity 1s ease;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .slide.active {
        opacity: 1;
      }

      .slide-bg {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        transform: scale(1.05);
        transition: transform 8s ease;
      }

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

      .slide-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
          135deg,
          rgba(13, 26, 15, 0.82) 0%,
          rgba(13, 26, 15, 0.45) 60%,
          rgba(13, 26, 15, 0.7) 100%
        );
      }

      .slide-content {
        position: relative;
        z-index: 2;
        text-align: center;
        padding: 0 40px;
        max-width: 800px;
      }

      .slide-arabic {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 2.8rem;
        color: var(--gold-light);
        line-height: 1.3;
        margin-bottom: 12px;
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.8s ease 0.3s;
      }

      .slide-title {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 1.8rem;
        color: var(--white);
        font-weight: 700;
        margin-bottom: 10px;
        letter-spacing: 0.06em;
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.8s ease 0.5s;
      }

      .slide-desc {
        font-size: 1rem;
        color: var(--cream2);
        line-height: 1.6;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.8s ease 0.7s;
      }

      .slide.active .slide-arabic,
      .slide.active .slide-title,
      .slide.active .slide-desc {
        opacity: 1;
        transform: translateY(0);
      }

      /* Slider controls */
      .slider-controls {
        position: absolute;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 10;
      }

      .slider-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: 2px solid var(--gold);
        background: transparent;
        cursor: pointer;
        transition: all 0.3s;
      }

      .slider-dot.active {
        background: var(--gold);
        box-shadow: 0 0 8px rgba(201, 168, 76, 0.7);
      }

      .slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        width: 44px;
        height: 44px;
        background: rgba(201, 168, 76, 0.15);
        border: 1px solid var(--gold-dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--gold);
        font-size: 1.1rem;
        transition: all 0.3s;
        backdrop-filter: blur(4px);
      }

      .slider-arrow:hover {
        background: rgba(201, 168, 76, 0.3);
        border-color: var(--gold);
      }

      .slider-arrow.prev {
        left: 24px;
      }
      .slider-arrow.next {
        right: 24px;
      }

      /* ── BISMILLAH BANNER ── */
      .bismillah-banner {
        background: linear-gradient(
          135deg,
          var(--deep2) 0%,
          var(--green) 50%,
          var(--deep2) 100%
        );
        border-top: 1px solid var(--gold-dark);
        border-bottom: 1px solid var(--gold-dark);
        text-align: center;
        padding: 28px 40px;
        position: relative;
        overflow: hidden;
      }

      .bismillah-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        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='%23c9a84c' fill-opacity='0.04'%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");
      }

      .bismillah-text {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 2.4rem;
        color: var(--gold);
        text-shadow: 0 2px 12px rgba(201, 168, 76, 0.3);
        position: relative;
        margin-bottom: 6px;
      }

      .five-pillars {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 0.78rem;
        color: var(--gold-light);
        letter-spacing: 0.15em;
        opacity: 0.85;
        position: relative;
      }

      /* ── SECTION COMMON ── */
      .section {
        padding: 64px 0;
      }

      .section-alt {
        background: var(--white);
      }

      .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 40px;
      }

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

      .section-label {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 0.68rem;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        color: var(--gold-dark);
        margin-bottom: 10px;
      }

      .section-title {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 1.9rem;
        color: var(--green);
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 14px;
      }

      .section-divider {
        width: 80px;
        height: 2px;
        background: linear-gradient(
          to right,
          transparent,
          var(--gold),
          transparent
        );
        margin: 0 auto;
      }

      .section-intro {
        max-width: 680px;
        margin: 18px auto 0;
        font-size: 1rem;
        line-height: 1.75;
        color: var(--text-light);
        font-style: italic;
      }

      /* ── WELCOME SECTION ── */
      .welcome-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
        margin-top: 48px;
      }

      .welcome-card {
        background: var(--white);
        border: 1px solid var(--cream2);
        border-top: 3px solid var(--gold);
        border-radius: 4px;
        padding: 32px 28px;
        transition: all 0.3s;
        position: relative;
        overflow: hidden;
      }

      .welcome-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(
          to right,
          var(--gold-dark),
          var(--gold),
          var(--gold-dark)
        );
      }

      .welcome-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
        border-color: var(--gold-dark);
      }

      .card-icon {
        width: 54px;
        height: 54px;
        background: linear-gradient(135deg, var(--green), var(--green2));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-bottom: 18px;
        box-shadow: 0 4px 12px rgba(26, 58, 34, 0.3);
      }

      .card-title {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 0.98rem;
        color: var(--green);
        margin-bottom: 12px;
        font-weight: 700;
      }

      .card-text {
        font-size: 0.9rem;
        line-height: 1.7;
        color: var(--text-light);
        margin-bottom: 18px;
      }

      .course-list {
        list-style: none;
        margin-bottom: 18px;
      }

      .course-list li {
        padding: 5px 0;
        padding-left: 18px;
        font-size: 0.88rem;
        color: var(--text);
        position: relative;
        border-bottom: 1px dotted var(--cream2);
      }

      .course-list li::before {
        content: "◆";
        position: absolute;
        left: 0;
        color: var(--gold);
        font-size: 0.5rem;
        top: 8px;
      }

      .aims-list {
        list-style: none;
      }

      .aims-list li {
        padding: 7px 0 7px 22px;
        font-size: 0.87rem;
        line-height: 1.5;
        color: var(--text);
        position: relative;
        border-bottom: 1px solid var(--cream2);
      }

      .aims-list li::before {
        content: "✦";
        position: absolute;
        left: 0;
        color: var(--gold);
        font-size: 0.6rem;
        top: 10px;
      }

      .btn {
        display: inline-block;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 0.68rem;
        letter-spacing: 0.14em;
        padding: 10px 22px;
        background: linear-gradient(135deg, var(--green), var(--green2));
        color: var(--gold-light);
        border-radius: 3px;
        cursor: pointer;
        transition: all 0.3s;
        border: 1px solid var(--gold-dark);
        text-decoration: none;
      }

      .btn:hover {
        background: linear-gradient(135deg, var(--gold-dark), var(--gold));
        color: var(--deep);
        box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
      }

      /* ── STATS BAND ── */
      .stats-band {
        background: linear-gradient(
          135deg,
          var(--deep2),
          var(--green),
          var(--deep2)
        );
        border-top: 1px solid var(--gold-dark);
        border-bottom: 1px solid var(--gold-dark);
        padding: 40px 0;
        position: relative;
        overflow: hidden;
      }

      .stats-band::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(
          ellipse at center,
          rgba(201, 168, 76, 0.06) 0%,
          transparent 70%
        );
      }

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

      .stat-item {
        padding: 20px;
        border-right: 1px solid rgba(201, 168, 76, 0.2);
      }

      .stat-item:last-child {
        border-right: none;
      }

      .stat-number {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 2.2rem;
        color: var(--gold);
        font-weight: 700;
        line-height: 1;
        margin-bottom: 6px;
      }

      .stat-label {
        font-size: 0.78rem;
        color: var(--cream2);
        letter-spacing: 0.1em;
        text-transform: uppercase;
        opacity: 0.8;
      }

      /* ── ABOUT PAGE ── */
      .about-hero {
        background: linear-gradient(135deg, var(--deep2), var(--green));
        padding: 56px 0;
        text-align: center;
        border-bottom: 2px solid var(--gold-dark);
      }

      .about-hero h2 {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 2rem;
        color: var(--gold);
        margin-bottom: 8px;
      }

      .about-hero p {
        color: var(--cream2);
        font-size: 0.95rem;
        opacity: 0.85;
      }

      .about-content {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 48px;
        align-items: start;
      }

      .about-text p {
        font-size: 0.95rem;
        line-height: 1.85;
        color: var(--text);
        margin-bottom: 18px;
      }

      .about-text h3 {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 1.1rem;
        color: var(--green);
        margin: 28px 0 12px;
      }

      .about-sidebar {
        background: var(--deep2);
        border: 1px solid var(--gold-dark);
        border-radius: 4px;
        padding: 28px;
        position: sticky;
        top: 90px;
      }

      .sidebar-title {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 0.88rem;
        color: var(--gold);
        margin-bottom: 18px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--gold-dark);
      }

      .sidebar-list {
        list-style: none;
      }

      .sidebar-list li {
        padding: 9px 0 9px 20px;
        font-size: 0.86rem;
        color: var(--cream2);
        position: relative;
        border-bottom: 1px solid rgba(201, 168, 76, 0.15);
        line-height: 1.5;
      }

      .sidebar-list li::before {
        content: "◆";
        position: absolute;
        left: 0;
        color: var(--gold);
        font-size: 0.45rem;
        top: 13px;
      }

      /* ── COURSES PAGE ── */
      .page-hero {
        background: linear-gradient(135deg, var(--deep2), var(--green));
        padding: 56px 0;
        text-align: center;
        border-bottom: 2px solid var(--gold-dark);
      }

      .page-hero h2 {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 2rem;
        color: var(--gold);
        margin-bottom: 8px;
      }

      .page-hero p {
        color: var(--cream2);
        font-size: 0.95rem;
      }

      .tabs {
        display: flex;
        justify-content: center;
        gap: 0;
        margin-bottom: 48px;
        border-bottom: 2px solid var(--cream2);
      }

      .tab-btn {
        padding: 14px 36px;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 0.78rem;
        letter-spacing: 0.12em;
        color: var(--text-light);
        cursor: pointer;
        border-bottom: 3px solid transparent;
        margin-bottom: -2px;
        transition: all 0.3s;
        background: none;
        border-top: none;
        border-left: none;
        border-right: none;
      }

      .tab-btn.active {
        color: var(--green);
        border-bottom-color: var(--gold);
      }

      .tab-btn:hover {
        color: var(--green);
      }

      .tab-content {
        display: none;
      }
      .tab-content.active {
        display: block;
      }

      .course-block {
        background: var(--white);
        border-left: 4px solid var(--gold);
        border-radius: 0 4px 4px 0;
        padding: 28px 32px;
        margin-bottom: 24px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
        transition: all 0.3s;
      }

      .course-block:hover {
        transform: translateX(4px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      }

      .course-block h3 {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 1.05rem;
        color: var(--green);
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .course-block h3::before {
        content: "";
        width: 28px;
        height: 2px;
        background: var(--gold);
      }

      .course-block p {
        font-size: 0.9rem;
        line-height: 1.8;
        color: var(--text);
      }

      /* ── ADMISSION PAGE ── */
      .admission-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: start;
      }

      .admission-box {
        background: var(--white);
        border: 1px solid var(--cream2);
        border-radius: 4px;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
      }

      .admission-box-header {
        background: linear-gradient(135deg, var(--green), var(--green2));
        padding: 18px 24px;
        border-bottom: 2px solid var(--gold-dark);
      }

      .admission-box-header h3 {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 0.9rem;
        color: var(--gold);
        letter-spacing: 0.08em;
      }

      .admission-box-body {
        padding: 24px;
      }

      .admission-list {
        list-style: none;
      }

      .admission-list li {
        padding: 9px 0 9px 22px;
        font-size: 0.87rem;
        line-height: 1.6;
        color: var(--text);
        position: relative;
        border-bottom: 1px solid var(--cream2);
      }

      .admission-list li:last-child {
        border-bottom: none;
      }

      .admission-list li::before {
        content: "◆";
        position: absolute;
        left: 0;
        color: var(--gold);
        font-size: 0.5rem;
        top: 12px;
      }

      .exam-section {
        margin-top: 20px;
      }

      .exam-type {
        background: var(--cream);
        border-left: 3px solid var(--gold);
        padding: 14px 18px;
        margin-bottom: 12px;
        border-radius: 0 3px 3px 0;
      }

      .exam-type h4 {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 0.78rem;
        color: var(--green);
        margin-bottom: 6px;
      }

      .exam-type p {
        font-size: 0.86rem;
        line-height: 1.6;
        color: var(--text-light);
      }

      /* ── GALLERY PAGE ── */
      .gallery-intro {
        text-align: center;
        margin-bottom: 40px;
      }

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

      .gallery-item {
        aspect-ratio: 1;
        background: var(--deep2);
        border-radius: 4px;
        overflow: hidden;
        position: relative;
        border: 1px solid var(--gold-dark);
        cursor: pointer;
        transition: all 0.3s;
      }

      .gallery-item:hover {
        transform: scale(1.02);
        border-color: var(--gold);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        z-index: 2;
      }

      .gallery-item .gal-inner {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--deep), var(--green));
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
      }

      .gallery-item .gal-inner span {
        font-size: 2rem;
        opacity: 0.5;
      }

      .gallery-item .gal-label {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 0.78rem;
        color: var(--gold-light);
        opacity: 0.7;
        letter-spacing: 0.05em;
        text-align: center;
        padding: 0 10px;
      }

      /* Gallery slider */
      .gallery-slider-wrap {
        position: relative;
        overflow: hidden;
        border-radius: 6px;
        margin-bottom: 40px;
        border: 2px solid var(--gold-dark);
      }

      .gallery-slider {
        display: flex;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
      }

      .gallery-slide {
        min-width: 100%;
        height: 360px;
        background: linear-gradient(135deg, var(--deep), var(--green));
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 16px;
      }

      .gallery-slide span {
        font-size: 4rem;
        opacity: 0.4;
      }

      .gallery-slide p {
        font-family: Georgia, "Times New Roman", serif;
        color: var(--gold-light);
        font-size: 1.1rem;
        opacity: 0.7;
      }

      .gal-prev,
      .gal-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        background: rgba(13, 26, 15, 0.7);
        border: 1px solid var(--gold-dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--gold);
        font-size: 1.1rem;
        z-index: 10;
        transition: all 0.3s;
        backdrop-filter: blur(4px);
      }

      .gal-prev:hover,
      .gal-next:hover {
        background: rgba(201, 168, 76, 0.25);
        border-color: var(--gold);
      }

      .gal-prev {
        left: 16px;
      }
      .gal-next {
        right: 16px;
      }

      /* ── CONTACT PAGE ── */
      .contact-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        gap: 48px;
        align-items: start;
      }

      .contact-form-wrap h3 {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 1.1rem;
        color: var(--green);
        margin-bottom: 24px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--cream2);
      }

      .form-group {
        margin-bottom: 20px;
      }

      .form-group label {
        display: block;
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--text-light);
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 7px;
      }

      .form-group input,
      .form-group textarea {
        width: 100%;
        padding: 12px 16px;
        background: var(--white);
        border: 1px solid var(--cream2);
        border-radius: 3px;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 0.9rem;
        color: var(--text);
        transition: all 0.3s;
        outline: none;
        appearance: none;
      }

      .form-group input:focus,
      .form-group textarea:focus {
        border-color: var(--gold-dark);
        box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
      }

      .form-group textarea {
        height: 130px;
        resize: vertical;
      }

      .contact-info-box {
        background: var(--deep2);
        border: 1px solid var(--gold-dark);
        border-radius: 4px;
        overflow: hidden;
      }

      .contact-info-header {
        background: linear-gradient(135deg, var(--green), var(--green2));
        padding: 20px 24px;
        border-bottom: 2px solid var(--gold-dark);
      }

      .contact-info-header h3 {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 0.88rem;
        color: var(--gold);
      }

      .contact-info-body {
        padding: 24px;
      }

      .contact-item {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        padding: 14px 0;
        border-bottom: 1px solid rgba(201, 168, 76, 0.15);
      }

      .contact-item:last-child {
        border-bottom: none;
      }

      .contact-icon {
        width: 38px;
        height: 38px;
        background: rgba(201, 168, 76, 0.1);
        border: 1px solid var(--gold-dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        flex-shrink: 0;
      }

      .contact-detail strong {
        display: block;
        font-size: 0.75rem;
        color: var(--gold-light);
        letter-spacing: 0.1em;
        text-transform: uppercase;
        margin-bottom: 4px;
      }

      .contact-detail span {
        font-size: 0.87rem;
        color: var(--cream2);
        line-height: 1.5;
      }

      .map-placeholder {
        margin-top: 20px;
        height: 140px;
        background: linear-gradient(135deg, var(--deep), var(--green));
        border: 1px solid var(--gold-dark);
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 8px;
      }

      .map-placeholder span {
        font-size: 1.8rem;
        opacity: 0.5;
      }

      .map-placeholder p {
        font-size: 0.78rem;
        color: var(--gold-light);
        opacity: 0.6;
        text-align: center;
        line-height: 1.5;
        padding: 0 20px;
      }

      /* ── FOOTER ── */
      footer {
        background: var(--deep);
        border-top: 2px solid var(--gold-dark);
        padding: 48px 0 24px;
      }

      .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 48px;
        margin-bottom: 40px;
      }

      .footer-brand .logo-title {
        font-size: 1rem;
        margin-bottom: 12px;
      }

      .footer-about {
        font-size: 0.87rem;
        color: var(--cream2);
        line-height: 1.7;
        opacity: 0.75;
        margin-bottom: 18px;
      }

      .footer-col h4 {
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 0.75rem;
        color: var(--gold);
        letter-spacing: 0.12em;
        margin-bottom: 16px;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--gold-dark);
      }

      .footer-links {
        list-style: none;
      }

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

      .footer-links a {
        font-size: 0.85rem;
        color: var(--cream2);
        text-decoration: none;
        opacity: 0.7;
        transition: all 0.2s;
        cursor: pointer;
      }

      .footer-links a:hover {
        opacity: 1;
        color: var(--gold-light);
        padding-left: 4px;
      }

      .footer-contact-list {
        list-style: none;
      }

      .footer-contact-list li {
        font-size: 0.85rem;
        color: var(--cream2);
        opacity: 0.7;
        margin-bottom: 8px;
        line-height: 1.5;
        display: flex;
        gap: 8px;
      }

      .footer-contact-list li span:first-child {
        flex-shrink: 0;
      }

      .footer-bottom {
        border-top: 1px solid var(--gold-dark);
        padding-top: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
      }

      .footer-bottom p {
        font-size: 0.78rem;
        color: var(--cream2);
        opacity: 0.55;
      }

      .footer-bottom a {
        color: var(--gold-light);
        text-decoration: none;
        opacity: 0.75;
      }

      /* ── DECORATIVE ORNAMENT ── */
      .ornament {
        text-align: center;
        color: var(--gold);
        font-size: 1.2rem;
        letter-spacing: 0.4em;
        opacity: 0.5;
        margin: 8px 0;
      }

      .gallery-item {
        position: relative;
        overflow: hidden;
      }
      .gallery-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(13, 26, 15, 0.92));
        color: var(--gold-light);
        font-size: 0.8rem;
        font-weight: 600;
        padding: 32px 14px 12px;
        text-align: center;
        font-family: Georgia, "Times New Roman", serif;
        letter-spacing: 0.03em;
        opacity: 0;
        transform: translateY(6px);
        transition:
          opacity 0.35s,
          transform 0.35s;
      }
      .gallery-item:hover .gallery-caption {
        opacity: 1;
        transform: translateY(0);
      }
      .gallery-item img {
        transition: transform 0.5s ease;
        display: block;
      }
      .gallery-item:hover img {
        transform: scale(1.06);
      }

      /* ── ANIMATIONS ── */
      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(24px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .page.active .section-header,
      .page.active .welcome-grid,
      .page.active .about-content,
      .page.active .admission-grid,
      .page.active .contact-grid,
      .page.active .gallery-grid {
        animation: fadeInUp 0.6s ease forwards;
      }

      /* ── RESPONSIVE ── */
      @media (max-width: 900px) {
        .topbar {
          display: none;
        }
        .header-inner {
          padding: 0 20px;
        }
        nav ul {
          display: none;
        }
        nav ul.open {
          display: flex;
          flex-direction: column;
          position: absolute;
          top: 72px;
          left: 0;
          right: 0;
          background: var(--deep2);
          border-bottom: 2px solid var(--gold-dark);
          padding: 12px;
          gap: 4px;
          z-index: 999;
        }
        .hamburger {
          display: flex;
        }
        .welcome-grid {
          grid-template-columns: 1fr;
        }
        .stats-grid {
          grid-template-columns: repeat(2, 1fr);
        }
        .about-content {
          grid-template-columns: 1fr;
        }
        .admission-grid {
          grid-template-columns: 1fr;
        }
        .contact-grid {
          grid-template-columns: 1fr;
        }
        .gallery-grid {
          grid-template-columns: repeat(2, 1fr);
        }
        .footer-grid {
          grid-template-columns: 1fr;
          gap: 32px;
        }
        .container {
          padding: 0 20px;
        }
        .hero {
          height: 360px;
        }
        .slide-title {
          font-size: 1.2rem;
        }
        .slide-arabic {
          font-size: 1.8rem;
        }
        .section {
          padding: 40px 0;
        }
        .section-title {
          font-size: 1.4rem;
        }
        .footer-bottom {
          flex-direction: column;
          text-align: center;
        }
      }

      @media (max-width: 600px) {
        .gallery-grid {
          grid-template-columns: repeat(2, 1fr);
        }
        .tabs {
          flex-wrap: wrap;
        }
        .tab-btn {
          padding: 10px 18px;
          font-size: 0.68rem;
        }
      }
