/**
 * variables.css
 * Global design tokens matching the Air Flow premium HVAC corporate style.
 */
:root {
  /* Colors */
  --color-primary: #0E2A47;
  --color-primary-light: #163B60;
  --color-primary-dark: #081B2E;
  
  --color-accent: #4B89A8;
  --color-accent-light: #6FA5C1;
  --color-accent-dark: #376F8C;
  
  --color-bg-white: #FFFFFF;
  --color-bg-light: #F6F8FB;
  --color-bg-card: #FFFFFF;
  
  --color-text-dark: #14212E;
  --color-text-gray: #667085;
  --color-text-light: #98A2B3;
  --color-text-muted: #B3BAC5;
  
  --color-border: #E5E7EB;
  --color-border-dark: #D1D5DB;
  
  --color-success: #1CA97A;
  --color-warning: #F2A93B;
  --color-danger: #E3564B;
  --color-info: #3B82F6;

  /* Typography */
  --font-heading: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', 'Poppins', sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 72px;
  --space-3xl: 100px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(14, 42, 71, 0.05);
  --shadow-md: 0 8px 24px rgba(14, 42, 71, 0.07);
  --shadow-lg: 0 16px 48px rgba(14, 42, 71, 0.12);
  --shadow-accent: 0 12px 32px rgba(75, 137, 168, 0.2);

  /* Layout */
  --container-max: 1240px;
  --navbar-height: 84px;
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-out;
}
/**
 * base.css
 * Core HTML style resets, layout system, and typography.
 */

@import url('./loading.css');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: thin;
  scrollbar-color: var(--color-text-light) var(--color-bg-light);
}

/* Custom Premium Global Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--color-text-light);
  border-radius: 4px;
  border: 2px solid var(--color-bg-light);
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  overflow-x: hidden;
}

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }

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

a:hover {
  color: var(--color-accent-dark);
}

p {
  color: var(--color-text-gray);
  margin-bottom: var(--space-sm);
}

/* Layout Elements */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-2xl) 0;
  position: relative;
}

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

/* Eyebrows, Titles, Subtitles */
.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: var(--space-xs);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-gray);
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Form controls reset */
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* Image styling */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

/* Grid & Flex Utilities */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

.flex {
  display: flex;
  gap: var(--space-md);
}

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

/* Margin and padding utilities */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ==================== MAIN CONTENT WRAPPER ==================== */
/* Outer shell for ng-view; min-height ensures footer stays at bottom */
.main-content-wrapper {
  min-height: 100vh;
  position: relative;
}

/* Admin panel: no navbar present at all â€” sidebar handles layout */
.main-content-wrapper.admin-body {
  padding-top: 0;
  background-color: var(--color-bg-light);
}
/**
 * components.css
 * Styled components for buttons, cards, forms, navbar, footer, modals, FAQs.
 */

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-base);
  gap: 8px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.875rem;
}

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

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

.btn[disabled],
.btn[disabled]:hover {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: auto; /* allow :hover for the title tooltip */
  transform: none !important;
  box-shadow: none !important;
  filter: grayscale(30%);
}

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

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

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

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

.btn-outline-white {
  background-color: transparent;
  border-color: var(--color-bg-white);
  color: var(--color-bg-white);
}

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

.btn-block {
  display: flex;
  width: 100%;
}

.btn:disabled {
  background-color: var(--color-text-muted);
  border-color: var(--color-text-muted);
  color: var(--color-bg-light);
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background-color: transparent;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition-base);
}

.navbar--solid,
.navbar.is-scrolled {
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
  height: 74px;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Align links to right */
  gap: var(--space-xl);
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto; /* Push links to right */
}

.navbar__logo-icon {
  color: var(--color-accent);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.navbar__link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text-dark);
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}

.navbar__link:hover,
.navbar__link.is-active {
  color: var(--color-accent);
}

.navbar__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-fast);
}

