/* ==========================================================================
   Flyinng Squad Ambulance - Luxury White Medical Design System
   Version: 7.0.0 (Page Banner Images & Centered Typography)
   Author: Flyinng Squad Engineering Team
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Imports & Theme Variables
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-dark: #FFFFFF;
  --bg-body: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --accent-red: #E63946;
  --accent-red-glow: #D90429;
  --accent-blue: #0284C7;
  --accent-blue-hover: #0369A1;
  --accent-cyan: #0EA5E9;
  --accent-gold: #D97706;
  --accent-green: #10B981;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-sub: #334155;
  --border-glass: #E2E8F0;
  --border-glow: rgba(2, 132, 199, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-main: 0 10px 30px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 20px 45px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 8px 25px rgba(230, 57, 70, 0.25);
  --shadow-blue: 0 8px 25px rgba(2, 132, 199, 0.2);
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Baseline
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(230, 57, 70, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(2, 132, 199, 0.03) 0%, transparent 45%);
  background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 5px;
  border: 2px solid #F1F5F9;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

/* --------------------------------------------------------------------------
   3. Utility Classes & Pill Badges
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-main) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
}

.section-padding {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

/* Compact Pill Badges (Strict inline-flex & fit-content) */
.badge-tag,
.badge-tag-cyan,
.badge-tag-gold {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 6px 18px !important;
  width: fit-content !important;
  max-width: max-content !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  margin: 0 auto 16px auto !important;
  line-height: 1.2 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

.badge-tag {
  background: #FEF2F2 !important;
  border: 1px solid #FCA5A5 !important;
  color: #EF4444 !important;
}

.badge-tag-cyan {
  background: #F0F9FF !important;
  border: 1px solid #7DD3FC !important;
  color: #0284C7 !important;
}

.badge-tag-gold {
  background: #FFFBEB !important;
  border: 1px solid #FDE68A !important;
  color: #D97706 !important;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-red);
  animation: pulseAnimation 1.5s infinite;
}

.pulse-dot-green {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulseGreen 1.5s infinite;
}

@keyframes pulseAnimation {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.5);
  }

  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(230, 57, 70, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
  }
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }

  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* --------------------------------------------------------------------------
   4. Buttons & Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-glow) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(230, 57, 70, 0.4);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-hover) 100%);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: var(--shadow-blue);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.4);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.btn-outline:hover {
  background: #F8FAFC;
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
}

.btn-pulse-phone {
  background: var(--accent-red);
  color: #FFFFFF;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  animation: pulseAnimation 2s infinite;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-pulse-phone:hover {
  background: var(--accent-red-glow);
}

/* --------------------------------------------------------------------------
   5. Header & Navigation Bar
   -------------------------------------------------------------------------- */
.top-ticker-bar {
  background: #0F172A;
  border-bottom: 1px solid #1E293B;
  padding: 10px 0;
  font-size: 0.82rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  min-height: 44px;
}

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

.ticker-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-right a {
  color: #94A3B8;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.ticker-right a:hover {
  color: #FFFFFF;
}

.navbar-main {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: var(--transition-fast);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  flex-wrap: nowrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 105px;
  width: auto;
  border-radius: 0;
  border: none;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(212, 150, 40, 0.25));
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.brand-title span {
  color: var(--accent-red);
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--accent-blue);
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  flex-shrink: 1;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-sub);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-red);
}

/* Dropdown Menu Styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

.nav-item.dropdown:hover>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-sub);
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: #F8FAFC;
  color: var(--accent-red);
  padding-left: 24px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
}

.dropdown-submenu:hover>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1100;
  padding: 40px 24px;
  overflow-y: auto;
  transition: var(--transition-smooth);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  border-left: 1px solid var(--border-glass);
}

.mobile-nav-drawer.open {
  right: 0;
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F1F5F9;
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
}

.mobile-menu-links a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 0;
}

.mobile-menu-links a.active {
  color: var(--accent-red);
}

.mobile-sub-link {
  font-size: 0.92rem !important;
  color: var(--text-sub) !important;
  padding-left: 16px !important;
}

/* --------------------------------------------------------------------------
   6. Page Banner with Background Image & PERFECTLY CENTERED Content
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  padding: 75px 0;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(241, 245, 249, 0.95) 100%), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-glass);
  text-align: center;
  overflow: hidden;
}

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

.page-banner h1 {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-main);
  margin: 12px 0 16px 0;
  text-align: center;
  width: 100%;
}

.page-banner p {
  color: var(--text-sub);
  font-size: 1.15rem;
  font-weight: 500;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   7. Hero Section (Index Page)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: calc(100vh - 85px);
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1.1;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-sub);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-glass);
}

.highlight-item {
  display: flex;
  flex-direction: column;
}

.highlight-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-blue);
}

.highlight-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-card-wrapper {
  position: relative;
  perspective: 1000px;
}

.hero-card-3d {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-hover);
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
}

.hero-card-3d img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.9) 100%);
  color: #FFFFFF;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid #38BDF8;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   8. Continuous Timeline Marquee
   -------------------------------------------------------------------------- */
