/* ==========================================
   EDUVANCE ACADEMY - MAIN STYLESHEET
   Educational Theme: Deep Navy, Vibrant Amber, Soft Sage, Pure White
   ========================================== */

/* Google Fonts - import in base.html head */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Space+Mono:wght@400;700&display=swap');

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
  /* Core Palette */
  --navy:        #0D1B3E;
  --navy-mid:    #1A2F5A;
  --navy-light:  #2A4480;
  --amber:       #F5A623;
  --amber-dark:  #D4891A;
  --amber-light: #FDE9BF;
  --sage:        #4A7C6F;
  --sage-light:  #D6EAE5;
  --coral:       #E86B5F;
  --sky:         #5BA4CF;
  --sky-light:   #D9EEF8;

  /* Neutrals */
  --white:       #FFFFFF;
  --off-white:   #F8F7F4;
  --gray-100:    #F2F1EE;
  --gray-200:    #E4E2DC;
  --gray-300:    #CCC9BF;
  --gray-400:    #A09C92;
  --gray-500:    #78746C;
  --gray-600:    #524F48;
  --gray-700:    #3A3830;
  --gray-800:    #252320;
  --black:       #111010;

  /* Functional */
  --success:     #3D9970;
  --warning:     var(--amber);
  --error:       var(--coral);

  /* Semantic */
  --primary:        var(--navy);
  --primary-mid:    var(--navy-mid);
  --primary-light:  var(--navy-light);
  --accent:         var(--amber);
  --accent-dark:    var(--amber-dark);
  --accent-light:   var(--amber-light);
  --secondary:      var(--sage);
  --secondary-light: var(--sage-light);

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-primary: 'DM Sans', -apple-system, sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Spacing */
  --container-max:   1280px;
  --section-padding: 100px;
  --nav-height:      80px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(13, 27, 62, 0.08);
  --shadow-md:  0 6px 20px rgba(13, 27, 62, 0.12);
  --shadow-lg:  0 12px 40px rgba(13, 27, 62, 0.16);
  --shadow-xl:  0 24px 70px rgba(13, 27, 62, 0.20);
  --shadow-amber: 0 8px 30px rgba(245, 166, 35, 0.35);
}

/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ==========================================
   CONTAINER
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p { color: var(--gray-500); }

.text-gradient {
  background: linear-gradient(135deg, var(--amber) 0%, var(--coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.label-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.2px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.btn:hover::before { transform: scaleX(1); }

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-amber);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-amber);
}

.btn-full { width: 100%; }

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(248, 247, 244, 0.96);
  backdrop-filter: blur(12px);
  z-index: 1000;
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 9vh;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition-fast);
  border-radius: 4px;
  font-family: var(--font-primary);
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
  background: var(--sky-light);
}

.nav-link.nav-cta {
  background: var(--navy);
  color: var(--white);
  margin-left: 8px;
  font-weight: 600;
}

.nav-link.nav-cta:hover,
.nav-link.nav-cta.active {
  background: var(--amber);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition-fast);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link { width: 100%; text-align: center; }
  .nav-link.nav-cta { margin-left: 0; margin-top: 8px; }
}

/* ==========================================
   FLASH MESSAGES
   ========================================== */
