/*
Theme Name: True Turtles
Theme URI: https://trueturtles.in
Author: Mohd Akram
Author URI: https://github.com/iamakram22
Description: Custom accessible WordPress theme for True Turtles Research — SEBI Registered Research Analyst. WCAG 2.1 AA compliant.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: trueturtles
Tags: custom-menu, featured-images, accessibility-ready, custom-logo, threaded-comments
*/

/* ============================================================
   RESET & BASE
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-primary: #00C853;
  --green-dark: #0B6D4C;
  --green-neon: #00FF88;
  --green-mid: #16A34A;
  --green-light: #22C55E;
  --green-pale: #F0FDF4;
  --navy-deep: #000C18;
  --navy-mid: #002C59;
  --white: #FFFFFF;
  --black: #000000;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-100: #F3F4F6;
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-600: #2563EB;
  --blue-800: #1E40AF;
  --border-green: rgba(134, 239, 172, .5);
  --border-green-dark: #15803d;
  --shadow-green: rgba(34, 197, 94, .15);
  --shadow-dark-green: rgba(11, 109, 76, .12);
  --bg-light-green: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-alt: 'Onest', sans-serif;
  --transition: all .3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* Skip link — WCAG 2.4.1 */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 99999;
  padding: 10px 20px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top .2s;
}

.skip-link:focus {
  top: 0;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 3px;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 2rem;
}

@media (max-width: 640px) {
  .container {
    padding-inline: 1rem;
  }
}

/* ============================================================
   ANNOUNCEMENT BAR
============================================================ */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: linear-gradient(to right, var(--navy-deep), var(--navy-mid), var(--navy-deep));
  padding: .4rem 1rem;
  text-align: center;
}

.announcement-bar p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-body);
}

.announcement-bar .highlight {
  color: #FFD700;
  font-weight: 700;
}

/* ============================================================
   NAVIGATION
============================================================ */
.site-header {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  transition: var(--transition);
}

.header-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.site-logo a {
  display: block;
}

/* Main nav pill */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  border: 2px solid var(--green-primary);
  border-radius: 2rem;
  padding: .4rem 1.5rem;
}

.main-nav ul li a,
.main-nav ul li button {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: color .2s;
  font-family: var(--font-body);
  padding: .25rem 0;
  background: none;
  border: none;
  cursor: pointer;
}

.main-nav ul li a:hover,
.main-nav ul li button:hover,
.main-nav ul li a[aria-current="page"] {
  color: var(--green-primary);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: .5rem;
  color: var(--gray-800);
}

.menu-toggle:hover {
  color: var(--green-primary);
}

.menu-toggle svg {
  display: block;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 1rem 2rem 1.5rem;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.mobile-nav ul li a,
.mobile-nav ul li button {
  display: block;
  padding: .75rem 1rem;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: 8px;
  transition: var(--transition);
  font-family: var(--font-body);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: .95rem;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li button:hover {
  background: var(--green-pale);
  color: var(--green-primary);
}

/* Page offset for fixed header + bar */
.page-offset {
  margin-top: 120px;
}

@media (max-width: 768px) {
  .page-offset {
    margin-top: 100px;
  }
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header {
    top: 36px;
  }
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  background: linear-gradient(to right, var(--navy-deep), var(--navy-mid), var(--navy-deep));
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  min-height: 500px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .15;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 2rem;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.25rem;
  background: rgba(0, 200, 83, .2);
  border: 1px solid rgba(0, 255, 136, .35);
  border-radius: 1.5rem;
  color: var(--green-neon);
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 255, 136, .2);
}

.hero-badge svg {
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  text-shadow: 0 0 8px rgba(0, 255, 136, .25);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #C8E6D9;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .5rem 2.25rem;
  background: var(--white);
  color: var(--gray-800);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 136, .4);
  box-shadow: 0 4px 16px rgba(0, 255, 136, .2), 0 0 20px rgba(0, 200, 83, .12);
  transition: var(--transition);
  font-family: var(--font-body);
  text-decoration: none;
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(0, 255, 136, .3);
}

/* Hero features row */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1rem 1.5rem;
  min-width: 160px;
}

@media (min-width: 640px) {
  .hero-feature {
    flex-direction: row;
  }
}

.hero-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--green-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-icon img,
.hero-feature-icon svg {
  width: 22px;
  height: 22px;
}

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

