/* ===========================
   GLOBAL STYLES
=========================== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
}

/* ===========================
   TOP CONTACT BAR
=========================== */
.top-contact-bar {
  background: #acacac;
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
}

.top-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.top-contact-list li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.top-contact-list li a:hover {
  color: #ffc107;
}

.top-contact-list i {
  margin-right: 6px;
  color: #ffc107;
}

/* ===========================
   NAVBAR / HEADER
=========================== */
/* Navbar container */
.navbar {
  background-color: #fff;
  border-bottom: 1px solid #dde1e6;
  padding: 0 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  box-shadow: 0 2px 5px rgb(0 0 0 / 0.05);
}

.container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #111;
}

.logo-img {
  height: 50px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-weight: 700;
  font-size: 24px;
  color: #111;
}

.brand-subtitle {
  font-size: 10px;
  color: #444;
}

/* Navigation menu */
.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
  align-items: center;
  margin: 0;
  padding: 0;
  font-weight: 600;
}

.nav-links li a {
  text-decoration: none;
  color: #111;
  font-size: 14px;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #007bff;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 30px;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 0;
  min-width: 160px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu li {
  list-style: none;
  margin: 0;
}

.dropdown-menu li a {
  color: #111;
  padding: 8px 20px;
  display: block;
  font-weight: 400;
  font-size: 14px;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #f0f7ff;
  color: #007bff;
}

/* Right Section */
.nav-right {
  display: flex;
  gap: 18px;
  align-items: center;
}

/* Enquire Now Button */
.btn-enquire {
  background-color: #007bff;
  color: white;
  font-weight: 700;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.btn-enquire svg {
  fill: white;
}

.btn-enquire:hover {
  background-color: #0056b3;
}

/* Search button */
.btn-search {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #444;
  transition: color 0.3s ease;
}

.btn-search:hover {
  color: #007bff;
}

.btn-search svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* ===========================
   HERO SECTION
=========================== */
/* Ensure the hero section fills the viewport height with relative positioning */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Style for background slides */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
  max-width: 100vw;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  animation: slideFade 15s infinite;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

/* Display first slide fully */
.hero-slide:nth-child(1) {
  animation-delay: 0s;
}
.hero-slide:nth-child(2) {
  animation-delay: 5s;
}
.hero-slide:nth-child(3) {
  animation-delay: 10s;
}

/* Overlay on slides */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* Dark transparent overlay */
  z-index: 1;
}

/* Hero content container */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

/* Heading style */
.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* Paragraph style */
.hero-content p {
  font-size: 1.25rem;
  color: #dcdcdc;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Button style */
.hero-content .btn-primary {
  background-color: #007bff; /* Bootstrap primary blue */
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-content .btn-primary:hover,
.hero-content .btn-primary:focus {
  background-color: #0056b3;
  box-shadow: 0 6px 18px rgba(0, 86, 179, 0.6);
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* Keyframes for slide fade in/out */
@keyframes slideFade {
  0% {
    opacity: 0;
  }
  6.66% {
    opacity: 1;
  }
  33.33% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  transition: 0.3s;
}

.btn:hover {
  background-color: #0056b3;
}

/* ===============================
   COURSE CARDS SECTION
================================ */

.course-cards-section {
  background-color: #ffffff;
}

.course-section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #222;
}

/* Card */
.course-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 20px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  text-align: left;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.15);
}

/* Card Image */
.course-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 15px;
}

/* Card Title */
.course-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

/* Card List */
.course-card ul {
  padding-left: 18px;
  margin-bottom: 18px;
}

.course-card ul li {
  font-size: 0.9rem;
  margin-bottom: 7px;
}

.course-card ul li::marker {
  color: #007bff;
}

/* Buttons */
.course-card-buttons {
  display: flex;
  gap: 10px;
}

.course-card-buttons .btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 9px 0;
  border-radius: 7px;
}

/* Responsive */
@media (max-width: 768px) {
  .course-section-title {
    font-size: 1.9rem;
  }
}