.navbar__link:hover::after,
.navbar__link.is-active::after {
  width: 100%;
}

.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-bg-white);
  min-width: 200px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-base);
}

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

.navbar__dropdown-item {
  display: block;
  padding: 8px 16px;
  color: var(--color-text-dark);
  font-size: 0.9rem;
  font-weight: 500;
}

.navbar__dropdown-item:hover {
  background-color: var(--color-bg-light);
  color: var(--color-accent);
}

.navbar__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
}

/* Mobile Menu overlays */
.navbar__mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 42, 71, 0.4);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.navbar__mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.navbar__mobile-panel {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-lg);
  z-index: 1002;
  padding: var(--space-xl) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: var(--transition-base);
}

.navbar__mobile-panel.is-open {
  right: 0;
}

.navbar__mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-text-dark);
  cursor: pointer;
}

.navbar__mobile-link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar__mobile-panel.is-open .navbar__mobile-link {
  opacity: 1;
  transform: translateX(0);
}

.navbar__mobile-panel.is-open .navbar__mobile-link:nth-of-type(1) { transition-delay: 0.1s; }
.navbar__mobile-panel.is-open .navbar__mobile-link:nth-of-type(2) { transition-delay: 0.15s; }
.navbar__mobile-panel.is-open .navbar__mobile-link:nth-of-type(3) { transition-delay: 0.2s; }
.navbar__mobile-panel.is-open .navbar__mobile-link:nth-of-type(4) { transition-delay: 0.25s; }
.navbar__mobile-panel.is-open .navbar__mobile-link:nth-of-type(5) { transition-delay: 0.3s; }

.navbar__mobile-panel .btn-primary {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar__mobile-panel.is-open .btn-primary {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: var(--color-primary-dark);
  color: var(--color-bg-white);
  padding: var(--space-2xl) 0 var(--space-md) 0;
  border-top: 4px solid var(--color-accent);
}

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

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-bg-white);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.footer__logo-icon {
  color: var(--color-accent-light);
}

.footer__social {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.footer__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-bg-white);
  transition: var(--transition-fast);
}

.footer__social-icon:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
}

.footer h4 {
  color: var(--color-bg-white);
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: 8px;
}

.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer__link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.footer__link:hover {
  color: var(--color-accent-light);
  padding-left: 5px;
}

.footer__newsletter-form {
  display: flex;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: var(--space-sm);
}

.footer__newsletter-form input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-bg-white);
}

.footer__newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer__newsletter-form button {
  background-color: var(--color-accent);
  color: var(--color-bg-white);
  border: none;
  padding: 0 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.footer__newsletter-form button:hover {
  background-color: var(--color-accent-dark);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer__contact-item i {
  color: var(--color-accent-light);
  width: 16px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer__bottom-links a {
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom-links a:hover {
  color: var(--color-accent-light);
}

/* ==================== CARDS ==================== */
.card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition-base);
}

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

/* Service Card style (matches references) */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card__body {
  padding: var(--space-md);
  flex-grow: 1;
}

.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background-color: rgba(75, 137, 168, 0.08);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.service-card__icon i {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-card__icon {
  background-color: var(--color-accent);
  color: #FFFFFF;
  transform: scale(1.06);
}

.service-card:hover .service-card__icon i {
  transform: scale(1.15) rotate(12deg);
}

.service-card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}

.service-card__text {
  font-size: 0.925rem;
  color: var(--color-text-gray);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.service-card__link {
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.service-card__link i {
  transition: var(--transition-fast);
}

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

.service-card__link:hover i {
  transform: translateX(4px);
}

/* Testimonial / Review Card */
.testimonial-card {
  padding: var(--space-lg);
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

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

.testimonial-card__quote-icon {
  font-size: 2.2rem;
  color: rgba(75, 137, 168, 0.15);
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.4s ease;
}

.testimonial-card:hover .testimonial-card__quote-icon {
  transform: scale(1.15) rotate(-10deg);
  color: rgba(75, 137, 168, 0.35);
}

.testimonial-card__quote {
  font-size: 0.95rem;
  color: var(--color-text-dark);
  font-style: italic;
  line-height: 1.6;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.testimonial-card__city {
  font-size: 0.8rem;
  color: var(--color-text-gray);
}

/* Blog Card */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card__media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: var(--transition-base);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.05);
}

.blog-card__category {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--color-accent);
  color: var(--color-bg-white);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.blog-card__body {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--color-text-light);
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.blog-card__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__text {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-accent);
}

/* ==================== FORMS ==================== */
.form-group {
  margin-bottom: var(--space-md);
}

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-accent);
  background-color: var(--color-bg-white);
  box-shadow: 0 0 0 3px rgba(75, 137, 168, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* ==================== BOOKING STEPS ==================== */
.booking-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-bg-light);
  border: 2px solid var(--color-border);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-base);
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-top: 6px;
  text-align: center;
  transition: color 0.4s ease;
}

