/**
 * ADIITYAA ENTERPRISES — LAYOUT ARCHITECTURE
 * Containers, Grids, Header, Navigation Drawer & Footer
 */

/* ==========================================================================
   Containers & Section Wrappers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  position: relative;
}

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

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

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

.section-dark p {
  color: var(--color-dark-300);
}

/* ==========================================================================
   Responsive Grid System (Mobile First)
   ========================================================================== */
.grid {
  display: grid;
  gap: var(--space-6);
}

/* Default single column on mobile */
.grid-2,
.grid-3,
.grid-4 {
  grid-template-columns: 1fr;
}

/* Tablet (768px+) */
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

/* Balance odd 3rd card on tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .grid-3 > :last-child:nth-child(odd) {
    grid-column: span 2;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* 2-Column Split Layout for Content & Imagery */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

/* ==========================================================================
   Top Information & Emergency Bar
   ========================================================================== */
.site-topbar {
  background-color: var(--color-dark-950);
  color: var(--color-dark-300);
  font-size: var(--text-body-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-2) 0;
  position: relative;
  z-index: calc(var(--z-sticky) + 1);
}

@media (max-width: 768px) {
  .site-topbar {
    display: none !important;
  }
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.topbar-contact-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-dark-300);
  font-size: 0.8125rem;
  transition: color var(--transition-fast);
}

.topbar-item:hover {
  color: var(--color-white);
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent-500);
  flex-shrink: 0;
}

.topbar-tagline {
  display: none;
  font-size: 0.8125rem;
  font-weight: var(--fw-medium);
  color: var(--color-accent-400);
}

@media (min-width: 992px) {
  .topbar-tagline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
  }
}

/* ==========================================================================
   Main Site Header
   ========================================================================== */
.site-header {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px -2px rgba(15, 23, 42, 0.08);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 8px 0;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 4px 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.header-brand:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 56px;
  max-height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 50px;
    max-height: 50px;
    max-width: 220px;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 48px;
    max-height: 48px;
    max-width: 205px;
  }
}

.drawer-logo-img {
  height: 48px !important;
  max-height: 50px !important;
  max-width: 215px !important;
  width: auto !important;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   Desktop Navigation
   ========================================================================== */
.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: #334155;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap !important;
    border-radius: 8px;
    text-decoration: none;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-link:hover {
    color: #15803d;
    background-color: rgba(22, 163, 74, 0.06);
  }

  /* Executive Active State: Crisp bottom accent indicator and bold green tone */
  .nav-link.active {
    color: #15803d;
    font-weight: 700;
    background-color: rgba(22, 163, 74, 0.08);
  }

  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 14px;
    right: 14px;
    height: 2.5px;
    background: linear-gradient(90deg, #15803d 0%, #16a34a 100%);
    border-radius: 3px;
  }

  @media (max-width: 1240px) {
    .nav-list {
      gap: 2px;
    }
    .nav-link {
      padding: 8px 11px;
      font-size: 0.875rem;
    }
  }

  /* Services Dropdown */
  .nav-item-dropdown {
    position: relative;
  }

  .dropdown-toggle-icon {
    width: 14px;
    height: 14px;
    color: #64748b;
    transition: transform 0.2s ease, color 0.2s ease;
    margin-left: 1px;
  }

  .nav-item-dropdown:hover .dropdown-toggle-icon,
  .nav-item-dropdown:focus-within .dropdown-toggle-icon {
    transform: rotate(180deg);
    color: #15803d;
  }

  .dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 370px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 36px -6px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.04);
    padding: var(--space-3);
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: var(--z-dropdown);
    transform-origin: top left;
    animation: dropdownFadeIn 200ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-item-dropdown:hover .dropdown-menu,
  .nav-item-dropdown:focus-within .dropdown-menu {
    display: flex;
  }

  .dropdown-division-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-dark-400);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 4px;
  }

  .dropdown-division-tag {
    padding: 2px 6px;
    border-radius: 4px;
    background: #f1f5f9;
    color: var(--color-dark-600);
    font-size: 0.625rem;
  }

  .dropdown-division-tag.fire {
    background: #fef2f2;
    color: #dc2626;
  }

  .dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    color: var(--color-dark-800);
    text-decoration: none;
    transition: all var(--transition-fast);
  }

  .dropdown-link:hover {
    background-color: rgba(20, 83, 45, 0.06);
    transform: translateX(2px);
  }

  .dropdown-icon-cell {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .dropdown-icon-cell.society {
    background: #ecfdf5;
    color: #15803d;
  }

  .dropdown-icon-cell.civil {
    background: #eff6ff;
    color: #2563eb;
  }

  .dropdown-link-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .dropdown-link-info strong {
    font-size: 0.875rem;
    color: var(--color-dark-900);
  }

  .dropdown-link-info span {
    font-size: 0.71875rem;
    color: var(--color-dark-500);
    line-height: 1.25;
  }

  .dropdown-arrow {
    color: var(--color-dark-400);
    font-size: 0.875rem;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .dropdown-link:hover .dropdown-arrow {
    transform: translateX(3px);
    color: var(--color-primary-700);
  }

  .dropdown-fire-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding-top: 2px;
  }

  .dropdown-mini-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 0.78125rem;
    font-weight: 600;
    color: var(--color-dark-700);
    text-decoration: none;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.15s ease;
  }

  .dropdown-mini-link:hover {
    background: #fff7ed;
    color: #c2410c;
    border-color: #ffedd5;
  }

  .mini-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ea580c;
    flex-shrink: 0;
  }
}

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

