/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

/* ===== CSS Variables ===== */
:root {
  --color-primary: #0A192F;
  --color-secondary: #F8F9FA;
  --color-accent: #C5A059;
  --color-accent-light: #E5D5B7;
  --font-sans: "Cairo", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Cairo", serif;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: #fff;
  color: var(--color-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
}

/* ===== Layout ===== */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-grow {
  flex-grow: 1;
}

.min-h-screen {
  min-height: 100vh;
}

.container-custom {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media(min-width:640px) {
  .container-custom {
    padding: 0 1.5rem;
  }
}

@media(min-width:1024px) {
  .container-custom {
    padding: 0 2rem;
  }
}

/* ===== Buttons ===== */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 2rem;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 500;
  border-radius: .375rem;
  color: #fff;
  background: var(--color-primary);
  transition: all .3s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.btn-premium:hover {
  opacity: .9;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 2rem;
  border: 1px solid var(--color-primary);
  font-size: 1rem;
  font-weight: 500;
  border-radius: .375rem;
  color: var(--color-primary);
  background: transparent;
  transition: all .3s;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ===== Card ===== */
.card-premium {
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  border: 1px solid rgba(0, 0, 0, .05);
  overflow: hidden;
  transition: all .3s;
}

.card-premium:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, .1);
  transform: translateY(-4px);
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--color-primary);
  color: #fff;
  padding: .5rem 0;
  font-size: .875rem;
  transition: all .3s;
  overflow: hidden;
}

.top-bar.hidden-bar {
  height: 0;
  opacity: 0;
  padding: 0;
}

