/* ============================================
   CSS Variables - Global Design Tokens
   ============================================ */
:root {
  --primary: #0F4C81;
  --secondary: #1565C0;
  --accent: #42A5F5;
  --light-bg: #F5F9FF;
  --dark-text: #1A1A1A;
  --white: #FFFFFF;
  --gray: #6B7280;
  --light-gray: #E5E7EB;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray);
}

.section-tag {
  display: inline-block;
  background: rgba(15, 76, 129, 0.1);
  color: var(--primary);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-sub {
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
  font-size: 1.1rem;
}

.section-padding {
  padding: 80px 0;
}

.bg-light {
  background: var(--light-bg);
}

.center {
  text-align: center;
  margin-top: 2rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  min-width: 140px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.btn-light:hover {
  background: var(--light-bg);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ============================================
   Preloader
   ============================================ */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid var(--light-gray);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   Navigation Bar - Sticky
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 0.8rem 0;
  transition: var(--transition);
}

.navbar.sticky {
  padding: 0.4rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo i {
  margin-right: 0px;
  color: var(--accent);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-list a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--dark-text);
  position: relative;
  padding: 0.4rem 0;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.nav-list a.active {
  color: var(--primary);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  padding: 0.8rem 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0.4rem 1.5rem;
}

.dropdown-menu a {
  display: block;
  font-weight: 400;
}

.dropdown-menu a::after {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary);
}

/* ============================================
   Hero Slider
   ============================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 0;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.slide.active {
  opacity: 1;
}

.slide-content {
  max-width: 800px;
  padding: 2rem;
  animation: slideUp 1s ease;
}

.slide-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.slide-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.slider-btn:hover {
  background: var(--white);
  color: var(--primary);
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots span.active {
  background: var(--white);
  transform: scale(1.2);
}

/* ============================================
   Grid Systems
   ============================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
}

/* ============================================
   Welcome Section
   ============================================ */
.welcome-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.welcome-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.welcome-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.welcome-features i {
  color: var(--accent);
}

.welcome-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.stat-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.stat-item i {
  font-size: 2rem;
  color: var(--primary);
}

.stat-item span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-item p {
  margin: 0;
  color: var(--gray);
}

/* ============================================
   Stats Counter
   ============================================ */
.stats .stat {
  text-align: center;
}

.stats .stat i {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.stats .stat span {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
}

.stats .stat p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

/* ============================================
   Principal Message
   ============================================ */
.principal-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.principal-img img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
}

.principal-text p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark-text);
}

.principal-text h4 {
  color: var(--primary);
  margin-top: 1rem;
  margin-bottom: 0.2rem;
}

/* ============================================
   News & Events
   ============================================ */
.news-events .card {
  text-align: left;
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}

.news-events .card i {
  font-size: 1.5rem;
  margin-right: 1rem;
  margin-bottom: 0;
}

/* ============================================
   Gallery Preview
   ============================================ */
.gallery-preview img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}

.gallery-preview img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials .card {
  text-align: left;
}

.testimonials .card i {
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.5;
}

.testimonials .card h4 {
  color: var(--primary);
  margin-top: 0.5rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta h2 {
  font-size: 2.8rem;
}

.cta p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta .btn-light {
  margin-top: 1rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #0a1a2b;
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1rem 0;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer ul a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer p i {
  margin-right: 10px;
  width: 20px;
  color: var(--accent);
}

.footer form {
  display: flex;
  gap: 0.5rem;
}

.footer input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 50px;
  outline: none;
  font-size: 0.95rem;
}

.footer input:focus {
  box-shadow: 0 0 0 2px var(--accent);
}

.footer .btn {
  min-width: auto;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* ============================================
   Page Banner
   ============================================ */
.page-banner h1 {
  font-size: 3rem;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
}

/* ============================================
   About Page Specific
   ============================================ */
.history-text ul {
  margin-top: 1rem;
}

.history-text ul li {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.history-text ul li i {
  color: var(--accent);
}

.history-image img {
  border-radius: var(--radius);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Management */
.management .card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem auto;
  border: 3px solid var(--primary);
}

.management .card h4 {
  margin-bottom: 0.2rem;
}

.management .card span {
  font-size: 0.85rem;
  color: var(--gray);
}

/* Infrastructure */
.infrastructure .card {
  text-align: center;
}

.infrastructure .card i {
  font-size: 2.8rem;
}

/* ============================================
   Academics Page Specific
   ============================================ */
.academic-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.academic-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-hover);
}

.academic-card .card-icon i {
  font-size: 3rem;
  color: var(--primary);
}

.academic-card h3 {
  margin-bottom: 0.5rem;
}

.academic-card ul {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.academic-card ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.academic-card ul li i {
  color: var(--accent);
}

/* ============================================
   Admission Page Specific
   ============================================ */
.process-steps .step-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}

.process-steps .step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 0.8rem auto;
}

