/* ============================================================
   CLARITY RESEARCH AND COUNSELING - Main Stylesheet
   Color Palette:
     Navy:  #0B1F3A
     Gold:  #F4A300
     White: #FFFFFF
     Gray:  #F5F6FA
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy:       #0B1F3A;
  --navy-dark:  #071426;
  --navy-mid:   #122848;
  --gold:       #F4A300;
  --gold-light: #FFB92A;
  --gold-dark:  #C98800;
  --white:      #FFFFFF;
  --gray-bg:    #F5F6FA;
  --gray-light: #E8ECF2;
  --gray-mid:   #94A3B8;
  --gray-text:  #4A5568;
  --text-dark:  #1A202C;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 2px 8px rgba(11,31,58,0.08);
  --shadow-md:  0 8px 32px rgba(11,31,58,0.12);
  --shadow-lg:  0 20px 60px rgba(11,31,58,0.18);
  --shadow-gold: 0 8px 32px rgba(244,163,0,0.25);

  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: 0.2s ease;
}

/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
  --white:      #0F172A;
  --gray-bg:    #1E293B;
  --gray-light: #334155;
  --gray-text:  #CBD5E1;
  --text-dark:  #F1F5F9;
  --navy:       #1E3A5F;
  --navy-dark:  #0F172A;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.2; color: var(--navy); }
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5 { color: var(--text-dark); }

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--gray-text); line-height: 1.8; }
[data-theme="dark"] p { color: var(--gray-text); }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }
.section--gray { background: var(--gray-bg); }
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(244,163,0,0.12);
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-header p {
  margin-top: 16px;
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(244,163,0,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  padding-top: 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--navy-dark);
  font-weight: 800;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.nav-logo-tagline {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  font-size: 0.9rem;
}
.theme-toggle:hover { background: rgba(255,255,255,0.2); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-fast);
}
.hamburger span:nth-child(1) { width: 24px; }
.hamburger span:nth-child(2) { width: 18px; }
.hamburger span:nth-child(3) { width: 24px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 24px; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 24px; }

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #0F2D4A 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(244,163,0,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(244,163,0,0.05) 0%, transparent 40%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(244,163,0,0.4);
  border-radius: 100px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
}

.hero-title .accent {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 580px;
  background: linear-gradient(135deg, rgba(244,163,0,0.2), rgba(11,31,58,0.8));
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  mix-blend-mode: luminosity;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--navy-dark) 0%, transparent 60%);
}

.hero-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
}

.hero-card--1 {
  bottom: 32px;
  left: -32px;
}

.hero-card--2 {
  top: 32px;
  right: -24px;
}

.hero-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.hero-card-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

.hero-card-icon {
  width: 36px;
  height: 36px;
  background: rgba(244,163,0,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-dot {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-scroll-dot::after {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
  top: 4px;
  animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  80%       { transform: translateY(10px); opacity: 0; }
}

/* ---------- Stats Section ---------- */
.stats-section {
  background: var(--navy);
  padding: 80px 0;
}

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

.stat-item {
  text-align: center;
  padding: 48px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .service-card {
  background: var(--gray-bg);
  border-color: rgba(255,255,255,0.06);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(244,163,0,0.15), rgba(244,163,0,0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-dark);
  margin-bottom: 24px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.925rem;
  line-height: 1.75;
}

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.why-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-feature-icon {
  width: 52px;
  height: 52px;
  background: var(--gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.why-feature-text h4 { margin-bottom: 6px; }
.why-feature-text p { font-size: 0.9rem; }

.why-image {
  position: relative;
}

.why-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
}

.why-image-main img { width: 100%; height: 100%; object-fit: cover; }

.why-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.why-badge-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1;
}

.why-badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--navy); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.testimonial-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }

.testimonial-quote {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1;
}

.testimonial-text {
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 28px;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.testimonial-name { color: var(--white); font-weight: 600; font-size: 0.95rem; }
.testimonial-role { color: var(--gold); font-size: 0.78rem; font-weight: 500; margin-top: 2px; }

.testimonial-stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 16px; }

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(244,163,0,0.08) 0%, transparent 70%);
}

.cta-section h2 { color: var(--white); position: relative; z-index: 1; }
.cta-section p  { color: rgba(255,255,255,0.65); margin: 20px auto 40px; max-width: 560px; position: relative; z-index: 1; font-size: 1.05rem; }

.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
}

.footer-main {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin: 20px 0 28px; }

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

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.social-icon:hover { background: var(--gold); color: var(--navy-dark); }

.footer-heading {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-links li + li { margin-top: 10px; }
.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.footer-contact-item i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.footer-bottom a { color: var(--gold); }

/* ---------- About Page ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(244,163,0,0.08) 0%, transparent 60%);
}

.page-hero h1 { color: var(--white); position: relative; z-index: 1; }
.page-hero p  { color: rgba(255,255,255,0.65); margin-top: 16px; font-size: 1.05rem; position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.25); }

/* Mission / Vision / Values */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.mvv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--gold);
  text-align: center;
}

