:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dark: #8a6e28;
  --green-deep: #0d3320;
  --green-mid: #1a5c38;
  --green-light: #2e8b57;
  --cream: #f9f3e3;
  --cream-dark: #ede3c8;
  --white: #ffffff;
  --text-dark: #1a1209;
  --text-mid: #3d2f10;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── DECORATIVE PATTERN ── */
.pattern-bg {
  background-color: var(--green-deep);
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(201, 168, 76, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(201, 168, 76, 0.06) 0%,
      transparent 40%
    ),
    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");
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 51, 32, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.nav-logo span {
  font-family: "Amiri", serif;
  font-size: 1.3rem;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-links a:hover {
  color: var(--gold-light);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 100px 2rem 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--green-deep) 0%,
    #0a2818 60%,
    #041510 100%
  );
}

/* Islamic geometric border decoration */
.hero-deco {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-deco::before {
  content: "☪";
  position: absolute;
  top: -60px;
  right: -40px;
  font-size: 340px;
  color: rgba(201, 168, 76, 0.04);
  line-height: 1;
}

.hero-deco::after {
  content: "☪";
  position: absolute;
  bottom: -80px;
  left: -60px;
  font-size: 300px;
  color: rgba(201, 168, 76, 0.03);
  line-height: 1;
  transform: rotate(180deg);
}

/* Gold ornament lines */
.ornament-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: fadeIn 1.5s ease forwards;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-arabic {
  font-family: "Scheherazade New", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold-light);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  animation: riseUp 1s ease 0.2s both;
}

.hero-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  animation: riseUp 1s ease 0.4s both;
}

.hero-title {
  font-family: "Amiri", serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: riseUp 1s ease 0.5s both;
}

.hero-title span {
  color: var(--gold-light);
  display: block;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(249, 243, 227, 0.7);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  animation: riseUp 1s ease 0.7s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: riseUp 1s ease 0.9s both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--green-deep);
  padding: 0.9rem 2.2rem;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold-light);
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* scroll indicator */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: riseUp 1s ease 1.2s both;
}

.scroll-cue span {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: rgba(201, 168, 76, 0.6);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(0.5);
    opacity: 0.4;
  }
}

/* ── STATS STRIP ── */
.stats-strip {
  background: linear-gradient(
    90deg,
    var(--gold-dark),
    var(--gold),
    var(--gold-dark)
  );
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: "Amiri", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-top: 4px;
}

/* ── SECTION BASE ── */
section {
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: "Amiri", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--green-deep);
  line-height: 1.2;
}

.section-title.light {
  color: var(--white);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.divider-line {
  height: 1px;
  width: 60px;
  background: var(--gold);
  opacity: 0.5;
}

.divider-diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ── ABOUT ── */
.about-section {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-box {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--green-deep), var(--green-mid));
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Scheherazade New", serif;
  font-size: clamp(4rem, 10vw, 8rem);
  color: rgba(201, 168, 76, 0.2);
  position: relative;
  overflow: hidden;
}

.about-img-box::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 2px;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--green-deep);
  padding: 1.2rem;
  font-family: "Amiri", serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.about-badge .year {
  font-size: 2rem;
  line-height: 1;
  display: block;
}

.about-text h3 {
  font-family: "Amiri", serif;
  font-size: 1.6rem;
  color: var(--green-deep);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.feature-list li::before {
  content: "◈";
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── COURSES ── */
.courses-section {
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}

.courses-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2l-2 2-34 34v-2zm4 4L80 0h2L44 42l-2-2zm4 4L80 4h2L48 46l-2-2zm4 4L80 8h2L52 50l-2-2zm4 4L80 12h2L56 54l-2-2zm4 4L80 16h2L60 58l-2-2zm4 4L80 20h2L64 62l-2-2zm4 4L80 24h2L68 66l-2-2zm4 4L80 28h2L72 70l-2-2zm4 4L80 32h2L76 74l-2-2zm4 4L80 36h2l-2 2-2-2zm-2 2L80 40v2L78 40l2-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.course-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--gold), transparent);
  transition: height 0.4s ease;
}

