/*
  IPD – Professional blue, white, grey & yellow design
  Deep blue backgrounds, white typography, yellow accents
*/

:root {
  --bg: #0B1D3A;
  --bg-alt: #0F2444;
  --bg-card: #132B50;
  --text: #ffffff;
  --text-secondary: rgba(255,255,255,0.75);
  --text-muted: rgba(255,255,255,0.45);
  --text-subtle: rgba(255,255,255,0.15);
  --border: rgba(255,255,255,0.12);
  --accent: #F5C518;
  --accent-hover: #e0b200;
  --blue: #1B3A6B;
  --blue-light: #2A4F8A;
  --grey: #8A9BB5;
  --grey-light: #C5D0DE;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.4s var(--ease);
}

::selection { background: var(--accent); color: var(--bg); }
::-moz-selection { background: var(--accent); color: var(--bg); }

html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', 'Montserrat', sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

/* Reset cursor overrides */
html, body, a, button { cursor: auto; }
a, button, [role="button"] { cursor: pointer; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }
html { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) var(--bg); }

/* ========== NAVIGATION ========== */
.header-area {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  height: auto !important;
  box-shadow: none !important;
  padding: 0 !important;
  transition: border-color 0.4s ease;
}

.header-area .main-nav {
  min-height: 140px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.header-area .main-nav .logo {
  display: inline-flex;
  align-items: center;
  height: auto;
  padding: 8px 0;
  margin: 0;
  background: transparent !important;
  border-radius: 0;
  box-shadow: none;
  transition: opacity 0.3s ease;
}

.header-area .main-nav .logo img {
  display: block;
  height: 130px;
  width: auto;
  max-width: min(360px, 62vw);
  object-fit: contain;
}

.header-area .main-nav .logo:hover { opacity: 0.7; }

.header-area .main-nav .nav {
  margin-top: 0;
  margin-left: auto;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 992px) {
  .header-area .main-nav .nav {
    display: flex !important;
  }
}

.header-area .main-nav .nav li a {
  color: rgba(255,255,255,0.55) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.18em !important;
  padding: 8px 18px !important;
  line-height: 1;
  transition: color 0.3s ease;
  position: relative;
}

.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active {
  color: #fff !important;
}

/* CTA button in nav */
.header-area .main-nav .nav li:last-child a,
.header-area .main-nav .nav li a.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  border: 1px solid var(--accent) !important;
  padding: 10px 28px !important;
  border-radius: 0;
  font-weight: 500 !important;
  font-size: 10px !important;
  letter-spacing: 0.18em !important;
  transition: all 0.3s ease;
  margin-left: 0.75rem;
}

.header-area .main-nav .nav li:last-child a:hover,
.header-area .main-nav .nav li a.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: var(--bg) !important;
  border-color: var(--accent-hover) !important;
}

/* Scrolled state — fully see-through (no blur, no tint) */
.background-header {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  height: auto !important;
}

body.no-hero .header-area {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
}

/* Hamburger */
.header-area .main-nav .menu-trigger {
  top: 50% !important;
  transform: translateY(-50%);
  right: 15px !important;
  z-index: 999 !important;
}
.background-header .main-nav .menu-trigger {
  top: 50% !important;
}
.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  background-color: #fff !important;
}

