/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fc;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    margin: 0;
    color: #004d99;
}

ul {
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #00ccff;
}
/* Header (Desktop) */
.header {
  /* A vibrant gradient background to look more brilliant */
  background: linear-gradient(45deg, #005fbd, #003d7a);
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

/* Branding: logo + tagline */
.branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  max-height: 50px;
}

.tagline {
  font-size: 1rem;
  font-style: italic;
  color: #f0f0f0;
}

/* Navbar container */
.navbar {
  display: flex;
  align-items: center;
  position: relative; /* so we can position the toggle absolutely if needed */
}

/* Nav Links: default horizontal layout for desktop */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #00ccff;
}

/* Menu Toggle (Hamburger) - hidden on desktops by default */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background: white;
  transition: background 0.3s ease;
}

/* --- Responsive styles for tablets & mobile --- */
@media (max-width: 768px) {
  /* Show the hamburger button, hide the nav links by default */
  .menu-toggle {
    display: inline-block;
    margin-left: 1rem;
  }

  /* Hide the desktop nav links; we'll show them in a vertical list when toggled */
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: #00294f; /* a darker shade or same gradient start color */
    flex-direction: column;
    width: 200px;
    gap: 1rem;
    padding: 1rem;
    margin: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transform: translateY(-200%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Branding can reduce gap to save space if you like */
  .branding {
    gap: 0.5rem;
  }
}

/* When we add a .nav-open class to the .nav-links, show them. 
   We'll do this via JavaScript toggling. */
.nav-links.nav-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 4rem 2rem;
    background: linear-gradient(to right, #004d99, #0073e6);
    color: white;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.brand-highlight {
    color: #00ccff;
    font-weight: bold;
}

.hero p {
    margin: 1rem 0;
    font-size: 1.2rem;
}

.hero-features {
    margin: 1.5rem 0;
}

.hero-features li {
    margin-bottom: 0.5rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.cta-btn {
    background-color: #00ccff;
    color: white;
    font-size: 1rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #00a3cc;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.features p {
    margin-bottom: 2rem;
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 1.5rem;
    background: #f8f9fc;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #004d99;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
}

/* About Section */
.about {
    padding: 4rem 2rem;
    background-color: #e6f7ff;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.about-card {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    margin: 1rem 0;
}

.about-card h3 {
    color: #004d99;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 2rem;
    background: #f2fcff;
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #004d99;
}

.testimonials p {
    color: #666;
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    position: relative;
    text-align: left;
}

.testimonial-card blockquote {
    font-style: italic;
    color: #333;
    margin: 0 0 1rem 0;
}

.testimonial-card .author {
    font-weight: bold;
    color: #004d99;
}

/* Pricing Section */
.pricing {
    padding: 4rem 2rem;
    background: #ffffff;
    text-align: center;
}

.pricing h2 {
    font-size: 2rem;
    color: #004d99;
    margin-bottom: 1rem;
}

.pricing p {
    color: #666;
    margin-bottom: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: #f8f9fc;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: scale(1.02);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #004d99;
}

.pricing-card .price {
    font-size: 1.8rem;
    margin: 1rem 0;
    color: #333;
}

.pricing-card ul {
    margin: 1rem 0;
    color: #666;
    text-align: left;
    list-style: none;
    padding-left: 0;
}

.pricing-card ul li {
    margin-bottom: 0.5rem;
}

.pricing-card .price-btn {
    background-color: #004d99;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    border: none;
    cursor: not-allowed; /* as requested, “Coming Soon” */
    opacity: 0.7;
    transition: background-color 0.3s ease;
}

/* Featured Price Plan */
.pricing-card.featured {
    border: 2px solid #00ccff;
}

/* FAQ Section */
.faq {
    padding: 4rem 2rem;
    background: #e6f7ff;
    text-align: center;
}

.faq h2 {
    font-size: 2rem;
    color: #004d99;
    margin-bottom: 1.5rem;
}

.faq-item {
    max-width: 800px;
    margin: 1.5rem auto;
    text-align: left;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #004d99;
}

/* Register Section */
.register {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
}

.register h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.register-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.register-btn {
    background-color: #004d99;
    color: white;
    font-size: 1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.register-btn:hover {
    background-color: #00ccff;
    transform: scale(1.05);
}

/* Modals */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dim background */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

/* Form Inputs */
.modal-content input {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.modal-content h3 {
    color: #004d99;
    margin-bottom: 1rem;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: #e60000;
}

/* Footer */
.footer {
    background-color: #004d99;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.footer-column h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-bottom {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.footer-bottom a {
    color: #00ccff;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        flex-direction: column;
    }

    .footer-columns {
        flex-direction: column;
    }
    
    .pricing-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}


/* === CBT Section Styling (More Colorful) === */
#cbt {
  background: linear-gradient(180deg, #f0f9ff 0%, #e1f3ff 100%);
  /* A subtle light-blue gradient for the background */
  padding: 50px 20px;
  text-align: center;
}

#cbt h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #007bff; /* Scholaria brand color */
}

#cbt p {
  max-width: 700px;
  margin: 0 auto 40px auto;
  font-size: 1em;
  line-height: 1.6;
  color: #555;
}

/* Grid container for CBT features */
.cbt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual CBT feature card */
.cbt-feature-card {
  background-color: #ffffff;
  border: 2px solid #cce5ff;
  border-radius: 8px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cbt-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.cbt-feature-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2em;
  color: #007bff; /* Scholaria accent color for headings */
}

.cbt-feature-card p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.95em;
  color: #333;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .cbt-feature-card {
    padding: 20px;
  }
  .cbt-grid {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .cbt-feature-card h3 {
    font-size: 1.1em;
  }
  .cbt-feature-card p {
    font-size: 0.9em;
  }
}


/* Contact Section Styling */
.contact {
  background: #f9f9f9; /* light gray background for contrast */
  padding: 60px 0;
}

/* Container for the contact content */
.contact .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* side padding for small screens */
  text-align: center;
}

/* Contact section heading */
.contact h2 {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 20px;
}

/* Small descriptive text */
.contact p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Make email link stand out slightly */
.contact a[href^="mailto"] {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}
.contact a[href^="mailto"]:hover {
  text-decoration: underline;
}

/* WhatsApp button styles */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background: #25d366; /* WhatsApp green */
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 6px;
  margin-top: 20px;
  transition: background 0.3s ease;
  font-weight: 600;
}

/* Icon on the button */
.whatsapp-btn .whatsapp-icon {
  height: 20px;
  margin-right: 8px;
}

/* Hover effect on the button */
.whatsapp-btn:hover {
  background: #1ebb5a;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact h2 {
    font-size: 1.75rem;
  }
  .contact p {
    font-size: 0.95rem;
  }
  .whatsapp-btn {
    padding: 10px 16px;
  }
}
