/*
Theme Name: Mantra Web & Graphics Solution
Theme URI: https://example.com/
Author: Manoj Gohil & Meet Vaghela
Author URI: https://example.com/
Description: Custom theme for Mantra Web & Graphics Solution with animated landing page and AOS.js.
Version: 1.0.0
Text Domain: mantra-web-graphics
*/

:root {
  --bg: #040517;
  --bg-alt: #02010d;
  --primary: #6366f1;
  --accent: #f97316;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --card-bg: rgba(12, 19, 40, 0.98);
  --radius-xl: 20px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.75);
  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, #201f4c 0, #040517 45%, #02010d 100%);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 18px;
}

/* HEADER + NAV */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(3, 7, 18, 0.96), rgba(3, 7, 18, 0.9), rgba(3, 7, 18, 0));
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 25% 20%, #fff, #c7d2fe 24%, transparent 40%),
    conic-gradient(from 200deg, #6366f1, #8b5cf6, #f97316, #6366f1);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.7);
}

.logo-texts { display: flex; flex-direction: column; }
.logo-title { font-size: 18px; font-weight: 600; letter-spacing: 0.04em; }
.logo-tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--text-main); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pill {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.7);
  background: rgba(37, 99, 235, 0.14);
  color: #c7d2fe;
  white-space: nowrap;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: radial-gradient(circle at top left, var(--accent), var(--primary));
  color: #fff;
  box-shadow: 0 14px 40px rgba(79, 70, 229, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 55px rgba(30, 64, 175, 0.9);
}

.btn-outline {
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-muted);
}

.btn-outline:hover {
  background: rgba(37, 99, 235, 0.35);
  border-color: var(--primary);
  color: var(--text-main);
  transform: translateY(-1px);
}

/* MOBILE NAV */

/* Base */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  padding: 6px;
  cursor: pointer;
  margin-left: 10px;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #f9fafb;
  position: relative;
  transition: 0.25s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-label span::before { top: -6px; }
.nav-toggle-label span::after { top: 6px; }

/* When checked → turn burger into X */
#nav-toggle:checked ~ .nav .nav-toggle-label span {
  transform: rotate(45deg);
}

#nav-toggle:checked ~ .nav .nav-toggle-label span::before {
  transform: rotate(90deg);
  top: 0;
}

#nav-toggle:checked ~ .nav .nav-toggle-label span::after {
  opacity: 0;
}

/* Show mobile menu when checked */
#nav-toggle:checked ~ .nav-mobile {
  display: flex;
}

/* Responsive: hide desktop nav, show burger */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle-label {
    display: block;
  }

  .nav {
    justify-content: space-between;
  }
}


#nav-toggle:checked ~ .nav-mobile { display: flex; }

main { position: relative; z-index: 1; }

/* HERO */

.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.55;
  z-index: -1;
  animation: blobFloat 18s ease-in-out infinite alternate;
}

.hero::before {
  top: -140px;
  left: -140px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35), transparent 65%);
}

.hero::after {
  bottom: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.3), transparent 65%);
  animation-delay: 3s;
}

@keyframes blobFloat {
  0% {transform: translate3d(0,0,0) scale(1);}
  100% {transform: translate3d(40px,-30px,0) scale(1.06);}
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.2), rgba(15, 23, 42, 0.95));
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #c7d2fe;
}

.hero-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.7);
  color: #bbf7d0;
  text-transform: none;
  letter-spacing: 0;
}

.hero-title {
  margin-top: 18px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.hero-title span {
  background: linear-gradient(120deg, #f97316, #fbbf24, #6366f1);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
}

.hero-checklist {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  font-size: 13px;
}

.hero-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-check span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.8);
  font-size: 11px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-subnote {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-muted);
}

.hero-subnote strong { color: #e5e7eb; }

.hero-trust {
  margin-top: 24px;
  font-size: 11px;
  color: var(--text-muted);
}

.hero-trust-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-trust-pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
}

/* HERO RIGHT GRADIENT CARD */

