/* ===== CSS Variables ===== */
:root {
  --primary: #5F91D3;
  --primary-dark: #3A6FB0;
  --primary-light: #8BB0E3;
  --accent: #1E2A3A;
  --bg: #F8FAFD;
  --bg-white: #FFFFFF;
  --text: #2D3748;
  --text-light: #64748B;
  --text-white: #FFFFFF;
  --shadow: 0 4px 24px rgba(95, 145, 211, 0.12);
  --shadow-hover: 0 8px 32px rgba(95, 145, 211, 0.22);
  --radius: 16px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(95, 145, 211, 0.1);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.navbar-logo img {
  height: 56px;
  width: auto;
}

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

.nav-links a {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(95, 145, 211, 0.08);
}

.nav-links .btn-nav {
  background: var(--primary);
  color: var(--text-white);
  padding: 8px 22px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-links .btn-nav:hover {
  background: var(--primary-dark);
  color: var(--text-white);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  margin: 6px 0;
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Hero Section ===== */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--accent) 0%, #2a3f5f 50%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(95, 145, 211, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(95, 145, 211, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.6;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--primary);
  color: var(--text-white);
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(95, 145, 211, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(95, 145, 211, 0.45);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(95, 145, 211, 0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* ===== Value Props ===== */
.values {
  background: var(--bg-white);
}

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

.value-card {
  padding: 40px 32px;
  background: var(--bg);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(95, 145, 211, 0.15);
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.value-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

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

/* ===== Ventures Section ===== */
.ventures {
  background: var(--bg);
}

.ventures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}

.venture-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  transition: all var(--transition);
  border: 1px solid rgba(95, 145, 211, 0.08);
}

.venture-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.venture-card img {
  max-height: 60px;
  max-width: 180px;
  object-fit: contain;
}

/* ===== Team Page ===== */
.team-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--accent) 0%, #2a3f5f 50%, var(--primary-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.team-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(95, 145, 211, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.team-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.team-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid rgba(95, 145, 211, 0.08);
}

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

.team-card-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, #e8eef7, #dce5f3);
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

.team-card-body {
  padding: 28px 28px 32px;
}

.team-card-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.team-card-body .role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
  display: block;
}

.team-card-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===== Footer ===== */
.footer {
  background: var(--accent);
  padding: 48px 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

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

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

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

  .ventures-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(95, 145, 211, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 130px 0 70px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .section {
    padding: 70px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .ventures-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer .container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .team-hero h1 {
    font-size: 2.2rem;
  }
}
