/*
 * Montfort High School - Central Design System
 * Modern styling utilizing CSS custom properties, responsive grids, transitions, and hover micro-animations.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-navy: #0d2240;
  --primary-blue: #1b458f;
  --accent-gold: #f2b705;
  --accent-gold-hover: #dca604;
  --dark-slate: #0b1523;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --text-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary-navy);
}

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

button, input, select, textarea {
  font-family: inherit;
}

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

/* Top bar details */
.top-bar {
  background-color: var(--primary-navy);
  color: var(--text-white);
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-right a:hover {
  color: var(--accent-gold);
}

/* Navigation Header */
.main-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.main-header.scroll-shadow {
  box-shadow: var(--shadow-md);
  padding: 5px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 0.8rem;
}

.logo-img {
  height: 45px;
  width: auto;
  border-radius: 4px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  margin-bottom: 15px;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.logo-text h1 {
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary-blue);
  margin: 0;
  font-weight: 700;
}

.logo-location {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-gold-hover);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
}

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

.nav-links a:hover {
  color: var(--primary-blue);
}

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

.nav-links a.active {
  color: var(--primary-blue);
}

.btn-admission {
  background-color: var(--accent-gold);
  color: var(--primary-navy);
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-admission:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-navy);
  border-radius: 3px;
  transition: var(--transition);
}

/* Home Page Hero Section */
.hero-section {
  position: relative;
  background-color: var(--dark-slate);
  color: var(--text-white);
  padding: 80px 5%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(11, 21, 35, 0.95) 40%, rgba(11, 21, 35, 0.7) 100%);
  z-index: 1;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h2 {
  color: var(--text-white);
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 15px;
  max-width: 550px;
}

.hero-tagline {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  color: var(--accent-gold);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--text-white);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid var(--primary-blue);
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--text-white);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  border: 2px solid var(--text-white);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Stats Block */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
}

.stat-item h3 {
  color: var(--accent-gold);
  font-size: 2.2rem;
  margin-bottom: 2px;
}

.stat-item p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Admission Enquiry Box */
.enquiry-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  color: var(--text-dark);
  box-shadow: var(--shadow-xl);
  max-width: 480px;
  width: 100%;
}

.enquiry-card h3 {
  text-align: center;
  color: var(--primary-blue);
  margin-bottom: 20px;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  outline: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(27, 69, 143, 0.1);
}

.phone-input-wrap {
  display: flex;
  gap: 5px;
}

.phone-code {
  width: 60px;
  background-color: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  text-align: center;
  line-height: 40px;
  font-size: 0.9rem;
  font-weight: 500;
}

.phone-number-field {
  flex-grow: 1;
}

.enquiry-card button {
  width: 100%;
  background-color: var(--primary-blue);
  color: var(--text-white);
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.5px;
  margin-top: 10px;
  transition: var(--transition);
}

.enquiry-card button:hover {
  background-color: var(--primary-navy);
}

/* Theme Banner Section */
.theme-banner {
  background-color: var(--primary-blue);
  color: var(--text-white);
  padding: 25px 5%;
  text-align: center;
  font-family: var(--font-headings);
}

.theme-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.theme-icon {
  font-size: 1.5rem;
  color: var(--accent-gold);
}

.theme-text {
  font-size: 1.1rem;
}

.theme-label {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  opacity: 0.85;
  display: block;
  font-weight: 600;
}

.theme-keyword {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
}

/* Content Sections */
.section-padding {
  padding: 80px 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-gold);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Principal Desk Section */
