/*=============================== 
   GLOBAL RESET + VARIABLES
================================ */
:root {
  --premium-blue-start: #0b1530;
  --premium-blue-mid: #0f1c3f;
  --premium-blue-end: #0a1026;

  --premium-blue-card: #111e44;
  --premium-blue-border: rgba(255,255,255,0.12);
  --premium-blue-text: #e5e7eb;
  --premium-blue-muted: #c7cbe3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* ===============================
   SECTION BASE
================================ */
.section {
  padding: 90px 60px;
  text-align: center;
  background: linear-gradient(
    180deg,
    var(--premium-blue-start),
    var(--premium-blue-mid),
    var(--premium-blue-end)
  );
  color: var(--premium-blue-text);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 50px;
  color: #94a3b8;
  font-size: 1.1rem;
}

.light-text { color: #ffffff; }

/* ===============================
   NAVBAR
================================ */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 103px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  color: #ffffff;
}

.logo img {
  width: 155px;
  height: 116px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo strong {
  font-size: 22px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: #ffffff; }
.nav-links a:hover::after { width: 100%; }

.btn-nav {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 18px rgba(59,130,246,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.35);
}

/* ===============================
   MOBILE MENU ICON (MISSING IN YOUR CSS)
================================ */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ===============================
   HERO (INDEX)
================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 154px;
  padding-bottom: 110px; /* Increased from 60px to push the text block up */

  background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.55) 40%,
      rgba(15, 23, 42, 0.25) 65%,
      rgba(15, 23, 42, 0.05) 100%
    ),
    url("https://i.ibb.co/bR5Y8nD2/0909.png");

  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;

  display: flex;
  align-items: flex-end;
}

.hero-content {
  max-width: 1200px;
  padding: 0 60px;
  z-index: 2;
}

.hero-text {
  max-width: 650px;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  text-align: left;
}

.hero-text h1 {
  font-size: 44px; /* A gentler step down from the original 48px */
  line-height: 1.25; /* Keeps the spacing looking natural */
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.hero-badge-box {
  display: inline-flex;
  align-items: center;
  gap: 16px; /* Slightly increased gap to balance larger text */
  margin: 24px 0;
  padding: 14px 34px;

  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;

  color: #ffffff;
  font-weight: 600;
  font-size: 46px; /* Increased from 28px to be just under the 56px H1 */
  white-space: nowrap;
  letter-spacing: 0.6px;
  text-transform: uppercase;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-badge-box i {
  font-size: 44px; /* Increased from 26px so the icon matches the new text size */
  color: #ffffff;
}



.hero-sub {
  margin-top: 40px;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 5px;
}

.hero-desc {
  font-size: 15px;
  opacity: 0.9;
  margin-top: 10px;
  margin-bottom: 32px;
}
/* ===============================
   HERO CORNER BUTTONS
================================ */
.hero-corner-actions {
  position: absolute;
  bottom: 50px;
  right: 60px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-corner-contact {
  background-color: transparent;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 12px;
  border: 2px solid #ffffff;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
}

.btn-corner-contact:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.btn-corner-outline {
  background-color: #e8dbc7;
  color: #0b1530;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.btn-corner-outline:hover {
  background-color: #f2e6d5;
  transform: translateY(-3px);
}

.btn-corner-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;  /* Increased from 72px */
  height: 90px; /* Increased from 72px */
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid #ffffff;
  transition: all 0.3s ease;
}
.btn-corner-google svg {
  width: 64px !important;  /* Increased for a larger symbol */
  height: 64px !important; /* Increased for a larger symbol */
  transition: all 0.3s ease;
}
.btn-corner-google:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
/* ===============================
   TRUST GRID
================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}



.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(59, 130, 246, 0.25);
}

.trust-card i {
  font-size: 26px;
  color: #0353a4;
  margin-bottom: 14px;
}
/* WHY US ANIMATIONS */

/* Initial hidden state for the cards */
.trust-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* This class is added by JavaScript when the user scrolls to the section */
.trust-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Add a subtle icon pulse on hover */
.trust-card:hover i {
  animation: iconPulse 1s infinite ease-in-out;
  color: #60a5fa !important;
}

@keyframes iconPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
/* =============================== 
   WHY US - ROAD ANIMATION
================================ */
.why-us {
  position: relative;
  overflow: hidden; /* Keeps the car within section bounds */
  padding-bottom: 120px; /* Space for the road */
}

.road-container {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
}

.road-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.1) 20px,
    transparent 20px,
    transparent 40px
  );
  bottom: 10px;
}

