/* 
   Swathisri Ambulance Service - Main Stylesheet
   Premium Healthcare Emergency Design System
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --primary: #003366; /* Medical Blue brand color */
  --primary-hover: #002244;
  --primary-light: #f0f5fa; /* Soft blue tinted background */
  --primary-glow: rgba(0, 51, 102, 0.1);
  
  --secondary: #ffffff; /* Secondary brand color: White */
  --secondary-hover: #f8fafc;
  --secondary-glow: rgba(255, 255, 255, 0.05);

  --accent: #E53935; /* Accent color: Emergency Red */
  --accent-hover: #C62828;
  --accent-light: #fff5f5;
  --accent-glow: rgba(229, 57, 53, 0.2);

  --success: #10b981;
  --warning: #f59e0b;
  
  --background: #f8fafc;
  --card-bg: #ffffff;
  
  --text-main: #1F2937; /* Text: #1F2937 */
  --text-heading: #003366; /* Headings: Medical Blue */
  --text-muted: #64748b;
  --border: rgba(0, 51, 102, 0.1); /* Subtle blue tinted border */
  --border-light: rgba(0, 51, 102, 0.05); /* Extra subtle border */
  --white: #ffffff;
  
  /* Dark Layout Backgrounds (previously used --secondary) */
  --dark-bg: #0f172a; /* Sleek slate dark background */
  --dark-bg-hover: #1e293b;

  /* Button CTA variables */
  --btn-primary-bg: #E53935; /* Primary CTA is Emergency Red */
  --btn-primary-hover: #C62828;
  --btn-secondary-bg: #003366; /* Secondary CTA is Medical Blue */
  --btn-secondary-hover: #002244;
  
  /* Fonts */
  --font-heading: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --header-top-height: 40px;
  
  /* Presets */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 51, 102, 0.03);
  --shadow-md: 0 8px 24px rgba(0, 51, 102, 0.06);
  --shadow-lg: 0 16px 36px rgba(0, 51, 102, 0.08);
  --shadow-glow: 0 8px 20px rgba(229, 57, 53, 0.25);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* Page Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--dark-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
  text-align: center;
  color: var(--white);
}

.loader-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  animation: pulse-glow 2s infinite ease-in-out;
}

.loader-bar {
  width: 150px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.loader-progress {
  width: 50%;
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  position: absolute;
  left: -50%;
  animation: load-slide 1.5s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0px var(--primary)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 15px var(--primary)); }
}

@keyframes load-slide {
  0% { left: -50%; }
  100% { left: 100%; }
}

/* Common Layout Components */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

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

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(0, 51, 102, 0.1);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}
.section-bg-dark .section-desc {
  color: #94a3b8;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  gap: 10px;
}

.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(229, 57, 53, 0.25);
  border-color: var(--btn-primary-bg);
}
.btn-primary:hover {
  background-color: var(--btn-primary-hover);
  border-color: var(--btn-primary-hover);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--white);
  border-color: var(--btn-secondary-bg);
  box-shadow: 0 4px 14px rgba(0, 51, 102, 0.15);
}
.btn-secondary:hover {
  background-color: var(--btn-secondary-hover);
  border-color: var(--btn-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 51, 102, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 51, 102, 0.2);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-pulse {
  animation: button-pulse 2.2s infinite;
}

@keyframes button-pulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(229, 57, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}

/* Header & Navigation */
.header-top {
  height: var(--header-top-height);
  background-color: var(--dark-bg);
  color: #cbd5e1;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  transition: var(--transition-normal);
}

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

.header-contact-info {
  display: flex;
  gap: 24px;
}

.header-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-contact-item i {
  color: var(--accent);
}

.header-social-links {
  display: flex;
  gap: 16px;
}
.header-social-links a:hover {
  color: var(--primary);
}

/* Main Navigation Header */
.main-header {
  position: absolute;
  top: var(--header-top-height);
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-normal);
}

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

/* Sticky Header States */
.header-sticky {
  position: fixed;
  top: 0;
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.header-sticky.header-scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

/* Color overrides when navigation header is sticky (white bg) */
.header-sticky .logo-name {
  color: var(--primary);
}
.header-sticky .nav-link {
  color: var(--text-heading);
}
.header-sticky .nav-link::after {
  background-color: var(--primary);
}
.header-sticky .mobile-nav-toggle span {
  background-color: var(--primary);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.5px;
  transition: var(--transition-normal);
}

.logo-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 2px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  height: 100%;
  align-items: center;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-normal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
  width: 100%;
}