.flash-container {
  position: fixed;
  top: calc(var(--nav-height) + 20px);
  right: 20px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.flash-message {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: slideIn 0.3s ease;
  box-shadow: var(--shadow-md);
  border-radius: 6px;
  font-size: 14px;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

.flash-success { background: #D4EDDA; color: #155724; border: 1px solid #C3E6CB; }
.flash-error   { background: #F8D7DA; color: #721C24; border: 1px solid #F5C6CB; }

.flash-close {
  background: none; border: none;
  font-size: 20px; cursor: pointer;
  opacity: 0.6; transition: opacity var(--transition-fast);
}
.flash-close:hover { opacity: 1; }

/* ==========================================
   MARQUEE — KNOWLEDGE TICKER
   ========================================== */
.marquee-strip {
  background: var(--navy);
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
  position: relative;
  z-index: 2;
}

.marquee-inner {
  display: inline-flex;
  animation: ticker 35s linear infinite;
}

.marquee-inner:hover { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber-light);
  white-space: nowrap;
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.marquee-item strong {
  color: var(--amber);
  font-weight: 700;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg,
.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  background: linear-gradient(150deg,
    var(--navy) 0%,
    var(--navy-mid) 45%,
    var(--navy-light) 100%);
}

/* Decorative geometric shapes */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 20%, rgba(245, 166, 35, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(91, 164, 207, 0.10) 0%, transparent 50%);
}

/* Grid overlay for academic feel */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-bg.image-mode,
.carousel-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg.carousel-mode {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: -2;
}

.carousel-slide.active { opacity: 1; z-index: -1; }

.hero-bg.image-mode::after,
.hero-bg.carousel-mode::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(13, 27, 62, 0.85) 0%,
    rgba(13, 27, 62, 0.5) 60%,
    rgba(13, 27, 62, 0.2) 100%);
  z-index: 1;
}

.hero-content { width: 100%; }

.hero-content .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-text { max-width: 620px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.4);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-style: italic;
}

.hero-text h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero-text p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.70);
  margin-bottom: 44px;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual — decorative card stack */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shape {
  position: absolute;
  border-radius: 12px;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-1 {
  width: 280px; height: 280px;
  background: linear-gradient(135deg, rgba(245,166,35,0.18), rgba(245,166,35,0.05));
  border: 1px solid rgba(245,166,35,0.25);
  top: 8%; right: 5%;
  animation-delay: 0s;
  transform: rotate(12deg);
}

.hero-shape-2 {
  width: 180px; height: 180px;
  background: linear-gradient(135deg, rgba(91,164,207,0.18), rgba(91,164,207,0.05));
  border: 1px solid rgba(91,164,207,0.25);
  bottom: 15%; right: 25%;
  animation-delay: -2s;
  transform: rotate(-8deg);
}

.hero-shape-3 {
  width: 120px; height: 120px;
  background: linear-gradient(135deg, rgba(74,124,111,0.25), rgba(74,124,111,0.08));
  border: 1px solid rgba(74,124,111,0.3);
  top: 38%; right: 0;
  animation-delay: -4s;
  transform: rotate(20deg);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 12deg)); }
  50%       { transform: translateY(-18px) rotate(var(--r, 12deg)); }
}

@media (max-width: 992px) {
  .hero-content .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
}

/* ==========================================
   SECTION COMPONENTS
   ========================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--amber-light);
  color: var(--amber-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 4px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; line-height: 1.8; }

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--off-white);
  padding: 40px 28px;
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 68px; height: 68px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.feature-icon svg {
  width: 30px; height: 30px;
  stroke: var(--amber);
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--navy);
}

.feature-card p { font-size: 14px; line-height: 1.75; }

@media (max-width: 992px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .features-grid { grid-template-columns: 1fr; } }

/* ==========================================
   STATS SECTION
   ========================================== */
.stats {
  padding: 90px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number::after { content: '+'; }

.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================
   ABOUT PREVIEW
   ========================================== */
.about-preview {
  padding: var(--section-padding) 0;
  background: var(--off-white);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-preview-image { position: relative; }

.image-frame {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 4/3;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky-light), var(--sage-light));
}

.image-placeholder svg {
  width: 80px; height: 80px;
  stroke: var(--gray-400);
}

.experience-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--amber);
  color: var(--navy);
  padding: 22px 28px;
  text-align: center;
  box-shadow: var(--shadow-amber);
  border-radius: 12px;
}

.exp-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--navy);
}

.exp-text {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  opacity: 0.8;
}

.about-preview-content h2 { margin-bottom: 24px; }

.about-preview-content > p {
  font-size: 1.0625rem;
  margin-bottom: 32px;
  line-height: 1.85;
}

.about-list { margin-bottom: 40px; }

