/* ═══════════════════════════════════════════════════════════════════════════
   V2 CIVIL DIAGNOSTICS - GLOBAL STYLES
   ═══════════════════════════════════════════════════════════════════════════
   
   PURPOSE: Core site-wide styles and components
   Mobile-first approach: base = mobile, @media for tablet/desktop
   
   This file contains:
   - Typography (headings, body, links)
   - Layout (sections, containers)
   - Header/Navigation structure (positioning, layout - styling in bootstrap-overrides.css)
   - Buttons and CTAs
   - Hero sections, cards, and custom components
   
   AVOID DUPLICATING: Logo sizing, Bootstrap overrides → use bootstrap-overrides.css
   
   LOAD ORDER: variables.css → reset.css → global.css → bootstrap-overrides.css
   
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── BASE TYPOGRAPHY ── */

body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-dark-grey);
  background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--color-charcoal);
}

h1 { font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: 26px; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--color-dark-grey); }
h5 { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--color-dark-grey); }
h6 { font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 0.02em; color: var(--color-medium-grey); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

a { color: var(--color-link); transition: color 0.2s ease; }
a:hover { color: var(--color-link-hover); }

strong { font-weight: 600; }

.body-large { font-size: 16px; line-height: 1.6; }
.body-small { font-size: 13px; line-height: 1.6; color: var(--color-medium-grey); }
.caption { font-size: 12px; line-height: 1.5; color: var(--color-medium-grey); }
.overline {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

@media (min-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }
  h5 { font-size: 17px; }
  h6 { font-size: 15px; }
  .body-large { font-size: 17px; }
  .body-small { font-size: 14px; }
  .overline { font-size: 12px; }
}

@media (min-width: 1024px) {
  h1 { font-size: 42px; }
  h2 { font-size: 34px; }
  h3 { font-size: 26px; }
  h4 { font-size: 22px; }
  h5 { font-size: 18px; }
  h6 { font-size: 16px; }
  .body-large { font-size: 18px; }
}


/* ── LAYOUT ── */

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding-left: var(--side-padding-mobile);
  padding-right: var(--side-padding-mobile);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--side-padding-tablet);
    padding-right: var(--side-padding-tablet);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 0;
    padding-right: 0;
  }
}

.section {
  padding: 40px 0;
}

.section--hero {
  padding: 48px 0;
}

.section--cta {
  padding: 32px 0;
}

@media (min-width: 1024px) {
  .section { padding: 64px 0; }
  .section--hero { padding: 80px 0; }
  .section--cta { padding: 48px 0; }
}

.section--alt {
  background-color: var(--color-off-white);
}

.section--teal {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--teal h2,
.section--teal h3 {
  color: var(--color-white);
}

.section--teal p {
  color: rgba(255, 255, 255, 0.85);
}

.text-center { text-align: center; }


/* ── FLASH MESSAGES ── */

.flash-container {
  padding-top: 16px;
}

.flash-message {
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
}

.flash-message--success {
  background: #d1fae5;
  color: #065f46;
  border-left: 4px solid #10b981;
}

.flash-message--error {
  background: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}

.flash-message--info {
  background: #dbeafe;
  color: #1e40af;
  border-left: 4px solid #3b82f6;
}

.flash-message--warning {
  background: #fef3c7;
  color: #92400e;
  border-left: 4px solid #f59e0b;
}


/* ── HEADER & NAV ── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height-mobile);
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Header background transparency is handled in bootstrap-overrides.css */

/* Sticky header with white background when scrolled */
.header.scrolled {
  background-color: var(--color-white) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
}

.header.scrolled * {
  background-color: transparent !important;
}

/* EXCEPT dropdown menus - they always stay white */
.header.scrolled .dropdown-menu,
.header.scrolled .dropdown-menu * {
  background-color: var(--color-white) !important;
}

.header.scrolled .dropdown-item {
  background-color: transparent !important;
}

.header.scrolled .dropdown-item:hover {
  background: linear-gradient(90deg, rgba(46, 139, 139, 0.2) 0%, rgba(46, 139, 139, 0.05) 100%) !important;
}

/* Body padding to compensate for fixed header */
body {
  padding-top: var(--header-height-mobile);
}

/* Remove body padding on pages with a full-bleed hero */
body.has-hero {
  padding-top: 0;
}

@media (min-width: 1024px) {
  body {
    padding-top: var(--header-height-desktop);
  }
  body.has-hero {
    padding-top: 0;
  }
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header__logo,
.navbar-brand.header__logo {
  flex-shrink: 0;
  background: transparent;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  height: 100%;
}

/* Logo sizing is defined in bootstrap-overrides.css */

.nav {
  display: none;
  position: fixed;
  top: var(--header-height-mobile);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  padding: var(--space-lg);
  overflow-y: auto;
  z-index: 99;
}

.nav.active {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

/* Ensure each link hugs the right edge in the stacked mobile menu */
.nav.active .nav__link {
  align-self: flex-end;
  padding-right: var(--side-padding-mobile);
}

.nav__link {
  display: block;
  padding: 12px 0;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: right;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-secondary);
}

.nav__cta {
  display: inline-block;
  margin-top: var(--space-md);
}

/* Bootstrap navbar adjustments: ensure items float right away from logo */
/* When the collapsed navbar is shown on mobile, stack items and align them to the right */
.navbar-collapse.show .navbar-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

.navbar-collapse.show .navbar-nav .nav-link {
  text-align: right;
  align-self: flex-end;
  padding-right: var(--side-padding-mobile);
  padding-left: 0.5rem;
}

/* Desktop: ensure the nav list stays to the right of the logo */
@media (min-width: 1024px) {
  .navbar-nav {
    margin-left: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem;
  }

  .navbar-nav .nav-link {
    text-align: right;
    padding: 0 16px;
  }

  /* Dropdown hover effect for desktop */
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .nav-item.dropdown .dropdown-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background: var(--color-white) !important;
    background-color: var(--color-white) !important;
    border: 1px solid var(--color-light-grey);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
    padding-top: calc(0.75rem + 8px);
    min-width: 200px;
    margin-top: -8px;
    max-height: 70vh;
    overflow-y: auto;
  }
  
  /* Custom scrollbar for dropdown */
  .nav-item.dropdown .dropdown-menu::-webkit-scrollbar {
    width: 6px;
  }
  
  .nav-item.dropdown .dropdown-menu::-webkit-scrollbar-track {
    background: var(--color-off-white);
    border-radius: 0 12px 12px 0;
  }
  
  .nav-item.dropdown .dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 3px;
  }
  
  .nav-item.dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
  }

  .nav-item.dropdown .dropdown-item {
    color: var(--color-primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    padding-left: 2rem;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
    overflow: hidden;
  }

  .nav-item.dropdown .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--color-primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
  }

  .nav-item.dropdown .dropdown-item:hover {
    background: linear-gradient(90deg, rgba(46, 139, 139, 0.2) 0%, rgba(46, 139, 139, 0.05) 100%);
    color: var(--color-primary-dark);
  }

  .nav-item.dropdown .dropdown-item:hover::before {
    transform: scaleY(1);
  }

  .nav-item.dropdown .dropdown-item:active {
    background: linear-gradient(90deg, rgba(46, 139, 139, 0.3) 0%, rgba(46, 139, 139, 0.1) 100%);
  }

  .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .nav-item.dropdown .dropdown-toggle::after {
    transition: transform 0.3s ease;
  }

  .nav-item.dropdown .dropdown-toggle {
    position: relative;
  }

  .nav-item.dropdown:hover .dropdown-toggle {
    color: var(--color-primary) !important;
  }
}

/* Mobile dropdown styling */
.dropdown-menu {
  background: var(--color-white) !important;
  background-color: var(--color-white) !important;
  border: 1px solid var(--color-light-grey);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 0.75rem 0;
  max-height: 60vh;
  overflow-y: auto;
}

/* Custom scrollbar for mobile dropdown */
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: var(--color-off-white);
  border-radius: 0 12px 12px 0;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}

.dropdown-divider {
  border-top: 1px solid var(--color-primary);
  opacity: 0.3;
  margin: 0.5rem 0;
}