/* ===== MOBILE & TABLET NAV ===== */
@media (max-width: 991px) {
  .header-area {
    top: 0 !important;
    height: auto !important;
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 15px !important;
  }
  .header-area .main-nav {
    min-height: 100px;
    overflow: visible !important;
  }
  .header-area .main-nav .menu-trigger {
    display: block !important;
  }
  .header-area .main-nav .logo {
    margin-top: 0;
    line-height: 100px !important;
    padding: 6px 0;
  }
  .header-area .main-nav .logo img {
    height: 92px;
    max-width: min(300px, 65vw);
  }
  .header-area.header-sticky .nav,
  .background-header.header-sticky .nav,
  .header-area .main-nav .nav,
  .header-area .nav {
    display: none;
    margin-top: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0.5rem 0 !important;
    max-height: 70vh;
    overflow-y: auto;
    float: none !important;
    width: 100% !important;
  }
  .header-area .main-nav .nav li {
    width: 100%;
    background: transparent !important;
    border-bottom: none !important;
    border-top: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .header-area .main-nav .nav li:first-child {
    border-top: none !important;
  }
  .header-area .main-nav .nav li a {
    color: rgba(255,255,255,0.7) !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    padding: 10px 24px !important;
    height: auto !important;
    line-height: 1.4 !important;
    border: none !important;
    transition: color 0.2s ease, background 0.2s ease;
  }
  .header-area .main-nav .nav li a:hover,
  .header-area .main-nav .nav li a.active {
    color: #fff !important;
    background: rgba(255,255,255,0.04) !important;
  }
  .header-area .main-nav .nav li:last-child a,
  .header-area .main-nav .nav li a.nav-cta {
    margin: 0.5rem 24px 0.5rem !important;
    display: block;
    text-align: center;
    background: var(--accent) !important;
    color: var(--bg) !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    border-radius: 2px !important;
    width: auto !important;
  }
  .header-area .main-nav .nav li:last-child a:hover,
  .header-area .main-nav .nav li a.nav-cta:hover {
    background: var(--accent-hover) !important;
    color: var(--bg) !important;
  }
  .main-nav .nav li:not(:last-child) a::after {
    display: none !important;
  }
  /* Override template hiding hero text on mobile */
  .slide-inner .header-text p {
    display: block !important;
  }
  .slide-inner .header-text {
    width: 90% !important;
    margin-left: 5% !important;
    margin-right: 5% !important;
  }
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ========== GLOBAL SECTION STYLES ========== */
section {
  background: var(--bg) !important;
  color: var(--text);
  transition: opacity 0.5s ease;
  padding: 6rem 0 !important;
  margin-top: 0 !important;
}

section.about-us,
section.top-section,
section.service-details {
  background: var(--bg) !important;
}

section .container {
  position: relative;
  z-index: 1;
}

.section-heading {
  text-align: center !important;
  margin-bottom: 3rem !important;
}

.section-heading h6 {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 400;
  color: var(--text-muted) !important;
  font-size: 0.7rem !important;
  margin-bottom: 1rem;
}

.section-heading h4 {
  letter-spacing: -0.02em;
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 3rem) !important;
  color: var(--text) !important;
  margin-top: 0 !important;
  line-height: 1.2 !important;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 300;
  max-width: 500px;
  margin: 1rem auto 0 !important;
  line-height: 1.7;
}

/* ========== HERO (SWIPER) ========== */
body.has-hero { background: var(--bg) !important; }

.swiper-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.swiper-container .swiper-wrapper {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  position: relative;
  z-index: 2;
}

.swiper-container .swiper-slide {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.swiper-container .slide-inner {
  width: 100% !important;
  margin: 0 !important;
}

.slide-inner {
  background-color: transparent !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.slide-inner .header-text {
  position: relative !important;
  width: 100% !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  max-width: 800px;
  text-align: center !important;
  margin: 0 auto !important;
}

.slide-inner .header-text p {
  display: block !important;
  margin-right: auto !important;
  margin-left: auto !important;
  margin-bottom: 0 !important;
}

.slide-inner .header-text .div-dec {
  width: 60px;
  height: 1px !important;
  border-radius: 0 !important;
  margin: 2rem auto !important;
  background: var(--text-muted) !important;
}

.slide-inner .header-text .buttons {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  justify-content: center !important;
  flex-wrap: wrap;
  gap: 1rem;
}

.slide-inner .header-text .buttons .green-button {
  display: block !important;
  float: none !important;
  margin-right: 0 !important;
}

.slide-inner .header-text .buttons .orange-button {
  display: block !important;
  float: none !important;
}

.slide-inner .header-text .green-button a,
.slide-inner .header-text .orange-button a {
  padding: 14px 32px;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 0 !important;
  transition: all 0.3s ease;
}

.slide-inner .header-text .green-button a {
  background: var(--accent) !important;
  color: var(--bg) !important;
  border: 1px solid var(--accent) !important;
}

.slide-inner .header-text .green-button a:hover {
  background: var(--accent-hover) !important;
  color: var(--bg) !important;
  border-color: var(--accent-hover) !important;
}

.slide-inner .header-text .orange-button a {
  background: transparent !important;
  color: var(--text-secondary) !important;
  border: 1px solid var(--border) !important;
}

.slide-inner .header-text .orange-button a:hover {
  color: var(--text) !important;
  border-color: var(--text) !important;
}

/* Swiper nav */
.swiper-button-next,
.swiper-button-prev {
  color: var(--text-muted) !important;
  transition: color 0.3s ease;
  z-index: 10;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: var(--text) !important;
}

.swiper-container .swiper-slide {
  overflow: hidden;
}

/* Cinematic hero effects - simplified for dark theme */
.cinematic-hero {
  position: relative;
  overflow: hidden;
}

.cinematic-hero .container {
  position: relative;
  z-index: 3;
}

.cinematic-vignette,
.cinematic-overlay {
  display: none;
}

.cinematic-hero .hero-bg {
  background: var(--bg) !important;
}

/* ========== INTRO STRIP ========== */
.intro-strip {
  background: var(--bg) !important;
  color: var(--text);
  padding: 6rem 2rem !important;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.intro-strip .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-strip p,
.intro-strip .lead {
  max-width: 700px;
  margin: 0 auto !important;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  letter-spacing: 0.02em;
  font-weight: 300;
  text-align: center;
}

/* ========== METRICS ========== */
.metrics-strip {
  background: var(--bg) !important;
  padding: 5rem 0 !important;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metrics-strip .metric-item {
  text-align: center;
  padding: 2.5rem 1rem;
  border-right: 1px solid var(--border);
}
.metrics-strip .row.g-0 > [class*="col-"]:last-child .metric-item { border-right: none; }

@media (max-width: 991px) {
  .metrics-strip .metric-item { border-right: none; border-bottom: 1px solid var(--border); }
  .metrics-strip .row.g-0 > [class*="col-"]:last-child .metric-item { border-bottom: none; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .metrics-strip .metric-item { border-right: 1px solid var(--border); border-bottom: none; }
}

.metrics-strip .metric-value {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.metrics-strip .metric-label {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ========== SELECTED WORK ========== */
.selected-work {
  background: var(--bg) !important;
  padding: 6rem 0 !important;
  border-bottom: 1px solid var(--border);
}

.selected-work .work-card {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2.5rem 2.5rem 2rem;
  text-align: left;
  transition: border-color 0.4s ease, transform 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.selected-work .work-card::before { display: none; }

.selected-work .work-card:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-4px);
}

.selected-work .work-card .work-meta {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.selected-work .work-card h4 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}

.selected-work .work-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  font-weight: 300;
  flex: 1;
}

.selected-work .work-card .work-tag {
  display: inline-block;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  font-weight: 400;
}

/* ========== SERVICES ========== */
section.services {
  background: var(--bg) url('../images/services-section-bg.jpg') center center / cover no-repeat !important;
  background-attachment: fixed !important;
  padding: 6rem 0 !important;
  border-bottom: 1px solid var(--border);
  position: relative;
}
section.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 29, 58, 0.8);
  z-index: 0;
}
section.services .container {
  position: relative;
  z-index: 1;
}

/* ========== CTA ========== */
section.simple-cta {
  background: var(--bg) url('../images/cta-elevate-bg.jpg') center center / cover no-repeat !important;
  background-attachment: fixed !important;
  padding: 8rem 0 !important;
  position: relative;
  overflow: hidden;
  text-align: center !important;
}
section.simple-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 29, 58, 0.8);
  z-index: 0;
}
section.simple-cta .container { position: relative; z-index: 1; }

section.simple-cta h4 {
  color: var(--text) !important;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 1.5rem;
}

section.simple-cta h4 em {
  color: var(--text-secondary) !important;
  font-style: italic;
}

section.simple-cta h4 strong { color: var(--text) !important; }

section.simple-cta p {
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto 0 !important;
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
}

.simple-cta .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center !important;
  margin-top: 2.5rem;
}

/* ========== FOLLOW US ========== */
section.follow-us {
  background: var(--bg) !important;
  padding: 6rem 2rem !important;
  text-align: center !important;
  border-bottom: 1px solid var(--border);
}

section.follow-us h4 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 1rem;
  text-align: center;
}

