/* Reset Basic Margins & Padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}
/* Header & Navbar Styling */
.navbar-header {
  background-color: #0b5ed7;
  color: white;
  position: relative;
  z-index: 9999;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* बाएँ 3-lines, बीच में नाम, दाएँ लोगो */
  padding: 12px 20px;
  gap: 15px;
}

/* 3 Lines Toggle Button */
.menu-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  outline: none;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
}

/* School Name & Address in Center */
.school-title {
  display: flex;
  flex-direction: column;
  align-items: center; /* टेक्स्ट एकदम बीच में रहेगा */
  text-align: center;
  flex-grow: 1; /* बची हुई जगह को कवर करेगा */
}

.school-title h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-transform: uppercase;
}

.school-address {
  margin: 3px 0 0 0;
  font-size: 0.9rem;
  color: #ffc107; /* गोल्डन/पीला कलर */
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Header Right Side Logo */
.header-logo img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: white;
  padding: 2px;
  display: block;
  object-fit: contain;
}

/* Dropdown Menu */
.nav-menu {
  display: none;
  background-color: #084298;
  width: 100%;
  padding: 10px 0;
}

.nav-menu.show {
  display: block !important;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu ul li a {
  display: block;
  padding: 12px 25px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu ul li a:hover {
  background-color: #0b5ed7;
  color: #ffc107;
}

/* Mobile Responsive adjustment */
@media (max-width: 768px) {
  .school-title h1 {
    font-size: 1.1rem;
  }
  .school-address {
    font-size: 0.75rem;
  }
  .header-logo img {
    width: 45px;
    height: 45px;
  }
}

/* 3 Lines Toggle Button */
.menu-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10000;
  outline: none;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
}

/* Dropdown Menu */
.nav-menu {
  display: none;
  background-color: #084298;
  width: 100%;
  padding: 10px 0;
}

/* Menu active state */
.nav-menu.show {
  display: block !important;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu ul li a {
  display: block;
  padding: 12px 25px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu ul li a:hover {
  background-color: #0b5ed7;
  color: #ffc107;
}

/* 2. Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 80vh; /* स्क्रीन की 80% हाइट लेगा ताकि फोटो ज्यादा दिखे */
  padding: 120px 20px;
  
  background-image: url('images/school.jpg'); 
  background-size: cover;       
  background-position: center center; /* सेंटर से फोटो दिखाएगा */
  background-repeat: no-repeat;
  
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.admissions-tag {
  background-color: #ffc107;
  color: #000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
}

.hero-section h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.button-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.apply-btn {
  background-color: #ffc107;
  color: #000;
  text-decoration: none;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

.call-btn {
  background-color: #ffffff;
  color: #333;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
}

.call-btn a {
  color: #333;
  text-decoration: none;
}

/* 3. About Section */
.about-section {
  padding: 60px 5%;
  background-color: #ffffff;
  text-align: center;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: 2rem;
  color: #0b5ed7;
  margin-bottom: 15px;
}

.about-section p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
}

/* 4. Features Section */
.features-section {
  padding: 60px 5%;
  background-color: #f8f9fa;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #0b5ed7;
  margin-bottom: 40px;
}

.features-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.feature-card h3 {
  color: #333;
  margin-bottom: 10px;
}

.feature-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* 5. Facilities Section */
.facilities-section {
  padding: 60px 5%;
  background-color: #ffffff;
  text-align: center;
}

.facilities-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.facility-box {
  background: #f1f5f9;
  border-left: 4px solid #0b5ed7;
  padding: 20px;
  border-radius: 6px;
  width: 250px;
  text-align: left;
}

.facility-box h4 {
  color: #0b5ed7;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.facility-box p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* 6. Director's Message */
.director-section {
  padding: 60px 5%;
  background-color: #f8f9fa;
  text-align: center;
}

.director-container {
  max-width: 800px;
  margin: 0 auto;
}

.director-section h2 {
  font-size: 2rem;
  color: #0b5ed7;
  margin-bottom: 20px;
}

.director-section p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  font-style: italic;
}
/* 6. Director's Message Section */
.director-section {
  padding: 60px 5%;
  background-color: #f8f9fa;
}

.director-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap; /* मोबाइल स्क्रीन पर इमेज ऊपर और टेक्स्ट नीचे आ जाएगा */
}

.director-image-box {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.director-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  border: 4px solid #0b5ed7;
}

.director-text {
  flex: 2;
  min-width: 300px;
}

.director-text h2 {
  font-size: 2rem;
  color: #0b5ed7;
  margin-bottom: 5px;
}

.director-text h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.director-text p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.director-signature h4 {
  color: #0b5ed7;
  font-size: 1.1rem;
}

.director-signature span {
  font-size: 0.9rem;
  color: #666;
}

/* 7. Enquiry Form Section */
.enquiry-section {
  padding: 60px 5%;
  background-color: #0b5ed7;
  color: white;
  text-align: center;
}

.enquiry-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.enquiry-section p {
  margin-bottom: 30px;
  color: #e0e0e0;
}

.enquiry-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.enquiry-form input, 
.enquiry-form select {
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.submit-btn {
  background-color: #ffc107;
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #e0a800;
}

/* Footer Section */
.footer {
  background-color: #084298;
  color: white;
  padding: 20px 5%;
  position: relative; /* लोगो को लेफ्ट में फिक्स रखने के लिए */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center; /* पूरा कंटेंट सेंटर में रखेगा */
  position: relative;
}

.footer-logo {
  position: absolute; /* लोगो एकदम बाएँ कोने में ही रहेगा */
  left: 0;
}

.footer-logo-img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: white;
  padding: 3px;
  display: block;
}

.footer-info {
  text-align: center; /* 2026 और Location वाले टेक्स्ट को बीच में लाएगा */
}

.footer-info p {
  margin: 5px 0;
  font-size: 0.9rem;
}

/* Mobile Screen Layout */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 12px;
  }
  .footer-logo {
    position: static; /* मोबाइल में लोगो ऊपर और टेक्स्ट नीचे आ जाएगा */
  }
}
/* Floating WhatsApp Button Styling */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366; /* WhatsApp Green Color */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebe57;
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
}
/* Footer Email Styling */
.footer-email {
  margin: 5px 0;
  font-size: 0.95rem;
}

