/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  /* Body  */
  body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color:sandybrown;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #333;/* for text color */
  }
  main {
    flex: 1;
}
  h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #f72c2c;
  }
  p {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  a {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    background-color: #5c6bc0;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  a:hover {
    background-color: #3949ab;
  }
  /* Navigation Bar */

/* Navbar Styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 16px; /* reduced from 10px 20px */
  background-color: #222;
  position: relative;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

/* Shadow on scroll */
.navbar.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Logo Styling */
.logo {
  display: flex;
  align-items: center;
  color: white;
  font-size: 20px; /* reduced from 24px */
  font-weight: bold;
  gap: 8px; /* slightly reduced */
  transition: transform 0.3s ease;
}

/* Logo Image */
.logo-img {
  width: 60px;  /* reduced from 80px */
  height: 60px; /* reduced from 80px */
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* Logo Hover Effect */
.logo:hover .logo-img {
  transform: scale(1.1) rotate(3deg);
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 24px; /* slightly reduced */
  color: white;
  cursor: pointer;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 16px; /* slightly reduced */
  background-color: #222;
  padding: 8px; /* reduced padding */
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  padding: 8px 12px; /* reduced from 10px 15px */
  border-radius: 5px;
  position: relative;
  font-size: 11px; /* slightly smaller */
  transition: all 0.3s ease;
}

/* Hover Effects */
.nav-links li a:hover {
  background-color: lightblue;
  color: #222;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Underline Animation on Hover */
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #00bcd4;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 80%;
}

/* Active Link Styling */
.nav-links li a.active {
  background-color: #3498db;
  border-radius: 5px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px; /* slightly adjusted */
    left: 0;
    right: 0;
    background-color: #222;
    flex-direction: column;
    align-items: center;
    gap: 12px; /* slightly reduced */
    padding: 16px;
    display: none;
    transition: transform 0.3s ease;
  }

  .nav-links.active {
    display: flex;
    transform: translateY(0);
  }

  .nav-links li a {
    font-size: 1.1rem; /* slightly smaller */
  }
}
/* Hero Section */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #cad5d5 0%, #a9c6c6 100%);
  min-height: 60vh;
  position: relative;
  overflow: hidden;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  transition: transform 0.5s ease;
}

