/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --primary: #0a2540;
  --primary-light: #1e3d5f;
  --primary-dark: #051627;
  
  --navy: #003057;
  --navy-light: #86b7d9;
  --navy-dark: #001a30;
  
  --gold: #c5a880;
  --gold-light: #dfcbb3;
  --gold-dark: #9f825a;
  --gold-accent: #d4af37;

  /* Header title color (set to requested light blue) */
  --logo-title-color: #86b7d9;
  
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #051627;
  --bg-card-dark: rgba(10, 37, 64, 0.4);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-medium: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Shadow & Blur */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 30px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 20px 40px rgba(10, 37, 64, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(10, 37, 64, 0.1);
  --glass-blur: blur(16px);
  
  /* Layout */
  --container-width: 1280px;
  --header-height: 80px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Icons styling helper */
.icon-small {
  width: 16px;
  height: 16px;
  stroke-width: 2.5px;
  vertical-align: middle;
}

.icon-btn {
  width: 18px;
  height: 18px;
  stroke-width: 2px;
  transition: transform 0.3s ease;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-medium);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--navy);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 48, 87, 0.25);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--primary-dark);
}

.btn-gold:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 168, 128, 0.35);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-light);
}

.btn-outline:hover {
  background-color: var(--text-light);
  color: var(--primary);
  border-color: var(--text-light);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover {
  background-color: var(--navy);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-navy {
  background-color: var(--navy-dark);
  color: var(--text-light);
}

.btn-navy:hover {
  background-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 33, 61, 0.3);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn:hover .icon-btn {
  transform: translateX(4px);
}

/* ==========================================================================
   ANNOUNCEMENT BAR & HEADER
   ========================================================================== */
.announcement-bar {
  background-color: var(--navy-dark);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
}

.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-link {
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.announcement-link:hover {
  color: var(--text-light);
}

.header {
  height: var(--header-height);
  position: fixed;
  top: 36px; /* Accounts for announcement bar */
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-medium);
}

.header.scrolled {
  top: 0;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  height: 70px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 102;
}

.logo-3d-canvas {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
}

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

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: var(--logo-title-color);
}

.logo-subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--gold-dark);
  margin-top: -2px;
}

.nav-menu {
  display: block;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-light);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-dark);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 102;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 4px;
  transition: var(--transition-medium);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-white);
  z-index: 101;
  padding: 120px 40px 40px;
  transition: var(--transition-slow);
  box-shadow: -10px 0 30px rgba(0,0,0,0.05);
}

.mobile-nav.active {
  right: 0;
}

.mobile-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.mobile-link:hover {
  color: var(--gold-dark);
  padding-left: 8px;
}

.mobile-btn-nav {
  margin-top: 20px;
}

/* Menu Open Toggle State */
.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  background-image: url('images/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(5, 22, 39, 0.92) 0%, rgba(10, 37, 64, 0.8) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-content {
  color: var(--text-light);
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-badge {
  background-color: rgba(197, 168, 128, 0.15);
  border: 1px solid rgba(197, 168, 128, 0.3);
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(248, 250, 252, 0.85);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(10, 37, 64, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-medium);
}

.hero-card:hover {
  transform: translateX(-10px);
  border-color: rgba(197, 168, 128, 0.4);
  background: rgba(10, 37, 64, 0.6);
}

.hero-card-icon-box {
  width: 54px;
  height: 54px;
  background-color: rgba(197, 168, 128, 0.15);
  border: 1px solid rgba(197, 168, 128, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.hero-card-icon {
  width: 24px;
  height: 24px;
}

.hero-card-info h3 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.hero-card-info p {
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.7);
  line-height: 1.4;
}

/* ==========================================================================
   SECTION COMMON COMPONENTS
   ========================================================================== */
.section-header {
  margin-bottom: 60px;
}

.section-subtitle {
  font-family: var(--font-heading);
  color: var(--gold-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.05);
}

.about-image-overlay-card {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
}

.about-image-overlay-card h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.about-image-overlay-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

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

.about-feature {
  display: flex;
  gap: 16px;
}

.about-feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(197, 168, 128, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.about-feature-icon {
  width: 20px;
  height: 20px;
}

.about-feature h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   ACADEMICS SECTION
   ========================================================================== */
.academics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.academics-card {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 37, 64, 0.04);
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.academics-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-medium);
}

.academics-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 168, 128, 0.2);
}

.academics-card:hover::before {
  transform: scaleX(1);
}

.academics-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.academics-card-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: rgba(0, 48, 87, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.academics-card-icon {
  width: 24px;
  height: 24px;
}

.academics-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
}

.academics-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CAMPUS LIFE SECTION
   ========================================================================== */
.campus-life-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.campus-life-card {
  position: relative;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-medium);
}

.campus-life-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(5, 22, 39, 0.95) 0%, rgba(10, 37, 64, 0.4) 60%, rgba(10, 37, 64, 0.1) 100%);
  z-index: 1;
  transition: var(--transition-medium);
}

.campus-life-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.campus-life-card:hover .campus-life-overlay {
  background: linear-gradient(to top, rgba(5, 22, 39, 0.98) 0%, rgba(10, 37, 64, 0.6) 50%, rgba(10, 37, 64, 0.2) 100%);
}

