/* styles.css - Consolidated across all pages */
:root {
  --primary: #003f6b;
  --primary-2: #0b5b93;
  --accent: #f47b20;
  --accent-2: #ff9d4d;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #eef3f7;
  --text: #17202a;
  --muted: #667085;
  --border: rgba(0, 63, 107, 0.10);
  --shadow: 0 18px 50px rgba(0, 39, 73, 0.10);
  --radius: 24px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 108px; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fafc 0%, #f4f6f8 100%);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(0, 63, 107, 0.08);
  border: 1px solid rgba(0, 63, 107, 0.06);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(244, 123, 32, 0.14);
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin: 1rem 0 .85rem;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.section-subtitle {
  color: var(--muted);
  max-width: 700px;
  font-size: 1.02rem;
  line-height: 1.8;
  margin: 0;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(0, 63, 107, 0.08);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #0e507d);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  position: relative;
  box-shadow: 0 12px 25px rgba(0, 63, 107, 0.22);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(244, 123, 32, 0.18);
}

.logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-copy h1 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.1;
  color: var(--primary);
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: .83rem;
  margin-top: .15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a {
  font-weight: 600;
  color: #344054;
  position: relative;
  transition: .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 99px;
  margin: auto;
  position: relative;
  transition: .25s ease;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 52px;
  padding: 0 1.25rem;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .22s ease, box-shadow .22s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 16px 32px rgba(0, 63, 107, 0.22);
}

.btn-light {
  background: white;
  color: var(--primary);
  box-shadow: 0 15px 32px rgba(0,0,0,.12);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 15px 32px rgba(244,123,32,.25);
}

.btn-outline {
  background: rgba(255,255,255,.8);
  border-color: rgba(0, 63, 107, 0.14);
  color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 86px 0 52px;
  overflow: clip;
}

.hero.hero-bg {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 0;
  background: url('images/pexels-fauxels-3184291.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,35,60,0.78) 0%, rgba(0,35,60,0.68) 40%, rgba(0,35,60,0.42) 100%);
}

.hero-simple {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-simple .hero-copy {
  max-width: 700px;
  padding: 120px 0 100px;
}

.hero-simple h2 {
  color: white;
}

.hero-simple p {
  color: rgba(255,255,255,0.85);
}

.hero-copy h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: .98;
  margin: 1rem 0 1rem;
  color: var(--primary);
  letter-spacing: -0.05em;
}

.hero-copy h2 span {
  color: var(--accent);
  display: inline-block;
}

.hero-copy p {
  font-size: 1.08rem;
  line-height: 1.9;
  color: #475467;
  max-width: 650px;
  margin: 0 0 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: 2rem;
}

/* Floating Stats */
.floating-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border-radius: 60px;
  border: 1px solid rgba(255,255,255,0.15);
  max-width: fit-content;
}

.floating-stats div {
  display: flex;
  flex-direction: column;
}

.floating-stats strong {
  font-size: 1.9rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}

.floating-stats span {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

/* Grids */
.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.industry-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.about-grid,
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.services-grid,
.pricing-grid,
.why-grid,
.industry-grid {
  display: grid;
  gap: 1.3rem;
  margin-top: 2.5rem;
}

/* Cards */
.service-card,
.price-card,
.why-card,
.industry-card {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 28px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover,
.price-card:hover,
.why-card:hover,
.industry-card:hover {
  transform: translateY(-8px);
  border-color: rgba(244,123,32,.25);
  box-shadow: 0 22px 55px rgba(0, 39, 73, 0.14);
}

.service-card h3,
.price-card h3,
.why-card h3,
.industry-card h3 {
  margin: 1rem 0 .6rem;
  color: var(--primary);
  font-size: 1.08rem;
}

.service-card p,
.price-card p,
.why-card p,
.industry-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: .95rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  font-weight: 800;
  color: var(--accent);
}

.price-card .amount {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  margin: .3rem 0 .5rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: .7rem;
}

.price-card li {
  color: #475467;
  position: relative;
  padding-left: 1.3rem;
  line-height: 1.6;
}

.price-card li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 900;
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(0,63,107,.98), rgba(7,84,132,.96));
  color: white;
  transform: translateY(-8px);
}

.price-card.featured h3,
.price-card.featured p,
.price-card.featured li,
.price-card.featured .amount {
  color: white;
}

/* Filter Chips */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1rem;
}

.chip {
  border: 1px solid var(--border);
  background: white;
  color: var(--primary);
  padding: .75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: .25s ease;
}

.chip.active,
.chip:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, rgba(0,63,107,.98), rgba(8,76,120,.96));
  border-radius: 34px;
  padding: clamp(2rem, 5vw, 3rem);
  color: white;
  box-shadow: 0 30px 60px rgba(0, 39, 73, 0.18);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  margin: 1rem 0 .8rem;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.cta-box p {
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
  max-width: 650px;
}

.cta-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

/* Contact Panel */
.contact-panel {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  padding: 1.2rem;
  backdrop-filter: blur(12px);
}

.contact-item {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .8rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.contact-item:last-child { border-bottom: none; }

.contact-item strong { display: block; margin-bottom: .25rem; }
.contact-item span { color: rgba(255,255,255,.74); }

.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 24px rgba(0, 63, 107, 0.18);
}

/* Footer */
footer {
  padding: 36px 0 50px;
  color: #667085;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,63,107,.08);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Rotating Word */
#rotatingWord {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  padding: 0.1rem 0.8rem;
  border-radius: 40px;
  font-weight: 700;
  margin-left: 0.3rem;
  box-shadow: 0 10px 18px -8px rgba(244,123,32,0.4);
}

/* Soft Divider */
.soft-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  margin: 2rem 0 1.5rem;
}

/* Testimonial */
.mini-testimonial {
  background: white;
  border-radius: 32px;
  padding: 2.2rem 2rem;
  box-shadow: 0 30px 50px -30px rgba(0,43,80,0.2);
  border: 1px solid rgba(0,63,107,0.1);
  margin-top: 2rem;
}

.mini-testimonial p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #1e2f3f;
  font-style: italic;
}

.author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.author-img {
  width: 48px; height: 48px;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

/* Media Queries */
@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .cta-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .section { padding: 74px 0; }
  .nav-links,
  .nav-actions .btn-primary { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }

  .mobile-menu {
    position: fixed;
    inset: 84px 1rem auto 1rem;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(0,63,107,.08);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, .12);
    padding: 1rem;
    display: grid;
    gap: .45rem;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
    z-index: 999;
  }

  .mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu a {
    min-height: 48px;
    border-radius: 14px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid rgba(0,63,107,.08);
    background: white;
  }

  .hero-simple .hero-copy h2 { font-size: 2rem; }
  .floating-stats { 
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .services-grid,
  .pricing-grid,
  .why-grid,
  .industry-grid { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .hero-simple .hero-copy h2 { font-size: 1.75rem; }
  .container { width: min(calc(100% - 1.2rem), var(--max)); }
  .brand-copy h1 { font-size: .95rem; }
  .brand-copy span { font-size: .76rem; }
}