.process-steps .step-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.doc-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.doc-list li i {
  color: var(--accent);
}

/* Fee Table */
.table-responsive {
  overflow-x: auto;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.fee-table th {
  background: var(--primary);
  color: var(--white);
  padding: 1rem;
  text-align: left;
}

.fee-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--light-gray);
}

.fee-table tr:hover td {
  background: var(--light-bg);
}

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--light-bg);
}

.faq-question h4 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-question i {
  font-size: 1.2rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--gray);
}

.faq-answer p {
  margin: 0;
}

/* Admission Form */
.admission-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-grid .full-width {
  grid-column: 1 / -1;
}

.admission-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.admission-form input,
.admission-form select,
.admission-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.admission-form input:focus,
.admission-form select:focus,
.admission-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

.admission-form textarea {
  resize: vertical;
}

/* ============================================
   Facilities Page Specific
   ============================================ */
.facilities-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.facility-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.facility-icon {
  width: 70px;
  height: 70px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.facility-icon i {
  font-size: 2.2rem;
  color: var(--primary);
}

.facility-card h3 {
  margin-bottom: 0.5rem;
}

.facility-card ul {
  margin-top: 0.8rem;
}

.facility-card ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.facility-card ul li i {
  color: var(--accent);
  font-size: 0.8rem;
}

/* ============================================
   Gallery Page Specific
   ============================================ */
.filter-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.6rem 1.8rem;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  color: var(--white);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--white);
  font-size: 3rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  transform: rotate(90deg);
  color: var(--accent);
}

#lightboxCaption {
  color: var(--white);
  text-align: center;
  margin-top: 1rem;
  font-size: 1.2rem;
}

/* ============================================
   Events Page Specific
   ============================================ */
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.event-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.event-card.past {
  opacity: 0.85;
}

.event-date {
  text-align: center;
  background: var(--light-bg);
  padding: 1rem 0.5rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-date .day {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.event-date .month {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
}

.event-date .year {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.2rem;
}

.event-details h3 {
  margin-bottom: 0.5rem;
}

.event-details p {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.event-details p i {
  width: 20px;
  color: var(--primary);
  margin-right: 0.5rem;
}

/* ============================================
   Contact Page Specific
   ============================================ */
.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.contact-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  transition: var(--transition);
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

.map-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-placeholder iframe {
  width: 100%;
  height: 450px;
}

/* Social Media */
.social-icons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.social-icon {
  width: 60px;
  height: 60px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* ============================================
   Responsive Images Placeholder (Assets)
   ============================================ */
/* Note: Images are referenced from assets/ folder. 
   Please add actual images for production. */


 /* logo */
.logo a{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}

.logo img{
    width:60px;
    height:60px;
    object-fit:contain;
    border-radius: 25px;
}

.logo span{
    color:#0F4C81;
    font-size:22px;
    font-weight:700;
    line-height:1.2;
} 




/*==================================
 SCHOOL MANAGEMENT
===================================*/

.sms-management-section{

    width:100%;
    padding:90px 7%;
    background:#f8fbff;

}

.sms-heading{

    text-align:center;
    margin-bottom:45px;

}

.sms-heading span{

    display:inline-block;
    padding:8px 20px;
    background:#dce8f5;
    color:#0F4C81;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    letter-spacing:1px;

}

.sms-heading h2{

    margin:18px 0 15px;
    font-size:42px;
    color:#0F4C81;
    font-weight:700;

}

.sms-heading p{

    max-width:700px;
    margin:auto;
    color:#666;
    line-height:28px;

}

/* Card */

.sms-management-card{

    max-width:1100px;
    margin:auto;
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

/* Header */

.sms-table-head{

    display:grid;
    grid-template-columns:2fr 1fr;

    background:#0F4C81;

    color:#fff;

    font-weight:bold;

    font-size:19px;

}

.sms-table-head div{

    padding:18px 25px;

}

/* Rows */

.sms-row{

    display:grid;
    grid-template-columns:2fr 1fr;
    align-items:center;

    transition:.3s;

}

.sms-row div{

    padding:18px 25px;
    border-bottom:1px solid #ececec;

}

.sms-row:nth-child(even){

    background:#f8fbff;

}

.sms-row:hover{

    background:#edf5ff;

}

.sms-row div:first-child{

    font-weight:600;
    color:#0F4C81;

}

.sms-row div:last-child{

    color:#444;
    font-weight:500;

}

/* Mobile */

@media(max-width:768px){

.sms-table-head{

display:none;

}

.sms-row{

grid-template-columns:1fr;

}

.sms-row div{

padding:14px 20px;

}

.sms-row div:last-child{

padding-top:0;
color:#0F4C81;
font-weight:600;

}

.sms-heading h2{

font-size:32px;

}

}

