/*
  -------------------------------
  GLOBAL STYLES
  -------------------------------
*/

/* Reset & Box-Sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Smooth Scroll for Anchor Links */
html {
  scroll-behavior: smooth;
}

/* Body & Fonts */
body {
  font-family: 'Merriweather', serif;
  background-color: #fff; /* White background */
  color: #333;           /* Text color */
  line-height: 1.6;
}

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

/* Links */
a {
  color: #333;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.75;
}

/*
  -------------------------------
  HEADER & NAV (Sticky)
  -------------------------------
*/
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(0, 102, 204, 0.8);
  backdrop-filter: blur(4px);
  padding: 0.5rem 0; 
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.logo {
  height: 80px; 
  width: auto;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav__links li a {
  color: #fff;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}
.nav__links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #66a8ff;
  transition: width 0.3s ease;
}
.nav__links li a:hover::after {
  width: 100%;
}
.nav__links li a:hover {
  color: #66a8ff;
}

/*
  -------------------------------
  HERO SECTION
  -------------------------------
*/
.hero {
  width: 100%;
  min-height: 80vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #0066cc 0%, #0052a2 100%);
  color: #fff; 
}
.hero-content {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.hero-content p {
  font-size: 1rem;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 600px;
  margin: 0.5rem auto;
}
/* Countdown Style */
.subtle-countdown {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}
.subtle-countdown span {
  color: #fff;
  font-weight: 600;
}

/*
  -------------------------------
  BUTTONS
  -------------------------------
*/
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  margin-top: 1.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
  font-weight: 500;
  border-radius: 4px;
}
.btn:hover {
  transform: translateY(-2px) scale(1.02);
}
.btn--primary {
  background-color: #fff;
  color: #0066cc;
}
.btn--primary:hover {
  background-color: #f3f3f3;
}
.btn--secondary {
  background-color: #0066cc;
  color: #fff;
}
.btn--secondary:hover {
  background-color: #0052a2;
}

/*
  -------------------------------
  EXAM SECTIONS
  -------------------------------
*/
.exam-section {
  padding: 4rem 0;
  text-align: center;
  background-color: #fff;
  /* 
    Hidden by default in script.js? 
    Actually, we will hide them in CSS (below).
  */
}
.exam-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: #333;
}
.exam-section ul {
  display: inline-block;
  text-align: left;
  list-style: disc;
  padding-left: 1.5rem;
  margin: 1rem 0;
  max-width: 600px;
}
.exam-section li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/*
  -------------------------------
  PRICING SECTION (Light Grey)
  -------------------------------
*/
.pricing {
  background-color: #f5f5f5;
  padding: 4rem 0;
  text-align: center;
}
.pricing h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #333;
}
.pricing__plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.pricing__plan {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease;
}
.pricing__plan:hover {
  transform: translateY(-5px);
}
.pricing__plan--highlight {
  border: 2px solid #0066cc;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.pricing__plan h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: #333;
}
.pricing__plan ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
  text-align: left;
  line-height: 1.6;
}
.pricing__plan ul li {
  margin: 0.4rem 0;
}
.pricing__price {
  display: inline-block;
  margin-top: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #333;
}

/*
  -------------------------------
  ABOUT US SECTION
  -------------------------------
*/
.about {
  background-color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.about h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #333;
}
.about__profiles {
  display: grid;
  gap: 2rem;
  justify-content: center;
}
.about__profile {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  transition: transform 0.3s ease;
}
.about__profile:hover {
  transform: translateY(-5px);
}
.about__photo {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem auto;
}
.about__profile h3 {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 700;
}
.about__profile ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/*
  -------------------------------
  FAQ SECTION (Light Grey)
  -------------------------------
*/
.faq {
  background-color: #f5f5f5;
  padding: 4rem 0;
  text-align: center;
}
.faq h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #333;
}
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.faq__item {
  margin-bottom: 1.5rem;
}
.faq__question {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
}

/*
  -------------------------------
  FOOTER SECTION
  -------------------------------
*/
.footer {
  background-color: #eaeaea;
  border-top: 1px solid #ddd;
  padding: 2rem 0;
  margin-top: 3rem;
  font-size: 0.95rem;
  text-align: center;
  color: #333;
}
.footer p {
  margin: 0.5rem 0;
  opacity: 0.85;
}

/*
  -------------------------------
  REVEAL ANIMATION
  -------------------------------
*/
.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/*
  -------------------------------
  MEDIA QUERIES
  -------------------------------
*/
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .exam-section ul,
  .exam-section li {
    font-size: 1rem;
  }
  .about__profiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*
  -------------------------------
  HIDE EXAM SECTIONS BY DEFAULT
  -------------------------------
*/
#oc-exam,
#selective-exam {
  display: none; /* Hidden until user clicks sign-up */
}

/*
  -------------------------------
  PAYPAL CONTAINERS (HIDDEN)
  -------------------------------
*/
#paypal-oc,
#paypal-selective {
  display: none; /* hidden by default (PayPal button area) */
  margin-top: 2rem;

  /* Center the PayPal block & text */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}