[data-theme="dark"] .mvv-card { background: var(--gray-bg); }

.mvv-icon {
  width: 64px;
  height: 64px;
  background: rgba(244,163,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-dark);
  margin: 0 auto 20px;
}

/* Founder Section */
.founder-section {
  padding: 100px 0;
  background: var(--navy);
}

.founder-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: center;
}

.founder-image-wrap {
  position: relative;
}

.founder-image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, rgba(244,163,0,0.2), rgba(15,36,74,0.9));
}

.founder-image-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; mix-blend-mode: luminosity; }

.founder-credentials {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  text-align: center;
  white-space: nowrap;
  box-shadow: var(--shadow-gold);
}

.founder-cred-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--navy-dark); }
.founder-cred-sub   { font-size: 0.75rem; color: var(--navy); font-weight: 600; margin-top: 2px; }

.founder-content h2 { color: var(--white); margin-bottom: 8px; }
.founder-role       { color: var(--gold); font-weight: 600; margin-bottom: 24px; display: block; }
.founder-content p  { color: rgba(255,255,255,0.7); margin-bottom: 16px; }

.founder-quals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.qual-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}

.qual-item i  { color: var(--gold); }
.qual-item span { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

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

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  text-align: center;
}
[data-theme="dark"] .value-card { background: var(--gray-bg); border-color: rgba(255,255,255,0.06); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card-num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: rgba(244,163,0,0.15); line-height: 1; }
.value-card h3  { margin: 8px 0 12px; }

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

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}
[data-theme="dark"] .service-detail-card { background: var(--gray-bg); border-color: rgba(255,255,255,0.06); }
.service-detail-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.service-detail-top {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 36px 32px;
  position: relative;
}

.service-detail-icon {
  width: 64px;
  height: 64px;
  background: var(--gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--navy-dark);
  margin-bottom: 16px;
}

.service-detail-top h3 { color: var(--white); }

.service-detail-body { padding: 32px; }
.service-detail-body p { font-size: 0.9rem; margin-bottom: 20px; }

.service-benefits { list-style: none; }
.service-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--gray-text);
  border-bottom: 1px solid var(--gray-light);
}
.service-benefits li:last-child { border-bottom: none; }
.service-benefits li i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }

/* ---------- Projects Page ---------- */
.filter-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--gray-light);
  color: var(--gray-text);
  transition: var(--transition-fast);
}

[data-theme="dark"] .filter-btn {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}
[data-theme="dark"] .project-card { background: var(--gray-bg); border-color: rgba(255,255,255,0.06); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.project-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  position: relative;
  overflow: hidden;
}

.project-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }

.project-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-body { padding: 28px; }
.project-body h3 { margin-bottom: 10px; font-size: 1.05rem; }
.project-body p  { font-size: 0.875rem; margin-bottom: 16px; }

.project-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--gray-mid);
}

.project-meta span { display: flex; align-items: center; gap: 5px; }

/* ---------- Blog Page ---------- */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
}

.blog-featured {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  margin-bottom: 40px;
}
[data-theme="dark"] .blog-featured { background: var(--gray-bg); border-color: rgba(255,255,255,0.06); }

.blog-featured-image {
  aspect-ratio: 16/8;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  position: relative;
  overflow: hidden;
}

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

.featured-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-featured-body { padding: 40px; }
.blog-featured-body h2 { margin-bottom: 14px; font-size: 1.7rem; }
.blog-featured-body p  { margin-bottom: 24px; }

.blog-meta {
  display: flex;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--gray-mid);
  margin-bottom: 16px;
}

.blog-meta span { display: flex; align-items: center; gap: 5px; }

.blog-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}
[data-theme="dark"] .blog-card { background: var(--gray-bg); border-color: rgba(255,255,255,0.06); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.blog-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  overflow: hidden;
}

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

.blog-card-body { padding: 24px; }
.blog-card-body h3 { font-size: 1rem; margin-bottom: 8px; }
.blog-card-body p  { font-size: 0.85rem; margin-bottom: 12px; }
.blog-card-tag {
  display: inline-block;
  background: rgba(244,163,0,0.12);
  color: var(--gold-dark);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

/* Sidebar */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-light);
  margin-bottom: 28px;
}
[data-theme="dark"] .sidebar-widget { background: var(--gray-bg); border-color: rgba(255,255,255,0.06); }

.sidebar-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}
[data-theme="dark"] .sidebar-title { color: var(--text-dark); }

.category-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-light);
  cursor: pointer;
  transition: var(--transition-fast);
}
[data-theme="dark"] .category-list li { border-color: rgba(255,255,255,0.08); color: var(--gray-text); }
.category-list li:hover { color: var(--gold-dark); padding-left: 4px; }
.cat-count { background: var(--gray-light); color: var(--gray-text); padding: 2px 8px; border-radius: 100px; font-size: 0.75rem; }
[data-theme="dark"] .cat-count { background: rgba(255,255,255,0.1); color: var(--gray-text); }