/* Header Action Items */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-phone-badge {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

@media (min-width: 1100px) {
  .header-phone-badge {
    display: inline-flex;
  }
}

.header-phone-badge:hover {
  background-color: var(--color-white);
  border-color: #16a34a;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.12);
  transform: translateY(-1px);
}

.header-phone-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.header-phone-badge:hover .header-phone-icon {
  background-color: #15803d;
  color: var(--color-white);
  border-color: #15803d;
}

.header-phone-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.header-phone-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-dark-500);
}

.status-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
  display: inline-block;
  animation: liveDotPulse 2s infinite ease-in-out;
}

@keyframes liveDotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

.header-phone-number {
  font-size: 0.84375rem;
  font-weight: 700;
  color: var(--color-dark-900);
  letter-spacing: 0.01em;
}

.header-cta-btn {
  display: none !important;
}

@media (min-width: 820px) {
  .header-cta-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    font-weight: 700;
    font-size: 0.9375rem;
    white-space: nowrap !important;
    border-radius: 10px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 3px 12px rgba(249, 115, 22, 0.32);
    color: #ffffff !important;
    border: none;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
  }

  .header-cta-btn:hover {
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.44);
    transform: translateY(-2px);
    color: #ffffff !important;
  }

  .header-cta-btn svg {
    transition: transform 0.2s ease;
  }

  .header-cta-btn:hover svg {
    transform: translateX(3px);
  }
}

/* Hamburger Button (Refined Mobile Header Control) */
.mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  padding: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-nav-toggle:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #15803d;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.mobile-nav-toggle:active {
  transform: scale(0.94);
  background: #e2e8f0;
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.3;
}

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

/* ==========================================================================
   Mobile Navigation Drawer (Slide-out Off-canvas)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: var(--z-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background-color: #ffffff;
  z-index: var(--z-drawer);
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.22);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
  transform: translateX(0);
}

/* Drawer Header */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.drawer-header-brand {
  display: flex;
  align-items: center;
}

.drawer-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background-color: #f8fafc;
  color: #475569;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-close-btn:hover {
  background-color: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: rotate(90deg) scale(1.04);
}

.drawer-close-btn:active {
  transform: rotate(90deg) scale(0.95);
}

/* Drawer Body */
.drawer-body {
  padding: 18px 18px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-nav-section-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 0 4px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Mobile Nav Card (Card-based Menu Row) */
.mobile-nav-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.mobile-nav-card:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  transform: translateX(2px);
}

.mobile-nav-card.active {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #86efac;
  border-left: 4px solid #15803d;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.12);
}

