/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px; /* default size */
  line-height: 1.6;
  color: #070101; /* text color */
  background-color: #fff;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600; /* or 700 for extra bold */
  
  
}
html {
  scroll-behavior: smooth;
}


/* Top Bar */
.top-bar {
  background-color: #000000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  font-size: 14px;
}

.top-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-right a {
  color: white;
  margin-left: 15px;
  font-size: 16px;
}

.top-right a:hover {
  color: #00aced;
} 
 
 

/* Navbar */
.navbar {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-evenly; /* yahan change */
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}



.nav-logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  padding: 10px 12px;
  font-weight: bold;
  display: block;
}

.nav-menu a:hover {
  color: #0066cc;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  background: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 999;
  min-width: 200px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  padding: 10px;
  white-space: nowrap;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

/* Responsive */
@media (max-width: 991px) {
  .nav-container {
    flex-direction: column;
    align-items: center;
  }

  .hamburger {
    display: block;
    align-self: flex-end;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    max-height: 70vh;
    overflow-y: auto;
    background-color: white;
  }

  #menu-toggle:checked ~ nav .nav-menu {
    display: flex;
  }

  .nav-menu li {
    text-align: center;
    width: 100%;
  }

  .nav-logo {
    margin-bottom: 10px;
  }
}
/* ---------- HERO SLIDER ---------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 420px;
  overflow: hidden;
  z-index: 0;
 
}

/* slides use inline background-image */
.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;        /* ye already hai */
  background-position: center;   /* ye already hai */
  background-repeat: no-repeat;  /* yeh naya add karo */
  width: 100%;                   /* naya add karo */
  height: 100%;                  /* naya add karo */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
  z-index: 1;
  pointer-events: none;
}

.hero-slider .slide.active { opacity: 1; z-index: 2; pointer-events: auto; }

/* overlay text that sits on top of slides */
.hero-slider .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  color: #fff;
  background: rgba(0,60,30,0.45);
  padding: 18px 28px;
  border-radius: 8px;
  max-width: 90%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  z-index: 5;
}
.hero-slider .overlay h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4.5vw, 48px);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.hero-slider .overlay p {
  margin: 0 0 12px;
  font-size: clamp(14px, 1.6vw, 20px);
}

