/* Untold Creatives - Premium Styling System */

/* Fonts are loaded in HTML <head> for performance */

:root {
  /* Color Palette - Dark Mode (Default) */
  --bg-color: #07090e;
  --bg-surface: #0f131f;
  --bg-surface-elevated: #161c2d;
  --text-color: #f3f4f6;
  --text-muted: #9ca3af;
  --text-inverse: #07090e;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(163, 184, 153, 0.15);

  --primary-color: #a3b899;
  /* Soft Sage Green */
  --primary-rgb: 163, 184, 153;
  --accent-color: #bfd4b5;
  --accent-gradient: linear-gradient(135deg, #a3b899, #7a9470);

  --success-bg: rgba(16, 185, 129, 0.1);
  --success-text: #34d399;
  --error-bg: rgba(239, 68, 68, 0.1);
  --error-text: #f87171;

  /* Global Properties */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --container-max-width: 1200px;
  --header-height: 80px;
  --border-radius: 12px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode Overrides */
html.light {
  --bg-color: #fdfbf7;
  /* Alabaster Warm White */
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f4f1ea;
  --text-color: #1a1c23;
  --text-muted: #5e6475;
  --text-inverse: #ffffff;
  --border-color: rgba(0, 0, 0, 0.07);
  --border-glow: rgba(106, 138, 96, 0.08);

  --primary-color: #6a8a60;
  /* Deep Sage Green */
  --primary-rgb: 106, 138, 96;
  --accent-color: #4a6342;
  --accent-gradient: linear-gradient(135deg, #6a8a60, #415939);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-surface-elevated);
  border: 2px solid var(--bg-color);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Common Layout Components */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
}

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

/* Elegant Headings & Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
}

h2.section-title {
  font-size: 3rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

h2.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent-gradient);
}

p.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  h2.section-title {
    font-size: 2.25rem;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Buttons Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-inverse);
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--primary-rgb), 0.35);
}

.btn-secondary {
  border: 2px solid var(--border-color);
  color: var(--text-color);
  background: transparent;
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

html.light header {
  background: rgba(253, 251, 247, 0.85);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-serif);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary-color);
}

nav.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

nav.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
}

nav.nav-links a:hover,
nav.nav-links a.active {
  color: var(--text-color);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.theme-toggle-btn .sun-icon {
  display: none;
}

html.light .theme-toggle-btn .moon-icon {
  display: none;
}

html.light .theme-toggle-btn .sun-icon {
  display: block;
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 991px) {

  nav.nav-links,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-color);
  z-index: 999;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  border-top: 1px solid var(--border-color);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.mobile-nav a:hover {
  color: var(--primary-color);
  padding-left: 8px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 9, 14, 0.45) 0%, #07090e 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
  transition: background 0.5s ease;
}

html.light .hero-overlay {
  background: radial-gradient(circle at center, rgba(253, 251, 247, 0.45) 0%, #fdfbf7 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: inline-block;
}

.hero-meta strong {
  color: var(--text-color);
  display: block;
  font-size: 1.1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-8px);
  }

  60% {
    transform: translateY(-4px);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* About Section ("The Untold Advantage") */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.comparison-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
  transition: var(--transition-smooth);
}

.comparison-card.accent-border {
  border-color: var(--primary-color);
  background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(var(--primary-rgb), 0.03) 100%);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.04);
}

