/* ===== GLOBAL STYLES ===== */
html {
  overflow-x: auto;
  overflow-y: auto;
}

:root {
  --primary: #4a4e69;       /* Deep navy */
  --primary-dark: #3a3e59;  /* Darker primary for hover states */
  --secondary: #9a8c98;     /* Muted purple */
  --accent: #f2e9e4;        /* Light cream */
  --text: #22223b;          /* Dark text */
  --text-light: #6c757d;    /* Light text */
  --light: #f8f9fa;         /* Background */
  --white: #ffffff;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #17a2b8;
  --border: #e1e5e9;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
  overflow-x: auto;
  overflow-y: auto;
}

/* ===== NAVIGATION ===== */
header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

/* Top Bar */
.top-bar {
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.top-bar-left .logo {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}

.logo-tagline {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--accent);
}

.top-bar-right .top-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.top-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

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

.country-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.country-selector:hover {
  color: var(--accent);
}

/* Main Navigation */
.main-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.search-container {
  display: flex;
  align-items: center;
  max-width: 300px;
}

.search-input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 0.9rem;
}

.search-btn {
  background: var(--danger);
  color: var(--white);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover {
  background: #c82333;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-separator {
  color: var(--text-light);
}

/* Primary Navigation */
.primary-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.primary-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}



.dropdown-toggle i {
  font-size: 0.8rem;
  transition: var(--transition);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Mega Menu Styles */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  min-width: 800px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 1001;
  padding: 2rem;
}

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

.mega-menu-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2rem;
  position: relative;
}

.mega-menu-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mega-menu-section h3 {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
}

.mega-menu-section p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1rem 0;
}

.mega-menu-link {
  color: var(--danger);
  text-decoration: underline;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.mega-menu-link:hover {
  color: #c82333;
}

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

.mega-menu-list li {
  margin-bottom: 0.5rem;
}

.mega-menu-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: block;
  padding: 0.25rem 0;
}

.mega-menu-list a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.blog-preview {
  background: var(--light);
  padding: 1rem;
  border-radius: var(--border-radius);
}

.blog-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.blog-preview h4 {
  color: var(--primary);
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.blog-date {
  color: var(--text-light);
  font-size: 0.8rem;
  font-style: italic;
  margin: 0 0 0.5rem 0;
}

.blog-excerpt {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

.mega-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.mega-menu-close:hover {
  color: var(--text);
}



/* Secondary Navigation */
.secondary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.secondary-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.auth-section {
  display: flex;
  align-items: center;
  margin-left: 2rem;
}

/* ===== BREADCRUMB NAVIGATION ===== */
.breadcrumb {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--text-light);
  font-weight: 500;
}

#gw-auth-menu {
  display: flex;
  align-items: center;
}

#gw-auth-menu .btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

#gw-auth-menu .btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

#gw-auth-menu .gw-profile {
  position: relative;
}

#gw-auth-menu .gw-profile .btn {
  background: var(--primary);
  color: var(--white);
}

#gw-auth-menu #gw-profile-menu {
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 1000;
  margin-top: 0.5rem;
  display: none;
}

#gw-auth-menu #gw-profile-menu.show {
  display: block;
}

#gw-auth-menu #gw-profile-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}

#gw-auth-menu #gw-profile-menu a:last-child {
  border-bottom: none;
}

#gw-auth-menu #gw-profile-menu a:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Dashboard link styling - only when active */
#nav-dashboard.active {
  font-weight: 600;
  color: var(--primary);
  background: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

#nav-dashboard.active:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(74, 78, 105, 0.1);
  transform: translateY(-1px);
}

.nav-links a.active {
  color: var(--primary);
  background: var(--accent);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.mobile-menu:hover {
  background: var(--accent);
}

/* ===== PROCESS STEPS ===== */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 4rem 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin: 0 0 1rem 0;
  color: var(--primary);
  font-size: 1.5rem;
}

.step-content p {
  margin: 0 0 1.5rem 0;
  color: var(--text-light);
  line-height: 1.6;
}

.step-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== SERVICE FLOW ===== */
.service-flow {
  background: var(--light);
  padding: 4rem 0;
  margin: 4rem 0;
}

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  min-width: 150px;
  transition: var(--transition);
}

.flow-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.flow-step i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.flow-step h4 {
  margin: 0 0 0.5rem 0;
  color: var(--primary);
  font-weight: 600;
}

.flow-step p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.flow-arrow {
  color: var(--primary);
  font-size: 1.5rem;
}

/* ===== PRICING SECTION ===== */
.pricing-overview {
  margin: 4rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-header {
  background: var(--primary);
  color: var(--white);
  padding: 2rem;
  text-align: center;
  position: relative;
}

.pricing-header i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.pricing-header h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}

.pricing-header p {
  margin: 0;
  opacity: 0.9;
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--danger);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-body {
  padding: 2rem;
}

.price {
  text-align: center;
  margin-bottom: 2rem;
}

.currency {
  font-size: 1.5rem;
  color: var(--text-light);
  vertical-align: top;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0.25rem;
}

.period {
  font-size: 1rem;
  color: var(--text-light);
}

.features {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
}

.features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text);
}

.features i {
  color: var(--success);
  font-size: 1rem;
}

/* ===== ADDITIONAL SERVICES ===== */
.additional-services {
  background: var(--light);
  padding: 4rem 0;
  margin: 4rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.service-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-item h4 {
  margin: 0 0 0.5rem 0;
  color: var(--primary);
}

.service-item .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--success);
  margin: 0.5rem 0;
}