.marquee-section {
  background: #FFFFFF;
  border-y: 1px solid var(--border-glass);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  background: #F8FAFC;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.marquee-item i {
  color: var(--accent-gold);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   9. Feature Cards & Services Grid
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-main);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-hover);
}

.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.service-card-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  color: var(--accent-blue);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.service-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

/* --------------------------------------------------------------------------
   10. Equipment Selector Tabs
   -------------------------------------------------------------------------- */
.equipment-selector {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.equipment-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.equip-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-sub);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: var(--transition-fast);
}

.equip-btn:hover,
.equip-btn.active {
  background: rgba(2, 132, 199, 0.06);
  border-color: var(--accent-blue);
  color: var(--text-main);
}

.equip-btn.active .equip-icon {
  background: var(--accent-blue);
  color: #FFFFFF;
}

.equip-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-blue);
  transition: var(--transition-fast);
}

.equipment-display {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-main);
  min-height: 400px;
  background: #FFFFFF;
}

.equipment-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.equipment-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --------------------------------------------------------------------------
   11. Odometer / Stats Counter
   -------------------------------------------------------------------------- */
.stats-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-y: 1px solid var(--border-glass);
}

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

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-blue));
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   12. Founder Section
   -------------------------------------------------------------------------- */
.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.founder-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 15px 35px rgba(217, 119, 6, 0.15);
}

.founder-image-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.founder-badge-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.9) 100%);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   13. Gallery Page Grid & Lightbox
   -------------------------------------------------------------------------- */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-sub);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent-red);
  color: #FFFFFF;
  border-color: var(--accent-red);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-main);
  transition: var(--transition-smooth);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
  padding: 20px;
  text-align: center;
  color: #FFFFFF;
}

.gallery-item:hover .gallery-hover-overlay {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  max-height: 80vh;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #FFFFFF;
  font-size: 2.2rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   14. Contact Page & Estimator Modal
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-form {
  padding: 40px;
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: #F8FAFC;
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-blue);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
}

/* Estimator Modal Widget */
.estimator-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.estimator-modal.active {
  display: flex;
}

.estimator-box {
  width: 100%;
  max-width: 550px;
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-hover);
  position: relative;
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   15. Footer (Matching User Screenshot Layout & bny.png / logo.png)
   -------------------------------------------------------------------------- */
.footer-main {
  background: #054986;
  color: #9CA3AF;
  padding: 70px 0 25px;
  font-family: 'Inter', sans-serif;
  border-top: 1px solid #1F2937;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo img {
  height: 140px;
  width: auto;
  margin-bottom: 20px;
  border-radius: 0;
  object-fit: contain;
}

.footer-brand-desc {
  font-size: 0.92rem;
  color: #D1D5DB;
  line-height: 1.7;
  max-width: 320px;
}

.footer-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 38px;
  height: 3px;
  background: #EAB308;
  border-radius: 2px;
}

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

.footer-links-list a {
  color: #D1D5DB;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: #EAB308;
  padding-left: 5px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  color: #D1D5DB;
  line-height: 1.6;
}

.footer-contact-item i {
  color: #EAB308;
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #D1D5DB;
  transition: var(--transition-fast);
}

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

.footer-bottom-line {
  border-top: 1px solid #B8B8B86B;
  padding-top: 25px;
  text-align: center;
  font-size: 0.92rem;
  color: #FFFFFF;
  font-weight: 500;
}

.footer-bottom-line img {
  display: inline-block;
  height: 26px;
  vertical-align: middle;
  margin: 0 4px;
}

