/* ============================
   GLOBAL VARIABLES & THEME
============================= */
:root {
  --bg-color: #f8f9fa;
  --text-color: #222;
  --accent-color: #00b5ad;
  --card-bg: #ffffff;
  --footer-bg: #1f1f1f;
  --header-overlay: rgba(0,0,0,0.55);
  --header-bg-img: url('images/2.jpeg.jpg');
  --hover-color: rgba(0,0,0,0.1);
  --radius: 22px;
  --primary-font: 'Poppins', sans-serif;
  --secondary-font: 'Bebas Neue', cursive;
}

body.dark-mode {
  --bg-color: #161616;
  --text-color: #eaeaea;
  --accent-color: #00d1b2;
  --card-bg: #242424;
  --footer-bg: #0d0d0d;
  --header-overlay: rgba(0,0,0,0.65);
}

/* ============================
   RESET & BODY
============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--primary-font);
  transition: background-color 0.3s, color 0.3s;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* ============================
   HEADER
============================= */
.header {
  background:
    linear-gradient(to right, var(--header-overlay), var(--header-overlay)),
    var(--header-bg-img) center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px 70px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.header .logo img {
  width: 150px;
  filter: drop-shadow(0px 5px 10px rgba(0,0,0,0.4));
}

/* ============================
   NAVIGATION
============================= */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  padding: 20px 0;
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
  background-color: var(--accent-color);
  color: white;
}

/* MOBILE NAVIGATION */
.mobile-menu-icon {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 20px;
    background-color: rgba(0,0,0,0.94);
    position: absolute;
    width: 250px;
    height: 100vh;
    top: 0;
    right: -280px;
    padding-top: 120px;
    transition: 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-icon {
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
  }
}

/* ============================
   HERO / TEXT BOX
============================= */
.text-box h1 {
  font-size: 3.5rem;
  font-family: var(--secondary-font);
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.text-box p {
  font-size: 1.25rem;
  max-width: 650px;
  margin: 0 auto 30px;
  line-height: 1.6;
  text-align: center;
}

/* ============================
   BUTTONS
============================= */
.hero-btn, .quiz-btn, .btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s, filter 0.3s;
}

.hero-btn:hover, .quiz-btn:hover, .btn:hover {
  transform: translateY(-2px);
  filter: brightness(90%);
}

/* ============================
   CARD ROWS
============================= */
.row, .card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.learn-col, .coping-col, .quiz-col, .card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  width: 30%;
  min-width: 260px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.learn-col:hover, .coping-col:hover, .quiz-col:hover, .card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  transform: translateY(-5px);
}

.learn-col h3, .coping-col h3, .quiz-col h3, .card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.learn-col p, .coping-col p, .quiz-col p, .card p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* RESPONSIVE CARD GRID */
@media (max-width: 992px) {
  .learn-col, .coping-col, .quiz-col, .card {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .learn-col, .coping-col, .quiz-col, .card {
    width: 90%;
  }
}

/* ============================
   CENTERED CALL-TO-ACTION
============================= */
.cta-center {
  text-align: center;
  margin: 50px 0;
}

/* ============================
   FOOTER
============================= */
footer {
  background-color: var(--footer-bg);
  color: #fff;
  padding: 50px 20px;
  text-align: center;
  border-radius: var(--radius) 0 0 var(--radius);
}

footer p {
  font-size: 1rem;
  margin-bottom: 10px;
}

footer a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ============================
   CONTAINERS & SECTIONS
============================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section h1, section h2 {
  text-align: center;
  margin-bottom: 25px;
  font-family: var(--secondary-font);
}

section p {
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1.1rem;
}

section ul.about-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 20px auto;
}

section ul.about-list li {
  margin-bottom: 12px;
  font-size: 1.1rem;
  position: relative;
  padding-left: 25px;
}

section ul.about-list li::before {
  content: "🌿";
  position: absolute;
  left: 0;
  top: 0;
}

/* ============================
   ANIMATIONS
============================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
 


