* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Top Notification Bar */
.top-bar {
  overflow: hidden;
  background-color: #0b192c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.top-bar-track {
  width: 100%;
  overflow: hidden;
}

.top-bar-message {
  display: inline-block;
  min-width: max-content;
  padding: 8px 0 8px 100%;
  animation: top-bar-ticker 20s linear infinite;
  will-change: transform;
}

.top-bar-highlight {
  color: #ffd700;
  font-weight: 700;
}

.top-bar:hover .top-bar-message {
  animation-play-state: paused;
}

@keyframes top-bar-ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-bar {
    padding: 8px 20px;
    text-align: center;
    white-space: normal;
  }

  .top-bar-message {
    display: block;
    min-width: 0;
    padding: 0;
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }
}

/* Sticky Header & Navbar */
header {
  background-color: #0b192c;
  border-bottom: 1px solid #1e3e62;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 9999;
}

.logo {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo span {
  color: #ffd700;
}

/* Desktop Navigation with Mega Menus */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0;
}

nav ul li a:hover,
nav ul li:hover > a {
  color: #ffd700;
}

/* Mega Menu Dropdown Box */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  width: 920px;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10000;
  border-top: 4px solid #ffd700;
}

nav ul li:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-column h4 {
  font-size: 13px;
  font-weight: 700;
  color: #0b192c;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 5px;
}

.mega-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  text-align: left;
}

.mega-column ul li {
  width: 100%;
}