.dropdown-item {
  color: var(--color-primary);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--color-primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.dropdown-item:hover {
  background: linear-gradient(90deg, rgba(46, 139, 139, 0.2) 0%, rgba(46, 139, 139, 0.05) 100%);
  color: var(--color-primary-dark);
  padding-left: 2rem;
}

.dropdown-item:hover::before {
  transform: scaleY(1);
}

.dropdown-item:active {
  background: linear-gradient(90deg, rgba(232, 114, 42, 0.3) 0%, rgba(232, 114, 42, 0.1) 100%);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.2s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (min-width: 1024px) {
  .header {
    height: var(--header-height-desktop);
  }

  /* Logo sizing is defined in bootstrap-overrides.css */

  .hamburger { display: none; }

  .nav {
    display: flex;
    position: static;
    background: transparent;
    padding: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    overflow: visible;
    margin-left: auto;
  }

  .nav__link {
    display: inline-block;
    padding: 0 16px;
    font-size: 14px;
    color: var(--color-white);
    border-bottom: none;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transition: transform 0.2s ease;
  }

  .nav__link:hover,
  .nav__link.active {
    color: var(--color-white);
  }

  .nav__link:hover::after,
  .nav__link.active::after {
    transform: scaleX(1);
  }

  .nav__cta {
    display: inline-flex;
    align-items: center;
    margin: 0;
    margin-left: var(--space-md);
    height: 100%;
  }
}


/* ── BUTTONS ── */

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-primary {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(46, 139, 139, 0.2);
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
}

.btn-primary:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 114, 42, 0.3);
  color: var(--color-white);
}

.btn-primary:active {
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .btn-primary {
    font-size: 16px;
    padding: 16px 40px;
  }
}

.btn-secondary {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(46, 139, 139, 0.2);
}

.btn-secondary:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 114, 42, 0.3);
  color: var(--color-white);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-light {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-white);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-light:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 114, 42, 0.3);
  color: var(--color-white);
}

.btn-light:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 0;
  border: none;
}

.btn-ghost:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

.btn-ghost::after {
  content: ' \2192';
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-icon:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}


/* ── SERVICE CARDS ── */

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

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

.card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: var(--space-sm);
}

.card__desc {
  font-size: 14px;
  color: var(--color-medium-grey);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-secondary);
}

.card__link:hover {
  color: var(--color-secondary-dark);
}


/* ── TRUST BAR & WHY V2 SECTION ── */

.trust-bar {
  background: var(--color-white);
  padding: 48px 0;
}

.trust-bar__heading {
  text-align: center;
  font-size: 28px;
  margin-bottom: 32px;
}

.trust-bar__wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.trust-bar__nabl-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.trust-bar__nabl-logo {
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.trust-bar__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

@media (min-width: 768px) {
  .trust-bar__heading {
    font-size: 32px;
    margin-bottom: 40px;
  }
}

@media (min-width: 1024px) {
  .trust-bar {
    padding: 56px 0;
  }

  .trust-bar__heading {
    font-size: 36px;
    margin-bottom: 48px;
  }

  .trust-bar__wrapper {
    gap: 48px;
    align-items: center;
  }
}


/* ── WHY V2 HEADING ── */

.why-v2-heading {
  padding: 24px 0;
  text-align: center;
}

.why-v2-heading h2 {
  font-size: 28px;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .why-v2-heading {
    padding: 28px 0;
  }

  .why-v2-heading h2 {
    font-size: 32px;
  }
}

@media (min-width: 1024px) {
  .why-v2-heading {
    padding: 32px 0;
  }

  .why-v2-heading h2 {
    font-size: 36px;
    margin-bottom: 16px;
  }
}


.trust-bar__card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.trust-bar__card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Flip Card Animation */
.trust-bar__card--flip {
  perspective: 1000px;
  padding: 0;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-bar__card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 160px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.trust-bar__card--flip:hover .trust-bar__card-inner {
  transform: rotateY(180deg);
}

.trust-bar__card-front,
.trust-bar__card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  min-height: 160px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  top: 0;
  left: 0;
}

.trust-bar__card-front {
  background: var(--color-white);
  border: 2px solid var(--color-light-grey);
  border-radius: var(--radius-md);
}

.trust-bar__card--flip:hover .trust-bar__card-front {
  border-color: var(--color-primary);
}

.trust-bar__card-back {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  transform: rotateY(180deg);
}

.trust-bar__card-back p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: var(--color-white);
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
}

.trust-bar__number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.trust-bar__text {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-charcoal);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .trust-bar__wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }

  .trust-bar__nabl-section {
    flex: 0 0 auto;
    min-width: 200px;
    margin-bottom: 0;
  }

  .trust-bar__nabl-logo {
    max-height: 120px;
  }

  .trust-bar__items {
    grid-template-columns: 1fr 1fr;
    flex: 1;
    gap: 24px;
  }

  .trust-bar__number {
    font-size: 32px;
  }

  .trust-bar__text {
    font-size: 15px;
  }

  .trust-bar__card--flip {
    min-height: 180px;
  }

  .trust-bar__card-inner {
    min-height: 180px;
  }

  .trust-bar__card-front,
  .trust-bar__card-back {
    min-height: 180px;
  }

  .trust-bar__card-back p {
    font-size: 13px;
    line-height: 1.4;
  }
}

@media (min-width: 1024px) {
  .trust-bar {
    padding: 56px 0;
  }

  .trust-bar__wrapper {
    gap: 48px;
    align-items: center;
  }

  .trust-bar__nabl-section {
    flex: 0 0 220px;
  }

  .trust-bar__nabl-logo {
    max-height: 140px;
  }

  .trust-bar__items {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    flex: 1;
  }

  .trust-bar__card--flip {
    min-height: 200px;
  }

  .trust-bar__card-inner {
    min-height: 200px;
  }

  .trust-bar__card-front,
  .trust-bar__card-back {
    min-height: 200px;
  }

  .trust-bar__number {
    font-size: 36px;
  }

  .trust-bar__text {
    font-size: 16px;
  }

  .trust-bar__card-back p {
    font-size: 13px;
    line-height: 1.4;
  }
}


/* ── SERVICES SECTION ── */

.services-intro {
  padding: 48px 0;
  background: var(--color-off-white);
}

.services-intro__header {
  text-align: center;
  margin-bottom: 40px;
}

.services-intro__header h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.services-intro__header p {
  font-size: 15px;
  color: var(--color-dark-grey);
  max-width: 600px;
  margin: 0 auto;
}

.services-intro__cta {
  text-align: center;
}

/* Services Grid Full Section */
.services-grid-full {
  background: var(--color-white);
}

.services-grid-full h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 8px;
}

/* Service card base styles (mobile-first) */
.service-card {
  display: block;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card p {
  font-size: 14px;
  color: var(--color-dark-grey);
  line-height: 1.5;
  margin-bottom: 12px;
}

.service-card__link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  transition: color 0.2s ease;
}

.service-card__link:hover {
  color: var(--color-secondary);
}

@media (min-width: 768px) {
  .services-intro {
    padding: 56px 0;
  }

  .services-intro__header h2 {
    font-size: 32px;
  }

  .services-intro__header p {
    font-size: 16px;
  }

  .service-card {
    padding: 24px;
  }

  .service-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
  }

  .service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .service-card p {
    font-size: 15px;
  }

  .service-card__link {
    font-size: 14px;
  }

  .services-grid-full h2 {
    font-size: 32px;
  }
}

@media (min-width: 1024px) {
  .services-intro {
    padding: 64px 0;
  }

  .services-intro__header h2 {
    font-size: 36px;
    margin-bottom: 16px;
  }

  .services-intro__header p {
    font-size: 17px;
  }

  .services-intro__cta {
    margin-bottom: 48px;
  }

  .service-card {
    padding: 28px;
  }

  .service-card__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .service-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .service-card p {
    font-size: 16px;
  }

  .service-card__link {
    font-size: 14px;
  }

  .services-grid-full h2 {
    font-size: 36px;
    margin-bottom: 16px;
  }
}


/* ── BREADCRUMBS ── */

.breadcrumb {
  font-size: 13px;
  color: var(--color-medium-grey);
  margin-bottom: var(--space-md);
}

.breadcrumb a {
  color: var(--color-medium-grey);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb__separator {
  margin: 0 6px;
  color: var(--color-copyright-text);
}

.breadcrumb__current {
  color: var(--color-charcoal);
  font-weight: 600;
}


/* ── ACCORDION / FAQ ── */

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.accordion {
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.accordion:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 24px;
  background: var(--color-white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-charcoal);
  transition: all 0.2s ease;
}

.accordion__header:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.accordion.active .accordion__header {
  background: var(--color-primary-light);
  border-left: 4px solid var(--color-primary);
  color: var(--color-primary);
}

.accordion__icon {
  font-size: 18px;
  color: var(--color-medium-grey);
  transition: transform 0.3s ease, color 0.2s ease;
  min-width: 24px;
  text-align: center;
}

.accordion.active .accordion__icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.accordion__body {
  display: none;
  padding: 0 24px 20px 24px;
  font-size: 15px;
  color: var(--color-dark-grey);
  line-height: 1.7;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accordion.active .accordion__body {
  display: block;
}

.accordion__body p {
  margin-bottom: 0;
}


/* ── CTA BAND ── */

.cta-band {
  background: var(--color-primary);
  padding: 32px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 12px;
}

.cta-band p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-lg);
}