.course-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-4px);
}

.course-card:hover::before {
  height: 100%;
}

.course-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.course-duration {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.course-name {
  font-family: "Amiri", serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.7rem;
}

.course-desc {
  font-size: 0.85rem;
  color: rgba(249, 243, 227, 0.55);
  line-height: 1.7;
}

.course-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.2rem;
}

.tag {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold-light);
  border-radius: 1px;
}

/* ── TEACHERS ── */
.teachers-section {
  background: var(--cream-dark);
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.teacher-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.teacher-card:hover {
  border-bottom-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.teacher-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Amiri", serif;
  font-size: 1.8rem;
  color: var(--gold-light);
  border: 3px solid var(--gold-light);
}

.teacher-name {
  font-family: "Amiri", serif;
  font-size: 1.2rem;
  color: var(--green-deep);
  margin-bottom: 0.3rem;
}

.teacher-subject {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.teacher-exp {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.5rem;
}

/* ── FACILITIES ── */
.facilities-section {
  background: var(--cream);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.facility-item {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid var(--cream-dark);
  transition: all 0.3s;
}

.facility-item:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}

.facility-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.facility-name {
  font-family: "Amiri", serif;
  font-size: 1.1rem;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

.facility-desc {
  font-size: 0.8rem;
  color: #777;
  line-height: 1.6;
}

/* ── ADMISSION ── */
.admission-section {
  background: linear-gradient(135deg, var(--green-deep), #0a2818);
  position: relative;
  overflow: hidden;
}

.admission-section::after {
  content: "﷽";
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Scheherazade New", serif;
  font-size: 12rem;
  color: rgba(201, 168, 76, 0.04);
  line-height: 1;
  pointer-events: none;
}

.admission-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.admission-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 2.5rem;
  margin-top: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--cream);
  padding: 0.75rem 1rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(249, 243, 227, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select option {
  background: var(--green-deep);
}

.form-full {
  grid-column: 1 / -1;
}

.form-submit {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--green-deep);
  border: none;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.form-submit:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}

/* ── CONTACT ── */
.contact-section {
  background: var(--cream-dark);
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.contact-info h3 {
  font-family: "Amiri", serif;
  font-size: 1.5rem;
  color: var(--green-deep);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.contact-item-icon {
  width: 36px;
  height: 36px;
  background: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item-text {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.contact-item-text strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 2px;
}

.timing-box {
  background: var(--green-deep);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.timing-box h4 {
  font-family: "Amiri", serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.timing-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(249, 243, 227, 0.7);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.timing-row:last-child {
  border-bottom: none;
}
.timing-row span:last-child {
  color: var(--gold);
}

/* ── FOOTER ── */
footer {
  background: var(--text-dark);
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.footer-arabic {
  font-family: "Scheherazade New", serif;
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.footer-name {
  font-family: "Amiri", serif;
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(249, 243, 227, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(249, 243, 227, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
}

/* ── ANIMATIONS ── */
@keyframes riseUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ── FLOATING WHATSAPP BUTTON ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  background: #25d366;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.7);
}
.whatsapp-tooltip {
  position: absolute;
  left: 68px;
  background: #111;
  color: #fff;
  font-size: 0.78rem;
  font-family: 'Poppins', sans-serif;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  /* NAVBAR */
  nav {
    padding: 0 1rem;
  }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(13, 51, 32, 0.98);
    backdrop-filter: blur(12px);
    padding: 1.5rem 1.5rem 2rem;
    gap: 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    z-index: 99;
  }
  .nav-links.open li {
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  }
  .nav-links.open li:last-child {
    border-bottom: none;
  }
  .nav-links.open a {
    display: block;
    padding: 0.9rem 0;
    font-size: 0.95rem;
  }
  .hamburger {
    display: flex !important;
  }
  .nav-logo-img {
    height: 38px;
  }

  /* HERO */
  .hero {
    padding: 90px 1.2rem 4rem;
    text-align: center;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
  }
  .hero-arabic {
    font-size: 1.6rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  .ornament-line {
    display: none;
  }
  .scroll-cue {
    display: none;
  }

  /* STATS */
  .stats-strip {
    gap: 1.5rem;
    padding: 1.2rem 1rem;
  }
  .stat-num {
    font-size: 1.5rem;
  }

  /* SECTIONS */
  section {
    padding: 3.5rem 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  /* ABOUT */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-img-box {
    aspect-ratio: 16/9;
  }
  .about-badge {
    right: 0;
    bottom: -10px;
  }

  /* COURSES */
  .courses-grid {
    grid-template-columns: 1fr;
  }

  /* FACILITIES */
  .facilities-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* ADMISSION FORM */
  .form-row {
    grid-template-columns: 1fr;
  }
  .admission-form {
    padding: 1.5rem 1rem;
  }

  /* CONTACT */
  .contact-section {
    padding: 3.5rem 1.2rem;
    overflow: hidden;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
  }
  .contact-info {
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }
  .timing-box {
    padding: 1.2rem;
    margin-top: 1.5rem;
    width: 100%;
    box-sizing: border-box;
    border-radius: 4px;
  }
  .timing-box h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  .timing-row {
    font-size: 0.75rem;
    flex-wrap: wrap;
    gap: 0.2rem;
    justify-content: space-between;
    padding: 0.6rem 0;
  }
  .timing-row span {
    white-space: normal;
    overflow: visible;
    max-width: 100%;
  }
  .contact-brand-panel {
    height: auto;
    padding: 2rem 1.2rem;
    width: 100%;
    min-width: 0;
    gap: 0.8rem;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 4px;
  }
  .contact-logo-img {
    height: 45px;
  }
  .contact-brand-name {
    font-size: 1.3rem;
  }
  .contact-brand-tagline {
    font-size: 0.85rem;
  }
  .contact-brand-desc {
    font-size: 0.75rem;
    line-height: 1.5;
  }
  .contact-brand-link {
    font-size: 0.7rem;
    padding: 0.6rem 1.2rem;
    margin-top: 0.8rem;
  }

  /* FOOTER */
  .footer-links {
    gap: 1rem;
  }
  footer {
    padding: 2rem 1rem 1.5rem;
  }
}

@media (max-width: 420px) {
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    gap: 1rem;
  }
  .stat-num {
    font-size: 1.3rem;
  }
}

/* ── NAV LOGO IMAGE ── */
.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* ── HAMBURGER BUTTON ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold-light);
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── ABOUT LOGO IMAGE ── */
.about-logo-img {
  width: 120px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(201, 168, 76, 0.3));
}

/* ── ABOUT SECTION IMAGE ── */
.about-section-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── VISION SECTION ── */
.vision-section {
  background: var(--cream-dark);
}

.vision-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem 3rem;
}

.vision-para {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-mid);
}

/* ── ADMISSION SUBTITLE ── */
.admission-subtitle {
  color: rgba(249, 243, 227, 0.6);
  font-size: 0.88rem;
  margin-top: 1rem;
  line-height: 1.7;
}

/* ── CONTACT BRAND PANEL ── */
.contact-brand-panel {
  width: 100%;
  height: 380px;
  background: linear-gradient(145deg, var(--green-deep), #0a2818);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.2rem;
  border: 1px solid rgba(201, 168, 76, 0.15);
  padding: 2rem;
  text-align: center;
}

.contact-logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.contact-brand-name {
  font-family: "Amiri", serif;
  font-size: 1.6rem;
  color: var(--gold-light);
}

.contact-brand-tagline {
  font-size: 1rem;
  color: rgba(249, 243, 227, 0.75);
  font-style: italic;
}

.contact-brand-desc {
  font-size: 0.85rem;
  color: rgba(249, 243, 227, 0.55);
  line-height: 1.7;
}

.contact-brand-link {
  margin-top: 0.5rem;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
}

.contact-brand-link:hover {
  background: rgba(201, 168, 76, 0.1);
}