section.follow-us p,
section.follow-us .lead {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
  font-weight: 300;
  font-size: 0.9rem;
  text-align: center;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

section.follow-us .follow-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
}

section.follow-us .follow-links a {
  color: var(--text-secondary) !important;
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

section.follow-us .follow-links a:hover {
  color: var(--text) !important;
}

/* ========== CALCULATOR / QUOTE FORM ========== */
section.calculator {
  background: var(--bg-alt) !important;
  padding: 6rem 0 !important;
  border-bottom: 1px solid var(--border);
}

section.calculator .section-heading {
  text-align: center !important;
}

#calculate .form-control,
#quote-form .form-control {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  border-radius: 0;
  color: var(--text) !important;
  padding: 1rem;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

#calculate .form-control:focus,
#quote-form .form-control:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4) !important;
}

#calculate .form-control::placeholder,
#quote-form .form-control::placeholder {
  color: var(--text-muted);
}

#calculate .form-label-service,
#quote-form .form-label-service {
  color: var(--text-secondary) !important;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#calculate select.form-control option,
#quote-form select.form-control option {
  background: var(--bg-card);
  color: #fff;
}

/* Service dropdown: fix clash with templatemo #calculate select (fixed 42px height + padding) */
#calculate #quote-form select.form-control {
  height: auto !important;
  min-height: 3.25rem;
  line-height: 1.5 !important;
  padding: 0.8125rem 2.75rem 0.8125rem 1rem !important;
  margin-bottom: 0 !important;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: left;
  text-align-last: left;
  font-family: inherit;
  font-weight: 400;
  vertical-align: middle;
  background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23F5C518' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 12px 8px !important;
  color-scheme: dark;
}