.moving-car {
  position: absolute;
  font-size: 28px;
  color: #3b82f6; /* Your primary blue */
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
  animation: driveCar 15s linear infinite;
  z-index: 5;
}

@keyframes driveCar {
  0% { left: -50px; transform: scaleX(1); }
  100% { left: 100%; transform: scaleX(1); }
}

/* ===============================
   CONTACT (INDEX)
================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 18px;

  background: linear-gradient(180deg, #0f1c3f, #0b1530);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 32px 34px;

  box-shadow: 0 14px 32px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.45);
}

.contact-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    135deg,
    rgba(59,130,246,0.35),
    rgba(96,165,250,0.25)
  );
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(59,130,246,0.08);
}

.contact-icon i {
  font-size: 20px;
  color: #ffffff;
}

.contact-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.contact-info p,
.contact-info a {
  font-size: 14.5px;
  color: var(--premium-blue-muted);
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ===============================
   ABOUT PAGE
================================ */
.about { position: relative; overflow: hidden; }

.about-wrapper {
  max-width: 1200px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.about-text {
  position: relative;
  padding-top: 20px; /* You can reduce or remove this padding if you want the text to sit higher up now that the speedometer is gone */
}

/* SPEEDOMETER REMOVED FROM HERE */

.about-highlight {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
  color: #ffffff;
  text-shadow:
   0 0 8px rgba(59,130,246,0.45),
   0 0 18px rgba(59,130,246,0.35),
   0 0 32px rgba(59,130,246,0.18);
  margin-bottom: 28px;
}

.about-sub {
  color: #c7cbe3;
  margin-bottom: 24px;
  font-size: 15px;
}

.about-points {
  list-style: none;
  padding: 0;
}

.about-points li {
  margin-bottom: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #0f1c3f, #0b1530);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);

  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-points li.show {
  opacity: 1;
  transform: translateY(0);
}

.about-image {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.about-image img {
  width: 75%;
  border-radius: 22px;
  object-fit: contain;
  padding: 18px;
  background: linear-gradient(180deg, #0f1c3f, #0b1530);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 22px 50px rgba(0,0,0,0.45),
    0 0 40px rgba(59,130,246,0.35);
}

/* ===============================
   LEADERSHIP (ABOUT) – HORIZONTAL GLOW
================================ */
.leadership {
  position: relative;
  padding: 100px 6%;
  background: linear-gradient(
    180deg,
    var(--premium-blue-start),
    var(--premium-blue-mid),
    var(--premium-blue-end)
  );
  overflow: hidden;
  z-index: 1;
}

/* Faded Background Logo Watermark */
.leadership::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; 
  height: 80%;
  background: url("https://i.ibb.co/chK3R6h7/logo1.png") no-repeat center center;
  background-size: contain;
  opacity: 0.1; 
  filter: grayscale(100%) brightness(1.2);
  mix-blend-mode: lighten; 
  z-index: -1;
  pointer-events: none;
}

/* Flex Container for the Side-by-Side Configuration */
.leader-horizontal-layout {
  max-width: 1050px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

/* Left Profile Card: Preserves Transparent Glow Aura Style */
.leader-profile-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 45px 35px;
  max-width: 340px;
  width: 100%;
  flex-shrink: 0;
  background: transparent;
  border-radius: 24px;
  
  /* The Aura Glow Effect */
  border: 1px solid rgba(255, 255, 255, 0.15); 
  box-shadow: none; 
    
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.leader-profile-box:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.leader-profile-box img {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.leader-profile-box h3 {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.leader-profile-box span {
  font-size: 13px;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
}

/* Right Column Bio Typography Styling */
.leader-bio-text {
  flex-grow: 1;
  max-width: 600px;
  text-align: left;
}

.leader-bio-text p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #e2e8f0;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.leader-bio-text p:last-child {
  margin-bottom: 0; /* Clears final margin spacing */
}

/* Fluid Responsiveness for Smaller Devices */
@media (max-width: 868px) {
  .leader-horizontal-layout {
    flex-direction: column;
    gap: 40px;
  }
  
  .leader-bio-text {
    text-align: center;
    padding: 0 15px;
  }
}
/* ===============================
   FOOTER
================================ */
.footer {
  padding: 22px;
  background: #001233;
  color: #ffffff;
  text-align: center;
  font-size: 14px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {


  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
  }

  .about-image {
    order: -1;
    margin-top: 0;
  }

  .about-image img { width: 100%; }

  .about-text::before {
    width: 300px;
    height: 300px;
    top: -60px;
    left: -60px;
  }

  .about-text::after {
    top: 90px;
    left: 90px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  /* Global section padding adjustments */
  .section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  /* Navbar & Logo */
  .navbar {
    padding: 0 20px;
    height: 90px;
  }

  .logo {
    gap: 10px;
  }

  .logo img {
    width: 60px;
    height: auto;
  }

  .logo strong {
    font-size: 15px;
    line-height: 1.2;
    display: block;
  }

  /* Hamburger Menu Toggle */
  .menu-toggle {
    display: flex;
  }

  /* Animated state for Hamburger Toggle */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Nav Links Drawer with Glassmorphism & Transitions */
  .nav-links {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    /* Animation classes */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.35s;
    pointer-events: none;
    display: flex;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Hero Section Mobile Formatting */
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 100vh;
    padding-top: 130px;
    padding-bottom: 40px;
  }

  .hero-content {
    padding: 0 20px;
    margin-bottom: 30px;
    max-width: 100%;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .hero-badge-box {
    font-size: 14px;
    padding: 10px 18px;
    white-space: normal;
    text-align: center;
    display: inline-flex;
    margin: 16px 0;
  }

  .hero-corner-actions {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0 20px;
    gap: 12px;
  }

  .btn-corner-contact,
  .btn-corner-outline {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 16px;
  }

  /* Contact Grid and Boxes */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-box {
    padding: 20px;
    gap: 12px;
  }

  /* Testimonials Profile Images */
  .profile-img {
    width: 80px;
    height: 80px;
    border-width: 2px;
  }

  .card-header {
    gap: 12px;
  }

  .customer-info h4 {
    font-size: 0.95rem;
  }

  .customer-info p {
    font-size: 0.8rem;
  }

  /* Booking Card */
  .booking-card {
    padding: 24px 20px;
  }

  /* Social Media Box */
  .social-media-box {
    padding: 24px 20px !important;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
  }

  .social-links-wrapper {
    gap: 12px;
  }

  .social-row {
    padding: 12px 16px;
    font-size: 13.5px;
  }
}

@media (max-width: 360px) {
  .logo img {
    width: 50px;
  }
  .logo strong {
    font-size: 13px;
  }
}
/* ===============================
   COURSES PAGE 
================================ */

/* Titles */
#courses .section-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

#courses .section-subtitle {
  font-size: 15px;
  color: var(--premium-blue-muted);
  margin-bottom: 48px;
}

/* Cards grid */
#courses .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

/* Card base */
#courses .card {
  background: var(--premium-blue-card);
  border: 1px solid var(--premium-blue-border);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  text-align: center;

  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#courses .card i {
  font-size: 28px;
  color: #3b82f6;
  margin-bottom: 14px;
}

#courses .card h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 12px;
}

#courses .card p {
  color: var(--premium-blue-muted);
  font-size: 14px;
  line-height: 1.7;
}
#courses .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.35);
}

#courses .custom-card:hover {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 22px 45px rgba(59, 130, 246, 0.35);
}

/* ===============================
   MODULE SELECTION
================================ */
#courses .module-selection {
  margin-top: 80px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#courses .module-title {
  font-size: 22px;
  color: #60a5fa;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

#courses .module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Module item */
#courses .module-item {
  background: linear-gradient(180deg, #0f1c3f, #0b1530);
  padding: 15px 20px;
  border-radius: 10px;
  color: #e5e7eb;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

#courses .module-item i {
  color: #3b82f6;
  font-size: 14px;
}

#courses .module-item:hover {
  transform: translateX(5px);
  border-color: #3b82f6;
}