.about-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
  font-size: 15px;
}

.about-list li:last-child { border-bottom: none; }

.about-list svg {
  width: 20px; height: 20px;
  fill: var(--amber);
  flex-shrink: 0;
  background: var(--amber-light);
  border-radius: 50%;
  padding: 2px;
}

@media (max-width: 992px) {
  .about-preview-grid { grid-template-columns: 1fr; gap: 60px; }
  .experience-badge { bottom: 20px; right: 20px; }
}

/* ==========================================
   SERVICES PREVIEW
   ========================================== */
.services-preview {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--off-white);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.service-card:hover::before { transform: scaleX(1); }

.service-number {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 400;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 20px;
  font-style: italic;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--navy);
}

.service-card p { margin-bottom: 24px; line-height: 1.75; font-size: 14px; }

.service-link {
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover { color: var(--amber-dark); }

.services-cta { text-align: center; margin-top: 52px; }

@media (max-width: 992px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .services-grid { grid-template-columns: 1fr; } }

/* ==========================================
   BLOG PREVIEW
   ========================================== */
.blog-preview {
  padding: var(--section-padding) 0;
  background: var(--off-white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img { transform: scale(1.04); }

.blog-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--sky-light), var(--sage-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-placeholder svg {
  width: 56px; height: 56px;
  stroke: var(--gray-400);
}

.blog-card-content { padding: 28px; }

.blog-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sage);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-content h3 {
  margin: 12px 0;
  font-size: 1.15rem;
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.4;
}

.blog-card-content h3 a {
  color: var(--navy);
  transition: color var(--transition-fast);
}

.blog-card-content h3 a:hover { color: var(--amber-dark); }

.blog-card-content p {
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.75;
}

.blog-link {
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-link:hover { color: var(--amber-dark); }

.blog-cta { text-align: center; margin-top: 52px; }

@media (max-width: 992px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .blog-grid { grid-template-columns: 1fr; } }

/* ==========================================
   CTA + FOOTER — SHARED DARK BACKGROUND
   ========================================== */
.cta-section,
.footer {
  position: relative;
  background: var(--navy);
  color: var(--gray-300);
}

/* Book-paper subtle pattern */
.cta-section::before,
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 28px),
    repeating-linear-gradient(90deg,
      rgba(245,166,35,0.04) 0px,
      rgba(245,166,35,0.04) 1px,
      transparent 1px,
      transparent 60px);
  pointer-events: none;
  z-index: 0;
}

.cta-section::after,
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(91,164,207,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.cta-section .container,
.footer .container,
.footer .footer-content {
  position: relative;
  z-index: 2;
}

/* CTA */
.cta-section {
  padding: 100px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}

.cta-bg::after { display: none; }

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 20px;
  font-style: italic;
}

.cta-content p {
  color: rgba(255,255,255,0.65);
  font-size: 1.125rem;
  margin-bottom: 44px;
  line-height: 1.8;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer { padding-top: 0; }

.footer-wave { display: none; }

.footer-content { padding: 70px 0 32px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.5);
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  border-radius: 8px;
}

.footer-social a:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 17px; height: 17px;
  fill: rgba(255,255,255,0.5);
  transition: fill var(--transition-fast);
}

.footer-social a:hover svg { fill: var(--navy); }

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 28px; height: 2px;
  background: var(--amber);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.50);
  font-size: 15px;
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--amber); }

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.50);
}

.footer-contact svg {
  width: 17px; height: 17px;
  flex-shrink: 0;
  stroke: var(--amber);
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.30);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================
   PAGE HEADER
   ========================================== */
.page-header {
  position: relative;
  padding: 180px 0 100px;
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  z-index: -1;
}

.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-header-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-style: italic;
}

.page-header-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}

/* ==========================================
   ABOUT PAGE
   ========================================== */