/* CTA band inherits global button styles */

@media (min-width: 1024px) {
  .cta-band { padding: 48px 0; }
  .cta-band h2 { font-size: 30px; }
}


/* ── FORMS ── */

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark-grey);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 1px solid var(--color-light-grey);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(46, 139, 139, 0.15);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-error);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-placeholder);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  font-size: 13px;
  color: var(--color-error);
  margin-top: 4px;
}

.form-required {
  color: var(--color-error);
}


/* ── TABLES ── */

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-charcoal);
  background: var(--color-off-white);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--color-light-grey);
}

.table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-light-grey);
  color: var(--color-dark-grey);
}

.table tr:last-child td {
  border-bottom: none;
}


/* ── FOOTER ── */

.footer {
  background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
  border-top: 3px solid var(--color-secondary);
  color: var(--color-footer-text);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-secondary) 20%, 
    var(--color-primary) 50%, 
    var(--color-secondary) 80%, 
    transparent 100%);
  opacity: 0.5;
}

.footer__main {
  padding: var(--space-2xl) 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAxMCAwIEwgMCAwIDAgMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgyNTUsIDI1NSwgMjU1LCAwLjAyKSIgc3Ryb2tlLXdpZHRoPSIxIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyaWQpIi8+PC9zdmc+') repeat;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1.2fr 1.3fr;
    gap: var(--space-2xl);
  }
}

.footer__column {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer__logo-section {
  margin-bottom: var(--space-md);
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: inline-block;
}

.footer__logo {
  display: block;
  filter: brightness(1.1);
  transition: transform 0.3s ease;
}

.footer__logo:hover {
  transform: scale(1.05);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.footer__heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  border-radius: 2px;
}

.footer__column--about .footer__heading::after {
  width: 60px;
}

.footer__text {
  font-size: 14px;
  color: var(--color-footer-text);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-md);
}

.footer__badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 165, 0, 0.1);
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 20px;
  color: var(--color-secondary);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer__badge:hover {
  background: rgba(255, 165, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.2);
}

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

.footer__list li {
  margin-bottom: 2px;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: var(--color-footer-text);
  padding: 6px 0;
  transition: all 0.3s ease;
  position: relative;
}

.footer__link-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  color: var(--color-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.footer__link:hover {
  color: var(--color-white);
  padding-left: 8px;
}

.footer__link:hover .footer__link-icon {
  transform: translateX(4px);
}

.footer__link--all {
  margin-top: 8px;
  color: var(--color-secondary);
  font-weight: 600;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: var(--space-md);
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.footer__contact-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 165, 0, 0.2);
  transform: translateX(4px);
}

.footer__contact-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-secondary);
}

.footer__contact-icon svg {
  width: 100%;
  height: 100%;
}

.footer__phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__phone {
  color: var(--color-white);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer__phone:hover {
  color: var(--color-secondary);
  transform: translateX(4px);
}

.footer__phone-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__phone-badge {
  display: inline-block;
  background: rgba(255, 132, 0, 0.85);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer__email {
  color: var(--color-white);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer__email:hover {
  color: var(--color-secondary);
}

/* Map Section */
.footer__map-section {
  padding: var(--space-2xl) 0;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__map-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.footer__map-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__map-subtitle {
  font-size: 16px;
  color: var(--color-footer-text);
  max-width: 600px;
  margin: 0 auto;
}

.footer__map-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 165, 0, 0.1);
  transition: all 0.4s ease;
}

.footer__map-container:hover {
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5),
              0 0 0 2px rgba(255, 165, 0, 0.3);
  transform: translateY(-4px);
}

.footer__map-iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
  filter: grayscale(10%) contrast(1.1);
  transition: filter 0.3s ease;
}

.footer__map-iframe:hover {
  filter: grayscale(0%) contrast(1.2);
}

@media (min-width: 768px) {
  .footer__map-iframe {
    height: 450px;
  }
}

@media (min-width: 1024px) {
  .footer__map-iframe {
    height: 500px;
  }
}

.footer__map-button {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(255, 165, 0, 0.4),
              0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 10;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer__map-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(255, 165, 0, 0.5),
              0 6px 16px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.footer__map-button:active {
  transform: translateY(-1px) scale(1.02);
}

.footer__map-button svg {
  width: 20px;
  height: 20px;
}

/* Copyright */
.footer__copyright {
  background: rgba(0, 0, 0, 0.5);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__copyright-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .footer__copyright-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copyright-content p {
  margin: 0;
}

.footer__copyright-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__copyright-tags span {
  color: var(--color-secondary);
  font-weight: 600;
}


/* ── STICKY MOBILE BAR ── */

.mobile-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--mobile-bar-height);
  background: var(--color-primary);
  z-index: 100;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.mobile-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-bar__item svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 1024px) {
  .mobile-bar {
    display: none;
  }
}


/* ── HERO SECTION ── */

.hero {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 80px 0 120px;
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fallback background for home hero */
.hero--home {
  background: linear-gradient(135deg, #004d4d 0%, #006666 50%, #004d4d 100%);
  padding-top: calc(var(--header-height-mobile) + 80px);
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__company-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero__headline {
  margin-bottom: var(--space-md);
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  max-width: 800px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.5px;
}

.hero h1 {
  margin-bottom: var(--space-md);
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  max-width: 800px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.5px;
}

.hero__subheadline {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-lg);
  max-width: 700px;
  line-height: 1.7;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero .btn-primary {
  margin-top: var(--space-lg);
  padding: 16px 48px;
  font-size: 16px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .hero {
    padding: 100px 0 140px;
    min-height: 600px;
  }

  .hero--home {
    padding-top: calc(var(--header-height-mobile) + 100px);
  }

  .hero__company-name {
    font-size: 18px;
    letter-spacing: 0.35em;
    margin-bottom: 16px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.4);
  }

  .hero h1,
  .hero__headline {
    font-size: 40px;
    color: #ffffff;
    text-shadow: 0 3px 25px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.8px;
  }

  .hero__subheadline {
    font-size: 19px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.4);
  }

  .hero .btn-primary {
    padding: 18px 56px;
    font-size: 17px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 120px 0 160px;
    min-height: 700px;
  }

  .hero--home {
    padding-top: calc(var(--header-height-desktop) + 120px);
  }

  .hero__company-name {
    font-size: 20px;
    letter-spacing: 0.4em;
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.4);
  }

  .hero h1,
  .hero__headline {
    font-size: 48px;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: -1px;
  }

  .hero__subheadline {
    font-size: 22px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.4);
  }

  .hero .btn-primary {
    padding: 20px 60px;
    font-size: 18px;
  }
}

/* Video background helpers for hero */
.hero__video {
  position: absolute;
  inset: 0 0 0 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.95;
  transform: scale(1.02);
  transition: opacity 1s ease-in-out;
}

/* Video loaded state */
.hero__video video.loaded {
  opacity: 1;
}

/* Add subtle zoom animation for video */
@keyframes videoZoom {
  0%, 100% {
    transform: scale(1.02);
  }
  50% {
    transform: scale(1.05);
  }
}

.hero--home .hero__video video {
  animation: videoZoom 30s ease-in-out infinite;
}

.hero__overlay {
  position: absolute;
  inset: 0 0 0 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 77, 77, 0.55) 50%,
    rgba(0, 0, 0, 0.60) 100%
  );
  pointer-events: none;
}

/* Enhanced overlay for home page video hero */
.hero--home .hero__overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.60) 0%,
    rgba(0, 77, 77, 0.45) 30%,
    rgba(0, 102, 102, 0.40) 50%,
    rgba(0, 77, 77, 0.45) 70%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

/* Add vignette effect for better focus on content */
.hero--home .hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
}

/* Fade-in animations for hero content */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero--home .hero__company-name {
  animation: fadeIn 1s ease-out 0.2s both;
}

.hero--home .hero__headline {
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero--home .hero__subheadline {
  animation: fadeInUp 1s ease-out 0.8s both;
}

.hero--home .btn-primary {
  animation: fadeInUp 1s ease-out 1.1s both;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.hero--home .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

/* Prevent small vertical jumps when webfonts load by reserving space
   for the hero lines. These min-heights match the expected rendered
   sizes across breakpoints and reduce visual shifting of the company
   name / headline / subheadline and CTA. */
.hero__company-name,
.hero__headline,
.hero__subheadline {
  transition: none !important;
}

.hero__company-name { min-height: 22px; }
.hero__headline { min-height: 56px; }
.hero__subheadline { min-height: 20px; }

/* On small screens keep video visible — autoplay muted playsinline works on mobile */
@media (max-width: 767px) {
  .hero__video { display: block; }
  .hero__video video { object-position: center center; }
}


/* ── STATS / NUMBERS BAR ── */

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  text-align: center;
}

.stats__item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
}

