/* ============================================================
   AIMZ Consultants – styles.css
   ============================================================ */

/* ── TOKENS ── */
:root {
  --navy:        #0b1628;
  --navy-mid:    #112240;
  --navy-light:  #1a3a6e;
  --blue-accent: #3b7dd8;
  --blue-glow:   #5b9cf6;
  --blue-light:  #93c5fd;
  --text:        #e2eaf8;
  --text-muted:  #8ba5c8;
  --white:       #ffffff;
  --off-white:   #f0f4fb;
  --border:      rgba(91,156,246,0.18);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:  12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --shadow: 0 8px 32px rgba(0,0,0,0.35);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── UTILITIES ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--blue-accent); }
.section-title.light { color: var(--white); }
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}
.section-sub.light { color: var(--blue-light); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}
.btn-primary {
  background: var(--blue-accent);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(59,125,216,0.4);
}
.btn-primary:hover {
  background: var(--blue-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(91,156,246,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--blue-glow);
  border: 2px solid var(--blue-glow);
}
.btn-outline:hover {
  background: rgba(91,156,246,0.1);
  transform: translateY(-2px);
}
.full-width { width: 100%; text-align: center; }

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(11,22,40,0.6);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s;
}
.navbar.scrolled {
  background: rgba(11,22,40,0.96);
}
.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--blue-glow); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links li a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  letter-spacing: 0.03em;
}
.nav-links li a:hover { color: var(--white); }
.nav-links .nav-cta {
  background: var(--blue-accent);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--blue-glow) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url(img/slider.png);
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91,156,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,156,246,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.glow-1 {
  width: 600px; height: 600px;
  top: -150px; right: -100px;
  background: radial-gradient(circle, rgba(59,125,216,0.22) 0%, transparent 70%);
  animation: glowPulse 8s ease-in-out infinite alternate;
}
.glow-2 {
  width: 400px; height: 400px;
  bottom: -100px; left: 10%;
  background: radial-gradient(circle, rgba(91,156,246,0.12) 0%, transparent 70%);
  animation: glowPulse 10s ease-in-out infinite alternate-reverse;
}
@keyframes glowPulse {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.1); }
}
#particleCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title-accent {
  background: linear-gradient(90deg, var(--blue-light), var(--blue-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}
.hero-content .btn {
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}
.hero-services {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
  align-items: center;
}
.hero-services span { padding: 0 2px; }
.hero-services .sep { margin: 0 12px; color: var(--border); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════
   WHY US
══════════════════════════════════════════════ */
.why {
  background: var(--off-white);
  padding: 100px 0;
}
.why .section-title { margin-bottom: 56px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(59,125,216,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(32px);
}
.why-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s, border-color 0.3s;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(59,125,216,0.15);
  border-color: rgba(59,125,216,0.3);
}
.why-icon {
  font-size: 1.1rem;
  color: var(--blue-accent);
  margin-bottom: 16px;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.why-card p {
  font-size: 0.92rem;
  color: #4a5568;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════ */
.services {
  background: linear-gradient(180deg, #0b1628 0%, #112240 100%);
  padding: 100px 0;
}
.services .section-title { margin-bottom: 12px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 56px;
}
.service-item {
  background: rgba(17,34,64,0.9);
  padding: 40px 32px;
  transition: background var(--transition);
  position: relative;
}
.service-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--blue-accent);
  transition: height 0.4s;
}
.service-item:hover::before { height: 100%; }
.service-item:hover {
  background: rgba(26,58,110,0.7);
}
.service-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(91,156,246,0.15);
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--transition);
}
.service-item:hover .service-num { color: rgba(91,156,246,0.35); }
.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.service-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   DATA SECURITY
══════════════════════════════════════════════ */
.security {
  background: var(--off-white);
  padding: 100px 0;
}
.security-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}
.security-text .eyebrow { color: var(--blue-accent); }
.security-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}
.security-text p {
  font-size: 0.97rem;
  color: #4a5568;
  margin-bottom: 28px;
}
.security-list {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.security-list li {
  display: flex;
  gap: 12px;
  font-size: 0.92rem;
  color: #2d3748;
}
.security-list li span {
  color: var(--blue-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.security-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}
.shield {
  width: 220px;
  height: 260px;
  animation: floatShield 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 60px rgba(59,125,216,0.4));
}
@keyframes floatShield {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* ══════════════════════════════════════════════
   STATS
══════════════════════════════════════════════ */
.stats {
  background: linear-gradient(90deg, #0b1628, #112240, #0b1628);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 60px; width: 1px;
  background: var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--blue-glow);
}
.stat-item p {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 160px;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */
.contact {
  background: var(--off-white);
  padding: 100px 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-text .eyebrow { color: var(--blue-accent); }
.contact-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-text > p {
  font-size: 0.97rem;
  color: #4a5568;
  margin-bottom: 32px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-detail-item {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.92rem;
  color: #4a5568;
}
.cd-icon {
  color: var(--blue-accent);
  font-size: 1.1rem;
  width: 20px;
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 8px 40px rgba(59,125,216,0.08);
  border: 1px solid rgba(59,125,216,0.12);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #2d3748;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1.5px solid #e2e8f0;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: #2d3748;
  background: #fafcff;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(59,125,216,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #a0aec0; }
.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: #a0aec0;
  margin-top: 12px;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-brand .nav-logo {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.7;
}
.footer-links h4,
.footer-services h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: 18px;
}
.footer-links ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li a,
.footer-services li {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 1160px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item::before { display: none; }
  .security-inner { grid-template-columns: 1fr; }
  .security-graphic { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(11,22,40,0.98);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .hero-services { gap: 6px 0; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; text-align: left; }
}