.hero-visual {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.4), transparent 55%),
    radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.26), transparent 60%),
    rgba(10, 16, 32, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.hero-visual-title { font-size: 13px; font-weight: 500; }
.hero-visual-sub { font-size: 11px; color: var(--text-muted); }

.hero-visual-dots { display: flex; gap: 6px; }

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fff, #22c55e);
  box-shadow: 0 0 12px rgba(22, 163, 74, 0.9);
}

.hero-visual-body {
  border-radius: 18px;
  padding: 16px;
  background: rgba(3, 7, 18, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  font-size: 11px;
}

.hero-metric {
  padding: 10px 10px;
  border-radius: 14px;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.4), rgba(3, 7, 18, 1));
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.hero-metric-label { color: #9ca3af; }
.hero-metric-value { margin-top: 3px; font-weight: 600; font-size: 13px; }
.hero-metric-tag { margin-top: 2px; color: #6b7280; font-size: 10px; }

.hero-visual-footer {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #9ca3af;
}

.hero-badge-mini {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.98);
}

.hero-floating-card {
  position: absolute;
  bottom: -12px;
  right: -8px;
  width: 190px;
  padding: 11px 12px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
  font-size: 11px;
  animation: floatCard 8s ease-in-out infinite alternate;
}

@keyframes floatCard {
  from { transform: translate3d(0, 4px, 0); }
  to { transform: translate3d(-4px, -8px, 0); }
}

.hero-floating-title { font-weight: 500; margin-bottom: 4px; }
.hero-floating-row {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 10px;
  color: #9ca3af;
}

.hero-floating-status { color: #bbf7d0; }

/* MARQUEE */

.marquee {
  padding: 10px 0 24px;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
  background: linear-gradient(90deg, rgba(10, 15, 28, 0.96), rgba(8, 13, 28, 0.98));
}

.marquee-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #9ca3af;
}

.marquee-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: #6b7280;
}

.marquee-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.marquee-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.96);
}

/* SECTION BASE */

section { padding: 70px 0; }

.section-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #6b7280;
}

.section-title { font-size: 24px; font-weight: 600; }
.section-description {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 540px;
}

/* FOUNDERS SECTION */

#founders {
  padding-top: 60px;
  padding-bottom: 60px;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.founder-card {
  padding: 16px 16px 14px;
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.founder-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.founder-name {
  font-weight: 600;
  font-size: 16px;
}

.founder-role {
  font-size: 12px;
  color: #c7d2fe;
}

.founder-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.founder-list {
  margin-top: 6px;
  list-style: none;
  font-size: 12px;
  color: var(--text-muted);
}

.founder-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.founder-list li::before {
  content: "◆";
  font-size: 9px;
  color: var(--accent);
}

/* HIGH LEVEL SERVICES */

#services { position: relative; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 18px 16px 16px;
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.25), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(30, 64, 175, 0.95);
  border-color: rgba(129, 140, 248, 0.9);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: radial-gradient(circle at 20% 20%, var(--accent), var(--primary));
  margin-bottom: 12px;
}