.step-line {
  position: absolute;
  top: 18px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  background-color: var(--color-border);
  z-index: 1;
  transition: background-color 0.4s ease;
}

.step-item:last-child .step-line {
  display: none;
}

.step-item.is-active .step-dot {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg-white);
  box-shadow: var(--shadow-accent);
}

.step-item.is-active .step-label {
  color: var(--color-accent);
}

.step-item.is-active .step-line {
  background-color: var(--color-accent);
}

.step-item.is-completed .step-dot {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-bg-white);
}

.step-item.is-completed .step-label {
  color: var(--color-primary);
}

.step-item.is-completed .step-line {
  background-color: var(--color-primary);
}

/* ==================== FAQ ACCORDION ==================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-question {
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question i {
  color: var(--color-accent);
  transition: var(--transition-base);
}

.faq-item.is-open {
  background-color: var(--color-bg-white);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

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

.faq-answer {
  padding: 0 24px 18px 24px;
  color: var(--color-text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==================== MODAL ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 42, 71, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

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

.modal-content {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  width: 90%;
  overflow: hidden;
  transform: translateY(-20px);
  transition: var(--transition-base);
}

.modal-overlay.is-open .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-bg-light);
}

.modal-header h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--color-text-light);
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-danger);
}

.modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ==================== TOASTS ==================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 12px 24px;
  background-color: var(--color-primary-dark);
  color: var(--color-bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.is-show {
  transform: translateY(0);
  opacity: 1;
}

.toast--success {
  border-left: 4px solid var(--color-success);
}
.toast--error {
  border-left: 4px solid var(--color-danger);
}
.toast--info {
  border-left: 4px solid var(--color-info);
}

/* ==================== STAR RATING ==================== */
.star-rating {
  display: inline-flex;
  gap: 4px;
}

.star-rating i {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.star-rating i.filled {
  color: var(--color-warning);
}

.star-rating--interactive i {
  font-size: 1.5rem;
  cursor: pointer;
}



/* ==================== LOADER ==================== */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* ==================== BREADCRUMBS ==================== */
.breadcrumbs-bar {
  background-color: var(--color-bg-light);
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-gray);
}

.breadcrumbs a {
  color: var(--color-text-gray);
}

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

