/* ========================================
   PassPoint A-Level Exam Mastery
   Global Stylesheet
   ======================================== */

:root {
  --primary-blue: #1F4E78;
  --secondary-blue: #2E75B6;
  --accent-gold: #D4A574;
  --light-blue: #E6F2FF;
  --white: #FFFFFF;
  --off-white: #F9F9F9;
  --text-dark: #333333;
  --text-light: #666666;
  --border-light: #E0E0E0;
  --success-green: #27AE60;
  --warning-orange: #E67E22;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background-color: var(--white);
  border-bottom: 2px solid var(--primary-blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(31, 78, 120, 0.1);
}

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

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo::before {
  content: "▲";
  color: var(--accent-gold);
  font-size: 28px;
}

/* Exam Board Toggle */
.board-toggle {
  display: flex;
  gap: 8px;
  background-color: var(--light-blue);
  padding: 8px 12px;
  border-radius: 25px;
}

.toggle-btn {
  padding: 8px 16px;
  border: none;
  background-color: transparent;
  color: var(--text-light);
  font-weight: 600;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.toggle-btn.active {
  background-color: var(--primary-blue);
  color: var(--white);
}

.toggle-btn:hover {
  background-color: var(--secondary-blue);
  color: var(--white);
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
  gap: 30px;
  align-items: center;
}

.nav-desktop a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 14px;
}

.nav-desktop a:hover {
  color: var(--accent-gold);
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Navigation */
.nav-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 2px solid var(--primary-blue);
  padding: 12px 0;
  gap: 0;
  flex-wrap: wrap;
  justify-content: space-around;
  z-index: 99;
}

.nav-mobile a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 12px;
  padding: 8px 12px;
  text-align: center;
  flex: 1 1 25%;
}

/* ========== TRUST BAR ========== */
.trust-bar {
  background-color: var(--light-blue);
  padding: 15px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.trust-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  font-size: 13px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--primary-blue);
  font-weight: 600;
}

.trust-item::before {
  content: "✓";
  color: var(--success-green);
  font-size: 16px;
  font-weight: bold;
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color: var(--white);
  padding: 60px 20px 80px;
  text-align: center;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

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

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.5;
}

.cta-primary {
  background-color: var(--accent-gold);
  color: var(--primary-blue);
  padding: 16px 40px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.cta-primary:hover {
  background-color: #E6B85C;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cta-secondary {
  background-color: transparent;
  color: var(--white);
  padding: 14px 30px;
  border: 2px solid var(--white);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  margin-left: 15px;
}

.cta-secondary:hover {
  background-color: var(--white);
  color: var(--primary-blue);
}

/* ========== CONTENT SECTIONS ========== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-title {
  font-size: 36px;
  color: var(--primary-blue);
  margin-bottom: 20px;
  text-align: center;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.feature-card {
  background-color: var(--off-white);
  border-left: 4px solid var(--accent-gold);
  padding: 30px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(31, 78, 120, 0.15);
}

.feature-card h3 {
  color: var(--primary-blue);
  margin-bottom: 12px;
  font-size: 18px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* ========== PRICING ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.pricing-card {
  background-color: var(--off-white);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent-gold);
  background-color: var(--light-blue);
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(212, 165, 116, 0.2);
}

.pricing-card.featured::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-gold);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.price {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 20px 0;
}

.price-label {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 25px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}

.pricing-features li {
  list-style: none;
  padding: 8px 0;
  color: var(--text-dark);
  font-size: 14px;
}

.pricing-features li::before {
  content: "✓ ";
  color: var(--success-green);
  font-weight: bold;
  margin-right: 8px;
}

/* ========== TESTIMONIALS ========== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.testimonial-card {
  background-color: var(--light-blue);
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-gold);
}

.testimonial-text {
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-blue);
  font-size: 13px;
}

/* ========== FAQ ========== */
.faq-item {
  background-color: var(--off-white);
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-gold);
  overflow: hidden;
}

.faq-question {
  background-color: var(--off-white);
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: var(--light-blue);
}

.faq-arrow {
  transition: transform 0.3s ease;
  font-size: 18px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
  background-color: var(--white);
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

/* ========== FOOTER ========== */
footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 40px 20px;
  margin-top: 60px;
  border-top: 3px solid var(--accent-gold);
}

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

.footer-section h4 {
  margin-bottom: 15px;
  color: var(--accent-gold);
  font-size: 14px;
}

.footer-section a,
.footer-section p {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.8;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-gold);
  color: var(--primary-blue);
  border-radius: 50%;
  transition: all 0.3s ease;
  font-weight: bold;
}

.social-icons a:hover {
  background-color: var(--white);
  transform: translateY(-3px);
}

/* ========== FLOATING ELEMENTS ========== */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(31, 78, 120, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 95;
  text-decoration: none;
}

.floating-cta:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(31, 78, 120, 0.4);
}

.floating-cta::before {
  content: "✎";
  font-size: 28px;
  color: var(--white);
  font-weight: bold;
}

.whatsapp-button {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 95;
  text-decoration: none;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-button::before {
  content: "💬";
  font-size: 28px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .header-container {
    padding: 12px 15px;
  }

  .logo {
    font-size: 18px;
  }

  .logo::before {
    font-size: 20px;
  }

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }

  body {
    padding-bottom: 70px;
  }

  .board-toggle {
    flex-direction: column;
    width: 100%;
    order: -1;
  }

  .toggle-btn {
    font-size: 12px;
    padding: 6px 12px;
  }

  .header-container {
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .cta-primary,
  .cta-secondary {
    display: block;
    margin: 10px 0;
  }

  .section {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 28px;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .feature-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-cta,
  .whatsapp-button {
    width: 50px;
    height: 50px;
    bottom: 90px;
  }

  .floating-cta::before {
    font-size: 24px;
  }

  .whatsapp-button::before {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

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

  .section-title {
    font-size: 22px;
  }

  .trust-bar-content {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .price {
    font-size: 32px;
  }
}

/* ========== UTILITY CLASSES ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

.hidden {
  display: none;
}

.board-specific {
  display: none;
}

.board-specific.active {
  display: block;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-down {
  animation: slideDown 0.6s ease-out;
}