/* Icon Box inside Card */
.drawer-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.drawer-icon-box.green {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.drawer-icon-box.blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.drawer-icon-box.orange {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
}

.drawer-icon-box.purple {
  background: #faf5ff;
  color: #9333ea;
  border: 1px solid #e9d5ff;
}

.drawer-icon-box.teal {
  background: #f0fdfa;
  color: #0d9488;
  border: 1px solid #99f6e4;
}

.mobile-nav-card.active .drawer-icon-box {
  background: #15803d;
  color: #ffffff;
  border-color: #15803d;
}

/* Card Content Info */
.drawer-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-card-title {
  font-size: 0.96875rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.mobile-nav-card.active .drawer-card-title {
  color: #14532d;
}

.drawer-card-desc {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.25;
  font-weight: 500;
}

.drawer-sub-badge {
  display: inline-block;
  padding: 2px 7px;
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 9999px;
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fed7aa;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Card Chevron Arrow */
.drawer-card-arrow {
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
}

.mobile-nav-card:hover .drawer-card-arrow {
  color: #0f172a;
  transform: translateX(2px);
}

.accordion-arrow svg {
  transition: transform 0.25s ease;
}

/* Mobile Services Accordion Submenu */
.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px;
  margin-top: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.mobile-submenu.open {
  display: flex;
}

.mobile-sub-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mobile-sub-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateX(2px);
}

.mobile-sub-card.highlight {
  border-color: #fed7aa;
  background: #fffbf5;
}

.sub-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sub-card-icon.green {
  background: #ecfdf5;
  color: #15803d;
}

.sub-card-icon.blue {
  background: #eff6ff;
  color: #2563eb;
}

.sub-card-icon.red {
  background: #fef2f2;
  color: #dc2626;
}

.sub-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sub-card-text strong {
  font-size: 0.84375rem;
  color: #0f172a;
}

.sub-card-text small {
  font-size: 0.71875rem;
  color: #64748b;
}

.sub-card-chevron {
  color: #94a3b8;
  font-size: 0.8125rem;
}

/* Sub-items Pills Grid for Division 3 */
.mobile-sub-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 4px;
}

.sub-chip {
  display: block;
  padding: 7px 8px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  transition: all 0.15s ease;
}

.sub-chip:hover {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #ea580c;
}

/* Corporate Trust Card (Fills empty blank space) */
.drawer-trust-card {
  border-radius: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.trust-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
}

.trust-card-header svg {
  color: #15803d;
}

.trust-card-points {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust-point {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.35;
}

.trust-point svg {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Drawer Footer */
.drawer-footer {
  padding: 16px 18px 20px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  bottom: 0;
  z-index: 10;
}

.drawer-footer-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.drawer-contact-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.drawer-contact-pill.call {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.drawer-contact-pill.call:hover {
  border-color: #15803d;
  background: #f0fdf4;
}

.drawer-contact-pill.whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border: 1px solid #16a34a;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}

.drawer-contact-pill.whatsapp:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawer-contact-pill.call .pill-icon {
  background: #f0fdf4;
  color: #15803d;
}

.drawer-contact-pill.whatsapp .pill-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.pill-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  overflow: hidden;
}

.pill-title {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.drawer-contact-pill.call .pill-title {
  color: #64748b;
}

.drawer-contact-pill.whatsapp .pill-title {
  color: rgba(255, 255, 255, 0.85);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
  display: inline-block;
  animation: liveDotPulse 2s infinite ease-in-out;
}

.pill-value {
  font-size: 0.78125rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-email-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.drawer-email-row:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.drawer-email-row svg {
  color: #ea580c;
}

.drawer-quote-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-quote-btn:hover {
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
  transform: translateY(-1px);
}

.drawer-quote-btn svg {
  transition: transform 0.2s ease;
}

.drawer-quote-btn:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Sticky Bottom Enquiry / Mobile Action Bar (Sleek 3-Action App Dock)
   ========================================================================== */
.mobile-sticky-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 16, 26, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  gap: 8px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
  z-index: 999;
}

@media (min-width: 769px) {
  .mobile-sticky-bar {
    display: none !important;
  }
}

.mobile-bar-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  font-family: inherit;
}

.mobile-bar-btn:active {
  transform: scale(0.96);
}

.mobile-bar-whatsapp {
  background-color: #25D366;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}

.mobile-bar-call {
  background-color: #15803d;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.35);
}

.mobile-bar-quote {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35);
}

/* ==========================================================================
   Corporate Site Footer (Elevated, Attractive & Monochromatic)
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #0d1522 0%, #070c13 100%);
  color: #94a3b8;
  padding-top: 60px;
  padding-bottom: 28px;
  border-top: 2px solid rgba(249, 115, 22, 0.4);
  margin-top: auto;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.6), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 38px;
}

/* Mobile: 2-column responsive layout for links, spanned brand & contact */
@media (min-width: 360px) and (max-width: 767px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 18px;
  }

  .footer-grid > .footer-col:nth-child(1) {
    grid-column: span 2;
    text-align: center;
  }

  .footer-grid > .footer-col:nth-child(1) .footer-brand-logo-card {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid > .footer-col:nth-child(1) .footer-desc {
    text-align: center;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid > .footer-col:nth-child(1) .footer-director-card {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid > .footer-col:nth-child(2) {
    grid-column: span 1;
  }

  .footer-grid > .footer-col:nth-child(3) {
    grid-column: span 1;
  }

  .footer-grid > .footer-col:nth-child(4) {
    grid-column: span 2;
  }
}

/* Tablet (768px - 1023px): 2x2 Balanced Grid */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.45fr 1fr 1.35fr 1.35fr;
    gap: 40px;
  }
}

/* Footer Brand Logo in Crisp White Card */
.footer-brand-logo-card {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  padding: 8px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.footer-brand-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.footer-brand-logo {
  height: 46px;
  max-height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 20px;
}

/* Executive Leadership Card */
.footer-director-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.footer-director-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(249, 115, 22, 0.4);
}

.footer-director-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.18);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-director-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-director-role {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.footer-director-name,
.site-footer strong.footer-director-name {
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.015em !important;
  line-height: 1.25 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  display: block;
}

/* Footer Headings */
.footer-col-title {
  color: #ffffff;
  font-size: 0.96875rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.title-accent {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #f97316;
  border-radius: 2px;
}

/* Footer Links List */
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link {
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 450;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.45;
  transition: color 0.15s ease, transform 0.15s ease;
}

.link-bullet {
  color: #64748b;
  font-size: 1.125rem;
  line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-link:hover .link-bullet {
  color: #f97316;
  transform: translateX(2px);
}

/* Contact List (Structured with Polished Icons) */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.contact-value {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.contact-phone {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}

.contact-phone:hover {
  color: #f97316;
}

.contact-link {
  text-decoration: none;
  color: #cbd5e1;
  transition: color 0.15s ease;
}

.contact-link:hover {
  color: #ffffff;
}

.contact-subtext {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 1px;
}

/* ==========================================================================
   Compliance & Statutory Bar (Refined Trust Ribbon)
   ========================================================================== */
.footer-compliance-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.compliance-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
}

.compliance-icon {
  color: #f97316;
  flex-shrink: 0;
}

.compliance-label {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compliance-value {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.compliance-divider {
  color: rgba(255, 255, 255, 0.18);
  user-select: none;
}

@media (max-width: 768px) {
  .compliance-divider {
    display: none;
  }

  .footer-compliance-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px;
  }

  .compliance-item {
    justify-content: center;
    width: 100%;
  }
}

/* Footer Bottom Copyright & Links */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: #64748b;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom-copy {
  color: #64748b;
  text-align: center;
}

.footer-bottom-copy strong {
  color: #cbd5e1;
  font-weight: 600;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #475569;
}

.footer-bottom-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   WEBSITE-WIDE MOBILE CENTERING & BALANCED RESPONSIVE ALIGNMENT
   Ensures headings, heroes, buttons, and badges are centered on mobile viewports.
   ========================================================================== */
@media (max-width: 767px) {
  /* Prevent horizontal overflow without breaking sticky positioning */
  html {
    max-width: 100vw;
    overflow-x: clip;
  }

  body {
    max-width: 100vw;
    overflow-x: clip;
  }

  .site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
  }

  /* Section Headings */
  .section-heading {
    text-align: center;
  }

  .section-heading-title {
    text-align: center;
    font-size: clamp(1.45rem, 5.5vw, 1.875rem);
  }

  .section-divider {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section-heading-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
  }

  /* Full Viewport Homepage Hero */
  .hero-viewport-slider .viewport-slide-content {
    text-align: center;
    margin: 0 auto;
    padding: 0 var(--space-2);
  }

  .hero-viewport-slider .viewport-slide-eyebrow {
    justify-content: center;
  }

  .hero-viewport-slider .viewport-slide-title {
    text-align: center;
  }

  .hero-viewport-slider .viewport-slide-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-viewport-slider .viewport-slide-actions {
    justify-content: center;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-viewport-slider .viewport-slide-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-viewport-slider .viewport-slide-tags {
    justify-content: center;
  }

  /* Inner Panoramic Heroes (About Us, Services, Projects, Contact) */
  .inner-hero-panoramic {
    text-align: center;
    min-height: auto;
    padding: clamp(2.75rem, 5vw, 3.75rem) 0;
  }

  .hero-panoramic-content {
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-panoramic-title {
    text-align: center;
    font-size: clamp(1.75rem, 6vw, 2.35rem);
  }

  .hero-panoramic-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-panoramic-actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-panoramic-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-panoramic-pills {
    justify-content: center;
  }

  .hero-panoramic-badges {
    justify-content: center;
  }

  /* Subservice Split Layout Heroes */
  .section-dark .split-layout > div:first-child {
    text-align: center;
  }

  .section-dark .split-layout > div:first-child .badge {
    margin-left: auto;
    margin-right: auto;
  }

  .section-dark .split-layout > div:first-child h1 {
    text-align: center;
  }

  .section-dark .split-layout > div:first-child p.text-lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .section-dark .split-layout > div:first-child .d-flex {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-dark .split-layout > div:first-child .d-flex .btn {
    width: 100%;
    justify-content: center;
  }

  /* Director Profile Frame on About Us */
  .director-frame {
    text-align: center;
  }

  .director-content-col {
    text-align: center;
  }

  .director-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .director-highlights-row {
    justify-content: center;
  }

  .director-content-col .btn {
    margin-left: auto;
    margin-right: auto;
  }

  /* Touch-friendly tap targets */
  .btn,
  .mobile-bar-btn,
  .filter-chip {
    min-height: 44px;
  }

  /* Contact and email word-break protection */
  .contact-value,
  .contact-link,
  .footer-bottom-copy {
    word-break: break-word;
  }
}