.stats__item span {
  font-size: 13px;
  color: var(--color-medium-grey);
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .stats__item strong {
    font-size: 36px;
  }
}


/* ── UTILITY CLASSES ── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

/* Add bottom padding for mobile bar */
@media (max-width: 1023px) {
  body {
    padding-bottom: var(--mobile-bar-height);
  }
}

/* Strong overrides for primary buttons in header/nav to prevent overlays covering text */
a.btn.btn-primary,
.header .btn.btn-primary,
.nav .btn.btn-primary,
.nav__cta .btn.btn-primary {
  position: relative !important;
  z-index: 3 !important;
  color: #ffffff !important;
  background-image: none !important;
}

/* Remove any pseudo-element overlays (from bootstrap themes) that may sit above button text */
a.btn.btn-primary::before,
a.btn.btn-primary::after,
.header .btn.btn-primary::before,
.header .btn.btn-primary::after,
.nav .btn.btn-primary::before,
.nav .btn.btn-primary::after,
.nav__cta .btn.btn-primary::before,
.nav__cta .btn.btn-primary::after {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Ensure hover keeps pure white text and no overlay effect */
a.btn.btn-primary:hover,
.header .btn.btn-primary:hover,
.nav .btn.btn-primary:hover,
.nav__cta .btn.btn-primary:hover {
  color: #ffffff !important;
  background-color: var(--color-secondary-dark) !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Extra safety: if any ancestor has a pseudo-element overlay, push nav buttons above it */
.header .navbar,
.nav {
  position: relative;
}

/* Final aggressive override: force header/nav primary button text above any overlays */
.header a.btn.btn-primary,
.header .nav__cta a.btn.btn-primary,
.header .navbar a.btn.btn-primary,
.nav a.btn.btn-primary {
  position: relative !important;
  z-index: 9999 !important;
  overflow: visible !important;
  color: #ffffff !important;
  background-color: var(--color-secondary) !important;
  background-image: none !important;
  box-shadow: none !important;
  mix-blend-mode: normal !important;
}

/* Ensure any child nodes (text, icons) sit above the background/pseudo elements */
.header a.btn.btn-primary > *,
.header .nav__cta a.btn.btn-primary > *,
.nav a.btn.btn-primary > * {
  position: relative !important;
  z-index: 10000 !important;
  color: #ffffff !important;
  mix-blend-mode: normal !important;
}

/* Nuke any pseudo-elements coming from theme CSS */
.header a.btn.btn-primary::before,
.header a.btn.btn-primary::after,
.header .navbar a.btn.btn-primary::before,
.header .navbar a.btn.btn-primary::after,
.nav a.btn.btn-primary::before,
.nav a.btn.btn-primary::after,
.nav__cta a.btn.btn-primary::before,
.nav__cta a.btn.btn-primary::after {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Keep hover behavior simple and ensure text stays white */
.header a.btn.btn-primary:hover,
.nav a.btn.btn-primary:hover,
.header .nav__cta a.btn.btn-primary:hover {
  color: #ffffff !important;
  background-color: var(--color-secondary-dark) !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════
   PRESTIGIOUS CLIENTS CAROUSEL
   ═══════════════════════════════════════════════════════════ */

.prestigious-clients-section {
  position: relative;
}

/* Prestigious Header Styling */
.prestigious-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  padding: 0 20px;
}

.prestigious-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.prestigious-title__our {
  color: #ff6b35;
  font-weight: 600;
  font-size: 3rem;
  font-family: var(--font-primary);
  text-shadow: 2px 2px 4px rgba(255, 107, 53, 0.2);
  animation: titleGlow 3s ease-in-out infinite alternate;
}

.prestigious-title__clients {
  color: #1a1a1a;
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: 2px;
  font-family: var(--font-primary);
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: textShine 5s linear infinite;
}

@keyframes titleGlow {
  0% {
    text-shadow: 2px 2px 4px rgba(255, 107, 53, 0.2);
  }
  100% {
    text-shadow: 2px 2px 12px rgba(255, 107, 53, 0.4), 0 0 20px rgba(255, 107, 53, 0.2);
  }
}

@keyframes textShine {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.prestigious-subtitle {
  color: #666;
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

.logo-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: var(--space-2xl) 0;
}

.logo-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: fit-content;
  padding: 15px 0;
  will-change: transform;
  -webkit-animation: scroll 50s linear infinite;
  -moz-animation: scroll 50s linear infinite;
  -o-animation: scroll 50s linear infinite;
  animation: scroll 50s linear infinite;
}

.logo-track:hover {
  -webkit-animation-play-state: paused;
  -moz-animation-play-state: paused;
  -o-animation-play-state: paused;
  animation-play-state: paused;
}

/* Add subtle floating animation to alternating items */
.logo-item:nth-child(odd) {
  -webkit-animation: floatUp 3s ease-in-out infinite;
  -moz-animation: floatUp 3s ease-in-out infinite;
  animation: floatUp 3s ease-in-out infinite;
}

.logo-item:nth-child(even) {
  -webkit-animation: floatDown 3s ease-in-out infinite;
  -moz-animation: floatDown 3s ease-in-out infinite;
  animation: floatDown 3s ease-in-out infinite;
}

@-webkit-keyframes floatUp {
  0%, 100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}

@-moz-keyframes floatUp {
  0%, 100% {
    -moz-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -moz-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}

@keyframes floatUp {
  0%, 100% {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}

@-webkit-keyframes floatDown {
  0%, 100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
  }
}

@-moz-keyframes floatDown {
  0%, 100% {
    -moz-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -moz-transform: translateY(5px);
    transform: translateY(5px);
  }
}

@keyframes floatDown {
  0%, 100% {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(5px);
    -moz-transform: translateY(5px);
    transform: translateY(5px);
  }
}

.logo-item:hover {
  -webkit-animation: none;
  -moz-animation: none;
  animation: none;
}

.logo-item {
  flex-shrink: 0;
  width: 280px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.logo-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.15), rgba(0, 123, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.logo-item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.logo-item:hover::before {
  left: 100%;
}

.logo-item:hover::after {
  opacity: 1;
}

.logo-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.logo-item:hover {
  transform: translateY(-10px) scale(1.08);
  box-shadow: 
    0 20px 40px rgba(255, 107, 53, 0.25),
    0 8px 16px rgba(0, 123, 255, 0.15),
    0 0 0 3px rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #fff5f2 100%);
}

.logo-item img {
  max-width: 120%;
  max-height: 120%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
  transform: scale(1.15);
}

.logo-item:hover img {
  filter: brightness(1.05) contrast(1.05);
  opacity: 1;
  transform: scale(1.1) rotate(2deg);
}

@-webkit-keyframes scroll {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}

@-moz-keyframes scroll {
  0% {
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}

@-o-keyframes scroll {
  0% {
    -o-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}

@keyframes scroll {
  0% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .prestigious-title {
    font-size: 2.25rem;
  }
  
  .prestigious-title__our,
  .prestigious-title__clients {
    font-size: 2.25rem;
  }
  
  .prestigious-subtitle {
    font-size: 1rem;
    padding: 0 10px;
  }
  
  .logo-track {
    gap: 60px;
    animation-duration: 40s;
  }
  
  .logo-item {
    width: 220px;
    height: 120px;
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .prestigious-title {
    font-size: 1.75rem;
  }
  
  .prestigious-title__our,
  .prestigious-title__clients {
    font-size: 1.75rem;
  }
  
  .prestigious-subtitle {
    font-size: 0.9rem;
  }
  
  .logo-track {
    gap: 40px;
    animation-duration: 30s;
  }
  
  .logo-item {
    width: 180px;
    height: 100px;
    padding: 20px;
  }
}

/* Add vibrant background pattern with animation */
.prestigious-clients-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 123, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(40, 167, 69, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

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

/* Add decorative element */
.logo-carousel-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 107, 53, 0.2) 20%,
    rgba(0, 123, 255, 0.2) 50%,
    rgba(255, 107, 53, 0.2) 80%,
    transparent 100%
  );
  transform: translateY(-50%);
  z-index: 0;
}



/* ═══════════════════════════════════════════════════════════
   PROJECT CATEGORIES & CARDS
   ═══════════════════════════════════════════════════════════ */

.projects-categories-section {
  position: relative;
  background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
}

.project-category-block {
  position: relative;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease-out;
}

.project-card {
  background: white;
  border: 2px solid #f5f7fa;
  border-radius: 14px;
  padding: 26px 22px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(255, 107, 53, 0.1);
  background: linear-gradient(to bottom, #ffffff 0%, #fffbf9 100%);
}

.project-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #e8ecef;
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}

.project-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.04), rgba(0, 123, 255, 0.04));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-logo img {
  max-height: 56px;
  max-width: 100%;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
}

.project-card:hover .project-logo {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border-color: rgba(0, 123, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.08);
}

.project-card:hover .project-logo::before {
  opacity: 1;
}

.project-card:hover .project-logo img {
  filter: brightness(1.05) contrast(1.05) drop-shadow(0 2px 8px rgba(0, 123, 255, 0.15));
  transform: scale(1.08);
}

.project-card h4 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 10px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.project-card h4 a {
  transition: color 0.3s ease;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: all 0.3s ease;
}

.project-card:hover h4 a {
  color: var(--color-primary);
  background-size: 100% 2px;
}

.project-type {
  font-size: 13px;
  color: var(--color-medium-grey);
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-type {
  opacity: 1;
  color: var(--color-secondary);
}

.category-header {
  position: relative;
  overflow: hidden;
}

.category-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translate(-50%, -50%);
  }
  100% {
    transform: translate(50%, 50%);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .project-card {
    padding: 22px 18px;
  }
  
  .project-logo {
    height: 70px;
  }

  .project-logo img {
    max-height: 50px;
  }
  
  .project-card h4 {
    font-size: 15.5px;
  }
  
  .project-type {
    font-size: 12px;
  }
  
  .category-header h3 {
    font-size: 20px !important;
  }
  
  .category-header p {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  .category-header {
    padding: var(--space-md) var(--space-md) !important;
  }
  
  .category-content {
    padding: var(--space-md) !important;
  }
  
  .project-card {
    padding: 18px 14px;
  }
  
  .project-logo {
    height: 60px;
  }
  
  .project-logo img {
    max-height: 42px;
  }
  
  .project-card h4 {
    font-size: 15px;
  }
}


/* ═══════════════════════════════════════════════════════════
   BLOG PREVIEW SECTION (Insights from Our Lab)
   ═══════════════════════════════════════════════════════════ */

.blog-preview {
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 56px 0 64px;
  overflow: hidden;
}

/* Add subtle decorative pattern */
.blog-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(46, 139, 139, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(255, 132, 0, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

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

.blog-preview h2 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: var(--color-charcoal);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.blog-preview > .container > p {
  font-size: 16px;
  text-align: center;
  color: var(--color-dark-grey);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

/* Individual Blog Cards */
.blog-preview .card {
  background: var(--color-white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-preview .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: var(--color-primary);
}

/* Card Image/Icon Area */
.blog-preview .card-img-top {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.blog-preview .card:hover .card-img-top {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, rgba(46, 139, 139, 0.1) 100%);
}

/* Card Body */
.blog-preview .card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-preview .card-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-charcoal);
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.blog-preview .card-body p {
  font-size: 14px;
  color: var(--color-medium-grey);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* Read More Link */
.blog-preview .card-body .btn-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  margin-top: auto;
}

.blog-preview .card-body .btn-link:hover {
  color: var(--color-secondary);
  gap: 10px;
}

.blog-preview .card-body .btn-link:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

/* View All Button */
.blog-preview .text-center {
  margin-top: 40px;
}

.blog-preview .btn-secondary {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(46, 139, 139, 0.2);
}

.blog-preview .btn-secondary:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 132, 0, 0.3);
  color: var(--color-white);
}

.blog-preview .btn-secondary:active {
  transform: translateY(0);
}

/* Tablet Styles (768px - 1023px) */
@media (min-width: 768px) {
  .blog-preview {
    padding: 64px 0 72px;
  }
  
  .blog-preview h2 {
    font-size: 32px;
    margin-bottom: 16px;
  }
  
  .blog-preview > .container > p {
    font-size: 17px;
    margin-bottom: 40px;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  
  .blog-preview .card-body {
    padding: 28px;
  }
  
  .blog-preview .card-body h3 {
    font-size: 19px;
    margin-bottom: 14px;
  }
  
  .blog-preview .card-body p {
    font-size: 15px;
    margin-bottom: 18px;
  }
  
  .blog-preview .card-body .btn-link {
    font-size: 15px;
  }
  
  .blog-preview .text-center {
    margin-top: 48px;
  }
  
  .blog-preview .btn-secondary {
    padding: 16px 40px;
    font-size: 16px;
  }
}

/* Desktop Styles (1024px and above) */
@media (min-width: 1024px) {
  .blog-preview {
    padding: 80px 0 88px;
  }
  
  .blog-preview h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .blog-preview > .container > p {
    font-size: 18px;
    margin-bottom: 48px;
  }
  
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  
  .blog-preview .card-body {
    padding: 32px;
  }
  
  .blog-preview .card-body h3 {
    font-size: 20px;
    margin-bottom: 16px;
  }
  
  .blog-preview .card-body p {
    font-size: 15px;
  }
  
  .blog-preview .text-center {
    margin-top: 56px;
  }
}

/* Mobile Specific Adjustments */
@media (max-width: 767px) {
  .blog-preview {
    padding: 48px 0 56px;
  }
  
  .blog-preview h2 {
    font-size: 24px;
  }
  
  .blog-preview > .container > p {
    font-size: 15px;
    margin-bottom: 28px;
  }
  
  .blog-grid {
    gap: 20px;
    margin-top: 32px;
  }
  
  .blog-preview .card-body {
    padding: 20px;
  }
  
  .blog-preview .card-body h3 {
    font-size: 17px;
  }
  
  .blog-preview .card-body p {
    font-size: 14px;
  }
  
  .blog-preview .btn-secondary {
    width: 100%;
    padding: 14px 24px;
  }
}

/* Animation on scroll */
@media (prefers-reduced-motion: no-preference) {
  .blog-preview .card {
    animation: fadeInUp 0.5s ease-out backwards;
  }
  
  .blog-preview .card:nth-child(1) {
    animation-delay: 0.1s;
  }
  
  .blog-preview .card:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .blog-preview .card:nth-child(3) {
    animation-delay: 0.3s;
  }
}


/* ── CONTACT STRIP (Talk to Our Testing Team) ── */

.contact-strip {
  position: relative;
  background: linear-gradient(135deg, #2e8b8b 0%, #1a5f5f 100%);
  padding: 60px 0;
  overflow: hidden;
}

/* Add decorative pattern overlay */
.contact-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

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

.contact-strip h2 {
  color: var(--color-white);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-strip > .container > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Form container with elevated card design */
.contact-strip .quick-form {
  background: var(--color-white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  max-width: 900px;
  margin: 0 auto;
}

.contact-strip .form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 8px;
  display: block;
  text-transform: none;
  letter-spacing: 0;
}

.contact-strip .form-control,
.contact-strip .form-select {
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: var(--color-white);
}

.contact-strip .form-control:focus,
.contact-strip .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(46, 139, 139, 0.1);
  outline: none;
}

.contact-strip .form-control:hover,
.contact-strip .form-select:hover {
  border-color: #d1d5db;
}

.contact-strip textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-strip .btn-primary {
  padding: 16px 48px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  background: var(--color-secondary);
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(255, 132, 0, 0.3);
}

.contact-strip .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 132, 0, 0.4);
  background: #e67700;
}

.contact-strip .btn-primary:active {
  transform: translateY(0);
}

/* Responsive design for tablets */
@media (min-width: 768px) {
  .contact-strip {
    padding: 80px 0;
  }
  
  .contact-strip h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .contact-strip > .container > p {
    font-size: 18px;
    margin-bottom: 48px;
  }
  
  .contact-strip .quick-form {
    padding: 40px 48px;
  }
}

/* Responsive design for mobile */
@media (max-width: 767px) {
  .contact-strip {
    padding: 48px 0;
  }
  
  .contact-strip h2 {
    font-size: 24px;
  }
  
  .contact-strip > .container > p {
    font-size: 16px;
    margin-bottom: 32px;
  }
  
  .contact-strip .quick-form {
    padding: 24px 20px;
    border-radius: 12px;
  }
  
  .contact-strip .btn-primary {
    width: 100%;
    padding: 14px 32px;
  }
}

/* Add subtle animation on scroll */
@media (prefers-reduced-motion: no-preference) {
  .contact-strip .quick-form {
    animation: fadeInUp 0.6s ease-out;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════════════════════
   CAREERS PAGE STYLES
   ══════════════════════════════════════════════════════════════ */

/* ── HERO CAREERS VARIANT ── */
.hero--careers {
  background: linear-gradient(135deg, #1E6B6B 0%, #2E8B8B 50%, #3A9999 100%);
  position: relative;
  overflow: hidden;
}

.hero--careers::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(232, 114, 42, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero--careers .hero__overlay {
  background: rgba(0, 0, 0, 0.15);
}

/* ══════════════════════════════════════════════════════════════
   CERTIFICATIONS PAGE STYLES
   ══════════════════════════════════════════════════════════════ */

/* ── HERO CERTIFICATIONS VARIANT ── */
.hero--certifications {
  background: linear-gradient(135deg, #1a5f7a 0%, #2e8b8b 40%, #159895 100%);
  position: relative;
  overflow: hidden;
}

.hero--certifications::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 30%, rgba(232, 114, 42, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(0, 0, 0, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(21, 152, 149, 0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero--certifications::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(25%, -25%);
  pointer-events: none;
  z-index: 0;
}

.hero--certifications .hero__overlay {
  background: rgba(0, 0, 0, 0.12);
}

/* ── CAREERS PAGE CARD HOVER EFFECTS ── */
.careers .card,
section .card {
  transition: all 0.3s ease;
}

.careers .card:hover,
section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

/* ── FORM ENHANCEMENTS ── */
.form-control:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(46, 139, 139, 0.25);
}

.btn-outline-light {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-secondary);
  border-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.3);
}

.btn-outline-light:active {
  transform: translateY(0);
}

/* ── CAREERS SPECIFIC CARD STYLES ── */
.card.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.card.border-0 {
  border: none !important;
}

/* ── RESPONSIVE BUTTON GROUP ── */
.d-flex.gap-3 {
  gap: 1rem;
}

@media (max-width: 767px) {
  .d-flex.gap-3 {
    flex-direction: column;
  }
  
  .btn-outline-light,
  .btn-primary {
    width: 100%;
    text-align: center;
  }
}


/* ── SERVICE DETAIL PAGES ── */

/* Service Overview Section */
.service-overview {
  padding: 48px 0;
  background: var(--color-white);
}

.service-overview h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 16px;
  line-height: 1.3;
}

.service-overview p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-dark-grey);
}

/* Service Tests Section */
.service-tests {
  padding: 48px 0;
  background: var(--color-off-white);
}

.service-tests h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 16px;
  text-align: center;
}

.service-tests > .container > p {
  text-align: center;
  font-size: 16px;
  color: var(--color-dark-grey);
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.service-tests h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 32px;
  margin-bottom: 16px;
}

/* Tests Table */
.tests-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
}

.tests-table thead {
  background: var(--color-primary);
  color: var(--color-white);
}

.tests-table thead th {
  padding: 14px 16px;
  font-weight: 600;
  text-align: left;
  font-size: 15px;
}

.tests-table tbody tr {
  border-bottom: 1px solid var(--color-light-grey);
  transition: background 0.2s ease;
}

.tests-table tbody tr:last-child {
  border-bottom: none;
}

.tests-table tbody tr:hover {
  background: var(--color-primary-light);
}

.tests-table tbody td {
  padding: 12px 16px;
  font-size: 15px;
  color: var(--color-dark-grey);
}

/* Service Process Section */
.service-process {
  padding: 48px 0;
  background: var(--color-white);
}

.service-process h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 32px;
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.process-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.process-step__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.process-step__icon svg {
  width: 100%;
  height: 100%;
}

.process-step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 8px;
  margin-top: 4px;
}

.process-step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-dark-grey);
  margin-bottom: 0;
}

/* FAQ Section for Service Pages */
.faq-section {
  padding: 48px 0;
  background: var(--color-off-white);
}

.faq-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 32px;
  text-align: center;
}

/* Service Equipment Section */
.service-equipment {
  padding: 48px 0;
  background: var(--color-white);
}

.service-equipment h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 24px;
  text-align: center;
}