.service-title { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.service-text { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.service-tag {
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #9ca3af;
}

.service-footer {
  font-size: 11px;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-cta {
  font-size: 11px;
  color: #c7d2fe;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-cta span { font-size: 16px; }

/* DETAILED SERVICES FROM CARD */

#detailed-services {
  padding-top: 50px;
  padding-bottom: 70px;
}

.detailed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.detail-card {
  padding: 18px 16px;
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
}

.detail-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.detail-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.detail-list {
  list-style: none;
  font-size: 13px;
  color: #e5e7eb;
}

.detail-list li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-list li::before {
  content: "◆";
  font-size: 9px;
  color: #38bdf8;
}

/* PROJECTS */

#projects {
  background: radial-gradient(circle at top, rgba(8, 13, 28, 0.98), rgba(6, 9, 22, 0.98));
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.projects-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.project-slider {
  padding: 16px;
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.project-slide { display: none; flex-direction: column; gap: 12px; }
.project-slide.active { display: flex; }

.project-pill {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #9ca3af;
  width: fit-content;
}

.project-title { font-size: 18px; font-weight: 500; }
.project-text { font-size: 13px; color: var(--text-muted); }

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  color: #9ca3af;
}

.project-meta span {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.project-preview {
  margin-top: 8px;
  border-radius: 16px;
  padding: 20px;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.45), transparent 60%),
    radial-gradient(circle at bottom right, rgba(248, 250, 252, 0.06), transparent 65%),
    repeating-linear-gradient(135deg,
      rgba(15, 23, 42, 0.98) 0px,
      rgba(15, 23, 42, 0.98) 12px,
      rgba(17, 24, 39, 0.98) 12px,
      rgba(17, 24, 39, 0.98) 24px
    );
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 11px;
  color: #9ca3af;
}

.project-controls {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #9ca3af;
}

.project-buttons { display: flex; gap: 8px; }

.project-btn {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background: rgba(15, 23, 42, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.project-btn:hover {
  background: rgba(37, 99, 235, 0.4);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.projects-list { display: grid; grid-template-columns: 1fr; gap: 12px; }

.project-mini {
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(55, 65, 81, 0.95);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.project-mini:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.9);
  background: rgba(15, 23, 42, 0.96);
}

.project-mini-main { max-width: 72%; }
.project-mini-title { font-weight: 500; margin-bottom: 2px; }
.project-mini-text { font-size: 11px; color: #9ca3af; }
.project-mini-tag { font-size: 11px; color: #c7d2fe; text-align: right; }

/* PROCESS / SEO */

#process .section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.process-steps { display: grid; gap: 12px; }

.process-step {
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.97);
  display: flex;
  gap: 10px;
  font-size: 12px;
}

.process-number {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, var(--primary), #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
}

.process-content-title { font-weight: 500; color: #e5e7eb; margin-bottom: 2px; }
.process-content-text { font-size: 11px; color: #9ca3af; }

.seo-card {
  padding: 18px 16px;
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  color: var(--text-muted);
}

.seo-card strong { color: #e5e7eb; }

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  font-size: 12px;
}

.seo-item {
  padding: 10px 11px;
  border-radius: 14px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.98);
}

.seo-item-title { font-weight: 500; color: #e5e7eb; margin-bottom: 3px; }
.seo-item-text { font-size: 11px; color: #9ca3af; }

/* TESTIMONIALS + BLOG */

#testimonials .section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.testimonial-card {
  padding: 14px 13px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 12px;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: -10px;
  right: 8px;
  font-size: 56px;
  color: rgba(55, 65, 81, 0.25);
  font-weight: 700;
}

.testimonial-quote { margin-bottom: 8px; }
.testimonial-meta { font-size: 11px; color: #9ca3af; }
.testimonial-meta strong { color: #e5e7eb; }

.blog-list { display: grid; grid-template-columns: 1fr; gap: 12px; }

.blog-card {
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.9);
  background: rgba(15, 23, 42, 0.96);
}

.blog-title { font-weight: 500; margin-bottom: 4px; }
.blog-meta { font-size: 11px; color: #6b7280; margin-bottom: 4px; }
.blog-excerpt { font-size: 11px; color: #9ca3af; }
.blog-link { margin-top: 6px; font-size: 11px; color: #c7d2fe; }

/* CTA */

#cta { padding: 60px 0 70px; }

.cta-card {
  padding: 24px 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.4), transparent 60%),
    radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.35), transparent 65%),
    rgba(10, 16, 32, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
}

.cta-text { max-width: 520px; }
.cta-title { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.cta-subtitle { font-size: 14px; color: var(--text-muted); }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* FOOTER */

footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(3, 7, 18, 0.98);
  padding: 18px 0 26px;
  font-size: 11px;
  color: #6b7280;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
  margin-bottom: 14px;
}

.footer-brand-text {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 420px;
}

.footer-newsletter-label {
  font-size: 11px;
  margin-bottom: 6px;
  color: #9ca3af;
}

.footer-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-form input[type="email"] {
  flex: 1 1 180px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.footer-form input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.75);
  background: #020617;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a { color: #9ca3af; }
.footer-links a:hover { color: #e5e7eb; }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .hero-grid,
  .projects-layout,
  #process .section-layout,
  #testimonials .section-layout,
  .footer-top,
  .founders-grid,
  .detailed-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .hero-visual {
    max-width: 430px;
    margin: 24px auto 0;
  }

  .hero-checklist { grid-template-columns: minmax(0,1fr); }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .testimonials-grid { grid-template-columns: minmax(0,1fr); }
}

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

  .nav-toggle-label { display: block; }

  .hero { padding-top: 80px; }
  .services-grid { grid-template-columns: minmax(0,1fr); }

  .cta-card { padding: 20px 16px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn-primary,
  .cta-actions .btn-outline { flex: 1 1 auto; }
}

@media (max-width: 640px) {
  section { padding: 60px 0; }
  .hero { padding-top: 72px; }

  .hero-floating-card {
    position: static;
    margin-top: 12px;
    animation: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}




/* ABOUT PAGE LAYOUTS */

/* Story section */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  align-items: flex-start;
}

.about-story-text {
  font-size: 13px;
  color: var(--text-main);
  display: grid;
  gap: 10px;
}

.about-story-points ul {
  list-style: none;
  font-size: 13px;
  color: var(--text-muted);
  border-radius: 18px;
  padding: 14px 13px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.about-story-points li {
  margin-bottom: 6px;
  display: flex;
  gap: 8px;
}

.about-story-points li::before {
  content: "◆";
  font-size: 9px;
  color: var(--accent);
  margin-top: 3px;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  padding: 16px 15px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 13px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.value-title {
  font-weight: 500;
  margin-bottom: 6px;
}

.value-text {
  font-size: 12px;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  border-radius: 20px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.97);
  padding: 16px 16px;
  display: grid;
  gap: 10px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  padding: 8px 6px;
  border-radius: 12px;
}

.timeline-year {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
}

.timeline-content h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 3px;
}

.timeline-content p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Team section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.team-card {
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
}

.team-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.team-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 25% 20%, #fff, #c7d2fe 24%, transparent 40%),
    conic-gradient(from 210deg, var(--primary), #8b5cf6, var(--accent), var(--primary));
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.8);
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 16px;
  font-weight: 600;
}

.team-role {
  font-size: 12px;
  color: #c7d2fe;
}

.team-bio {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.team-tags {
  list-style: none;
  font-size: 11px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.team-tags li {
  margin-bottom: 4px;
  display: flex;
  gap: 6px;
}

.team-tags li::before {
  content: "•";
  font-size: 16px;
  line-height: 1;
  color: var(--accent);
}

.team-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #9ca3af;
}

.team-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
}

/* Culture / approach list */
.culture-list {
  display: grid;
  gap: 12px;
  font-size: 13px;
}

.culture-item {
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.97);
}

.culture-item h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.culture-item p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsive tweaks for about page */
@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: minmax(0,1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .timeline-item {
    grid-template-columns: minmax(0,1fr);
  }
}
 



 /* CONTACT PAGE */

.contact-cards {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.contact-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 13px;
}

.contact-card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-card-role {
  font-size: 12px;
  color: #c7d2fe;
  margin-bottom: 4px;
}

.contact-card-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-card-line {
  font-size: 12px;
  color: var(--text-main);
  display: flex;
  gap: 6px;
  align-items: center;
}

.contact-form-wrap {
  display: flex;
  justify-content: center;
}

.contact-form-card {
  width: 100%;
  max-width: 480px;
  padding: 20px 18px;
  background: rgba(15, 23, 42, 0.97);
  border-radius: 20px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: var(--shadow-soft);
}

.contact-form-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-form-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.contact-form-body {
  margin-top: 10px;
}

.wpforms-container input,
.wpforms-container textarea,
.wpforms-container select {
  background: rgba(3, 7, 18, 0.7) !important;
  border: 1px solid rgba(148, 163, 184, 0.4) !important;
  border-radius: 10px !important;
  color: #e5e7eb !important;
}

.wpforms-submit {
  background: radial-gradient(circle at top left, var(--accent), var(--primary)) !important;
  border-radius: 999px !important;
  padding: 10px 20px !important;
  border: none !important;
  color: #fff !important;
  font-weight: 500 !important;
  cursor: pointer !important;
}

.wpforms-submit:hover {
  opacity: 0.9;
}





/* === Mantra Contact Form – WPForms #21096 === */

/* Main container */
#wpforms-21096.wpforms-container-full.wpforms-render-modern {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Remove extra inner padding */
#wpforms-21096 .wpforms-field-container {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Two-column on larger screens: Name + Phone side by side */
@media (min-width: 768px) {
  #wpforms-21096 .wpforms-field-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #wpforms-21096-field_1-container,
  #wpforms-21096-field_4-container {
    grid-column: span 1 !important;
  }
  #wpforms-21096-field_2-container,
  #wpforms-21096-field_3-container {
    grid-column: 1 / -1 !important;
  }
}

/* Hide the weird "Write Write *" field and honeypots */
#wpforms-21096-field_5-container,
#wpforms-21096-field_6-container {
  display: none !important;
  visibility: hidden !important;
}

/* Labels */
#wpforms-21096 .wpforms-field-label {
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: var(--text-muted) !important;
  margin-bottom: 4px !important;
  font-weight: 500 !important;
}

/* Required star */
#wpforms-21096 .wpforms-required-label {
  color: #f97316 !important;
  margin-left: 2px !important;
}

/* Inputs / textarea / select base style */
#wpforms-21096 input[type="text"],
#wpforms-21096 input[type="email"],
#wpforms-21096 input[type="tel"],
#wpforms-21096 textarea,
#wpforms-21096 select {
  width: 100% !important;
  background: rgba(3, 7, 18, 0.85) !important;
  border: 1px solid rgba(148, 163, 184, 0.55) !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #e5e7eb !important;
  outline: none !important;
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

/* Placeholder color */
#wpforms-21096 input::placeholder,
#wpforms-21096 textarea::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
}

