/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* CSS Variables */
:root {
  --primary: #2a4074;
  --primary-dark: #1e2f57;
  --secondary: #f4c430;
  --secondary-dark: #d4a520;
  --text: #1c1c1c;
  --text-light: #666;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --border: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
  overflow-y: auto;
  max-width: 100vw;
  min-height: 100vh;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  width: 0 !important;
  display: none !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  overflow-x: hidden;
}

/* Header & Navigation */
.top-bar {
  background: var(--primary);
  color: white;
  padding: 10px 0;
  font-size: 14px;
  width: 100%;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 100%;
}

.top-bar a {
  color: white;
  margin: 0 15px;
  white-space: nowrap;
  font-family: 'Lora', serif;
}

.top-bar div:last-child a {
  color: var(--secondary);
  font-weight: 600;
}

.top-bar a:hover {
  color: var(--secondary);
}

.top-bar div:last-child a:hover {
  color: white;
}

header {
  background: white;
  box-shadow: 0 2px 10px var(--shadow);
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  overflow: visible;
  border-bottom: 3px solid var(--secondary);
  scrollbar-width: none;
}

header::-webkit-scrollbar {
  display: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  max-width: 100%;
  overflow: visible;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.logo img {
  width: 55px;
  height: 55px;
}

.logo-text h1 {
  font-size: 18px;
  color: var(--primary);
  margin: 0;
  white-space: nowrap;
  font-weight: 700;
}

.logo-text p {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  font-family: 'Lora', serif;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 5px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: var(--primary);
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 8px 10px;
  display: block;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--secondary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 12px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: calc(100% - 24px);
}

.nav-menu .dropdown {
  position: relative;
  z-index: 1000;
}

.nav-menu .dropdown:hover {
  z-index: 10000;
}

.nav-menu .dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 10001;
  padding: 10px 0;
  max-height: 500px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
}

.nav-menu .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: 14px 20px;
  color: var(--text);
  font-size: 14px;
  text-transform: none;
  letter-spacing: normal;
  transition: all 0.2s ease;
  white-space: normal;
  font-weight: 500;
  position: relative;
}

.dropdown-menu a::before {
  content: none;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background: rgba(61, 90, 128, 0.05);
  color: var(--primary);
}

.nav-menu .dropdown > a i {
  font-size: 10px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.nav-menu .dropdown:hover > a i {
  transform: rotate(180deg);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 47, 87, 0.55);
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 47, 87, 0.6), transparent 60%);
  z-index: 2;
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 800px;
  padding: 20px;
}

.hero-content h2 {
  font-size: 20px;
  color: var(--secondary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
}

.hero-content h1 {
  font-size: 60px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  font-weight: 700;
}

.hero-content p {
  font-size: 24px;
  font-style: italic;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(244, 196, 48, 0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* Notice Board */
.notice-board {
  background: var(--primary);
  color: white;
  padding: 12px 0;
  overflow: hidden;
  border-bottom: 4px solid var(--secondary);
  height: 54px;
  box-sizing: border-box;
}

.notice-board .container {
  display: flex;
  align-items: center;
}

.notice-label {
  background: var(--secondary);
  color: var(--primary);
  padding: 10px 25px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 20px;
}

.notice-content {
  flex: 1;
  overflow: hidden;
}

.notice-marquee {
  display: flex;
  animation: scroll 25s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.notice-item {
  margin-right: 50px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.notice-date {
  background: rgba(255,255,255,0.1);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
}

@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Sections */
section {
  padding:  60px 0;
  width: 100%;
  overflow-x: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  background: var(--bg-light);
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 5px 20px var(--shadow);
  width: 100%;
  overflow: hidden;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-link-card {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow);
  border-color: var(--primary);
}

.quick-link-card .icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 28px;
}

.quick-link-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 5px;
}

.about-content h3 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.8;
}

/* School Network Slider */
.network-slider {
  background: linear-gradient(to bottom right, rgba(61, 90, 128, 0.1) 0%, rgba(255, 255, 255, 1) 50%, rgba(244, 196, 48, 0.1) 100%);
  position: relative;
  padding: 100px 0;
  width: 100%;
  overflow: hidden;
}

.slider-container {
  position: relative;
  height: 500px;
  perspective: 1000px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .slider-container {
    height: 420px;
  }

  .school-card {
    width: 260px !important;
    height: 360px !important;
  }

  .school-card:not(.center) {
    display: none !important;
  }

  .school-card.center {
    transform: none !important;
    left: 50% !important;
    margin-left: -130px !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .slider-nav.prev {
    left: 10px;
  }

  .slider-nav.next {
    right: 10px;
  }
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.school-card {
  position: absolute;
  width: 300px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  transition: all 0.7s ease;
  cursor: pointer;
  border: 4px solid white;
}

.school-card.center {
  border-color: var(--secondary);
}

.school-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.school-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.3) 80%, transparent 100%);
  padding: 25px 20px 20px;
  color: white;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 140px;
}

.school-card:not(.center) .school-card-overlay {
  opacity: 0.6;
}

.school-card.center .school-card-overlay {
  opacity: 1;
}

.school-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  line-height: 1.3;
}