.principal-desk-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.principal-image-wrap {
  position: relative;
  background-color: #f1f5f9;
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.principal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.principal-content .label {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.principal-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.principal-content p {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 1rem;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 0.95rem;
}

.read-more-btn:hover {
  color: var(--primary-navy);
}

/* Welcome Split Layout Container */
.welcome-layout-container {
  display: grid;
  grid-template-columns: 3.2fr 6.8fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.welcome-announcements-column {
  background-color: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  max-height: 480px;
  display: flex;
  flex-direction: column;
}

.welcome-col-title {
  font-size: 1.3rem;
  color: var(--primary-navy);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 8px;
  font-weight: 700;
  margin-top: 0;
}

.news-box-compact {
  overflow-y: auto;
  flex-grow: 1;
  padding-right: 5px;
}

.news-box-compact::-webkit-scrollbar {
  width: 6px;
}

.news-box-compact::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 3px;
}

.welcome-principal-column {
  width: 100%;
}

.read-more-btn span {
  transition: var(--transition);
}

.read-more-btn:hover span {
  transform: translateX(5px);
}

/* Vision and Mission Section */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.purpose-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 5px solid var(--primary-blue);
}

.purpose-card.mission {
  border-top-color: var(--accent-gold);
}

.purpose-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.purpose-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.purpose-card .icon-bg {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 3rem;
  opacity: 0.05;
}

/* Emblem Section */
.emblem-block {
  background-color: var(--white);
  padding: 60px 5%;
}

.emblem-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.emblem-image-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.emblem-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.emblem-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  max-width: 600px;
}

/* Facilities Section */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.facility-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.facility-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(13, 34, 64, 0.9));
  padding: 25px 20px 20px;
  color: var(--text-white);
  transition: var(--transition);
}

.facility-card h4 {
  color: var(--text-white);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.facility-card p {
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.facility-card:hover img {
  transform: scale(1.08);
}

.facility-card:hover .facility-overlay {
  padding-top: 40px;
}

.facility-card:hover p {
  opacity: 0.9;
  transform: translateY(0);
}

.btn-center-wrap {
  text-align: center;
  margin-top: 30px;
}

/* Academic Excellence Block */
.academic-excellence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.excellence-card {
  background-color: var(--white);
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.excellence-card .icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(27, 69, 143, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1.4rem;
  margin: 0 auto 15px;
}

.excellence-card h4 {
  font-size: 1rem;
}

.excellence-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-bottom: 3px solid var(--accent-gold);
}

/* Clubs Page & Grid styling */
.clubs-section-bg {
  background-color: var(--dark-slate);
  color: var(--text-white);
}

.clubs-section-bg .section-header h2 {
  color: var(--text-white);
}

.clubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.club-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 25px;
  border-radius: 8px;
  transition: var(--transition);
}

.club-card .club-icon {
  font-size: 1.8rem;
  margin-bottom: 15px;
  display: block;
}

.club-card h4 {
  color: var(--text-white);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.club-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.club-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-gold);
  transform: translateY(-5px);
}

/* Event Cards */
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.event-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.event-image {
  height: 200px;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--text-light);
  position: relative;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-content {
  padding: 15px 20px;
}

.event-card h4 {
  font-size: 1rem;
  color: var(--primary-navy);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Why Choose Us & Parents Grid */
.choose-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.choose-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--white);
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.choose-item .check-icon {
  color: #10b981;
  font-weight: 700;
  font-size: 1.2rem;
}

.choose-item span {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Parents and News dual section layout */
.home-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-container {
  background-color: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 25px;
  position: relative;
  padding-left: 20px;
  border-left: 4px solid var(--accent-gold);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  font-weight: bold;
}

.testimonial-author h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-author p {
  font-size: 0.8rem;
  color: var(--text-light);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  margin-top: 25px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-blue);
  width: 25px;
  border-radius: 5px;
}