/* Master control box */
#courses .master-control-box {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding: 25px;

  background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), transparent);
  border-left: 4px solid #3b82f6;
  border-radius: 0 15px 15px 0;
  text-align: left;
}

#courses .master-control-box h4 {
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#courses .master-control-box p {
  color: #c7cbe3;
  font-size: 14px;
  line-height: 1.6;
}

/* ===============================
   REVEAL ANIMATION (COURSES ONLY)
================================ */
#courses .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

#courses .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

#courses .cards .card.reveal:nth-child(1) { transition-delay: 0.1s; }
#courses .cards .card.reveal:nth-child(2) { transition-delay: 0.2s; }
#courses .cards .card.reveal:nth-child(3) { transition-delay: 0.3s; }
#courses .cards .card.reveal:nth-child(4) { transition-delay: 0.4s; }

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
  #courses {
    padding: 70px 22px;
  }

  #courses .section-title {
    font-size: 28px;
  }

  #courses .section-subtitle {
    font-size: 14px;
  }

  #courses .module-selection {
    padding: 20px;
  }

  #courses .module-title {
    font-size: 18px;
  }
}
/* ===============================
   TESTIMONIALS SECTION LAYOUT
================================ */
.testimonials-automotive {
  position: relative;
  overflow: hidden;
  padding: 120px 5%;
  /* Replaced the previous gradient with the exact color from your image */
  background-color: #0b1120; 
  color: #fff;
  min-height: 100vh;
}


