:root {
  --navy: #101d3d;
  --blue: #1198dc;
  --deep-blue: #0875b6;
  --gold: #f7b72d;
  --gold-dark: #e3a113;
  --ink: #172034;
  --muted: #637087;
  --white: #ffffff;
  --soft-blue: #eaf7ff;
  --background: #f6f9fc;
  --border: #dbe5ed;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.site-header,
.hero,
.trust-strip,
.section,
.quote-section,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 16px 0;
}

.brand img {
  display: block;
  width: 138px;
  height: 82px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 19px;
}

.main-nav a {
  color: var(--navy);
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--blue);
}

.portal-link {
  padding: 10px 13px;
  color: var(--white) !important;
  background: var(--navy);
  border-radius: 7px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  z-index: 900;
  inset: 0;
  background: rgba(16, 29, 61, 0.5);
}

.nav-overlay.open {
  display: block;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 58px;
  align-items: center;
  min-height: 650px;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1.5px;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy);
  line-height: 1.16;
}

h1 {
  max-width: 670px;
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 65px);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3.4vw, 44px);
}

.hero-text,
.section-heading > p:last-child,
.about-content > p,
.quote-content > p {
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 30px 0;
}

.button {
  display: inline-block;
  padding: 14px 21px;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 10px 24px rgba(247, 183, 45, 0.28);
}

.primary-button:hover {
  background: var(--gold-dark);
}

.outline-button {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--navy);
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.location-tags span {
  padding: 6px 12px;
  color: var(--deep-blue);
  background: var(--soft-blue);
  border-radius: 99px;
  font-size: 13px;
  font-weight: bold;
}

.hero-image {
  position: relative;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 545px;
  border: 9px solid var(--white);
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 22px 48px rgba(16, 29, 61, 0.2);
}

.image-badge {
  position: absolute;
  z-index: 1;
  right: -18px;
  bottom: 30px;
  padding: 15px 18px;
  color: var(--white);
  background: var(--navy);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(16, 29, 61, 0.25);
}

.image-badge strong,
.image-badge span {
  display: block;
}

.image-badge span {
  opacity: 0.8;
  font-size: 13px;
}

/* ==========================================
   TRUST STRIP & SERVICES
   ========================================== */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 70px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(120deg, var(--navy), #1d4d7c);
  border-radius: 14px;
  box-shadow: 0 15px 32px rgba(16, 29, 61, 0.14);
}

.trust-strip > div {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-strip > div:last-child {
  border-right: 0;
}

.trust-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-size: 21px;
  font-weight: bold;
}

.trust-strip strong,
.trust-strip small {
  display: block;
}

.trust-strip small {
  opacity: 0.8;
}

.section {
  padding: 80px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 35px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(16, 29, 61, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #a6dff8;
  box-shadow: 0 16px 30px rgba(16, 29, 61, 0.1);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--blue);
  background: var(--soft-blue);
  border-radius: 12px;
  font-size: 26px;
  font-weight: bold;
}