#calculate #quote-form select.form-control:focus {
  border-color: rgba(245, 197, 24, 0.45) !important;
}

#calculate #quote-form select.form-control option {
  background-color: #0f2447;
  color: #fff;
  padding: 0.65rem 1rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

#calculate #quote-form select.form-control option:checked,
#calculate #quote-form select.form-control option:hover {
  background-color: #152a52;
}

#calculate #quote-form .quote-form-field--select {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

#calculate #quote-form .quote-form-field--select .form-label-service {
  display: block;
  margin-bottom: 0 !important;
  line-height: 1.4;
}

#calculate button.orange-button,
#quote-form button[type="submit"] {
  background: var(--accent) !important;
  color: var(--bg) !important;
  border: none;
  padding: 1rem 2.5rem;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  border-radius: 0;
}

#calculate button.orange-button:hover,
#quote-form button[type="submit"]:hover {
  opacity: 0.8;
}

/* ========== TESTIMONIALS ========== */
section.testimonials {
  background: var(--bg) !important;
  padding: 6rem 0 !important;
  border-bottom: 1px solid var(--border);
}

/* ========== BUTTONS (global overrides) ========== */
.green-button a {
  background-color: var(--accent) !important;
  color: var(--bg) !important;
  border-radius: 0 !important;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.green-button a:hover {
  background-color: var(--accent-hover) !important;
  transform: translateY(-2px);
}

.orange-button a {
  background-color: transparent !important;
  color: var(--text-secondary) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.orange-button a:hover {
  color: var(--text) !important;
  border-color: var(--text) !important;
  transform: translateY(-2px);
}

/* ========== PAGE HEADING (sub-pages) ========== */
.page-heading {
  background: var(--bg) !important;
  padding: 10rem 0 4rem !important;
  text-align: center;
  margin-top: 0 !important;
}

.page-heading .header-text {
  text-align: center !important;
  width: 100% !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 auto !important;
}

.page-heading .header-text h2 {
  color: var(--text) !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  text-align: center !important;
}

.page-heading .div-dec {
  width: 60px;
  height: 1px;
  background: var(--text-muted) !important;
  margin: 1.5rem auto 0 !important;
  border-radius: 0 !important;
}

/* ========== ABOUT PAGE ========== */
.about-intro {
  padding: 6rem 0 !important;
  background: var(--bg) !important;
}

.about-intro p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-secondary);
  font-weight: 300;
  text-align: center;
  max-width: 700px;
  margin: 0 auto !important;
}