.mega-column ul li a {
  color: #475569;
  font-size: 12.5px;
  font-weight: 400;
  padding: 0;
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.mega-column ul li a:hover {
  color: #0b192c;
  font-weight: 600;
  padding-left: 4px;
}

.mega-btn {
  display: inline-block;
  background-color: #ffd700;
  color: #0b192c;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 10px;
  text-align: center;
  transition: 0.2s;
}

.mega-promo-box {
  background: linear-gradient(135deg, #0b192c 0%, #1e3e62 100%);
  padding: 12px;
  border-radius: 8px;
  color: #ffffff;
  text-align: center;
}

.mega-promo-box h5 {
  font-size: 12px;
  color: #ffd700;
  margin-bottom: 4px;
}

.mega-promo-box p {
  font-size: 11px;
  color: #cbd5e0;
  margin-bottom: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.email-header {
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  background: #1e3e62;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #335577;
}

/* Menu Toggle Button Style */
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #ffd700;
  color: #0b192c;
  padding: 9px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.menu-toggle:hover {
  background-color: #e6c200;
}

/* Mobile Slide-out Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background-color: #0b192c;
  z-index: 30000;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1e3e62;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.mobile-menu-header span {
  color: #ffd700;
  font-weight: 800;
  font-size: 16px;
}

.close-menu {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav-list li a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: block;
  padding-bottom: 8px;
  border-bottom: 1px solid #142842;
}

.mobile-nav-list li a:hover {
  color: #ffd700;
}

/* Hero Section */
.hero-section {
  background-color: #0b192c;
  background-image:
    linear-gradient(
      135deg,
      rgba(11, 25, 44, 0.92),
      rgba(30, 62, 98, 0.78)
    ),
    url("../images/hero-image.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  padding: 110px 20px 90px 20px;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.hero-text {
  flex: 1.2;
}

.hero-text h1 {
  font-size: 42px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  display: block;
}

.hero-text p {
  font-size: 15px;
  color: #cbd5e0;
  margin-bottom: 30px;
  line-height: 1.7;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.badge-box {
  border: 1px solid #335577;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.badge-box span {
  display: block;
  color: #ffd700;
  font-size: 11px;
  font-weight: 400;
}

/* Pricing Card / Form Box */
.hero-form {
  flex: 1;
  display: flex;
  justify-content: center;
}

.pricing-card {
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.pricing-header {
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.pricing-header span {
  background-color: #ffd700;
  color: #0b192c;
  padding: 3px 8px;
  border-radius: 4px;
}

.form-body {
  padding: 0;
  line-height: 0;
}

.form-body iframe {
  display: block;
  width: 100%;
  margin: 0;
  border: none;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  background: #fff;
  color: #333;
}

.submit-btn {
  background-color: #0b192c;
  color: #ffd700;
  border: none;
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.3);
}

.submit-btn:hover {
  background-color: #1e3e62;
}

/* Logos Section */
.logos-section {
  background-color: transparent;
  padding: 0 20px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.logos-container {
  max-width: 1050px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #eaeaea;
}

.logos-container h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0b192c;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logos-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-item {
  font-size: 17px;
  font-weight: 800;
  color: #4a5568;
  opacity: 0.85;
}

/* Transform Section */
.transform-section {
  padding: 80px 20px 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.transform-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(35px, 5vw, 70px);
}

.transform-copy {
  text-align: left;
}

.transform-section h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0b192c;
  margin-bottom: 20px;
  line-height: 1.25;
}

.transform-section p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.8;
}

.transform-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(11, 25, 44, 0.18);
  object-fit: cover;
}

@media (max-width: 1024px) {
  .transform-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .transform-copy,
  .transform-image {
    width: 100%;
  }
}

/* Features Cards Slider */
.features-slider-section {
  padding: 70px 20px;
  background-color: #f8fafc;
  overflow: hidden;
}

.features-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.features-header h2 {
  font-size: 34px;
  font-weight: 900;
  color: #0b192c;
  margin-bottom: 20px;
}

.features-header p {
  font-size: 14.5px;
  color: #4a5568;
}

.slider-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.slider-track {
  display: flex;
  gap: 25px;
  transition: transform 0.4s ease-in-out;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.feature-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 14px;
  padding: 30px 20px;
  min-width: 280px;
  flex: 1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #eaeaea;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card.active-card {
  z-index: 2;
  background: #0b192c;
  color: #ffffff;
  transform: scale(1.03);
  border-color: #0b192c;
}

@media (hover: hover) {
  .feature-card:hover {
    transform: scale(1.04);
    box-shadow: 0 18px 38px rgba(11, 25, 44, 0.16);
    z-index: 10;
  }

  .feature-card.active-card:hover {
    transform: scale(1.06);
  }
}

.feature-card.active-card h3,
.feature-card.active-card p {
  color: #ffffff;
}

.card-img {
  font-size: 40px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0b192c;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 13.5px;
  color: #4a5568;
  margin-bottom: 20px;
}

.support-btn {
  display: inline-block;
  background-color: #1e3e62;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.grade-btn {
  display: inline-block;
  background-color: #ffd700;
  color: #0b192c;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.slider-nav {
  display: none;
  justify-content: center;
  gap: 15px;
  margin-top: 35px;
}

.slider-nav button {
  background: #0b192c;
  color: #ffffff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: 0.2s;
}

.slider-nav button:hover {
  background: #ffd700;
  color: #0b192c;
}

/* How It Works */
.how-it-works {
  padding: 80px 35px;
  max-width: 1200px;
  margin: 70px auto;
  text-align: center;
  background: linear-gradient(145deg, #f8fafc 0%, #eef4fa 100%);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
}

.how-it-works h2 {
  font-size: 34px;
  font-weight: 800;
  color: #0b192c;
  margin-bottom: 60px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  position: relative;
  isolation: isolate;
  text-align: center;
}

.steps-grid::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 30px;
  left: 16.66%;
  right: 16.66%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #ffd700 0%,
    #e6c200 45%,
    #1e3e62 100%
  );
}

.step-card {
  position: relative;
  padding: 86px 28px 32px;
}

.step-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 30px 0 0;
  background: #ffffff;
  border: 1px solid #dbe4ee;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(11, 25, 44, 0.08);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.step-card:hover::before {
  border-color: #ffd700;
  box-shadow: 0 18px 38px rgba(11, 25, 44, 0.14);
}

.step-card > * {
  position: relative;
  z-index: 2;
}

.step-number {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0;
  transform: translateX(-50%);
  border: 6px solid #ffffff;
  border-radius: 50%;
  background: #ffd700;
  box-shadow: 0 8px 20px rgba(11, 25, 44, 0.16);
  font-size: 17px;
  font-weight: 900;
  color: #0b192c;
}

.step-card:nth-child(2) .step-number {
  background: #1e3e62;
  color: #ffd700;
}

.step-card:nth-child(3) .step-number {
  background: #0b192c;
  color: #ffffff;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0b192c;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .how-it-works {
    margin: 45px 15px;
    padding: 60px 24px;
    border-radius: 20px;
  }

  .how-it-works h2 {
    margin-bottom: 45px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
  }

  .steps-grid::before {
    top: 32px;
    bottom: 32px;
    left: 30px;
    right: auto;
    width: 4px;
    height: auto;
  }

  .step-card {
    min-height: 150px;
    padding: 30px 24px 30px 94px;
  }

  .step-card::before {
    inset: 0 0 0 30px;
  }

  .step-number {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
}

@media (max-width: 480px) {
  .how-it-works {
    padding: 50px 15px;
  }

  .how-it-works h2 {
    font-size: 28px;
  }

  .step-card {
    padding: 26px 18px 26px 80px;
  }

  .step-number {
    width: 58px;
    height: 58px;
  }

  .steps-grid::before,
  .step-card::before {
    left: 27px;
  }
}

/* Testimonials */
.testimonials-section {
  background-color: #0b192c;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 50px;
}

.testimonials-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  text-align: left;
}

.testimonial-card {
  background: #1e3e62;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #335577;
}

.testimonial-card p {
  font-size: 14.5px;
  color: #cbd5e0;
  margin-bottom: 20px;
  font-style: italic;
}

.student-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.student-info span {
  font-size: 12px;
  color: #ffd700;
}

/* FAQ */
.faq-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(40px, 6vw, 75px);
}

