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

:root {
  --navy-900: #040d1a;
  --navy-800: #091a2e;
  --navy-700: #0f2240;
  --navy-600: #162d54;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-100: #dbeafe;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-100: #ccfbf1;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --red-500: #ef4444;
  --amber-500: #f59e0b;
  --green-500: #22c55e;
  --font-heading: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.18);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--blue-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-600); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.2; color: var(--navy-900); }

/* === HEADER & NAVIGATION === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 2px solid var(--blue-500);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo span { color: var(--teal-400); }

.nav-list {
  list-style: none;
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav-list a {
  color: var(--slate-300);
  font-weight: 500;
  font-size: 0.975rem;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--white);
  border-bottom-color: var(--teal-400);
}

/* === FOOTER === */
.site-footer {
  background: var(--navy-900);
  color: var(--slate-400);
  padding: 3.5rem 2rem 2rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-col h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: var(--slate-400); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--teal-400); }
.footer-bottom {
  max-width: 1280px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-700);
  text-align: center;
  font-size: 0.825rem;
  color: var(--slate-500);
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  font-size: 0.975rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--blue-500);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-600);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy-900);
}
.btn-teal {
  background: var(--teal-600);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--teal-500);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

/* === SECTION COMMONS === */
.section {
  padding: 5rem 2rem;
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-500);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-500);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* === HERO (HOME) === */
.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 40%, var(--navy-600) 100%);
  color: var(--white);
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(45,212,191,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-block;
  background: rgba(45,212,191,0.18);
  border: 1px solid rgba(45,212,191,0.35);
  color: var(--teal-400);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.2rem;
}
.hero h1 span { color: var(--teal-400); }
.hero p {
  font-size: 1.15rem;
  color: var(--slate-300);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(4px);
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.hero-stat {
  text-align: center;
  padding: 1.2rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
}
.hero-stat .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-400);
  display: block;
}
.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === SERVICES (HOME) === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
}
.service-card:nth-child(2) .service-icon { background: var(--teal-100); }
.service-card:nth-child(3) .service-icon { background: #fef3c7; }
.service-card:nth-child(4) .service-icon { background: #ede9fe; }
.service-card:nth-child(5) .service-icon { background: #fce7f3; }
.service-card:nth-child(6) .service-icon { background: #e0f2fe; }
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--navy-900);
}
.service-card p {
  font-size: 0.925rem;
  color: var(--slate-500);
  line-height: 1.65;
}

/* === ABOUT / CTA STRIP === */
.about-strip {
  background: var(--navy-800);
  color: var(--white);
  padding: 4rem 2rem;
}
.about-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-strip h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.about-strip p {
  color: var(--slate-300);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.about-list {
  list-style: none;
}
.about-list li {
  padding: 0.55rem 0;
  color: var(--slate-300);
  font-size: 0.975rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.about-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--teal-400);
  border-radius: 50%;
  flex-shrink: 0;
}

.cta-card {
  background: linear-gradient(135deg, var(--blue-500), var(--teal-600));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}
.cta-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 0.5rem; }
.cta-card p { color: rgba(255,255,255,0.9); font-size: 1rem; margin-bottom: 1.5rem; }

/* === CONTACT (HOME) === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}
.contact-info > p {
  color: var(--slate-500);
  margin-bottom: 2rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.contact-detail .cd-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}
.contact-detail span { color: var(--slate-500); font-size: 0.925rem; }

.contact-form {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

/* === PAGE BANNER (inner pages) === */
.page-banner {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}
.page-banner h1 {
  color: var(--white);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.page-banner p { color: var(--slate-300); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* === POLICY / LEGAL CONTENT === */
.policy-section {
  padding: 4rem 2rem;
  background: var(--white);
}
.policy-inner {
  max-width: 880px;
  margin: 0 auto;
}
.policy-inner h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 2.5rem 0 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--slate-200);
}
.policy-inner h2:first-child { margin-top: 0; }
.policy-inner h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-700);
  margin: 1.5rem 0 0.5rem;
}
.policy-inner p {
  font-size: 0.975rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.policy-inner ul {
  margin: 0.5rem 0 1.2rem 1.5rem;
}
.policy-inner ul li {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}
.policy-inner .last-updated {
  display: inline-block;
  background: var(--slate-100);
  color: var(--slate-500);
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.policy-inner .contact-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}
.policy-inner .contact-box p { margin-bottom: 0.4rem; }

/* === 404 PAGE === */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
  padding: 4rem 2rem;
}
.page-404-inner { max-width: 560px; }
.error-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1;
  letter-spacing: -4px;
  margin-bottom: 0.5rem;
}
.error-code span { color: var(--teal-500); }
.page-404 h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.8rem;
}
.page-404 p {
  color: var(--slate-500);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.page-404 .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .about-strip-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .header-inner { flex-direction: column; height: auto; padding: 1rem; gap: 0.8rem; }
  .nav-list { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
  .hero { padding: 3rem 1.2rem; }
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 1.8rem; }
  .error-code { font-size: 5rem; }
}
