/* Reset + Fonts */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #333;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.site-header {
  background: #0b1f3a;
  padding: 20px 0;
}
.site-header .logo {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.center-image-wrapper {
    text-align: center;
    padding: 20px 10px;
}

.centered-logo {
    max-width: 230px; /* Adjust size as needed */
    height: auto;
}

/* Hero Section */
.hero {
  background: #fdf6e3;
  color: #2C3E50;
  padding: 50px 40px;
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}
.hero p {
  font-size: 25px;
  margin-bottom: 30px;
}
.btn {
  background: #D35400;
  color: #fff;
  padding: 12px 24px;
  border: none;
  font-size: 16px;
  border-radius: 30px;
  text-decoration: none;
}
/* Join Now Button */
.join-btn {
      display: inline-block;
      background-color: #ff5722;
      color: white;
      padding: 14px 28px;
      font-size: 18px;
      font-weight: bold;
      border-radius: 8px;
      text-decoration: none;
      transition: background-color 0.3s ease;
      margin: 40px auto;
      text-align: center;
}

.join-btn:hover {
      background-color: #e64a19;
}

.highlight-video-section {
  padding: 60px 20px;
}

.highlight-video-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
}

/* Left Side: Video */
.video-container {
  flex: 1;
  min-width: 300px;
}

.video-container {
  position: relative;
  padding: 20px;
  overflow: hidden;
}

/* Default desktop styles */
.video-container video {
    position: relative;
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: 100px;
    margin-top: 0px;
}

/* Responsive fix for tablets and phones */
@media (max-width: 768px) {
  .video-container video {
    width: 100%;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
  }
}
/* Right Side: Boxes */
.highlight-text {
  flex: 1;
  min-width: 300px;
  color: white;
}

.section-title {
  font-size: 28px;
  margin-bottom: 15px;
  color: #ffcc00;
}

.highlight-description {
  font-size: 16px;
  margin-bottom: 25px;
  color: #000;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.highlight-box {
  background-color: transparent; /* remove background */
  border-left: none; /* remove yellow solid border */
  border: 2px dotted #0b1f3a; /* new dotted border */
  padding: 15px 20px;
  font-size: 16px;
  border-radius: 8px;
  color: #0b1f3a;
  box-shadow: none; /* remove shadow */
  background-clip: padding-box;
}
.text-justify {
  text-align: justify;
}


/* Responsive */
@media (max-width: 768px) {
  .highlight-video-content {
    flex-direction: column;
  }

  .section-title {
    text-align: center;
  }
}

/* Video Section */
.video-section {
  padding: 40px 20px;
  background: #f3b7b785;
  text-align: center;
  margin-bottom: 10px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}
.video-description {
  font-size: 16px;
  color: #333;
  max-width: 800px;
  margin: 0 auto 20px; /* Top margin removed, bottom margin kept */
  line-height: 1.6;
  padding: 0 10px;
}


/* vedic */
.vedic-math-section {
  background-color: #eef4fb;
  padding: 60px 20px;
  text-align: center;
}

.vedic-math-section .section-title {
  font-size: 36px;
  color: #0b1f3a;
  margin-bottom: 25px;
  font-weight: 700;
}

.vedic-description {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  max-width: 800px;
  margin: 0 auto 20px;
}

/* Benefits Section */
.benefits-section {
  padding: 35px 20px;
  background: #fff;
  text-align: center;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.benefit-item {
  background: #f4f7fb;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.benefit-item:hover {
  transform: translateY(-5px);
}
.benefit-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}
.benefit-item h4 {
  font-size: 18px;
  color: #0b1f3a;
  margin-bottom: 10px;
}
.benefit-item p {
  font-size: 15px;
  color: #555;
}
.course-highlights-icons {
  padding: 60px 20px;
  background-color: #f9fbfc;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #0a0a0a;
}

.row {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.first-row .highlight-card {
  width: 300px;
}

.second-row {
  justify-content: center;
}

.second-row .highlight-card {
  width: 300px;
}

.highlight-card {
  background-color: #fff;
  padding: 30px 20px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.highlight-card h3 {
  color: #01357b;
  font-size: 20px;
  margin-bottom: 10px;
}

.highlight-card p {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
  .row {
    flex-direction: column;
    align-items: center;
  }

  .highlight-card {
    width: 100%;
    max-width: 90%;
  }
}
.highlight-card i {
  font-size: 1.1em;
  vertical-align: middle;
}
.highlight-card h3 {
  font-weight: 500;
  line-height: 1.5;
}


/* Features Section */
.features-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.feature-box {
  width: 300px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .feature-box {
    width: 100%;
  }
}
/* Wrapper for full-width image */
.instructor-img-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Full-width image styling */
.instructor-img {
  width: 100%;
  height: auto;
  display: block; /* Important: removes extra spacing */
  object-fit: cover;
  border-radius: 0; /* Set to 0 for edge-to-edge; you can change if you want */
  box-shadow: none; /* Optional, remove shadow if not needed */
}
@media (min-width: 768px) {
  .instructor-img {
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
}

/* Testimonials Section */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 10px;
}

.rating {
  font-size: 1.2rem;
  color: #f4c150; /* gold star color */
  margin-bottom: 15px;
}

.author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
}

.author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* FAQ Section */
.faq-item {
    background: #ffffff;
    border: 1px solid #cfdff2;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
  }

  .faq-item h4 {
    font-size: 18px;
    color: #0056b3;
    cursor: pointer;
    margin: 0;
    position: relative;
  }

  .faq-item h4::after {
    content: '+';
    position: absolute;
    right: 0;
    font-weight: bold;
  }

  .faq-item.active h4::after {
    content: '-';
  }

  .faq-item p {
    display: none;
    font-size: 16px;
    color: #333;
    margin-top: 10px;
    line-height: 1.5;
  }

  .faq-item.active p {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }


/* Footer Section */
.site-footer {
  background: #0b1f3a;
  color: #fff;
  padding: 60px 20px 20px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.footer-about h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ff9800;
}
.footer-about p {
  color: #ccc;
}
.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #ff9800;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact p {
  margin-bottom: 8px;
  color: #ccc;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 15px;
  color: #aaa;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Mobile Responsive ---------- */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-content .text,
  .hero-content .image {
    width: 100%;
  }

  .features-grid,
  .courses-grid,
  .instructors-grid,
  .testimonial-grid,
  .blog-grid,
  .faq-list,
  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .author {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid {
    text-align: center;
  }

  .footer-links ul {
    padding-left: 0;
  }

  .video-wrapper iframe {
    height: 250px;
  }
}