.mission-vision {
  background: var(--bg) !important;
  padding: 4rem 0 6rem !important;
}

.mission-vision .mv-item {
  padding: 2.5rem 2rem;
  background: transparent;
  border: 1px solid var(--border);
  border-left: 2px solid var(--text-muted);
  text-align: center;
  height: 100%;
}

.mission-vision .mv-item h6 {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.mission-vision .mv-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
}

.behind-the-work {
  padding: 6rem 0 !important;
  background: var(--bg-alt) !important;
  text-align: center;
}

.section-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  margin: 0 auto 3rem !important;
  max-width: 600px;
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
}

.trust-item {
  text-align: center;
  padding: 2rem 1rem;
}

.trust-item .trust-name {
  display: block;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.trust-item .trust-role {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Departments */
section.what-we-do,
section.departments {
  background: var(--bg) !important;
  padding: 6rem 0 !important;
  text-align: center;
}

section.departments .section-label {
  text-align: center;
}

.dept-item {
  padding: 2.5rem 2rem;
  border-bottom: 1px solid var(--border);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  text-align: left;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.dept-item:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-4px);
}

.dept-item h4 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--text);
  margin-bottom: 1rem;
}

.dept-item p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
  font-weight: 300;
}

.dept-item a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dept-item a:hover { color: var(--text); }

/* ========== NUMBERED SERVICES (our-services page) ========== */
section.main-services {
  background: var(--bg) !important;
  padding: 6rem 0 !important;
}

.numbered-service-item {
  display: flex;
  align-items: flex-start;
  padding: 3.5rem 3rem;
  border: 1px solid var(--border);
  margin-bottom: -1px;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.numbered-service-item:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.03);
}

.numbered-service-item .service-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 200;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  margin-right: 3rem;
  min-width: 4.5rem;
  text-align: right;
  transition: color 0.4s ease;
  letter-spacing: -0.03em;
}

.numbered-service-item:hover .service-num {
  color: var(--accent);
}

.numbered-service-item .service-content {
  flex: 1;
}

.numbered-service-item .service-content h4 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.numbered-service-item .service-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
  font-weight: 300;
  font-size: 0.9rem;
  max-width: 560px;
}

/* ========== CONTACT PAGE ========== */
section.map {
  background: var(--bg) !important;
  padding: 4rem 0 !important;
}

section.map #map iframe {
  border-radius: 0 !important;
  filter: grayscale(100%) invert(90%) contrast(0.9);
  width: 100%;
}