.top-bar .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar .info-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar .info-item {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.top-bar .info-item svg {
  color: var(--color-accent);
}

.top-bar .location {
  display: none;
}

@media(min-width:768px) {
  .top-bar .location {
    display: flex;
  }
}

/* ===== Navbar ===== */
header {
  position: fixed;
  width: 100%;
  z-index: 50;
  transition: all .3s;
  top: 0;
}

nav.main-nav {
  transition: all .3s;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  padding: 1.25rem 0;
}

nav.main-nav.scrolled {
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
  padding: .75rem 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-logo {
  width: 3rem;
  height: 3rem;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-brand-text .ar {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.nav-brand-text .en {
  color: var(--color-accent);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media(min-width:1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(10, 25, 47, .8);
  transition: color .3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-links .btn-premium {
  padding: .5rem 1.5rem;
  font-size: .875rem;
}

.mobile-toggle {
  display: block;
  color: var(--color-primary);
  background: none;
  border: none;
}

@media(min-width:1024px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 20px 25px rgba(0, 0, 0, .1);
  border-top: 1px solid #f3f4f6;
}

.mobile-nav.open {
  display: block;
  animation: slideDown .3s ease;
}

.mobile-nav .inner {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav a {
  font-size: 1.125rem;
  font-weight: 500;
  padding: .5rem 0;
  border-bottom: 1px solid #fafafa;
  color: var(--color-primary);
}

.mobile-nav a.active {
  color: var(--color-accent);
}

.mobile-nav .btn-premium {
  margin-top: 1rem;
  text-align: center;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 10;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: slowZoom 10s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  0% {
    transform: scale(1)
  }

  100% {
    transform: scale(1.1)
  }
}

.hero-content {
  position: relative;
  z-index: 20;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}

.hero-content .text-box {
  max-width: 42rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media(min-width:768px) {
  .hero-content h1 {
    font-size: 4.5rem;
  }
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: #e5e7eb;
  font-weight: 300;
  line-height: 1.8;
}

@media(min-width:768px) {
  .hero-content p {
    font-size: 1.5rem;
  }
}

.hero-content .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-content .btn-premium {
  background: var(--color-accent);
  color: var(--color-primary);
}

.hero-content .btn-premium:hover {
  background: var(--color-accent-light);
}

.hero-content .btn-outline {
  border-color: #fff;
  color: #fff;
}

.hero-content .btn-outline:hover {
  background: #fff;
  color: var(--color-primary);
}

/* Hero Navigation */
.hero-arrows {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  z-index: 30;
  display: flex;
  gap: 1rem;
}

.hero-arrows button {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all .3s;
}

.hero-arrows button:hover {
  background: #fff;
  color: var(--color-primary);
}

.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 30;
  display: flex;
  gap: .5rem;
}

.hero-dots button {
  height: 4px;
  transition: all .5s;
  border: none;
}

.hero-dots button.active {
  width: 3rem;
  background: var(--color-accent);
}

.hero-dots button:not(.active) {
  width: 1.5rem;
  background: rgba(255, 255, 255, .3);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  animation: bounce 2s infinite;
}

@media(min-width:768px) {
  .scroll-indicator {
    display: flex;
  }
}

.scroll-indicator span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .6);
}

.scroll-indicator .line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .6), transparent);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(10px)
  }
}

/* ===== Section Header ===== */
.section-header {
  margin-bottom: 4rem;
}

.section-header.center {
  text-align: center;
}

.section-header.right {
  text-align: right;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

@media(min-width:768px) {
  .section-header h2 {
    font-size: 2.25rem;
  }
}

.section-header.light h2 {
  color: #fff;
}

.section-header .bar {
  height: 4px;
  width: 5rem;
  background: var(--color-accent);
  margin-bottom: 1.5rem;
}

.section-header.center .bar {
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  font-size: 1.125rem;
  max-width: 42rem;
  line-height: 1.8;
  color: #4b5563;
}

.section-header.center p {
  margin-left: auto;
  margin-right: auto;
}

.section-header.light p {
  color: #d1d5db;
}

/* ===== Grid Layouts ===== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media(min-width:768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media(min-width:768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media(min-width:768px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid-2-lg {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media(min-width:1024px) {
  .grid-2-lg {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Sections ===== */
.section {
  padding: 6rem 0;
}

.section.bg-secondary {
  background: var(--color-secondary);
}

.section.bg-primary {
  background: var(--color-primary);
  color: #fff;
}

.section.pt-page {
  padding-top: 8rem;
  padding-bottom: 6rem;
}

/* ===== Overview Cards ===== */
.overview-card {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.overview-card .icon-wrap {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(10, 25, 47, .05);
  border-radius: 50%;
}

.overview-card .icon-wrap svg {
  color: var(--color-accent);
}

.overview-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.overview-card p {
  font-size: .875rem;
  line-height: 1.8;
  color: #4b5563;
}

/* ===== About Section ===== */
.about-img-wrap {
  position: relative;
}

.about-img-wrap .img-box {
  position: relative;
  z-index: 10;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
}

.about-img-wrap .img-box img {
  width: 100%;
  height: auto;
}

.about-img-wrap .decor-1 {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  width: 8rem;
  height: 8rem;
  background: rgba(197, 160, 89, .2);
  border-radius: 50%;
  filter: blur(48px);
  z-index: -1;
}

.about-img-wrap .decor-2 {
  position: absolute;
  bottom: -2.5rem;
  left: -2.5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(10, 25, 47, .05);
  border-radius: 50%;
  filter: blur(48px);
  z-index: -1;
}

.about-badge {
  position: absolute;
  bottom: 2.5rem;
  right: -2.5rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: .75rem;
  box-shadow: 0 20px 25px rgba(0, 0, 0, .1);
  z-index: 20;
  display: none;
}

@media(min-width:768px) {
  .about-badge {
    display: block;
  }
}

.about-badge .num {
  font-size: 2.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: .25rem;
}

.about-badge .label {
  font-size: .875rem;
  color: #6b7280;
}

.about-text h4 {
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.about-text h4 .line {
  width: 2rem;
  height: 1px;
  background: var(--color-accent);
}

.about-text p {
  color: #4b5563;
  line-height: 1.8;
}

.about-text .values {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.about-text .values span {
  padding: .25rem 1rem;
  background: var(--color-secondary);
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--color-primary);
  border: 1px solid rgba(10, 25, 47, .05);
}

/* ===== Academic Program Cards ===== */
.program-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-card .img-wrap {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.program-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.program-card:hover .img-wrap img {
  transform: scale(1.1);
}

.program-card .img-wrap .img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, .2);
  transition: background .3s;
}

.program-card:hover .img-wrap .img-overlay {
  background: rgba(10, 25, 47, .4);
}

.program-card .body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.program-card p {
  font-size: .875rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.program-card .link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--color-accent);
  font-weight: 700;
  font-size: .875rem;
  transition: gap .3s;
}

.program-card .link:hover {
  gap: 1rem;
}

/* ===== Student Life Grid ===== */
.student-life-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media(min-width:768px) {
  .student-life-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
  }

  .student-life-grid .span-2 {
    grid-column: span 2;
  }

  .student-life-grid .row-span-2 {
    grid-row: span 2;
  }
}

.activity-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
}