/* ===============================
   TESTIMONIAL GRID & CARDS
================================ */
.testimonial-content-overlay {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
}
/* ===============================
   TESTIMONIAL GRID & CARDS
================================ */
.testimonial-grid {
  display: grid;
  /* Automatically adjusts for mobile/tablets */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: #131b31; 
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid #ffffff; 
  padding: 25px;
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}



.testimonial-card:hover {
  transform: translateY(-5px);
  border-left-color: #3b82f6; /* Shifts color on hover */
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.profile-img {
  width: 150px; 
  height: 150px; 
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #94a3b8; /* Slightly thicker border to match the larger image */
}

.customer-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #f8fafc;
}

.customer-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e2e8f0;
  font-style: italic;
}

.quote i {
  color: #ffffff; /* Changed from yellow to white */
  margin-right: 8px;
  font-size: 1.2rem;
}
/* ===============================
   TESTIMONIAL SECTION & WATERMARK
================================ */


.testimonials-automotive::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  
  background-image: url('https://i.ibb.co/chK3R6h7/logo1.png'); 
  background-repeat: no-repeat;
  background-position: center;
  background-size: 900px; 
  opacity: 0.05; 
  filter: grayscale(100%) brightness(200%); 
  
  z-index: 1; 
  pointer-events: none; 
}

/* ===============================
   SOCIAL MEDIA BOX (BULLETPROOF CENTERING)
================================ */
.social-media-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  
  /* --- FORCED CENTERING --- */
  display: block !important; 
  width: 100% !important; 
  max-width: 450px !important; 
  
  /* The !important flag stops any other CSS from overriding this */
  margin-top: 60px !important;
  margin-bottom: 40px !important;
  margin-left: auto !important; 
  margin-right: auto !important; 
  
  position: relative;
  z-index: 5;
}

.social-media-box h3 {
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: #fff;
}

.social-links-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center; 
  justify-content: center;
}

.social-row {
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  gap: 15px;
  width: 100%;
  max-width: 450px;
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  color: #fff;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.social-row i {
  font-size: 1.5rem;
  width: 30px;
  text-align: center; 
}

.social-row:hover {
  transform: translateX(10px);
}