@media (min-width: 640px) {
  .hero-feature-text {
    text-align: left;
  }
}

.hero-feature-title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--white);
  display: block;
}

.hero-feature-sub {
  font-size: .75rem;
  color: #B8E6D0;
  display: block;
}

/* ============================================================
   PARTNERS
============================================================ */
.partners {
  background: var(--white);
  padding: 1.5rem 0;
}

.partners-label {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1.25rem;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.partner-logo-wrap {
  width: 64px;
  height: 64px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.partner-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .5rem;
}

.partner-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--black);
}

/* ============================================================
   SECTION COMMONS
============================================================ */
.section-padding {
  padding: 4rem 0 5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: .75rem;
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

/* ============================================================
   PRODUCT CARDS (Smallcases & Mutual Funds)
============================================================ */
.products-section {
  background: var(--white);
}

.products-grid-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1024px;
  margin-inline: auto;
}

.products-grid-center {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.products-grid-center .product-card {
  max-width: 500px;
  width: 100%;
}

.product-card {
  background: rgba(240, 253, 244, .9);
  border: 1px solid var(--border-green);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  max-width: calc((1024px - 2rem) / 2);
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-green);
  transition: transform .3s, box-shadow .3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, .25);
}

.product-card-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  object-position: left;
  margin-bottom: .75rem;
}

.product-card-divider {
  width: 75%;
  height: 1px;
  margin-inline: auto;
  background: linear-gradient(to right, transparent, #4ADE80, transparent);
  margin-block: 1rem;
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .5rem;
}

.product-card p {
  font-size: .9375rem;
  color: var(--black);
  line-height: 1.7;
  margin-bottom: .75rem;
  flex: 1;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-dark) 100%);
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px;
  transition: var(--transition);
  font-family: var(--font-body);
  text-decoration: none;
  width: 100%;
  margin-top: auto;
  box-shadow: 0 2px 8px rgba(22, 101, 52, .3);
}

.btn-green:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.btn-green svg {
  flex-shrink: 0;
  transition: transform .2s;
}

.btn-green:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .products-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BENEFITS SECTION
============================================================ */
.benefits-section {
  background: linear-gradient(to right, var(--navy-deep), var(--navy-mid), var(--navy-deep));
  padding: 4rem 0 5rem;
}

.benefits-section .section-title {
  color: var(--white);
  margin-bottom: 3rem;
}

/* ── Desktop Wheel Layout ── */
.benefits-wheel {
  position: relative;
  height: 700px;
  margin-inline: auto;
  display: none;
  /* hidden until ≥1024px */
}

@media (min-width: 1024px) {
  .benefits-wheel {
    display: block;
  }

  .benefits-items {
    display: none;
  }
}

/* Center logo circle */
.benefits-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: 0 0 40px rgba(11, 109, 76, .25), 0 15px 40px rgba(11, 109, 76, .18);
}

.benefits-center::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(11, 109, 76, .3);
  pointer-events: none;
}

.benefits-center img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 50%;
}

.benefits-center-placeholder {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 800;
  color: var(--green-dark);
  text-align: center;
  padding: .5rem;
  line-height: 1.3;
}

/* SVG connector lines */
.benefits-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Individual spoke cards */
.spoke-card {
  position: absolute;
  z-index: 3;
  width: 420px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #1E7A4A 0%, #0B6D4C 100%);
  border: 1px solid rgba(11, 109, 76, .15);
  box-shadow: 0 3px 12px rgba(11, 109, 76, .15);
  cursor: default;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.spoke-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 28px rgba(11, 109, 76, .35);
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
}

/* Card positions (top, top-right, bottom-right, bottom, bottom-left, top-left) */
/* top-center */
.spoke-card--0 {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.spoke-card--0:hover {
  transform: translateX(-50%) translateY(-4px) scale(1.03);
}

/* top-right */
.spoke-card--1 {
  top: 200px;
  right: -150px;
}

/* bottom-right */
.spoke-card--2 {
  bottom: 200px;
  right: -150px;
}

/* bottom-center */
.spoke-card--3 {
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.spoke-card--3:hover {
  transform: translateX(-50%) translateY(-4px) scale(1.03);
}

/* bottom-left */
.spoke-card--4 {
  bottom: 200px;
  left: -150px;
}

/* top-left */
.spoke-card--5 {
  top: 200px;
  left: -150px;
}

.spoke-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--white) 0%, var(--green-pale) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-dark);
  box-shadow: 0 2px 6px rgba(11, 109, 76, .15);
  transition: transform .2s;
}