.school-card p {
  font-size: 14px;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  margin-bottom: 8px;
}

.board-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.board-tag.state,
.board-tag.cbse {
  background: var(--secondary);
  color: var(--primary);
}

.board-tag.icse,
.board-tag.management {
  background: #3b82f6;
  color: white;
}

.visit-website {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  padding: 0;
  background: transparent;
  color: #f4c430;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse 2s ease-in-out infinite;
  align-self: flex-start;
}

.visit-website i {
  font-size: 14px;
}

.visit-website:hover {
  color: #d4a520;
  transform: translateX(3px);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.school-card:not(.center) .visit-website {
  display: none;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--secondary);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-nav:hover {
  background: var(--secondary-dark);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
  width: 100%;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.footer-col p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 10px;
  display: block;
  font-size: 14px;
  line-height: 1.6;
}

.footer-col a {
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-col a::before {
  content: 'â–¹';
  color: var(--secondary);
  font-size: 12px;
}

.footer-col a:hover {
  color: var(--secondary);
}

.footer-about {
  max-width: 100%;
}

.footer-logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-logo-section img { width: 50px; height: 50px; background: white; border-radius: 50%; padding: 8px; object-fit: contain; }

.footer-logo-section h3 {
  margin: 0;
  font-size: 20px;
  color: white;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 700;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 0;
}

.social-links a {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 0;
  transition: all 0.3s ease;
}

.social-links a::before {
  content: none;
}

.social-links a:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--secondary);
  font-size: 18px;
  width: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
  display: inline;
}

.footer-contact-item a::before {
  content: none;
}

.footer-contact-item a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 32px;
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.6);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--secondary);
}

/* Page Header */
.page-header {
  background: var(--primary);
  color: white;
  padding: 30px 0;
  text-align: left;
  overflow: hidden;
  position: relative;
}

.page-header h1 {
  font-size: 48px;
  margin-bottom: 0;
  color: white;
}

.page-header p {
  font-size: 13px;
  opacity: 0.9;
  text-align: left;
}

/* Content Section */
.content-section {
  padding: 60px 0;
  min-height: calc(100vh - 400px);
}

.content-box {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 5px 20px var(--shadow);
  border: 1px solid var(--border);
}

.content-box h2 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 25px;
}

.content-box h3 {
  font-size: 28px;
  color: var(--primary);
  margin: 30px 0 15px;
}

.content-box p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.content-box ul {
  list-style: none;
  padding-left: 0;
}

.content-box ul li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-light);
}

.content-box ul li::before {
  content: none;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  width: 100%;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  width: 100%;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow);
  border-color: var(--primary);
}

.card .icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
}

.card h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 15px;
  text-align: center;
}

.card p {
  color: var(--text-light);
  text-align: center;
}

/* Contact Info */
.contact-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(61, 90, 128, 0.05);
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid var(--primary);
  margin-bottom: 20px;
}

.contact-info .icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
}

