/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #1A5F7A;
  --primary-color-dark: #124458;
  --primary-color-light: rgba(26, 95, 122, 0.1);
  --button-color: #F9B23F;
  --button-color-hover: #e09d30;
  --bg-color: #FFFFFF;
  --bg-alt: #F8F9FA;
  --text-main: #333333;
  --text-light: #666666;
  --font-family: 'Poppins', sans-serif;
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 15px 30px rgba(26, 95, 122, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 12px;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
}

h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-color);
}

h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 15px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--button-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(249, 178, 63, 0.4);
}

.btn-primary:hover {
  background-color: var(--button-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 178, 63, 0.5);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* App Store Badges */
.app-badges {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.badge {
  display: flex;
  align-items: center;
  background-color: #000;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
  gap: 10px;
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background-color: #222;
}

.badge i {
  font-size: 24px;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.badge-text span:first-child {
  font-size: 10px;
  text-transform: uppercase;
}

.badge-text span:last-child {
  font-size: 16px;
  font-weight: 600;
}

/* Header & Navigation */
header {
  background-color: #fff;
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 15px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo i { color: var(--button-color); }
.logo-text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links li a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-main);
  padding: 5px 0;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--primary-color);
}

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

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
  position: relative;
}

/* Hero Section */
.hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, #f0f7f9 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-color-light) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.tagline {
  font-weight: 600;
  color: var(--button-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 18px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transform: translateY(0);
  transition: transform 0.3s ease;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* Statistics Section */
.stats {
  padding: 60px 0;
  background-color: var(--bg-alt);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-bottom: 3px solid var(--primary-color);
}

.stat-card h3 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-card p {
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
  margin: 0;
}

/* TestSutra PASS Section */
.pass-section {
  padding: 80px 0;
}

.pass-container {
  display: flex;
  align-items: center;
  gap: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
  border-radius: 20px;
  padding: 50px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pass-container::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.pass-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.pass-content h2 {
  color: #fff;
}

.pass-content p {
  color: rgba(255,255,255,0.9);
}

.pass-features {
  margin: 20px 0 30px;
}

.pass-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 500;
}

.pass-features li i {
  color: var(--button-color);
}

.pass-image {
  flex: 1;
  position: relative;
  z-index: 1;
  text-align: center;
}

.pass-image img {
  max-width: 80%;
  border-radius: 20px;
  transition: transform 0.5s ease;
  box-shadow: var(--shadow-md);
}

.pass-container:hover .pass-image img {
  transform: scale(1.03);
}

/* Why Section */
.why-section {
  padding: 80px 0;
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.feature-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background-color: var(--primary-color);
  color: #fff;
}

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

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: white;
}

.cta-section h2 {
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.cta-download {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Footer */
footer {
  background-color: #111;
  color: #ccc;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
  padding-bottom: 5px;
}

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

.footer-col ul li a {
  color: #ccc;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: var(--button-color);
  padding-left: 5px;
}

.footer-col p {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-col i {
  color: var(--primary-color);
  margin-right: 10px;
  width: 15px;
}

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

.social-links a {
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

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

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 1199px) {
  .hero-inner, .pass-container {
    gap: 30px;
  }
  
  .stats-grid, .features-grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .hero-inner, .pass-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 30px;
    max-width: 100%;
  }

  .tagline, .app-badges, .cta-download {
    justify-content: center;
  }

  /* Keep features aligned nicely when text is centered */
  .pass-features {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pass-features li {
    text-align: left;
    justify-content: flex-start;
  }
  
  .footer-grid {
    gap: 30px;
  }
}

@media (max-width: 767px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  
  .tagline {
    font-size: 15px;
    justify-content: center;
  }
  
  .hero {
    padding: 120px 0 50px;
  }
  
  .stats, .pass-section, .why-section, .cta-section {
    padding: 50px 0;
  }

  .menu-toggle {
    display: block;
    z-index: 1001; /* Above the mobile nav */
  }

  /* Make sure bottom-nav DOES NOT become a full-screen fixed overlay like the header nav */
  .bottom-nav {
    display: flex;
    flex-wrap: wrap;
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    padding: 0;
    z-index: auto;
    box-shadow: none;
    gap: 10px;
  }
  
  .bottom-nav li {
    margin: 5px 10px !important;
  }
  
  .bottom-nav li a {
    font-size: 15px !important;
  }

  header .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
  }

  header .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .nav-links li a {
    font-size: 20px;
  }

  .stats-grid, .features-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Allow subgrids/footer columns to stack cleaner */
  .footer-col {
    grid-column: span 1 !important;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .app-badges {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  /* Simplify the background on mobile */
  .hero::after, .pass-container::before {
    display: none;
  }

  .pass-container {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 26px; }
  h2 { font-size: 24px; }
  
  .hero {
    padding: 100px 0 30px;
  }
  
  .stat-card h3 {
    font-size: 28px;
  }
  
  .pass-container {
    padding: 30px 15px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .tagline {
    font-size: 13px;
    gap: 5px;
  }
}
