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

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

:root {
  --blue: #0000FF;
  --blue-dark: #0000CC;
  --blue-darker: #000099;
  --navy: #0A0F2E;
  --sky: #3366FF;
  --text: #1A202C;
  --muted: #64748B;
  --light: #F7F9FC;
  --white: #FFFFFF;
  --line: #E2E8F0;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
  --max-w: 1200px;
  --gutter: 24px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all 0.3s; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font); color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; }
p { color: var(--muted); line-height: 1.7; }
::selection { background: var(--blue); color: #fff; }

/* Container */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ==================== NAVBAR ==================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter);
  height: 80px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 60px; width: auto; border-radius: 0; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 18px; font-size: 0.92rem; font-weight: 500; color: var(--text);
  border-radius: 10px; position: relative; transition: all 0.25s;
}
.nav-links a:hover { color: var(--blue); background: rgba(0,0,255,0.04); }
.nav-links a::after {
  content:''; position: absolute; bottom: 2px; left: 18px; right: 18px; height: 2px;
  background: var(--blue); border-radius: 2px; transform: scaleX(0); transition: transform 0.3s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  padding: 10px 28px !important; font-weight: 600 !important; color: #fff !important;
  background: var(--blue) !important; border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(0,0,255,0.25);
}
.nav-cta:hover { background: var(--blue-dark) !important; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,255,0.3); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 4px; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none; position: fixed; top: 80px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  flex-direction: column; padding: 24px; gap: 4px; z-index: 999;
  animation: slideDown 0.3s ease;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px; font-size: 1.05rem; font-weight: 500; color: var(--text);
  border-radius: 12px; transition: all 0.2s;
}
.mobile-menu a:hover { background: var(--light); color: var(--blue); }
.mobile-menu .nav-cta {
  margin-top: 12px; text-align: center; display: block;
  padding: 16px !important; font-size: 1.05rem;
}

@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* Spacer for fixed nav */
.nav-spacer { height: 80px; }

/* ==================== HERO ==================== */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  overflow: hidden; background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: brightness(0.4); transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.03); }
.hero-content {
  position: relative; z-index: 2; max-width: 700px; padding: 80px var(--gutter);
  margin: 0 auto 0 max(var(--gutter), calc((100vw - var(--max-w))/2 + var(--gutter)));
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px; color: rgba(255,255,255,0.9); font-size: 0.85rem; font-weight: 500;
  margin-bottom: 24px; backdrop-filter: blur(10px);
}
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: #00FF88; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; color: #fff; margin-bottom: 20px; }
.hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 540px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-family: var(--font); font-size: 0.95rem; font-weight: 600;
  border-radius: 999px; border: none; cursor: pointer; transition: all 0.3s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(0,0,255,0.3); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,255,0.35); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { width: 18px; height: 18px; }

/* ==================== SECTIONS ==================== */
section { padding: 100px 0; }
.section-dark { background: var(--navy); }
.section-dark h2, .section-dark h3, .section-dark p { color: rgba(255,255,255,0.9); }
.section-light { background: var(--light); }
.section-label {
  display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--blue); margin-bottom: 12px;
}
.section-dark .section-label { color: rgba(255,255,255,0.5); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--muted); max-width: 600px; }

/* ==================== CARDS / GRID ==================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; margin-top: 48px; }

.card {
  background: var(--white); border-radius: var(--radius); padding: 36px; border: 1px solid var(--line);
  transition: all 0.4s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; background: rgba(0,0,255,0.06);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card-icon img { width: 32px; height: 32px; border-radius: 0; object-fit: contain; }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 0.95rem; }

.section-dark .card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.section-dark .card:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); }
.section-dark .card-icon { background: rgba(255,255,255,0.08); }

/* Image cards */
.img-card { border-radius: var(--radius); overflow: hidden; }
.img-card img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); transition: transform 0.6s ease; }
.img-card:hover img { transform: scale(1.04); }

/* ==================== SPLIT SECTION (image + text) ==================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; }
.split-img img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); transition: transform 0.6s; }
.split-img:hover img { transform: scale(1.03); }
.split-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.split-text p { margin-bottom: 24px; }

/* ==================== STATS ==================== */
.stats { display: flex; gap: 48px; margin-top: 40px; flex-wrap: wrap; }
.stat-item strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--blue); }
.stat-item span { font-size: 0.9rem; color: var(--muted); }
.section-dark .stat-item strong { color: #fff; }
.section-dark .stat-item span { color: rgba(255,255,255,0.6); }

/* ==================== CTA BANNER ==================== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  border-radius: var(--radius); padding: 60px; text-align: center;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ==================== FOOTER ==================== */
.footer { background: var(--navy); padding: 60px 0 30px; color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 12px; font-size: 0.9rem; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col a { display: block; padding: 4px 0; font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: all 0.2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }

/* ==================== PAGE HERO (inner pages) ==================== */
.page-hero {
  background: var(--navy); padding: 80px 0 60px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,0,255,0.15) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: #fff; position: relative; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; position: relative; }

/* ==================== CONTACT FORM ==================== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 16px; font-family: var(--font); font-size: 0.95rem;
  border: 2px solid var(--line); border-radius: 12px; background: var(--white);
  transition: all 0.3s; color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,0,255,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ==================== ANIMATIONS ==================== */
.fade-up {
  opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }

.slide-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.slide-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.slide-left.visible, .slide-right.visible { opacity: 1; transform: translateX(0); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .hero { min-height: 80vh; }
  .hero-content { margin: 0; padding: 60px var(--gutter); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-img img { height: 280px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { gap: 24px; }
  .stat-item strong { font-size: 1.8rem; }
  .cta-banner { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-inner { height: 70px; }
  .nav-spacer { height: 70px; }
  .nav-logo img { height: 48px; }
}
@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .fade-up, .slide-left, .slide-right { opacity: 1; transform: none; }
}
