/* ==========================================================================
   HMR ENERGY - Official Stylesheet (Pixel-Perfect Matching Design Mockup)
   Color System: Navy (#062b58) / White (#ffffff) / Green (#22c84b) / Lime (#47e55c)
   Typography: Montserrat (Headings) + Inter (Body Text)
   ========================================================================== */

:root {
  --navy: #062b58;
  --navy-dark: #041c3b;
  --navy-deep: #021226;
  --blue: #0a4b91;
  --blue-accent: #0e64c2;
  --blue-light: #eaf4fd;
  --blue-soft: #f2f8fe;
  --green: #22c84b;
  --green-hover: #1cb541;
  --green-light: #e8f9ed;
  --lime: #47e55c;
  --ink: #0d2746;
  --ink-light: #1f3e62;
  --muted: #5e738c;
  --light-bg: #f5f9fc;
  --line: #dce7f2;
  --card-border: #e2edf6;
  --white: #ffffff;
  --shadow-sm: 0 4px 14px rgba(6, 43, 88, 0.06);
  --shadow-md: 0 10px 28px rgba(6, 43, 88, 0.08);
  --shadow-lg: 0 16px 40px rgba(6, 43, 88, 0.12);
  --shadow-hover: 0 20px 45px rgba(6, 43, 88, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Reset & Base Styles (Strict Overflow Control)
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--white);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Typography & Common UI Components
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

/* Decorative Section Eyebrows with Gradient Bars */
.section-tag-wrapper {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.section-tag-wrapper.center {
  align-items: center;
  margin-inline: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid #c8e1f8;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  width: max-content;
}

.section-tag.light {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(4px);
}

.tag-gradient-bar {
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 50%, var(--green) 100%);
}

.tag-gradient-bar.light {
  background: linear-gradient(90deg, #ffffff 0%, var(--green) 100%);
}

/* Hero Eyebrow */
.hero-tag-block {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: #eaf4fd;
  border: 1px solid #bde0fa;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  width: max-content;
}

.hero-eyebrow .accent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.hero-gradient-bar {
  width: 130px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--green) 100%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, #1db342 100%);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(34, 200, 75, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2ae055 0%, var(--green) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(34, 200, 75, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  border: 1.5px solid var(--navy);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-dark-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
}

.btn-dark-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.section-light {
  background-color: var(--light-bg);
}

.section-dark {
  background-color: var(--navy);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Header & Topbar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(6, 43, 88, 0.08);
}

.topbar {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11.5px;
  font-weight: 500;
  height: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-ico {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.topbar a:hover {
  color: var(--green);
}

.socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.socials a svg {
  width: 14px;
  height: 14px;
}

.socials a:hover {
  color: var(--green);
  transform: translateY(-1px);
}

/* Navbar */
.nav {
  height: 68px;
  background: var(--white);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand em {
  font-style: normal;
  color: var(--green);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.nav-item {
  position: relative;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
}

.nav-item:hover {
  color: var(--green);
}

.nav-item.active {
  color: var(--green);
}

.nav-item.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--green);
  border-radius: 3px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--green) 0%, #1db342 100%);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(34, 200, 75, 0.28);
  margin-left: 8px;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #2ae055 0%, var(--green) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(34, 200, 75, 0.38);
}

.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 11px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
}

.hamburger-bar {
  width: 24px;
  height: 3px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* --------------------------------------------------------------------------
   Hero Section (Crystal-Clear Text Contrast with Gradient Overlay)
   -------------------------------------------------------------------------- */
.hero {
  height: 470px;
  position: relative;
  overflow: hidden;
  background-color: #e4f2fc;
}

.hero-track {
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 6s ease, visibility 0.8s;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1.05);
}

/* Gradient Overlay Container for Crisp Readability */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(240, 248, 255, 0.98) 0%,
      rgba(240, 248, 255, 0.94) 42%,
      rgba(240, 248, 255, 0.65) 60%,
      rgba(240, 248, 255, 0.1) 78%,
      rgba(240, 248, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-caption {
  position: relative;
  z-index: 2;
  /* max-width: 580px; */
  text-align: left;
}

.hero h1,
.hero h2 {
  font-size: 44px;
  line-height: 1.08;
  margin: 10px 0 14px;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.hero h1 strong,
.hero h2 strong {
  color: var(--green);
}

.hero p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-light);
  margin-bottom: 22px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 56px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--navy);
  font-size: 30px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(4px);
  border-radius: 4px;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--green);
}

