/* ========================================
   The Alpha Nova - Static Site Styles
   ======================================== */

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Hero entrance animations */
.hero h1 {
  animation: fadeInUp 0.8s ease forwards;
}

.hero p {
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-image {
  animation: fadeIn 1s ease 0.3s forwards;
  opacity: 0;
}

/* Header entrance */
.header {
  animation: fadeInDown 0.6s ease forwards;
}

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

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

.scroll-reveal-delay-1 { transition-delay: 0.1s; }
.scroll-reveal-delay-2 { transition-delay: 0.2s; }
.scroll-reveal-delay-3 { transition-delay: 0.3s; }
.scroll-reveal-delay-4 { transition-delay: 0.4s; }

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

:root {
  --primary-dark: #101828;
  --secondary-text: #475467;
  --tertiary: #98A2B3;
  --heading-color: #1D2939;
  --accent: #384fa2;
  --light-bg: #F9FAFB;
  --page-bg: #f8fafc;
  --white: #ffffff;
  --body-text: #1f2937;
  --dark-text: #111827;
  --light-gray: #6b7280;
  --medium-gray: #374151;
  --border-light: #e5e7eb;
  --orange: #ff9933;
  --blue: #3b82f6;
  --amber: #f59e0b;
  --green: #10b981;
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --max-width: 1200px;
  --content-width: 800px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-primary);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading-color);
  line-height: 1.2;
  font-weight: 700;
}

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

/* ========================================
   Header / Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 24px;
  transition: all var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
}

.header.scrolled .container {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

.logo img {
  height: 40px;
  width: auto;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--secondary-text);
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-dark);
  margin: 5px 0;
  transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  padding: 160px 0 100px;
  margin-top: 72px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}


.hero-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: var(--max-width);
}

.hero-content {
  text-align: left;
}

.hero-image img {
  width: 130%;
  max-width: none;
  height: auto;
}

/* Section separator */
.section-separator {
  text-align: center;
  padding: 20px 0;
  background: var(--white);
}

.separator-arrow {
  width: 40px;
  height: auto;
  margin: 0 auto;
  opacity: 0.6;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero h1 .highlight {
  color: var(--accent);
}

.typed-wrapper {
  display: inline-block;
  position: relative;
}

.typed-wrapper .typed-text {
  color: var(--accent);
  background-image: linear-gradient(transparent 92%, var(--accent) 92%);
  display: inline;
}

.typed-cursor {
  color: var(--accent);
  font-weight: 300;
  font-size: inherit;
  animation: typed-blink 0.7s infinite;
}

@keyframes typed-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero p {
  font-size: 18px;
  color: var(--secondary-text);
  max-width: 540px;
  margin: 0 0 32px;
  line-height: 1.7;
}

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

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: #2d4088;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 79, 162, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

/* ========================================
   Trust / Client Logos
   ======================================== */
.trust-section {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.trust-section .label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--tertiary);
  margin-bottom: 32px;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 64px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.trust-logos-track {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: scroll-logos 20s linear infinite;
  flex-shrink: 0;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-logos:hover .trust-logos-track {
  animation-play-state: paused;
}

.trust-logos img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition);
  flex-shrink: 0;
}

.trust-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ========================================
   Section Styles
   ======================================== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--light-bg);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 17px;
  color: var(--secondary-text);
  line-height: 1.7;
}

/* ========================================
   About Preview (Homepage)
   ======================================== */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-preview-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-preview-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-preview-content h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.about-preview-content p {
  color: var(--secondary-text);
  margin-bottom: 24px;
  line-height: 1.7;
}

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

.service-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.service-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.service-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
}

/* ========================================
   Approach / Pillars Grid
   ======================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}

.pillar-icon.orange { background: rgba(255,153,51,0.12); color: var(--orange); }
.pillar-icon.blue { background: rgba(59,130,246,0.12); color: var(--blue); }
.pillar-icon.green { background: rgba(16,185,129,0.12); color: var(--green); }
.pillar-icon.amber { background: rgba(245,158,11,0.12); color: var(--amber); }

.pillar-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  font-weight: 700;
}

.pillar-card p {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.6;
}

/* ========================================
   Case Studies Cards
   ======================================== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.case-card-image {
  height: 220px;
  overflow: hidden;
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-card-image img {
  transform: scale(1.05);
}

.case-card-content {
  padding: 24px;
}

.case-card-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.case-card-content p {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more:hover {
  gap: 10px;
}

/* Featured case studies (2-column grid) */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.featured-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.featured-card-image {
  width: 120px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.featured-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.featured-card p {
  font-size: 13px;
  color: var(--light-gray);
  line-height: 1.5;
}

/* ========================================
   Testimonials (Masonry Layout)
   ======================================== */
.testimonials-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 20px;
}

.testimonials-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.testimonials-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.testimonial-card-v {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
}

.testimonial-card-v:hover {
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.testimonial-card-v > h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
  line-height: 1.4;
}