.breadcrumbs i {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.breadcrumbs span {
  color: var(--color-primary);
  font-weight: 500;
}

/* ==================== PAGE NOT FOUND / 404 ==================== */
.notfound-container {
  padding: var(--space-3xl) 0;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.notfound-code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

/* ==================== REVIEWS AUTO SCROLLER ==================== */
.reviews-scroller-container {
  overflow-x: auto;
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-md) var(--space-xs) var(--space-lg) var(--space-xs);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.reviews-scroller-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari, Opera */
}

.reviews-scroller-track {
  display: flex;
  gap: var(--space-lg);
  flex-shrink: 0;
}

.reviews-scroller-track af-review-card,
.reviews-scroller-track .testimonial-card {
  flex: 0 0 350px;
  max-width: 350px;
}

/* For small mobile screens, shrink the card width slightly to fit better */
@media (max-width: 480px) {
  .reviews-scroller-track af-review-card,
  .reviews-scroller-track .testimonial-card {
    flex: 0 0 280px;
    max-width: 280px;
  }
}

/* ==================== EMERGENCY TICKETING SECTION ==================== */
.emergency-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.emergency-form {
  display: flex;
  align-items: stretch; /* Vertically align top/bottom edges of input & button */
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 450px;
}

.emergency-form input {
  flex: 1 1 200px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: none;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 600;
  height: 48px;
}

.emergency-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.emergency-form button {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .emergency-bar {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .emergency-bar > div {
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .emergency-form {
    flex-direction: column;
    align-items: stretch;
  }

  .emergency-form input {
    width: 100% !important;
    flex: 1 1 auto;
  }

  .emergency-form button {
    width: 100% !important;
  }
}

/* ==================== PREMIUM HERO SECTION ==================== */
.premium-hero {
  position: relative;
  background-color: #f8fafc;
  padding: 120px 0 100px 0;
  overflow: hidden;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.premium-hero .container {
  max-width: 1400px !important;
  padding: 0 40px;
}

.premium-hero__bg-wave {
  position: absolute;
  top: 0;
  left: 0%;
  width: 50%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.62;
}

.premium-hero__content-wrapper {
  width: 48%;
  position: relative;
  z-index: 5;
}

.premium-hero__pill {
  display: inline-block;
  background-color: rgba(74, 124, 157, 0.08);
  border: 1px solid rgba(74, 124, 157, 0.18);
  color: #3b6e8c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.premium-hero__title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #0f2042;
  margin: 0 0 20px 0;
}

.premium-hero__title-accent {
  color: #3b6e8c;
}

.premium-hero__desc {
  font-size: 1.15rem;
  color: var(--color-text-gray);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.premium-hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.premium-hero__btn-primary {
  background-color: #0f2042 !important;
  color: #ffffff !important;
  border: 1px solid #0f2042 !important;
  border-radius: 8px !important;
  padding: 14px 28px !important;
  font-weight: 600 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-base);
}

.premium-hero__btn-primary:hover {
  background-color: #1a3464 !important;
  border-color: #1a3464 !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.premium-hero__btn-secondary {
  background-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-primary);
  border: 1px solid rgba(10, 25, 47, 0.15);
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(10, 25, 47, 0.03);
}

.premium-hero__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.75);
  border-color: rgba(10, 25, 47, 0.3);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 25, 47, 0.08);
}

.premium-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  z-index: 2;
  display: block;
}

.premium-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  position: relative;
}

.premium-hero__image-fade-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      #f8fafc 0%,
      rgba(248, 250, 252, 0.98) 12%,
      rgba(248, 250, 252, 0.7) 35%,
      rgba(248, 250, 252, 0) 65%
    ),
    linear-gradient(
      to bottom,
      #f8fafc 0%,
      rgba(248, 250, 252, 0) 15%,
      rgba(248, 250, 252, 0) 85%,
      #f8fafc 100%
    );
}

.premium-hero__floating-card {
  position: absolute;
  bottom: 60px;
  right: 80px;
  width: 280px;
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(14, 25, 47, 0.08);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  z-index: 10;
}

.premium-hero__floating-icon {
  font-size: 2rem;
  color: #3b6e8c;
  margin-top: 4px;
}

.premium-hero__floating-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f2042;
  margin: 0 0 2px 0;
}

.premium-hero__floating-number {
  font-size: 2rem;
  font-weight: 800;
  color: #3b6e8c;
  display: block;
  line-height: 1.1;
  margin-bottom: 2px;
}

.premium-hero__floating-sub {
  font-size: 0.78rem;
  color: var(--color-text-gray);
  font-weight: 500;
  display: block;
}

