/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
  /* Color Palette */
  --color-primary: #1B2A4A;
  --color-primary-light: #2A3F6B;
  --color-primary-dark: #0F1A30;
  
  --color-accent: #D4A843;
  --color-accent-light: #E8C76B;
  --color-accent-dark: #B8912E;
  
  --color-bg: #F8F6F3;
  --color-bg-alt: #EEF2F7;
  --color-white: #FFFFFF;
  --color-dark: #1A1A1A;
  --color-text: #2C2C2C;
  --color-text-light: #6B7280;
  --color-border: #E5E7EB;
  
  --color-sage: #7BA68C;
  --color-sage-light: #E8F0EB;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  --gradient-accent: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  --gradient-hero: linear-gradient(160deg, rgba(27, 42, 74, 0.92) 0%, rgba(27, 42, 74, 0.75) 50%, rgba(27, 42, 74, 0.55) 100%);
  --gradient-dark-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing Scale (1rem = 16px) */
  --space-xs: 0.25rem;  /* 4px */
  --space-sm: 0.5rem;   /* 8px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2rem;     /* 32px */
  --space-2xl: 3rem;    /* 48px */
  --space-3xl: 4rem;    /* 64px */
  --space-4xl: 6rem;    /* 96px */
  --space-5xl: 8rem;    /* 128px */

  /* Containers */
  --max-width: 1200px;
  --max-width-wide: 1400px;
  --container-padding: var(--space-lg);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.15);
  --shadow-accent: 0 4px 20px rgba(212, 168, 67, 0.3);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Layout constraints */
  --header-height: 70px;
}

@media (min-width: 1025px) {
  :root {
    --header-height: 80px;
  }
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  font-weight: 700;
}

p {
  margin-bottom: var(--space-md);
}

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

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

ul, ol {
  list-style: none;
}

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

@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }
}

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

@media (min-width: 769px) {
    .section {
        padding: var(--space-5xl) 0;
    }
}

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

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-label::before,
.section-label::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--color-accent);
  margin: 0 var(--space-sm);
}

.section-label--left {
  justify-content: flex-start;
}
.section-label--left::before {
  display: none;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.section-title--left {
  text-align: left;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.section-subtitle--left {
  text-align: left;
  margin-bottom: var(--space-2xl);
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mt-lg {
  margin-top: var(--space-lg);
}

.text-accent {
  color: var(--color-accent);
}

/* Form block */
.btn--block {
  width: 100%;
}

.contact-intro-text {
  color: var(--color-text-light);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

/* Error page alignment */
.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.form-heading-icon {
  color: var(--color-accent);
  margin-right: 8px;
}
  
/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  text-align: center;
}

.btn:hover, .btn:focus {
  transform: translateY(-2px);
}

/* Sizes */
.btn--sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* Variants */
.btn--primary {
  background: var(--gradient-accent);
  color: var(--color-primary-dark);
}
.btn--primary:hover, .btn--primary:focus {
  box-shadow: var(--shadow-accent);
  color: var(--color-primary-dark);
}

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn--secondary:hover, .btn--secondary:focus {
  background: var(--color-white);
  color: var(--color-primary-dark);
}

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

.btn--dark {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--dark:hover, .btn--dark:focus {
  background: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  color: var(--color-white);
}

/* ==========================================================================
   Components: Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: var(--header-height);
}

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

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.header__logo-text span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
}

.nav__list {
  display: none; /* Mobile default */
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001; /* Above mobile overlay */
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transition: all var(--transition-base);
  border-radius: 2px;
}

/* Hamburger active state handled via .active class */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base) ease, visibility var(--transition-base) ease;
}

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

@media (max-width: 1024px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: var(--shadow-xl);
    z-index: 999;
    padding: calc(var(--header-height) + 2rem) 2rem 2rem;
    transition: right var(--transition-smooth);
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav__list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav__link {
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    color: var(--color-primary);
  }

  .nav__link.active {
    color: var(--color-accent-dark);
  }

  .nav__cta {
    margin-top: 1rem;
    width: 100%;
  }

  .nav__cta .btn {
    width: 100%;
  }
}

/* Desktop Nav */
@media (min-width: 1025px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    display: block;
  }

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

  .nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
  }

  .nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-base);
  }

  .nav__link:hover::after,
  .nav__link.active::after {
    width: 100%;
  }
  
  .nav__link:hover,
  .nav__link.active {
    color: var(--color-primary);
  }

  .nav__cta {
    margin-left: var(--space-md);
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
 /* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-4xl);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--gradient-hero);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--color-white);
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(4px);
}

.hero__label i {
  color: var(--color-accent-light);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.hero__title .highlight {
  color: var(--color-accent-light);
  display: inline-block;
  position: relative;
}

.hero__text {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin-bottom: var(--space-2xl);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-lg);
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-number::after {
  content: "+";
}

.hero__stat:last-child .hero__stat-number::after {
  content: "%";
}

.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* ==========================================================================
   Page Headers (Inner Pages)
   ========================================================================== */
.page-header {
  position: relative;
  background: var(--gradient-primary);
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  color: var(--color-white);
  overflow: hidden;
  text-align: center;
}


.gallery-item {
  cursor: pointer;
}

.gallery-item__overlay,
.gallery-item__zoom {
  pointer-events: none;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle, rgba(212,168,67,0.1) 0%, transparent 70%);
  z-index: 1;
}

