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

:root {
  --primary-color: #4891ff;
  --light-color: #f4f4f6;
  --dark-color: #111;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #333;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* Navbar */
.navbar {
  background: #fff;
  padding: 20px;
}

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

.navbar .main-menu ul {
  display: flex;
}

.navbar ul li a {
  padding: 10px 20px;
  display: block;
  font-weight: 600;
  transition: 0.5s;
}

.navbar ul li a:hover {
  color: var(--primary-color);
}

.navbar ul li a i {
  margin-right: 10px;
}

.navbar ul li:last-child a {
  margin-left: 10px;
}

/* Hero */
.hero {
  margin-bottom: 50px;
}

.hero .container {
  background: url('../images/Images.jpg') no-repeat;
  background-size: contain;
  background-position: center bottom;
  height: 550px;
}

.hero .hero-content {
  width: 70%;
}

.hero .hero-text {
  width: 70%;
  margin-bottom: 20px;
}

/* Interesting Statistics */

.interesting-statistics {
  background: var(--light-color);
  padding: 20px 0;
}

.interesting-statistics .question {
  margin: 20px 0 30px;
}

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

.answer-btn {
  font-size: 1rem;
  padding: 10px 30px;
  transition: 0.3s ease;
}

.answer-btn.correct {
  background-color: #4caf50; /* Green */
  color: white;
}

.answer-btn.incorrect {
  background-color: #f44336; /* Red */
  color: white;
}

.answer-explanation {
  max-width: 700px;
  margin: 0 auto;
}

.toggle-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

#toggle-question-btn {
  padding: 1px 20px; /* reduce top-bottom and left-right padding */
  margin: 0 auto 20px;
  max-width: 600px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.toggle-card:hover {
  background-color: #f9f9f9;
}

.hidden {
  display: none;
}

/* Services */

.services {
  background: #fff;
  padding: 20px 0;
}

.services-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.services .card {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.services .card h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
}


/* Video */
.video {
  padding: 10px 0 40px;
}

.video .video-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video .video-preview {
  margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
  padding: 40px 0;
}

.testimonials .testimonials-heading {
  width: 700px;
  margin-bottom: 40px;
}

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

.testimonials .card p:nth-child(2) {
  margin-top: 30px;
  font-weight: bold;
}

/* Pricing */
.pricing .pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.pricing .pricing-card-subheading {
  margin-bottom: 30px;
}

.pricing .pricing-card-price {
  margin-bottom: 30px;
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}

.pricing ul {
  margin: 30px 0;
}

.pricing ul li {
  margin-bottom: 20px;
}

.pricing ul li i {
  margin-right: 10px;
}

.pricing .pricing-footer {
  margin: 30px 0;
}

/* FAQ */
.faq {
  padding: 40px 0;
}

.faq .faq-group {
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.faq .faq-group .faq-group-header {
  padding: 20px 0;
  margin-bottom: 15px;
  position: relative;
}

.faq .faq-group .faq-group-header h4 {
  font-weight: 600;
  width: 95%;
}

.faq .faq-group .faq-group-header i {
  position: absolute;
  right: 0;
  top: 35px;
  font-size: 1.3rem;
  cursor: pointer;
}

.faq .faq-group .faq-group-body {
  display: none;
}

.faq .faq-group .faq-group-body.open {
  display: block;
}

.faq ul.faq-menu {
  max-width: 400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ddd;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.faq ul.faq-menu li {
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
}

.faq ul.faq-menu li.active {
  background: var(--primary-color);
  color: #fff;
}

/* Footer */
/* .footer {
  padding: 40px 0;
}

.footer h4 {
  margin-bottom: 10px;
}

.footer ul li {
  line-height: 2.5;
}

.footer a {
  color: #ccc;
}

.footer i {
  font-size: 1.5rem;
  margin-right: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.footer .card {
  margin: 20px 30px 30px 0;
}

.footer input[type='email'] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 20px 0;
} */

/* Minimal footer layout */
.footer .container { padding-top: 24px; padding-bottom: 24px; }

.footer-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-logo img {
  height: 28px; /* adjust to your logo */
  width: auto;
  opacity: 0.95;
}

.footer-tagline {
  color: #bbb;
  margin: 4px 0 0;
  max-width: 560px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 16px 0;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  color: #aaa;
}

/* Email pill */
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.contact-pill:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(72,145,255,0.25);
  transform: translateY(-1px);
}

.contact-pill svg {
  display: block;
}


/* Utility Classes */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Card */ 
.card { 
  background: #fff; 
  color: #000; 
  border-radius: 10px; 
  padding: 20px; }


/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 20px;
  background: var(--light-color);
  color: #333;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: 0.5s;
}

.btn:hover {
  opacity: 0.8;
}

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

.btn-dark {
  background: var(--dark-color);
  color: #fff;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Text Classes */
.text-xxl {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 600;
  margin: 40px 0 20px;
}

.text-xl {
  font-size: 2.2rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 10px 0 20px;
}

.text-lg {
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 30px 0 20px;
}

.text-md {
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 20px 0 10px;
}

.text-sm {
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 10px 0 5px;
}

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

.bulleted-list {
  list-style-type: disc;
  padding-left: 1.5rem; /* Add indentation for bullets */
  margin-top: 10px;
}


.blog-citation {
  font-style: italic;
  font-size: 0.85rem;
  color: #555;
}

/* Background */
.bg-primary {
  background: var(--primary-color);
  color: #fff;
}

.bg-light {
  background: var(--light-color);
  color: #333;
}

.bg-dark {
  background: var(--dark-color);
  color: #fff;
}

.bg-black {
  background: #000;
  color: #fff;
}

.bg-lila {
  background: #f7f2fc;
  color: #333;
}

.bg-white {
  background: #fff;
  color: #333;
}
/* Hamburger Button */
.hamburger-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.hamburger-button .hamburger-line {
  width: 30px;
  height: 3px;
  background: #333;
  margin: 6px 0;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100%;
  z-index: 100;
  background: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  margin-top: 100px;
  padding-right: 10px;
}

.mobile-menu ul li {
  margin: 10px 0;
}

.mobile-menu ul li a {
  font-size: 20px;
  transition: 0.3s;
}

/* Media Queries */
@media (max-width: 960px) {
  .text-xxl {
    font-size: 2.5rem;
  }
}

@media (max-width: 670px) {
  .navbar .main-menu {
    display: none;
  }

  .navbar .hamburger-button {
    display: block;
  }

  .hero .container {
    background: url('../images/hero-bg-mobile.png') no-repeat;
    background-size: 350px 400px;
    background-position: bottom;
    height: 770px;
  }

  .hero .hero-content,
  .hero .hero-text {
    width: 100%;
    text-align: center;
  }

  .hero .hero-buttons .btn {
    margin-bottom: 10px;
    display: block;
    width: 100%;
  }

  .testimonials .testimonials-heading {
    max-width: 100%;
    text-align: center;
  }

  .testimonials .testimonials-grid,
  .pricing .pricing-grid,
  .footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer .card {
    margin-right: 0;
  }

  .footer .footer-grid > div {
    text-align: center;
  }

  /* Text */
  .text-xl {
    font-size: 1.9rem;
  }

  .text-lg {
    font-size: 1.5rem;
  }

  .text-md {
    font-size: 1.1rem;
  }
}

@media (max-width: 500px) {
  .text-xxl {
    font-size: 2rem;
  }
}

/* Researches */

.search-bar {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  margin: 20px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.research-list {
  list-style: none;
  padding: 0;
}

.research-list li {
  padding: 15px 20px;
  margin-bottom: 10px;
  background: #f4f4f6;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.research-list li:hover {
  background: #e0e0ec;
}

.research-list a {
  color: #111;
  font-weight: 600;
  font-size: 1.1rem;
}


/* Research Article Page */

.research-summary {
  padding: 10px 0;  /* Adds space above the title */
}

.research-header {
  background-color: var(--light-color);
  padding: 60px 15px 30px;
  text-align: center;
}

.research-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.research-header .meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 5px;
}

.research-content {
  max-width: 850px;
  margin: 40px auto;
  padding: 0 15px;
}

.research-content h2 {
  font-size: 1.6rem;
  margin: 40px 0 20px;
  color: var(--dark-color);
  font-weight: 600;
}

.research-content p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333;
}

.research-content .quote {
  font-style: italic;
  padding-left: 20px;
  border-left: 4px solid var(--primary-color);
  margin: 30px 0;
  color: #444;
}

.research-content .resource {
  font-size: 0.95rem;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ccc;
  color: #555;
}

.research-img {
  width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Search Wrapper */
.search-wrapper {
  max-width: 600px;
  margin: 20px auto;
  position: relative;
}

/* Search Bar Input */
.search-bar {
  width: 100%;
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid #ccc; /* Optional: unify with suggestions dropdown */
  font-size: 1rem;
  background: #f1f1f1;
  box-sizing: border-box;
}

/* Remove blue outline on focus */
.search-bar:focus {
  outline: none;
}

/* Suggestions Dropdown */
.suggestions-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

/* Individual Suggestion Item */
.suggestions-list li {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.2s ease; /* Smooth hover effect */
}

/* Hover Effect */
.suggestions-list li:hover {
  background-color: #f4f4f4;
}

/* Active Suggestion */

.suggestion-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.suggestion-input {
  width: 100%;
  max-width: 500px;
  padding: 10px;
  font-size: 1rem;
}

/* Blog */
.blog-header {
  padding: 0px 0;
  background-color: #fff;
  text-align: center;
}

.blog-header h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.blog-header p {
  font-size: 1.125rem;
  color: #333;
}

.blog-header-img {
  margin-top: 20px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.key-terms ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.key-terms li {
  margin-bottom: 0.75rem;
}

.demographic-effects {
  background-color: #f7f2fc; /* light lilac background */
  padding: 2rem 0;
}

.demographic-effects h2 {
  margin-bottom: 1rem;
}

.demographic-effects p {
  margin-bottom: 1rem;
  color: #333;
}

.center-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 800px; /* optional, for nice size control */
}

.large-img {
  max-width: 1200px;
  height: auto;
}

.conclusion-section {
  padding: 2rem 0;
  background-color: #fff;
  border-top: 1px solid #eee;
}

.conclusion-section h2 {
  text-align: center;
  color: #2d2d2d;
  margin-bottom: 1rem;
  font-weight: 600;
}

.conclusion-section p {
  color: #444;
  margin-bottom: 1rem;
  text-align: justify;
}



/* Order Research Form */
.order-research {
  padding: 50px 0;
  background: var(--light-color);
}

.research-form {
  max-width: 600px;
  margin: 30px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.research-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111;
}

.research-form input,
.research-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.research-form input:focus,
.research-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.research-form button {
  padding: 14px;
  font-size: 1.1rem;
}

.form-status {
  margin-top: 10px;
  font-size: 0.95rem;
  min-height: 1.2em; /* keeps layout steady when empty */
}

.form-status.success {
  color: #2e7d32; /* green-ish */
}

.form-status.error {
  color: #c62828; /* red-ish */
}

.form-status {
  margin-top: 10px;
  font-size: 0.95rem;
  min-height: 1.2em;
}
.form-status.success { color: #2e7d32; }
.form-status.error { color: #c62828; }