﻿:root {
  --blue: #1e3a8a;
  --blue-dark: #172554;
  --teal: #14b8a6;
  --teal-dark: #0d9488;
  --yellow: #facc15;
  --light: #f9fafb;
  --text: #111827;
  --muted: #4b5563;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
}

.brand img { height: 48px; width: auto; object-fit: contain; }

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

.nav a {
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover { color: #bfdbfe; }

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 1.5rem 1rem;
  gap: 12px;
  background: var(--blue);
}

.nav-mobile a { color: #e0f2fe; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(10, 31, 68, 0.8), rgba(0, 255, 255, 0.1)),
    url('./assets/images/hero-bg.jfif')
    center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30,58,138,0.25), rgba(20,184,166,0.2));
  animation: pulse 4s ease-in-out infinite;
}

.hero-animations .bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(56,189,248,0.7);
  animation: bounce 4s ease-in-out infinite;
}

.b1 { width: 16px; height: 16px; top: 80px; left: 40px; animation-duration: 3s; }
.b2 { width: 12px; height: 12px; top: 180px; right: 80px; animation-duration: 4s; animation-delay: 0.5s; }
.b3 { width: 20px; height: 20px; bottom: 200px; left: 80px; animation-duration: 5s; animation-delay: 1s; }
.b4 { width: 10px; height: 10px; bottom: 260px; right: 50px; animation-duration: 3.5s; animation-delay: 1.5s; }

.hero-animations .icon {
  position: absolute;
  color: rgba(125,211,252,0.6);
  animation: pulse 2.5s ease-in-out infinite;
}

.i1 { top: 120px; right: 120px; font-size: 32px; }
.i2 { bottom: 140px; left: 140px; font-size: 40px; animation-duration: 3s; }
.i3 { top: 50%; left: 60px; font-size: 28px; animation-duration: 3.5s; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 800;
}

.hero h1 .accent { color: #22d3ee; }

.hero p {
  font-size: clamp(18px, 3vw, 22px);
  margin: 0 0 28px;
  color: #e0f2fe;
}

.hero-actions { margin-bottom: 32px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.stat { animation: bounce 4s ease-in-out infinite; }
.stat:nth-child(2) { animation-delay: 0.5s; }
.stat:nth-child(3) { animation-delay: 1s; }

.stat-value {
  font-size: 26px;
  font-weight: 700;
  color: #22d3ee;
}

.stat-label { font-size: 13px; color: #dbeafe; }

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1.8s ease-in-out infinite;
  color: #22d3ee;
  opacity: 0.8;
}

.section { padding: 96px 0; }

.bg-light { background: var(--light); }
.bg-white { background: #fff; }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 36px);
  color: var(--blue);
  margin: 0 0 12px;
}

.section-header p {
  color: var(--muted);
  margin: 0;
  font-size: 18px;
}

.grid.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.image-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-top: 28px;
}

.stat-card {
  text-align: center;
  background: #f8fafc;
  border-radius: var(--radius);
  padding: 16px;
}

.stat-number { color: var(--teal); font-size: 28px; font-weight: 700; }
.stat-text { color: var(--muted); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }

.card img { width: 100%; height: 190px; object-fit: cover; }

.card-body { padding: 18px; }

.card-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 22px;
  margin-bottom: 12px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--blue);
  font-weight: 700;
}

.card-text { margin: 0; color: var(--muted); font-size: 15px; }

.projects-grid .card img { height: 220px; }

.tag {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.impact {
  display: inline-block;
  background: #ccfbf1;
  color: #0f766e;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
}

.cta-banner {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--blue), var(--teal));
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.cta-banner h3 { margin: 0 0 8px; font-size: 22px; }
.cta-banner p { margin: 0 0 18px; color: #e0f2fe; }

.contact-grid { gap: 32px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ccfbf1;
  color: #0f766e;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.icon-box.gradient {
  background: linear-gradient(135deg, #9333ea, #ec4899, #fb923c);
  color: #fff;
}

.contact-item h4 { margin: 0 0 4px; color: var(--blue); }
.contact-item a { color: var(--muted); font-weight: 600; }
.contact-item a:hover { color: var(--teal-dark); }

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.form-row label { font-weight: 600; color: #374151; }

input, textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.2);
}

textarea { resize: vertical; }

.char-count { text-align: right; font-size: 12px; color: #6b7280; }

.alert {
  display: none;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
}

.alert.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert.error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 25px rgba(20,184,166,0.35);
}

.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-secondary {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.btn-secondary:hover { background: #f8fafc; transform: translateY(-1px); }

.btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.site-footer {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 28px 0;
  margin-top: -2px;
}

.footer-inner { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.footer-links a { color: var(--yellow); font-weight: 600; }
.footer-links a:hover { color: #fef08a; }
.footer-links span { color: #d1d5db; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@media (max-width: 900px) {
  .grid.two-col { grid-template-columns: 1fr; }
  .header-inner { height: 64px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .nav-mobile { display: none; }
  .nav-mobile.open { display: flex; }
  .hero { text-align: center; padding: 120px 0 90px; }
  .hero-stats { gap: 10px; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .cards-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