.map .info-item {
  padding: 2rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  margin-top: 0;
  transition: border-color 0.3s ease;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.map .info-item:hover {
  border-color: rgba(255,255,255,0.25);
  box-shadow: none;
  transform: none;
}

.map .info-item i {
  color: var(--text-muted) !important;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.map .info-item h4 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.map .info-item a,
.map .info-item p {
  color: var(--text-secondary) !important;
  font-weight: 400;
  font-size: 0.9rem;
  margin: 0;
}

section.contact-us-form {
  background: var(--bg) !important;
  padding: 6rem 0 !important;
}

section.contact-us-form .section-heading {
  text-align: center !important;
}

#contact input,
#contact textarea {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  color: var(--text) !important;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

#contact textarea {
  min-height: 150px;
}

#contact input:focus,
#contact textarea:focus {
  border-color: rgba(255,255,255,0.4) !important;
  box-shadow: none !important;
}

#contact input::placeholder,
#contact textarea::placeholder {
  color: var(--text-muted) !important;
}

#contact button.orange-button {
  background: var(--text) !important;
  color: var(--bg) !important;
  border: none;
  padding: 1rem 2.5rem;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 0;
  width: 100%;
  transition: opacity 0.3s ease;
}

#contact button.orange-button:hover {
  opacity: 0.8;
  transform: none;
  box-shadow: none;
}

/* ========== PARTNERS ========== */
section.partners {
  background: var(--bg-alt) !important;
  padding: 6rem 0 !important;
  position: relative;
  overflow: hidden;
  text-align: center;
}

section.partners .container { position: relative; z-index: 1; }

section.partners h6 {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-align: center;
}

section.partners .row span {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
}

section.partners .row {
  justify-content: center;
}

/* ========== FOOTER ========== */
footer, .footer-twofold {
  background: var(--bg) !important;
  background-image: none !important;
  color: var(--text);
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  margin-top: 0 !important;
}

footer .footer-top,
footer .footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-top {
  padding: 5rem 0 !important;
  border-top: 1px solid var(--border);
}

/* Footer brand */
.footer-brand {
  text-align: left;
}
.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}
.footer-brand .footer-logo img {
  height: 140px;
  width: auto;
  max-width: min(360px, 90vw);
  display: block;
  object-fit: contain;
}
.footer-brand p {
  color: var(--text-muted) !important;
  font-size: 0.85rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 280px;
}

.footer-twofold .footer-newsletter,
.footer-twofold .footer-contact {
  text-align: left;
}

.footer-twofold h6 {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-twofold .footer-newsletter p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  max-width: 300px;
  font-weight: 300;
  line-height: 1.7;
}

.footer-subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 320px;
}

.footer-subscribe-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.8rem;
  transition: border-color 0.3s ease;
}

.footer-subscribe-form input::placeholder { color: var(--text-muted); }

.footer-subscribe-form input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.3);
}

