/* palette: custom rose-navy */
:root {
  --primary-color: #C2185B;
  --secondary-color: #D81B60;
  --accent-color: #0D2B5E;
  --background-color: #FDE8F0;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius-sm: 6px; 
  --radius-md: 12px; 
  --radius-lg: 20px; 
  --radius-xl: 32px;
  --main-font: 'Work Sans', sans-serif;
  --alt-font: 'Poppins', sans-serif;
}

/* Base Styles & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography Scale */
h1 {
  font-family: var(--main-font);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-family: var(--main-font);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
}

h3 {
  font-family: var(--main-font);
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  margin-bottom: 12px;
}

p {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Art-Deco Preset Rules (Copied Literally) */
section{padding:60px 16px;margin:0} @media(min-width:1024px){section{padding:72px 24px}} h2{text-align:center;letter-spacing:0.2em;text-transform:uppercase} h2::before,h2::after{content:"◆";color:var(--accent-color);margin:0 12px;font-size:0.6em} .card{border:1px solid var(--accent-color);border-top:4px solid var(--accent-color);border-radius:0;background:#fff} .divider,.section-divider{width:80px;height:3px;background:var(--accent-color);margin:16px auto} .btn{border:2px solid var(--primary-color);border-radius:0;letter-spacing:0.15em;text-transform:uppercase}

/* Global Button & Hover Styles */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background-color .15s, color .15s;
  min-height: 44px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-filled {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.btn-filled:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow-md);
}

/* Card Hover */
.card {
  transition: transform .25s, box-shadow .25s;
  padding: 24px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Section Dividers */
.section-intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
  color: var(--text-color);
  opacity: 0.85;
}
.container {
	max-width: 1000px;
    margin: 0 auto;
}
/* Header & CSS Burger Menu */
header {
  background-color: #fff;
  border-bottom: 2px solid var(--border-color);
  position: relative;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn .bar {
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
  transition: transform 0.3s, opacity 0.3s;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  border-bottom: 2px solid var(--accent-color);
  padding: 16px;
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav a {
  text-decoration: none;
  color: var(--accent-color);
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--primary-color);
}

/* Burger Animation & Toggle */
#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(8.5px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-8.5px) rotate(-45deg);
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

/* Header Desktop Styles */
@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    background-color: transparent;
    border-bottom: none;
    padding: 0;
    box-shadow: none;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}

/* 1. Hero (noise-mesh) */
#hero {
  min-height: 90vh;
  background: radial-gradient(circle at 20% 30%, rgba(194, 24, 91, 0.35), transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(13, 43, 94, 0.35), transparent 50%),
              radial-gradient(circle at 50% 80%, rgba(216, 27, 96, 0.35), transparent 50%),
              var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 16px;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

#hero h1 span.accent {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  margin: 24px auto 36px;
  max-width: 650px;
  color: var(--text-color);
  opacity: 0.9;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-ctas {
    flex-direction: row;
  }
}

/* Scroll Reveal */
@keyframes reveal-up { 
  from { opacity: 0; transform: translateY(32px); } 
  to { opacity: 1; transform: translateY(0); } 
}

.reveal {
  animation: reveal-up linear both;
  animation-timeline: view(); 
  animation-range: entry 0% entry 30%;
}

/* 2. CSS Tabs */
.tabs-container {
  max-width: 1000px;
  margin: 0 auto;
}

.tab-labels {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tab-label {
  padding: 10px 20px;
  background-color: #fff;
  border: 1px solid var(--accent-color);
  font-family: var(--main-font);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.tab-label:hover {
  background-color: var(--background-color);
}

.tab-contents {
  position: relative;
}

.tab-content {
  display: none;
}

.tab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .tab-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.tab-text h3 {
  color: var(--accent-color);
  margin-bottom: 16px;
}

.tab-list {
  list-style: none;
  margin-top: 16px;
}

.tab-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-weight: 500;
}

.tab-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.tab-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Tab Display Logic */
#tab1:checked ~ .tab-labels label[for="tab1"],
#tab2:checked ~ .tab-labels label[for="tab2"],
#tab3:checked ~ .tab-labels label[for="tab3"] {
  background-color: var(--accent-color);
  color: #fff;
}