.service-equipment p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-dark-grey);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Related Services Section */
.related-services {
  padding: 48px 0;
  background: var(--color-off-white);
}

.related-services h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 32px;
  text-align: center;
}

.related-services .card {
  border: 1px solid var(--color-light-grey);
  border-radius: 8px;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  background: var(--color-white);
}

.related-services .card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.related-services .card-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 12px;
}

.related-services .card-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-dark-grey);
  margin-bottom: 0;
}

/* Responsive Adjustments for Service Pages */
@media (min-width: 768px) {
  .service-overview {
    padding: 64px 0;
  }

  .service-overview h2 {
    font-size: 30px;
  }

  .service-tests {
    padding: 64px 0;
  }

  .service-tests h2 {
    font-size: 32px;
  }

  .service-process {
    padding: 64px 0;
  }

  .service-process h2 {
    font-size: 32px;
  }

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

  .faq-section {
    padding: 64px 0;
  }

  .faq-section h2 {
    font-size: 32px;
  }

  .service-equipment {
    padding: 64px 0;
  }

  .service-equipment h2 {
    font-size: 32px;
  }

  .related-services {
    padding: 64px 0;
  }

  .related-services h2 {
    font-size: 32px;
  }
}

@media (min-width: 1024px) {
  .service-overview {
    padding: 80px 0;
  }

  .service-overview h2 {
    font-size: 34px;
  }

  .service-tests {
    padding: 80px 0;
  }

  .service-tests h2 {
    font-size: 36px;
  }

  .service-process {
    padding: 80px 0;
  }

  .service-process h2 {
    font-size: 36px;
  }

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

  .faq-section {
    padding: 80px 0;
  }

  .faq-section h2 {
    font-size: 36px;
  }

  .service-equipment {
    padding: 80px 0;
  }

  .service-equipment h2 {
    font-size: 36px;
  }

  .related-services {
    padding: 80px 0;
  }

  .related-services h2 {
    font-size: 36px;
  }
}