.recent-post {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
}
[data-theme="dark"] .recent-post { border-color: rgba(255,255,255,0.08); }
.recent-post:last-child { border-bottom: none; }

.recent-post-image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  flex-shrink: 0;
  overflow: hidden;
}
.recent-post-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }

.recent-post-title { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; line-height: 1.3; }
[data-theme="dark"] .recent-post-title { color: var(--text-dark); }
.recent-post-date  { font-size: 0.75rem; color: var(--gray-mid); }

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

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-light);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}
[data-theme="dark"] .contact-info-card { background: var(--gray-bg); border-color: rgba(255,255,255,0.06); }
.contact-info-card:hover { box-shadow: var(--shadow-md); }

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text h4 { margin-bottom: 4px; }
.contact-info-text p  { font-size: 0.9rem; }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-md);
}
[data-theme="dark"] .contact-form-wrap { background: var(--gray-bg); border-color: rgba(255,255,255,0.06); }

.form-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
[data-theme="dark"] .form-title { color: var(--text-dark); }
.form-subtitle { font-size: 0.9rem; color: var(--gray-mid); margin-bottom: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
[data-theme="dark"] .form-label { color: var(--text-dark); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition-fast);
  outline: none;
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea {
  background: var(--gray-light);
  border-color: rgba(255,255,255,0.12);
  color: var(--text-dark);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244,163,0,0.12); }

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

.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 64px;
  height: 400px;
  background: var(--gray-light);
  border: 1px solid var(--gray-light);
}

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

/* FAQ */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-light);
  overflow: hidden;
  transition: var(--transition);
}
[data-theme="dark"] .faq-item { background: var(--gray-bg); border-color: rgba(255,255,255,0.06); }

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}
.faq-question:hover { color: var(--gold-dark); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: var(--transition-fast);
  flex-shrink: 0;
}
[data-theme="dark"] .faq-icon { background: rgba(255,255,255,0.1); color: var(--text-dark); }

.faq-item.open .faq-icon { background: var(--gold); color: var(--navy-dark); transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}

.faq-answer-inner {
  padding: 0 24px 24px;
  color: var(--gray-text);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 999;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse 3s infinite;
}

.whatsapp-float:hover { transform: scale(1.1); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 6px 40px rgba(37,211,102,0.6); }
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 46px;
  height: 46px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--navy-dark); }

/* ---------- Loading Overlay ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden { opacity: 0; visibility: hidden; }

.loader-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

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

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  animation: loadBar 1.5s ease-out forwards;
}

@keyframes loadBar {
  from { width: 0; }
  to   { width: 100%; }
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Newsletter ---------- */
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
}

.newsletter-input {
  flex: 1;
  padding: 13px 18px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-input:focus { border-color: var(--gold); }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -47px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(244,163,0,0.2);
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.timeline-title { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.timeline-desc  { font-size: 0.875rem; color: var(--gray-text); }

/* ---------- Typing Animation ---------- */
.typing-text::after {
  content: '|';
  color: var(--gold);
  animation: blink 1s infinite;
}

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

/* ---------- Mobile Menu ---------- */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-link { padding: 14px 24px; width: 100%; border-radius: 0; display: block; }
  .nav-btn-wrap { padding: 16px 24px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-content        { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual         { max-width: 500px; margin: 0 auto; }
  .footer-main         { grid-template-columns: 1fr 1fr; gap: 40px; }
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .stats-grid          { grid-template-columns: repeat(2, 1fr); }
  .stat-item           { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .testimonials-grid   { grid-template-columns: repeat(2, 1fr); }
  .why-grid            { grid-template-columns: 1fr; }
  .why-image           { display: none; }
  .founder-grid        { grid-template-columns: 1fr; }
  .founder-image-wrap  { max-width: 380px; }
  .services-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid       { grid-template-columns: repeat(2, 1fr); }
  .blog-layout         { grid-template-columns: 1fr; }
  .contact-grid        { grid-template-columns: 1fr; }
  .mvv-grid            { grid-template-columns: 1fr; margin-top: 40px; }
  .values-grid         { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section             { padding: 64px 0; }
  .services-grid       { grid-template-columns: 1fr; }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .footer-main         { grid-template-columns: 1fr; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .projects-grid       { grid-template-columns: 1fr; }
  .blog-cards          { grid-template-columns: 1fr; }
  .form-row            { grid-template-columns: 1fr; }
  .hero-stats          { gap: 24px; flex-wrap: wrap; }
  .contact-form-wrap   { padding: 28px; }
  .values-grid         { grid-template-columns: 1fr; }
  .footer-bottom       { flex-direction: column; gap: 8px; text-align: center; }
  .hero-card--1        { left: 0; }
  .hero-card--2        { right: 0; }
}