.nav-link i {
  font-size: 0.8rem;
  transition: transform var(--transition-fast);
}

/* Dropdown Menu styling like reference */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  width: 260px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--white);
  border-left: 1px solid rgba(15, 23, 42, 0.05);
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text-heading);
}

.dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 20px;
}

/* Desktop Dropdown Hover */
@media (min-width: 992px) {
  .nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .nav-item-dropdown:hover .nav-link i {
    transform: rotate(180deg);
  }
}

/* Mobile Navigation Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1010;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: var(--radius-full);
  position: absolute;
  transition: var(--transition-normal);
}

.mobile-nav-toggle span:nth-child(1) { top: 0; }
.mobile-nav-toggle span:nth-child(2) { top: 10px; width: 80%; right: 0; }
.mobile-nav-toggle span:nth-child(3) { top: 20px; }

.mobile-nav-toggle.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: calc(var(--header-height) + var(--header-top-height) + 50px) 0 80px 0;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, rgba(0, 25, 50, 0.75), rgba(0, 51, 102, 0.5)), 
              url('../banner/banner.png') center/cover no-repeat;
  color: var(--white);
  z-index: 1;
}

.hero-overlay-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 51, 102, 0.15) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  opacity: 0.5;
  z-index: -1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-light);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(229, 57, 53, 0.2);
  margin-bottom: 24px;
}
.hero-tag i {
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: var(--white);
}
.hero-title span {
  color: var(--accent);
  background: linear-gradient(120deg, var(--accent), #ff8a80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.hero-stat-item h4 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.hero-stat-item p {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Hero Quick Booking Card */
.hero-form-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: var(--transition-normal);
}
.hero-form-card:hover {
  border-color: rgba(229, 57, 53, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(229, 57, 53, 0.1);
}

.hero-form-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.hero-form-title i {
  color: var(--accent);
}

.hero-form-subtitle {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 24px;
}

/* Trust Section (Icons / Cards) */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.trust-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 51, 102, 0.15);
}

.trust-icon-box {
  width: 56px;
  height: 56px;
  background-color: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  transition: var(--transition-normal);
}

.trust-card:hover .trust-icon-box {
  background-color: var(--primary-light);
  color: var(--primary);
}

.trust-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.trust-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 51, 102, 0.15);
}

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

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

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

.service-icon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 56px;
  height: 56px;
  background-color: var(--accent);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--white);
}

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

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

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

.service-card-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-card-link:hover {
  color: var(--accent);
}

.service-price-badge {
  background-color: var(--accent-light);
  color: var(--accent-hover);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

/* Service Comparison Table */
.comparison-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background-color: var(--white);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  background-color: var(--primary);
  color: var(--white);
}

.comparison-table th:first-child {
  border-top-left-radius: var(--radius-lg);
}
.comparison-table th:last-child {
  border-top-right-radius: var(--radius-lg);
}

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

.comparison-table tr:hover {
  background-color: var(--border-light);
}

.comparison-table .feature-title {
  font-weight: 600;
  color: var(--text-heading);
}

.comparison-check {
  color: var(--success);
  font-weight: bold;
}

.comparison-cross {
  color: var(--text-muted);
  opacity: 0.5;
}

/* Accordion FAQs */
.accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-normal);
}

.accordion-item:hover {
  border-color: rgba(0, 51, 102, 0.15);
}

.accordion-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-heading);
}

.accordion-icon {
  font-size: 0.8rem;
  transition: transform var(--transition-normal);
  color: var(--text-muted);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) cubic-bezier(0, 1, 0, 1);
  background-color: #fcfdfe;
}

.accordion-content-inner {
  padding: 0 24px 20px 24px;
  font-size: 0.95rem;
  color: var(--text-main);
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

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

.accordion-item.active .accordion-content {
  max-height: 500px; /* Large enough default */
  transition: max-height var(--transition-normal) cubic-bezier(1, 0, 1, 0);
}

/* Testimonials Slide/Cards */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 51, 102, 0.1);
}

.testimonial-stars {
  color: var(--warning);
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-main);
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.testimonial-user-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}
.testimonial-user-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Interactive Forms */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}
.hero-form-card .form-label {
  color: var(--white);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background-color: var(--white);
  color: var(--text-heading);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.hero-form-card .form-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
}
.hero-form-card .form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.hero-form-card .form-input:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

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

/* Floating Widgets */
.floating-widgets {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.05);
}