/* Certifications Page Styles */
.certifications-intro {
  padding: 48px 0;
  background: var(--color-white);
}

.certifications-intro h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 20px;
}

.certifications-intro p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-dark-grey);
}

.certifications-intro ul {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-dark-grey);
}

.certifications-intro ul li {
  margin-bottom: 8px;
}

.certification-badge {
  background: var(--color-primary-light);
  border-radius: 12px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.certification-badge svg {
  width: 120px;
  height: 120px;
  color: var(--color-primary);
}

/* Certificate Viewer Section */
.certificate-viewer {
  padding: 48px 0;
  background: var(--color-off-white);
}

.certificate-viewer h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 8px;
  text-align: center;
}

.certificate-viewer__subtitle {
  font-size: 16px;
  color: var(--color-dark-grey);
  text-align: center;
  margin-bottom: 32px;
}

.certificate-viewer__container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 24px;
  background: var(--color-white);
  border: 1px solid var(--color-light-grey);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.certificate-viewer__embed {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

.certificate-viewer__fallback {
  display: none;
  padding: 60px 20px;
  text-align: center;
}

.certificate-viewer__fallback-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  color: var(--color-primary);
}

.certificate-viewer__fallback-icon svg {
  width: 100%;
  height: 100%;
}

.certificate-viewer__fallback h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 12px;
}

.certificate-viewer__fallback p {
  font-size: 16px;
  color: var(--color-dark-grey);
  margin-bottom: 24px;
}

.certificate-viewer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.certificate-viewer__actions .btn {
  min-width: 180px;
}

/* ═══════════════════════════════════════════════════════════
   Scope of Accreditation — Viewer Section
   ═══════════════════════════════════════════════════════════ */
.scope-viewer {
  padding: 48px 0;
  background: var(--color-white);
}

.scope-viewer__header {
  text-align: center;
  margin-bottom: 32px;
}

.scope-viewer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  margin-bottom: 16px;
}

.scope-viewer h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 8px;
}

.scope-viewer__subtitle {
  font-size: 16px;
  color: var(--color-dark-grey);
  margin-bottom: 0;
}

.scope-viewer__container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 24px;
  background: var(--color-white);
  border: 1px solid var(--color-light-grey);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.scope-viewer__embed {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

.scope-viewer__fallback {
  display: none;
  padding: 60px 20px;
  text-align: center;
}

.scope-viewer__fallback-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  color: var(--color-primary);
}

.scope-viewer__fallback-icon svg {
  width: 100%;
  height: 100%;
}

.scope-viewer__fallback h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 12px;
}

.scope-viewer__fallback p {
  font-size: 16px;
  color: var(--color-dark-grey);
  margin-bottom: 24px;
}

.scope-viewer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.scope-viewer__actions .btn {
  min-width: 180px;
}

/* ═══════════════════════════════════════════════════════════
   Scope of Accreditation — Detailed Table Section
   ═══════════════════════════════════════════════════════════ */
.scope-details {
  padding: 48px 0;
  background: var(--color-off-white);
}

.scope-details__header {
  text-align: center;
  margin-bottom: 40px;
}

.scope-details__header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 12px;
}