/* hero buttons */
.hero-buttons { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:8px; }
.btn { display:inline-block; padding:10px 16px; border-radius:8px; text-decoration:none; font-weight:600; cursor:pointer; }
.btn-primary { background:#1b5e3c; color:#fff; border:2px solid #1b5e3c; }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(27,94,60,0.18); }
.btn-secondary { background:transparent; color:#fff; border:2px solid rgba(255,255,255,0.9); }
.btn-fee { background: rgba(255,255,255,0.95); color:#1b5e3c; border:2px solid rgba(0,0,0,0.06); }

/* ensure overlay texts are readable on small screens */
@media (max-width: 640px) {
  .hero-slider { min-height: 420px; height: 60vh; }
  .hero-slider .overlay { padding: 14px 16px; }
  .hero-slider .overlay h1 { font-size: clamp(20px,6.5vw,34px); }
}

/* ---------- ABOUT ---------- */
.about-section { padding: 60px 20px; background: hsla(258, 93%, 27%, 0.05); }
.about-content { max-width:1200px; margin:0 auto; display:flex; gap:30px; align-items:center; flex-wrap:wrap; }
.about-image { flex:1; min-width:280px; }
.about-image img { width:100%; border-radius:10px; box-shadow:0 6px 18px rgba(0,0,0,0.08); }
.about-text { flex:1; min-width:300px; }
.about-text h2 { color:#1b5e3c; margin-bottom:12px; font-family:'Montserrat',sans-serif; }
.about-buttons { margin-top:16px; display:flex; gap:12px; }

/* RESPONSIVE ABOUT */
@media (max-width: 768px) {
  .about-content { flex-direction:column; text-align:center; }
  .about-text { text-align:center; }
}

/* ---------- COURSES ---------- */
.courses-section { padding:60px 20px; background:#feffff; }
.section-title { font-size:28px; margin-bottom:8px; font-weight:700; text-align:center; color:#08642f; }
/*.courses-grid { display:grid; gap:20px; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); max-width:1200px; margin:20px auto 0; }*/
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row */
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto 0;
}
.course-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  background-color: #1b5e3c; /* green theme */
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid #1b5e3c;
  transition: all 0.3s ease;
}
.course-btn:hover {
  background-color: transparent;
  color: #1b5e3c;
  box-shadow: 0 4px 12px rgba(27, 94, 60, 0.25);
}

@media (max-width: 992px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

@media (max-width: 600px) {
  .courses-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}

.course-card { background:#fff; padding:15px; border-radius:10px; box-shadow:0 6px 18px rgba(0,0,0,0.06); text-align:left; }
.course-img { width:100%; height:180px; object-fit:cover; border-radius:8px; display:block; }

/* ---------- TEACHERS ---------- */
.teachers-section { padding:60px 20px; background:#012b0e; color: rgb(2, 61, 37);}

.teacher-grid { display:grid; gap:18px; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); max-width:1200px; margin:18px auto 0; }
.teacher-card { background:#f9fafc; padding:14px; border-radius:10px; box-shadow:0 6px 18px rgba(0,0,0,0.06); text-align:center; }
.teacher-card img { width:110px; height:110px; object-fit:cover; border-radius:50%; margin:6px auto 12px; }
.book-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  background-color: #ffffff; /* white button inside green card */
  color: #1b5e3c;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.book-btn:hover {
  background-color: #1b5e3c;
  color: #fff;
  border-color: #1b5e3c;
  box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}
#teachers h2 {
  color: #fff !important;
  font-weight: 700; /* optional */
}
.section-sub {
  color: white;
}



/* ---------- FREE TRIAL ---------- */
#free-trial { padding:50px 20px; background:#ffffff; text-align:center; }
#free-trial form { max-width:600px; margin:16px auto 0; display:flex; flex-direction:column; gap:12px; }
#free-trial input { padding:12px; border-radius:6px; border:1px solid #ddd; }

/* ---------- FOOTER ---------- */
.footer {
  background: #014128;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fdd835; /* Yellow heading like Shiamadrassa */
}

.footer-col p,
.footer-col ul li a {
  font-size: 14px;
  color: #ddd;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #bbb;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
}

/* ✅ Mobile Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col {
    margin-bottom: 20px;
  }
}

/* Monthly Fee Page Styles */
/* Monthly Fee page */

.monthly-header h1 {
  text-align:center;
  padding:40px 0;
  font-size:2rem;
}

.fee-section {
  padding:40px 20px;
  text-align:center;
}

.fee-section h2 {
  text-align: start;
  margin-bottom:20px;
  font-size:1.8rem;
  text-transform:uppercase;
}

.fee-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap:20px;
}

.fee-card {
  background:#fff;
  border-radius:8px;
  box-shadow:0 3px 8px rgba(0,0,0,0.1);
  padding:20px;
}

.fee-card h3 {
  font-size:1.3rem;
  color:#fff;
  margin:-20px -20px 20px;
  padding:10px;
  border-radius:8px 8px 0 0;
}

.fee-card ul {
  list-style:none;
  padding:0;
  margin:0 0 15px;
}

.fee-card ul li {
  padding:5px 0;
  color:#555;
}

.fee-card .price {
  font-size:1.4rem;
  color:#28a745;
  margin-bottom:15px;
}

.fee-card .btn {
  display:inline-block;
  padding:10px 20px;
  border-radius:5px;
  background:#333;
  color:#fff;
  text-decoration:none;
}

.orange h3 {background:#ff6600;}
.blue h3 {background:#0044cc;}
.green h3 {background:#33aa33;}
.teal h3 {background:#00b3b3;}

.orange .btn {background:#ff6600;}
.blue .btn {background:#0044cc;}
.green .btn {background:#33aa33;}
.teal .btn {background:#00b3b3;}

.admission-section {
  padding:40px 20px;
  text-align:center;
}

.admission-section form {
  max-width:500px;
  margin:0 auto;
}

.admission-section input {
  width:100%;
  padding:10px;
  margin-bottom:10px;
  border:1px solid #ccc;
  border-radius:5px;
}

.admission-section button {
  background:#28a745;
  color:#fff;
  border:none;
  padding:10px 20px;
  border-radius:5px;
}

.footer {
  background:#111;
  color:#ccc;
  padding:20px;
  text-align:center;
}

@media (max-width:768px){
  .fee-grid{
    grid-template-columns:1fr;
  }
}
/* free trail new code*/
/* === FREE TRIAL / ADMISSION FORM ENHANCED === */
#free-trial {
  padding: 50px 20px;
  background: #e8eeec;
  text-align: center;
  color: #030303;
  border-radius: 10px;
}
#free-trial h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}
#free-trial p {
  max-width: 600px;
  margin: 0 auto 20px;
  font-size: 1rem;
  color: #070606;
}
#free-trial form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#free-trial input,
#free-trial select {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #050505;
  font-size: 1rem;
  color: #333;
}
#free-trial input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
  
}
#free-trial .checkbox-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: rgba(11, 150, 57, 0.1);
  padding: 8px;
  border-radius: 6px;
  color: #131212;
  font-size: 0.95rem;
}

/* Admission Now button */
.admission-btn {
  display: inline-block;
  background: #1b5e3c;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}
.admission-btn:hover {
  background: #fff;
  color: #1b5e3c;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
/* whatsapp button */

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20b358;
}

.whatsapp-float i {
  margin: 0;
}

/* For small mobile screens adjust size */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 15px;
    right: 15px;
  }
}
/*course pages */
/* Course page main layout */
.course-page {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* responsive ke liye */
  padding: 20px;
}
/* Course heading center kare */
.course-content h1 {
  text-align: center;
  margin-bottom: 20px;
}

/* Course content image ko center aur height auto */
.course-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px auto; /* center + gap */
}

/* Sidebar aur content ko upar se same line me align kare */
/* Sidebar form aur course image ko upar se barabar align karo */
.course-page {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* responsive ke liye */
  padding: 20px;
  align-items: flex-start; /* 🟢 sidebar & image top se barabar */
}

/* Course heading center kare */
.course-content h1 {
  text-align: center;
  margin-bottom: 20px;
}

/* Course content image ko center aur height auto */

/* course-content image ko thoda chhota dikhane ke liye */
.course-content img {
  display: block;
  max-width: 80%;   /* 100% ki jagah 80% kar diya */
  height: auto;     /* aspect ratio maintain rahega */
  margin: 0 auto 20px auto; /* center + gap */
}

/* Left Content */
.course-content {
  flex: 1; /* jitni space bachi hai le le */
  min-width: 300px;
}

/* Right Sidebar */
.course-sidebar {
  width: 350px; /* sidebar ki fixed width */
  min-width: 280px; /* mobile par shrink ho sakta hai */
}

/* Free trial form ko sirf sidebar me style karo */
.course-sidebar #free-trial {
  background: #014128;
  padding: 20px;
  color: #fff;
  border-radius: 6px;
  text-align: center;
}

.course-sidebar #free-trial h2 {
  margin-top: 0;
}

.course-sidebar #free-trial form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.course-sidebar #free-trial input,
.course-sidebar #free-trial select {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.course-sidebar #free-trial .admission-btn {
  background: #f6b21a;
  color: #000;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.course-sidebar #free-trial .checkbox-row {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-start;
  color: #fff;
  
}

/* Sidebar ko thoda niche push karo */
.course-sidebar {
  margin-top: 60px; /* jitna chaho utna set karo (20px, 30px...) */
}


/* Responsive for mobile */
@media (max-width: 768px) {
  .course-container {
    grid-template-columns: 1fr; /* single column */
  }

  .course-sidebar {
    margin-top: 20px; /* neeche chala jaye */
  }
}
/* course page heading */
/* ✅ Only headings inside course page section will turn green */
.course-page h1{
  color: #025e02; /* Green color */
}
/* ✅ Make all headings in course page same size (except h1) */
.course-page h3,
.course-page h4,
.course-page h5,
.course-page h6 {
  font-size: 24px; /* set any size you like */
  font-weight: 600; /* bold but not too heavy */
  margin-top: 10px;
  margin-bottom: 10px;
  color: #0e0d0d; /* optional, heading color */
}

/* ✅ Make all paragraphs in course page same size */
.course-page p {
  font-size: 16px; /* set any size you like */
  line-height: 1.6;
  margin-bottom: 10px;
  color: #0a0a0a; /* optional text color */
}
.course-sidebar #free-trial p{
  color: floralwhite;
}