.testimonial-card-v > p {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.testimonial-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-author-info p {
  font-size: 12px;
  color: var(--light-gray);
}

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

.stat-item h3 {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-item h3 .counter-suffix {
  font-size: 32px;
}

.stat-item p {
  font-size: 15px;
  color: var(--secondary-text);
  font-weight: 500;
}

/* ========================================
   Contact Form (v2 - Light Layout)
   ======================================== */
.contact-section-v2 {
  background: var(--white);
  padding: 100px 0;
  border-top: 1px solid var(--border-light);
}

.contact-section-v2 .section-header {
  margin-bottom: 48px;
}

.label-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 2px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--secondary-text);
  line-height: 1.5;
}

.contact-info-item a {
  color: var(--secondary-text);
}

.contact-info-item a:hover {
  color: var(--primary-dark);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border-light);
  font-family: var(--font-primary);
  font-size: 15px;
  color: var(--body-text);
  transition: border-color var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--tertiary);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--primary-dark);
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 48px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  align-self: flex-start;
}

.btn-contact:hover {
  background: #2d4088;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 79, 162, 0.35);
}

/* ========================================
   Contact CTA Block (Case Studies / About)
   ======================================== */
.cta-block {
  background: var(--light-bg);
  border-radius: var(--radius-xl);
  padding: 60px;
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.cta-block img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cta-block h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.cta-block p {
  color: var(--secondary-text);
  margin-bottom: 20px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}

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

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-brand .logo img {
  height: 36px;
  filter: brightness(0) invert(1);
}

.footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

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

.footer-contact p {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-contact a {
  color: rgba(255,255,255,0.6);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ========================================
   About Page
   ======================================== */
.page-hero {
  padding: 140px 0 80px;
  background: var(--light-bg);
  text-align: center;
}

.page-hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: var(--secondary-text);
  max-width: 600px;
  margin: 0 auto;
}

.company-photo {
  max-width: 900px;
  margin: -40px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.company-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 12px 28px;
  border: 1.5px solid var(--border-light);
  background: var(--white);
  border-radius: 100px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  color: var(--secondary-text);
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
}

.tab-content {
  display: none;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.tab-content p {
  font-size: 16px;
  color: var(--secondary-text);
  line-height: 1.8;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}

.team-card h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.team-card .location {
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.metric-item {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.metric-item h3 {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

.metric-item p {
  font-size: 15px;
  color: var(--secondary-text);
}

/* ========================================
   Case Studies Page (Redesigned)
   ======================================== */

/* Hero */
.cs-hero {
  padding: 160px 0 80px;
  background: var(--primary-dark);
  text-align: center;
}

.cs-hero .section-label {
  color: rgba(255, 255, 255, 0.5);
}

.cs-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cs-hero h1 .highlight {
  color: #a8b8e8;
}

.cs-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.cs-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cs-hero-stat {
  text-align: center;
}

.cs-hero-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-heading);
}

.cs-hero-stat span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* Featured Case Study */
.cs-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.cs-featured:hover {
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.cs-featured-image {
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}

.cs-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cs-featured:hover .cs-featured-image img {
  transform: scale(1.03);
}

.cs-featured-content {
  padding: 40px 40px 40px 0;
}

.cs-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(56, 79, 162, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.cs-featured-content h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cs-featured-content p {
  font-size: 15px;
  color: var(--secondary-text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.cs-featured-meta {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.cs-meta-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--tertiary);
  margin-bottom: 4px;
}

.cs-meta-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
}

.cs-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
}

.cs-link:hover {
  gap: 12px;
}

/* Alternating Rows */
.cs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.cs-row:last-child {
  margin-bottom: 0;
}

.cs-row:hover {
  box-shadow: var(--shadow-hover);
  border-color: transparent;
  transform: translateY(-4px);
}

.cs-row-reverse {
  direction: rtl;
}

.cs-row-reverse > * {
  direction: ltr;
}

.cs-row-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
}

.cs-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cs-row:hover .cs-row-image img {
  transform: scale(1.05);
}

.cs-row-content h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cs-row-content p {
  font-size: 15px;
  color: var(--secondary-text);
  line-height: 1.7;
  margin-bottom: 20px;
}

.cs-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.cs-tag-sm {
  display: inline-block;
  padding: 4px 12px;
  background: var(--light-bg);
  color: var(--secondary-text);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid var(--border-light);
}

/* Mini Grid */
.cs-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cs-mini-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--white);
  transition: all var(--transition);
}

.cs-mini-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.cs-mini-image {
  height: 200px;
  overflow: hidden;
}

.cs-mini-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cs-mini-card:hover .cs-mini-image img {
  transform: scale(1.05);
}

.cs-mini-content {
  padding: 24px;
}

.cs-mini-content .cs-tag-sm {
  margin-bottom: 12px;
}

.cs-mini-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cs-mini-content p {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.6;
}

/* CTA Section */
.cs-cta {
  padding: 100px 0;
  background: var(--light-bg);
}

.cs-cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cs-cta-inner h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cs-cta-inner p {
  font-size: 17px;
  color: var(--secondary-text);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cs-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Case Study Detail Page (Redesigned)
   ======================================== */

/* Detail Hero */
.cs-detail-hero {
  padding: 140px 0 80px;
  background: var(--white);
}

.cs-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 32px;
  transition: gap var(--transition);
}

.cs-back-link:hover {
  gap: 12px;
}

.cs-detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cs-detail-hero-content h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cs-detail-hero-content > p {
  font-size: 17px;
  color: var(--secondary-text);
  line-height: 1.7;
  margin-bottom: 28px;
}

.cs-detail-hero-content .cs-tags {
  margin-bottom: 20px;
}

.cs-detail-meta {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.cs-detail-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cs-detail-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Impact Bar */
.cs-impact-bar {
  background: var(--primary-dark);
  padding: 48px 0;
}

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

.cs-impact-stat strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.cs-impact-stat span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Detail Content */
.cs-detail-content {
  max-width: 860px;
  margin: 0 auto;
}

.cs-detail-section {
  margin-bottom: 56px;
}

.cs-detail-section:last-child {
  margin-bottom: 0;
}

.cs-detail-section h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cs-detail-section p {
  font-size: 16px;
  color: var(--secondary-text);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Checklist */
.cs-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.cs-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--medium-gray);
  line-height: 1.6;
  padding: 12px 16px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
}

.cs-check-item i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.cs-checklist-success .cs-check-item i {
  color: var(--green);
}

/* Features Grid */
.cs-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.cs-feature-card {
  padding: 28px;
  background: var(--light-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.cs-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
  background: var(--white);
}

.cs-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(56, 79, 162, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}

.cs-feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cs-feature-card p {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.6;
}

/* Testimonial Block */
.cs-testimonial-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cs-testimonial-quote {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 24px;
}

.cs-testimonial-block blockquote {
  font-size: 20px;
  color: var(--medium-gray);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 28px;
}

.cs-testimonial-block .testimonial-author {
  justify-content: center;
}

/* ========================================
   Case Study Detail Page (Legacy)
   ======================================== */
.case-hero {
  padding: 140px 0 60px;
  background: var(--light-bg);
}

.case-hero .container {
  max-width: 800px;
}

.case-hero h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

.case-hero p {
  font-size: 18px;
  color: var(--secondary-text);
  line-height: 1.7;
}

.case-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.case-content h2 {
  font-size: 28px;
  margin: 48px 0 16px;
}

.case-content h2:first-child {
  margin-top: 0;
}

.case-content p {
  color: var(--secondary-text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.case-content ul {
  list-style: none;
  margin: 16px 0 24px;
}

.case-content ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--medium-gray);
  line-height: 1.6;
}

.case-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.case-feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 32px 0;
  box-shadow: var(--shadow-md);
}

.case-feature-image img {
  width: 100%;
}

/* Impact stats */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.impact-item {
  padding: 20px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  text-align: center;
}

.impact-item .number {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-heading);
}

.impact-item .label {
  font-size: 13px;
  color: var(--secondary-text);
  margin-top: 4px;
}

/* ========================================
   Google Map
   ======================================== */
.map-section {
  width: 100%;
  height: 400px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .case-studies-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about-preview { gap: 40px; }
  .cs-featured { grid-template-columns: 1fr 1fr; }
  .cs-row { gap: 32px; }
}

@media (max-width: 768px) {
  .cs-hero h1 { font-size: 32px; }
  .cs-hero { padding: 120px 0 60px; }
  .cs-hero-stats { gap: 24px; flex-wrap: wrap; }
  .cs-featured { grid-template-columns: 1fr; }
  .cs-featured-content { padding: 28px; }
  .cs-featured-image { min-height: 250px; }
  .cs-featured-meta { flex-direction: column; gap: 16px; }
  .cs-row, .cs-row-reverse { grid-template-columns: 1fr; direction: ltr; }
  .cs-row-reverse > * { direction: ltr; }
  .cs-row-image { height: 220px; }
  .cs-mini-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .hero { padding: 120px 0 60px; }
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-content { text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero p { margin: 0 auto 32px; }
  .hero-image { max-width: 400px; margin: 0 auto; }
  .section { padding: 64px 0; }
  .section-header h2 { font-size: 28px; }

  .nav-links { display: none; }
  .header {
    padding: 8px 12px;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 16px;
    border-radius: 0 0 16px 16px;
    box-shadow: var(--shadow-lg);
  }
  .mobile-menu-btn { display: block; }

  .about-preview { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .case-studies-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .team-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-block { flex-direction: column; text-align: center; padding: 40px 24px; }
  .testimonials-masonry { grid-template-columns: 1fr; }

  .page-hero h1 { font-size: 32px; }
  .case-hero h1 { font-size: 28px; }
  .cs-detail-hero { padding: 120px 0 60px; }
  .cs-detail-hero-grid { grid-template-columns: 1fr; }
  .cs-detail-hero-content h1 { font-size: 28px; }
  .cs-detail-meta { flex-direction: column; gap: 16px; }
  .cs-impact-stats { grid-template-columns: repeat(2, 1fr); }
  .cs-features-grid { grid-template-columns: 1fr; }
  .cs-testimonial-block blockquote { font-size: 17px; }
}