.spoke-card:hover .spoke-card-icon {
  transform: scale(1.1);
}

.spoke-card-icon svg {
  width: 22px;
  height: 22px;
}

.spoke-card-text {
  font-size: .875rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.45;
  flex: 1;
}

/* ── Mobile stacked layout ── */
@media (max-width: 1023px) {
  .benefits-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 720px;
    margin-inline: auto;
  }

  .benefit-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #1E7A4A 0%, #0B6D4C 100%);
    border: 1px solid rgba(11, 109, 76, .15);
    box-shadow: 0 3px 12px rgba(11, 109, 76, .12);
    transition: transform .25s, box-shadow .25s, background .25s;
  }

  .benefit-card:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(11, 109, 76, .3);
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  }

  .benefit-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--white), var(--green-pale));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green-dark);
    box-shadow: 0 3px 10px rgba(11, 109, 76, .15);
    transition: transform .2s;
  }

  .benefit-card:hover .benefit-card-icon {
    transform: scale(1.1);
  }

  .benefit-card-icon svg {
    width: 24px;
    height: 24px;
  }

  .benefit-card p {
    font-size: .9375rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.5;
  }
}

/* ============================================================
   TEAM SECTION
============================================================ */
.team-section {
  background: var(--white);
  padding: 4rem 0 5rem;
}

.team-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  background: #D1FAE5;
  border-radius: 2rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--green-mid);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 72rem;
  height: 38rem;
  margin-inline: auto;
  padding: 2.5rem;
  border: 2px solid #BBF7D0;
  border-radius: 1.5rem;
  background: rgba(240, 253, 244, .9);
}

/* ── Card wrapper — sets 3D perspective ── */
.team-card-wrap {
  width: 24rem;
  perspective: 1200px;
}

/* ── Card — the flipper ── */
.team-card {
  position: relative;
  width: 100%;
  min-height: 28rem;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.4, 0, .2, 1);
}

.team-card.flipped {
  transform: rotateY(180deg);
}

/* ── Shared face styles ── */
.team-card-front,
.team-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 520px;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--white);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .1), 0 8px 24px rgba(0, 0, 0, .08);
  border: 1px solid rgba(16, 185, 129, .12);
}

.team-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 4.5rem 1.5rem 1.5rem;
}

/* ── Gradient top bar ── */
.team-card-front::before,
.team-card-back::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #2563EB 0%, #10B981 100%);
  z-index: 2;
}

/* ── Toggle button ── */
.team-bio-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22C55E 0%, #10B981 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 10;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 3px 12px rgba(16, 185, 129, .4);
}

.team-bio-toggle:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 18px rgba(16, 185, 129, .5);
}

/* Close button on back face — gradient teal/blue */
.team-bio-toggle--close {
  background: linear-gradient(135deg, #2563EB 0%, #10B981 100%);
  box-shadow: 0 3px 12px rgba(37, 99, 235, .4);
}

.team-bio-toggle svg {
  width: 18px;
  height: 18px;
}

/* ── Front: photo ── */
.team-card-img-wrap {
  height: 400px;
  overflow: hidden;
  position: relative;
  background: rgba(16, 185, 129, .06);
  margin-top: 0;
}

.team-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card-img-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(255, 255, 255, .95), transparent);
  pointer-events: none;
}

/* ── Front: info ── */
.team-card-info {
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--white);
}

.team-card-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .25rem;
}

.team-card-info p {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600);
}

/* ── Back: credential bullets ── */
.team-bio-point {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .875rem 1rem;
  border-radius: 10px;
  background: var(--bg-light-green);
  border: 1px solid rgba(16, 185, 129, .15);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
  margin-bottom: .75rem;
}

.team-bio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-mid);
  flex-shrink: 0;
  margin-top: .35rem;
}

.team-bio-point p {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.45;
}

.team-bio-desc {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-top: .25rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .team-card-wrap {
    width: 100%;
    max-width: 380px;
  }

  .team-card,
  .team-card-front,
  .team-card-back {
    min-height: 480px;
  }
}

