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

:root {
  /* Colors */
  --primary: #2C3E50;
  --accent: #0EA5E9;
  --white: #FFFFFF;
  --bg-light: #F8FAFC;
  --text-muted: #64748B;
  --border: #E2E8F0;

  /* Typography */
  --font-serif: "Fraunces", serif;
  --font-sans: "Inter", "Manrope", sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --section-padding-mobile: 50px;
  --container-max: 1200px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(44, 62, 80, 0.06);
  --shadow-md: 0 8px 24px rgba(44, 62, 80, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

.section {
  padding: var(--section-padding) 0;
  scroll-margin-top: 100px;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 20px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary);
}

.logo-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #E0F2FE 0%, #CCFBF1 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent);
}

.logo-text {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Hero Section */
.hero {
  min-height: 60vh;
  min-height: max(60vh, 500px);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
  padding-top: 120px;
  padding-bottom: 80px;
  scroll-margin-top: 0;
}

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

.hero-content h1 {
  max-width: 16ch;
  margin-bottom: 24px;
}

.hero-text {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 45ch;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-expansion-visual {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  background: white;
}

.hero-value-card {
  padding: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.formula-title {
  color: var(--primary);
  margin-bottom: 32px;
  font-size: 1.3rem;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.formula-section {
  padding: 20px;
  background: rgba(248, 250, 252, 0.5);
  border-radius: 12px;
  margin: 16px 0;
}

.formula-section.highlight {
  background: rgba(14, 165, 233, 0.05);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.formula-section.result {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid var(--accent);
}

.formula-label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.formula-operator {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin: 8px 0;
}

.formula-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}

.formula-list li {
  padding: 6px 0;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
}

.formula-list li:before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent);
  font-weight: 700;
}

/* Capabilities Section */
.capabilities-section {
  background: var(--white);
}

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

.capability-card {
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.capability-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.capability-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.capability-card h3 {
  color: var(--primary);
  margin-bottom: 12px;
}

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

/* Expert Network Section */
.experts-section {
  background: var(--bg-light);
}

.experts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.experts-content h2 {
  margin-bottom: 20px;
}

.experts-content p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.experts-photo {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.institutional-experience {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
}

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

.company-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.company-logo {
  height: 48px;
  width: auto;
  max-width: 180px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.company-logo:hover {
  opacity: 1;
}

/* International Reach Section */
.reach-section {
  background: var(--white);
}

.reach-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.reach-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.contact-card {
  padding: 60px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 251, 255, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-branding {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-logo-mark {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #E0F2FE 0%, #CCFBF1 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.contact-company h2 {
  margin-bottom: 8px;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.contact-description {
  max-width: 700px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.contact-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
}

.contact-info {
  display: flex;
  gap: 60px;
}

.contact-info-item {
  flex: 1;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.contact-address {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--primary);
  font-weight: 500;
  margin: 0;
}

/* Footer */
.site-footer {
  padding: 60px 0 40px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  margin-bottom: 4px;
}

.footer-email {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.footer-email:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent);
}

/* Smooth interactions */
a, button {
  transition: all 0.2s ease;
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  :root {
    --section-padding: 50px;
  }

  .nav-links {
    display: none; /* Simplified for now, can add hamburger menu later */
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content h1 {
    max-width: 100%;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .experts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .experts-visual {
    order: -1; /* Show photo first on mobile */
  }

  .contact-card {
    padding: 40px 24px;
  }

  .contact-branding {
    flex-direction: column;
    text-align: center;
  }

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

  .contact-info {
    flex-direction: column;
    gap: 30px;
  }

  .contact-info-item {
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
