:root {
  --navy: #0e3a67;
  --navy-deep: #082744;
  --red: #b01f2e;
  --white: #ffffff;
  --mist: #f3f6fa;
  --gray: #4f5f72;
  --charcoal: #17212d;
  --line: rgba(14, 58, 103, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 14px 30px rgba(8, 39, 68, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
.site-nav a,
.btn,
.section-tag,
.eyebrow {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

section,
header,
footer {
  scroll-margin-top: 106px;
}

.tax-banner {
  background: linear-gradient(90deg, var(--navy), var(--navy-deep));
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

.tax-banner p {
  margin: 0;
}

.tax-banner a {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 2000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: grid;
  place-items: center;
  z-index: 2000;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(14, 58, 103, 0.2);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(8, 39, 68, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  padding: 0.2rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.brand small {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--gray);
  margin-top: 0.1rem;
}

.site-nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}

.site-nav a {
  position: relative;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--navy);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.28rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--mist);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--charcoal);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 7.5rem 0;
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.14), transparent 35%),
    linear-gradient(118deg, rgba(8, 39, 68, 0.94), rgba(14, 58, 103, 0.84) 56%, rgba(176, 31, 46, 0.48)),
    url("WhatsApp Image 2026-07-02 at 1.09.34 PM.jpeg") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow,
.section-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--red);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero p {
  font-size: 1.05rem;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.8rem 0 1.4rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #cc3b4b);
  box-shadow: var(--shadow);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--navy);
  background: var(--white);
}

.hero-highlights {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-highlights li {
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.95rem;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--mist);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2,
.section-copy h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  margin: 0 0 0.8rem;
  line-height: 1.25;
}

.section-heading p,
.section-copy p,
.service-card p,
.feature-card p,
.faq-answer p,
.contact-card p,
.footer p,
.footer li,
.industry-card p {
  color: var(--gray);
}

.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  align-items: center;
}

.about-card,
.feature-card,
.contact-card,
.faq-item,
.service-card,
.industry-card,
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(23, 33, 45, 0.04);
}

.about-card-inner,
.service-card,
.industry-card,
.feature-card,
.stat-card,
.contact-card {
  padding: 1.35rem;
}

.feature-list {
  margin: 0;
  padding-left: 1.1rem;
}

.feature-list li {
  margin-bottom: 0.55rem;
}

.compact-list li {
  margin-bottom: 0.35rem;
}

.services-grid,
.industries-grid,
.features-grid,
.stats-grid,
.service-detail-grid {
  display: grid;
  gap: 1rem;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.industries-grid,
.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-detail-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1.2rem;
}

.service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.feature-card:hover,
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(8, 39, 68, 0.18);
}

.service-card h3,
.industry-card h3,
.feature-card h3 {
  margin-top: 0;
}

.stat-number {
  color: var(--navy);
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  color: var(--gray);
}

.faq-wrap {
  display: grid;
  gap: 1.4rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--charcoal);
  font-weight: 600;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--red);
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 180px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer p {
  padding: 0 1.2rem 1.1rem;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.55rem;
}

.contact-details strong {
  color: var(--navy);
}

.quick-contact {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.map-embed {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 250px;
}

.map-embed iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

label span {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(14, 58, 103, 0.25);
  border-color: var(--navy);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.footer {
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, var(--navy-deep), #061a2d);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 1.2rem;
}

.footer li,
.footer p,
.footer a,
.footer small {
  color: rgba(255, 255, 255, 0.82);
}

.footer h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.4rem;
  padding-top: 1rem;
}

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.55rem;
  z-index: 1000;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.fab.whatsapp {
  background: #18a74b;
}

.fab.call {
  background: var(--navy);
}

.fab.mail {
  background: var(--red);
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 11.2rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.2s ease;
  }

  .site-nav.open {
    transform: scaleY(1);
  }

  .menu-toggle {
    display: flex;
  }

  .split-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .tax-banner {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
  }

  .hero {
    min-height: 84vh;
    padding: 6.5rem 0 5rem;
  }

  .hero-highlights {
    gap: 0.55rem;
  }

  .hero-highlights li {
    font-size: 0.85rem;
  }

  .services-grid,
  .industries-grid,
  .features-grid,
    .stats-grid,
    .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .floating-actions {
    right: 0.7rem;
    bottom: 0.7rem;
  }
}