.scope-details__intro {
  font-size: 16px;
  color: var(--color-dark-grey);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Summary Cards */
.scope-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.scope-summary__card {
  background: var(--color-white);
  border: 1px solid var(--color-light-grey);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scope-summary__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.scope-summary__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.scope-summary__icon--chemical {
  background: #EEF2FF;
  color: #4F46E5;
}

.scope-summary__icon--mechanical {
  background: #FEF3C7;
  color: #D97706;
}

.scope-summary__icon--ndt {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.scope-summary__number {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-charcoal);
  line-height: 1.1;
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.scope-summary__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-medium-grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Titles */
.scope-section {
  margin-bottom: 32px;
}

.scope-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}

.scope-section__title svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.scope-section__count {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-primary);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Collapsible Groups */
.scope-group {
  background: var(--color-white);
  border: 1px solid var(--color-light-grey);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.scope-group:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.scope-group__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  text-align: left;
  color: var(--color-charcoal);
  transition: background 0.15s ease;
}

.scope-group__toggle:hover {
  background: var(--color-off-white);
}

.scope-group__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.scope-group__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.scope-group__dot--chemical {
  background: #4F46E5;
}

.scope-group__dot--mechanical {
  background: #D97706;
}

.scope-group__dot--ndt {
  background: var(--color-primary);
}

.scope-group__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.scope-group__badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  padding: 3px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.scope-group__chevron {
  color: var(--color-medium-grey);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.scope-group--open .scope-group__chevron {
  transform: rotate(180deg);
}

.scope-group__content {
  display: none;
  border-top: 1px solid var(--color-light-grey);
}

.scope-group--open .scope-group__content {
  display: block;
}

/* Scope Table */
.scope-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.scope-table thead {
  background: var(--color-off-white);
}

.scope-table th {
  padding: 10px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-medium-grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--color-light-grey);
}

.scope-table__th-sno {
  width: 48px;
  text-align: center;
}

.scope-table td {
  padding: 10px 16px;
  color: var(--color-dark-grey);
  border-bottom: 1px solid #F3F4F6;
  vertical-align: top;
}

.scope-table td:first-child {
  text-align: center;
  font-weight: 600;
  color: var(--color-primary);
  width: 48px;
}

.scope-table td:last-child {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 13px;
  color: var(--color-medium-grey);
  white-space: nowrap;
}

.scope-table tbody tr:hover {
  background: #F9FAFB;
}

.scope-table tbody tr:last-child td {
  border-bottom: none;
}

/* Footer */
.scope-details__footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-light-grey);
}

.scope-details__footer p {
  font-size: 15px;
  color: var(--color-dark-grey);
  margin-bottom: 20px;
}

.scope-details__footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Scope Table — Mobile Responsive */
@media (max-width: 767px) {
  .scope-group__content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .scope-table {
    min-width: 560px;
  }

  .scope-group__toggle {
    padding: 12px 14px;
    font-size: 14px;
  }

  .scope-group__name {
    gap: 8px;
  }

  .scope-section__title {
    font-size: 17px;
    flex-wrap: wrap;
  }

  .scope-section__count {
    margin-left: 0;
  }

  .scope-summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .scope-summary__number {
    font-size: 28px;
  }

  .scope-viewer__embed {
    height: 450px;
  }
}

/* ═══════════════════════════════════════════════════════════
   MATERIAL TESTING GUIDE
   ═══════════════════════════════════════════════════════════ */
.material-guide {
  padding: 48px 0;
  background: var(--color-white);
}

.material-guide__header {
  text-align: center;
  margin-bottom: 40px;
}

.material-guide__header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 12px;
}

.material-guide__intro {
  font-size: 16px;
  color: var(--color-dark-grey);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.material-guide__summary {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.scope-summary__icon--nabl {
  background: #DCFCE7;
  color: #16A34A;
}

/* Material Guide — Tables */
.material-guide__table th:nth-child(4),
.material-guide__table th:nth-child(5),
.material-guide__table th:nth-child(6) {
  text-align: center;
}

.material-guide__table td:nth-child(4),
.material-guide__table td:nth-child(5) {
  text-align: center;
  white-space: nowrap;
}

.material-guide__table td:nth-child(6) {
  text-align: center;
}

.material-guide__info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 12px 16px;
  background: var(--color-off-white);
  font-size: 13px;
  color: var(--color-dark-grey);
  border-bottom: 1px solid var(--color-light-grey);
}

.material-guide__subheader td {
  background: #F0F4FF;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-charcoal) !important;
  padding: 8px 16px !important;
}

.material-guide__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 1px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}

.material-guide__nabl {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.material-guide__nabl--yes {
  background: #DCFCE7;
  color: #16A34A;
}

.material-guide__nabl--no {
  background: #FEF3C7;
  color: #D97706;
}

.material-guide__duration-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-dark-grey);
  background: #F3F4F6;
  padding: 3px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.material-guide__duration-chip svg {
  flex-shrink: 0;
}

.material-guide__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--color-medium-grey);
  background: #FFFBEB;
  border-top: 1px solid var(--color-light-grey);
}

.material-guide__note svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #D97706;
}

.material-guide__footer {
  margin-top: 40px;
  text-align: center;
}

.material-guide__footer-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--color-medium-grey);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.material-guide__footer-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary);
}

.material-guide__footer-note p {
  margin: 0;
  text-align: left;
}

.material-guide__footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Material Guide — Responsive */
@media (max-width: 767px) {
  .material-guide__summary {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .material-guide__info-bar {
    flex-direction: column;
    gap: 6px;
  }

  .material-guide__duration-chip {
    display: none;
  }
}

@media (min-width: 768px) {
  .material-guide {
    padding: 64px 0;
  }

  .material-guide__header h2 {
    font-size: 32px;
  }
}

@media (min-width: 1024px) {
  .material-guide {
    padding: 80px 0;
  }

  .material-guide__header h2 {
    font-size: 36px;
  }
}

/* Accreditations Overview Section */
.accreditations-overview {
  padding: 48px 0;
  background: var(--color-off-white);
}

.accreditations-overview h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 32px;
  text-align: center;
}

/* Certifications FAQ Section */
.certifications-faq {
  padding: 48px 0;
  background: var(--color-white);
}

.certifications-faq h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 32px;
  text-align: center;
}

/* Certifications CTA Section */
.certifications-cta {
  padding: 48px 0;
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}

.certifications-cta h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.certifications-cta p {
  font-size: 18px;
  color: var(--color-white);
  margin-bottom: 24px;
  opacity: 0.95;
}

/* Responsive Adjustments for Certifications Page */
@media (min-width: 768px) {
  .certifications-intro {
    padding: 64px 0;
  }

  .certifications-intro h2 {
    font-size: 30px;
  }

  .certificate-viewer {
    padding: 64px 0;
  }

  .certificate-viewer h2 {
    font-size: 32px;
  }

  .certificate-viewer__embed {
    height: 700px;
  }

  .scope-viewer {
    padding: 64px 0;
  }

  .scope-viewer h2 {
    font-size: 32px;
  }

  .scope-viewer__embed {
    height: 700px;
  }

  .scope-details {
    padding: 64px 0;
  }

  .scope-details__header h2 {
    font-size: 32px;
  }

  .scope-section__title {
    font-size: 22px;
  }

  .accreditations-overview {
    padding: 64px 0;
  }

  .accreditations-overview h2 {
    font-size: 32px;
  }

  .certifications-faq {
    padding: 64px 0;
  }

  .certifications-faq h2 {
    font-size: 32px;
  }

  .certifications-cta {
    padding: 64px 0;
  }

  .certifications-cta h2 {
    font-size: 32px;
  }

  .certifications-cta p {
    font-size: 20px;
  }
}

@media (min-width: 1024px) {
  .certifications-intro {
    padding: 80px 0;
  }

  .certifications-intro h2 {
    font-size: 34px;
  }

  .certificate-viewer {
    padding: 80px 0;
  }

  .certificate-viewer h2 {
    font-size: 36px;
  }

  .certificate-viewer__embed {
    height: 800px;
  }

  .scope-viewer {
    padding: 80px 0;
  }

  .scope-viewer h2 {
    font-size: 36px;
  }

  .scope-viewer__embed {
    height: 800px;
  }

  .scope-details {
    padding: 80px 0;
  }

  .scope-details__header h2 {
    font-size: 36px;
  }

  .scope-section__title {
    font-size: 24px;
  }

  .accreditations-overview {
    padding: 80px 0;
  }

  .accreditations-overview h2 {
    font-size: 36px;
  }

  .certifications-faq {
    padding: 80px 0;
  }

  .certifications-faq h2 {
    font-size: 36px;
  }

  .certifications-cta {
    padding: 80px 0;
  }

  .certifications-cta h2 {
    font-size: 36px;
  }

  .certifications-cta p {
    font-size: 22px;
  }
}


/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE - ENHANCED STYLES
   ═══════════════════════════════════════════════════════════ */

/* Contact Main Section */
.contact-main {
  padding: 64px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f9ff 100%);
  position: relative;
}

.contact-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 30%, rgba(46, 139, 139, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(255, 132, 0, 0.03) 0%, transparent 45%);
  pointer-events: none;
}

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