/* --------------------------------------------------------------------------
   16. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .nav-menu {
    gap: 12px;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .brand-logo img {
    height: 90px;
  }

  .btn-pulse-phone {
    padding: 8px 16px;
    font-size: 0.84rem;
  }
}

@media (max-width: 1140px) {
  .nav-menu {
    display: none;
  }

  .hamburger-btn {
    display: block;
  }

  .navbar-container {
    height: 90px;
  }

  .brand-logo img {
    height: 80px;
  }
}

@media (max-width: 1024px) {

  .hero-grid,
  .founder-grid,
  .equipment-selector,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

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

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

  .page-banner h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 900px) {
  .btn-pulse-phone {
    padding: 6px 14px;
    font-size: 0.8rem;
    white-space: nowrap;
    gap: 6px;
    border-radius: 30px;
    font-weight: 600;
  }

  .btn-pulse-phone i {
    font-size: 0.95rem;
  }

  .top-ticker-bar {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

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

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

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

  .page-banner h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .navbar-container {
    height: 84px;
    padding: 0 8px;
  }

  .brand-logo img {
    height: 72px;
  }

  .btn-pulse-phone {
    padding: 5px 8px;
    font-size: 0.7rem;
    gap: 4px;
    letter-spacing: -0.2px;
  }

  .btn-pulse-phone i {
    font-size: 0.82rem;
  }
}

/* --------------------------------------------------------------------------
   17. Location Chip Buttons
   -------------------------------------------------------------------------- */
.loc-chip-btn {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.loc-chip-btn:hover {
  background: #FEF2F2;
  border-color: #FCA5A5;
  color: #DC2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.12);
}

/* --------------------------------------------------------------------------
   18. Our Trusted Partners Marquee Section
   -------------------------------------------------------------------------- */
.partners-marquee-section {
  background: #F8FAFC;
  border-top: 1px solid var(--border-glass);
  overflow: hidden;
  position: relative;
}

.partners-marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.partners-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.marquee-scroll-left {
  animation: partnerMarqueeLeft 42s linear infinite;
}

.marquee-scroll-right {
  animation: partnerMarqueeRight 42s linear infinite;
}

.partners-marquee-track:hover {
  animation-play-state: paused;
}

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

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

.partner-marquee-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px 18px;
  width: 230px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.partner-marquee-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #0376B3, #E11D48);
  transition: width 0.3s ease;
}

.partner-marquee-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #0376B3;
  box-shadow: 0 12px 26px rgba(3, 118, 179, 0.14);
}

.partner-marquee-card:hover::after {
  width: 80%;
}

.partner-marquee-card .partner-logo-box {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.partner-marquee-card .partner-logo-box img {
  max-width: 90%;
  max-height: 52px;
  object-fit: contain;
  filter: grayscale(12%);
  transition: all 0.3s ease;
}

.partner-marquee-card:hover .partner-logo-box img {
  filter: grayscale(0%);
  transform: scale(1.08);
}

.partner-marquee-card .partner-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
}

@media (max-width: 600px) {
  .partner-marquee-card {
    width: 190px;
    height: 105px;
    padding: 10px 14px;
  }
  .partner-marquee-card .partner-logo-box {
    height: 50px;
  }
  .partner-marquee-card .partner-logo-box img {
    max-height: 42px;
  }
  .partner-marquee-card .partner-name {
    font-size: 0.75rem;
  }
}

/* Fix for light footer contact info visibility */
.footer .footer-contact-item,
.footer .footer-contact-item a {
  color: #334155;
}
.footer .footer-contact-item a:hover {
  color: var(--accent-red);
}

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

.fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.fab::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  z-index: -1;
  animation: pulseFab 2s infinite;
}

@keyframes pulseFab {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.fab-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}
.fab-whatsapp::before {
  background: #25D366;
}

.fab-phone {
  background: linear-gradient(135deg, #E63946, #D90429);
}
.fab-phone::before {
  background: #E63946;
}

.fab:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.fab i {
  animation: wiggle 3s infinite;
}

@keyframes wiggle {
  0%, 10% { transform: rotate(0); }
  15% { transform: rotate(-15deg); }
  20% { transform: rotate(10deg); }
  25% { transform: rotate(-10deg); }
  30% { transform: rotate(5deg); }
  35%, 100% { transform: rotate(0); }
}

@media (max-width: 768px) {
  .floating-actions {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }
  .fab {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}