.campus-life-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  transform: translateY(40px);
  transition: var(--transition-medium);
}

.campus-life-card:hover .campus-life-content {
  transform: translateY(0);
}

.campus-life-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--gold);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-medium);
}

.campus-life-card:hover .campus-life-icon-box {
  opacity: 1;
  transform: scale(1);
}

.campus-life-icon {
  width: 20px;
  height: 20px;
}

.campus-life-content h3 {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.campus-life-content p {
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.8);
  line-height: 1.5;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-medium);
}

.campus-life-card:hover .campus-life-content p {
  opacity: 1;
  max-height: 120px;
  margin-top: 8px;
}

/* ==========================================================================
   ADMISSION BANNER SECTION
   ========================================================================== */
.admission-banner {
  padding: 40px 0;
}

.admission-box {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-dark) 100%);
  border: 1px solid rgba(197, 168, 128, 0.25);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-shadow: var(--shadow-lg);
}

.admission-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.admission-icon-bg {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.15);
  border: 1px solid rgba(197, 168, 128, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.admission-icon {
  width: 32px;
  height: 32px;
}

.admission-text h2 {
  color: var(--text-light);
  font-size: 1.85rem;
  margin-bottom: 8px;
}

.admission-text p {
  color: rgba(248, 250, 252, 0.8);
  font-size: 1rem;
  max-width: 650px;
}

.admission-right {
  flex-shrink: 0;
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery-container {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 50px;
  align-items: center;
}

.gallery-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gallery-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

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

.gallery-item {
  position: relative;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 37, 64, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
}

.gallery-item-icon {
  color: var(--text-light);
  width: 28px;
  height: 28px;
  transform: scale(0.7);
  transition: var(--transition-medium);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-item-icon {
  transform: scale(1);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-desc {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-detail-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 48, 87, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.contact-detail-icon {
  width: 22px;
  height: 22px;
}

.contact-detail-item h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.contact-detail-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form-box {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(10, 37, 64, 0.05);
  display: flex;
  align-items: center;
}

.contact-form {
  width: 100%;
}

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

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(10, 37, 64, 0.1);
  background-color: var(--bg-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 48, 87, 0.08);
}

textarea.form-control {
  resize: vertical;
}

.form-status {
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.form-status.success {
  color: #10b981;
}

.form-status.error {
  color: #ef4444;
}

/* Quote Card with mosque minaret silhouette background */
.quote-card-container {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-dark) 100%);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197, 168, 128, 0.15);
}

/* Custom mosque minaret SVG inline pattern */
.minaret-pattern {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 80%;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='%23ffffff'%3E%3Cpath d='M50,10 L51.5,15 C51.5,15 54,18 54,20 C54,22 46,22 46,20 C46,18 48.5,15 48.5,15 L50,10 Z M50,22 L53,24 L53,35 L47,35 L47,24 L50,22 Z M50,35 L55,38 L55,42 L45,42 L45,38 L50,35 Z M50,42 L58,46 L58,95 L42,95 L42,46 L50,42 Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
}

.quote-card-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
}

.quote-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0.6;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: 20px;
  font-style: italic;
}

.quote-author {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold-light);
}

.quote-source {
  display: block;
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.6);
  margin-top: 4px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.logo-footer .logo-title {
  color: var(--text-light);
}

.logo-footer .logo-subtitle {
  color: var(--gold-light);
}

.footer-desc {
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.9rem;
  margin-top: 20px;
  max-width: 320px;
}

.footer-links-column h3 {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 24px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.footer-links-column h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
  background-color: var(--gold);
  color: var(--primary-dark);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 30px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.5);
}

.heart-icon {
  color: #ef4444;
  display: inline-block;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 22, 39, 0.98);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: 85%;
  max-height: 75vh;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-image {
  transform: scale(1);
}

.lightbox-caption {
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-top: 20px;
  text-align: center;
  max-width: 80%;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 3rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  opacity: 1;
  color: var(--gold);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-light);
  padding: 18px 22px;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background-color: var(--gold);
  color: var(--primary-dark);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

/* ==========================================================================
   RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-cards {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-card {
    max-width: 350px;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-img {
    height: 400px;
  }
  
  .academics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .campus-life-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .gallery-info {
    align-items: center;
    text-align: center;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .quote-card-container {
    order: -1;
    height: auto;
  }
}

@media (max-width: 992px) {
  .nav-menu, .header-cta {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .admission-box {
    flex-direction: column;
    text-align: center;
    padding: 36px;
  }
  
  .admission-left {
    flex-direction: column;
  }
  
  .footer-container {
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-card {
    width: 100%;
    max-width: 100%;
  }
  
  .about-features-grid {
    grid-template-columns: 1fr;
  }
  
  .academics-grid {
    grid-template-columns: 1fr;
  }
  
  .campus-life-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .lightbox-nav {
    padding: 12px 16px;
    font-size: 1.2rem;
  }
  
  .lightbox-prev {
    left: 15px;
  }
  
  .lightbox-next {
    right: 15px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .lightbox-image {
    max-width: 95%;
  }
}