/* Contact Form Card */
.contact-form-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(46, 139, 139, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.contact-form-card:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.contact-form-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--color-primary);
  background: linear-gradient(135deg, rgba(46, 139, 139, 0.05) 0%, transparent 100%);
  padding: 20px;
  border-radius: 12px 12px 0 0;
  margin: -40px -40px 32px -40px;
}

.contact-form-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.contact-form-header p {
  font-size: 15px;
  color: var(--color-medium-grey);
  margin: 0;
  line-height: 1.6;
}

.contact-form-card .form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark-grey);
  margin-bottom: 8px;
  display: block;
  text-transform: none;
  letter-spacing: 0;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: var(--color-white);
  width: 100%;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(46, 139, 139, 0.1);
  outline: none;
  background: rgba(46, 139, 139, 0.02);
}

.contact-form-card .form-control:hover,
.contact-form-card .form-select:hover {
  border-color: #cbd5e0;
}

.contact-form-card textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.contact-form-card .btn-submit {
  padding: 16px 48px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(46, 139, 139, 0.2);
  width: 100%;
}

.contact-form-card .btn-submit:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 114, 42, 0.3);
  color: var(--color-white);
}

.contact-form-card .btn-submit:active {
  transform: translateY(0);
}

/* Contact Info Card */
.contact-info-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a6b6b 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(46, 139, 139, 0.25);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: shimmer 6s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% {
    transform: translate(-25%, -25%) rotate(180deg);
  }
}

.contact-info-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.contact-info-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.contact-info-header p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: var(--color-white);
}

.contact-info-icon svg {
  width: 28px;
  height: 28px;
}

.contact-info-content {
  flex: 1;
}

.contact-info-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  line-height: 1.8;
}

.contact-info-content a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
}

.contact-info-content a:hover {
  color: var(--color-secondary);
  transform: translateX(3px);
}

.contact-info-content .badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 132, 0, 0.9);
  color: var(--color-white);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-info-content .response-time {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(255, 132, 0, 0.2);
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid rgba(255, 132, 0, 0.3);
}

/* CTA Button in Contact Info */
.contact-info-item--cta {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0;
  display: block;
}

.contact-info-item--cta:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
}

.btn-maps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  font-family: var(--font-heading);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(46, 139, 139, 0.2);
  width: 100%;
}

.btn-maps:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 114, 42, 0.3);
  color: var(--color-white);
}

.btn-maps:active {
  transform: translateY(0);
}

.btn-maps svg {
  width: 24px;
  height: 24px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .contact-main {
    padding: 48px 0;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 32px 28px;
  }

  .contact-form-header {
    margin: -32px -28px 28px -28px;
    padding: 20px 28px;
  }

  .contact-form-header h2,
  .contact-info-header h2 {
    font-size: 24px;
  }

  .contact-info-card {
    margin-top: 32px;
  }
}

@media (max-width: 767px) {
  .contact-main {
    padding: 40px 0;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .contact-form-header {
    margin: -24px -20px 24px -20px;
    padding: 16px 20px;
  }

  .contact-form-header h2,
  .contact-info-header h2 {
    font-size: 22px;
  }

  .contact-form-header p,
  .contact-info-header p {
    font-size: 14px;
  }

  .contact-info-item {
    padding: 16px;
    gap: 16px;
  }

  .contact-info-icon {
    width: 40px;
    height: 40px;
  }

  .contact-info-icon svg {
    width: 24px;
    height: 24px;
  }

  .contact-form-card .btn-submit {
    padding: 14px 32px;
  }

  .btn-maps {
    padding: 16px 24px;
    font-size: 15px;
  }
}

/* Animation on load */
@media (prefers-reduced-motion: no-preference) {
  .contact-form-card {
    animation: fadeInLeft 0.6s ease-out;
  }

  .contact-info-card {
    animation: fadeInRight 0.6s ease-out;
  }

  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   IMAGE CAROUSEL SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.page-carousel {
  padding: var(--space-3xl) 0;
  background: var(--color-off-white);
}

.page-carousel .carousel {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-carousel .carousel-inner {
  border-radius: 8px;
}

/* Apply smooth border radius and transitions to all carousels */
.overview-image .carousel-inner,
.col-12.col-lg-5 .carousel-inner,
.about-story-media .carousel-inner {
  border-radius: 8px;
  overflow: hidden;
}

.page-carousel .carousel-item {
  transition: transform 1.5s ease-in-out;
}

/* Apply same smooth transitions to all service page carousels */
.about-story-media .carousel-item,
.overview-image .carousel-item,
.col-12.col-lg-5 .carousel-item {
  transition: transform 0.8s ease-in-out;
}

.page-carousel .carousel-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

/* Service page carousel controls - always visible with stylish design */
.overview-image .carousel-control-prev,
.overview-image .carousel-control-next,
.page-carousel .carousel-control-prev,
.page-carousel .carousel-control-next,
.col-12.col-lg-5 .carousel-control-prev,
.col-12.col-lg-5 .carousel-control-next,
.about-story-media .carousel-control-prev,
.about-story-media .carousel-control-next {
  opacity: 0.7;
  transition: all 0.3s ease;
  width: 60px;
}

.overview-image .carousel-control-prev:hover,
.overview-image .carousel-control-next:hover,
.page-carousel .carousel-control-prev:hover,
.page-carousel .carousel-control-next:hover,
.col-12.col-lg-5 .carousel-control-prev:hover,
.col-12.col-lg-5 .carousel-control-next:hover,
.about-story-media .carousel-control-prev:hover,
.about-story-media .carousel-control-next:hover {
  opacity: 1;
  transform: scale(1.1);
}

.overview-image .carousel-control-prev-icon,
.overview-image .carousel-control-next-icon,
.page-carousel .carousel-control-prev-icon,
.page-carousel .carousel-control-next-icon,
.col-12.col-lg-5 .carousel-control-prev-icon,
.col-12.col-lg-5 .carousel-control-next-icon,
.about-story-media .carousel-control-prev-icon,
.about-story-media .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  padding: 22px;
  width: 55px;
  height: 55px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.overview-image .carousel-control-prev-icon:hover,
.overview-image .carousel-control-next-icon:hover,
.page-carousel .carousel-control-prev-icon:hover,
.page-carousel .carousel-control-next-icon:hover,
.col-12.col-lg-5 .carousel-control-prev-icon:hover,
.col-12.col-lg-5 .carousel-control-next-icon:hover,
.about-story-media .carousel-control-prev-icon:hover,
.about-story-media .carousel-control-next-icon:hover {
  background-color: rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.page-carousel .carousel-indicators {
  margin-bottom: 15px;
}

/* Stylish carousel indicators for all pages */
.page-carousel .carousel-indicators [data-bs-target],
.overview-image .carousel-indicators [data-bs-target],
.col-12.col-lg-5 .carousel-indicators [data-bs-target],
.about-story-media .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  opacity: 0.7;
}

.page-carousel .carousel-indicators [data-bs-target]:hover,
.overview-image .carousel-indicators [data-bs-target]:hover,
.col-12.col-lg-5 .carousel-indicators [data-bs-target]:hover,
.about-story-media .carousel-indicators [data-bs-target]:hover {
  transform: scale(1.2);
  opacity: 1;
}

.page-carousel .carousel-indicators .active,
.overview-image .carousel-indicators .active,
.col-12.col-lg-5 .carousel-indicators .active,
.about-story-media .carousel-indicators .active {
  background-color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.15);
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-carousel .carousel-item img {
    height: 300px;
  }
  
  .page-carousel {
    padding: var(--space-2xl) 0;
  }

  /* Smaller arrow controls on mobile */
  .overview-image .carousel-control-prev-icon,
  .overview-image .carousel-control-next-icon,
  .page-carousel .carousel-control-prev-icon,
  .page-carousel .carousel-control-next-icon,
  .col-12.col-lg-5 .carousel-control-prev-icon,
  .col-12.col-lg-5 .carousel-control-next-icon,
  .about-story-media .carousel-control-prev-icon,
  .about-story-media .carousel-control-next-icon {
    width: 45px;
    height: 45px;
    padding: 18px;
  }

  .overview-image .carousel-control-prev,
  .overview-image .carousel-control-next,
  .page-carousel .carousel-control-prev,
  .page-carousel .carousel-control-next,
  .col-12.col-lg-5 .carousel-control-prev,
  .col-12.col-lg-5 .carousel-control-next,
  .about-story-media .carousel-control-prev,
  .about-story-media .carousel-control-next {
    width: 50px;
  }

  /* Slightly smaller indicators on mobile */
  .page-carousel .carousel-indicators [data-bs-target],
  .overview-image .carousel-indicators [data-bs-target],
  .col-12.col-lg-5 .carousel-indicators [data-bs-target],
  .about-story-media .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .page-carousel .carousel-item img {
    height: 400px;
  }
}