.premium-hero__floating-clock-btn {
  background-color: rgba(14, 25, 47, 0.04);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0f2042;
  font-size: 1.05rem;
}

.premium-hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  background-color: #ffffff;
  border: 1px solid rgba(14, 25, 47, 0.06);
  padding: 14px 28px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(14, 25, 47, 0.04);
  margin-top: 10px;
}

.premium-hero .desktop-only {
  display: inline-flex !important;
}

.premium-hero .mobile-only {
  display: none !important;
}

.premium-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #0f2042;
}

.premium-hero__trust-icon {
  color: #3b6e8c;
  font-size: 1.1rem;
}

@media (max-width: 991px) {
  .premium-hero {
    min-height: auto;
    padding: 130px 0 80px 0;
  }
  .premium-hero__content-wrapper {
    width: 50%;
  }
  .premium-hero__media {
    width: 48%;
  }
  .premium-hero__title {
    font-size: 3.5rem;
  }
  .premium-hero__floating-card {
    right: 40px;
    bottom: 40px;
  }
}

@media (max-width: 768px) {
  .premium-hero {
    display: flex;
    flex-direction: column;
    padding: 75px 0 40px 0;
    min-height: auto;
  }

  .premium-hero__bg-wave {
    width: 100%;
  }

  .premium-hero .container {
    padding: 0 20px;
    order: 1;
  }

  .premium-hero .desktop-only {
    display: none !important;
  }

  .premium-hero .mobile-only {
    display: flex !important;
  }

  .premium-hero__content-wrapper {
    width: 100%;
  }

  .premium-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .premium-hero__title {
    font-size: 2.8rem;
    text-align: left;
    margin-bottom: 16px;
  }

  .premium-hero__desc {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    font-size: 1.05rem;
    margin-bottom: 24px;
  }

  .premium-hero__actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 0 24px 0;
  }

  .premium-hero__btn-primary,
  .premium-hero__btn-secondary {
    width: 100% !important;
    justify-content: flex-start !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .premium-hero__btn-primary i,
  .premium-hero__btn-secondary i {
    margin-left: auto !important;
  }

  .premium-hero__media {
    position: relative;
    width: 100%;
    height: 440px;
    margin-top: -120px;
    order: 2;
    z-index: 2;
  }

  .premium-hero__image {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .premium-hero__image-fade-overlay {
    background:
      linear-gradient(
        to bottom,
        #f8fafc 0%,
        rgba(248, 250, 252, 0) 15%,
        rgba(248, 250, 252, 0) 80%,
        #f8fafc 100%
      ),
      linear-gradient(
        to right,
        #f8fafc 0%,
        rgba(248, 250, 252, 0) 8%,
        rgba(248, 250, 252, 0) 92%,
        #f8fafc 100%
      );
  }

  .premium-hero__floating-card {
    display: none !important;
  }

  .premium-hero__trust {
    flex-direction: column;
    gap: 14px;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(14, 25, 47, 0.06);
    width: calc(100% - 40px);
    margin: -50px auto 0 auto;
    align-items: flex-start;
    border: 1px solid rgba(14, 25, 47, 0.05);
    position: relative;
    z-index: 10;
    order: 3;
    max-width: 400px;
  }

  .premium-hero__trust-item {
    border-bottom: 1px solid rgba(14, 25, 47, 0.05);
    padding-bottom: 12px;
    width: 100%;
    align-items: center;
    display: flex;
    gap: 12px;
  }

  .premium-hero__trust-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}
/**
 * animations.css
 * Transition animations, keyframes, hover lifts, zoom effects, and micro-interactions.
 */

/* ==================== PAGE TRANSITIONS (ngAnimate support) ==================== */
.page-transition {
  position: relative;
  min-height: calc(100vh - var(--navbar-height));
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.page-transition.ng-enter {
  opacity: 0;
  transform: translateY(12px);
}

.page-transition.ng-enter-active {
  opacity: 1;
  transform: translateY(0);
}

.page-transition.ng-leave {
  opacity: 1;
  transform: translateY(0);
}

.page-transition.ng-leave-active {
  opacity: 0;
  transform: translateY(-12px);
  position: absolute;
  width: 100%;
}


/* ==================== ENTRANCE ANIMATIONS ==================== */
.fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-up {
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scale-in {
  animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

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

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


/* ==================== HOVER EFFECTS ==================== */
/* Lift and Shadow */
.hover-lift {
  transition: var(--transition-base);
}

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

/* Image Zoom */
.img-zoom {
  overflow: hidden;
  position: relative;
}

.img-zoom img {
  transition: transform 0.5s ease;
}

.img-zoom:hover img {
  transform: scale(1.05);
}

/* Card image hover zoom */
.card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover img {
  transform: scale(1.04);
}


/* ==================== FLOATING ELEMENTS ==================== */
/* Soft floating card animation for Hero sections */
.float-element {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}


/* Pulse Glow for emergency button / critical features */
.pulse-glow {
  box-shadow: 0 0 0 0 rgba(75, 137, 168, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(75, 137, 168, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(75, 137, 168, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(75, 137, 168, 0);
  }
}


/* ==================== STAT COUNT ANIMATION IN PROGRESS ==================== */
.stat-counter-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--color-accent-light);
  line-height: 1;
}


/* ==================== UTILITY ANIMATION CLASSES ==================== */
.animate-pulse {
  animation: logoPulse 2.5s ease-in-out infinite;
}

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

.animate-spin {
  animation: spinIcon 1s linear infinite;
}

@keyframes spinIcon {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


/* ==================== LOADER SPINNER ==================== */
.loader-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spinIcon 0.8s linear infinite;
}


/* ==================== MODAL ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(14, 42, 71, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: var(--space-md);
}

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

.modal-content {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.is-open .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background-color: var(--color-bg-white);
  z-index: 1;
}

.modal-header h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--color-text-gray);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-danger);
}

.modal-body {
  padding: var(--space-lg);
}


/* ==================== TOAST NOTIFICATIONS ==================== */
.toast-container {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-md);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  pointer-events: none;
}

.toast-item {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: all;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 340px;
}

.toast-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.toast-item--success { background-color: var(--color-success); }
.toast-item--error   { background-color: var(--color-danger); }
.toast-item--info    { background-color: var(--color-info); }

/* ==================== STAGGERED ENTRANCE FOR GRID ITEMS ==================== */
.af-reveal > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.af-reveal.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

.af-reveal.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.af-reveal.in-view > *:nth-child(2) { transition-delay: 0.15s; }
.af-reveal.in-view > *:nth-child(3) { transition-delay: 0.25s; }
.af-reveal.in-view > *:nth-child(4) { transition-delay: 0.35s; }
.af-reveal.in-view > *:nth-child(5) { transition-delay: 0.45s; }
.af-reveal.in-view > *:nth-child(6) { transition-delay: 0.55s; }
.af-reveal.in-view > *:nth-child(7) { transition-delay: 0.65s; }
.af-reveal.in-view > *:nth-child(8) { transition-delay: 0.75s; }
.af-reveal.in-view > *:nth-child(9) { transition-delay: 0.85s; }


/**
 * responsive.css
 * Media queries for tablets, mobiles, and large screens.
 */

/* ==================== TABLETS & SMALL DESKTOPS (1024px and below) ==================== */
@media (max-width: 1024px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }

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

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

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

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

  .admin-charts-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-profile-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ==================== TABLETS & MOBILE NAVIGATION (960px and below) ==================== */
@media (max-width: 960px) {
  :root {
    --navbar-height: 72px;
  }

  .navbar__links {
    display: none !important;
  }
  #navbar-book-desktop {
    display: none !important;
  }
  .navbar__toggle {
    display: block !important;
  }
}

/* ==================== MOBILES & PORTRAIT TABLETS (768px and below) ==================== */
@media (max-width: 768px) {
  :root {
    --navbar-height: 70px;
    --space-2xl: var(--space-xl);
    --space-3xl: 60px;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.4rem; }

  section {
    padding: var(--space-xl) 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

  /* Grid layouts */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Hero Section Mobile Grid layout */
  .hero-section__grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg);
    text-align: center;
  }

  .hero-section__content {
    order: 1;
  }

  .hero-section__media {
    order: 2;
    max-width: 450px;
    margin: 0 auto;
  }

  .hero-section__actions {
    justify-content: center;
    flex-direction: column;
    gap: var(--space-xs);
  }

  .hero-section__trust {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
  }

  .hero-section__floating-card {
    right: 10px !important;
    bottom: 10px !important;
  }

  /* Service Detail Grid overrides */
  .service-detail__grid {
    grid-template-columns: 1fr !important;
  }

  .service-detail__sidebar {
    order: 2;
  }

  .service-detail__content {
    order: 1;
  }

  /* Service Benefits checklist responsive layout */
  .service-benefits-grid {
    grid-template-columns: 1fr !important;
  }

  /* About details section layout */
  .about-story__grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .about-story__checkmarks {
    display: grid !important;
    grid-template-columns: 1fr !important;
    text-align: left;
    margin: 0 auto;
    max-width: 300px;
  }

  /* Blog & Blog details page grid responsive layout */
  .blog-layout-grid {
    grid-template-columns: 1fr !important;
  }

  /* Blog listing card horizontal layout responsive stacking */
  .blog-list-card {
    grid-template-columns: 1fr !important;
  }

  /* Careers requirements checklist responsive stacking */
  .careers-req-grid {
    grid-template-columns: 1fr !important;
  }

  /* Booking wizard services list responsive layout */
  .booking-services-grid {
    grid-template-columns: 1fr !important;
  }

  /* Booking wizard schedule step responsive layout */
  .booking-schedule-grid {
    grid-template-columns: 1fr !important;
  }

  /* Booking form mobile layout */
  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  /* Contact page mobile layout */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg);
  }

  .contact-map {
    height: 250px !important;
  }

  /* Footer bottom styling */
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .footer__bottom-links {
    justify-content: center;
  }

  /* Admin profile layout grid collapse */
  .admin-profile-grid {
    grid-template-columns: 1fr !important;
  }

  /* Admin dashboard charts grid collapse */
  .admin-charts-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-blog-grid {
    grid-template-columns: 1fr !important;
  }

  /* Admin Layout Responsiveness */
  .admin-sidebar {
    left: -260px; /* Hide sidebar offscreen on mobile */
  }

  .admin-sidebar.is-open {
    left: 0;
  }

  .admin-main {
    margin-left: 0; /* Full screen main content on mobile */
  }

  .admin-header {
    padding: 0 var(--space-md) !important;
  }

  .admin-header__user span {
    display: none;
  }

  .admin-header__toggle-sidebar {
    display: block; /* Show menu toggle */
  }

  .admin-table th,
  .admin-table td {
    padding: 10px 12px !important;
    font-size: 0.825rem !important;
  }

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

  .admin-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-filter-bar__search {
    max-width: 100%;
  }

  .admin-filter-bar__actions {
    justify-content: space-between;
  }

  .admin-widget {
    padding: var(--space-md);
  }
}

/* ==================== EXTRA SMALL PHONES (480px and below) ==================== */
@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }

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

  .breadcrumbs {
    display: none; /* Hide on very small screens for cleanliness */
  }

  .booking-steps {
    display: flex;
    overflow-x: auto;
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-md);
    justify-content: flex-start;
    gap: var(--space-sm);
  }

  .step-item {
    flex: 0 0 80px;
  }

  .step-line {
    display: none; /* Hide connector lines on scrollable horizontal layout */
  }
}