.activity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
  min-height: 250px;
}

.activity-card:hover img {
  transform: scale(1.1);
}

.activity-card .gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 47, .8), rgba(10, 25, 47, .2), transparent);
  opacity: .6;
  transition: opacity .3s;
}

.activity-card:hover .gradient {
  opacity: .8;
}

.activity-card .text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  transform: translateY(8px);
  transition: transform .3s;
}

.activity-card:hover .text {
  transform: translateY(0);
}

.activity-card h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

.activity-card .accent-line {
  width: 2.5rem;
  height: 4px;
  background: var(--color-accent);
  margin-top: .5rem;
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: right;
}

.activity-card:hover .accent-line {
  transform: scaleX(1);
}

/* ===== Events Section ===== */
.events-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media(min-width:768px) {
  .events-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.events-header .btn-outline {
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
  margin-bottom: .5rem;
}

.events-header .btn-outline:hover {
  background: #fff;
  color: var(--color-primary);
}

.event-card {
  cursor: pointer;
}

.event-card .img-wrap {
  position: relative;
  height: 16rem;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.event-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.event-card:hover .img-wrap img {
  transform: scale(1.1);
}

.event-card .cat {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: .25rem .75rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 700;
}

.event-card .date {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--color-accent);
  font-size: .875rem;
  margin-bottom: .75rem;
}

.event-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: color .3s;
}

.event-card:hover h3 {
  color: var(--color-accent);
}

.event-card .details {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .6);
  font-size: .875rem;
  transition: color .3s;
}

.event-card .details:hover {
  color: #fff;
}

/* ===== News Section ===== */
.news-card .img-wrap {
  position: relative;
  height: 14rem;
  overflow: hidden;
}

.news-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.news-card:hover .img-wrap img {
  transform: scale(1.1);
}

.news-card .body {
  padding: 2rem;
}

.news-card .meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .75rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.news-card .meta-item {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.news-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
  transition: color .3s;
}

.news-card:hover h3 {
  color: var(--color-accent);
}

.news-card p {
  font-size: .875rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--color-primary);
  font-weight: 700;
  font-size: .875rem;
  transition: color .3s;
}

.news-card .link:hover {
  color: var(--color-accent);
}

/* ===== Admissions Steps ===== */
.step-card {
  position: relative;
  text-align: center;
}

.step-card .line {
  display: none;
}

@media(min-width:1024px) {
  .step-card .line {
    display: block;
    position: absolute;
    top: 3rem;
    left: -1rem;
    width: 100%;
    height: 1px;
    background: rgba(197, 160, 89, .3);
    z-index: 0;
  }
}