.page-header__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-header__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

.page-header__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

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

.page-header__breadcrumb .separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
}

.page-header__breadcrumb .current {
  color: var(--color-accent-light);
  font-weight: 500;
}

.page-header__title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.page-header__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 769px) {
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

.card {
  position: relative;
  background-color: var(--color-white);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: all var(--transition-base);
}

.card:hover .card__icon {
  background: var(--gradient-accent);
  color: var(--color-primary-dark);
}

.card__title {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.card__text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  flex-grow: 1;
  margin-bottom: var(--space-lg);
}

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

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

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

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

.card--centered .card__icon {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Home: Why Choose Us / About: Intro
   ========================================================================== */
.why-us, .about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 1025px) {
  .why-us, .about-intro {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

.why-us__image, .about-intro__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.why-us__image img, .about-intro__image img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.why-us__badge {
  position: absolute;
  bottom: 24px;
  right: -24px;
  background: var(--color-white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-10%); /* adjusting since right is -24px */
}

@media (min-width: 769px) {
    .why-us__badge {
        right: 24px;
        transform: none;
    }
}

.why-us__badge i {
  color: var(--color-accent);
  font-size: 1.5rem;
}

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

@media (min-width: 600px) {
  .why-us__list {
    grid-template-columns: 1fr 1fr;
  }
}

.why-us__item {
  display: flex;
  gap: 16px;
}

.why-us__item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-sage-light);
  color: var(--color-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.why-us__item-icon .fa-palette {
  background-color: transparent;
  color: var(--color-accent);
}
.why-us__item:nth-child(2) .why-us__item-icon {
  background-color: #FFF3D6; /* light gold */
}

.why-us__item:nth-child(3) .why-us__item-icon {
  background-color: #E6F0FA; /* light blue */
  color: var(--color-primary-light);
}

.why-us__item:nth-child(4) .why-us__item-icon {
    background-color: #F3E8FF; /* light purpleish */
    color: #6B21A8;
}

.why-us__item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--color-primary);
}

.why-us__item p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   Stats Counter Banner
   ========================================================================== */
.counter-section {
  background: var(--gradient-primary);
  padding: var(--space-3xl) 0;
  color: var(--color-white);
  text-align: center;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

@media (min-width: 769px) {
  .counter-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent-light);
  margin-bottom: 4px;
}

@media (min-width: 769px) {
  .counter-number {
    font-size: 2.8rem;
  }
}

.counter-number::after {
  content: "+";
}

.counter-item:last-child .counter-number::after {
  content: "%"; 
}

.counter-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 769px) {
  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

.testimonial {
  background-color: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.testimonial__stars {
  color: var(--color-accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-lg);
}

.testimonial__text {
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-lg);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.testimonial__role {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

/* ==========================================================================
   CTA Banner 
   ========================================================================== */
.cta-banner {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 769px) {
  .cta-banner {
    padding: var(--space-4xl);
  }
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}

.cta-banner::before {
  background-color: rgba(212, 168, 67, 0.15); /* Gold */
  top: -100px;
  left: -100px;
}

.cta-banner::after {
  background-color: rgba(123, 166, 140, 0.15); /* Sage */
  bottom: -100px;
  right: -100px;
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner__title {
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: var(--space-2xl);
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* ==========================================================================
   About Page Specifics
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 600px) {
  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.value-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

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

.value-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-alt);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--space-lg);
  transition: all var(--transition-base);
}

.value-card:hover .value-card__icon {
  background: var(--gradient-accent);
  color: var(--color-primary-dark);
}

.value-card__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.value-card__text {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 769px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* The connecting line */
  .process-steps::before {
    content: '';
    position: absolute;
    top: 32px; /* Half of number height */
    left: 12.5%; /* Half of col width */
    width: 75%;
    height: 2px;
    background-color: var(--color-border);
    z-index: 1;
  }
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-step__number {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: var(--color-white);
  border: 3px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 auto var(--space-lg);
}

.process-step__title {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.process-step__text {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ==========================================================================
   Services Page Specifics
   ========================================================================== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.service-detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (min-width: 769px) {
  .service-detail {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
  /* RTL alternating pattern as requested */
  .service-detail:nth-child(even) {
    direction: rtl;
  }
  .service-detail:nth-child(even) .service-detail__content {
    direction: ltr; /* keep text readable */
  }
}

.service-detail__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail__image img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.service-detail__content h3 {
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}

.service-detail__features {
  margin-top: var(--space-lg);
}

.service-detail__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.service-detail__features i {
  color: var(--color-sage);
  font-size: 0.9rem;
}

/* ==========================================================================
   Gallery Page Specifics
   ========================================================================== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--space-3xl);
}

.gallery-filter-btn {
  padding: 10px 24px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all var(--transition-base);
}

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

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

@media (min-width: 481px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (min-width: 769px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background-color: var(--color-bg-alt); /* Placeholder while loading */
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark-overlay);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

.gallery-item__tag {
  font-size: 0.8rem;
  color: var(--color-accent-light);
  font-weight: 500;
  margin-bottom: 4px;
  transform: translateY(10px);
  transition: transform var(--transition-base);
}

.gallery-item__title {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0;
  transform: translateY(10px);
  transition: transform var(--transition-base);
}

.gallery-item__zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 42px;
  height: 42px;
  background-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.1rem;
  opacity: 0;
  z-index: 2;
  transition: all var(--transition-base);
}

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

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

.gallery-item:hover .gallery-item__tag,
.gallery-item:hover .gallery-item__title {
  transform: translateY(0);
}

.gallery-item:hover .gallery-item__zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__inner {
  position: relative;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__img {
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
}

.lightbox__caption {
  color: var(--color-white);
  margin-top: var(--space-md);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: none;
  cursor: pointer;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.lightbox__close {
  top: -40px;
  right: -20px;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
}

.lightbox__nav--prev {
  left: -60px;
}

.lightbox__nav--next {
  right: -60px;
}

@media (max-width: 768px) {
  .lightbox__nav {
    width: 40px;
    height: 40px;
  }
  .lightbox__nav--prev {
    left: 10px;
  }
  .lightbox__nav--next {
    right: 10px;
  }
  .lightbox__close {
    top: -50px;
    right: 0;
  }
}

/* ==========================================================================
   Contact Page Specifics
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

@media (min-width: 769px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-4xl);
  }
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: var(--space-lg);
}

.contact-info__icon {
  width: 52px;
  height: 52px;
  background-color: var(--color-bg-alt);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info__label {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-info__value,
.contact-info__value a {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.contact-hours {
  margin-top: var(--space-2xl);
  padding: var(--space-lg);
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}

.contact-hours h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
}

.contact-hours__row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.contact-hours__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-hours__day {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-hours__time {
  color: var(--color-text-light);
}

.contact-form {
  background-color: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

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

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .form-group--full {
    grid-column: 1 / -1;
  }
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.required {
  color: #e74c3c;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.2);
}

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

/* Map Section */
.map-section {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

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

/* ==========================================================================
   404 Page Specifics
   ========================================================================== */
.error-page {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-4xl) var(--container-padding);
  background: var(--color-bg);
  margin-top: var(--header-height);
}

.error-page__code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 700;
  color: rgba(27, 42, 74, 0.05); /* very faint primary */
  line-height: 1;
  margin-bottom: -40px; /* pull title up over the code */
  position: relative;
  z-index: 0;
}

.error-page__content {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.error-page__title {
  margin-bottom: var(--space-md);
}

.error-page__text {
  color: var(--color-text-light);
  margin-bottom: var(--space-2xl);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.6);
  padding-top: var(--space-4xl);
}

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

@media (min-width: 769px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

@media (min-width: 1025px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-3xl);
  }
}

.footer__brand-text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: var(--space-lg);
  margin-bottom: 0;
}

.footer__heading {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
}

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

.footer__links a {
  display: inline-block;
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--color-accent-light);
  transform: translateX(4px);
}

.footer__contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer__contact-item i {
  color: var(--color-accent);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.footer__contact-item a:hover {
  color: var(--color-accent-light);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

@media (min-width: 769px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__copyright {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.footer__social a:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
}

/* ==========================================================================
   Back to Top
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* ==========================================================================
   Animations
   ========================================================================== */
/* Hide elements for scroll reveal */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
}

.reveal {
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

.reveal-left {
  transform: translateX(-30px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

.reveal-right {
  transform: translateX(30px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

/* Add this class via JS to trigger animation */
.reveal.active, .reveal-left.active, .reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

/* Stagger utilities for children */
.stagger-children > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.8s; }

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
}
