/* ============================================
   HHPoker - Modern Emerald/Teal Minimalist
   Shared Stylesheet
   ============================================ */

/* ----- CSS Variables ----- */
:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ----- Dot Pattern Background ----- */
.dot-pattern {
  background-image: radial-gradient(circle, rgba(5, 150, 105, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* ----- Navbar ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition-base), background-color var(--transition-base);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--emerald-700);
  letter-spacing: -0.02em;
}

.navbar-logo i {
  font-size: 1.75rem;
  color: var(--emerald-600);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--emerald-500);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--emerald-600);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.99);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: color var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--emerald-600);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  line-height: 1.4;
}

.btn-primary {
  background-color: var(--emerald-600);
  color: var(--white);
  box-shadow: 0 1px 3px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
  background-color: var(--emerald-700);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--emerald-600);
  border: 1.5px solid var(--emerald-600);
}

.btn-outline:hover {
  background-color: var(--emerald-50);
  transform: translateY(-1px);
}

.btn-white {
  background-color: var(--white);
  color: var(--emerald-700);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

/* ----- Section Base ----- */
.section {
  padding: 100px 24px;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-600);
  background-color: var(--emerald-50);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.7;
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ----- Hero Section ----- */
.hero-section {
  padding: 160px 24px 100px;
  background-color: var(--white);
  position: relative;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-text h1 .highlight {
  color: var(--emerald-600);
  position: relative;
}

.hero-text h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 10px;
  background-color: var(--emerald-200);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.5;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  max-width: 100%;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  bottom: -16px;
  left: -16px;
  background-image: radial-gradient(circle, rgba(5, 150, 105, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  border-radius: 24px;
  z-index: -1;
}

/* ----- Features Section ----- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 36px 28px;
  transition: all var(--transition-base);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--emerald-200);
}

.feature-card .icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--emerald-50);
  color: var(--emerald-600);
  font-size: 1.35rem;
  margin-bottom: 20px;
  transition: all var(--transition-base);
}

.feature-card:hover .icon-circle {
  background-color: var(--emerald-600);
  color: var(--white);
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.925rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ----- Stats Section ----- */
.stats-section {
  background-color: var(--emerald-600);
  padding: 72px 24px;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ----- Testimonials Section ----- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card .stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card .quote {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--emerald-200);
}

.testimonial-author .name {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--gray-800);
}

.testimonial-author .role {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ----- FAQ Section ----- */
.faq-list {
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-base);
  background: var(--white);
}

.faq-item.active {
  border-color: var(--emerald-400);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  transition: color var(--transition-fast);
  font-family: var(--font-sans);
}

.faq-question:hover {
  color: var(--emerald-600);
}

.faq-item.active .faq-question {
  color: var(--emerald-700);
}

.faq-icon {
  font-size: 1rem;
  color: var(--gray-400);
  transition: transform var(--transition-base);
  margin-left: 16px;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  color: var(--emerald-600);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.925rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ----- CTA Section ----- */
.cta-section {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.cta-card {
  max-width: 960px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--emerald-600), var(--teal-600));
  border-radius: 20px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.cta-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.cta-card h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-card p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ----- Footer ----- */
.footer {
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--emerald-700);
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--emerald-600);
}

.footer-bottom {
  max-width: 1280px;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  text-align: center;
  font-size: 0.825rem;
  color: var(--gray-400);
}

/* ----- About Page ----- */
.about-page-header {
  padding: 160px 24px 80px;
  text-align: center;
  background-color: var(--emerald-50);
  position: relative;
}

.about-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(5, 150, 105, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.about-page-header h1 {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 12px;
  position: relative;
}

.about-page-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  position: relative;
}

.about-content {
  padding: 80px 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.about-text p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-image img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

/* Mission cards */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.mission-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: all var(--transition-base);
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-200);
}

.mission-card .mission-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--emerald-50);
  color: var(--emerald-600);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.mission-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.mission-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* Team section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 36px 24px;
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 3px solid var(--emerald-200);
}

.team-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.team-card .team-role {
  font-size: 0.85rem;
  color: var(--emerald-600);
  font-weight: 500;
}

/* ----- Contact Page ----- */
.contact-page-header {
  padding: 160px 24px 80px;
  text-align: center;
  background-color: var(--emerald-50);
  position: relative;
}

.contact-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(5, 150, 105, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.contact-page-header h1 {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 12px;
  position: relative;
}

.contact-page-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  position: relative;
}

.contact-content {
  padding: 80px 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail .detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--emerald-50);
  color: var(--emerald-600);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--gray-800);
  background-color: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--emerald-400);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background-color: var(--emerald-600);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-sans);
}

.form-submit:hover {
  background-color: var(--emerald-700);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.form-submit:active {
  transform: scale(0.98);
}

/* Form success/error message */
.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
}

.form-message.success {
  display: block;
  background-color: var(--emerald-50);
  color: var(--emerald-700);
  border: 1px solid var(--emerald-200);
}

.form-message.error {
  display: block;
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* ----- Animations ----- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes countUp {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.animate-fade-in-up.delay-100 { animation-delay: 0.1s; }
.animate-fade-in-up.delay-200 { animation-delay: 0.2s; }
.animate-fade-in-up.delay-300 { animation-delay: 0.3s; }
.animate-fade-in-up.delay-400 { animation-delay: 0.4s; }
.animate-fade-in-up.delay-500 { animation-delay: 0.5s; }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mission-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .section {
    padding: 64px 20px;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .hero-section {
    padding: 120px 20px 64px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .stat-item .stat-number {
    font-size: 2.25rem;
  }

  .cta-card {
    padding: 48px 28px;
  }

  .cta-card h2 {
    font-size: 1.65rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .mission-grid,
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .about-page-header,
  .contact-page-header {
    padding: 120px 20px 56px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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