.step-card .icon-circle {
  position: relative;
  z-index: 10;
  width: 6rem;
  height: 6rem;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 15px rgba(0, 0, 0, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 1px solid rgba(197, 160, 89, .1);
}

.step-card .step-num {
  position: absolute;
  top: -.5rem;
  right: -.5rem;
  width: 2rem;
  height: 2rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 700;
}

.step-card .icon-circle svg {
  color: var(--color-accent);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.step-card p {
  font-size: .875rem;
  color: #4b5563;
  line-height: 1.8;
}

/* ===== Forms ===== */
.form-box {
  max-width: 56rem;
  margin: 0 auto;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .05);
}

.form-box .form-header {
  background: var(--color-primary);
  padding: 2rem;
  color: #fff;
  text-align: center;
}

.form-box .form-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.form-box .form-header p {
  color: #9ca3af;
}

.form-box form {
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media(min-width:768px) {
  .form-box form {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: .875rem;
  font-weight: 700;
  color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: .5rem;
  border: 1px solid #e5e7eb;
  outline: none;
  transition: all .3s;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(197, 160, 89, .2);
}

.form-group textarea {
  height: 8rem;
  resize: vertical;
}

.form-submit {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 1rem;
}

/* ===== Footer ===== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media(min-width:768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand p {
  color: #9ca3af;
  font-size: .875rem;
  line-height: 1.8;
  margin-top: 1.5rem;
}

.footer-brand .social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-brand .social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.footer-brand .social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

footer h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--color-accent);
}

footer ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer ul li a {
  font-size: .875rem;
  color: #9ca3af;
  transition: color .3s;
}

footer ul li a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: .875rem;
  color: #9ca3af;
}

.footer-contact li svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: .75rem;
  color: #6b7280;
}

@media(min-width:768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom .links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom .links a:hover {
  color: #fff;
}

/* ===== Gallery ===== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.gallery-filters button {
  padding: .5rem 1.5rem;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  transition: all .3s;
}

.gallery-filters button.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 15px rgba(0, 0, 0, .1);
}

.gallery-filters button:not(.active) {
  background: var(--color-secondary);
  color: #4b5563;
}

.gallery-filters button:not(.active):hover {
  background: #e5e7eb;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media(min-width:640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, .4);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .hover-overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .95);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox .close-btn {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  color: #fff;
  transition: color .3s;
  background: none;
  border: none;
  cursor: pointer;
}

.lightbox .close-btn:hover {
  color: var(--color-accent);
}

.lightbox .nav-btn {
  position: absolute;
  color: #fff;
  transition: color .3s;
  background: none;
  border: none;
  cursor: pointer;
}

.lightbox .nav-btn:hover {
  color: var(--color-accent);
}

.lightbox .nav-btn.prev {
  left: 1rem;
}

@media(min-width:768px) {
  .lightbox .nav-btn.prev {
    left: 2.5rem;
  }
}

.lightbox .nav-btn.next {
  right: 1rem;
}

@media(min-width:768px) {
  .lightbox .nav-btn.next {
    right: 2.5rem;
  }
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: .5rem;
}

.lightbox .caption {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.125rem;
  font-family: var(--font-display);
}

/* ===== Contact Page ===== */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-card .icon-box {
  width: 3rem;
  height: 3rem;
  background: var(--color-secondary);
  border-radius: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card .icon-box svg {
  color: var(--color-accent);
}

.contact-info-card .label {
  font-size: .875rem;
  color: #9ca3af;
  margin-bottom: .25rem;
}

.contact-info-card .value {
  font-size: 1.125rem;
  font-weight: 500;
}

.contact-social {
  padding-top: 2rem;
  border-top: 1px solid #f3f4f6;
}

.contact-social h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.contact-social .icons {
  display: flex;
  gap: 1rem;
}

.contact-social .icons a {
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  box-shadow: 0 10px 15px rgba(0, 0, 0, .1);
}

.contact-social .icons a:hover {
  background: var(--color-accent);
}

.contact-form-box {
  background: #fff;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
  border: 1px solid rgba(0, 0, 0, .05);
}

.contact-form-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.contact-form-box form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-box .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media(min-width:768px) {
  .contact-form-box .row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.map-wrap {
  width: 100%;
  height: 500px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
  filter: grayscale(1);
  transition: filter .7s;
}

.map-wrap:hover {
  filter: grayscale(0);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== About Page ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-top: 1.5rem;
}

.stats-grid .stat .num {
  font-size: 2.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: .5rem;
}

.stats-grid .stat .label {
  font-size: .875rem;
  font-weight: 500;
  color: #6b7280;
}

.vision-box {
  background: var(--color-primary);
  color: #fff;
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
  position: relative;
  overflow: hidden;
}

@media(min-width:768px) {
  .vision-box {
    padding: 5rem;
  }
}

.vision-box .decor {
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(197, 160, 89, .1);
  border-radius: 50%;
  filter: blur(48px);
  transform: translate(50%, -50%);
}

.vision-box .inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media(min-width:768px) {
  .vision-box .inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vision-item {
  text-align: center;
}

.vision-item .circle {
  width: 4rem;
  height: 4rem;
  background: rgba(197, 160, 89, .2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.vision-item .circle span {
  color: var(--color-accent);
  font-size: 1.5rem;
  font-weight: 700;
}

.vision-item h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.vision-item p {
  font-size: .875rem;
  color: #9ca3af;
  line-height: 1.8;
}

/* ===== Programs Page ===== */
.program-detail {
  margin-bottom: 8rem;
  scroll-margin-top: 120px;
}

.program-detail:last-child {
  margin-bottom: 0;
}

.program-detail .img-box {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
}

.program-detail .img-box img {
  width: 100%;
  height: auto;
}

.program-detail .subtitle {
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .875rem;
  margin-bottom: 1rem;
  display: block;
}

.program-detail h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

@media(min-width:768px) {
  .program-detail h3 {
    font-size: 2.25rem;
  }
}

.program-detail .desc {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.program-detail .features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.program-detail .features li {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--color-primary);
  font-weight: 500;
}

.program-detail .features li svg {
  color: var(--color-accent);
}

.program-detail .cta {
  margin-top: 2.5rem;
}

@media(min-width:1024px) {
  .program-detail.reverse .img-box {
    order: 2;
  }

  .program-detail.reverse .text-content {
    order: 1;
  }
}

/* ===== Student Life Page ===== */
.activity-detail-card .img-wrap {
  position: relative;
  height: 18rem;
  overflow: hidden;
}

.activity-detail-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.activity-detail-card:hover .img-wrap img {
  transform: scale(1.1);
}

.activity-detail-card .img-wrap .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, .2);
  transition: background .3s;
}

.activity-detail-card:hover .img-wrap .overlay {
  background: rgba(10, 25, 47, .4);
}

.activity-detail-card .body {
  padding: 2rem;
}

.activity-detail-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  transition: color .3s;
}

.activity-detail-card:hover h3 {
  color: var(--color-accent);
}

.activity-detail-card p {
  color: #4b5563;
  line-height: 1.8;
}

.join-cta {
  margin-top: 6rem;
  background: var(--color-secondary);
  padding: 3rem;
  border-radius: 1.5rem;
  text-align: center;
}

@media(min-width:768px) {
  .join-cta {
    padding: 5rem;
  }
}

.join-cta h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.join-cta p {
  color: #4b5563;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* ===== Admissions Page ===== */
.doc-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.doc-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: #4b5563;
}

.doc-list .dot-wrap {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(197, 160, 89, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .25rem;
}

.doc-list .dot-wrap .dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.schedule-box {
  background: var(--color-primary);
  color: #fff;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px rgba(0, 0, 0, .1);
}

.schedule-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.schedule-box .item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 1.5rem;
}

.schedule-box .item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.schedule-box .item .label {
  font-size: .875rem;
  color: #9ca3af;
  margin-bottom: .25rem;
}

.schedule-box .item .value {
  font-size: 1.125rem;
  font-weight: 500;
}

/* ===== Newsletter ===== */
.newsletter-box {
  background: var(--color-secondary);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
}

.newsletter-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.newsletter-box p {
  color: #4b5563;
  margin-bottom: 2rem;
}

.newsletter-box form {
  max-width: 28rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media(min-width:768px) {
  .newsletter-box form {
    flex-direction: row;
  }
}

.newsletter-box input {
  flex-grow: 1;
  padding: .75rem 1.5rem;
  border-radius: .5rem;
  border: 1px solid #e5e7eb;
  outline: none;
  transition: all .3s;
}

.newsletter-box input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(197, 160, 89, .2);
}

/* ===== Animation Classes ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity .8s ease, transform .8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity .8s ease, transform .8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(.95);
  transition: opacity .5s ease, transform .5s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.delay-1 {
  transition-delay: .1s;
}

.delay-2 {
  transition-delay: .2s;
}

.delay-3 {
  transition-delay: .3s;
}

.delay-4 {
  transition-delay: .4s;
}

/* ===== Utilities ===== */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-6 {
  margin-top: 6rem;
}

.space-y-6>*+* {
  margin-top: 1.5rem;
}

.space-y-8>*+* {
  margin-top: 2rem;
}