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

:root {
  --brand: #162045;
  --brand-light: #1e2d5e;
  --brand-lighter: #2a3d78;
  --brand-subtle: #e8ebf2;
  --white: #ffffff;
  --gray-50: #f8f9fc;
  --gray-100: #f0f2f7;
  --gray-300: #c5cad8;
  --gray-500: #6b7280;
  --text: #162045;
  --text-light: #4a5068;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

a { text-decoration: none; color: inherit; }

/* ===== Typography ===== */
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 600; color: var(--brand); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 24px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }

.section-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--brand-lighter);
  margin-bottom: 12px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.btn-primary:hover { background: var(--brand-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(22,32,69,0.25); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: var(--white); color: var(--brand); border-color: var(--white); }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: var(--white);
  box-shadow: 0 1px 12px rgba(22,32,69,0.06);
  transition: all var(--transition);
}
.navbar.scrolled {
  background: var(--white);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.nav-logo img { height: 42px; width: auto; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brand);
  transition: color var(--transition);
  letter-spacing: 0.3px;
}
.nav-links a:hover { color: var(--brand-lighter); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0d1530 0%, var(--brand) 40%, var(--brand-lighter) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(42,61,120,0.3) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(42,61,120,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 24px 80px;
}
.hero-tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

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

/* ===== About ===== */
.about { background: var(--white); }
.about-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
}
.about-text p { color: var(--text-light); font-size: 1.02rem; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-100);
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Services ===== */
.services { background: var(--gray-50); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(22,32,69,0.08);
  border-color: transparent;
}
.service-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--brand);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card p { color: var(--text-light); font-size: 0.92rem; line-height: 1.7; }

/* ===== Team ===== */
.team { background: var(--white); }
.team-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.team-text p { color: var(--text-light); margin-bottom: 24px; font-size: 1.02rem; }
.team-values {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.team-values li {
  padding-left: 24px;
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}
.team-values li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand-lighter);
}
.team-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(22,32,69,0.12);
}
.team-image img { width: 100%; object-fit: cover; }

/* ===== Partners ===== */
.partners { background: var(--white); text-align: center; }
.partners-sub {
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto 48px;
  font-size: 1.02rem;
}
.partners-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.partner-card { max-width: 280px; }
.partner-photo {
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brand-subtle);
  border: 1px solid var(--gray-100);
}
.partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.partner-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.partner-role {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brand-lighter);
  letter-spacing: 0.5px;
}

/* ===== Contact ===== */
.contact {
  background: var(--gray-50);
}
.contact-sub {
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}
.contact-sub a {
  color: var(--brand-lighter);
  font-weight: 500;
  transition: color var(--transition);
}
.contact-sub a:hover { color: var(--brand); }
.contact-form { max-width: 640px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-500); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand-lighter);
  box-shadow: 0 0 0 3px rgba(42,61,120,0.1);
}
.form-group textarea { resize: vertical; }

/* ===== Footer ===== */
.footer {
  background: var(--brand);
  padding: 60px 0 40px;
  color: rgba(255,255,255,0.6);
}
.footer-content { text-align: center; }
.footer-logo {
  height: 80px;
  margin: 0 auto 12px;
}
.footer-brand p {
  font-size: 0.92rem;
  margin-bottom: 28px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .about-text { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-layout { grid-template-columns: 1fr; gap: 40px; }
  .team-image { order: -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(22,32,69,0.1);
  }
  .nav-toggle { display: flex; }

  .hero-content { padding: 140px 24px 60px; }
  .section { padding: 70px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