.about-story { padding: var(--section-padding) 0; background: var(--white); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-content h2 { margin-bottom: 24px; }

.story-content p {
  font-size: 1.0625rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.mission-vision { padding: 80px 0; background: var(--off-white); }

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mv-card {
  background: var(--white);
  padding: 50px 40px;
  text-align: center;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.mv-card:hover { box-shadow: var(--shadow-md); }

.mv-icon {
  width: 76px; height: 76px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
}

.mv-icon svg {
  width: 34px; height: 34px;
  stroke: var(--amber);
}

.mv-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
  font-family: var(--font-primary);
  font-weight: 700;
}

.mv-card p { font-size: 15px; line-height: 1.85; }

.core-values { padding: var(--section-padding) 0; background: var(--white); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  padding: 40px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: all var(--transition-base);
  background: var(--off-white);
}

.value-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.value-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--amber-light);
  margin-bottom: 16px;
  font-style: italic;
}

.value-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-primary);
  font-weight: 700;
}

.value-card p { font-size: 15px; line-height: 1.75; }

.team-section { padding: var(--section-padding) 0; background: var(--off-white); }

@media (max-width: 992px) {
  .story-grid, .mv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) { .values-grid { grid-template-columns: 1fr; } }

/* ==========================================
   SERVICES PAGE
   ========================================== */
.services-full { padding: var(--section-padding) 0; background: var(--white); }

.services-list { display: flex; flex-direction: column; gap: 60px; }

.service-full-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 50px;
  align-items: start;
}

.service-full-card.reverse { direction: rtl; }
.service-full-card.reverse > * { direction: ltr; }

.service-full-icon {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.service-full-icon svg {
  width: 44px; height: 44px;
  stroke: var(--amber);
}

.service-full-content { position: relative; }

.service-full-number {
  position: absolute;
  top: -20px; right: 0;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 400;
  color: var(--gray-100);
  line-height: 1;
  z-index: -1;
  font-style: italic;
}

.service-full-content h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  font-family: var(--font-primary);
  font-weight: 700;
}

.service-full-content > p {
  font-size: 1.0625rem;
  line-height: 1.85;
  margin-bottom: 24px;
}

.service-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-600);
  font-size: 15px;
}

.service-features li::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--amber);
  flex-shrink: 0;
  border-radius: 2px;
}

.process-section { padding: var(--section-padding) 0; background: var(--off-white); }

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 35px; top: 100px; bottom: -40px;
  width: 2px;
  background: var(--gray-200);
}

.process-number {
  width: 70px; height: 70px;
  background: var(--amber);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border-radius: 16px;
  box-shadow: var(--shadow-amber);
}

.process-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-family: var(--font-primary);
  font-weight: 700;
}

.process-content p { font-size: 1.0625rem; line-height: 1.75; }

@media (max-width: 768px) {
  .service-full-card { grid-template-columns: 1fr; gap: 24px; }
  .service-full-card.reverse { direction: ltr; }
  .service-full-icon { width: 76px; height: 76px; }
  .service-full-number { display: none; }
  .service-features { grid-template-columns: 1fr; }
  .process-step { gap: 24px; }
  .process-number { width: 52px; height: 52px; font-size: 1.2rem; }
  .process-step:not(:last-child)::after { left: 25px; top: 80px; }
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-section { padding: var(--section-padding) 0; background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-info h2 { margin-bottom: 16px; }

.contact-info > p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-item { display: flex; gap: 16px; }

.contact-icon {
  width: 48px; height: 48px;
  background: var(--amber-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
}

.contact-icon svg {
  width: 22px; height: 22px;
  stroke: var(--amber-dark);
}

.contact-text h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-weight: 700;
}

.contact-text p { color: var(--gray-700); font-size: 15px; }

.contact-social h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 700;
}

.social-links { display: flex; gap: 10px; }

.social-links a {
  width: 44px; height: 44px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  border-radius: 10px;
}

.social-links a:hover {
  background: var(--navy);
  transform: translateY(-3px);
}

.social-links svg {
  width: 19px; height: 19px;
  fill: var(--gray-500);
  transition: fill var(--transition-fast);
}

.social-links a:hover svg { fill: var(--white); }

.contact-form-wrapper {
  background: var(--off-white);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
}

.contact-form h3 {
  margin-bottom: 30px;
  font-size: 1.5rem;
  font-family: var(--font-primary);
  font-weight: 700;
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-primary);
  font-size: 15px;
  border: 2px solid var(--gray-200);
  transition: all var(--transition-fast);
  background: var(--white);
  border-radius: 8px;
  color: var(--gray-800);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-300); }