.service-card h3 {
  margin: 16px 0 8px;
  font-size: 21px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

/* ==========================================
   PROJECTS & ABOUT
   ========================================== */
.projects-section {
  padding: 80px max(20px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at top right, #2371a9, transparent 38%),
    var(--navy);
}

.projects-content {
  width: min(1180px, 100%);
  margin: auto;
}

.light-heading h2,
.light-heading p:not(.eyebrow) {
  color: var(--white);
}

.light-heading .eyebrow {
  color: #86d7fb;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.project-card {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  background: #0d172e;
  border-radius: 12px;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-card:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.project-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 36px 16px 15px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 14px;
  font-weight: bold;
}

.project-large {
  grid-column: span 2;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.about-image img {
  display: block;
  width: 100%;
  min-height: 420px;
  border-radius: 18px;
  object-fit: cover;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  margin: 13px 0;
  padding-left: 28px;
  position: relative;
  font-weight: bold;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--blue);
  content: "✓";
}

.text-link {
  color: var(--deep-blue);
  font-weight: bold;
  text-decoration: none;
}

/* ==========================================
   QUOTE SECTION & FORM
   ========================================== */
.quote-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 90px;
  padding: 55px;
  background: linear-gradient(130deg, #e7f7ff, #f7fbff);
  border: 1px solid #cce8f5;
  border-radius: 18px;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 25px;
}

.contact-details a {
  color: var(--navy);
  font-weight: bold;
  text-decoration: none;
}

.quote-form {
  display: grid;
  gap: 7px;
  padding: 28px;
  background: var(--white);
  border-radius: 13px;
  box-shadow: 0 14px 28px rgba(16, 29, 61, 0.1);
}

.quote-form label {
  margin-top: 8px;
  font-weight: bold;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #b9cad7;
  border-radius: 7px;
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form button {
  width: 100%;
  margin-top: 14px;
}

/* ==========================================
   FLOATING WHATSAPP & FOOTER
   ========================================== */
.floating-whatsapp {
  position: fixed;
  z-index: 800;
  right: 22px;
  bottom: 22px;
  padding: 14px 20px;
  color: var(--white);
  background: #25d366;
  border-radius: 99px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 45px 0;
  border-top: 1px solid var(--border);
}

.footer-brand img {
  display: block;
  width: 140px;
  height: 90px;
  object-fit: contain;
}

.footer-tagline {
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--navy);
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  margin: 6px 0;
  color: var(--muted);
  font-size: 14px;
  position: relative;
  padding-left: 16px;
}

.footer-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue);
}

.site-footer h3 {
  margin-bottom: 12px;
  font-size: 17px;
}

.site-footer a {
  display: block;
  margin: 7px 0;
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--blue);
}

/* ==========================================
   MEDIA QUERIES (RESPONSIVENESS FIXES)
   ========================================== */

/* Tablet & Mid-size Viewports (<= 992px) */
@media (max-width: 992px) {
  .hero,
  .about-section,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 35px;
    min-height: auto;
    padding: 45px 0 55px;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    height: auto;
    max-height: 440px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-large {
    grid-column: span 2;
  }

  .site-footer {
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
  }
}

/* Mobile Navigation Breakpoint & Small Tablets (<= 768px) */
@media (max-width: 768px) {
  .site-header,
  .hero,
  .trust-strip,
  .section,
  .quote-section,
  .site-footer {
    width: min(100% - 32px, 1180px);
  }

  /* Hamburger Navigation Drawer */
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    height: 100vh;
    width: min(80%, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 90px 24px 30px;
    background: var(--white);
    box-shadow: -8px 0 30px rgba(16, 29, 61, 0.18);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .main-nav .portal-link {
    margin-top: 15px;
    text-align: center;
    border-bottom: none;
  }

  /* CTA Buttons Vertical Stack */
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    text-align: center;
  }

  /* Value Bar 1 Column Stack */
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .trust-strip > div:last-child {
    border-bottom: 0;
  }

  .quote-section {
    gap: 28px;
    margin-bottom: 55px;
    padding: 30px 20px;
  }

  .floating-whatsapp {
    right: 18px;
    bottom: 18px;
  }
}

/* Small Mobile Screens (<= 576px) */
@media (max-width: 576px) {
  .brand img {
    width: 120px;
    height: auto;
  }

  .hero-image img {
    height: 300px;
    border-width: 6px;
  }

  .image-badge {
    right: 10px;
    bottom: 12px;
    padding: 10px 14px;
  }

  .service-grid,
  .project-grid,
  .site-footer {
    grid-template-columns: 1fr; /* Stack footer sections cleanly */
  }

  .project-large {
    grid-column: auto;
  }

  .project-card,
  .project-card img {
    min-height: 240px;
  }

  .about-image img {
    min-height: 280px;
  }

  .quote-form {
    padding: 20px 16px;
  }

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    font-size: 16px;
  }
}