 *{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
} 


/* Navbar */
.navbar {
  background-color: crimson;
  border-bottom: 2px solid black;
  position: fixed;
  width: 100%;
  z-index: 1000;
  font-family: 'Segoe UI', sans-serif;
  animation: slideDown 0.6s ease-in-out;
  top: 0;
  left: 0;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.navbar-logo {
  width: 45px;
  height: 45px;
  margin-right: 0px;
  margin-bottom:0.4px;
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text {
  font-size: 1rem;
  font-weight: bold;
  color: white;
  margin-bottom: 3px;
}

.brand-subtext {
  font-size: 0.75rem;
  color: white;
}

/* Navbar Links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.navbar-links a {
  text-decoration: none;
  color: white;
  padding: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-links a:hover {
  color: black;
  transform: translateY(-2px);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 0.95rem;
  color: white;
  transition: color 0.3s ease;
}

.dropdown-btn:hover {
  color: black;
}

.dropdown-content {
  position: absolute;
  background-color: #fffbea;
  top: 25px;
  left: 0;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid black;
  border-radius: 4px;
  overflow: hidden;
  min-width: 250px;
  z-index: 1001;
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    transform: scaleY(0.8);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.dropdown-content a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #ffe066;
  color: #ff0000;
}

/* Enroll Now button */
.login-btn {
  background-color: #8B0A23;
  color: #000;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.login-btn:hover {
  background-color: #ffc107;
  color: #ff0000;
  transform: scale(1.05);
}

/* Hamburger Menu */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .navbar-links {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 1rem;
    display: none;
    gap: 1rem;
    z-index: 999;
    border-top: 1px solid black;
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar-links a,
  .dropdown-btn,
  .login-btn {
    width: 100%;
    text-align: center;
    padding: 0.4rem 0.8rem;
    color: crimson;
  }

  .login-btn {
    font-size: 0.9rem;
    padding: 6px 16px;
    margin: 0 auto;
    display: block;
  }

  .dropdown-content {
    position: relative;
    top: 0;
    left: 0;
    border: none;
    box-shadow: none;
    background-color: transparent;
    width: 100%;
    padding-left: 0;
    display: none;
  }

  .dropdown-content.active {
    display: block;
  }

  .dropdown-content a {
    padding: 0.5rem 0;
    color: #333;
  }

  .brand-subtext {
    font-size: 0.6rem;
    color: white;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .login-btn {
    font-size: 0.9rem;
    padding: 6px 16px;
    margin: 0 auto;
    display: inline-block;
    width: auto;
    max-width: 200px;
  }
}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* === Hero Section === */


.hero {
  position: relative;
  height: 80vh;
  background: none !important;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-video {
  width: 10%;           /* ✅ Changed from 120% to 100% */
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  margin-top: -100px;          /* ✅ Removed top margin to align flush */
  display: block;         /* ✅ Ensures no inline spacing */
  border: none;           /* ✅ Optional: to prevent video border from some browsers */
}

.hero-video{
  margin: 0;
  padding: 0;
  width: 100vw;
}


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:transparent;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  top: 50%;
  transform: translateY(-50%);
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cta-button {
  padding: 10px 25px;
  background: crimson;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.cta-button:hover {
  background: darkred;
}

/* Avatars Row */
.avatars {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  /* margin-bottom: 1rem; */
}

.avatars img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid crimson;
  object-fit: cover;
}
/* === Courses Section === */
/* === Courses Section === */
.courses {
  padding: 40px 15px;  /* Reduced padding */
  background: white;
  text-align: center;
}

.courses h2 {
  font-size: 2rem;
  color: crimson;
  margin-bottom: 30px;  /* Reduced margin */
}

/* === Course Cards Layout === */
.course-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;  /* Reduced gap between cards */
  justify-content: center;
}

/* === Individual Course Card === */
.course-card {
  background: #fff;
  border: 2px solid crimson;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 280px;  /* Slightly narrower */
  padding: 15px;  /* Reduced padding */
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(128, 0, 128, 0.3);
}

/* === Image with Purple Border === */
.course-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;  /* Reduced bottom margin */
  border: 3px solid purple;
  box-sizing: border-box;
}

/* === Course Title === */
.course-card h3 {
  color: #222;
  margin-bottom: 8px;  /* Reduced */
  font-size: 1.1rem;
}

/* === Enroll Button === */
.enroll-btn {
  display: inline-block;
  margin-top: 10px;  /* Reduced */
  padding: 8px 16px;
  background: crimson;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* === Responsive Adjustments === */

/* Tablets */
@media (max-width: 1024px) {
  .course-card {
    width: 250px;  /* Smaller width */
  }
}

/* Mobiles */
@media (max-width: 768px) {
  .course-cards {
    flex-direction: column;
    align-items: center;
  }

  .course-card {
    width: 92%;
    padding: 12px;  /* Less padding */
  }

  .course-card img {
    margin-bottom: 8px;
  }

  .course-card h3 {
    font-size: 1rem;
  }

  .enroll-btn {
    padding: 7px 14px;
    font-size: 0.85rem;
  }

  .courses h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
}

/* Small Mobiles */
@media (max-width: 480px) {
  .enroll-btn {
    padding: 6px 12px;
  }
}

/* how-section */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

/* Section Styles */
.how-section {
  background: linear-gradient(to bottom, #6e0d25, #8b0a29);
  color: #fff;
  padding: 30px 20px 50px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.how-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
  font-weight: 600;
}

/* Card Grid */
.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* Card Styles */
.step-card {
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.step-card:hover {
  transform: translateY(-6px);
}

.icon {
  font-size: 32px;
  margin-bottom: 10px;
  color: crimson;
}

.step-card h3 {
  font-size: 1.2rem;
  margin: 6px 0;
  font-weight: 600;
}

.step-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

/* Tablet View */
@media (max-width: 992px) {
  .steps-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .how-title {
    font-size: 2rem;
    margin-bottom: 24px;
  }

  .step-card {
    padding: 18px 12px;
  }
}

/* Mobile View */
@media (max-width: 576px) {
  .steps-wrapper {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .how-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .step-card {
    padding: 16px 10px;
  }

  .icon {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .step-card h3 {
    font-size: 1.1rem;
  }

  .step-card p {
    font-size: 0.85rem;
  }
}

/* === Inquiry Section === */
.inquiry {
  padding: 50px 20px;
  background: #f9f9f9;
  text-align: center;
}

.inquiry h2 {
  font-size: 1.8rem;
  color: crimson;
  margin-bottom: 30px;
}

.inquiry form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.inquiry input,
.inquiry select {
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  border: 1px solid gray;
  font-size: 1rem;          /* Ensure same text size */
  box-sizing: border-box;   /* Prevent padding from breaking width */
}


.inquiry button {
  padding: 10px 20px;
  background: crimson;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

/* === Testimonials Section === */
.testimonials {
  background: white;
  padding: 50px 20px;
  text-align: center;
}

.testimonials h2 {
  font-size: 2rem;
  color: crimson;
  margin-bottom: 30px;
}

.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.testimonial {
  background: #fafafa;
  border-left: 5px solid crimson;
  padding: 20px;
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: left;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial h4 {
  font-weight: bold;
  color: #444;
}



/* === Responsive Design === */
@media (max-width: 768px) {
  .course-cards,
  .testimonial-cards {
    flex-direction: column;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 8px 20px;
  }
}

.recruiters-section {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
  overflow: hidden;
}

.recruiters-section h2 {
  font-size: 2rem;
  color: crimson;
  margin-bottom: 30px;
}

.carousel-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.logo-container {
  display: inline-block;
  text-align: center;
}

.logo-container img {
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-container img:hover {
  transform: scale(1.1);
}

.logo-container span {
  display: block;
  margin-top: 5px;
  font-size: 0.85rem;
  color: #333;
}

/* Tablet Responsive */
@media (max-width: 768px) {
  .recruiters-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .logo-container img {
    height: 50px;
  }

  .logo-container span {
    font-size: 0.75rem;
  }
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .recruiters-section h2 {
    font-size: 1.25rem;
  }

  .logo-container img {
    height: 45px;
  }

  .carousel-track {
    gap: 20px;
  }
}




/* footer */

.footer {
  background-color: #1c1c22;
  color: white;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 200px;
}

/* Fix logo spacing */
.footer-logo-img {
  width: 100px;
  margin: -25px 0; /* adds top and bottom spacing */
}

/* Make the paragraph justified */
.footer-col p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;  /* <-- this makes it align full */
}


.footer-logo-text {
  font-size: 20px;
  color: crimson;
  margin-bottom: 15px; /* increased from 10px */
}


.footer-col h3 {
  color: crimson;
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: crimson;
}

.footer-col p,
.footer-col a {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  text-align: left;
}
.location-link {
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.6;
  display: inline-block;
}

.location-link:hover {
  color: crimson;
  text-decoration: underline;
}


.social-icons a {
  display: inline-flex;                  /* Centers icon in circle */
  align-items: center;
  justify-content: center;
  width: 36px;                           /* Fixed width */
  height: 36px;                          /* Same height = circle */
  border-radius: 50%;                   /* Makes it a circle */
  border: 1px solid crimson;
  background-color: transparent;
  color: white;
  font-size: 16px;
  margin-right: 8px;
  transition: 0.3s ease;
}

.social-icons a:hover {
  background-color: crimson;
  color: white;
}


.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  color: #aaa;
  font-size: 13px;
}
/* Normal-looking link */
.plain-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.plain-link:hover {
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
.footer-container {
  gap: 0px !important;
}

.footer-col {
  margin-bottom: 10px !important;
}


  .footer-col h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .footer-col ul li {
    margin-bottom: 4px;
  }

  .footer-logo-img {
    width: 80px;
  }

  .footer-logo-text {
    font-size: 18px;
  }

  .social-icons {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .footer-bottom {
    text-align: left;
    margin-top: 20px;
  }
}


/* Recruiters Section */
.recruiters-section {
  padding: 50px 20px;
  background: #f9f9f9;
  text-align: center;
}

.recruiters-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: crimson;
}

/* Carousel */
.carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  width: calc(170px * 12); /* 6 original + 6 duplicates */
  animation: scroll 30s linear infinite;
}

.carousel-track img {
  width: 120px;
  height: auto;
  margin: 0 15px;
  object-fit: contain;
}


.carousel-track img:hover {
  filter: none;
}

/* Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-track img {
    width: 90px;
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  .carousel-track img {
    width: 60px;
    margin: 0 8px;
  }
}


/*  */

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #222;
}

/* Section Styling */
.reviews-section {
  padding: 50px 20px;
  background: #f9f9f9;
}
.reviews-container {
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  align-items: flex-start;
}

/* Reviews Card Container */
.reviews-cards {
  flex: 1 1 65%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Individual Card */
.review-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
  transition: transform 0.3s ease;
}
.review-card:hover {
  transform: translateY(-5px);
}

/* Header with image */
.review-header {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 10px;
}
.review-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.review-header h4 {
  margin-bottom: 3px;
  color: crimson;
}

/* Review text */
.review-text {
  font-size: 15px;
  line-height: 1.6;
}

/* Google Rating Box */
.rating-box {
  flex: 1 1 30%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
}
.google-logo {
  width: 100px;
  margin-bottom: 15px;
}
.rating-score .rating-value {
  font-size: 48px;
  font-weight: bold;
  color: #222;
}
.rating-score .stars {
  font-size: 22px;
  color: gold;
}
.rating-score .reviews-label {
  font-size: 16px;
  color: #777;
  margin-top: 10px;
}

/* Responsive Video */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 10px;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .reviews-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .reviews-container {
    flex-direction: column;
    gap: 30px;
  }
  .rating-box {
    order: 1;
  }
}


/* WhatsApp Floating Button with Font Icon */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1ebd5a;
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Mobile Responsive */
@media screen and (max-width: 600px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 24px;
    bottom: 15px;
    left: 15px;
  }
}


/* Scroll to Top Button Bottom Right */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  font-size: 24px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
#scrollTopBtn:hover {
  background-color: #0056b3;
}



/* Enroll Button */
.enroll-btn {
  background-color: crimson;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.enroll-btn:hover {
  background-color: darkred;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Form Container */
.form-container {
  background: #fff;
  padding: 5px 20px;         /* 🔻 Reduced padding */
  border-radius: 12px;
  width: 90%;
  max-width: 400px;           /* 🔻 Reduced width too */
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}



.form-container h2 {
  margin-bottom: 20px;
  color: crimson;
  text-align: center;
}

/* Close Button */
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  color: crimson;
  cursor: pointer;
}

/* Form Fields */
.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: crimson;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: crimson;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background-color: darkred;
}

/* Responsive */
@media (max-width: 600px) {
  .form-container {
    padding: 20px;
  }

  .enroll-btn {
    width: 100%;
  }
}