.floating-whatsapp {
  background-color: #25d366;
  font-size: 2rem;
}
.floating-whatsapp:hover {
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.floating-call {
  background-color: var(--primary);
  font-size: 1.5rem;
  display: flex;
  animation: pulse-ring-call 2s infinite;
}
.floating-call:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px) scale(1.05);
}

@keyframes pulse-ring-call {
  0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(229, 57, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}

/* Footer Section */
.footer {
  background-color: #1f2937;
  color: #94a3b8;
  padding: 80px 0 30px 0;
  border-top: 3px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer .logo-name {
  color: var(--white);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col-title {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-seo-tag {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* Mobile Sticky Call Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--dark-bg);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  display: none; /* JavaScript/CSS handles display */
  grid-template-columns: 1fr 1fr;
  z-index: 998;
}

.mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.mobile-bar-call {
  background: var(--accent);
}

.mobile-bar-whatsapp {
  background: #25d366;
}

/* Modals (Emergency Booking Form Popup) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--border-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-heading);
}

.modal-close:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.modal-title {
  font-size: 1.75rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.modal-title i {
  color: var(--accent);
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Secondary Pages Specific Styles */
/* Inner Page Hero (Banner) */
.inner-hero {
  padding: calc(var(--header-height) + var(--header-top-height) + 60px) 0 60px 0;
  background: linear-gradient(135deg, rgba(0, 25, 50, 0.8), rgba(0, 51, 102, 0.55)),
              url('../banner/banner.png') center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.inner-hero-title {
  font-size: 2.75rem;
  margin-bottom: 12px;
  color: var(--white);
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-heading);
  font-weight: 500;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs .separator {
  opacity: 0.5;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs .current {
  color: var(--white);
}

/* Feature/Grid Layouts for Details */
.details-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: flex-start;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.equipment-item {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.equipment-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.equipment-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}
.equipment-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Image Grid for Gallery */
.gallery-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  background-color: var(--white);
  border: 1px solid var(--border);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.filter-tab:hover,
.filter-tab.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

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

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 280px;
  cursor: pointer;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: opacity var(--transition-normal);
}

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

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

.gallery-title {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-tag {
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Lightbox overlay for gallery view */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.95);
  z-index: 11000;
  display: none;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Contacts Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 51, 102, 0.1);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;
}

.contact-info-block {
  display: flex;
  gap: 20px;
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-info-details h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.contact-info-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-form-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 51, 102, 0.1);
}

.map-section {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 48px;
  height: 400px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Scroll Animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Bottom CTA Banner Section styles */
.bottom-cta-banner {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.92), rgba(15, 23, 42, 0.88)), 
              url('../banner/banner.png') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  z-index: 1;
  overflow: hidden;
}

.bottom-banner-overlay-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(229, 57, 53, 0.15) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  opacity: 0.4;
  z-index: -1;
}

.bottom-banner-content {
  max-width: 800px;
  margin: 0 auto;
}

.bottom-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(229, 57, 53, 0.15);
}

.bottom-banner-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.bottom-banner-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 36px;
  line-height: 1.7;
}

.bottom-banner-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-tag {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 70px;
  }
  
  .header-top {
    display: none; /* Hide header top on small screens to save space */
  }
  
  .main-header {
    top: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
  }
  
  .logo-name {
    color: var(--primary);
  }
  
  .header-cta .btn {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .mobile-nav-toggle span {
    background-color: var(--primary);
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    gap: 20px;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.1);
    transition: right var(--transition-normal);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    width: 100%;
    height: auto;
  }
  
  .nav-link {
    color: var(--text-heading);
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    background-color: var(--background);
    padding: 0 0 0 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    margin-top: 0;
    transition: max-height var(--transition-normal) ease;
  }
  
  .dropdown-menu::before {
    display: none;
  }
  
  .dropdown-item {
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.02);
  }
  
  .nav-item-dropdown.active .dropdown-menu {
    max-height: 300px;
  }
  
  .nav-item-dropdown.active .nav-link i {
    transform: rotate(180deg);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .contact-form-card {
    padding: 24px;
  }
  
  .mobile-sticky-bar {
    display: grid;
  }
  
  .floating-widgets {
    bottom: 80px; /* shift up to not cover sticky bar */
    right: 20px;
  }
  
  .floating-call {
    display: none; /* using sticky bar instead */
  }

  .bottom-cta-banner {
    padding: 70px 0;
  }

  .bottom-banner-title {
    font-size: 1.85rem;
  }

  .bottom-banner-desc {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .comparison-section {
    display: none !important;
  }
}
