
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #e7f0ff;
  color: #0f172a;
  animation: fadeInBody 1s ease;
}

header {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  height: 90px; /* Increased from 60px */
  margin-right: 1.2rem;
}


header h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

nav a {
  color: white;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

.hero {
  background-color: #dbeafe;
  padding: 2rem;
  text-align: center;
}

.section {
  padding: 2rem;
  max-width: 1100px;
  margin: auto;
}

.features {
  list-style: inside disc;
  max-width: 700px;
  margin: auto;
  padding-left: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.features li {
  margin-bottom: 1rem;
}

/* Batches */
.batch {
  max-width: 700px;
  margin: 1rem auto 2rem;
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.batch h3 {
  margin-top: 0;
  font-weight: 600;
  color: #00a8e8;
}

.batch ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  font-size: 1.1rem;
}

.batch ul li {
  margin-bottom: 0.7rem;
}

/* Teachers */
.teacher-profile {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 700px;
  margin: 2rem auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.teacher-photo {
  width: 140px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.teacher-info p {
  margin: 0.3rem 0;
  font-size: 1.1rem;
}

/* Gallery & Toppers */
.gallery img,
.toppers img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  background: #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.gallery, .toppers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
  justify-items: center;
}

.topper-card {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 280px;           /* fix width for all topper cards */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.topper-card img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  object-fit: cover;
  display: block;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.topper-card p {
  margin: 0.3rem 0;
  font-size: 1.1rem;
}

/* Contact Map */
.map-container {
  max-width: 700px;
  margin: 1rem auto 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

footer {
  background-color: #0f172a;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Animations */
.fade-in {
  animation: fadeIn 1.2s ease both;
}
.slide-up {
  animation: slideUp 1.2s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInBody {
  from { background-color: #fff; }
  to { background-color: #e7f0ff; }
}

/* Join Now Button */
.join-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #ff5722;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}
.join-btn:hover {
  background-color: #e64a19;
}

/* Batches with Image */
.batch-with-image-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 700px;
  margin: 1.5rem auto 2.5rem;
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  gap: 1.5rem;
}

.batch-with-image-right div {
  flex: 1;
}

.batch-image {
  width: 140px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.batch-with-image-right h3 {
  margin-top: 0;
  font-weight: 600;
  color: #00a8e8;
}

.batch-with-image-right ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  font-size: 1.1rem;
}

.batch-with-image-right ul li {
  margin-bottom: 0.7rem;
}

/* Mobile Nav */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 10px;
    background: #0f172a;
    padding: 1rem;
    display: none;
    border-radius: 8px;
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  .menu-toggle {
    display: block;
  }

  nav.active ul {
    display: flex;
  }

  nav {
    position: relative;
  }
}
.video-container {
  max-width: 700px;
  margin: 2rem auto;
  text-align: center;
}

.video-thumb {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.video-thumb:hover {
  transform: scale(1.02);
}

.yt-btn {
  display: inline-block;
  background-color: #ff0000;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.yt-btn:hover {
  background-color: #cc0000;
}
.video-section {
  padding: 2rem;
  background-color: #f9fafb;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: auto;
  padding: 1rem 0;
}

.video-grid a img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.video-grid a img:hover {
  transform: scale(1.05);
}
.whatsapp-btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.75rem 1.5rem;
  background-color: #25D366; /* WhatsApp green */
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
  background-color: #1ebe57;
  box-shadow: 0 6px 12px rgba(37, 211, 102, 0.5);
}
.gallery {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  max-width: 900px;
  margin: auto;
  scroll-behavior: smooth;
  overflow-x: auto;  /* horizontal scroll default */
  overflow-y: hidden;
}

.gallery-img {
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  object-fit: contain;
  flex-shrink: 0;  /* prevent shrinking */
  width: 250px;    /* fixed width on desktop */
  height: 160px;
}

/* Mobile: vertical scrolling */
@media (max-width: 768px) {
  .gallery {
    flex-direction: column;
    max-height: 400px;   /* fixed height */
    overflow-y: auto;    /* vertical scroll */
    overflow-x: hidden;
  }

  .gallery-img {
    width: 100%;        /* full width on mobile */
    height: auto;       /* auto height */
  }
}
.management-line {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #2563eb;  /* vibrant blue */
  margin: 1rem 0;
  font-size: 1.1rem;
}
.management-line strong {
  font-weight: 600;
}
.shorts-section {
  padding: 2rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.shorts-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.shorts-container {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.shorts-container::-webkit-scrollbar {
  display: none;
}

.short-video {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
}

.short-video img {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.short-video img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .short-video {
    width: 70vw;
  }
}

.toppers-section {
  padding: 2rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* Container for topper cards */
.toppers-2025 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Each topper card */
.toppers-2025 .topper-card {
  flex: 0 0 22%;  /* about 4 per row */
  max-width: 22%;
  box-sizing: border-box;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.toppers-2025 .topper-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

/* Hover effect for cards */
.toppers-2025 .topper-card:hover {
  transform: translateY(-5px);
}

/* Mobile: two cards per row, smaller size, horizontal scroll */
@media (max-width: 768px) {
  .toppers-2025 {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
  }

  .toppers-2025 .topper-card {
    flex: 0 0 45%;
    max-width: 45%;
    scroll-snap-align: start;
  }
}
