/* ==================== COLORS & BASE ==================== */
:root {
  --bg:#0b0f1a;
  --bg-light:rgba(255,255,255,0.05);
  --text: #e9ecff; /* can keep for general text */
  --muted:#a9b1d6;
  --accent: #a78bfa; /* match primary button gradient start */
  --accent2: #60a5fa; /* match primary button gradient end */
  --btn-bg: linear-gradient(135deg, var(--accent), var(--accent2)); /* use updated accent colors */
  --radius:16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Roboto, sans-serif; /* normal text */
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section H1 */
.hero-content h1 {
  font-family: 'Futura', 'Trebuchet MS', sans-serif; /* fallback included */
  font-weight: bold;
}

/* All H2 Headings */
h2 {
  font-family: 'Futura', 'Trebuchet MS', sans-serif; /* fallback included */
  font-weight: bold;
}












/* ==================== HEADER ==================== */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  backdrop-filter: blur(15px);
  background: rgba(11, 15, 26, 0.85);
  box-shadow: 0 5px 25px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

.header.sticky {
  padding: 10px 0;
  background: rgba(11, 15, 26, 0.95);
  box-shadow: 0 5px 30px rgba(0,0,0,0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

/* ===== LOGO (FIXED COLOR) ===== */
.logo {
  font-size: 2.3rem; 
  font-family: 'Futura', 'Trebuchet MS', sans-serif; /* fallback included */
  font-weight: bold;
  color: var(--text); /* matches hero/header text */
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

/*.logo:hover {
  transform: scale(1.05) rotate(-2deg);
  color: var(--accent2);
}

/* ===== NAVIGATION ===== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.2rem;
  position: relative;
  transition: 0.3s;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: var(--accent2);
  transition: width 0.3s;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* ===== HEADER BUTTON ===== */
.btn-header {
  padding: 10px 25px;
  border-radius: 16px;
  background: var(--btn-bg);
  color: #0b0f1a;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s, filter 0.3s;
}

.btn-header:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* ===== MOBILE ===== */
.nav-toggle {
  display: none;
  font-size: 3rem;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

@media(max-width:768px){
  .nav-links {
    display: none;           /* hidden initially */
    font-size: 1.5rem;
    flex-direction: column;  /* vertical menu */
    gap: 15px;
    position: absolute;      /* position relative to header */
    top: 100%;               /* just below the header */
    right: 0;
    width: 100%;             /* full width */
    background: rgba(11, 15, 26, 0.95); /* match header or semi-transparent */
    height: 100vh;
    padding: 20px 0;         /* some spacing */
    box-shadow: 0 5px 25px rgba(0,0,0,0.4); /* optional shadow */
    z-index: 998;            /* below header z-index
    */

justify-content: flex-start; /* vertical stacking from top */
    align-items: flex-end;       /* push links to the right */
    text-align: right;           /* text inside links aligns right */
    padding-right: 30px;
  
}

  .nav-links.nav-active {
    display: flex;           /* show when hamburger clicked */
  }

  .nav-toggle {
    display: block;
  }
}

/* Mobile smaller */
@media (max-width: 400px) {

  .header-container {
    padding: 10px 0; /* reduce vertical space */
  }

  .logo {
    font-size: 1.5rem; /* smaller logo */
  }

  .btn-header {
    padding: 6px 14px; /* smaller button */
    font-size: 0.85rem;
  }

  .nav-toggle {
    font-size: 2.2rem; /* smaller hamburger */
  }

}


/* ===== END HEADER =====











/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 20px 100px; /* top + bottom padding */
  overflow: hidden;
  width: 100%;
}

.hero-video {
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0.6;
  position:absolute;
  top:0; left:0; z-index:0;
}

.hero-overlay {
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
  background:rgba(11,15,26,0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800; /* extra bold */
  font-family: 
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color:var(--muted);
  font-size:1.3rem;
  margin-bottom:25px;
}

.hero-buttons {
  display:flex;
  gap:15px;
  justify-content:center;
}

.btn-primary, .btn-secondary {
  padding:14px 28px;
  border:none;
  border-radius:var(--radius);
  font-weight:700;
  font-size: 1rem;
  cursor:pointer;
  transition:0.3s;
}

.btn-primary {
  background:var(--btn-bg);
  color:#0b0f1a;
}

.btn-primary:hover {
  transform:translateY(-2px);
  filter:brightness(1.1);
}

.btn-secondary {
  background: transparent;
  border-radius: var(--radius); /* keeps rounded corners */
  border: 2px solid transparent; /* base border */
  background-image: linear-gradient(var(--bg), var(--bg)), var(--btn-bg); 
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: #fff; /* keep text readable */
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--btn-bg); /* full gradient background */
  color: #0b0f1a; /* readable text on hover */
}

.btn-large {padding:18px 36px; font-size:1.2rem;}


/* Tablet------------- */
@media (max-width: 992px) {
  .hero {
    /* remove height: 35vh; */
    padding: 80px 20px; /* adjust if needed */
  }

  .hero-content h1 {
    font-size: 2.5rem; /* smaller heading */
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .hero-buttons {
    gap: 12px;
  }

  .btn-primary, .btn-secondary {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
  }
}

/* Mobile-------------- */
@media (max-width: 750px) {
  .hero {
    /* remove height: 60vh; */
    padding: 60px 20px 20px 20px; /* top right bottom left */
  }

  .hero-content h1 {
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 5rem;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column; /* stack buttons */
    gap: 10px;
  }

  .btn-primary, .btn-secondary {
    width: 40%; /* full width buttons */
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 1rem;
  }
}


/* Mobile smaller -------------- */
@media (max-width: 400px) {
  .hero {
    /* remove height: 60vh; */
    padding: 30px 20px 5px 20px; /* top right bottom left */
  }

  .hero-content h1 {
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 5rem;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column; /* stack buttons */
    gap: 10px;
  }

  .btn-primary, .btn-secondary {
    width: 55%; /* full width buttons */
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* ==================== SECTIONS ==================== */
section {
  position:relative;
  padding:80px 0;
}

.features {background:rgba(255,255,255,0.05);}
.how-it-works {background:rgba(255,255,255,0.03);}
.reviews {background:rgba(255,255,255,0.05);}
.final-cta {background:rgba(124,58,237,0.05);}
footer {background:rgba(11,15,26,0.9);}

/* SECTION HEADINGS */
section h2 {
  margin-bottom:60px;
  font-size:2.5rem;
  text-align:center;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* === END HERO SECTION === */











/* ==================== START FEATURES SECTION CSS ==================== */
.features-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg);
}

.features-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
  align-items: stretch;
}

.features-box {
  flex: 0 0 350px;
  background-color: rgba(255,255,255,0.05);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.features-box h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 22px;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.features-list li {
  font-size: 1.2rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
}

.checkmark {
  display: inline-block;
  color: #60a5fa;
  font-weight: bold;
  font-size: 1.3rem;
  width: 22px;
}

/* ===== VIDEO BOX UPDATED FOR YOUTUBE SHORTS RATIO ===== */
.video-box {
  flex: 0 0 auto;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 9 / 16; /* matches vertical Shorts ratio */
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.video-box iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==================== TABLET MEDIA QUERY ==================== */
@media (max-width: 1024px) {
  .features-container {
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }

  .features-box {
    flex: 0 0 45%; /* two per row */
    padding: 24px;
  }

  .features-box h3 {
    font-size: 1.8rem;
  }

  .features-list li {
    font-size: 1.1rem;
    gap: 12px;
  }

  .video-box {
    max-width: 300px;
  }
}

/* ==================== MOBILE MEDIA QUERY ==================== */
@media (max-width: 768px) {
  .features-container {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .features-box {
    flex: 0 0 90%;
    padding: 20px;
  }

  .features-box h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }

  .features-list li {
    font-size: 1rem;
    gap: 10px;
  }

  .video-box {
    max-width: 260px;
  }
}

/* ==================== END FEATURES SECTION CSS ==================== */











/* ==================== TRY IT NOW ==================== */
.try-now-section {
  padding: 50px 0;
  background: rgba(11,15,26,0.85);
  color: var(--text);
  border-radius: 20px;
}

.try-now-section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== QUIZ TABS ===== */
.quiz-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius);
  background: var(--bg-light);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background: var(--accent2);
  color: #0b0f1a;
}

.tab-btn.active {
  background: var(--accent);
  color: #0b0f1a;
  font-weight: 700;
}

/* ===== QUIZ WRAPPER ===== */
.quiz-wrapper {
  max-width: 750px;
  margin: 0 auto;
}

/* ===== QUIZ HEADER ===== */
.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.question-number {
  font-size: 1rem;
  font-weight: 600;
}

.progress-circle {
  position: relative;
  width: 50px;
  height: 50px;
}

.progress-circle svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.progress-circle circle {
  fill: none;
  stroke-width: 5;
  stroke: rgba(255,255,255,0.1);
}

.progress-circle .progress {
  stroke: var(--accent);
  stroke-dasharray: 125.6;
  stroke-dashoffset: 125.6;
  transition: stroke-dashoffset 0.5s ease;
}

.progress-percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===== QUIZ CARD ===== */
.quiz-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

.question-text {
  font-size: 1.4rem;
  margin-bottom: 25px;
}

.answers-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.answer-btn {
  padding: 14px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  background: var(--bg-light);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}

.answer-btn:hover:not(.disabled) {
  background: var(--accent2);
  color: #0b0f1a;
  transform: translateY(-2px);
}

.answer-btn.selected {
  border: 2px solid var(--accent);
  font-weight: 700;
}

.answer-btn.disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.feedback-container {
  margin-top: 15px;
  font-weight: 600;
  font-size: 1rem;
}

.tip-container {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-top: 5px;
}

.next-btn {
  margin-top: 20px;
  width: 100%;
}

/* ===== RESULT CARD ===== */
.quiz-result {
  text-align: center;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--bg-light);
}

.result-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

/* ===== MISTAKE CARDS ===== */
.quiz-report {
  margin-top: 20px;
  text-align: left;
}

.mistake-item {
  background: var(--bg-light);
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.1);
}

.mistake-item label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}

.mistake-check {
  transform: scale(1.3);
  margin-top: 4px;
  accent-color: #4CAF50;
}

/* ==================== POPUP ==================== */
.subscription-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background: #0b0f1a;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  animation: popupFade 0.3s ease;
}

.popup-content h3 {
  margin-bottom: 10px;
}

.popup-content p {
  margin-bottom: 20px;
  color: rgba(255,255,255,0.7);
}

.popup-content button {
  width: 100%;
  margin-top: 10px;
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==================== DRAG & DROP ==================== */
.object-container {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.draggable {
  width: 50px;
  height: 50px;
  cursor: grab;
  user-select: none;
/* ===== MOBILE TOUCH FIX ===== */
  touch-action: none; /* prevents scrolling while dragging on touch devices */
}

.drag-drop-container {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background-image: url('https://www.aa.co.nz/membership/aa-directions/driver/road-rules-when-to-give-way/_jcr_content/root/container/columncontrol/columncontrolcontainer/container/half_and_half_block.coreimg.85.1600.jpeg/1749691631132/giveway-rules-scenario-1-inp.jpeg');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

/* Pulsing animation for drop zones */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }
}

.drop-zone {
  position: absolute;
  width: 12%;
  height: 12%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  animation: pulse 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;

}

/* Correct drop zone positions */
.drop-zone:nth-child(1) {
  top: 65%;
  left: 25%;
}

.drop-zone:nth-child(2) {
  top: 30%;
  left: 60%;
}


/* Drag & drop quiz card style */
.quiz-card.dragdrop {
  max-width: 500px; /* smaller width */
  padding: 20px;    /* less padding */
  margin: 0 auto;   /* center horizontally */
}

.tip-container {
  display: block;
  margin-top: 15px;
  order: 3;
}

.quiz-card {
  display: flex;
  flex-direction: column;
}

/*-- END TRY IT NOW -->










/* ==================== START GOOGLE REVIEWS CAROUSEL ==================== */

.reviews {
  background: rgba(0,0,0,0);
  padding: 80px 20px;
  border-radius: 20px; /* Rounded corners */
}

.reviews-logo {
  text-align: center;
  margin-bottom: 20px;
}

.reviews-logo img {
  height: 80px; /* Adjust size as needed */
}

.reviews h2 {
  font-size: 3rem;
  margin-bottom: 60px;
  text-align: center;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Carousel Container */
.carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

/* Review Cards */
.review-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: rgba(255,255,255,0.05);
  padding: 28px 24px;
  border-radius: 18px;
  text-align: center;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.review-card .stars {
  margin: 12px 0;
  font-size: 1.2rem;
  color: #ffcc00;
}

.review-card cite {
  display: block;
  font-style: normal;
  color: var(--muted);
}

/* Carousel Arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 50;
  transition: all 0.25s ease;
}

.carousel-btn.prev {
  left: -90px; /* further outside */
}

.carousel-btn.next {
  right: -90px; /* further outside */
}

.carousel-btn:hover {
  background: var(--btn-bg);
  color: #0b0f1a;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* Responsive */
@media(max-width:900px){
  .review-card {
    flex: 0 0 80%;
  }

  .carousel-btn.prev {
    left: -60px;
  }
  .carousel-btn.next {
    right: -60px;
  }
}


/* ==================== TABLET MEDIA QUERY ==================== */
@media (max-width: 1024px) {
  .review-card {
    flex: 0 0 45%; /* two cards per row */
    padding: 24px 20px;
  }

  .reviews h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }

  .carousel-btn.prev {
    left: -60px;
  }
  .carousel-btn.next {
    right: -60px;
  }
}

/* ==================== MOBILE MEDIA QUERY ==================== */
@media (max-width: 768px) {
  .review-card {
    flex: 0 0 90%; /* one card per row */
    padding: 20px 16px;
  }

  .reviews h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .reviews-logo img {
    height: 60px;
  }

  .carousel-btn.prev {
    left: -40px;
  }
  .carousel-btn.next {
    right: -40px;
  }
}

/* ==================== END GOOGLE REVIEWS CAROUSEL ==================== */













/* ==================== FAQ SECTION ==================== */
.faq-section {
  padding: 80px 0;
  background: rgba(11,15,26,0.85); /* same as your other sections */
  border-radius: 20px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  background: rgba(255,255,255,0.05);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 20px 20px;
  color: var(--muted);
}

/* ==================== END FAQ SECTION ==================== */













/* ==================== FOOTER ==================== */
.footer {
  background: rgba(11,15,26,0.95);
  padding: 80px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

/* ===== LOGO (FIXED COLOR) ===== */
.footer-logo {
  font-size: 3rem; 
  font-family: 'Futura', 'Trebuchet MS', sans-serif; /* fallback included */
  font-weight: bold;
  color: var(--text); /* matches hero/header text */
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}


.footer-brand p {
  color: var(--muted);
  line-height: 1.6;
}

/* LINKS */
.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--accent2);
}

/* Footer normal button */
.btn-footer {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: var(--accent2);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  transition: 0.3s;
}

.btn-footer:hover {
  background-color: #4f8edc;
  transform: translateY(-2px);
}

/* Gradient link for Driving School Packages */
.footer-links a.gradient-link {
  background: linear-gradient(45deg, #60a5fa, #4f8edc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a.gradient-link:hover {
  transform: translateY(-2px);
}

/* CONTACT */
.footer-contact p {
  color: var(--muted);
  margin-bottom: 8px;
}

/* SOCIAL ICONS */
.social-icons {
  margin-top: 10px;
}

.social-icons a {
  margin-right: 10px;
  font-size: 1.3rem;
  color: var(--text);
  transition: 0.3s;
}

.social-icons a:hover {
  color: var(--accent2);
  transform: translateY(-2px);
}

/* NEWSLETTER */
.footer-newsletter p {
  color: var(--muted);
  margin-bottom: 10px;
}

.newsletter-box {
  display: flex;
  gap: 10px;
}

.newsletter-box input {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius);
  border: none;
  outline: none;
  background: rgba(255,255,255,0.08);
  color: var(--text);
}

.newsletter-box button {
  padding: 12px 18px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-weight: 700;
  background: var(--btn-bg);
  color: #0b0f1a;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.9rem;
}

/*  END FOOTER =====







/* RESPONSIVE */
@media(max-width:768px){
  .newsletter-box {
    flex-direction: column;
  }
}

/* ==================== SCROLL OFFSET ==================== */
html {
  scroll-behavior: smooth;
}

/* Offset sections so header doesn't cover content */
#hero,
#try-now,
#reviews {
  scroll-margin-top: 80px; /* match your fixed header height */
}


/* ==================== RESPONSIVE ==================== */
@media(max-width:750px){
  .hero-content h1 {
    font-size: 2rem;
    margin-left: 30px;
    margin-right: 30px;
    font-family: 
  }
  .hero-content p {
    font-size: 1.2rem;
    margin-left: 40px;
    margin-right: 40px;
    font-family:
  }
  .feature, .step, .review {
    padding: 20px 10px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 15px;
  }
  .nav-links.nav-active {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}