/* Brand Colors on Hover */
.social-row.youtube:hover { background: #dc2626; }
.social-row.instagram:hover { background: #d946ef; }
.social-row.facebook:hover { background: #2563eb; }
/* ===============================
   FAQ SECTION – CLEAN PREMIUM
================================ */
#faqs {
  position: relative;
  padding: 90px 6%;
}

.faq-list {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(180deg, #0f1c3f, #0b1530);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s ease;
  cursor: pointer;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 32px;
}

.faq-question h4 {
  font-size: 18px;
  color: #ffffff;
  margin: 0;
  text-align: left;
  line-height: 1.5;
  padding-right: 20px;
}

/* Minimal Bulb Trigger */
.faq-trigger-bulb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.bulb-icon {
  font-size: 22px;
  filter: grayscale(100%) opacity(0.7); /* Dim when closed */
  transition: all 0.3s ease;
}

.faq-answer {
  max-height: 0;
  padding: 0 32px;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding-bottom: 30px;
  color: #c7cbe3;
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
}

/* Open State */
.faq-item.open {
  border-color: #60a5fa;
  background: linear-gradient(180deg, #162655, #0b1530);
}

.faq-item.open .faq-answer {
  max-height: 600px;
  opacity: 1;
}

.faq-item.open .faq-trigger-bulb {
  background: rgba(96, 165, 250, 0.2);
  border-color: #60a5fa;
  box-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
}

.faq-item.open .bulb-icon {
  filter: grayscale(0%) opacity(1); /* Lights up when open! */
  transform: scale(1.2);
}

/* Hover */
.faq-item:hover {
  border-color: rgba(96, 165, 250, 0.4);
}

@media (max-width: 768px) {
  .faq-question { padding: 20px; }
  .faq-question h4 { font-size: 16px; }
  .faq-trigger-bulb { width: 44px; height: 44px; min-width: 44px; }
}
/* =========================
   LOCATIONS SECTION 
========================= */
#locations {
  position: relative;
  padding: 90px 6% 80px;
  background: linear-gradient(
    180deg,
    #0b1433 0%,
    #0a1a3d 45%,
    #07122b 100%
  );
  overflow: hidden;
}

/* Soft blue depth overlay */
#locations::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(59,130,246,0.16),
    transparent 65%
  );
  pointer-events: none;
}

/* =========================
   GROUP SPACING
========================= */

.location-group {
  margin-top: 55px;
}

.location-group:first-of-type {
  margin-top: 35px;
}
/* =========================
   LOCATION TITLES
========================= */
.location-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  margin-bottom: 22px;
  letter-spacing: 0.4px;
  position: relative;
}

/* Small underline glow */
.location-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  margin: 10px auto 0;
  background: rgba(59,130,246,0.6);
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(59,130,246,0.35);
}
/* =========================
   GRID LAYOUT
========================= */
.location-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 1;
}

/* =========================
   LOCATION CARDS
========================= */

.location-card {
  position: relative;
  background: linear-gradient(180deg, #0f1c3f, #0b1530);
  color: #eaf1ff;

  padding: 14px 16px;
  border-radius: 14px;

  font-weight: 500;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0.3px;

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 10px 22px rgba(0,0,0,0.35),
    0 0 0 rgba(59,130,246,0);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.location-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59,130,246,0.55);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.45),
    0 0 28px rgba(59,130,246,0.35);
}

/* Glow layer */
.location-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: rgba(59,130,246,0.45);
  opacity: 0;
  filter: blur(14px);
  transition: opacity 0.25s ease;
  z-index: -1;
}

.location-card:hover::before {
  opacity: 1;
}

/* =========================
   MOBILE FIXES
========================= */

@media (max-width: 768px) {
  #locations {
    padding: 80px 5% 70px;
  }

  .location-title {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .location-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
  }

  .location-card {
    font-size: 13px;
    padding: 13px 12px;
  }
}

@media (max-width: 420px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}
/* ===============================
   BOOKING SECTION
================================ */

.booking {
  background: linear-gradient(
    180deg,
    var(--premium-blue-start),
    var(--premium-blue-mid),
    var(--premium-blue-end)
  );
}

/* Layout */
.booking-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.booking-image img {
  width: 100%;
  border-radius: 280px;
  object-fit: cover;

  border: 6px solid rgba(255,255,255,0.15);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.45),
    0 0 30px rgba(59,130,246,0.35);
}

/* Title + Subtitle + Card alignment */
.booking-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#booking .section-title,
#booking .section-subtitle {
  width: 100%;
  max-width: 540px;
  text-align: center;
}

#booking .section-title {
  margin-bottom: 10px;
}

#booking .section-subtitle {
  margin-bottom: 30px;
  color: var(--premium-blue-muted);
}

