/* Palette: smoke-rose */
:root {
  --primary-color: #3A3F4A;
  --secondary-color: #525C6B;
  --accent-color: #531526;
  --background-color: #F7F8FA;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(255, 255, 255, 0.15);
  
  --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: 'DM Serif Display', serif;
  --alt-font: 'Poppins', sans-serif;
}
.bg-gray-100,
.bg-white,
.bg-yellow-100,
.bg-blue-100,
.bg-red-100,
.bg-green-100,
.bg-gray-100 p,
.bg-white p,
.bg-yellow-100 p,
.bg-blue-100 p,
.bg-red-100 p,
.bg-green-100 p {
  color: #111A13;
}
/* Base Styles (Mobile-First V5 Vibe) */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: var(--secondary-color);
  color: rgba(240, 240, 240, 0.85);
  font-family: var(--alt-font);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(32px, 6vw, 64px); }
h2 { font-size: clamp(24px, 4vw, 42px); }
h3 { font-size: clamp(18px, 2.8vw, 28px); }

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Glass-Dark Section Spec */
section {
  background: transparent;
  padding: 56px 16px;
  margin: 0;
  position: relative;
}

@media (min-width: 1024px) {
  section {
    padding: 64px 24px;
  }
}

section + section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.container-custom {
  max-width: 1200px;
  margin: 0 auto;
}

/* GLASS-DARK CARD STYLING */
.card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 500;
  min-height: 44px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-primary:hover {
  background: #a32448;
  border-color: #a32448;
}

/* HEADER & MOBILE NAV (CSS ONLY) */
header {
  position: relative;
  background: rgba(58, 63, 74, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  width: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn .bar {
  height: 3px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--primary-color);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  z-index: 999;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}

.site-nav a {
  display: block;
  padding: 12px 24px;
  color: #ffffff;
  font-weight: 500;
}

.site-nav a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--accent-color);
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    border: none;
  }
  .site-nav ul {
    flex-direction: row;
    padding: 0;
    gap: 16px;
  }
  .site-nav a {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
  }
}

/* HERO: scroll-peek */
.hero-scroll-peek {
  min-height: calc(81vh - 80px);
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  overflow: visible;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.65);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* ANIMATION: REVEAL AT SCROLL */
@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. TESTIMONIAL WALL */
.testimonial-wall {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .testimonial-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonial-wall {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stars {
  color: #f59e0b;
}

/* 3. STATS COUNTER (@property) */
@property --count {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-num {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--accent-color);
  animation: count-up 2s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
}

.stat-num::after {
  content: counter(n);
}

@keyframes count-up {
  from { --count: 0; }
  to { --count: var(--target); }
}

/* 4. EXPERT QUOTE */
.expert-quote-section {
  background: rgba(0, 0, 0, 0.2);
  min-height: 320px;
  display: flex;
  align-items: center;
}

.quote-mark {
  font-size: 6rem;
  line-height: 0.5;
  color: var(--accent-color);
  opacity: 0.3;
  margin-bottom: 12px;
  font-family: var(--main-font);
}

.expert-quote {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic;
  max-width: 820px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.95);
}

/* 5. TOPIC OVERVIEW CARDS */
.topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.topic-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.topic-card-image {
  padding: 0;
  overflow: hidden;
}

.topic-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.topic-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 16px;
}

.topic-list {
  list-style: none;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.topic-list li {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.text-accent {
  color: var(--accent-color);
}

/* 6. ABOUT / VALUES */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  min-height: 320px;
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 7. CONTACT + FAQ */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .contact-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-top: 4px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: var(--accent-color);
}

.faq-item {
  text-align: left;
}

/* FOOTER */
footer {
  background: rgba(17, 17, 17, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.6;
}