/* ===========================================================
   GeekSatya IT Services — Shared Stylesheet
   =========================================================== */

:root {
  --navy: #0b1e3d;
  --navy-light: #14294f;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --white: #ffffff;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(11, 30, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 30, 61, 0.10);
  --shadow-lg: 0 16px 40px rgba(11, 30, 61, 0.14);
  --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { color: var(--gray-600); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
}
.logo .logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.logo .logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-grid .logo .logo-img {
  width: 38px;
  height: 38px;
}
.logo .logo-sub { display: block; font-size: 0.68rem; font-weight: 500; color: var(--gray-400); letter-spacing: 0.04em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links > li { position: relative; }
.nav-links a.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-800);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a.nav-link:hover { color: var(--blue); }

.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  min-width: 260px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-800);
}
.dropdown li a:hover { background: var(--gray-100); color: var(--blue); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #102a52 60%, #0d2347 100%);
  color: var(--white);
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25), transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--cyan); }
.hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  margin: 20px 0 32px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-badge { color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 600; }
.hero-badge strong { display: block; font-size: 1.6rem; color: var(--white); }
.hero-visual {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(6px);
}
.hero-visual ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
}
.hero-visual ul li:last-child { border-bottom: none; }
.hero-visual .check {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.2);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Page (non-home) header banner */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, #102a52 100%);
  color: var(--white);
  padding: 80px 0 64px;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 640px; margin: 16px auto 0; font-size: 1.05rem; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.breadcrumb a { color: var(--cyan); }

/* ---------- Quick service cards (home) ---------- */
.quick-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -64px;
  position: relative;
  z-index: 2;
}
.quick-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  transition: var(--transition);
}
.quick-card:hover { transform: translateY(-6px); }
.quick-card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.quick-card h3 { margin-bottom: 10px; }
.quick-card p { font-size: 0.92rem; margin-bottom: 16px; }
.quick-card a.link { font-weight: 700; font-size: 0.88rem; color: var(--blue); }

/* ---------- Trust / logos strip ---------- */
.trust-strip { padding: 56px 0 24px; text-align: center; }
.trust-strip .label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gray-400); text-transform: uppercase; margin-bottom: 28px; }
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.7;
}
.trust-logos span { font-weight: 700; font-size: 1.1rem; color: var(--gray-400); }

/* ---------- Stats ---------- */
.stats-band {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-grid .stat strong { display: block; font-size: 2.4rem; color: var(--cyan); font-weight: 800; }
.stats-grid .stat span { font-size: 0.9rem; color: rgba(255,255,255,0.7); font-weight: 600; }

/* ---------- Why choose us ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.check-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  font-weight: 600;
  color: var(--gray-800);
  align-items: flex-start;
}
.check-list .check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Services grid ---------- */
.bg-light { background: var(--gray-50); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-4px); }
.service-card .icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p { font-size: 0.92rem; margin-bottom: 18px; }
.service-card a.link { font-weight: 700; font-size: 0.88rem; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Process steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card { text-align: center; padding: 0 12px; }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin: 0 auto 18px;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), #14365f);
  color: var(--white);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Testimonials / Case studies ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.case-card .case-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  background: rgba(37,99,235,0.08);
  padding: 5px 12px;
  border-radius: 999px;
  margin: 24px 24px 0;
}
.case-card h3 { padding: 12px 24px 0; font-size: 1.05rem; }
.case-card p { padding: 10px 24px 24px; font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 22px 0;
}
.faq-item summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 14px; font-size: 0.95rem; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 40px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; }
.contact-info-card .item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-card .item .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
}
.contact-info-card .item strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.contact-info-card .item span, .contact-info-card .item a { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.contact-info-card .socials { display: flex; gap: 12px; margin-top: 28px; }
.contact-info-card .socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.contact-info-card .socials a:hover { background: var(--cyan); color: var(--navy); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--gray-800);
  transition: var(--transition);
  background: var(--gray-50);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.form-note { font-size: 0.82rem; color: var(--gray-400); margin-top: 14px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid .logo { color: var(--white); margin-bottom: 16px; }
.footer-grid p.about { font-size: 0.9rem; max-width: 280px; margin-bottom: 20px; }
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.footer-grid ul li { margin-bottom: 12px; font-size: 0.9rem; }
.footer-grid ul li a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--cyan); color: var(--navy); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 999;
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .quick-cards, .services-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-outline { display: none; }
  .quick-cards, .services-grid, .case-grid, .stats-grid, .steps-grid, .footer-grid { grid-template-columns: 1fr; }
  .quick-cards { margin-top: -40px; }
  section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; margin: 0 16px; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .nav-links.open .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    margin-top: 6px;
  }
  .nav-links.open .has-dropdown.dropdown-open .dropdown { display: block; }
}