.faq-image {
  position: sticky;
  top: 110px;
}

.faq-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(11, 25, 44, 0.16);
  object-fit: cover;
}

.faq-section h2 {
  font-size: 34px;
  font-weight: 800;
  text-align: left;
  color: #0b192c;
  margin-bottom: 40px;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 15px;
  padding: 20px 22px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.faq-item:hover {
  border-color: #0b192c;
}

.faq-item.is-open {
  background: #ffffff;
  border-color: #1e3e62;
  box-shadow: 0 12px 28px rgba(11, 25, 44, 0.09);
}

.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: #0b192c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  cursor: pointer;
}

.faq-icon {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffd700;
  color: #0b192c;
  font-size: 20px;
  line-height: 1;
  transition:
    transform 0.35s ease,
    background-color 0.35s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  background: #0b192c;
  color: #ffd700;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  font-size: 14px;
  color: #4a5568;
  margin-top: 0;
  line-height: 1.6;
  transition:
    grid-template-rows 0.4s ease,
    opacity 0.3s ease,
    margin-top 0.4s ease;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 12px;
}

@media (max-width: 1024px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .faq-image {
    position: static;
    width: 100%;
  }

  .faq-content {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .faq-section {
    padding: 60px 15px;
  }

  .faq-section h2 {
    font-size: 28px;
  }

  .faq-item {
    padding: 18px;
  }

  .faq-question {
    font-size: 14px;
  }
}

/* Tablet and Mobile Hero Form */
@media (max-width: 1024px) {
  .slider-nav {
    display: flex;
  }

  .hero-container {
    flex-direction: column;
  }

  .hero-text,
  .hero-form {
    width: 100%;
  }

  .hero-form {
    flex: 0 0 100%;
    justify-content: stretch;
  }

  .pricing-card {
    max-width: none;
  }
}

/* Mobile Header & Layout Optimization */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .trust-badges {
    justify-content: center;
  }

  header {
    padding: 10px 15px;
  }

  .logo {
    font-size: 18px;
  }

  nav {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .email-header {
    display: none;
  }

  .menu-toggle {
    padding: 6px 12px;
    font-size: 11.5px;
  }

  .hero-section {
    padding: 60px 15px 40px 15px;
  }

  .hero-text h1 {
    font-size: 28px;
  }
}

.recent-viewed-support {
    display: flex;
    justify-content: center;
    padding: 0 16px;
}

.recent-viewed-banner {
    width: 100%;
    max-width: 1200px; /* apni site ki width ke hisaab se badal lein */
    margin: 0 auto;
}

.recent-viewed-banner img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}