/* ============================================================
   MEDIA GALLERY
============================================================ */
.media-section {
  background: #F1F8FF;
  padding: 4rem 0 5rem;
}

.media-grid-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 1024px;
  margin-inline: auto;
}

.media-grid-bottom {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  max-width: 1024px;
  margin-inline: auto;
}

.media-grid-bottom .media-item {
  max-width: 400px;
  width: 100%;
}

.media-item {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--white);
  border: 2px solid #D1FAE5;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
  position: relative;
  cursor: pointer;
}

.media-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #10B981, #059669, #10B981);
  z-index: 2;
}

.media-item-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.media-item:hover .media-item-img {
  transform: scale(1.06);
}

.media-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}

.media-item:hover .media-item-overlay {
  background: rgba(0, 0, 0, .3);
}

.media-zoom-btn {
  opacity: 0;
  background: var(--white);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .3s;
  color: #10B981;
  box-shadow: 0 4px 6px rgba(16, 185, 129, .3);
  border: none;
  cursor: pointer;
}

.media-item:hover .media-zoom-btn {
  opacity: 1;
}

/* Lightbox */
.media-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, .9);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.media-lightbox.open {
  display: flex;
}

.media-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.media-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, .2);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}

.media-lightbox-close:hover {
  background: rgba(255, 255, 255, .35);
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  margin: 0;
}

.lightbox-caption {
  color: rgba(255, 255, 255, .8);
  font-size: .875rem;
  font-weight: 500;
  text-align: center;
  min-height: 1.2em;
}

@media (max-width: 768px) {
  .media-grid-top {
    grid-template-columns: 1fr;
  }

  .media-grid-bottom {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   BLOG SECTION
============================================================ */
.blog-section {
  background: linear-gradient(to bottom, var(--white), #EFF6FF);
  padding: 4rem 0 5rem;
}

.blog-section .section-title {
  color: #1E40AF;
}

.blog-section .section-subtitle {
  color: var(--gray-600);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1), 0 2px 4px rgba(0, 0, 0, .06);
  border: 1px solid var(--blue-100);
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s, border-color .3s;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
  border-color: #93C5FD;
}

.blog-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.08);
}

.blog-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, .25), transparent);
  opacity: .7;
  transition: opacity .3s;
}

.blog-card:hover .blog-card-img-overlay {
  opacity: .5;
}