.comparison-card h3 {
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comparison-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.comparison-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-icon.cross {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.comparison-icon.check {
  background: rgba(197, 168, 128, 0.2);
  color: var(--primary-color);
}

.comparison-text {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.comparison-card.accent-border .comparison-text {
  color: var(--text-color);
}

@media (max-width: 991px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Key Pillars Block */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--border-color);
}

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

.pillar-number {
  width: 50px;
  height: 50px;
  background: var(--text-color);
  color: var(--bg-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 auto 20px auto;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .about-pillars {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color);
  box-shadow: 0 12px 36px rgba(var(--primary-rgb), 0.08);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-list {
  margin-bottom: 24px;
  list-style: none;
}

.service-list li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
  padding-left: 14px;
  position: relative;
}

.service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.services-cta {
  margin-top: 60px;
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Framework Section */
.framework-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.framework-visual img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.framework-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
  transition: var(--transition-smooth);
}

.step-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
}

.step-num {
  font-size: 2.25rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0.4;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.framework-quote {
  margin-top: 60px;
  padding: 40px;
  background: rgba(var(--primary-rgb), 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.framework-quote p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .framework-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Credentials Section */
.credentials-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.credentials-row.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.credentials-media img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.credentials-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.credentials-icon {
  width: 48px;
  height: 48px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.credentials-title {
  font-size: 2rem;
}

.credentials-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.credentials-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bullet-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 16px 20px;
}

.bullet-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.bullet-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Track Badges Grid */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.badge-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
}

.badge-card svg {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.badge-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.badge-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 991px) {

  .credentials-row,
  .credentials-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .credentials-row.reverse .credentials-media {
    order: 2;
  }

  .badges-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* AI Expertise Section */
.ai-visual {
  margin-bottom: 60px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.ai-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}

.ai-card {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.02) 0%, rgba(var(--primary-rgb), 0.06) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
  transition: var(--transition-smooth);
}

.ai-card:hover {
  border-color: var(--primary-color);
}

.ai-card-icon {
  width: 48px;
  height: 48px;
  background: var(--text-color);
  color: var(--bg-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background-color 0.5s ease, color 0.5s ease;
}

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

.ai-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.ai-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
}

.ai-dot {
  width: 8px;
  height: 8px;
  background: var(--text-color);
  border-radius: 50%;
  transition: background-color 0.5s ease;
}

.ai-impact-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
}

.ai-impact-box h3 {
  font-size: 1.75rem;
  margin-bottom: 30px;
}

.ai-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.impact-stat {
  font-size: 2.5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.impact-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.impact-text strong {
  color: var(--text-color);
}

.ai-cta {
  margin-top: 60px;
}

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

  .ai-impact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Why Untold Section */
.why-hero-card {
  background: rgba(var(--primary-rgb), 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px 60px;
  margin-bottom: 60px;
}

.why-hero-card h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.why-hero-card p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.why-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
}

.why-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.why-icon {
  width: 44px;
  height: 44px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 20px;
  height: 20px;
}

.why-header h4 {
  font-size: 1.35rem;
}

.why-header span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.why-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.why-meta-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.why-meta-row {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.why-meta-row strong {
  color: var(--primary-color);
}

@media (max-width: 991px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-hero-card {
    padding: 30px;
  }
}

/* Founder Section */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.founder-img img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.founder-content h2 {
  font-size: 3rem;
  margin-bottom: 8px;
}

.founder-role {
  font-size: 1.15rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 30px;
}

.founder-bio {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.founder-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.founder-bullet h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.founder-bullet p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.founder-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.founder-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 16px 20px;
}

.founder-stat-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.founder-stat-card strong {
  font-size: 1.1rem;
  color: var(--text-color);
}

@media (max-width: 991px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .founder-img {
    order: 2;
  }
}

/* Case Studies Section */
.case-studies-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--text-color);
  color: var(--bg-color);
  border-color: var(--text-color);
  transform: translateY(-2px);
}

.case-study-display {
  position: relative;
  min-height: 400px;
}

.case-study-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
  transform: translateY(15px);
  pointer-events: none;
}

.case-study-card.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.cs-content-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cs-title-box {
  margin-bottom: 28px;
}

.cs-title-box h3 {
  font-size: 2.25rem;
  margin-bottom: 8px;
}

.cs-title-box p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-color);
}

.cs-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.cs-detail-block h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-color);
}

.cs-detail-block p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cs-pillars-box h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.cs-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-pillar {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

.cs-metrics-side {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cs-metrics-side h4 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.cs-metrics-side h4 svg {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
}

.cs-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cs-metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cs-metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cs-metric-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-color);
  text-align: right;
}

.cs-footer-quote {
  margin-top: 80px;
  padding: 30px;
  background: rgba(var(--primary-rgb), 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  text-align: center;
}

.cs-footer-quote p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
}

@media (max-width: 991px) {
  .case-study-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cs-metrics-side {
    padding: 30px;
  }
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Contact Form */
.contact-form-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-color);
  transition: var(--transition-smooth);
}

html.light .form-control {
  background: rgba(0, 0, 0, 0.03);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

html.light .form-control:focus {
  background: #ffffff;
}

textarea.form-control {
  resize: vertical;
}

.form-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  display: none;
  font-weight: 500;
  animation: fadeIn 0.4s ease;
}

.form-feedback.success {
  display: block;
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.form-feedback.error {
  display: block;
  background: var(--error-bg);
  color: var(--error-text);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-privacy {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-box {
    padding: 30px;
  }
}

/* Footer Section */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.footer-brand h3 span {
  color: var(--primary-color);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-col ul a:hover {
  color: var(--primary-color);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Reveal Scroll Animations Utility */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}