#tab1:checked ~ .tab-contents .tab-content-1,
#tab2:checked ~ .tab-contents .tab-content-2,
#tab3:checked ~ .tab-contents .tab-content-3 {
  display: block;
}

/* 3. Dense Icon Grid */
.icon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .icon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.icon-card {
  text-align: center;
  padding: 32px 24px;
}

.icon-emoji {
  font-size: 2.5rem;
  display: inline-block;
  margin-bottom: 16px;
}

.icon-card h3 {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.icon-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  opacity: 0.85;
}

/* 4. Educational Quiz */
.quiz-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .quiz-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.quiz-item {
  padding: 32px 24px;
}

.quiz-item h3 {
  font-size: 1.15rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-label {
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  font-size: 0.95rem;
  background-color: #fcfcfc;
}

.quiz-label:hover {
  background-color: var(--background-color);
  border-color: var(--accent-color);
}

.quiz-answer {
  display: none;
  margin-top: 16px;
  border-left: 4px solid;
  padding: 16px;
}

.quiz-answer p {
  margin-bottom: 0;
  font-weight: 500;
}

.quiz-answer.card {
  border-top: 1px solid var(--accent-color);
}

.quiz-answer .wrong {
  color: #c53030;
}

.quiz-answer .correct {
  color: #2f855a;
}

/* Quiz Radio Logic */
#q1a:checked ~ .answer-q1a,
#q1b:checked ~ .answer-q1b,
#q2a:checked ~ .answer-q2a,
#q2b:checked ~ .answer-q2b {
  display: block;
}

#q1a:checked ~ label[for="q1a"],
#q2a:checked ~ label[for="q2a"] {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}

#q1b:checked ~ label[for="q1b"],
#q2b:checked ~ label[for="q2b"] {
  background-color: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
}

/* 5. How It Works (bg.jpg integration) */
.how-it-works-banner {
  background-image: linear-gradient(rgba(13, 43, 94, 0.92), rgba(13, 43, 94, 0.92)), url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  padding: 64px 24px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  position: relative;
  padding-top: 40px;
}

.step-num {
  font-family: var(--main-font);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  position: absolute;
  top: -20px;
  left: 0;
  opacity: 0.8;
}

.step-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

/* 6. Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonial-card:nth-child(4) {
    grid-column: span 1;
  }
  .testimonial-card:nth-child(5) {
    grid-column: span 1;
  }
}

.testimonial-card {
  padding: 32px 24px;
}

.stars {
  color: #f6ad55;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-color);
  opacity: 0.9;
  margin-bottom: 20px;
}

.author {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--accent-color);
  font-size: 1rem;
  margin-bottom: 2px;
}

.location {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
}

/* 7. Contact + FAQ Section */
.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 64px;
}

@media (min-width: 992px) {
  .contact-faq-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-info {
  padding: 32px;
}

.contact-info h3 {
  color: var(--accent-color);
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.contact-details strong {
  color: var(--accent-color);
  display: block;
  margin-bottom: 4px;
}

.contact-form-container {
  padding: 32px;
}

.contact-form-container h3 {
  color: var(--accent-color);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  font-family: var(--alt-font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 0.85rem;
  line-height: 1.4;
}

/* FAQ List (Open, No Details/Summary, No JS) */
.faq-section {
  max-width: 900px;
  margin: 0 auto;
}

.faq-section h3 {
  text-align: center;
  color: var(--accent-color);
  margin-bottom: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  padding: 24px;
}

.faq-item h4 {
  font-family: var(--main-font);
  font-size: 1.1rem;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.faq-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
  opacity: 0.85;
}

/* Footer */
footer {
  background-color: var(--accent-color);
  color: #fff;
  padding: 48px 16px 24px;
  border-top: 3px solid var(--primary-color);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  margin-bottom: 24px;
}

.footer-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  align-items: center;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--secondary-color);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  .footer-logo {
    margin-bottom: 0;
  }
  .footer-nav {
    flex-direction: row;
    gap: 24px;
    margin-bottom: 0;
  }
  .footer-copy {
    width: 100%;
    margin-top: 32px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
  }
}