.hero-arrow.prev {
  left: 12px;
}

.hero-arrow.next {
  right: 12px;
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.dot.active {
  background: var(--green);
  width: 24px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95);
}

/* --------------------------------------------------------------------------
   About Section (Responsive Staggered Visual Collage)
   -------------------------------------------------------------------------- */
.about {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

/* Staggered Visual Collage with Absolute Safety Bounds */
.about-visuals {
  height: 330px;
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

.photo {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  transition: transform 0.3s ease;
}

.photo:hover {
  transform: translateY(-4px);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-a {
  width: 48%;
  height: 195px;
  left: 0;
  top: 90px;
  z-index: 2;
}

.photo-b {
  width: 46%;
  height: 155px;
  left: 28%;
  top: 0;
  z-index: 3;
}

.photo-c {
  width: 44%;
  height: 220px;
  right: 0;
  top: 50px;
  z-index: 1;
}

.float-badge {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  border: 3.5px solid var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: transform 0.3s ease;
}

.float-badge img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.float-badge:hover {
  transform: scale(1.12);
}

.badge-1 {
  right: 24%;
  top: 12px;
}

.badge-2 {
  left: 48%;
  bottom: 6px;
}

.badge-3 {
  left: 22%;
  bottom: 14px;
}

/* About Text */
.about-copy {
  display: flex;
  flex-direction: column;
}

.about-copy h2 {
  font-size: 32px;
  line-height: 1.18;
  margin: 6px 0 16px;
  color: var(--navy);
}

.about-copy h2 strong {
  color: var(--green);
}

.about-copy p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 12px;
}

.about-pills-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0 28px;
}

.about-pill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--card-border);
  padding: 12px 8px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-pill-item:hover {
  transform: translateY(-3px);
  border-color: #b8dcfa;
  box-shadow: var(--shadow-md);
}

.pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.pill-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.about-pill-item span {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.about-btn-wrap {
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   CTA Banners (Safely Inset inside Containers)
   -------------------------------------------------------------------------- */
.cta-banner {
  min-height: 175px;
  background-size: cover;
  background-position: center right;
  color: var(--white);
  padding: 40px 0;
  position: relative;
  width: 100%;
}

.cta-banner.second {
  background-position: center right;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}

.cta-content {
  max-width: 620px;
  margin: 25px;
}

.cta-banner h2 {
  font-size: 28px;
  color: var(--white);
  margin: 6px 0 8px;
}

.cta-banner p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin: 25px;
}

/* --------------------------------------------------------------------------
   Why Choose Us (Solutions)
   -------------------------------------------------------------------------- */
.why {
  background: linear-gradient(135deg, #041a36 0%, #062b58 60%, #093f7c 100%);
  padding: 50px 0 55px;
}

.section-heading.center {
  text-align: center;
  margin-bottom: 28px;
}

.section-heading.center h2 {
  font-size: 32px;
  color: var(--white);
}

.section-heading.center h2 strong {
  color: var(--green);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 14px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.why-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eef6fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.why-icon-wrap img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.why-card h3 {
  font-size: 13.5px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}

.why-card p {
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.why-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 22px;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}

.why-card:hover .why-pill-btn {
  background: var(--green-hover);
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   Services Section (4 Top + 3 Bottom Grid)
   -------------------------------------------------------------------------- */
.services {
  padding: 55px 0;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 25px;
}

.section-heading-row h2 {
  font-size: 32px;
  color: var(--navy);
}

.section-heading-row h2 strong {
  color: var(--green);
}

.section-nav {
  display: flex;
  gap: 8px;
}

.nav-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid #a8d2f5;
  color: var(--blue);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.nav-arrow:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: #b3d7f7;
}

.service-card.span-two {
  grid-column: 1 / span 2;
}

.service-img-wrap {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.06);
}

.service-info {
  padding: 14px 14px 16px;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-info h3 {
  font-size: 13.5px;
  color: var(--navy);
  margin-bottom: 6px;
  padding-right: 32px;
}

.service-info p {
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}

.service-arrow-btn {
  position: absolute;
  right: 12px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #7cb9ed;
  color: #0c6fc5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}

.service-card:hover .service-arrow-btn {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   Enquiry Form Section
   -------------------------------------------------------------------------- */
.enquiry {
  padding: 55px 0;
}

.enquiry-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 35px;
  align-items: start;
}

.lead-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-border);
  position: relative;
}

.form-header-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.form-header-badge svg {
  width: 20px;
  height: 20px;
}

.lead-form-card h2 {
  font-size: 25px;
  color: var(--navy);
  margin-bottom: 20px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.input-icon-wrap {
  position: relative;
  width: 100%;
}

.field-ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: #8da4bc;
  pointer-events: none;
}

.textarea-ico {
  top: 14px;
  transform: none;
}

.input-icon-wrap input,
.input-icon-wrap select,
.input-icon-wrap textarea {
  width: 100%;
  border: 1px solid #d9e5f0;
  background: #f8fbfe;
  border-radius: var(--radius-sm);
  padding: 11px 12px 11px 34px;
  font-family: inherit;
  font-size: 12px;
  color: var(--ink);
  outline: none;
  transition: var(--transition);
}

.select-wrap select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%235e738c' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.input-icon-wrap input:focus,
.input-icon-wrap select:focus,
.input-icon-wrap textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(10, 75, 145, 0.1);
}

.btn-block {
  width: 100%;
  padding: 13px;
  font-size: 14px;
  margin-top: 4px;
}

/* Right Media & Pills */
.enquiry-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.enquiry-img-wrap {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.enquiry-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-service-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border: 1px solid var(--card-border);
  padding: 7px 14px 7px 8px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.mini-service-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mini-pill-ico {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef6fc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-pill-ico img {
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.mini-service-pill span {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   FAQ Section (2-Column Accordion Layout)
   -------------------------------------------------------------------------- */
.faq {
  padding: 45px 0 55px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 35px;
  align-items: center;
}

.faq-content h2 {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 22px;
}

.faq-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item[open] {
  border-color: #b3d7f7;
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-q-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-q-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e4f1fc;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-toggle-icon {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--green);
}

.faq-item p {
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 8px;
  padding-left: 26px;
}

.faq-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-art img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials {
  padding: 50px 0 55px;
  /* background: linear-gradient(180deg, #f0f8ff 0%, #e1effa 100%); */
  background: linear-gradient(180deg, #182027 0%, #2f414e 100%);
  /* background-image: url('../assets/images/service-replacement.jpg'); */
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.testimonial-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 20px;
  width: 100%;
}

.testi-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #bfdcfa;
  color: var(--blue);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 5;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.testi-arrow.prev {
  left: -14px;
}

.testi-arrow.next {
  right: -14px;
}

.testi-arrow:hover {
  background: var(--blue);
  color: var(--white);
}

.testimonial-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.testi-avatar-box {
  flex-shrink: 0;
}

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(6, 43, 88, 0.15);
}

.avatar-a {
  background: linear-gradient(135deg, #0a4b91 0%, #22c84b 100%);
}

.avatar-b {
  background: linear-gradient(135deg, #062b58 0%, #0a4b91 100%);
}

.avatar-c {
  background: linear-gradient(135deg, #1fb843 0%, #0a4b91 100%);
}

.testi-content {
  flex-grow: 1;
}

.stars {
  color: #ffb800;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.testi-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: #4b6178;
  font-style: italic;
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a9c6e3;
  transition: var(--transition);
}

.testi-dot.active {
  background: var(--green);
  width: 22px;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   Contact & Location Section
   -------------------------------------------------------------------------- */
.contact {
  padding: 55px 0 60px;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.contact-building-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 240px;
}

.office {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.building-pin-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ff3b30;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 59, 48, 0.45);
  border: 3px solid var(--white);
}

.building-pin-badge svg {
  width: 20px;
  height: 20px;
}

.contact-copy {
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-copy h2 {
  font-size: 25px;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-light);
}

.c-ico {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

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

.contact-info-row a {
  color: var(--navy);
  font-weight: 700;
}

.contact-info-row a:hover {
  color: var(--green);
}

.map-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--card-border);
  height: 100%;
  min-height: 240px;
  position: relative;
  transition: var(--transition);
}

.map-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.map-img-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.map-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pulse-center {
  width: 16px;
  height: 16px;
  background: #ff3b30;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.6);
}

.pulse-ring {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 32px;
  height: 32px;
  border: 2px solid #ff3b30;
  border-radius: 50%;
  animation: mapPulse 2s infinite ease-out;
}

@keyframes mapPulse {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: linear-gradient(180deg, #052044 0%, #03142c 100%);
  color: var(--white);
  padding: 45px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.15fr 1.15fr;
  gap: 35px;
  padding-bottom: 35px;
}

.footer .brand {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 11px;
  line-height: 1.6;
  color: #a3bad2;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 11.5px;
  color: #b5cbe0;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--green);
  transform: translateX(3px);
}

.footer-contact-item {
  font-size: 11.5px;
  color: #b5cbe0;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-contact-item a {
  color: #b5cbe0;
}

.footer-contact-item a:hover {
  color: var(--green);
}

.footer-contact-item.address {
  margin-top: 8px;
}

.footer-socials {
  margin-top: 16px;
}

.footer-socials a {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  width: 28px;
  height: 28px;
}

.footer-socials a:hover {
  background: var(--green);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 14px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: #8da4be;
}

.credit-highlight {
  color: var(--green);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Floating Action Buttons
   -------------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.floating-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.floating-btn svg {
  width: 20px;
  height: 20px;
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.06);
}

.notif-btn {
  background: var(--blue);
}

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

.wa-btn {
  background: #25d366;
}

.top-btn {
  background: #193f6c;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.25s;
}

.top-btn.visible {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries & Strict Overflow Elimination
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero {
    height: 440px;
  }

  .hero h1,
  .hero h2 {
    font-size: 38px;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .service-card.span-two {
    grid-column: auto;
  }

  .faq-two-columns {
    grid-template-columns: 1fr;
  }

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

  .map-card {
    grid-column: 1 / span 2;
    min-height: 200px;
  }
}

@media (max-width: 820px) {
  .top-left .top-email {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 6% 24px;
    box-shadow: 0 16px 30px rgba(6, 43, 88, 0.15);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.3s ease, visibility 0.35s;
    height: auto;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-item.active::after {
    display: none;
  }

  .nav-cta {
    margin: 16px 0 0;
    text-align: center;
    justify-content: center;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

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

  .menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .about-grid,
  .enquiry-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visuals {
    height: 290px;
  }

  .about-pills-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .testimonial-row {
    grid-template-columns: 1fr;
  }

  .testi-arrow {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 580px) {
  .topbar {
    font-size: 10px;
  }

  .top-left {
    gap: 12px;
  }

  .hero {
    height: 480px;
  }

  .hero-slide {
    background-position: 70% center;
  }

  .hero-slide-overlay {
    background: linear-gradient(180deg,
        rgba(240, 248, 255, 0.96) 0%,
        rgba(240, 248, 255, 0.90) 55%,
        rgba(240, 248, 255, 0.35) 100%);
  }

  .hero-caption {
    padding-bottom: 20px;
    max-width: 100%;
  }

  .hero h1,
  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 13.5px;
  }

  .about-copy h2,
  .section-heading-row h2,
  .section-heading.center h2,
  .faq-content h2 {
    font-size: 23px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .map-card {
    grid-column: auto;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .floating-btn {
    width: 40px;
    height: 40px;
  }

  .floating-btn svg {
    width: 18px;
    height: 18px;
  }
}