.footer-subscribe-form button {
  padding: 0.8rem 1.25rem;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.footer-subscribe-form button:hover { opacity: 0.8; }

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-links a {
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  font-weight: 300;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.footer-contact-links a:hover { color: var(--text) !important; }
.footer-contact-links a i { opacity: 0.5; width: 1em; }

.footer-bottom {
  padding: 2rem 0 !important;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-copyright {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted) !important;
  margin: 0;
}

.footer-credit {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25) !important;
  margin: 0.75rem 0 0 !important;
  text-transform: uppercase;
}

.footer-credit a {
  color: var(--accent) !important;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.15em;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-credit a:hover {
  color: #fff !important;
  opacity: 1;
}

footer p { color: var(--text-secondary) !important; }
footer a { color: var(--text-secondary) !important; transition: color 0.3s ease; }
footer a:hover { color: var(--text) !important; }

@media (max-width: 991px) {
  .footer-brand,
  .footer-twofold .footer-newsletter,
  .footer-twofold .footer-contact {
    text-align: center;
    margin-bottom: 2rem;
  }
  .footer-brand p,
  .footer-twofold .footer-newsletter p {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-brand .footer-logo img {
    margin: 0 auto;
  }
  .footer-newsletter .footer-subscribe-form {
    margin: 0 auto;
    justify-content: center;
  }
  .footer-contact .footer-contact-links { align-items: center; }
}

@media (max-width: 576px) {
  .footer-subscribe-form { flex-direction: column; }
  .footer-subscribe-form button { width: 100%; }
}

/* iOS: avoid auto-zoom on focus; keep inputs readable */
@media (max-width: 767px) {
  #quote-form input.form-control,
  #quote-form textarea.form-control,
  #quote-form select.form-control,
  #calculate input.form-control,
  #calculate textarea.form-control,
  #calculate select.form-control,
  .contact-form-section input,
  .contact-form-section textarea,
  .contact-form-section select {
    font-size: 16px !important;
  }
}

/* ========== HIDE DECORATIVE EFFECTS ========== */
.bg-blue-effects,
.bg-effects,
.bg-orb,
.parallax-lines,
.page-vertical-lines,
.hero-particles,
.hero-shape,
.hero-lines,
.hero-bg-grid,
.hero-bg-halftone,
.hero-watermark,
.hero-noise,
.cinematic-vignette,
.cinematic-overlay,
.hero-bg-base {
  display: none !important;
}

/* Keep hero background color */
.hero-bg {
  display: block !important;
  background: var(--bg) !important;
}

/* ========== MISC OVERRIDES ========== */
.owl-carousel .owl-video-wrapper { background: var(--bg) !important; }
.flex-control-paging li a.flex-active { background: var(--text) !important; }

.section-book {
  transform: none !important;
  opacity: 1 !important;
}

/* Mobile numbered services */
@media (max-width: 767px) {
  .numbered-service-item {
    flex-direction: column;
    padding: 2.5rem 2rem;
  }
  .numbered-service-item .service-num {
    margin-right: 0;
    margin-bottom: 1rem;
    text-align: left;
    min-width: auto;
  }
  .numbered-service-item .service-content {
    text-align: left;
  }
  .dept-item {
    text-align: center;
  }
  .dept-item p,
  .dept-item h4 {
    text-align: center;
  }
  .map .info-item {
    margin-bottom: 0.5rem;
  }
}

/* ========== MOBILE TEMPLATE OVERRIDES ========== */
@media (max-width: 992px) {
  .slide-inner .header-text {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
  }
  .slide-inner .header-text p {
    display: block !important;
  }
  .slide-inner .header-text .buttons {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center !important;
  }
  .slide-inner .header-text .buttons .green-button {
    float: none !important;
    margin-right: 0 !important;
  }
  section {
    margin-top: 0 !important;
  }
  .simple-cta {
    text-align: center !important;
  }
  .simple-cta .buttons {
    justify-content: center !important;
  }
}

@media (max-width: 767px) {
  .slide-inner .header-text .buttons {
    flex-direction: column !important;
    align-items: center !important;
  }
  .slide-inner .header-text .buttons .green-button,
  .slide-inner .header-text .buttons .orange-button {
    width: 100%;
    max-width: 280px;
  }
  .slide-inner .header-text .buttons .green-button a,
  .slide-inner .header-text .buttons .orange-button a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }
  .page-heading {
    padding: 7rem 0 3rem !important;
  }
}

/* View all link */
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.3s ease;
}
.view-all-link:hover { color: var(--accent); }

/* ========== MOBILE: disable fixed backgrounds (iOS Safari perf fix) ========== */
@media (max-width: 991px) {
  .swiper-container,
  .about-hero,
  .about-cta,
  .services-hero,
  .contact-hero,
  section.services,
  section.simple-cta {
    background-attachment: scroll !important;
  }
}

/* Nav link underlines */
.main-nav .nav li:not(:last-child) a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 18px;
  right: 18px;
  width: auto;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-nav .nav li:not(:last-child) a:hover::after,
.main-nav .nav li:not(:last-child) a.active::after {
  transform: scaleX(1);
}
.main-nav .nav li a { position: relative; }