.form-group textarea { resize: vertical; min-height: 120px; }

.map-section { height: 400px; }

.map-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--gray-100), var(--sky-light));
  position: relative;
}

.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-content { text-align: center; color: var(--gray-400); }

.map-content svg {
  width: 56px; height: 56px;
  margin-bottom: 16px;
  stroke: var(--gray-300);
}

@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .contact-form-wrapper { padding: 40px; }
}

@media (max-width: 576px) { .contact-form-wrapper { padding: 28px 20px; } }

/* ==========================================
   BLOG PAGE
   ========================================== */
.blog-section { padding: var(--section-padding) 0; background: var(--white); }

.blog-grid-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.blog-card-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--off-white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  border-radius: 14px;
}

.blog-card-full:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-full .blog-card-image {
  aspect-ratio: unset;
  height: 100%;
  min-height: 250px;
}

.blog-card-full .blog-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.blog-meta { margin-bottom: 12px; }

.blog-card-full h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.4;
  font-family: var(--font-primary);
  font-weight: 700;
}

.blog-card-full h2 a { color: var(--navy); transition: color var(--transition-fast); }
.blog-card-full h2 a:hover { color: var(--amber-dark); }

.blog-card-full p {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 60px;
}

.pagination-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition-fast);
  border-radius: 8px;
}

.pagination-link:hover {
  border-color: var(--amber);
  color: var(--amber-dark);
}

.pagination-link svg { width: 16px; height: 16px; }

.pagination-numbers { display: flex; gap: 6px; }

.pagination-number {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  transition: all var(--transition-fast);
  border-radius: 8px;
  border: 1px solid transparent;
}

.pagination-number:hover { background: var(--gray-100); }

.pagination-number.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.pagination-ellipsis {
  width: 40px;
  text-align: center;
  color: var(--gray-400);
}

/* Blog Empty State */
.blog-empty { text-align: center; padding: 80px 20px; }

.empty-icon {
  width: 100px; height: 100px;
  margin: 0 auto 24px;
  background: var(--sky-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}

.empty-icon svg { width: 50px; height: 50px; stroke: var(--sky); }

.blog-empty h2 { margin-bottom: 12px; }
.blog-empty p { font-size: 1.0625rem; }

/* Newsletter */
.newsletter-section { padding: 0 0 var(--section-padding); background: var(--white); }

.newsletter-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.newsletter-content h2 {
  color: var(--white);
  margin-bottom: 8px;
  font-style: italic;
}

.newsletter-content p { color: rgba(255,255,255,0.65); font-size: 1.0625rem; }

.newsletter-form { display: flex; gap: 12px; flex-shrink: 0; position: relative; }

.newsletter-form input {
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-size: 15px;
  width: 280px;
  transition: all var(--transition-fast);
  border-radius: 8px;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }

.newsletter-form input:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255,255,255,0.10);
}

.newsletter-form .btn-primary {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}

.newsletter-form .btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
}

@media (max-width: 992px) {
  .blog-grid-full { grid-template-columns: 1fr; }

  .newsletter-card {
    flex-direction: column;
    text-align: center;
    padding: 48px 36px;
  }

  .newsletter-form { flex-direction: column; width: 100%; max-width: 400px; }
  .newsletter-form input { width: 100%; }
}

@media (max-width: 768px) {
  .blog-card-full { grid-template-columns: 1fr; }
  .blog-card-full .blog-card-image { min-height: 200px; }
}

/* ==========================================
   BLOG POST PAGE
   ========================================== */
