@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@font-face {
  font-family: 'Garet';
  src: url('./fonts/Garet.woff2') format('woff2'),
       url('./fonts/Garet.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'North Bound';
  src: url('../fonts/NorthBound.woff2') format('woff2'),
       url('../fonts/NorthBound.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}


/* TOP BAR */
.top-bar {
  background-color: #1b4670;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 70px;
  flex-wrap: wrap;
}

.top-left {
  display: flex;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
  height: 60px;
}

.logo-img {
  height: 100%;
  width: auto;
  max-width: 200px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-info i {
  margin-right: 5px;
}

/* NAVIGATION BAR */
.nav-bar {
  background-color: #ff6600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 70px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

.nav-bar ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-bar ul li {
  position: relative;
}

.nav-bar ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 5px;
  position: relative;
}

/* Hover effect - without underline */
.nav-bar ul li a::after {
  content: none; /* Removing the underline effect */
}

.nav-bar ul li a:hover::after {
  width: 0; /* Ensuring no underline appears */
}
/* DROPDOWN MENU */
.dropdown-parent {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1b4670;
  display: none;
  flex-direction: column;
  width: 180px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  padding: 6px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 99;
}

.dropdown a {
  padding: 8px 15px;
  color: white;
  text-decoration: none;
  display: block;
  font-size: 13px;
  transition: all 0.3s ease;
  border-left: 2px solid transparent;
}

.dropdown a:hover {
  color: #ff6600;
  background-color: #fff;
  transform: translateX(5px);
}

/* Desktop: Hover activates dropdown */
@media (min-width: 993px) {
  .dropdown-parent:hover .dropdown {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile: Active class toggles dropdown */
@media (max-width: 992px) {
  .dropdown-parent.active .dropdown {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  /* Disable hover on mobile */
  .dropdown-parent:hover .dropdown {
    display: none;
    opacity: 0;
    transform: translateY(10px);
  }
}

/* REGISTER BUTTON */
.register-btn {
  background-color: white;
  color: black;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  border: none;
  margin-left: auto;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.register-btn::after {
  content: "→";
  margin-left: 10px;
  font-size: 18px;
  transition: transform 0.3s;
}

.register-btn:hover::after {
  transform: translateX(5px);
}

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .top-bar, .nav-bar {
    padding: 10px 30px;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hamburger {
    display: flex;
    margin-bottom: 10px;
  }

  #navMenu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  #navMenu.show {
    display: flex;
  }

  .register-btn {
    margin-top: 10px;
    width: 100%;
    justify-content: center;
  }

  .dropdown {
    position: relative;
    transform: none;
    opacity: 1;
    display: none;
    box-shadow: none;
  }

  .dropdown-parent:hover .dropdown {
    display: flex;
  }
}

@media (max-width: 600px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 20px;
  }

  .contact-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .nav-bar {
    padding: 10px 20px;
  }

  .register-btn {
    width: 100%;
  }
}
@media (max-width: 992px) {
  .top-bar, .nav-bar {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 20px;
  }

  .nav-container {
    width: 100%;
  }

  .navbar-logo, .contact-info {
    width: 100%;
  }
}

/*whasaap api start*/
/* WhatsApp Button Styling */
.whatsapp-button {
  position: fixed;
  bottom: 30px; /* Distance from the bottom */
  right: 30px; /* Distance from the right edge */
  background-color: #25d366; /* WhatsApp green */
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  z-index: 1000;
}

/* WhatsApp Icon */
.whatsapp-button img {
  width: 50px; /* Icon size */
  height: 50px;
}

/* Hover Effects */
.whatsapp-button:hover {
  transform: scale(1.1); /* Slight zoom effect */
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3); /* Deeper shadow on hover */
  opacity: 0.9; /* Slight fade effect on hover */
}

/* Hover Bounce Animation */
.whatsapp-button:hover {
  animation: bounceIn 0.5s ease-out;
}

/* Bounce Animation Keyframes */
@keyframes bounceIn {
  0% {
      transform: translateY(10px) scale(1);
  }
  50% {
      transform: translateY(-5px) scale(1.1);
  }
  100% {
      transform: translateY(0) scale(1);
  }
}

/* Mobile Friendly (Adjustments for smaller screens) */
@media (max-width: 768px) {
  .whatsapp-button {
      padding: 12px;
  }
  .whatsapp-button img {
      width: 45px;
      height: 45px;
  }
}
/*whasapp api end*/
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fc;
  color: #1b1b1b;
}

.section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 60px 5vw;
  align-items: center;
  gap: 30px;
}

.text-box {
  flex: 1 1 50%;
  padding: 20px;
}

.text-box h1 {
  font-family: 'North Bound', sans-serif;
  font-size: 34px;
  color: #1b4670;
}

.highlight {
  font-family: 'North Bound', sans-serif;
  color: #ff9900;
  font-weight: 800;
  font-size: 36px;
}

.text-box p {
  font-size: 18px;
  line-height: 1.7;
  margin-top: 12px;
}

.video-box {
  flex: 1 1 45%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 400px;
  margin-top: 220px;
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Page 2 */
.section-2 {
  background-color: #eaf4fc;
  text-align: center;
  padding: 60px 20px;
}

.section-2 h2 {
  font-family: 'North Bound', sans-serif;
  font-size: 38px;
  color: #1b4670;
}

.section-2 p {
  max-width: 700px;
  margin: 20px auto;
  font-size: 18px;
}

.enroll-btn {
  position: relative;
  padding: 14px 30px;
  font-size: 18px;
  background-color: #ff6600;
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  margin-top: 20px;
}

.enroll-btn:hover {
  background-color: #e25700;
}

.popup-text {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  background-color: #1b4670;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, top 0.3s;
}

.enroll-btn:hover .popup-text {
  opacity: 1;
  top: -60px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .text-box h1 {
    font-size: 28px;
  }

  .highlight {
    font-size: 30px;
  }

  .video-box iframe {
    height: 315px;
  }

  .section-2 h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .section {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .text-box, .video-box {
    flex: 1 1 100%;
    padding: 10px 0;
  }

  .video-box iframe {
    height: 315px;
  }

  .section-2 h2 {
    font-size: 26px;
  }

  .section-2 p {
    font-size: 16px;
  }

  .enroll-btn {
    width: 100%;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .text-box h1 {
    font-size: 24px;
  }

  .highlight {
    font-size: 26px;
  }

  .text-box p,
  .section-2 p {
    font-size: 15px;
  }

  .video-box iframe {
    height: 315px;
  }
}

  /*page 3*/
/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Layout Styles */
.section {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 60px 40px 80px;
  gap: 40px; /* increased space between card, line, and image */
}

/* Card Styles */
.card {
  background-color: #D3D3D3;
  padding: 30px 35px;
  border-radius: 20px;
  max-width: 620px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: scale(1); /* Changed from 2.2 to 1 to prevent stretching */
  margin-bottom: 20px;
  margin-right: 20px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.card h2 {
  font-family: 'North Bound', sans-serif;
  font-size: 30px;
  margin-top: 0;
  color: #003366;
}

.card p {
  font-size: 18px;
  line-height: 1.6;
  margin: 12px 0;
}

.card strong {
  display: inline-block;
  margin-bottom: 5px;
}

/* Line Styles */
.line-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

.line {
  width: 6px;
  background-color: #a1c4fd;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  flex-grow: 1;
}

.line-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background-color: #ff6600;
  z-index: 1;
  transition: height 0.3s ease;
  transform-origin: top;
}

/* Arrow Styles */
.arrow-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: slideDown 0.6s ease forwards;
}

.arrow-wrapper svg {
  width: 60px;
  height: 40px;
}

/* Image Styles */
.image-container {
  flex-shrink: 0;
  margin-left: 20px;
  
}

.image-container img {
  width: 300px;
  height: auto;
  animation: zoomIn 0.8s ease forwards;
  opacity: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .section {
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
    gap: 40px;
  }

  .line-wrapper {
    display: none;
  }

  .card {
    transform: none !important; /* Force override any transform */
    animation-delay: 0.1s;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding: 20px 25px;
  }
  
  /* Ensure exam syllabus card is properly styled on mobile */
  .exam-syllabus-card {
    transform: none !important;
    margin: 0;
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }

  .image-container {
    margin-left: 0;
  }

  .image-container img {
    width: 100%;
    max-width: 300px;
    animation-delay: 0.2s;
  }
  
  /* Hide Lottie animations on mobile devices */
  .image-container dotlottie-player {
    display: none !important;
  }
}


@media (max-width: 600px) {
  .section {
    padding: 30px 15px;
    gap: 30px;
  }
  
  /* General card styles for mobile */
  .card {
    padding: 20px 15px;
    margin: 0;
    width: 100%;
  }
  
  /* Specific styles for lists in cards */
  .card ol {
    padding-left: 20px;
    margin-left: 0;
  }
  
  .card ul {
    padding-left: 20px;
    margin-left: 0;
  }
  
  .card li {
    margin-bottom: 8px;
  }
  
  /* Specific styles for the Exam Syllabus section */
  .exam-syllabus-card {
    padding: 20px 15px;
  }
  
  .exam-syllabus-card .syllabus-list {
    margin-left: 0;
    padding-left: 20px;
    width: 100%;
  }
  
  .exam-syllabus-card ol li {
    margin-bottom: 12px;
  }
  
  .exam-syllabus-card ul {
    margin-top: 5px;
    margin-left: 0;
    padding-left: 15px;
  }
  
  .exam-syllabus-card ul li {
    margin-bottom: 5px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .exam-syllabus-card {
    padding: 15px 10px;
  }
  
  .exam-syllabus-card .syllabus-list {
    padding-left: 15px;
  }
  
  .exam-syllabus-card ul {
    padding-left: 12px;
  }
}
}

  
/*page 4 start*/

/* Hero Section */
.courses-section {
  width: 100%;
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
  box-sizing: border-box;
}

.heading-primary {
  font-size: 24px;
  color: #002a5c;
  margin-bottom: 10px;
  font-weight: 700;
}

.heading-highlight {
  font-size: 32px;
  color: #ff7c00;
  font-weight: 900;
  margin-bottom: 20px;
}

.heading-description {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: #444;
}

.slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  margin-bottom: 30px;
  width: 100%;
  max-width: 100%;
  overflow-x: visible;
  padding: 0 20px;
}

.arrow {
  font-size: 28px;
  background: #fff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: transform 0.3s;
}

.arrow:hover {
  transform: scale(1.1);
}

.cards-carousel {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  overflow-x: auto;
  padding-bottom: 15px;
  margin: 0 auto;
}

.course-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 20px;
  width: 250px;
  min-width: 250px;
  max-width: 280px;
  flex: 0 0 auto;
  box-sizing: border-box;
  transition: transform 0.3s;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card img {
  margin-bottom: 15px;
}

.course-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600; /* Optional: make it look more prominent */
  font-size: 20px;
  color: #002a5c;
  margin-bottom: 10px;
}

.course-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.join-link {
  color: #ff7c00;
  font-weight: bold;
  cursor: pointer;
}

/* Specific styling for the US CMA card's join link */
.cma-join-link {
  margin-top: 80px;
  display: inline-block;
}
.cma-join-lin{
  margin-top: 16px;
  display: inline-block;


}

.cta-button button {
  background: #ff7c00;
  color: white;
  padding: 14px 30px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.cta-button button:hover {
  background: #e86d00;
}

.dot-indicator {
  margin-top: 20px;
  height: 10px;
  width: 10px;
  background: #ff7c00;
  border-radius: 50%;
  margin: 0 auto 30px;
}
/* General Section Styling */
.intro-section {
  padding: 60px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

/* Heading Primary Style */
.heading-primary {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ff6600;
}

/* Span inside heading - Brand Name */
.heading-primary span {
  color: #0056b3; /* Blue for "EduAtal:" */
  margin-right: 0px;
}

/* Optional: Add animation or effect */
.heading-primary span {
  font-weight: 900;
  letter-spacing: 0px;
}

/* Responsive Text */
@media (max-width: 768px) {
  .heading-primary {
    font-size: 2rem;
  }
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .cards-carousel {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  
  .course-card {
    min-width: 220px;
    width: 220px;
    flex: 0 0 auto !important;
  }
  
  .slider-wrapper {
    overflow-x: visible;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .cards-carousel {
    flex-wrap: nowrap !important;
    justify-content: flex-start;
    width: 100%;
  }
  
  .course-card {
    min-width: 200px;
    width: 200px;
    flex: 0 0 auto !important;
  }
}

  .arrow {
    display: none;
  }

  .course-card {
    min-width: 250px;
    width: 250px;
  }

  .heading-primary {
    font-size: 20px;
  }

  .heading-highlight {
    font-size: 26px;
  }

/*page 4 end*/
/*faq start*/

.faq-wrapper {
  width: 100%;
  margin: 60px 0;
  padding: 0 5vw;
  background-color: #ffffff; /* Optional: gives full-width background */
  box-sizing: border-box;
}

.faq-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
}

.faq-title span {
  color: #ff6600;
}

.faq-container {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background-color: #1b4670;
  border-bottom: 2px dotted #ddd;
  transition: transform 0.2s ease;
}

.faq-item:first-child {
  border-top: 2px dotted #ddd;
}

.faq-item:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.faq-question {
  background: none;
  border: none;
  color: #fff;
  padding: 22px 26px;
  font-size: 18px;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background-color: #1b4670;
}

.faq-question .icon {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #e5e5e5;
  color: #000;
  padding: 0 26px;
  line-height: 1.8;
  font-size: 16px;
  opacity: 0;
  transition:
    max-height 0.5s ease,
    opacity 0.4s ease,
    padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 18px 26px 26px;
  opacity: 1;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}
/*faq end*/
/*footer*/

  


.small-video {
  flex: none !important;
  width: 560px !important;
  height: 315px !important;
  margin: 0 auto !important;
  margin-top: 300px !important;
}

.small-video iframe {
  width: 560px !important;
  height: 315px !important;
  border: none;
 
}