.contact-info a {
  color: var(--primary);
  font-weight: 600;
    word-break: break-all;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Map */
.map-container {
  border-radius: 15px;
  overflow: hidden;
  height: 400px;
  margin-top: 30px;
  border: 2px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 3px;
  }
  
  .nav-menu a {
    font-size: 12px;
    padding: 10px 8px;
  }
  
  .logo-text h1 {
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
    min-height: 200px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .mobile-toggle {
    display: block;
  }

  header {
    top: 38px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 80px 30px;
    box-shadow: -5px 0 15px var(--shadow);
    transition: right 0.3s ease;
    align-items: flex-start;
    overflow-y: auto;
    gap: 0;
  }

  .nav-menu.active {
    right: 0;
    display: flex;
  }
  
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  
  .nav-menu a {
    width: 100%;
    padding: 15px 10px;
    font-size: 14px;
  }
  
  .nav-menu .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    display: none;
    background: rgba(61, 90, 128, 0.05);
    border-radius: 0;
  }
  
  .nav-menu .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu a {
    padding: 10px 15px;
    font-size: 13px;
  }

  .logo img {
    width: 50px;
    height: 50px;
  }
  
  .logo-text h1 {
    font-size: 16px;
  }
  
  .logo-text p {
    font-size: 10px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .about-grid {
    padding: 20px;
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 36px;
  }

  .content-box {
    padding: 30px 20px;
  }

  .container {
    padding: 0 15px;
  }

  section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 60vh;
    min-height: 160px;
  }

  .hero-content h2 {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .school-card.center {
    width: 240px !important;
    margin-left: -120px !important;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 14px;
  }

  .container {
    padding: 0 10px;
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Top bar: show only icons for email/phone, keep Student Login & Pay Fee Online */
  .top-bar {
    font-size: 12px;
    padding: 6px 0;
  }

  .top-bar .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 10px;
  }

  .top-bar div:first-child a .link-text {
    display: none;
  }

  .top-bar div:first-child a {
    margin: 0 6px;
    font-size: 14px;
  }

  .top-bar div:last-child a {
    margin: 0 6px;
    font-size: 11px;
  }

  /* Header sits right below compact top bar */
  header {
    top: 34px;
  }

  /* Hide subtitle in logo on mobile */
  .logo-text p {
    display: none;
  }

}


/* Footer Logo Section */
.footer-about {
  max-width: 100%;
}

.footer-logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-logo-section img { width: 50px; height: 50px; background: white; border-radius: 50%; padding: 8px; object-fit: contain; }

.footer-logo-section h3 {
  margin: 0;
  font-size: 20px;
  color: white;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 700;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--secondary);
  font-size: 18px;
  width: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
  display: inline;
}

.footer-contact-item a::before {
  content: none;
}

.footer-contact-item a:hover {
  color: var(--secondary);
}

.footer-col a::before {
  content: '\25b9';
  color: var(--secondary);
  font-size: 12px;
}

.social-links a::before {
  content: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Chatbot */
#cb-btn { position: fixed !important; right: 20px !important; bottom: 30px !important; z-index: 99999 !important; }
#cb-panel { position: fixed !important; z-index: 99999 !important; }

/* Admission Enquiry Popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.popup-overlay.hidden {
  display: none;
}

.popup-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  background-image: url('../images/school-hero.png');
  background-size: cover;
  background-position: center;
  animation: zoomIn 0.3s ease;
}

.popup-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(37, 99, 235, 0.7), rgba(59, 130, 246, 0.6), rgba(96, 165, 250, 0.7));
  z-index: 1;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 20;
  font-size: 16px;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.popup-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}

.popup-content h2 {
  color: white;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.popup-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 600px;
}

.popup-btn {
  background: white;
  color: #2563eb;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.popup-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .popup-container {
    height: 320px;
  }
  
  .popup-content h2 {
    font-size: 24px;
  }
  
  .popup-content p {
    font-size: 14px;
  }
}






/* Calendar Styles */
.cal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.cal-month-title {
  font-size: 28px;
  color: var(--primary);
  margin: 0;
}

.cal-btn {
  background: var(--primary);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.cal-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}

.cal-day-header {
  text-align: center;
  font-weight: 700;
  color: var(--primary);
  padding: 15px 5px;
  font-size: 14px;
  text-transform: uppercase;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  color: var(--text);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cal-day:hover {
  background: rgba(61, 90, 128, 0.05);
  border-color: var(--primary);
}

.cal-day.empty {
  border: none;
  cursor: default;
}

.cal-day.has-event { font-weight: 700; }

.cal-day.today { outline: 2px solid var(--primary); outline-offset: 2px; }

.cal-dot { position: absolute; bottom: 5px; width: 6px; height: 6px; border-radius: 50%; }

}
