/* ============================================================
   VeriGlobe Services — Shared Stylesheet
   Palette: Navy + Gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- Tokens ---- */
:root {
  --navy-900: #080e3a;
  --navy-800: #0c1560;
  --navy-700: #102080;
  --navy-600: #1530b0;
  --navy-500: #1b35cc;
  --gold-500: #f07820;
  --gold-400: #f48c38;
  --gold-300: #f8a860;
  --gold-100: #fef3e8;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 4px 24px rgba(8, 14, 58, 0.10);
  --shadow-lg: 0 12px 40px rgba(8, 14, 58, 0.16);
  --transition: 0.25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
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-700); line-height: 1.75; }

/* ---- Layout ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 { color: var(--navy-800); margin-bottom: 12px; }
.section-title p { color: var(--gray-500); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.section-title .eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 10px;
}

/* ---- Navigation ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white); /* Changed from var(--navy-800) */
  border-bottom: 2px solid var(--gold-500);
  box-shadow: 0 2px 16px rgba(0,0,0,0.1); /* Softened the shadow slightly for a light background */
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Updated Logo Section */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 2px; /* Space between V and Name images */
  text-decoration: none;
}
.logo-img-v {
  height: 60px; /* Adjust this value if the 'v' is too large/small */
  width: auto;
  object-fit: contain;
}
.logo-img-name {
  height: 50px; /* Adjust this value if the 'name' is too large/small */
  width: auto;
  object-fit: contain;
}

/* Retained text logo classes for Footer compatibility */
.nav-v-mark { flex-shrink: 0; display: block; }
.nav-logo-text-block { display: flex; flex-direction: column; line-height: 1.1; }
.nav-wordmark { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.06em; color: var(--white); }
.nav-submark { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 0.6rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); text-transform: uppercase; }

/* legacy compat */
.nav-logo-mark { display: none; }
.nav-logo-text { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.06em; color: var(--white); }
.nav-logo-text span { color: var(--gold-400); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy-800); /* Changed from transparent white */
  border-radius: 6px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { 
  color: var(--gold-500); 
  background: rgba(12, 21, 96, 0.05); /* Light navy tint on hover */
}
.nav-cta {
  background: var(--gold-500) !important;
  color: var(--navy-900) !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
}
.nav-cta:hover { 
  background: var(--gold-400) !important; 
  color: var(--navy-900) !important; 
}
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { 
  display: block; 
  width: 24px; 
  height: 2px; 
  background: var(--navy-800); /* Changed from var(--white) */
  border-radius: 2px; 
  transition: var(--transition); 
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-400); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,153,42,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--gold-300); color: var(--gold-300); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-600); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, #1a3a6e 100%);
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9992a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(201,153,42,0.15);
  border: 1px solid rgba(201,153,42,0.35);
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); max-width: 700px; margin-bottom: 20px; }
.hero h1 span { color: var(--gold-400); }
.hero p { color: rgba(255,255,255,0.72); max-width: 580px; font-size: 1.1rem; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge-row {
  display: flex; gap: 24px; margin-top: 56px; flex-wrap: wrap;
}
.hero-badge {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 16px 22px;
  display: flex; align-items: center; gap: 12px;
}
.hero-badge-num { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--gold-400); }
.hero-badge-label { font-size: 0.8rem; color: rgba(255,255,255,0.65); line-height: 1.3; }

/* ---- Service Cards ---- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-600), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(8,14,58,0.13); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(21,48,176,0.07) 0%, rgba(240,120,32,0.06) 100%);
  border: 1px solid rgba(21,48,176,0.12);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--navy-600);
}
.service-icon svg { width: 26px; height: 26px; stroke-width: 1.6; }
.service-card h3 { color: var(--navy-800); margin-bottom: 12px; }
.service-card p { font-size: 0.93rem; margin-bottom: 22px; }
.service-card .card-link {
  font-size: 0.85rem; font-weight: 600;
  color: var(--gold-500);
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.service-card .card-link:hover { gap: 10px; }

/* ---- Why VeriGlobe ---- */
.why-bg { background: var(--navy-800); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2px; }
.why-item {
  text-align: center; padding: 40px 28px;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
}
.why-item:last-child { border-right: none; }
.why-item:hover { background: rgba(255,255,255,0.03); }
.why-icon {
  width: 56px; height: 56px;
  background: rgba(240,120,32,0.12);
  border: 1px solid rgba(240,120,32,0.22);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--gold-400);
}
.why-icon svg { width: 24px; height: 24px; stroke-width: 1.6; }
.why-item h4 { color: var(--white); margin-bottom: 8px; font-size: 1rem; }
.why-item p { color: rgba(255,255,255,0.52); font-size: 0.88rem; line-height: 1.65; }

