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

/* Reset and base styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #fdf6e3 0%, #f8f4e6 100%);
  color: #2c3e50;
  line-height: 1.7;
  font-size: 16px;
}

/* Header styles */
header {
  background: linear-gradient(135deg, #f8b400 0%, #ffa726 100%);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(248, 180, 0, 0.3);
  backdrop-filter: blur(10px);
}

header img {
  height: 60px;
  width: auto;
  max-width: 200px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Navigation styles */
nav {
  display: flex;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 17px;
}

nav a:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 80%;
}

#menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  color: white;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#menu-toggle:hover {
  background-color: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

#mobile-nav {
  display: none;
  flex-direction: column;
  background: linear-gradient(135deg, #f8b400 0%, #ffa726 100%);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-radius: 0 0 15px 15px;
}

#mobile-nav a {
  padding: 20px 25px;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 18px;
}

#mobile-nav a:hover {
  background-color: rgba(255,255,255,0.15);
  padding-left: 30px;
}

#mobile-nav.open {
  display: flex;
}

/* Slider styles */
.slider {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  border-radius: 0 0 20px 20px;
}

.slider img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  opacity: 0;
  transition: all 0.8s ease-in-out;
  position: absolute;
  border-radius: 15px;
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
  z-index: 1;
  border-radius: 0 0 20px 20px;
}

.slider img.loaded {
  opacity: 1;
  transform: scale(1.02);
}

/* Banner styles */
.banner {
  background: linear-gradient(135deg, #ffe259 0%, #ffa751 50%, #ff8a65 100%);
  padding: 40px 20px;
  text-align: center;
  color: #2c3e50;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.admission-banner {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.admission-banner span {
  color: #e74c3c;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.grades, .contact, .bus, .whatsapp {
  font-size: 1.3em;
  margin: 15px 0;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.bus img {
  margin-top: 8px;
  max-width: 365px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
  transition: transform 0.3s ease;
}

.bus img:hover {
  transform: scale(1.05);
}

.footer-note {
  font-size: 1em;
  display: block;
  margin-top: 4px;
  opacity: 0.9;
}

/* Content styles */
.content {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2em;
  color: #2c3e50;
  margin-top: 30px;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #f8b400, #ffa726);
  border-radius: 2px;
}

.section {
  scroll-margin-top: 100px;
  margin-bottom: 50px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Footer styles */
footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f8b400, #ffa726, #f8b400);
}

footer img {
  width: 28px;
  height: 28px;
  margin: 0 12px;
  vertical-align: middle;
  transition: all 0.3s ease;
  filter: brightness(1);
}

footer a:hover img {
  transform: scale(1.2) rotate(5deg);
  filter: brightness(1.2);
}

/* Info container styles */
.info-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  justify-content: center;
  margin-bottom: 40px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-table:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.info-table th, .info-table td {
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-size: 15px;
}

.info-table th {
  background: linear-gradient(135deg, #f8b400 0%, #ffa726 100%);
  color: white;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-table tr:nth-child(even) {
  background-color: rgba(248, 180, 0, 0.05);
}

.info-table tr:hover {
  background-color: rgba(248, 180, 0, 0.1);
  transition: background-color 0.3s ease;
}

/* Contact links */
.phone-link, .whatsapp-link {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-block;
}

.phone-link:hover, .whatsapp-link:hover {
  color: #f8b400;
  background-color: rgba(248, 180, 0, 0.1);
  transform: translateY(-2px);
}

/* Curriculum list styling */
#curriculum ul {
  list-style: none;
  padding: 0;
}

#curriculum li {
  background: white;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border-left: 4px solid #f8b400;
  transition: all 0.3s ease;
}

#curriculum li:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

#curriculum strong {
  color: #f8b400;
  font-weight: 600;
  font-size: 1.1em;
  display: block;
  margin-bottom: 8px;
}

/* Responsive design */
@media (max-width: 768px) {
  nav {
    display: none;
  }
  
  #menu-toggle {
    display: block;
  }
  
  .admission-banner {
    font-size: 2em;
  }
  
  .grades, .contact, .bus, .whatsapp {
    font-size: 1.1em;
  }
  
  .content {
    padding: 20px 15px;
  }
  
  .info-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section {
    padding: 20px;
    margin-bottom: 30px;
  }
  
  .slider {
    height: 300px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px 15px;
  }
  
  header img {
    height: 50px;
  }
  
  .slider {
    height: 250px;
  }
  
  .banner {
    padding: 30px 15px;
  }
  
  .admission-banner {
    font-size: 1.8em;
  }
  
  .section-title {
    font-size: 1.6em;
  }
} 