.hero-logo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-logo .logo-img {
  width: 250px;
  height: 300px;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.hero-logo:hover .logo-img {
  transform: scale(1.1) rotate(15deg);
  opacity: 0.8;
}

.hero-text {
  flex: 2;
  padding-left: 30px;
  text-align: left;
  color: #050303;
}

.hero-text h1 {
  font-size: 3rem;
  color: #eb0c0c;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
  animation: slideIn 1s ease-out;
  line-height: 1.1;
  letter-spacing: 1.5px;
}

.hero-text p {
  font-size: 1.5rem;
  color: #080606;
  margin-top: 10px;
  opacity: 0;
  animation: fadeIn 2s ease-in 1s forwards;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

/* Call-to-Action Button */
.btn-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background-color: #eb0c0c;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(235, 12, 12, 0.4);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-cta:hover {
  background-color: #c50a0a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(197, 10, 10, 0.6);
}

/* Hero Text Animation */
@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Mobile */
@media screen and (max-width: 768px) {
  header {
    min-height: 50vh;
    padding: 30px 10px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-logo {
    margin-bottom: 20px;
  }

  .hero-logo .logo-img {
    width: 180px;
    height: 220px;
  }

  .hero-text {
    padding-left: 0;
    margin-top: 15px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.2rem;
  }

  .btn-cta {
    font-size: 1rem;
    padding: 10px 22px;
  }
}

/* Explore Study Materi*

  
/* About Us Section */
.about-us-section {
  background: linear-gradient(to right, #f0f4ff, #e6ecff);
  padding: 60px 20px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-us-container {
  max-width: 700px;
  margin: 0 auto;
}

.about-us-section h2 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about-us-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #3366cc;
  margin: 10px auto 0;
  border-radius: 2px;
}

.about-us-section p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.7;
  margin-top: 15px;
}

.about-icon {
  font-size: 3rem;
  color: #3366cc;
  margin-bottom: 15px;
  transition: transform 0.3s;
}

.about-icon:hover {
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 600px) {
  .about-us-section {
    padding: 40px 15px;
  }

  .about-us-section h2 {
    font-size: 2rem;
  }

  .about-us-section p {
    font-size: 1rem;
  }
}


/* Contact wala  Section */
.contact-highlight {
  background: #eb0c0c;
  color: white;
  padding: 15px 20px;
  text-align: center;
  border-radius: 8px;
  max-width: 400px;
  margin: 30px auto;
  box-shadow: 0 4px 12px rgba(235, 12, 12, 0.5);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-highlight p {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-highlight .whatsapp-link {
  color: white;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-highlight .whatsapp-link:hover {
  color: #25D366; /* WhatsApp green */
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-highlight .contact-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  border: 1.5px solid white;
  padding: 8px 18px;
  border-radius: 6px;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-highlight .contact-number:hover {
  background-color: white;
  color: #eb0c0c;
  cursor: pointer;
}




/* Counters Section */
.counters-section {
  background: linear-gradient(to right, #e6f0ff, #f2f8ff);
  padding: 60px 20px;
  text-align: center;
  border-radius: 20px;
  margin: 40px auto;
}

.counters-section h2 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 40px;
}

.counters-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.counter-box {
  background: white;
  border-radius: 15px;
  padding: 30px 20px;
  width: 200px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.counter-box:hover {
  transform: translateY(-10px);
}

.counter-box i {
  font-size: 2.5rem;
  color: #3366cc;
  margin-bottom: 10px;
}

.counter {
  font-size: 2rem;
  font-weight: bold;
  color: #003366;
}

.counter-box p {
  margin-top: 10px;
  font-size: 1rem;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .counters-container {
    flex-direction: column;
    align-items: center;
  }

  .counter-box {
    width: 80%;
  }
}

/* Achievements Section */
.achievements {
  padding: 60px 20px;
  background-color: #fef9e7; /* Soft warm background */
  border-radius: 15px;
  max-width: 1200px;
  margin: 40px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.achievements-heading {
  background-color: #fff3c4; /* Soft yellow */
  padding: 15px 30px;
  text-align: center;
  border-radius: 25px;
  display: inline-block;
  margin: 0 auto 40px;
  font-size: 2.5rem;
  color: #090606;
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(181, 137, 0, 0.3);
  letter-spacing: 1.2px;
}

.achievement-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
}

/* Each achievement box */
.achievement {
  background-color: #fff;
  padding: 30px 25px 25px 25px;
  border-radius: 15px;
  width: 30%;
  box-shadow: 0 6px 18px rgba(181, 137, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: default;
}

.achievement:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(181, 137, 0, 0.3);
}

/* Icon container */
.achievement-icon {
  font-size: 2.8rem;
  color: #b58900;
  margin-bottom: 15px;
}

/* Heading */
.achievement h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #001666;
  font-weight: 700;
}

/* Paragraph */
.achievement p {
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
}

/* Responsive */
@media (max-width: 1024px) {
  .achievement {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .achievement-list {
    flex-direction: column;
    align-items: center;
  }

  .achievement {
    width: 90%;
  }
}
/* Student Performance Container */
.gallery-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px 30px;
  background: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Title with icon */
.gallery-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  color: #222;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-left: 40px;
}

/* Add trophy icon before the title */
.gallery-title::before {
  content: "\f091"; /* Font Awesome trophy unicode */
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: #f0a500; /* Gold color */
}

/* Grid for images */
.image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Each image card */
.image-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  width: 320px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  position: relative;
}

/* Hover effect with shadow & scale */
.image-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* Image styling */
.image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.4s ease;
}

/* Slight dark overlay on hover */
.image-card:hover img {
  filter: brightness(0.85);
}

/* Caption with icon */
.caption {
  padding: 15px 10px;
  font-size: 18px;
  text-align: center;
  color: #333;
  font-weight: 600;
  position: relative;
  padding-left: 30px;
}

/* Add user icon before caption text */
.caption::before {
  content: "\f007"; /* Font Awesome user icon unicode */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #007bff;
  font-size: 18px;
}

/* Responsive for tablets & mobiles */
@media (max-width: 768px) {
  .image-card {
    width: 90%;
  }
}

/* See more button */
.see-more-button {
  text-align: center;
  margin-top: 40px;
}

.see-more-button a {
  background-color: #007bff;
  color: #fff;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 10px rgba(0,123,255,0.3);
}

.see-more-button a:hover {
  background-color: #0056b3;
  box-shadow: 0 8px 20px rgba(0,86,179,0.6);
}


/* Testimonials Section */
.testimonials-section {
  background: #f7faff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1000px;
}

.testimonials-section h2 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 40px;
  font-weight: 700;
}

.testimonial-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-box {
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px 25px;
  width: 300px;
  transition: transform 0.3s ease;
  position: relative;
}

.testimonial-box:hover {
  transform: translateY(-10px);
}

.testimonial-box p {
  font-style: italic;
  font-size: 1rem;
  color: #555;
  margin-bottom: 25px;
  min-height: 90px;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.student-info img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #3366cc;
}

.student-info h4 {
  margin: 0;
  color: #003366;
  font-weight: 600;
  font-size: 1.1rem;
}

.stars {
  color: #f5b50a;
  margin-top: 5px;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .testimonial-container {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-box {
    width: 90%;
  }
}

/* Facilities Section */
.facilities {
  padding: 60px 20px;
  background-color: #eeeeee;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.facilities h2 {
  font-size: 2.8rem;
  color: #283593;
  margin-bottom: 25px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.facilities .intro-text {
  font-size: 1.4rem;
  margin-bottom: 45px;
  color: #444;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.facilities-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 30px;
  padding: 0 10px;
}

.facility {
  background-color: #ffffff;
  padding: 25px 25px 35px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(40, 53, 147, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.facility:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(40, 53, 147, 0.3);
}

.facility button {
  background-color: #283593;
  color: white;
  padding: 15px 30px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.3s ease;
  user-select: none;
}

.facility button:hover {
  background-color: #3949ab;
}

/* Add FontAwesome icon next to button text */
.facility button::before {
  font-family: "Font Awesome 6 Free"; /* Make sure to load FA stylesheet */
  content: "\f0da"; /* FontAwesome caret-right icon */
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  transition: transform 0.3s ease;
}

.facility button.active::before {
  transform: rotate(90deg);
}

/* Facility description text - initially hidden */
.facility p {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.6;
  margin-top: 15px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

/* Show the description when active */
.facility.active p {
  max-height: 500px; /* enough to show content */
  opacity: 1;
}

    /* admisions open section */
  .admissions-section {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.admissions-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #222;
}

.admissions-posters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.poster {
  width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.poster img {
  width: 100%;
  height: auto;
  display: block;
}

.button-group {
  display: flex;
  gap: 10px;
  margin: 15px auto;
  flex-wrap: wrap;
  justify-content: center;
}

.join-button,
.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 15px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  color: white;
}

.whatsapp-btn {
  background-color: #25D366;
}

.whatsapp-btn:hover {
  background-color: #1ebe57;
}

.contact-button {
  background-color: #007bff;
}

.contact-button:hover {
  background-color: #0056b3;
}

.whatsapp-btn img {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .poster {
    width: 90%;
  }
}





  /* Call to Action Section */
  .cta {
    text-align: center;
    padding: 50px 20px;
    background-color: #71e2e2;
    color: white;
  }
  
  .cta-btn {
    margin: 10px;
    font-size: 1.2rem;
  }
   /* youtube video embed  */

   .video-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
  }
  
  .video-container iframe {
    flex: 1 1 22%; /* Each video/playlist takes 22% of the available width */
    max-width: 100%;
    height: 315px; /* Fixed height of the video */
    margin: 10px;
  }
  




/* courses  */
* {
  box-sizing: border-box;
}
h2 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  color: #004080;
}

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 25px;
  gap: 10px;
}
.tab {
  background: #e0e5ec;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  color: #555;
  transition: background 0.3s, color 0.3s;
}
.tab:hover {
  background: #c1d4f9;
  color: #003366;
}
.tab.active {
  background: #004080;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 64, 128, 0.3);
}

/* Course Cards Container */
.course-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Each Course Card */
.course-card {
  background: #fff;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
}
.course-card:hover {
  box-shadow: 0 6px 20px rgba(0, 64, 128, 0.25);
}
.course-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.course-content {
  padding: 15px 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.course-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #004080;
}
.course-desc {
  flex-grow: 1;
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: #555;
}

/* Enroll Button */
.enroll-btn {
  background: #0073e6;
  border: none;
  color: white;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.enroll-btn:hover {
  background: #005bb5;
}

/* Tabs content visibility */
.courses-tab-content {
  display: none;
  width: 100%;
}
.courses-tab-content.active {
  display: flex;
}

/* Modal styles */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: white;
  border-radius: 10px;
  padding: 25px 30px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 25px rgba(0, 64, 128, 0.3);
  position: relative;
}
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 25px;
  font-weight: 700;
  color: #444;
  cursor: pointer;
  transition: color 0.3s;
}
.close-btn:hover {
  color: #0073e6;
}

/* Form Styles */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form-group label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
  color: #004080;
}
.form-group input {
  padding: 8px 12px;
  border: 1.8px solid #bbb;
  border-radius: 5px;
  font-size: 1rem;
}
form button[type="submit"] {
  background: #004080;
  border: none;
  color: white;
  font-weight: 700;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s;
}
form button[type="submit"]:hover {
  background: #002f66;
}

/* Responsive */
@media (max-width: 650px) {
  .course-card {
    width: 100%;
  }
  .tabs {
    justify-content: center;
    gap: 8px;
  }
}



/* Study Material Section */
.study-material {
    padding: 3rem 1rem;
    text-align: center;
    background-color: white;
}

.study-material h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Class and Subject Selectors */
.class-selector, .subject-selector, .chapter-selector {
    margin-bottom: 1.5rem;
}

select {
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 5px;
    width: 50%;
    margin-top: 10px;
    border: 1px solid #ccc;
}

/* Resources Section */
.chapter-selector h3 {
    margin-top: 2rem;
    font-size: 1.8rem;
    color: #2c3e50;
}

.chapter-selector ul {
    list-style: none;
    margin-top: 1rem;
}

.chapter-selector li {
    margin: 10px 0;
}

.chapter-selector a {
    text-decoration: none;
    background-color: #3498db;
    padding: 0.5rem 1rem;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.chapter-selector a:hover {
    background-color: #2980b9;
}



/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Contact Section */
.contact-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #ffffff;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: #004d99;
}

.contact-container {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.contact-info {
    width: 40%;
    text-align: left;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.contact-info .social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

.contact-info .social-icons a {
    color: #004d99;
    font-size: 1.5rem;
    text-decoration: none;
}

.contact-info .social-icons a:hover {
    color: #ff6f61;
}

/* Contact Form */
.contact-form {
    width: 40%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.contact-form button {
    padding: 12px 25px;
    background-color: #004d99;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #ff6f61;
}




.cart {
    position: relative;
}

.cart a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.cart .cart-dropdown {
    position: absolute;
    top: 40px;
    right: 0;
    background-color: #fff;
    width: 200px;
    display: none;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.cart:hover .cart-dropdown {
    display: block;
}

.cart-dropdown ul {
    list-style: none;
    padding: 10px;
}

.cart-dropdown ul li {
    padding: 5px 0;
}

.cart-dropdown ul li a {
    color: #333;
    text-decoration: none;
}

.sales-banner {
    background-color: #ff8c00;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 20px;
}

.store-section {
    padding: 20px;
    text-align: center;
}

.store-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.product-card h3 {
    font-size: 18px;
    margin: 10px 0;
}

.product-card p {
    font-size: 16px;
    margin: 10px 0;
}

.product-card .discount {
    text-decoration: line-through;
    color: red;
}

.product-card .btn-small {
    background-color: #ff8c00;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

.product-card .btn-small:hover {
    background-color: #e07b00;
}



/* BLog part from here General Body Style */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    font-size: 10px;  /* Increased font size for better visibility */
  }
  



  /* Centering Search Bar  */
  .search-bar-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
  }
  
  .search-input {
    width: 80%;
    max-width: 500px;
    padding: 15px;
    font-size: 18px;  /* Increased font size for the input field */
    border: 2px solid #ddd;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: border-color 0.3s;
  }
  
  .search-input:focus {
    border-color: #007bff;
  }
  
  .search-input::placeholder {
    color: #888;
    font-style: italic;
  }
  
  /* Blogs Section */
  .blogs-section {
    padding: 30px;
    text-align: center;
  }
  
  .blogs-section h2 {
    font-size: 36px;  /* Increased size for the section title */
    margin-bottom: 20px;
  }
  
  /* Display Blogs in a Grid */
  .blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));  /* Creates a responsive grid */
    gap: 20px;
    padding: 0 20px;
  }
  
  /* Individual Blog Card */
  .blog-card {
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .blog-card:hover {
    transform: translateY(-10px);
  }
  
  .blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .blog-content {
    padding: 20px;
    text-align: center;
  }
  
  .blog-content h3 {
    font-size: 22px;  /* Increased font size for blog titles */
    margin: 10px 0;
  }
  
  .blog-content p {
    font-size: 16px;  /* Increased font size for blog descriptions */
    color: #555;
  }
  
  .read-more {
    font-size: 16px;  /* Increased font size for the link */
    color: #007bff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
  }
  
  .read-more i {
    margin-left: 5px;
    font-size: 14px;
  }
  
  .read-more:hover {
    text-decoration: underline;
  }
  
  



  /*this is for result page  Reset basic styles */
/* General Reset deleted here on 4 May 2025 */


/* Banner Section */
.banner-section {
    width: 100%;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Results Section */
.results-section {
    padding: 40px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.results-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.results-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.result-card {
    width: 300px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 10px;
}

.result-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.result-info {
    padding: 15px;
}

.result-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.result-info p {
    font-size: 1.2rem;
    color: #333;
}

/* Testimonials Section */
.testimonials-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.testimonials-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.testimonial-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonial-card {
    width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.testimonial-card h4 {
    font-size: 1.2rem;
    color: #333;
}

/* Google Reviews Section */
.google-reviews {
    padding: 40px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.google-reviews h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#google-reviews-container {
    text-align: center;
}

button {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #555;
}

/* Footer new  */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 20px 20px;
    width: 100%;
    position:relative;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 220px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin: 8px 0;
}

.footer-column ul li a {
    color: #ffcc00;
    text-decoration: none;
    display: block;
    padding: 5px 0;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

.social-icons a {
    display: inline-block;
    color: white;
    margin-right: 10px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #ffcc00;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #777;
    padding-top: 15px;
    font-size: 0.9rem;
}

/* Adjust spacing between Quick Links */
.footer-column ul li a {
    margin-bottom: 10px; /* Adds spacing between each quick link */
}

/* Ensuring footer stays at the bottom of content */



/* 🧮 Mental Maths Practice Section — Homepage (Krystal All Study Light Theme) */
.mental-maths-section {
  text-align: center;
  padding: 70px 20px;
  background: linear-gradient(to right, #eaf3ff, #f8fbff);
  border-radius: 20px;
  margin: 60px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  max-width: 1000px;
  transition: all 0.3s ease;
}

.mental-maths-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.mental-maths-container h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 10px;
  display: inline-block;
  position: relative;
}

.mental-maths-container h2::before {
  content: "🧮";
  margin-right: 10px;
  font-size: 2rem;
  vertical-align: middle;
}

.mental-maths-container h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #3366cc;
  margin: 10px auto 0;
  border-radius: 3px;
}

.mental-maths-container p {
  color: #333;
  font-size: 1.15rem;
  line-height: 1.7;
  margin-top: 20px;
  margin-bottom: 35px;
}

.maths-btn {
  display: inline-block;
  background-color: #3366cc;
  color: #fff;
  padding: 14px 38px;
  border-radius: 40px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(51, 102, 204, 0.3);
  transition: all 0.3s ease;
}

.maths-btn:hover {
  background-color: #003366;
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .mental-maths-container h2 {
    font-size: 2rem;
  }
  .mental-maths-container p {
    font-size: 1rem;
  }
  .maths-btn {
    padding: 12px 28px;
    font-size: 1rem;
  }
}