.post-header {
  position: relative;
  padding: 180px 0 80px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
}

.post-header-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.50);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  transition: color var(--transition-fast);
}

.back-link:hover { color: var(--amber); }
.back-link svg { width: 17px; height: 17px; }

.post-header-content h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-style: italic;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.post-meta > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.50);
  font-size: 13px;
  font-family: var(--font-mono);
}

.post-meta svg { width: 15px; height: 15px; }

.post-content-section { padding: var(--section-padding) 0; background: var(--white); }

.post-article { max-width: 800px; margin: 0 auto; }

.post-featured-image {
  margin-bottom: 50px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.post-body {
  font-size: 1.0625rem;
  line-height: 1.95;
  color: var(--gray-600);
}

.post-body h2, .post-body h3, .post-body h4 { margin-top: 40px; margin-bottom: 20px; }
.post-body p { margin-bottom: 24px; color: var(--gray-600); }

.post-body ul, .post-body ol { margin-bottom: 24px; padding-left: 24px; }
.post-body li { margin-bottom: 8px; list-style: disc; }
.post-body ol li { list-style: decimal; }
.post-body a { color: var(--amber-dark); text-decoration: underline; }

.post-body blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  border-left: 4px solid var(--amber);
  background: var(--amber-light);
  font-style: italic;
  border-radius: 0 12px 12px 0;
}

.post-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}

.post-share { display: flex; align-items: center; gap: 16px; }

.post-share > span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.share-links { display: flex; gap: 10px; }

.share-links a {
  width: 40px; height: 40px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  border-radius: 10px;
}

.share-links a:hover { background: var(--navy); }

.share-links svg { width: 17px; height: 17px; fill: var(--gray-500); transition: fill var(--transition-fast); }
.share-links a:hover svg { fill: var(--white); }

.post-navigation { text-align: center; margin-top: 60px; }

/* ==========================================
   TEAM CAROUSEL
   ========================================== */
.team-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 28px !important;
  padding: 20px 0 40px !important;
  scrollbar-width: none !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth !important;
}

.team-grid::-webkit-scrollbar { display: none !important; }

.team-card {
  flex: 0 0 calc(33.333% - 20px) !important;
  min-width: calc(33.333% - 20px) !important;
  max-width: calc(33.333% - 20px) !important;
  margin-bottom: 0 !important;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-image {
  width: 100% !important;
  height: 300px !important;
  overflow: hidden !important;
}

.team-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.team-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--sky-light), var(--sage-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-placeholder svg {
  width: 70px; height: 70px;
  stroke: var(--gray-300);
}

.team-info { padding: 28px; text-align: center; }
.team-info h3 { margin-bottom: 8px; font-family: var(--font-primary); font-weight: 700; }

.team-role {
  color: var(--amber-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.team-info > p:last-child { font-size: 14px; line-height: 1.75; }

/* Carousel Controls */
.carousel-container {
  position: relative !important;
  padding: 0 50px !important;
  overflow: visible !important;
}

.nav-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 48px !important;
  height: 48px !important;
  background-color: var(--white) !important;
  border: 2px solid var(--navy) !important;
  color: var(--navy) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 1000 !important;
  box-shadow: var(--shadow-md) !important;
  transition: all 0.3s ease !important;
  border-radius: 12px !important;
}

.nav-btn:hover {
  background-color: var(--amber) !important;
  border-color: var(--amber) !important;
  color: var(--navy) !important;
}

.nav-btn svg {
  width: 24px !important;
  height: 24px !important;
  stroke: currentColor !important;
}

.prev-btn { left: -25px !important; }
.next-btn { right: -25px !important; }

@media (max-width: 768px) {
  .carousel-container { padding: 0 44px !important; }
  .nav-btn { width: 40px !important; height: 40px !important; }
  .nav-btn svg { width: 20px !important; height: 20px !important; }

  .team-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  .team-grid { gap: 10px !important; }

  .prev-btn { left: 2px !important; }
  .next-btn { right: 2px !important; }
}