/* News Box Layout */
.news-box {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

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

.news-item {
  padding: 18px 25px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

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

.news-item:hover {
  background-color: #f8fafc;
}

.news-details {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  flex-shrink: 0;
}

.news-item.new .news-dot {
  background-color: #ef4444;
}

.news-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.news-badge {
  background-color: #ef4444;
  color: var(--text-white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Get in Touch & Google Maps section */
.get-in-touch-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info-panel {
  background-color: var(--primary-blue);
  color: var(--text-white);
  padding: 40px;
}

.contact-info-panel h3 {
  color: var(--text-white);
  font-size: 1.6rem;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 10px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.info-icon {
  font-size: 1.3rem;
  color: var(--accent-gold);
  margin-top: 3px;
}

.info-label {
  font-size: 0.85rem;
  opacity: 0.85;
  display: block;
}

.info-text {
  font-weight: 600;
}

.map-placeholder-panel {
  min-height: 350px;
  background-color: #e2e8f0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  border-radius: 12px;
  overflow: hidden;
}

.map-placeholder-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer Section */
.site-footer {
  background-color: #0c1524;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 5% 20px;
  border-top: 5px solid var(--accent-gold);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 50px;
}

.footer-logo-desc h3 {
  color: var(--text-white);
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer-logo-desc p {
  font-size: 0.85rem;
  margin-bottom: 20px;
}

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

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 700;
}

.social-icon:hover {
  background-color: var(--accent-gold);
  color: var(--primary-navy);
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--accent-gold);
  margin-top: 5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

.footer-col p {
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}

/* Secondary Pages Common Banner */
.page-banner {
  background-color: var(--primary-navy);
  color: var(--text-white);
  text-align: center;
  padding: 80px 5%;
  position: relative;
  background-size: cover;
  background-position: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 21, 35, 0.85);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-content h2 {
  color: var(--text-white);
  font-size: 2.8rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.banner-content p {
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 15px;
}

.breadcrumbs {
  font-size: 0.85rem;
  font-weight: 500;
}

.breadcrumbs a {
  color: var(--accent-gold);
}

.breadcrumbs span {
  opacity: 0.6;
  margin: 0 5px;
}

/* About Page Detail Classes */
.about-history-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.about-founder-block {
  background-color: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin: 40px auto 0;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 40px;
  align-items: center;
}

.founder-img-wrap {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid var(--primary-blue);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
}

.about-principal-desk {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 40px;
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: flex-start;
}

.about-principal-img {
  text-align: center;
}

.about-principal-img img {
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-md);
}

.badge-label {
  display: inline-block;
  background-color: var(--accent-gold);
  color: var(--primary-navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 5px;
  text-transform: uppercase;
}

.quote-box-gold {
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 5px solid var(--accent-gold);
  padding: 25px;
  border-radius: 4px;
  margin-bottom: 25px;
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-navy);
  font-style: italic;
}

.emblem-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.emblem-badge-card {
  background-color: var(--light-bg);
  border-radius: 8px;
  padding: 20px 10px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.emblem-badge-card .emblem-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
  display: block;
}

.emblem-badge-card h4 {
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.emblem-badge-card p {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.emblem-badge-card.primary-navy {
  background-color: var(--primary-navy);
  color: var(--text-white);
  border-color: var(--primary-navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.emblem-badge-card.primary-navy h4 {
  color: var(--text-white);
}

.emblem-badge-card.primary-navy p {
  color: var(--accent-gold);
}

/* Timeline Layout */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: var(--primary-blue);
  top: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.timeline-date {
  text-align: right;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
}

.timeline-item:nth-child(even) .timeline-date {
  text-align: left;
  grid-column: 2;
}

.timeline-item:nth-child(even) .timeline-card {
  grid-column: 1;
  text-align: right;
}

.timeline-card {
  background-color: var(--white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.timeline-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary-blue);
}

.timeline-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Leadership Team Grid */
.leadership-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.leader-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 45px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  flex: 0 1 340px;
}

.leader-card .leader-avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 4px solid var(--primary-blue);
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background-color: #f1f5f9;
  color: var(--primary-navy);
}

.leader-card h4 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.leader-card .leader-role {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--accent-gold-hover);
  font-weight: 700;
  margin-bottom: 0;
  letter-spacing: 1px;
}

.leader-card .know-more {
  display: none;
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Academics Page Specific Styles */
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.program-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 4px solid var(--border-color);
}

.program-img {
  height: 160px;
  background-color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-light);
}

.program-content {
  padding: 20px;
}

.program-card h4 {
  font-size: 1.15rem;
  margin-bottom: 5px;
}

.program-card .program-tag {
  display: inline-block;
  color: var(--accent-gold-hover);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.program-card .learn-more {
  font-size: 0.85rem;
  color: var(--primary-blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--primary-blue);
}

/* Subjects Section Grid */
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.subject-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.subject-card .subject-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}

.subject-card h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.subject-card ul {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Methodology Blue Banner */
.methodology-block {
  background-color: var(--primary-blue);
  color: var(--text-white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 50px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.methodology-left {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.methodology-left .methodology-icon {
  font-size: 3.5rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.methodology-left h3 {
  color: var(--text-white);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.methodology-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.methodology-item {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 20px 15px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.methodology-item .icon {
  font-size: 1.3rem;
  color: var(--accent-gold);
}

.methodology-item h4 {
  color: var(--text-white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.methodology-item p {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Academic Calendar Style */
.calendar-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
  margin: 0 auto 45px;
  position: relative;
}

.calendar-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--primary-blue);
  left: 50%;
  transform: translateX(-50%);
}

.calendar-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin-bottom: 30px;
  position: relative;
}

.calendar-node {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 5;
}

.calendar-month {
  text-align: right;
  padding-right: 40px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.calendar-detail {
  padding-left: 40px;
}

.calendar-detail-card {
  background-color: var(--white);
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.calendar-row.reverse .calendar-month {
  text-align: left;
  padding-left: 40px;
  grid-column: 2;
}

.calendar-row.reverse .calendar-detail {
  padding-right: 40px;
  padding-left: 0;
  grid-column: 1;
  text-align: right;
}

/* FAQ accordion styling */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  margin-bottom: 12px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-navy);
  user-select: none;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: #f8fafc;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #f8fafc;
  border-top: 0px solid transparent;
}

.faq-answer-content {
  padding: 20px 25px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Adjust if needed */
  border-top: 1px solid var(--border-color);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary-blue);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Start Learning Journey Call to action banner */
.cta-banner {
  background-color: var(--dark-slate);
  color: var(--text-white);
  padding: 60px 5%;
  text-align: center;
  border-radius: 8px;
  max-width: 1100px;
  margin: 0 auto;
}

.cta-banner h3 {
  color: var(--text-white);
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.cta-banner p {
  font-size: 1rem;
  margin-bottom: 25px;
  opacity: 0.8;
}

/* Clubs Page details */
.club-activity-timeline {
  background-color: var(--primary-blue);
  color: var(--text-white);
  padding: 50px 30px;
  border-radius: 8px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.club-timeline-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.club-timeline-card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 15px 10px;
}

.club-timeline-card h5 {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.club-timeline-card p {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.passion-box {
  border: 2px solid var(--primary-blue);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.passion-box h3 {
  font-size: 1.8rem;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.passion-box p {
  margin-bottom: 25px;
  color: var(--text-light);
}

/* Gallery filter and grid */
.gallery-filter-wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-blue);
  color: var(--text-white);
  border-color: var(--primary-blue);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  position: relative;
  cursor: pointer;
}

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

.gallery-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 20px 15px 15px;
  color: var(--text-white);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.gallery-item-info h4 {
  color: var(--text-white);
  font-size: 1rem;
}

.gallery-item-info p {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-gold);
}

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

.gallery-item:hover .gallery-item-info {
  opacity: 1;
  transform: translateY(0);
}

/* Contact form & information columns */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-form-side {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.contact-form-side h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-blue);
}

/* Responsive CSS */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .enquiry-card {
    margin: 0 auto;
  }
  .principal-desk-container,
  .about-history-container,
  .about-founder-block,
  .about-principal-desk,
  .methodology-block,
  .contact-container,
  .get-in-touch-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .facilities-grid,
  .clubs-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .leadership-grid,
  .program-grid,
  .subjects-grid,
  .academic-excellence-grid,
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 20px 5%;
    gap: 15px;
    align-items: flex-start;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
  .hero-content h2 {
    font-size: 2.2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .facilities-grid,
  .clubs-grid,
  .gallery-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }
  .leadership-grid,
  .program-grid,
  .subjects-grid,
  .academic-excellence-grid {
    grid-template-columns: 1fr;
  }
  .vision-mission-grid,
  .home-dual-grid {
    grid-template-columns: 1fr;
  }
  .emblem-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .emblem-breakdown-grid {
    grid-template-columns: 1fr;
  }
  .timeline-line {
    left: 20px;
  }
  .timeline-dot {
    left: 20px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-left: 45px;
  }
  .timeline-date {
    text-align: left;
  }
  .timeline-item:nth-child(even) .timeline-date {
    grid-column: 1;
  }
  .timeline-item:nth-child(even) .timeline-card {
    grid-column: 1;
    text-align: left;
  }
  .calendar-timeline::before {
    left: 20px;
  }
  .calendar-node {
    left: 20px;
  }
  .calendar-row {
    grid-template-columns: 1fr;
    padding-left: 40px;
  }
  .calendar-month {
    text-align: left;
    padding-right: 0;
    margin-bottom: 5px;
  }
  .calendar-detail {
    padding-left: 0;
  }
  .calendar-row.reverse .calendar-month {
    padding-left: 0;
    grid-column: 1;
  }
  .calendar-row.reverse .calendar-detail {
    padding-right: 0;
    grid-column: 1;
    text-align: left;
  }
  .club-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* Modal and Admin styles */
.admin-login-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(11, 21, 35, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.admin-login-box {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.admin-login-box h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.admin-login-box p {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 25px;
}

.admin-login-box input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 1rem;
  text-align: center;
}

.admin-login-box button {
  width: 100%;
  background-color: var(--primary-blue);
  color: var(--text-white);
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

/* Admin Dashboard Panel */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background-color: #f1f5f9;
}

.admin-sidebar {
  background-color: var(--primary-navy);
  color: var(--text-white);
  padding: 30px 20px;
}

.admin-sidebar h2 {
  color: var(--text-white);
  font-size: 1.25rem;
  margin-bottom: 30px;
  text-align: center;
}

.admin-nav {
  list-style: none;
}

.admin-nav li {
  margin-bottom: 8px;
}

.admin-nav button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 12px 15px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.admin-nav button:hover,
.admin-nav button.active {
  color: var(--text-white);
  background-color: rgba(255, 255, 255, 0.1);
}

.admin-nav button.active {
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 4px 4px 0;
}

.admin-main {
  padding: 40px;
  overflow-y: auto;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.admin-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 30px;
  margin-bottom: 25px;
}

.admin-card h3 {
  margin-bottom: 20px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 10px;
  font-size: 1.25rem;
}

/* Admin lists table-like */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.admin-table th,
.admin-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  background-color: #f8fafc;
  font-weight: 700;
  color: var(--primary-navy);
}

.admin-table tr:hover {
  background-color: #f8fafc;
}

.btn-danger {
  background-color: #ef4444;
  color: var(--text-white);
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
}

.btn-danger:hover {
  background-color: #dc2626;
}

.btn-success {
  background-color: #10b981;
  color: var(--text-white);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.btn-success:hover {
  background-color: #059669;
}

.img-preview-box {
  width: 150px;
  height: 90px;
  background-color: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logout-btn-wrap {
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.btn-logout {
  background-color: transparent;
  color: #ef4444;
  border: 1px solid #ef4444;
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-logout:hover {
  background-color: #ef4444;
  color: var(--text-white);
}

/* Image input placeholder style */
.file-upload-lbl {
  display: inline-block;
  background-color: #f1f5f9;
  border: 1px dashed var(--border-color);
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.9rem;
}

.file-upload-lbl:hover {
  background-color: #e2e8f0;
}

/* Achievements Square Grid Layout (Instagram Style) */
.achievement-card {
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  aspect-ratio: 1 / 1;
  transition: transform 0.3s ease;
}

.achievement-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}