.service-item p {
  margin: 0;
  color: var(--text-light);
}

/* ===== PRICING FAQ ===== */
.pricing-faq {
  background: var(--white);
  padding: 4rem 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item h4 {
  margin: 0 0 1rem 0;
  color: var(--primary);
  font-size: 1.1rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
}



/* ===== SERVICE PAGES ===== */
.service-overview {
  margin: 4rem 0;
}

.service-description {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.service-description h2 {
  margin: 0 0 1.5rem 0;
  color: var(--primary);
  font-size: 2.5rem;
}

.service-description > p {
  margin: 0 0 3rem 0;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.feature i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature h4 {
  margin: 0 0 1rem 0;
  color: var(--primary);
}

.feature p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== SERVICE PRICING ===== */
.pricing-section {
  background: var(--light);
  padding: 4rem 0;
  margin: 4rem 0;
}

.pricing-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-option {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

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

.pricing-option.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.pricing-option.featured:hover {
  transform: scale(1.05) translateY(-2px);
}

.pricing-option h3 {
  margin: 0 0 1rem 0;
  color: var(--primary);
  font-size: 1.5rem;
}

.pricing-option .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.5rem 0;
}

.pricing-option > p {
  margin: 0 0 1.5rem 0;
  color: var(--text-light);
}

.pricing-option ul {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
}

.pricing-option li {
  padding: 0.5rem 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.pricing-option li:last-child {
  border-bottom: none;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--white);
  padding: 4rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary);
}

.stars {
  margin-bottom: 1rem;
}

.stars i {
  color: #ffc107;
  font-size: 1.2rem;
}

.testimonial p {
  margin: 0 0 1.5rem 0;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
}

.customer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.customer strong {
  color: var(--primary);
}

.customer span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== RELATED SERVICES ===== */
.related-services {
  background: var(--light);
  padding: 4rem 0;
}

.related-services .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* ===== ALTERNATIVE CONTACTS ===== */
.alternative-contacts {
  background: var(--light);
  padding: 4rem 0;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-method {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.contact-method i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-method h4 {
  margin: 0 0 1rem 0;
  color: var(--primary);
}

.contact-method p {
  margin: 0 0 0.5rem 0;
  color: var(--text-light);
}

.contact-method a {
  color: var(--primary);
  text-decoration: none;
}

.contact-method a:hover {
  text-decoration: underline;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  margin: 0 0 1rem 0;
  font-size: 2.5rem;
}

.cta-content p {
  margin: 0 0 2rem 0;
  font-size: 1.2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SUPPORT SECTION ===== */
.support-section {
  background: var(--white);
  padding: 4rem 0;
}

.support-options {
  padding: 4rem 0;
}

.support-card {
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

.support-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.support-card h3 {
  margin: 0 0 1rem 0;
  color: var(--primary);
}

.support-card p {
  margin: 0 0 1.5rem 0;
  color: var(--text-light);
}

/* ===== RESPONSIVE NAVIGATION ===== */
@media (max-width: 1024px) {
  .top-bar .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .top-bar-right .top-links {
    gap: 1rem;
  }
  
  .main-nav .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .search-container {
    max-width: 100%;
  }
  
  .nav-menu {
    flex-direction: column;
    width: 100%;
    display: none;
  }
  
  .nav-menu.show {
    display: flex;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    width: 100%;
    text-align: left;
    justify-content: space-between;
  }
  
  
  
  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--light);
    min-width: auto;
    padding: 1rem;
  }
  
  .mega-menu-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .mega-menu-close {
    display: none;
  }
  
  .auth-section {
    margin-left: 0;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .mobile-menu {
    display: block;
    position: absolute;
    top: 1rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
  }
  
  .mobile-menu:hover {
    background: var(--accent);
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 0.25rem 0;
  }
  
  .top-bar .container {
    padding: 0 1rem;
  }
  
  .main-nav .container,
  .primary-nav .container {
    padding: 0 1rem;
  }
  
  .logo-text {
    font-size: 1.5rem;
  }
  
  .logo-tagline {
    font-size: 0.7rem;
  }
  
  .top-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .search-container {
    flex-direction: column;
  }
  
  .search-input {
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
  }
  
  .search-btn {
    border-radius: var(--border-radius);
  }
}

@media (max-width: 768px) {
  .breadcrumb-list {
    flex-wrap: wrap;
  }
  
  .breadcrumb-item {
    font-size: 0.8rem;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
              url('../images/graveway-index page.jpg') center/cover;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Two-Column Layout (Cemeteries + Map) */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* ===== FORMS ===== */
.form-container {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  max-width: 600px;
  margin: 2rem auto;
}

.booking-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 78, 105, 0.1);
  transform: translateY(-1px);
}

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

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group.has-success input,
.form-group.has-success select,
.form-group.has-success textarea {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-error {
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-success {
  color: var(--success);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-help {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-note {
  background: var(--accent);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-note i {
  color: var(--primary);
}

.auth-notice {
  background: linear-gradient(135deg, var(--accent) 0%, var(--white) 100%);
  border: 2px solid var(--primary);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.auth-notice-content {
  max-width: 400px;
  margin: 0 auto;
}

.auth-notice i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.auth-notice h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.auth-notice p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

.auth-notice .btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.btn-submit {
  width: 100%;
  padding: 1.25rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-submit:disabled {
  background: var(--text-light);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Checkbox and Radio Styling */
.form-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: var(--primary);
}

.form-check label {
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .features {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 4rem 2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .auth-section {
    margin-left: 1rem;
  }
  
  #gw-auth-menu .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  #gw-auth-menu #gw-profile-menu {
    right: -1rem;
    min-width: 180px;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .two-column {
    grid-template-columns: 1fr;
  }
  
  .hero {
    height: 60vh;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .search-bar {
    flex-direction: column;
    border-radius: var(--border-radius);
  }
  
  .search-bar input {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
  }
  
  .search-bar button {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
  }
  
  .features {
    grid-template-columns: 1fr;
    padding: 3rem 1rem;
  }
  
  .feature-card {
    padding: 2rem;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .booking-form,
  .form-container {
    padding: 2rem;
    margin: 1rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .hero {
    height: 50vh;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .features {
    padding: 2rem 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* ===== HERO SECTIONS ===== */
.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
              url('../images/graveway.png.png') center/cover;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

/* Removed problematic radial gradient overlay */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.search-bar {
  display: flex;
  max-width: 600px;
  margin: 2rem auto 0;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.search-bar input {
  flex: 1;
  padding: 1.25rem 2rem;
  border: none;
  outline: none;
  font-size: 1rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
}

.search-bar input::placeholder {
  color: var(--text-light);
}

.search-bar button {
  padding: 1.25rem 2rem;
  background: var(--primary);
  border: none;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  min-width: 120px;
}

.search-bar button:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* Search Results */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  margin-top: 10px;
  z-index: 1000;
  max-height: 600px;
  overflow-y: auto;
  border: 1px solid #e1e5e9;
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e1e5e9;
  background: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.search-results-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
}

.close-search {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6c757d;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.close-search:hover {
  background: #e9ecef;
  color: var(--text);
}

.search-results-content {
  padding: 1rem 1.5rem;
}

.search-summary {
  padding: 0.75rem 0;
  margin-bottom: 1rem;
  color: #6c757d;
  font-size: 0.9rem;
  border-bottom: 1px solid #e1e5e9;
}

.search-category {
  margin-bottom: 1.5rem;
}

.search-category h4 {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-category h4 i {
  color: var(--secondary);
}

.search-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #e1e5e9;
  transition: all 0.2s ease;
  background: #f8f9fa;
}

.search-item:hover {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.search-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  flex-shrink: 0;
}

.cemetery-item .search-item-icon {
  background: #28a745;
}

.service-item .search-item-icon {
  background: #007bff;
}

.provider-item .search-item-icon {
  background: #6f42c1;
}

.search-item-content {
  flex: 1;
  min-width: 0;
}

.search-item-content h5 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}

.search-item-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.4;
}

.search-item-action {
  flex-shrink: 0;
}

.search-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #e3f2fd;
  border-radius: 8px;
  color: #1976d2;
}

.search-message i {
  font-size: 1.2rem;
}

.search-message p {
  margin: 0;
  font-size: 0.95rem;
}

/* Responsive search results */
@media (max-width: 768px) {
  .search-results {
    position: fixed;
    top: 80px;
    left: 20px;
    right: 20px;
    max-height: 70vh;
  }
  
  .search-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .search-item-action {
    align-self: stretch;
  }
  
  .search-item-action .btn-small {
    width: 100%;
  }
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background: #8a7c88;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-success:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-warning {
  background: var(--warning);
  color: var(--text);
}

.btn-warning:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: #c82333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== CARDS & FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  padding: 6rem 2rem;
  background: var(--light);
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

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

.feature-card img {
  height: 80px;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 20px;
  margin: 0 auto 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: block;
}

.feature-icon:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: var(--shadow-lg);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-card .btn {
  margin-top: auto;
}

/* Map Locator */
.locator {
  padding: 4rem 2rem;
  text-align: center;
}

.map-container {
  position: relative;
  margin-top: 2rem;
}

.map-overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.route-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===== GALLERY & LIVE ROOMS SPECIFIC STYLES ===== */
/* Gallery Section */
.gallery-section {
  padding: 3rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-item .caption {
  padding: 1rem;
  background: white;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

/* Live Rooms Cards */
.live-room-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.live-room-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.live-badge {
  background: #e74c3c;
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}

.live-room-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.viewer-count, .starts-in {
  font-size: 0.9rem;
  color: var(--gray);
}

/* CTA Card (Create Room) */
.cta-card {
  background: linear-gradient(135deg, var(--primary), #3a506b);
  color: white;
  text-align: center;
}

.cta-card .btn {
  background: white;
  color: var(--primary);
}

/* ===== MODERN AUTHENTICATION MODAL ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--white);
  padding: 3rem 2.5rem 2.5rem;
  border-radius: 20px;
  width: 95%;
  max-width: 500px;
  max-height: 90vh;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(74, 78, 105, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(154, 140, 152, 0.03) 0%, transparent 50%);
  overflow-y: auto;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-content .close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.modal-content .close:hover {
  background: var(--white);
  color: var(--text);
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

/* Custom scrollbar for modal content */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  margin: 1rem 0;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
  opacity: 0.7;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
  opacity: 1;
}

/* Auth Steps */
.auth-step {
  text-align: center;
  padding: 1rem 0;
}

.auth-step h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-step p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Back button positioning */
.auth-step .btn-outline {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 5;
}

/* Input Groups */
.input-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  transition: var(--transition);
  box-sizing: border-box;
  position: relative;
}

.input-group input:not(:placeholder-shown) {
  border-color: var(--primary);
  background: rgba(74, 78, 105, 0.02);
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 78, 105, 0.1);
  transform: translateY(-1px);
}

/* Button within input group */
.input-group .btn {
  margin-top: 1rem;
  width: 100%;
}

/* Authentication Method Selection */
.auth-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.auth-method-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  width: 100%;
  font-family: 'Poppins', sans-serif;
}

.auth-method-btn:hover {
  border-color: var(--primary);
  background: rgba(74, 78, 105, 0.02);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.auth-method-btn i {
  font-size: 1.5rem;
  color: var(--primary);
  width: 40px;
  text-align: center;
}

.auth-method-btn h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.auth-method-btn p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.4;
}

.input-group input::placeholder {
  color: #a0a0a0;
  font-weight: 400;
}

/* Phone number input specific styling */
#phone-number {
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
}

/* Recaptcha container styling */
#recaptcha-container {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
}

/* OTP input specific styling */
#otp-code {
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 0.5rem;
  font-weight: 600;
}

/* Password input styling */
#password, #signup-password, #confirm-password {
  font-family: 'Poppins', sans-serif;
}

/* Role selection styling */
#role-selection {
  text-align: left;
}

#role-selection .input-group {
  margin-bottom: 1.5rem;
}

/* Success/Error states */
.auth-step.success h2 {
  color: var(--success);
}

.auth-step.error h2 {
  color: var(--error);
}

/* Loading states */
.btn.loading {
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Modal backdrop improvements */
.modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(74, 78, 105, 0.1), rgba(154, 140, 152, 0.1));
  pointer-events: none;
}

/* Ensure modal is always on top */
.modal {
  z-index: 9999;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Add helpful hint for phone number inputs only */
.input-group.phone-input::after {
  content: 'Tip: Include country code (e.g., +27)';
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  text-align: center;
  opacity: 0.7;
}

/* Modal responsive adjustments */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-width: none;
    padding: 2rem 1.5rem 1.5rem;
    margin: 1rem;
  }
  
  .auth-step h2 {
    font-size: 1.5rem;
  }
  
  .auth-step p {
    font-size: 0.9rem;
  }
  
  .auth-method-btn {
    padding: 1.2rem;
  }
  
  .auth-method-btn h3 {
    font-size: 1rem;
  }
  
  .auth-method-btn p {
    font-size: 0.85rem;
  }
  
  .input-group input {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }
  
  .btn {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }
  
  .btn-outline {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* Hide the tip on mobile to save space */
@media (max-width: 480px) {
  .input-group::after {
    display: none;
  }
}

/* Modern Buttons */
.btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

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

.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid transparent;
  border-top: 2px solid var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Role Selection */
.role-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.role-option {
  cursor: pointer;
  display: block;
}

.role-option input[type="radio"] {
  display: none;
}

.role-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.role-option input[type="radio"]:checked + .role-card {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(74, 78, 105, 0.02), rgba(154, 140, 152, 0.02));
}

.role-option input[type="radio"]:checked + .role-card::before {
  transform: scaleX(1);
}

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

.role-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.role-option input[type="radio"]:checked + .role-card .role-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.role-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.role-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  flex-grow: 1;
}

.role-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.role-features li {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.4;
}

.role-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
  font-size: 1rem;
  top: -1px;
}

.role-note {
  margin-top: auto;
  padding: 1rem;
  background: linear-gradient(135deg, var(--accent), rgba(242, 233, 228, 0.8));
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  border: 1px solid rgba(74, 78, 105, 0.1);
}

.role-note i {
  color: var(--warning);
  font-size: 1rem;
}

/* Form Groups */
.form-group {
  margin-bottom: 2rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.form-group input {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 2px solid var(--border);
  border-radius: 16px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  transition: var(--transition);
  box-sizing: border-box;
  box-shadow: var(--shadow-sm);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(74, 78, 105, 0.1), var(--shadow-md);
  transform: translateY(-2px);
}

.form-group input:not(:placeholder-shown) {
  border-color: var(--primary);
  background: rgba(74, 78, 105, 0.02);
}

/* Recaptcha Container */
.recaptcha-container {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-width: 95vw;
    max-height: 95vh;
    margin: 0.5rem;
  }
  
  #auth-container {
    padding: 2rem 1.5rem 1.5rem;
    max-height: calc(95vh - 4rem);
  }
  
  .auth-step h2 {
    font-size: 1.5rem;
  }
  
  .role-card {
    padding: 1.5rem;
  }
  
  .role-options {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .role-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .role-card h3 {
    font-size: 1.2rem;
  }
  
  .role-card p {
    font-size: 0.9rem;
  }
  
  .role-features li {
    font-size: 0.85rem;
  }
  
  .btn {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }
  
  .form-group input {
    padding: 1rem 1.2rem;
  }
}

/* ===== HERO WITH BACKGROUND IMAGE ===== */
.hero {
  height: 50vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== BOOKING FORM (MATCHES YOUR JPEG) ===== */
.booking-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.map-container {
  display: flex;
  align-items: center;
}

.route-map {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.booking-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary);
}

.form-group select, 
.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #3a506b;
}

/* Responsive */
@media (max-width: 768px) {
  .booking-container {
    grid-template-columns: 1fr;
  }
  
  .hero-overlay {
    padding: 1rem;
  }
}

/* ===== ABOUT PAGE SPECIFIC STYLES ===== */
.about-section {
  padding: 4rem 0;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 800px;
  margin: 0 auto 3rem;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.mission-statement {
  max-width: 800px;
  margin: 4rem auto 0;
  padding: 2rem;
  border-top: 1px solid #eee;
  font-size: 1.1rem;
  color: var(--text);
}

/* ===== PARTNERS PAGE ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.partner-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.partner-card img {
  max-height: 80px;
  margin-bottom: 1rem;
}

.cta-card {
  background: linear-gradient(135deg, var(--primary), #3a506b);
  color: white;
}

/* ===== LIVE ROOMS REFINEMENTS ===== */
.room-card {
  position: relative;
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.active-room {
  border-left: 5px solid #e74c3c;
}

.room-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: #e74c3c;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* ===== LIVE ROOMS SECTION ===== */
.live-rooms-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent);
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Room Cards */
.rooms-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.room-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.room-card.active-room {
  border-left: 5px solid #E74C3C;
}

.room-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #E74C3C;
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

.room-content {
  padding: 1.5rem;
}

.room-card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.room-location {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.room-location::before {
  content: '📍';
  font-size: 1rem;
}

.room-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.viewers, .countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray);
}

/* Buttons */
.btn {
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

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

.btn-primary:hover {
  background: #3A506B;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(74, 78, 105, 0.1);
}

/* CTA Card */
.cta-card {
  background: linear-gradient(135deg, var(--primary), #3A506B);
  color: white;
  text-align: center;
  border: none !important;
}

.cta-card h3 {
  color: white !important;
}

.cta-card .btn {
  background: white;
  color: var(--primary);
  margin-top: 1rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: white;
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: white;
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  line-height: 1.6;
  transition: var(--transition);
}

.footer-section a:hover {
  color: white;
  transform: translateX(5px);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}

/* ===== LOADING STATES ===== */
.loading-placeholder {
  background: linear-gradient(90deg, var(--border) 25%, rgba(225, 229, 233, 0.5) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--border-radius);
  height: 1rem;
  margin-bottom: 0.5rem;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-flex { display: flex; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: 16px; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ===== SHUTTLE SERVICE PAGE STYLES ===== */
.cemetery-info {
  text-align: left;
}

.cemetery-info p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.route-info-section {
  margin-top: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.route-info-section h3 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.route-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--light);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.route-item i {
  color: var(--primary);
  font-size: 1.2rem;
  width: 20px;
}

.route-item span {
  flex: 1;
  font-weight: 500;
}

.route-item strong {
  color: var(--primary);
  font-weight: 600;
}

.booking-section {
  padding: 4rem 0;
  background: var(--light);
}

.estimated-cost {
  background: var(--accent);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}

.cost-breakdown p {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-cost {
  padding-top: 0.5rem;
  border-top: 2px solid var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

.base-rate, .driver-fee, .total-amount {
  font-weight: 600;
  color: var(--primary);
}

/* Mobile responsive for shuttle service */
@media (max-width: 768px) {
  .route-grid {
    grid-template-columns: 1fr;
  }
  
  .route-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .route-item span {
    font-size: 0.95rem;
  }
}

/* ===== ROLE SELECTION STYLES ===== */
.role-options {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin: 25px 0;
  align-items: stretch;
}

.role-option {
  cursor: pointer;
  display: block;
}

.role-option input[type="radio"] {
  display: none;
}

.role-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  padding: 25px 20px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}

.role-option:hover .role-card,
.role-option input[type="radio"]:checked + .role-card {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.role-option input[type="radio"]:checked + .role-card::before {
  transform: scaleX(1);
}

.role-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  transition: var(--transition);
}

.role-icon i {
  font-size: 24px;
  color: var(--white);
}

.role-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 600;
}

.role-card p {
  color: var(--text-light);
  margin: 0 0 15px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.role-features {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  flex-grow: 1;
}

.role-features li {
  padding: 5px 0;
  font-size: 0.85rem;
  color: var(--text-light);
  position: relative;
  padding-left: 20px;
}

.role-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.role-note {
  background: rgba(255, 193, 7, 0.1);
  color: #856404;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.role-note i {
  font-size: 0.8rem;
}

/* Admin role specific styling */
.role-option input[value="admin"] + .role-card .role-note {
  background: rgba(30, 64, 175, 0.1);
  color: #1e3a8a;
}

.role-option input[value="admin"] + .role-card .role-icon {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
}

/* Tablet responsive for role selection */
@media (max-width: 1024px) and (min-width: 769px) {
  .role-options {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
  }
  
  .role-card {
    padding: 15px;
  }
}

/* Medium screen responsive for role selection */
@media (max-width: 900px) and (min-width: 769px) {
  .role-options {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}

/* Mobile responsive for role selection */
@media (max-width: 768px) {
  .role-options {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .role-card {
    padding: 20px;
  }
  
  .role-icon {
    width: 50px;
    height: 50px;
  }
  
  .role-icon i {
    font-size: 20px;
  }
  
  .role-card h3 {
    font-size: 1.1rem;
  }
}

/* Contact Page Styles */
.contact-methods {
  padding: 4rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  place-items: center;
}

.contact-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 350px;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.contact-icon i {
  font-size: 2rem;
  color: white;
}

.contact-content h3 {
  color: #1f2937;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.contact-content p {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-link {
  color: #2c5aa0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-note {
  color: #9ca3af;
  font-size: 0.9rem;
  margin: 0;
}

.contact-address p {
  color: #2c5aa0;
  font-weight: 600;
  margin: 0.25rem 0;
}

.contact-form-section {
  background: #f8fafc;
  padding: 4rem 0;
}

.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.form-content h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #1f2937;
}

.form-content p {
  text-align: center;
  color: #6b7280;
  margin-bottom: 2rem;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #374151;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2c5aa0;
}

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

.office-hours {
  padding: 4rem 0;
  background: white;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.hours-card {
  text-align: center;
  padding: 2rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: border-color 0.3s ease;
}

.hours-card:hover {
  border-color: #2c5aa0;
}

.hours-card h3 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.hours {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c5aa0;
  margin-bottom: 0.5rem;
}

.timezone {
  color: #6b7280;
  font-size: 0.9rem;
}

/* Services Page Styles */
.services-overview {
  padding: 4rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-card.featured {
  border-color: #2c5aa0;
  position: relative;
}

.service-card.featured::before {
  content: "Featured";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #2c5aa0;
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-content h3 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-content p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: #374151;
}

.service-features i {
  color: #10b981;
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.service-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.service-process {
  background: #f8fafc;
  padding: 4rem 0;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 4rem 0;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.step-content p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.step-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.why-choose-us {
  padding: 4rem 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
}

.feature-card i {
  font-size: 3rem;
  color: #2c5aa0;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* FAQ Page Styles */
.faq-search {
  padding: 2rem 0;
  background: #f8fafc;
}

.search-wrapper {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.faq-search-input:focus {
  outline: none;
  border-color: #2c5aa0;
}

.faq-search-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: #2c5aa0;
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
}

.faq-categories {
  padding: 4rem 0;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.category-tab {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e5e7eb;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.category-tab:hover {
  border-color: #2c5aa0;
  color: #2c5aa0;
}

.category-tab.active {
  background: #2c5aa0;
  color: white;
  border-color: #2c5aa0;
}

.faq-section {
  display: none;
  max-width: 800px;
  margin: 0 auto;
}

.faq-section.active {
  display: block;
}

.faq-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question h3 {
  margin: 0;
  color: #1f2937;
  font-size: 1.1rem;
}

.faq-question i {
  color: #6b7280;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #6b7280;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.still-have-questions {
  background: #f8fafc;
  padding: 4rem 0;
  text-align: center;
}

.questions-content h2 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.questions-content p {
  color: #6b7280;
  margin-bottom: 2rem;
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Support Page Styles */
.support-options {
  padding: 4rem 0;
  width: 100%;
}

.support-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  width: 100%;
  justify-content: center;
}

.support-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  flex: 1 1 300px;
  max-width: 400px;
  min-width: 300px;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.support-card.featured {
  border-color: #2c5aa0;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.support-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.support-icon i {
  font-size: 2rem;
  color: white;
}

.support-content h3 {
  color: #1f2937;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.support-content p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.support-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.support-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: #374151;
}

.support-features i {
  color: #10b981;
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.help-resources {
  background: #f8fafc;
  padding: 4rem 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.resource-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-card i {
  font-size: 3rem;
  color: #2c5aa0;
  margin-bottom: 1rem;
}

.resource-card h3 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.resource-card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-info-section {
  padding: 4rem 0;
  background: white;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.contact-info-card:hover {
  border-color: #2c5aa0;
}

.contact-info-card .contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1rem 0 0;
  flex-shrink: 0;
}

.contact-info-card .contact-icon i {
  font-size: 1.5rem;
  color: white;
}

.contact-details h3 {
  color: #1f2937;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-details a {
  color: #2c5aa0;
  text-decoration: none;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-details p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
}

.support-form-section {
  background: #f8fafc;
  padding: 4rem 0;
}

.support-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.support-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.support-form .form-group.has-error input,
.support-form .form-group.has-error select,
.support-form .form-group.has-error textarea {
  border-color: #dc2626;
}

.support-form .form-group.has-error label {
  color: #dc2626;
}

.support-form .form-group.has-error::after {
  content: 'This field is required';
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

.emergency-support {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  padding: 4rem 0;
}

.emergency-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.emergency-icon {
  font-size: 4rem;
  flex-shrink: 0;
}

.emergency-text h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.emergency-text p {
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.emergency-contacts {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-emergency {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-emergency:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.5);
  color: white;
  text-decoration: none;
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    place-items: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  
  .support-grid {
    flex-direction: column;
    align-items: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .category-tabs {
    flex-direction: column;
    align-items: center;
  }

  .emergency-content {
    flex-direction: column;
    text-align: center;
  }

  .emergency-contacts {
    justify-content: center;
  }

  .contact-info-card {
    flex-direction: column;
    text-align: center;
  }

  .contact-info-card .contact-icon {
    margin: 0 0 1rem 0;
  }

  .support-card {
    padding: 1.5rem;
  }

  .support-icon {
    width: 60px;
    height: 60px;
  }

  .support-icon i {
    font-size: 1.5rem;
  }

  .resource-card {
    padding: 1.5rem;
  }

  .resource-card i {
    font-size: 2.5rem;
  }

  .step {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .step-number {
    margin: 0 auto;
  }

  .step-actions {
    justify-content: center;
  }
}

/* Cemetery Locator Styles */
.search-container {
  text-align: left;
  margin: 4rem 0;
  padding: 0 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.search-container h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
}

.search-container .search-description {
  float: left;
  width: 50%;
  padding-right: 3rem;
  margin-top: 1rem;
}

.search-container .search-description p {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Clearfix for search container */
.search-container::after {
  content: "";
  display: table;
  clear: both;
}

.results-header {
  text-align: center;
  margin: 3rem 0 2rem 0;
  padding: 0 1rem;
}

.results-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
}

.results-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.5;
}

.cemetery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.cemetery-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}

.cemetery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.cemetery-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, #667eea 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cemetery-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.cemetery-image::after {
  content: '🏛️';
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
}

.cemetery-info {
  padding: 1.5rem;
}

.cemetery-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
}

.cemetery-location {
  color: var(--text-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.cemetery-location i {
  color: var(--primary);
  font-size: 1rem;
}

.cemetery-type {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(102, 126, 234, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.cemetery-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  background: linear-gradient(135deg, var(--primary) 0%, #667eea 100%);
  color: white;
  padding: 6px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.cemetery-actions {
  display: flex;
  gap: 0.75rem;
}

.cemetery-actions .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cemetery-actions .btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.cemetery-actions .btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.cemetery-actions .btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #667eea 100%);
  border: none;
  color: white;
}

.cemetery-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin: 4rem 0;
}

.feature-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, #667eea 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-weight: 600;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #667eea 100%);
  padding: 5rem 0;
  color: white;
  text-align: center;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
  background: white;
  color: var(--primary);
  border: none;
}

.cta-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.cta-buttons .btn-outline:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
}

/* Form row for side-by-side inputs */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Improve search container styling */
.search-container .form-container {
  max-width: 500px;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  float: right;
  width: 45%;
}

.search-container .form-group:last-child {
  margin-bottom: 0;
}

.search-container .btn-block {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Fix text overflow issues */
.search-container h2,
.results-header h2 {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.search-container p,
.results-header p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.6;
}

/* Ensure form inputs don't overflow */
.form-group input,
.form-group select {
  width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Fix dropdown text overflow */
.form-group select option {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Responsive Design for Cemetery Locator */
@media (max-width: 768px) {
  .search-container {
    padding: 0 1rem;
    text-align: center;
  }
  
  .search-container h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    text-align: center;
  }
  
  .search-container .search-description {
    float: none;
    width: 100%;
    padding-right: 0;
    margin-top: 1rem;
    text-align: center;
  }
  
  .search-container .search-description p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
  }
  
  .search-container .form-container {
    float: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
  }
  
  .results-header {
    padding: 0 0.5rem;
  }
  
  .results-header h2 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .results-header p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .cemetery-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 0.5rem;
  }
  
  .cemetery-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .cemetery-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 0.5rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .cta-content h2 {
    font-size: 2.5rem;
  }
  
  .cta-content p {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .search-container {
    padding: 0 0.5rem;
  }
  
  .search-container h2 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .search-container .search-description p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .search-container .form-container {
    padding: 1.5rem;
    margin: 0;
  }
  
  .results-header {
    padding: 0 0.25rem;
  }
  
  .results-header h2 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .results-header p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .cemetery-grid {
    padding: 0 0.25rem;
  }
  
  .cemetery-info {
    padding: 1rem;
  }
  
  .cemetery-info h3 {
    font-size: 1.2rem;
  }
  
  .cemetery-features {
    gap: 0.4rem;
  }
  
  .feature-tag {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
  
  .features-grid {
    padding: 0 0.25rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
}

/* ===== VENDOR SERVICES SECTION ===== */
.vendor-services-section {
  padding: 4rem 0;
  background: var(--light);
}

.services-booking-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.services-listing {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.services-header h3 {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.services-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  background: var(--white);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-select:hover {
  border-color: var(--primary);
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(74, 78, 105, 0.1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 0;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.service-category {
  display: flex;
  align-items: center;
}

.category-badge {
  background: var(--accent);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.service-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.service-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.provider-info,
.availability-info,
.duration-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.provider-info i,
.availability-info i,
.duration-info i {
  color: var(--primary);
  width: 16px;
}

.service-price {
  margin-bottom: 1.5rem;
}

.service-price .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.service-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.service-actions .btn {
  flex: 1;
  min-width: 120px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.loading-state,
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-light);
}

.loading-state i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.empty-state i {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.error-state {
  text-align: center;
  padding: 2rem;
  color: var(--danger);
  background: rgba(220, 53, 69, 0.1);
  border-radius: var(--border-radius);
  border: 1px solid rgba(220, 53, 69, 0.2);
}



/* Mobile Responsive */
@media (max-width: 768px) {
  .vendor-services-section {
    padding: 2rem 0;
  }
  
  .services-booking-container {
    padding: 0 1rem;
  }
  
  .services-listing {
    padding: 1.25rem;
    border-radius: 12px;
  }
  
  .services-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .services-header h3 {
    font-size: 1.25rem;
  }
  
  .services-filters {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  
  .filter-select {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 8px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .service-card {
    margin-bottom: 0;
    border-radius: 12px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  .service-card:active {
    transform: scale(0.98);
  }
  
  .service-header {
    padding: 1rem 1rem 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .service-content {
    padding: 1rem;
  }
  
  .service-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .service-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .service-details {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .provider-info,
  .availability-info,
  .duration-info {
    font-size: 0.85rem;
    gap: 0.375rem;
  }
  
  .service-price {
    margin-bottom: 1rem;
  }
  
  .service-price .price {
    font-size: 1.25rem;
  }
  
  .service-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .service-actions .btn {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  .loading-state,
  .empty-state {
    padding: 2rem 1rem;
  }
  
  .loading-state i {
    font-size: 1.75rem;
  }
  
  .empty-state i {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .category-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .vendor-services-section {
    padding: 1.5rem 0;
  }
  
  .services-booking-container {
    padding: 0 0.75rem;
  }
  
  .services-listing {
    padding: 1rem;
  }
  
  .services-header h3 {
    font-size: 1.2rem;
  }
  
  .filter-select {
    padding: 0.625rem;
    font-size: 0.9rem;
  }
  
  .service-content {
    padding: 0.875rem;
  }
  
  .service-content h3 {
    font-size: 1.1rem;
  }
  
  .service-price .price {
    font-size: 1.2rem;
  }
  
  .service-actions .btn {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
}

/* ===== NOTIFICATION STYLES ===== */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  max-width: 400px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease-out;
  font-family: 'Poppins', sans-serif;
}

.notification.success {
  background: linear-gradient(135deg, var(--success), #218838);
  color: var(--white);
  border: 1px solid #218838;
}

.notification.error {
  background: linear-gradient(135deg, var(--danger), #c82333);
  color: var(--white);
  border: 1px solid #c82333;
}

.notification.info {
  background: linear-gradient(135deg, var(--info), #138496);
  color: var(--white);
  border: 1px solid #138496;
}

.notification-content {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notification-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.125rem;
  cursor: pointer;
  margin-left: 0.75rem;
  opacity: 0.8;
  transition: var(--transition);
  padding: 0.25rem;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

/* Enhanced Success Notification */
.notification.enhanced-success {
  max-width: 500px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 2px solid var(--primary-dark);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(74, 78, 105, 0.2);
}

.notification.enhanced-success .notification-content {
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.success-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.success-header i {
  font-size: 1.5rem;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-details {
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin: 0.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.success-details p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--white);
}

.success-details strong {
  color: var(--accent);
  font-weight: 600;
}

.status-pending {
  background: var(--secondary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-left: 0.5rem;
}

.success-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.success-actions .btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

.success-actions .btn-primary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.success-actions .btn-primary:hover {
  background: #8a7c88;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.success-actions .btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.success-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Mobile responsive for notifications */
@media (max-width: 768px) {
  .notification {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
    margin: 0 0.5rem;
  }
  
  .notification.enhanced-success {
    max-width: none;
  }
  
  .notification-content {
    padding: 1rem;
  }
  
  .success-header {
    font-size: 1.125rem;
  }
  
  .success-header i {
    font-size: 1.25rem;
    width: 2rem;
    height: 2rem;
  }
  
  .success-details {
    padding: 0.875rem;
  }
  
  .success-details p {
    font-size: 0.875rem;
  }
  
  .success-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .success-actions .btn {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .notification {
    top: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
    margin: 0 0.25rem;
  }
  
  .notification-content {
    padding: 0.875rem;
  }
  
  .success-header {
    font-size: 1rem;
  }
  
  .success-details {
    padding: 0.75rem;
  }
  
  .success-actions .btn {
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
  }
}

/* ===== BOOKING HISTORY SECTION ===== */
.booking-history-section {
  padding: 4rem 0;
  background: var(--light);
}

.booking-history-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.booking-history-listing {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.booking-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.booking-history-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.booking-history-header h3 i {
  color: var(--primary);
}

.booking-history-list {
  padding: 0;
}

.booking-history-item {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.booking-history-item:last-child {
  border-bottom: none;
}

.booking-history-item:hover {
  background: rgba(74, 78, 105, 0.02);
}

.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.booking-header h4 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

.booking-status {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.booking-status.pending {
  background: rgba(255, 193, 7, 0.1);
  color: #856404;
}

.booking-status.confirmed {
  background: rgba(40, 167, 69, 0.1);
  color: #155724;
}

.booking-status.completed {
  background: rgba(23, 162, 184, 0.1);
  color: #0c5460;
}

.booking-status.cancelled {
  background: rgba(220, 53, 69, 0.1);
  color: #721c24;
}

.booking-status.in-progress {
  background: rgba(74, 78, 105, 0.1);
  color: var(--primary);
}

.booking-details {
  margin-bottom: 1rem;
}

.booking-details p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.booking-details p i {
  width: 1rem;
  color: var(--primary);
  font-size: 0.875rem;
}

.booking-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.booking-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  font-weight: 500;
}

.booking-actions .btn-small {
  padding: 0.375rem 0.75rem;
  font-size: 0.8rem;
}

.booking-actions .btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.booking-actions .btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Mobile responsive for booking history */
@media (max-width: 768px) {
  .booking-history-section {
    padding: 2rem 0;
  }
  
  .booking-history-container {
    padding: 0 1rem;
  }
  
  .booking-history-header {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .booking-history-header h3 {
    font-size: 1.125rem;
  }
  
  .booking-history-item {
    padding: 1rem 1.5rem;
  }
  
  .booking-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .booking-actions {
    flex-direction: column;
  }
  
  .booking-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .booking-history-container {
    padding: 0 0.75rem;
  }
  
  .booking-history-header {
    padding: 0.875rem 1rem;
  }
  
  .booking-history-item {
    padding: 0.875rem 1rem;
  }
  
  .booking-header h4 {
    font-size: 1rem;
  }
  
  .booking-details p {
    font-size: 0.875rem;
  }
}