/* Focus state */
#wpforms-21096 input[type="text"]:focus,
#wpforms-21096 input[type="email"]:focus,
#wpforms-21096 input[type="tel"]:focus,
#wpforms-21096 textarea:focus,
#wpforms-21096 select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.7) !important;
  background: rgba(3, 7, 18, 0.95) !important;
}

/* Textarea height */
#wpforms-21096 textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

/* Error messages */
#wpforms-21096 .wpforms-error {
  font-size: 11px !important;
  color: #fecaca !important;
  margin-top: 4px !important;
}

/* Submit container */
#wpforms-21096 .wpforms-submit-container {
  margin-top: 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Submit button styled like theme primary button */
#wpforms-submit-21096,
#wpforms-21096 .wpforms-submit {
  background: radial-gradient(circle at top left, var(--accent), var(--primary)) !important;
  border-radius: 999px !important;
  padding: 10px 20px !important;
  border: none !important;
  color: #f9fafb !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 14px 40px rgba(79, 70, 229, 0.7) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease !important;
}

/* Hover state */
#wpforms-submit-21096:hover,
#wpforms-21096 .wpforms-submit:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 18px 55px rgba(30, 64, 175, 0.9) !important;
  opacity: 0.97 !important;
}

/* Loading spinner alignment */
#wpforms-21096 .wpforms-submit-spinner {
  margin-left: 6px !important;
}

/* Remove Ugly noscript notice spacing */
#wpforms-21096 .wpforms-error-noscript {
  font-size: 11px !important;
  margin-bottom: 8px !important;
}

/* Make the form blend into your contact-form-card nicely */
.contact-form-card {
  width: 100% !important;
  max-width: 520px !important;
  padding: 20px 18px !important;
  background: rgba(15, 23, 42, 0.97) !important;
  border-radius: 20px !important;
  border: 1px solid rgba(55, 65, 81, 0.9) !important;
  box-shadow: var(--shadow-soft) !important;
}

.contact-form-title {
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
}

.contact-form-subtitle {
  font-size: 12px !important;
  color: var(--text-muted) !important;
  margin-bottom: 14px !important;
}