.blog-tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: linear-gradient(to right, var(--blue-600), var(--blue-800));
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.blog-card-body {
  padding: 1rem 1.25rem 1.25rem;
  background: linear-gradient(135deg, var(--white) 0%, rgba(239, 246, 255, .3) 100%);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-title {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.45;
  margin-bottom: .5rem;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}

.blog-card:hover .blog-card-title {
  color: var(--blue-600);
}

.blog-card-excerpt {
  font-size: .825rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: .75rem;
  flex: 1;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  border-top: 1px solid var(--blue-100);
  padding-top: .75rem;
  font-size: .75rem;
  color: var(--gray-500);
}

.blog-card-author {
  font-weight: 500;
  color: var(--gray-700, #374151);
  margin-bottom: .25rem;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-card-date,
.blog-card-read {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.blog-card-date svg,
.blog-card-read svg {
  color: var(--blue-600);
  flex-shrink: 0;
}

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

.btn-see-all {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--blue-600);
  color: var(--white);
  font-weight: 600;
  padding: .875rem 2.25rem;
  border-radius: 2rem;
  font-size: .95rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .3);
  transition: var(--transition);
  text-decoration: none;
}

.btn-see-all:hover {
  background: var(--blue-800);
  box-shadow: 0 6px 20px rgba(37, 99, 235, .4);
}

.btn-see-all svg {
  transition: transform .2s;
}

.btn-see-all:hover svg {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FAQ SECTION
============================================================ */
.faq-section {
  background: var(--white);
  padding: 4rem 0 5rem;
}

.faq-section .section-title {
  color: var(--green-dark);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
  margin-inline: auto;
}

.faq-item {
  border-radius: 12px;
  background: var(--white);
  border: 1px solid #D1FAE5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
  border-color: #6EE7B7;
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: .75rem;
  font-family: var(--font-body);
  transition: all .3s ease;
}

.faq-btn h3 {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.45;
  flex: 1;
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: #D1FAE5;
  color: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s, background .2s;
}

.faq-btn[aria-expanded="true"] {
  border-top: 4px solid var(--border-green-dark);
  transition: all .3s ease;

  .faq-icon {
    transform: rotate(180deg);
    background: var(--green-mid);
    color: var(--white);
  }
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease, padding .2s;
}

.faq-answer.open {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: .9rem;
  color: var(--gray-600);
  background: linear-gradient(to right, rgba(240, 253, 244, .5), transparent);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--black);
  padding: 3rem 0 2rem;
  font-family: var(--font-body);
}

.footer-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.footer-brand img {
  width: 100px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(rgba(0, 255, 120, 0.4) 0px 0px 8px) drop-shadow(rgba(0, 200, 83, 0.3) 0px 0px 16px);
  background: white;
  padding-inline: 10px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
}

/* Footer nav */
.footer-nav {
  max-width: 900px;
  margin-inline: auto;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .25rem .5rem;
  list-style: none;
}

.footer-nav ul li {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.footer-nav ul li a,
.footer-nav ul li button {
  font-size: .8rem;
  color: var(--white);
  text-decoration: none;
  padding: .4rem .6rem;
  border-radius: 4px;
  transition: color .2s;
  background: none;
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
}

.footer-nav ul li a:hover,
.footer-nav ul li button:hover {
  color: var(--gray-400);
}

.footer-nav li + li::before {
  content: "|";
  padding-inline: 0.5rem;
  color: var(--gray-500);
}

.footer-sep {
  color: var(--gray-500);
  font-size: .8rem;
}

.footer-divider {
  width: 100%;
  max-width: 640px;
  height: 1px;
  background: #4B5563;
  margin: 1.5rem auto;
}

/* Social icons */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  transition: transform .2s, opacity .2s;
  text-decoration: none;
}

.social-link:hover {
  transform: scale(1.12);
  opacity: .9;
}

.social-link-li {
  background: #0077B5;
}

.social-link-tw {
  background: var(--black);
  border: 1px solid #333;
}

.social-link-ig {
  background: #E4405F;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Footer bottom */
.footer-contact {
  text-align: center;
  font-size: .85rem;
  color: var(--white);
  margin-bottom: .75rem;
}

.footer-contact a {
  color: #4ADE80;
  text-decoration: underline;
}

.footer-contact a:hover {
  color: #86EFAC;
}

.footer-disclaimer {
  font-size: .75rem;
  color: #D1D5DB;
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-inline: 1rem;
}

.footer-copy {
  text-align: center;
  font-size: .8rem;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.footer-copy .sep {
  color: var(--gray-500);
}

.footer-heart {
  color: #EF4444;
}

/* ============================================================
   SINGLE POST / ARCHIVE
============================================================ */
.content-area {
  max-width: 1240px;
  margin-inline: auto;
  padding: 3rem 1.5rem 5rem;
}

.post-header {
  margin-bottom: 2rem;
}

.post-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.post-meta {
  font-size: .875rem;
  color: var(--gray-500);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.post-featured-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.post-featured-img img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 1.75rem 0 .75rem;
}

.post-content h2 {
  font-size: 1.5rem;
}

.post-content h3 {
  font-size: 1.2rem;
}

.post-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.post-content ul,
.post-content ol {
  margin: 1rem 0 1rem 1.5rem;
}

.post-content ul {
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

.post-content li {
  margin-bottom: .4rem;
}

.post-content img {
  border-radius: 8px;
  margin: 1.5rem 0;
}

.post-content a {
  color: var(--blue-600);
  text-decoration: underline;
}

.post-content blockquote {
  border-left: 4px solid var(--green-primary);
  padding: 1rem 1.5rem;
  background: var(--green-pale);
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

/* Archive grid */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }
}

/* Pagination */
.pagination {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  padding: .5rem .875rem;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 500;
  border: 1px solid var(--gray-100);
  background: var(--white);
  color: var(--gray-800);
  transition: var(--transition);
  text-decoration: none;
}

.pagination a:hover {
  background: var(--green-pale);
  border-color: var(--green-primary);
  color: var(--green-dark);
}

.pagination .current {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}

/* ============================================================
   UTILITY
============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.mt-1 {
  margin-top: .25rem;
}

.mt-2 {
  margin-top: .5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}