.footer-email a {
  color: #ffc107; /* पीला / गोल्डन कलर */
  text-decoration: none;
  font-weight: 600;
}

.footer-email a:hover {
  text-decoration: underline;
}
/* Clean Footer Styling */
.footer {
  background-color: #052c65; /* डार्क ब्लू बैकग्राउंड */
  color: #ffffff;
  padding: 20px 15px;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-item i {
  color: #ffc107; /* आइकॉन का पीला कलर */
  font-size: 1rem;
}

.footer a {
  color: #ffc107;
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}
/* Location Section Styling */
.location-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #f8f9fa;
}

.location-section h2 {
  color: #0b5ed7;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.map-container {
  max-width: 900px;
  margin: 20px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  overflow: hidden;
}

.map-link-btn {
  display: inline-block;
  background-color: #0b5ed7;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
}

.map-link-btn:hover {
  background-color: #084298;
  color: #ffc107;
}
/* Experienced Faculty Card Background Image */
.faculty-box {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('images/faculty.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.faculty-box h3 {
  color: #ffc107 !important; /* पीला/गोल्डन कलर */
}

.faculty-box p {
  color: #f8f9fa;
}
/* Cultural Activities Card Background Image */
.cultural-box {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/cultural.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.cultural-box h4 {
  color: #ffc107 !important; /* पीला / गोल्डन रंग */
}

.cultural-box p {
  color: #f8f9fa;
}
/* Computer Lab Card Background Image */
.lab-box {
  background: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.03)), url('images/computer.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.lab-box h4 {
  color: #ffc107 !important; /* पीला / गोल्डन रंग */
}

.lab-box p {
  color: #f8f9fa;
}
/* Classroom Card Background Image */
.facility-box.classroom-box {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('images/class.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: #ffffff !important;
}

.facility-box.classroom-box h4 {
  color: #ffc107 !important;
}

.facility-box.classroom-box p {
  color: #f8f9fa !important;
}
/* Smart Classes Card Background Image */
.smart-card {
  background: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.03)), url('images/class.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: #ffffff !important;
}

.smart-card h3 {
  color: #ffc107 !important; /* पीला / गोल्डन रंग */
}

.smart-card p {
  color: #f8f9fa !important;
}
/* Transport Facility Background Image */
.facility-box.transport-box {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('images/bus.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: #ffffff !important;
}

.facility-box.transport-box h4 {
  color: #ffc107 !important; /* पीला / गोल्डन रंग */
}

.facility-box.transport-box p {
  color: #f8f9fa !important;
}
/* Play & Sports Area Background Image */
.facility-box.transport-box {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('images/sports.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: #ffffff !important;
}

.facility-box.transport-box h4 {
  color: #ffc107 !important; /* पीला / गोल्डन रंग */
}

.facility-box.transport-box p {
  color: #f8f9fa !important;
}
/* Safe Campus Card Background Image */
.feature-card.campus-box {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('images/campus.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: #ffffff !important;
}

.feature-card.campus-box h3 {
  color: #ffc107 !important; /* पीला / गोल्डन रंग */
}

.feature-card.campus-box p {
  color: #f8f9fa !important;
}
/* Card Container Styling for Hover Effect */
.feature-card, 
.facility-box {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Initially Hide Text & Move it Down */
.feature-card h3,
.feature-card p,
.facility-box h4,
.facility-box p {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease-in-out;
}

/* When Hovered (Cursor Pass Le Jane Par) Show Text */
.feature-card:hover h3,
.feature-card:hover p,
.facility-box:hover h4,
.facility-box:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* Light Dark Overlay on Hover for Better Text Visibility */
.feature-card::before,
.facility-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* हल्का डार्क शेड */
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.feature-card:hover::before,
.facility-box:hover::before {
  opacity: 1;
}

/* Bring Text Above the Overlay */
.feature-card h3, .feature-card p,
.facility-box h4, .facility-box p {
  position: relative;
  z-index: 1;
}
/* Card Background Clear Image & Text Hover Adjustment */

/* 1. इमेज को क्लियर (साफ़) दिखाने के लिए डार्क शेड कम किया */
.feature-card, 
.facility-box,
.smart-card,
.campus-box,
.transport-box,
.sports-box,
.lab-box,
.cultural-box,
.faculty-box {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /* इमेज के ऊपर का कालापन हल्का किया ताकि फोटो साफ दिखे */
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.25) !important; 
}

/* 2. हेडिंग (पीले वाले नाम) हमेशा दिखेंगे */
.feature-card h3,
.facility-box h4 {
  opacity: 1 !important;
  transform: none !important;
  color: #ffc107 !important; /* पीला / गोल्डन रंग */
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); /* फोटो पर साफ़ पढ़ने के लिए हल्का शैडो */
  margin-bottom: 8px;
}

/* 3. नीचे का डिस्क्रिप्शन (Paragraph) शुरुआत में छिपा रहेगा */
.feature-card p,
.facility-box p {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(15px);
  transition: all 0.4s ease-in-out;
  color: #ffffff !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

/* 4. माउस ले जाने (Hover) पर पैराग्राफ़ दिखेगा */
.feature-card:hover p,
.facility-box:hover p {
  opacity: 1;
  max-height: 100px;
  transform: translateY(0);
}
/* --- Fix Card Height & Bottom-Center Text Alignment --- */

/* 1. कार्ड्स की प्रॉपर हाइट और फ्लेक्स सेट करना */
.feature-card, 
.facility-box {
  min-height: 180px !important; /* बॉक्स को पुरानी चौड़ी शेप देगा */
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important; /* टेक्स्ट को नीचे की तरफ (Lower) रखेगा */
  align-items: center !important;     /* टेक्स्ट को बीच में (Center) रखेगा */
  text-align: center !important;
  padding: 20px !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  background-blend-mode: normal !important;
  background-color: transparent !important;
}

/* 2. पीला टाइटल हमेशा नीचे-सेंटर में दिखेगा */
.feature-card h3,
.facility-box h4 {
  color: #ffc107 !important;
  font-size: 1.15rem !important;
  font-weight: bold !important;
  margin: 0 !important;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.95); /* ताकि फोटो के ऊपर साफ पढ़े */
  transition: transform 0.3s ease !important;
}

/* 3. शुरुआत में पैराग्राफ़ छिपा रहेगा */
.feature-card p,
.facility-box p {
  opacity: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #ffffff !important;
  font-size: 0.88rem !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.95);
  transition: all 0.3s ease-in-out !important;
}

/* 4. माउस/कर्सर ले जाने पर हेडिंग थोड़ी ऊपर खिसकेगी और टेक्स्ट आ जाएगा */
.feature-card:hover p,
.facility-box:hover p {
  opacity: 1 !important;
  max-height: 80px !important;
  margin-top: 8px !important;
}

.feature-card:hover h3,
.facility-box:hover h4 {
  transform: translateY(-4px) !important;
}
/* --- 3 Sections Unique Background Colors --- */

/* 1. About Us Section - सोबर लाइट ब्लू बैकग्राउंड */
.about-section {
  background-color: #eef5ff !important; /* सफ़ेद हटाकर हल्का ब्लू */
}

.about-section h2 {
  color: #0b5ed7 !important;
}

/* 2. Why Choose Us (Features) Section - डार्क थीम बैकग्राउंड */
.features-section {
  background-color: #0f172a !important; /* प्रीमियम डार्क नेवी ब्लू */
}

.features-section .section-title {
  color: #ffc107 !important; /* टाइटल का रंग पीला/गोल्डन */
}

/* 3. Our Facilities Section - हल्का ग्रे-ब्लू (Soft Slate) बैकग्राउंड */
.facilities-section {
  background-color: #f1f5f9 !important;
}

.facilities-section .section-title {
  color: #0b5ed7 !important;
}
/* Our Facilities - Soft Mint Background */
.facilities-section {
  background-color: #e6f4f1 !important;
}

.facilities-section .section-title {
  color: #0d6efd !important;
}
/* Why Choose Us - Creamy Background */
.features-section {
  background-color: #fffbeb !important; /* हल्का क्रीम / वैनिला शेड */
}

.features-section .section-title {
  color: #b45309 !important; /* टाइटल का गहरा ऑरेंज/गोल्डन रंग */
}
/* --- Auto-sliding Photo Gallery --- */
.gallery-section {
  padding: 50px 20px;
  background-color: #f8f9fa;
  text-align: center;
  overflow: hidden;
}

.gallery-title {
  color: #0b5ed7;
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.slider-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.slider-track {
  display: flex;
  gap: 20px;
  width: calc(320px * 10); /* इमेजेस की कुल चौड़ाई */
  animation: scrollSlider 20s linear infinite; /* अपने आप चलने के लिए एनिमेशन */
}

/* कर्सर ले जाने पर स्लाइडर रुक जाएगा ताकि फोटो साफ़ दिखे */
.slider-container:hover .slider-track {
  animation-play-state: paused;
}

.slide {
  width: 300px;
  height: 220px;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 3px solid #ffffff;
  transition: transform 0.3s ease;
}

.slide img:hover {
  transform: scale(1.03);
}

/* 360 Degree Continuous Scrolling Animation */
@keyframes scrollSlider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-320px * 5));
  }
}
/* --- Professional Footer Styling --- */
.site-footer {
  background-color: #0d1b2a; /* गहरा और प्रीमियम नीला रंग */
  color: #ffffff;
  padding-top: 40px;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 0 20px 30px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col {
  flex: 1;
  min-width: 280px;
  margin-bottom: 20px;
}

/* Left Logo & About Styling */
.footer-logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  padding: 3px;
}

