* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* ======= ====== ======= hero section ===== ======= ======== */

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #eef5ff 0%, #f6f9ff 100%);
  color: #222;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  transition: 0.4s ease;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin-left: -20px;
}

.logo img {
  height: 40px;
}
.auth-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Links */
.nav-links a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #ffcc33;
  left: 0;
  bottom: -6px;
  transition: 0.3s;
}

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

/* Login Button */
.login-btn {
  background: #ffcc33;
  padding: 10px 22px;
  border-radius: 25px;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.login-btn:hover {
  background: #e6b800;
}

/* Mobile */
.menu-toggle {
  display: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 15px; /* 👈 menu & login close */
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  background-image: url(../assets/main-page-image.png);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-left: 8%;
}

/* DARK OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.15)
  );
}

/* CONTENT */
.hero-content {
  position: relative;
  max-width: 520px;
  color: #ffffff;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* BUTTON */
.btn {
  display: inline-block;
  background-color: #f9c846;
  color: #000;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* LAPTOP & SMALL SCREENS */
@media (max-width: 1024px) {
  .hero {
    padding-left: 6%;
  }

  .hero-content h1 {
    font-size: 44px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 0 6%;
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 36px;
  }
}

/* ====== ==== Path Divider Section === ======= */
.hero-simple {
  text-align: center;
  padding: 70px 20px 40px;
  background: #f6f9ff;
}

.hero-simple h1 {
  font-size: 44px;
  font-weight: 800;
  color: #111;
}

.hero-simple p {
  font-size: 18px;
  color: #555;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .hero-simple h1 {
    font-size: 30px;
  }
}

/* =================== from confusion to clarity ============================= */
.confusion-clarity {
  padding: 80px 6%;
  background: linear-gradient(to right, #fdecec, #eef6ff);
  text-align: center;
}

.confusion-clarity h2 {
  font-size: 36px;
  margin-bottom: 8px;
}

.subtitle {
  color: #555;
  margin-bottom: 50px;
}

.cc-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cc-box {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  width: 340px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.cc-box.show {
  opacity: 1;
  transform: translateY(0);
}

.cc-box h3 {
  margin: 18px 0;
  font-size: 20px;
}

.cc-image {
  width: 120px;
  display: block;
  margin: auto;
}

.point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f9f9f9;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.point span {
  font-size: 18px;
}

.point p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.confusion h3 {
  color: #c0392b;
}
.clarity h3 {
  color: #1e6cff;
}

.cc-arrow {
  font-size: 40px;
  color: #888;
  animation: arrowMove 1.5s infinite alternate;
}

@keyframes arrowMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(10px);
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .cc-arrow {
    transform: rotate(90deg);
  }
}

/* ===== =========================== feature section ========================= ======*/
.features {
  padding: 80px 6%;
  text-align: center;
}

.features h2 {
  font-size: 34px;
  font-weight: 700;
}

.features h2 span {
  color: #2563eb;
}

.features-sub {
  margin-top: 10px;
  color: #555;
  font-size: 16px;
}

.feature-cards {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.feature-card .icon {
  font-size: 34px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* all card highlight */
.feature-card {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: 18px;
  border: 2px solid #93c5fd; /* light blue border */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.15);
}

/* ======== reviem section =======*/
.review-section {
  background: #f4f9ff;
  padding: 80px 20px;
  text-align: center;
}

.review-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.review-sub {
  color: #666;
  margin-bottom: 50px;
}

.review-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.review-card {
  background: #fff;
  padding: 40px 30px;
  max-width: 600px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.review-text {
  font-size: 20px;
  font-style: italic;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.review-name {
  font-weight: 600;
}

.review-class {
  color: #777;
  font-size: 14px;
}

.avatar {
  width: 70px;
  height: 70px;
  background: #1e40af;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 20px auto 0;
}

.nav-btn {
  background: #fff;
  border: none;
  font-size: 32px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* mobile */
@media (max-width: 768px) {
  .review-slider {
    flex-direction: column;
  }

  .nav-btn {
    display: none;
  }
}

/* ======================  CTA SECTION ============= */

.cta-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  padding: 110px 8% 80px;

  display: flex;
  align-items: center;

  /* 🔥 BACKGROUND IMAGE — THIS WILL ALWAYS SHOW */
  background-image: url(../assets/students-cta.jpg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #ffffff;
  overflow: hidden;
}

/* ================= DARK OVERLAY ================= */

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  /* 👇 EXACT darkness like your screenshot */
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

/* ================= CONTENT ================= */

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

/* ================= HEADING ================= */

.cta-content h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
}

.cta-content h2 span {
  color: #ffb703;
}

/* ================= PARAGRAPH ================= */

.cta-content p {
  font-size: 17px;
  line-height: 1.6;
  color: #e6e6e6;
  margin-bottom: 30px;
}

/* ================= CTA ROW ================= */

.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* ================= PRICE BADGE ================= */

.cta-price {
  background: #f6c344;
  color: #000;
  padding: 14px 26px;
  border-radius: 40px;

  font-size: 15px;
  font-weight: 500;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* OLD PRICE */
.old-price {
  text-decoration: line-through;
  color: #444;
  margin-left: 6px;
}

/* NEW PRICE */
.new-price {
  color: #1f7f6b;
  font-weight: 700;
  font-size: 16px;
  margin-left: 4px;
}

/* ================= CTA BUTTON ================= */

.cta-btn {
  background: #ffb703;
  color: #000;
  padding: 15px 34px;
  border-radius: 30px;

  font-size: 16px;
  font-weight: 600;
  text-decoration: none;

  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #ffd166;
  transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .cta-section {
    padding: 90px 6% 70px;
  }

  .cta-content h2 {
    font-size: 36px;
  }

  .cta-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ================= FOOTER ================= */

.footer {
  background: #0b1d2a;
  color: #d6dce1;
  padding: 60px 20px 20px;
}

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

/* Brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 40px;
}

.footer-brand h3 {
  color: #fff;
}

.tagline {
  margin-top: 6px;
  font-size: 14px;
  color: #ffb703;
}

.about {
  margin: 14px 0;
  font-size: 14px;
  line-height: 1.6;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid #ffb703;
  border-radius: 50%;
  color: #ffb703;
  margin-right: 8px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #ffb703;
  color: #000;
}

/* Links */
.footer-links h4,
.footer-newsletter h4 {
  color: #fff;
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  margin-bottom: 8px;
  color: #d6dce1;
  font-size: 14px;
}

.footer-links a:hover,
.footer-links .highlight {
  color: #ffb703;
}

/* Newsletter */
.footer-newsletter p {
  font-size: 14px;
  margin-bottom: 10px;
}

.newsletter-box {
  display: flex;
  border: 2px solid #ffb703;
  border-radius: 30px;
  overflow: hidden;
}

.newsletter-box input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
}

.newsletter-box button {
  background: #ffb703;
  border: none;
  padding: 0 18px;
  font-size: 18px;
  cursor: pointer;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid #1f3446;
  font-size: 14px;
}

/* Back to top */
#backToTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffb703;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: none;
}

/* ============ back to jump ===========*/
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #facc15;
  color: #000;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  z-index: 999;
}

#backToTop:hover {
  background: #fbbf24;
  transform: translateY(-4px);
}

/* Mobile adjustment */
@media (max-width: 768px) {
  #backToTop {
    bottom: 20px;
    right: 20px;
  }
}
/* ===========================MOBILE FIRST OPTIMIZATION – EDUITINERAR========================= */

@media (max-width: 768px) {
  /* ----- GLOBAL RESET ----- */
  * {
    box-sizing: border-box;
  }

  body {
    font-size: 16px;
    line-height: 1.6;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  section {
    padding: 60px 20px;
  }

  /* ----- TYPOGRAPHY ----- */
  h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  h2 {
    font-size: 24px;
    line-height: 1.3;
  }
  h3 {
    font-size: 18px;
    line-height: 1.4;
  }
  p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* ----- NAVBAR ----- */
  nav {
    padding: 14px 20px;
  }

  .nav-links a {
    padding: 14px 0;
    font-size: 16px;
  }

  /* ----- BUTTONS ----- */
  .btn,
  button {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 10px;
  }

  /* ----- CONFUSION → CLARITY SECTION ----- */
  .cc-container {
    flex-direction: column;
    gap: 30px;
  }

  .cc-arrow {
    transform: rotate(90deg);
    font-size: 28px;
  }

  .cc-box {
    width: 100%;
    max-width: 380px;
    padding: 24px;
  }

  .cc-image {
    width: 100px;
  }

  .point {
    padding: 12px;
  }

  .point p {
    font-size: 14px;
  }

  /* ----- CARDS / GRIDS ----- */
  .cards,
  .reviews,
  .courses,
  .grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* ----- ANIMATIONS (LIGHT FOR MOBILE) ----- */
  .animate,
  .animate-left,
  .animate-right,
  .animate-scale {
    transition: all 0.5s ease;
    transform: translateY(25px);
  }

  /* ----- HOVER EFFECTS (SOFT) ----- */
  .hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  /* ----- FOOTER ----- */
  footer {
    padding: 50px 20px;
    text-align: center;
  }

  footer .footer-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  footer a {
    font-size: 15px;
  }
}
/* Add this to your existing styles.css */

.take-test-btn {
  padding: 10px 20px;
  background-color: #ffc107; /* Yellow color */
  color: white;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.take-test-btn:hover {
  background-color: #e0a800;
}

/* Sample Report Button Styling */
/* Buttons ko Center aur Ek ke neeche Ek karne ke liye container */
.button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px; /* Dono buttons ke beech ka gap */
  margin-top: 20px;
}

/* Sample Report Button (Secondary Style) */
.sample-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* Icon aur text ke beech gap */
  padding: 10px 25px;

  border: 2px solid #ffc107;
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;

  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover Effect */
.sample-btn:hover {
  background-color: #ffc107;
  color: #1a1a1a;
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
  transform: translateY(-2px);
}

/* Icon ki styling */
.sample-btn .icon {
  font-size: 1.1rem;
}

.cta-btn {
  min-width: 220px;
  text-align: center;
}
.sample-btn {
  min-width: 220px;
}
/* Offer Box - Adjusted for Bottom Position */
.cta-price-box {
  text-align: left;
  margin-top: 25px; /* Upar gap diya hai taaki button se dur rahe */
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #ff4757; /* Red urgency border */
  border-radius: 0 8px 8px 0;
  backdrop-filter: blur(5px);
  max-width: 400px;
  position: relative;

  /* Optional: Agar aap chahte hain ki box thoda chota/compact dikhe niche */
  transform: scale(0.95);
  transform-origin: left top;
}

/* Baaki styles same rahenge */
.limited-badge {
  display: inline-block;
  background-color: #ff4757;
  color: white;
  font-size: 0.75rem; /* Thoda chota kiya taaki neat lage */
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  box-shadow: 0 2px 5px rgba(255, 71, 87, 0.4);
  animation: pulse 1.5s infinite;
}

/* ...Baki CSS (fonts, colors) wahi purani wali use hogi... */
