/* Reset & Custom Variables */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
  --primary: #f2a900; /* Warm Golden Yellow */
  --primary-light: #ffc72c; /* Lighter Orange-Yellow */
  --accent: #0091ff; /* Smarty Blue for contrast/CTA */
  --accent-light: #4dabf7;
  --secondary: #ff8c00; /* Darker Orange */
  --secondary-hover: #e07b00;
  --text-dark: #2d3748;
  --text-light: #ffffff;
  --text-muted: #718096;
  --bg-main: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-dark: #ff8c00;
  --border-glass: rgba(255, 255, 255, 0.2);
  --border-light: #edf2f7;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1400px;
}


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

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
}


h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

header.scrolled {
  box-shadow: var(--shadow-md);
  background: var(--secondary);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  height: 70px;
  width: auto;
  border-radius: 50%;
  border: 3px solid var(--text-light);
  background: #fff;
  padding: 2px;
}

.brand-text h1 {
  font-size: 1.35rem;
  font-family: 'Outfit', sans-serif;
  color: var(--text-light);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.brand-text span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin-left: auto; /* Push navigation to the far right */
}


.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  padding: 0.5rem 0;
  opacity: 0.9;
}

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

.nav-link:hover, .nav-link.active {
  opacity: 1;
}

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

.cta-btn {
  background: var(--accent);
  color: var(--text-light) !important;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 145, 255, 0.3);
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 145, 255, 0.5);
  background: var(--accent-light);
}

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

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding-top: 100px;
  padding-bottom: 8rem;
  color: var(--text-light);
  overflow: hidden;
}

/* Curved organic bottom layout */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--bg-main);
  clip-path: ellipse(60% 80px at 50% 100px);
  z-index: 2;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: var(--text-light);
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-light);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--text-light);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-card {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 40px; /* Playful curved style from image */
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  clip-path: path("M0,0 C150,20 350,0 500,40 C520,180 480,380 450,450 C300,500 100,480 0,400 Z");
  aspect-ratio: 1/1;
  overflow: hidden;
}

/* Reset clip-path on carousel image since shape itself will hold mask */
.hero-card {
  clip-path: none;
  border-radius: 50% 40% 45% 48% / 40% 45% 48% 50%; /* Organic pebble shape resembling image overlay */
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}




.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sections General */
section {
  padding: 6rem 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  background: rgba(242, 169, 0, 0.1);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Leaflet & Commitment Columns */
.leaflet-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.leaflet-header {
  text-align: center;
  background: var(--accent);
  color: var(--text-light);
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
}

.leaflet-header h2 {
  font-size: 2.2rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.leaflet-header h2 span {
  color: var(--primary);
}

.leaflet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.leaflet-column {
  border-radius: 30px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.leaflet-column.student-centric {
  background: #e6fcf5;
  border: 2px solid #06d6a0;
}

.leaflet-column.future-ready {
  background: #fff9db;
  border: 2px solid var(--secondary);
}

.column-title {
  text-align: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
}

.student-centric .column-title {
  background: #06d6a0;
}

.future-ready .column-title {
  background: var(--secondary);
}

.leaflet-items {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.leaflet-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.leaflet-icon {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.leaflet-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--text-dark);
}

.leaflet-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Facility Blocks (Computer room / Smart class) */
.facilities-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.facility-card-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.facility-card-block.reverse {
  grid-template-columns: 1fr 1fr;
}

.facility-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 350px;
}

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

.facility-details-text {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.facility-badge-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.facility-details-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.facility-checklist {
  list-style: none;
  margin: 1.5rem 0;
}

.facility-checklist li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.facility-checklist li::before {
  content: '✓';
  color: #06d6a0;
  font-weight: 900;
  font-size: 1.1rem;
}

.facility-subnotes {
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* Holidays & Events Section */
.events-section {
  background: #f1f5f9;
}

.events-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.events-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.card-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 1rem;
}

.calendar-tabs {
  display: flex;
  gap: 0.5rem;
}

.tab-btn {
  background: #f1f5f9;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #fff;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.event-item:hover {
  border-color: var(--secondary);
  background: rgba(212, 175, 55, 0.03);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.event-date .day {
  font-size: 1.25rem;
  line-height: 1;
}

.event-date .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-details {
  flex-grow: 1;
}

.event-details h4 {
  font-size: 1.05rem;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 0.2rem;
}

.event-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
}

.badge-national {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.badge-regional {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.badge-restricted {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.badge-school {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.notice-board {
  background: var(--bg-card-dark); /* Orange */
  color: var(--text-light);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.notice-board::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.notice-board h3 {
  color: #fff;
  border-bottom: 2px solid rgba(255,255,255,0.25);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.notice-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.notice-item {
  border-left: 4px solid var(--primary-light); /* Yellow */
  padding-left: 1rem;
}

.notice-item span {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 700;
  display: block;
}

.notice-item p {
  font-size: 1rem;
  margin-top: 0.3rem;
  font-weight: 600;
  color: #fff;
}


/* Gallery Showcase */
.gallery-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--border-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(10, 37, 64, 0.9));
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: var(--transition);
}

.gallery-overlay h4 {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.gallery-overlay p {
  color: var(--secondary);
  font-size: 0.85rem;
}

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

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

/* Contact & Admissions */
.contact-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
}

.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background: #f8fafc;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.05);
}

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

.info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(10, 37, 64, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  font-family: 'Outfit', sans-serif;
}

.info-details p, .info-details a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.info-details a:hover {
  color: var(--primary);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255,255,255,0.1);
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Footer styles */
footer {
  background: var(--secondary);
  color: var(--text-light);
  padding: 5rem 1.5rem 2rem;
  border-top: 5px solid var(--primary-light);
}


.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

.footer-brand .brand {
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.udise-badge {
  display: inline-block;
  background: var(--primary-light);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: monospace;
  color: var(--text-light);
  margin-top: 1rem;
}

.udise-badge span {
  color: var(--primary);
  font-weight: 800;
  background: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}


.footer-links h3, .footer-contact h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h3::after, .footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--secondary);
}

.footer-links ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

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

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.social-icon:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* Responsiveness */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 4rem;
  }
  
  .hero-badge, .hero-buttons, .hero-stats {
    justify-content: center;
  }
  
  .hero-carousel {
    aspect-ratio: 16/9;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .about-grid, .events-layout, .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  header {
    position: relative; /* Change to relative on mobile to prevent overlaps */
    width: 100%;
    overflow: hidden;
  }

  .nav-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }


  .brand {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .brand-text h1 {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
    margin-top: 0.5rem;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu .cta-btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  .hero {
    padding-top: 4rem; /* Reduced padding because header is now relative */
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .leaflet-container {
    max-width: 100%;
    padding: 2rem 0.5rem;
  }

  .leaflet-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .events-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }


  .events-card, .notice-board {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1.5rem;
  }



  .facilities-container {
    max-width: 100%;
    padding: 2rem 0.5rem;
  }

  .facility-card-block, .facility-card-block.reverse {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }


  .facility-image {
    min-height: 250px;
  }

  .facility-details-text {
    padding: 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}