.footer-about h3 {
  color: #ffc107;
  font-size: 1.3rem;
  margin: 0;
}

.footer-about p {
  color: #cfd8dc;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Contact Info Styling */
.footer-contact h4 {
  color: #ffc107;
  font-size: 1.15rem;
  margin-bottom: 15px;
}

.footer-contact p {
  color: #cfd8dc;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Bottom Center Copyright Bar */
.footer-bottom {
  text-align: center; /* एकदम सेंटर में */
  padding: 15px 10px;
  background-color: #0b1320; /* हल्का और गहरा शेड */
  color: #b0bec5;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}
/* --- 1. Safe Campus Image Fix --- */
/* सुनिश्चित करें कि आपकी इमेज का सही नाम यहाँ हो (जैसे safe.jpg या campus.jpg) */
.feature-card:nth-child(3), 
.facility-box:nth-child(3) {
  background-image: url('images/safe.jpg') !important; /* अपनी सही इमेज का नाम यहाँ लिखें */
  background-size: cover !important;
  background-position: center !important;
}

/* --- 2. Perfect Footer Layout Fix --- */
.site-footer {
  background-color: #0d1b2a !important;
  color: #ffffff !important;
  padding-top: 35px !important;
  font-family: Arial, sans-serif !important;
}

.footer-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
  padding: 0 30px 25px 30px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.footer-col {
  flex: 1 !important;
  min-width: 280px !important;
}

.footer-logo-box {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-bottom: 12px !important;
}

.footer-logo {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
  background: #ffffff !important;
  border-radius: 50% !important;
  padding: 3px !important;
}

.footer-school-name {
  color: #ffc107 !important;
  font-size: 1.3rem !important;
  font-weight: bold !important;
  margin: 0 !important;
}

.footer-desc {
  color: #cfd8dc !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.footer-contact h4 {
  color: #ffc107 !important;
  font-size: 1.1rem !important;
  margin-bottom: 10px !important;
}

.footer-contact p {
  color: #cfd8dc !important;
  font-size: 0.88rem !important;
  margin-bottom: 8px !important;
}

/* Bottom Center Copyright Bar */
.footer-bottom {
  text-align: center !important;
  padding: 12px 10px !important;
  background-color: #08101a !important;
  color: #b0bec5 !important;
  font-size: 0.85rem !important;
}

.footer-bottom p {
  margin: 0 !important;
}
/* --- Fix Missing Background Images for Cards --- */

/* 1. तीसरे नंबर का कार्ड (जैसे Safe Campus या जो भी तीसरा कार्ड हो) */
.features-section .feature-card:nth-child(3),
.facilities-section .facility-box:nth-child(3) {
  background-image: url('images/campus.jpg') !important; /* यहाँ अपनी सही इमेज का नाम लिखें */
  background-size: cover !important;
  background-position: center !important;
}

/* 2. अगर Sports या कोई और कार्ड गायब है */
.features-section .feature-card:nth-child(2),
.facilities-section .facility-box:nth-child(2) {
  background-image: url('images/sports.jpg') !important; /* यहाँ अपनी सही इमेज का नाम लिखें */
  background-size: cover !important;
  background-position: center !important;
}
.feature-card img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.facility-box img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
/* --- Footer Clean & Perfect Fix --- */
footer, .footer-section {
  display: flex !important;
  flex-direction: column !important;
  background-color: #0b132b !important;
  color: #ffffff !important;
  padding: 40px 20px 20px 20px !important;
}

/* लोगो और टेक्स्ट कीलाइनिंग ठीक करने के लिए */
.footer-content, .footer-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

/* फुटर का लोगो अब नहीं कटेगा, एकदम सही साइज में दिखेगा */
footer img, .footer-logo img {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  margin-right: 15px !important;
}

/* कॉपीराइट वाली लाइन को एकदम नीचे बीच में सेट करने के लिए */
.footer-bottom, .copyright {
  text-align: center !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 30px !important;
  padding-top: 15px !important;
  font-size: 0.85rem !important;
  color: #aaaaaa !important;
  width: 100% !important;
}
.safe-box {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('safty.jpg');
  background-size: cover;
  background-position: center;
}
.safe-box {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/safty.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.safe-box {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('safty.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.safe-box {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('safty.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 250px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}
.features-grid .feature-card:nth-child(3) {
    background: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.03)), url('images/safty.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.facilities-grid .facility-box:nth-child(3) {
    background: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.03)), url('images/sports.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}