/* ---- Stats bar ---- */
.stats-bar { background: var(--gold-500); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--navy-900); }
.stat-label { font-size: 0.85rem; font-weight: 500; color: var(--navy-700); margin-top: 4px; }

/* ---- Feature list (service pages) ---- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feature-item {
  display: flex; gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  align-items: flex-start;
}
.feature-item:hover { border-color: rgba(21,48,176,0.25); box-shadow: 0 4px 20px rgba(8,14,58,0.08); transform: translateY(-2px); }
.feature-dot {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--navy-800);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.feature-dot svg { width: 18px; height: 18px; stroke-width: 1.8; }
.feature-item h4 { color: var(--navy-800); margin-bottom: 5px; font-size: 0.97rem; }
.feature-item p { font-size: 0.86rem; line-height: 1.6; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,153,42,0.12) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold-300); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 12px; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 560px; font-size: 1.05rem; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb span { color: var(--gold-400); }

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.68); max-width: 500px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Aarambh spotlight ---- */
.aarambh-spotlight {
  background: linear-gradient(135deg, #1a1060 0%, #2d1b8a 60%, #1e3a8a 100%);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.aarambh-spotlight-text h3 { color: var(--white); font-size: 1.7rem; margin-bottom: 10px; }
.aarambh-spotlight-text h3 span { color: #a5f3fc; }
.aarambh-spotlight-text p { color: rgba(255,255,255,0.68); max-width: 460px; }
.aarambh-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(165,243,252,0.12);
  border: 1px solid rgba(165,243,252,0.3);
  color: #a5f3fc;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---- About page ---- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.value-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  background: var(--white);
}
.value-card:hover { border-color: rgba(21,48,176,0.25); box-shadow: 0 8px 32px rgba(8,14,58,0.09); transform: translateY(-3px); }
.value-card .icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(21,48,176,0.07), rgba(240,120,32,0.07));
  border: 1px solid rgba(21,48,176,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--navy-600);
}
.value-card .icon svg { width: 28px; height: 28px; stroke-width: 1.5; }
.value-card h4 { color: var(--navy-800); margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.team-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--gold-500));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 700;
}
.team-card h4 { color: var(--navy-800); margin-bottom: 4px; }
.team-card .role { font-size: 0.85rem; color: var(--gold-500); font-weight: 500; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info h3 { color: var(--navy-800); margin-bottom: 20px; }
.contact-detail {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
}
.contact-detail:last-child { border-bottom: none; }
.contact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(21,48,176,0.07), rgba(240,120,32,0.06));
  border: 1px solid rgba(21,48,176,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-600);
}
.contact-icon svg { width: 20px; height: 20px; stroke-width: 1.7; }
.contact-detail h5 { color: var(--navy-800); font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
.contact-detail p { font-size: 0.88rem; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form h3 { color: var(--navy-800); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--gray-700); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201,153,42,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-900);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .nav-wordmark { font-size: 1.05rem; }
.footer-brand .nav-logo-text { font-size: 1.05rem; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.87rem; margin-top: 14px; max-width: 260px; line-height: 1.7; }
.footer-col h5 { color: var(--gold-400); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 0.87rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold-300); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom {
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.82rem; }
.footer-bottom a { color: var(--gold-500); }

/* ---- Divider ---- */
.gold-divider { width: 56px; height: 3px; background: var(--gold-500); border-radius: 2px; margin: 16px 0 28px; }
.gold-divider-center { margin: 16px auto 28px; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy-800); padding: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .site-nav { position: relative; }
  .hero { padding: 72px 0 64px; }
  .hero-badge-row { gap: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .aarambh-spotlight { padding: 36px 28px; }
  .section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}