/* Background colors as seen */

.bg-purple {
  background-color: #a299e6;
}

.bg-aqua {
  background-color: #a5d8d1;
}

.bg-yellow {
  background-color: #e9e39d;
  color: #444;
}

.bg-red {
  background-color: #eb676a;
}

.bg-olive {
  background-color: #bac45e;
  color: #444;
}

.bg-pinkred {
  background-color: #f55b64;
}

.bg-pink {
  background-color: #fcb6b7;
  color: #444;
}

.bg-green {
  background-color: #4eaa4e;
}

.bg-purple-lt {
  background-color: #aa98e6;
}

.bg-grey {
  background-color: #8c8c8c;
}

.bg-darkgrey {
  background-color: #4b4f56;
}

.bg-yellow-light {
  background-color: #f7e589;
  color: #444;
}

/* ===========================
   key benifit Section
=========================== */
.key-benefits-section {
  background-color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #212529;
}

.benefits-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.benefit-item {
  max-width: 180px;
  text-align: center;
  color: #333;
}

.benefit-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
}

.benefit-item p {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

/* ===========================
   key Feature Section
=========================== */

.key-features {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 15px;
  text-align: center;
}

.key-features h2 {
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

.features-container {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #244a88;
  text-decoration: none;
  max-width: 160px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.feature-item svg {
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.feature-item span {
  font-weight: 600;
  font-size: 1rem;
}

.feature-item:hover,
.feature-item:focus {
  color: #1a3366;
}

.feature-item:hover svg,
.feature-item:focus svg {
  transform: scale(1.1);
}

/* Responsive adjustment */

@media (max-width: 600px) {
  .features-container {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials {
  background-color: #fff;
  padding: 60px 20px;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
  font-weight: bold;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.testimonial {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.08);
}

.testimonial img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit: cover;
}

.testimonial blockquote {
  font-size: 15px;
  font-style: italic;
  color: #333;
  margin-bottom: 10px;
}

.testimonial cite {
  display: block;
  font-weight: bold;
  color: #0b3b70;
}

.stars {
  color: #ffc107;
  font-size: 16px;
  margin-bottom: 8px;
}

/* ===========================
   ABOUT SECTION
=========================== */
.contact-us-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-us-section h4 {
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 4px;
  text-align: center;
  color: #244a88;
  margin-bottom: 0.7rem;
}

.contact-us-section h2 {
  font-weight: 900;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #222;
}

.contact-intro {
  text-align: center;
  font-size: 1rem;
  color: #555;
  max-width: 650px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
}

.contact-content {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1 1 350px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-box {
  background-color: #e2e8ff;
  padding: 14px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 6px rgb(36 74 136 / 0.3);
}

.contact-item p {
  font-weight: 600;
  font-size: 1.05rem;
  color: #244a88;
  margin: 0;
}

.contact-map {
  flex: 1 1 320px;
  max-width: 600px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgb(36 74 136 / 0.15);
}

/* Responsive */

@media (max-width: 900px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
  }
  .contact-map {
    width: 100%;
    max-width: none;
  }
  .contact-info {
    max-width: 100%;
  }
}


/* ===========================
   FOOTER
=========================== */
/* Container for consistent width */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Footer base styles */
.site-footer {
  background-color: #0d1042; /* Dark navy */
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 40px 0 20px 0;
  position: relative;
}

/* Footer top: three columns */
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* About section with logos */
.footer-about {
  flex: 1 1 320px;
  max-width: 350px;
  line-height: 1.5;
}

.footer-about p {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #ccc;
}

.footer-logo {
  max-width: 130px;
  display: block;
  margin-bottom: 8px;
}
.footer-partner-logo {
  max-width: 180px;
  display: block;
  margin-top: 4px;
}

/* Links columns */
.footer-links-columns {
  flex: 2 1 520px;
  display: flex;
  justify-content: center;
  gap: 80px;
  min-width: 320px;
}

.footer-column h3 {
  margin-bottom: 15px;
  font-weight: 700;
  color: #f1f1f1;
  position: relative;
  padding-bottom: 6px;
}

.footer-column h3::after {
  content: "";
  width: 40px;
  height: 3px;
  background-color: #665ce6;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 2px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 11px;
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-column ul li a:hover {
  color: #665ce6;
}

/* Add arrow icon before each important link item */
.footer-column ul li a::before {
  content: '▶';
  font-size: 0.8rem;
  color: #665ce6;
}

/* Social section */
.footer-social {
  flex: 1 1 220px;
  max-width: 220px;
  text-align: left;
}

.footer-social h3 {
  margin-bottom: 15px;
  font-weight: 700;
  color: #f1f1f1;
  position: relative;
  padding-bottom: 6px;
}

.footer-social h3::after {
  content: "";
  width: 40px;
  height: 3px;
  background-color: #665ce6;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 2px;
}

/* Social icons container */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 12px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #665ce6;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #665ce6;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  background-color: #665ce6;
  color: white;
}

/* Icon svg styling */
.social-icons svg.icon {
  width: 16px;
  height: 16px;
}

/* Divider */
.footer-divider {
  border: none;
  border-top: 1.5px solid #22254a;
  margin: 30px auto 20px auto;
  max-width: 1200px;
}

/* Footer bottom with copyright and policies */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  color: #8f91ae;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-policy-links a {
  color: #8f91ae;
  text-decoration: none;
  margin-left: 25px;
  transition: color 0.3s;
}

.footer-policy-links a:hover {
  color: #665ce6;
}

/* Enquire Now vertical tab */
.enquire-now-tab {
  position: fixed;
  right: 0;
  top: 40%;
  background-color: #494cef;
  color: white;
  padding: 12px 8px;
  font-weight: 700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  writing-mode: vertical-rl;
  text-align: center;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 10px rgb(73 76 239 / 0.4);
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.enquire-now-tab:hover {
  background-color: #665ce6;
}

/* Responsive for smaller screens */
@media (max-width: 800px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
  }

  .footer-about,
  .footer-links-columns,
  .footer-social {
    max-width: 100%;
    text-align: center;
  }

  .footer-links-columns {
    flex-direction: column;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-policy-links a {
    margin: 10px 12px 0 12px;
  }
}


/* WhatsApp Button */
.whatsapp-btn {
  background-color: #25D366;
  color: white;
  padding: 8px 14px;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  margin-top: 8px;
}

.whatsapp-btn:hover {
  background-color: #1ebe5d;
}

/* ===========================
   RESPONSIVE FIXES
=========================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1em;
  }

  .course-card img {
    padding: 10px;
  }

  .footer-container {
    text-align: center;
  }

  .footer-map iframe {
    height: 180px;
  }
}

/* FORCE COURSE SECTION LAYOUT FIX */
.course-cards-section {
  display: block !important;
}

.course-cards-section .container {
  display: block !important;
}

/* FORCE HEADING TOP CENTER */
.course-section-title {
  width: 100%;
  text-align: center !important;
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: #111;
}

/* CARD STYLE */
.course-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  height: 100%;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.course-card:hover {
  transform: translateY(-8px);
}

.course-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.course-card ul {
  padding-left: 18px;
}

.course-card ul li {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.course-card-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.course-card-buttons .btn {
  flex: 1;
  font-size: 0.85rem;
}
/* ===============================
   COURSE CARDS (FINAL CLEAN)
================================ */

.course-cards-section {
  background: #fff;
}

.course-section-title {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 40px;
}

.course-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.15);
}

/* IMAGE FIX (MOST IMPORTANT) */
.course-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* CONTENT */
.course-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.course-card ul {
  padding-left: 18px;
  flex-grow: 1;
}

.course-card ul li {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

/* BUTTONS ALWAYS BOTTOM */
.course-card-buttons {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.course-card-buttons .btn {
  flex: 1;
  font-size: 0.85rem;
}

/* MOBILE */
@media (max-width: 768px) {
  .course-card img {
    height: 100px;
  }
}