/* Booking Card */
.booking-card {
  width: 100%;
  max-width: 540px;
  padding: 42px;
  margin: 0;

  background: linear-gradient(180deg, #0f1c3f, #0b1530);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);

  box-shadow: 0 22px 50px rgba(0,0,0,0.45);

  opacity: 0;
  animation: slideUpFade 1s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Inputs */
.booking-card input:not([type="checkbox"]),
.booking-card textarea,
.booking-card select {
  width: 100%;
  height: 48px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: none;
  outline: none;

  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;

  appearance: none;
}

.booking-card textarea {
  resize: none;
  height: 100px;
}

.booking-card select {
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #9ca3af 50%),
    linear-gradient(135deg, #9ca3af 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 22px,
    calc(100% - 15px) 22px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.booking-card select option {
  color: #000;
}

/* Button */
.btn-book {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: none;

  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;

  box-shadow: 0 14px 28px rgba(59,130,246,0.45);
}

/* ===============================
   TRIAL SECTION TWO-COLUMN LAYOUT
================================ */

.trial-section {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--premium-blue-start), var(--premium-blue-mid), var(--premium-blue-end));
  overflow: hidden;
}

/* Two-column grid setup */
.trial-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* Centers the speedometer and card on the left */
.trial-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px; 
  margin-top: -60px; /* <--- ADD THIS LINE to nudge them both up */
}

/* Centers the logo on the right */
.trial-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.blue-shade-logo {
  width: 100%;
  max-width: 440px; /* Changed to perfectly match the trial box width */
  opacity: 0.05; 
  filter: grayscale(100%) sepia(100%) hue-rotate(190deg) saturate(500%) brightness(0.9);
  pointer-events: none; 
}

/* Mobile Adjustments: Stacks them cleanly on small screens */
@media (max-width: 900px) {
  .trial-container {
    grid-template-columns: 1fr; 
    gap: 50px;
  }
  
  .blue-shade-logo {
    max-width: 350px; /* Increased from 250px to make it larger on mobile */
    opacity: 0.03; 
  }
}

.trial-card {
  width: 100%;
  max-width: 380px;
  margin: 0;
  padding: 28px 26px;
  text-align: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(96, 165, 250, 0.15); 
  transition: all 0.3s ease;
}

.trial-card h3 { font-size: 18px; color: #fff; margin-bottom: 10px; }
.trial-desc { font-size: 14.5px; color: var(--premium-blue-muted); margin-bottom: 14px; }

/* Added text-shadow glow to the price */
.trial-price-big {
  font-size: 32px;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 18px;
  display: inline-block;
  text-shadow: 0 0 12px rgba(96, 165, 250, 0.4);
  transition: transform 0.3s ease;
}

.trial-card:hover .trial-price-big { transform: scale(1.1); }
.trial-actions { display: flex; justify-content: center; margin-top: 15px; }

/* ===============================
   PURE CSS SPEEDOMETER & NEEDLE ANIMATION
================================ */

.speedometer-css {
  position: relative;
  width: 160px;
  height: 80px;
  border-top-left-radius: 90px;
  border-top-right-radius: 90px;
  border: 12px solid #60a5fa;
  border-bottom: 0;
  box-shadow:
    0 0 25px rgba(96, 165, 250, 0.6),
    inset 0 0 25px rgba(96, 165, 250, 0.4);
}

.speedometer-needle {
  position: absolute;
  bottom: -2px; /* Anchors the pivot point */
  left: 50%;
  width: 6px;
  height: 70px;
  background-color: #ffffff;
  transform-origin: bottom center;
  border-radius: 4px;
  transform: translateX(-50%) rotate(-70deg);
  animation: moveNeedle 2.5s ease-in-out infinite alternate;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

.speedometer-center-dot {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  background-color: #1e293b;
  border: 4px solid #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 12px #60a5fa;
  z-index: 2;
}

/* Simulates realistic engine revving */
@keyframes moveNeedle {
  0% { transform: translateX(-50%) rotate(-75deg); }
  20% { transform: translateX(-50%) rotate(-30deg); }
  40% { transform: translateX(-50%) rotate(-10deg); }
  60% { transform: translateX(-50%) rotate(25deg); }
  80% { transform: translateX(-50%) rotate(10deg); }
  100% { transform: translateX(-50%) rotate(80deg); }
}

/* Responsive adjustment for mobile screens */
@media (max-width: 768px) {
  .speedometer-css {
    transform: scale(0.85); /* Slightly scale down to fit small screens */
  }
}

/* --- ATTENTION-SEEKING BUTTONS --- */
.btn-book-trial, .btn-submit-trial {
  width: 100%;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5); /* Button glow */
  animation: pulse 2s infinite; /* Gentle throb effect */
  transition: all 0.2s ease;
}

.btn-book-trial { max-width: 240px; }
.btn-submit-trial { margin-top: 5px; }

.btn-book-trial:hover, .btn-submit-trial:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.7);
  animation: none; /* Stops pulse when user focuses on it */
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* --- MODAL --- */
.trial-modal-overlay {
  display: none; 
  position: fixed;
  inset: 0; /* Replaces top/left/width/height */
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.trial-modal-content {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 30px 25px;
  width: 90%;
  max-width: 400px;
  max-height: 90vh; /* Prevents it from going off-screen */
  overflow-y: auto; /* Allows scrolling inside the modal */
  position: relative;
  text-align: center;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.2); /* Modal glow */
}

/* Custom Scrollbar for Modal - Gradient Pill Style */
.trial-modal-content::-webkit-scrollbar { width: 8px; }

.trial-modal-content::-webkit-scrollbar-track { 
  background: #0f172a; 
  border-radius: 10px;
}

/* The draggable thumb */
.trial-modal-content::-webkit-scrollbar-thumb { 
  background: linear-gradient(180deg, #60a5fa, #2563eb); /* Vibrant premium blue gradient */
  border-radius: 10px;
}

/* Hover state for the thumb */
.trial-modal-content::-webkit-scrollbar-thumb:hover { 
  background: linear-gradient(180deg, #93c5fd, #1d4ed8); /* Brighter on hover */
}

.close-trial-modal {
  position: absolute; top: 10px; right: 15px;
  color: #94a3b8; font-size: 24px; font-weight: bold;
  cursor: pointer; transition: color 0.2s;
}
.close-trial-modal:hover { color: #f8fafc; }

/* --- INPUTS --- */
#trialForm input {
  width: 100%;
  padding: 12px; margin-bottom: 15px;
  border-radius: 6px; border: 1px solid #475569;
  background-color: #0f172a; color: #f8fafc;
  box-sizing: border-box;
  transition: all 0.3s;
}

#trialForm input:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.3); /* Input focus glow */
}

/* --- REVEAL ANIMATION & MOBILE --- */
.trial-card.reveal {
  opacity: 0; transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.trial-card.reveal.active { opacity: 1; transform: scale(1); }

/* ===============================
  CLOSING BLESSING
================================ */
.closing-blessing {
  text-align: center;
  padding: 60px 20px 0;
  background: transparent;
  width: 100%;
}

.closing-blessing p {
  color: #93c5fd; 
  font-size: 24px; /* <-- Increased from 18px to 24px */
  font-weight: 500;
  font-style: italic;
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.3); 
}

/* QR Code Section */
.qr-payment-box {
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  text-align: center;
  margin: 15px auto;
  width: 100%;
}

.qr-image {
  width: 320px;
  max-width: 100%;
  height: auto;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  
  image-rendering: -moz-crisp-edges;          
  image-rendering: -webkit-optimize-contrast; 
  image-rendering: crisp-edges;               
  image-rendering: pixelated;                 
}

.qr-text {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  margin: 0;
}

/* Select Dropdown Styling */
.custom-select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #475569;
  background-color: #0f172a;
  color: #f8fafc;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 0.3s;
  appearance: none; /* Removes default OS styling */
}
.custom-select:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

@media (max-width: 900px) {
  .booking-wrapper { grid-template-columns: 1fr; }
  .booking-image { order: -1; }
}

/* ===============================
   TERMS & CONDITIONS CHECKBOX
================================ */

.terms-checkbox-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding: 0 5px;
  color: #94a3b8;
  font-size: 14px;
  text-align: left;
}

.terms-checkbox-container input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  accent-color: #3b82f6; 
}

.terms-checkbox-container label {
  cursor: pointer;
  line-height: 1.4;
}

.terms-checkbox-container a {
  color: #60a5fa;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.terms-checkbox-container a:hover {
  color: #93c5fd;
}