/* AMI Website — Custom Styles */

:root {
  --navy: #0F2557;
  --navy-light: #1E3A8A;
  --teal: #0A8F8F;
  --teal-light: #5DE0D8;
  --charcoal: #1a1a2e;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
}

* { 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(--gray-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15, 37, 87, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 32px; height: 32px; filter: brightness(0) invert(1); }
.nav-logo-text { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: 1.2px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--teal); color: #fff !important;
  padding: 9px 22px; border-radius: 8px;
  font-weight: 600; font-size: 13px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: #0b7a7a; transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; margin: 5px 0; border-radius: 2px;
  transition: 0.3s;
}

/* ─── HERO ─── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--charcoal) 50%, var(--navy-light) 100%);
  padding: 160px 24px 100px;
  text-align: center;
}
.hero::before {
  content: ''; position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(10,143,143,0.08);
}
.hero::after {
  content: ''; position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(30,58,138,0.12);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(93,224,216,0.1);
  border: 1px solid rgba(93,224,216,0.2);
  color: var(--teal-light); font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800; color: #fff;
  line-height: 1.15; letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--teal-light); }
.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.6);
  max-width: 600px; margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff;
  padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: #0b7a7a; transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* Trust bar */
.trust-bar {
  display: flex; justify-content: center; gap: 36px;
  margin-top: 56px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
}
.trust-item svg { width: 16px; height: 16px; opacity: 0.5; }

/* ─── SECTION BASE ─── */
.section { padding: 96px 24px; }
.section-dark { background: var(--gray-50); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800; color: var(--navy);
  letter-spacing: -0.5px; margin-bottom: 14px;
}
.section-header p {
  font-size: 17px; color: var(--gray-500);
  max-width: 600px; margin: 0 auto;
}

/* ─── SOLUTIONS GRID ─── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.solution-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(15,37,87,0.08);
}
.solution-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(10,143,143,0.1), rgba(30,58,138,0.08));
  margin-bottom: 20px;
}
.solution-icon svg { width: 24px; height: 24px; color: var(--teal); }
.solution-card h3 {
  font-size: 18px; font-weight: 700; color: var(--navy);
  margin-bottom: 10px;
}
.solution-card p {
  font-size: 14.5px; color: var(--gray-500); line-height: 1.65;
}

/* ─── WHY AMI ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.why-item { text-align: center; padding: 24px; }
.why-number {
  font-size: 42px; font-weight: 800; color: var(--teal);
  margin-bottom: 6px; line-height: 1;
}
.why-item h4 {
  font-size: 16px; font-weight: 700; color: var(--navy);
  margin-bottom: 8px;
}
.why-item p { font-size: 14px; color: var(--gray-500); }

/* ─── CTA SECTION ─── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 24px;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800; color: #fff;
  margin-bottom: 14px;
}
.cta-section p {
  font-size: 17px; color: rgba(255,255,255,0.55);
  max-width: 500px; margin: 0 auto 32px;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--charcoal);
  padding: 56px 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 13px; color: var(--gray-400);
  margin-top: 12px; max-width: 300px; line-height: 1.7;
}
.footer-col h5 {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.4);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block; color: var(--gray-400);
  font-size: 14px; text-decoration: none;
  padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1100px; margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--gray-500); }
.footer-bottom a { color: var(--gray-400); font-size: 12px; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ─── ABOUT PAGE ─── */
.page-header {
  background: linear-gradient(135deg, var(--navy), var(--charcoal));
  padding: 140px 24px 72px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; color: #fff;
  margin-bottom: 14px;
}
.page-header p { font-size: 17px; color: rgba(255,255,255,0.55); }

.about-content { max-width: 800px; margin: 0 auto; }
.about-content h2 {
  font-size: 28px; font-weight: 700; color: var(--navy);
  margin-bottom: 16px;
}
.about-content p {
  font-size: 16px; line-height: 1.8; color: var(--gray-600);
  margin-bottom: 20px;
}

/* ─── CONTACT PAGE ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-info h3 {
  font-size: 22px; font-weight: 700; color: var(--navy);
  margin-bottom: 20px;
}
.contact-detail {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 20px;
}
.contact-detail svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.contact-detail p { font-size: 15px; color: var(--gray-600); }
.contact-detail a { color: var(--teal); text-decoration: none; }
.contact-detail a:hover { text-decoration: underline; }

.contact-form label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--gray-700); margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px; font-size: 14px;
  font-family: inherit; color: var(--gray-700);
  margin-bottom: 18px;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy);
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .trust-bar { gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}
