/* ========================================
   TRAVSACK - Premium Corporate Website
   Main Stylesheet
   ======================================== */

/* === CSS Variables === */
:root {
  --primary-teal: #8eb8b5;
  --secondary-teal: #9fc5c2;
  --accent-orange: #d54d29;
  --accent-orange-light: #e85a35;
  --header-gray: #eaeaea;
  --white: #FFFFFF;
  --off-white: #f5f5f5;
  --light-gray: #e0e0e0;
  --text-gray: #333333;
  --dark-text: #1a1a1a;
  --text-light: #666666;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.1);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.15);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.2);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

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

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

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text-gray);
  background: var(--primary-teal);
  overflow-x: hidden;
  line-height: 1.7;
}

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

a { 
  text-decoration: none; 
  color: var(--accent-orange); 
  transition: var(--transition);
  position: relative;
}

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

.hidden { display: none; }

.material-icons-outlined {
  font-family: 'Material Icons Outlined' !important;
  font-weight: normal;
  font-style: normal;
  font-size: inherit;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

ul { list-style: none; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { color: var(--text-gray); font-size: 1rem; line-height: 1.8; }

/* === Utility === */
html { scroll-padding-top: 120px; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-gold { color: var(--accent-orange); }
.bg-navy { background-color: var(--header-gray); }
.bg-off-white { background-color: var(--off-white); }
.section { scroll-margin-top: 120px; }

/* Ensure non-hero pages show top content below fixed header */
.section:first-of-type {
  padding-top: 140px !important;
}

.section-badge {
  display: inline-block;
  background: var(--accent-orange);
  border: 1px solid var(--accent-orange);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto 48px;
}

.divider-gold {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
  margin: 16px auto 24px;
  border-radius: 2px;
}

.divider-responsive-left {
  margin: 16px 0 20px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.1);
  transition: left 0.4s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
  color: var(--white);
  border-color: var(--accent-orange);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-orange-light), var(--accent-orange));
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(213,77,41,0.35);
}

#header .btn-primary:hover,
.nav-menu a.btn-primary:hover,
.header-cta .btn-primary:hover {
  color: var(--white) !important;
}

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

.btn-secondary:hover {
  background: var(--white);
  color: var(--dark-text);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--accent-orange);
  color: var(--white);
  border-color: var(--accent-orange);
}

.btn-navy:hover {
  background: var(--accent-orange-light);
  color: var(--dark-text);
  border-color: var(--accent-orange-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-gold {
  background: transparent;
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.btn-outline-gold:hover {
  background: var(--accent-orange);
  color: var(--dark-text);
  transform: translateY(-2px);
}

/* === Header / Navbar === */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
  background: #eaeaea;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  min-height: 80px;
  height: 80px;
  transform: translateY(0);
  will-change: transform;
}

.header-inner {
  height: 100%;
  max-height: 80px;
  align-items: center;
}

#header.transparent {
  background: #eaeaea;
}

#header.scrolled {
  background: #eaeaea;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

#header.transparent {
  background: #eaeaea;
}

#header {
  background: #eaeaea;
}

#header.header-hidden {
  transform: translateY(calc(-100% - 10px));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.logo-with-bg {
  background: transparent;
  border-radius: 0;
  padding: 4px 8px;
  box-shadow: none;
}

.logo-img {
  max-height: 74px;
  height: 74px;
  width: auto;
  display: block;
}

header .logo-img {
  max-height: 90px;
  height: 90px;
}

footer .logo-img {
  max-height: 150px;
  height: 150px;
}


.logo-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.company-name-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.company-tagline {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.1;
}

.company-type {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.logo-icon {
  height: 42px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--dark-text);
  font-family: 'Playfair Display', serif;
}

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

.logo-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 2px;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--accent-orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  color: var(--dark-text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--accent-orange);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after { width: 70%; }

.nav-menu a:hover { color: var(--accent-orange); }

.header-cta .btn { padding: 10px 24px; font-size: 0.88rem; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-orange);
  border-radius: 2px;
  transition: var(--transition);
}

/* === Hero Slider === */
.homepage-video-section {
  padding-top: 80px;
  background: #000;
  min-height: calc(100vh - 80px);
}

.homepage-video-shell {
  width: 100%;
  margin: 0 auto;
  background: #000;
  overflow: hidden;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.homepage-video {
  display: block;
  background: #000;
}

.homepage-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(20px);
  transform: scale(1.06);
  opacity: 0.7;
}

.homepage-video-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: center;
}

.slide.active { opacity: 1; }

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.slide.active .slide-bg { transform: scale(1); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(234,234,234,0.88) 0%,
    rgba(234,234,234,0.55) 60%,
    rgba(213,77,41,0.35) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 100px;
  color: var(--dark-text);
}

.slide-content h1,
.slide-content h2,
.slide-content h3,
.slide-content p,
.slide-content span,
.slide-content a {
  color: var(--dark-text);
}

.slide-badge {
  display: inline-block;
  background: var(--accent-orange);
  border: 1px solid var(--accent-orange);
  color: var(--white) !important;
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 30px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.3s;
}

.slide.active .slide-badge { opacity: 1; transform: translateY(0); }

.slide-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.15;
  max-width: 750px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s ease 0.5s;
}

.slide.active .slide-title { opacity: 1; transform: translateY(0); }

.slide-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 550px;
  margin-bottom: 36px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.9s ease 0.7s;
}

.slide.active .slide-desc { opacity: 1; transform: translateY(0); }

.slide-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.9s ease 0.9s;
}

.slide.active .slide-cta { opacity: 1; transform: translateY(0); }

.slider-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.5);
}

.slider-dot:hover {
  background: rgba(255,255,255,0.6);
  transform: scale(1.2);
}

.slider-dot.active {
  background: var(--accent-orange);
  width: 28px;
  border-radius: 4px;
  border-color: var(--accent-orange-light);
  box-shadow: 0 2px 8px rgba(213,77,41,0.4);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 10;
  pointer-events: none;
}

.slider-arrow {
  pointer-events: all;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-arrow:hover {
  background: var(--accent-orange);
  color: var(--dark-text);
  border-color: var(--accent-orange);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(213,77,41,0.4);
}

.slider-arrow i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
}

/* === Sections === */
.section { 
  padding: 100px 0;
  background: var(--white);
  color: var(--text-gray);
}
.section h1, .section h2, .section h3, .section h4, .section h5, .section h6 {
  color: var(--dark-text);
}
.section-sm { padding: 60px 0; }
.section-lg { padding: 120px 0; }

/* Alternate sections with light background */
.section.bg-off-white {
  background: var(--off-white);
}

.section.bg-off-white h1, 
.section.bg-off-white h2, 
.section.bg-off-white h3,
.section.bg-off-white h4,
.section.bg-off-white h5,
.section.bg-off-white h6 {
  color: var(--dark-text);
}

/* === Stats Bar === */
.stats-bar {
  background: #8eb8b5;
  padding: 40px 0;
  border-top: 1px solid rgba(213,77,41,0.2);
  border-bottom: 1px solid rgba(213,77,41,0.2);
}
.stat-label { color: var(--dark-text); }

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

.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--dark-text);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* === About Preview === */
.about-preview {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.about-image-wrap::before {
  display: none;
}

.about-image-main {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  background: transparent;
}

.about-image-main::after {
  display: none;
}

.about-image-main img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  transition: transform 0.6s ease;
  margin: 0 auto;
  border-radius: 10px;
}

.about-image-main:hover img { transform: scale(1.05); }

.about-badge-float {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
  padding: 20px 28px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  max-width: min(240px, calc(100% - 24px));
  z-index: 2;
}

@media (max-width: 992px) {
  .homepage-video-section {
    padding-top: 72px;
    min-height: calc(100vh - 72px);
  }

  .homepage-video-shell {
    min-height: calc(100vh - 72px);
  }

  .homepage-video-main {
    height: 100%;
    max-height: calc(100vh - 72px);
    background: transparent;
  }

  .about-image-wrap {
    width: 100%;
  }

  .about-image-main {
    max-width: 100%;
    margin: 0 auto;
  }

  .about-image-main img {
    height: auto;
    max-height: 340px;
  }

  .about-badge-float {
    bottom: 18px;
    left: 12px;
    transform: none;
    padding: 14px 20px;
  }
}

@media (max-width: 1024px) {
  .about-image-wrap {
    width: 100%;
  }

  .about-badge-float {
    left: 220px;
    bottom: 18px;
    max-width: min(220px, calc(100% - 24px));
  }
}

@media (max-width: 768px) {
  .about-image-main {
    max-width: min(100%, 340px);
    border-radius: 10px;
    box-shadow: none;
    background: transparent;
  }

  .about-image-main::after {
    display: none;
  }

  .about-image-main img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 10px;
  }

  .about-badge-float {
    bottom: 12px;
    left: 10px;
    padding: 12px 16px;
  }

  .about-clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 12px 0;
  }

  .about-client-card {
    max-width: 118px;
    min-height: 72px;
    padding: 10px;
    border-radius: 10px;
  }

  .about-client-logo {
    max-width: 78px;
    max-height: 44px;
  }
}

@media (max-width: 576px) {
  .about-image-main {
    max-width: min(100%, 300px);
    border-radius: 8px;
  }

  .about-image-main img {
    max-height: 220px;
    object-fit: contain;
    border-radius: 8px;
  }
}

.about-badge-float .number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--white);
  line-height: 1;
}

.about-badge-float .label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  align-items: center;
  justify-items: center;
  padding: 20px 0;
}

.about-client-card {
  width: 100%;
  max-width: 132px;
  background: var(--white);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-client-logo {
  max-width: 95px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Timeline */
.timeline {
  margin: 36px 0;
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-orange), var(--accent-orange));
}

.timeline-item {
  position: relative;
  padding-left: 24px;
  margin-bottom: 28px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-orange);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px rgba(213,77,41,0.3);
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* === Services Section === */
.services-section {
  background: var(--off-white);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: visible;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  group: true;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--accent-orange);
}

.service-card-image {
  height: 220px;
  position: relative;
  overflow: visible;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

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

.service-card:hover .service-card-image img { transform: none; }

.service-card-icon {
  position: absolute;
  bottom: -20px;
  right: 24px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.service-card-icon .material-icons-outlined {
  display: block;
  line-height: 1;
  font-size: 1.35rem;
}

.service-card-body {
  padding: 36px 28px 28px;
}

.service-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark-text);
}

.service-card-body p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 20px;
}

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

.service-link:hover {
  color: var(--accent-orange);
  gap: 12px;
}

/* === Why Travsack === */
.why-section {
  background: #8eb8b5;
  position: relative;
  overflow: hidden;
  color: var(--dark-text);
}

.why-section .section-title,
.why-section .section-subtitle,
.why-section h2,
.why-section h3,
.why-section h4,
.why-section p,
.why-section li,
.why-section .stat-number,
.why-section .stat-label {
  color: var(--dark-text) !important;
}

.why-section .section-badge {
  background: var(--accent-orange) !important;
  color: var(--white) !important;
}

.why-section .why-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
}

.why-section .why-item-icon { color: var(--accent-orange); }

.why-section .why-item:hover {
  background: #f5fcfb;
}

.why-section .fade-right > div {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
  color: var(--dark-text) !important;
}

.why-section .fade-right h3,
.why-section .fade-right p,
.why-section .fade-right .stat-number,
.why-section .fade-right .stat-label {
  color: var(--dark-text) !important;
}

.why-section .fade-right .stat-number { color: var(--dark-text) !important; }
.why-section .fade-right .stat-label { color: var(--dark-text) !important; }

/* CTA before footer: ensure readable black text */
.cta-section,
.cta-section h2,
.cta-section h3,
.cta-section p,
.cta-section .btn,
.cta-section .section-title {
  color: var(--dark-text) !important;
}

.cta-section { background: #8eb8b5; }

.why-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(213,77,41,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-item {
  background: #ffffff;
  border: 1px solid rgba(213,77,41,0.2);
  border-radius: var(--border-radius);
  padding: 28px 24px;
  transition: var(--transition);
}

.why-item:hover {
  background: #f5fcfb;

  border-color: rgba(213,77,41,0.3);
  transform: translateY(-4px);
}

.why-item-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.why-item h4 {
  color: var(--dark-text);
  font-size: 1rem;
  margin-bottom: 8px;
}

.why-item p {
  color: var(--dark-text);
  font-size: 0.85rem;
}

.why-item.full-width { grid-column: 1 / -1; }

/* === Gallery Preview === */
.gallery-grid-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

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

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(234,234,234,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

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

.gallery-item-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.gallery-item.tall { grid-row: span 2; }

.gallery-item.wide { grid-column: span 2; }

/* Set heights */
.gallery-item { height: 250px; }
.gallery-item.tall { height: 516px; }

/* === Gallery Preview Carousel === */
.gallery-preview-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0;
  justify-content: center;
}

.carousel-container {
  flex: 1;
  max-width: 900px;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.carousel-inner {
  display: flex;
  gap: 12px;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px;
}

.carousel-item-small {
  min-width: 220px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item-small:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.carousel-item-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.carousel-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(234,234,234,0.9), transparent);
  color: var(--white);
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-item-small:hover .carousel-item-label {
  opacity: 1;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(213,77,41,0.15);
  border: 1px solid var(--accent-orange);
  color: var(--dark-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.carousel-arrow:hover {
  background: var(--accent-orange);
  color: var(--white);
}

.carousel-inner-large {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item-large {
  min-width: 100%;
  height: auto;
  border-radius: 8px;
  overflow: visible;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

/* Home Event Highlights: keep images smaller without cropping or zooming */
.page-index .gallery-preview-carousel .carousel-item-large {
  background: #f5f5f5;
  height: auto !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
  padding: 16px;
}

.page-index .gallery-preview-carousel .carousel-item-large img {
  width: auto;
  max-width: 90%;
  height: auto !important;
  max-height: 420px;
  object-fit: contain;
  object-position: center center;
  background: #f5f5f5;
  aspect-ratio: auto;
  display: block;
  margin: 0 auto;
}

.page-index .gallery-preview-carousel .carousel-item-large .carousel-item-label {
  position: static !important;
  background: var(--white);
  color: var(--dark-text);
  padding: 12px 16px 16px;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 768px) {
  .carousel-item-large {
    padding: 8px;
  }

  .page-index .gallery-preview-carousel {
    gap: 8px;
    margin: 22px 0;
  }

  .page-index .gallery-preview-carousel .carousel-container {
    max-width: min(100%, 320px);
  }

  .page-index .gallery-preview-carousel .carousel-item-large {
    padding: 10px;
    border-radius: 8px;
  }

  .page-index .gallery-preview-carousel .carousel-item-large img {
    max-width: 100%;
    max-height: 250px;
  }

  .page-index .gallery-preview-carousel .carousel-item-large .carousel-item-label {
    padding: 10px 12px 12px;
    font-size: 0.9rem;
  }

  .page-index .gallery-preview-carousel .carousel-arrow {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 576px) {
  .gallery-preview-carousel {
    align-items: center;
  }

  .carousel-item-large {
    padding: 6px;
  }

  .page-index .gallery-preview-carousel {
    gap: 6px;
    margin: 20px 0;
  }

  .page-index .gallery-preview-carousel .carousel-container {
    max-width: min(100%, 250px);
  }

  .page-index .gallery-preview-carousel .carousel-item-large {
    padding: 8px;
    border-radius: 7px;
  }

  .page-index .gallery-preview-carousel .carousel-item-large img {
    max-width: 100%;
    max-height: 190px;
  }

  .page-index .gallery-preview-carousel .carousel-item-large .carousel-item-label {
    padding: 8px 8px 10px;
    font-size: 0.78rem;
  }

  .page-index .gallery-preview-carousel .carousel-arrow {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 420px) {
  .carousel-item-large {
    padding: 4px;
  }

  .page-index .gallery-preview-carousel .carousel-container {
    max-width: min(100%, 220px);
  }

  .page-index .gallery-preview-carousel .carousel-item-large {
    padding: 6px;
    border-radius: 6px;
  }

  .page-index .gallery-preview-carousel .carousel-item-large img {
    max-width: 100%;
    max-height: 160px;
  }

  .page-index .gallery-preview-carousel .carousel-item-large .carousel-item-label {
    padding: 6px 6px 8px;
    font-size: 0.74rem;
  }

  .page-index .gallery-preview-carousel .carousel-arrow {
    width: 28px;
    height: 28px;
  }
}

@media (min-width: 1400px) {
  .carousel-item-large {
    padding: 20px;
  }

  .page-index .gallery-preview-carousel .carousel-item-large img {
    max-height: 480px;
  }
}

.carousel-item-large:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.21);
}

.carousel-item-large img {
  width: auto;
  max-width: 90%;
  height: auto !important;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
  background: #f5f5f5;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  margin: 0 auto;
}

.carousel-item-large:hover img {
  transform: scale(1);
}

.carousel-item-large .carousel-item-label {
  position: static;
  bottom: auto;
  left: auto;
  right: auto;
  background: var(--white);
  color: var(--dark-text);
  padding: 12px 16px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* === Responsive Media Queries === */

@media (max-width: 1200px) {
  .header-inner { padding: 16px 18px; }
  .section { padding: 80px 0; }
  .section-sm {padding: 50px 0;}
  .container { padding: 0 16px; }
}

@media (max-width: 992px) {
  .about-grid, .why-grid, .services-grid, .blog-grid, .gallery-grid-masonry {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slider { min-height: 500px; }
  header .logo-img { max-height: 82px; height: 82px; }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 10px;
    min-height: 80px;
  }

  .logo-section { flex: 1 1 auto; min-width: 0; }
  .logo-img { max-height: 72px; height: 72px; }

  .mobile-toggle { display: flex; z-index: 1300; flex-shrink: 0; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(280px, 78vw);
    height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 18px 24px;
    gap: 10px;
    z-index: 1250;
    transition: right 0.28s ease;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav-menu.open { right: 0; }

  .nav-menu a {
    width: 100%;
    color: var(--white);
    background: transparent;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .nav-menu a:hover,
  .nav-menu a.active { background: rgba(213,77,41,0.2); color: #fff; }

  .nav-menu a.btn-primary {
    margin-top: 6px;
    background: var(--accent-orange);
    color: var(--dark-text);
    border-color: var(--accent-orange);
    text-align: center;
  }

  .nav-menu a::after { display: none; }

  .header-cta { display: none !important; }
  body.nav-open { overflow: hidden; }

  .section, .section-sm, .section-lg { padding: 60px 0; }
  .stats-bar { padding: 28px 0; }
}

@media (max-width: 576px) {
  .header-inner { 
    padding: 10px 8px;
    flex-wrap: nowrap;
    min-height: 80px;
  }
  .logo-img { max-height: 60px; height: 60px; }
  .btn { padding: 10px 14px; font-size: 0.9rem; }
  .section { padding: 50px 0; }
  .slide-content { padding-top: 90px; }
  .hero-slider { min-height: 420px; }
  .mobile-toggle span { width: 20px; height: 2px; }
}

/* === Blog Preview === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent-orange);
}

.blog-card-image {
  height: 220px;
  overflow: hidden;
}

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

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

.blog-card-body {
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.blog-cat {
  background: rgba(213,77,41,0.1);
  color: var(--accent-orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

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

.blog-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--dark-text);
  transition: var(--transition);
}

.blog-card:hover .blog-card-body h3 { color: var(--accent-orange); }

.blog-card-body p {
  font-size: 0.88rem;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}

.blog-read-more:hover { color: var(--accent-orange); gap: 10px; }

/* === CTA Section === */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  color: var(--dark-text);
}

.cta-section h1,
.cta-section h2,
.cta-section h3,
.cta-section p {
  color: var(--dark-text);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: #8eb8b5;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === Footer === */
.footer {
  background: #eaeaea;
  padding-top: 80px;
  color: var(--dark-text);
}

.footer, .footer * {
  color: var(--dark-text) !important;
}

.footer a {
  color: var(--dark-text) !important;
}

.footer a:hover {
  color: var(--accent-orange) !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  color: var(--dark-text);
  font-size: 0.9rem;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--dark-text);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer .social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-text) !important;
  font-size: 1rem;
  transition: var(--transition);
}

.footer .social-link:hover {
  background: var(--accent-orange);
  color: var(--white);
  border-color: var(--accent-orange);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-link:hover {
  background: var(--accent-orange);
  color: var(--dark-text);
  border-color: var(--accent-orange);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  width: 100%;
  height: 100%;
}

.footer-col h4 {
  color: var(--dark-text);
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(213,77,41,0.3);
}

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

.footer-links a {
  color: var(--dark-text);
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 0;
}

.footer-links a::before {
  content: '›';
  color: var(--accent-orange);
  font-size: 1rem;
  margin-right: 4px;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item .icon {
  color: var(--accent-orange);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span {
  color: var(--dark-text);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: var(--dark-text);
  font-size: 0.82rem;
}

.footer-soc-title,
.footer .footer-social {
  color: var(--dark-text) !important;
}

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

.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--accent-orange); }

/* === WhatsApp Float === */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 58px;
}

.whatsapp-tooltip {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  opacity: 0;
  background: var(--dark-text);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.whatsapp-btn {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse-green 2.5s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.whatsapp-tooltip {
  background: var(--dark-text);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* === Scroll To Top === */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 998;
  width: 44px;
  height: 44px;
  background: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.scroll-top.visible { opacity: 1; transform: translateY(0); }

.scroll-top:hover { background: var(--accent-orange); transform: translateY(-2px); }

/* === Animations === */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s ease;
}

.fade-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s ease;
}

.fade-right.animated {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .fade-left,
  .fade-right {
    transform: translateY(24px);
  }

  .fade-left.animated,
  .fade-right.animated {
    transform: translateY(0);
  }
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* === Page Hero (inner pages) === */
.page-hero {
  padding: 180px 0 100px;
  background: #8eb8b5;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content { position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--dark-text);
}

.breadcrumb a { color: var(--dark-text); }
.breadcrumb a:hover { color: var(--accent-orange); }
.breadcrumb .sep { color: rgba(0,0,0,0.4); }
.breadcrumb .current { color: var(--accent-orange); }

.page-hero h1 { color: var(--dark-text); margin-bottom: 16px; }

.page-hero p { color: var(--dark-text); font-size: 1.1rem; max-width: 600px; }

/* === Contact Form === */
.contact-form {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--dark-text);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--dark-text);
  background: var(--off-white);
  transition: var(--transition);
  font-family: inherit;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-orange);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(213,77,41,0.08);
}

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

/* Contact Info Card */
.contact-info-card {
  background: #8eb8b5;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  height: 100%;
  color: var(--dark-text) !important;
}

.contact-info-card h3,
.contact-info-card > p,
.contact-info-card .contact-info-item h5,
.contact-info-card .contact-info-item p,
.contact-info-card .icon-box span {
  color: var(--dark-text) !important;
}

.contact-info-items { display: flex; flex-direction: column; gap: 24px; }

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-item .icon-box {
  width: 44px;
  height: 44px;
  background: rgba(213,77,41,0.2);
  border: 1px solid rgba(213,77,41,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item .text h5 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-info-item .text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
}

/* Map */
.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 350px;
}

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

/* === Gallery Full Page === */
.gallery-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--light-gray);
  background: var(--white);
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  transition: var(--transition);
}

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

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

.gallery-full-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}

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

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

.gallery-full-overlay {
  position: absolute;
  inset: 0;
  background: rgba(234,234,234,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-zoom-icon {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 12px;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

.gallery-full-item:hover .gallery-zoom-icon { transform: scale(1); }

.gallery-full-overlay span { color: var(--white); font-weight: 600; }

/* === Lightbox === */
.lightbox-modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox-modal.active,
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content,
.lightbox-inner {
  max-width: 85vw;
  max-height: 85vh;
  width: 100%;
  position: relative;
  text-align: center;
}

.lightbox-content img,
.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--border-radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  background: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark-text);
  font-size: 1.1rem;
  transition: var(--transition);
}

.lightbox-close:hover { background: var(--white); }

/* === Blog Full Page === */
.blog-full-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.blog-posts-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.blog-post-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

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

.blog-post-image {
  height: 180px;
  overflow: hidden;
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.blog-post-body {
  padding: 20px;
}
.blog-post-card h3 {
  font-size: 1.08rem;
  margin: 0 0 10px;
}
.blog-post-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 14px;
}

.blog-sidebar { position: sticky; top: 100px; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-gray);
  color: var(--dark-text);
}

.sidebar-post {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--light-gray);
}

.sidebar-post:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.sidebar-post-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }

.sidebar-post-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-text);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: var(--transition);
}

.sidebar-post-title:hover { color: var(--accent-orange); }

.sidebar-post-date { font-size: 0.75rem; color: var(--text-gray); }

.category-list { display: flex; flex-direction: column; gap: 8px; }

.cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--off-white);
  border-radius: 8px;
  color: var(--dark-text);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}

.cat-link:hover {
  background: var(--accent-orange);
  color: var(--white);
}

.cat-count {
  background: var(--white);
  color: var(--text-gray);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}

/* === Services Detail Page === */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--light-gray);
}

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

.service-detail:nth-child(even) .service-detail-content { order: -1; }

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

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

.service-detail-image:hover img { transform: none; }

.service-detail-content h2,
.service-detail-content .section-title {
  font-size: clamp(1.5rem, 2.5vw, 1.8rem) !important;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 28px;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--dark-text);
}

.service-feature::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: rgba(213,77,41,0.1);
  color: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Override any mis-encoded glyphs with stable icon rendering on Services page. */
.service-feature::before {
  content: '\2713';
}

.service-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.service-check-list .material-icons-outlined {
  color: var(--accent-orange);
  font-size: 1rem;
  flex-shrink: 0;
}

/* === Font Awesome Icons === */
/* Font Awesome fonts load properly with fallback emojis */
@font-face {
  font-family: 'Font Awesome 6 Free';
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2') format('woff2'),
       url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Font Awesome 6 Brands';
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2') format('woff2'),
       url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Base Font Awesome styles */
.fa, [class^="fa-"], [class*=" fa-"] {
  --fa-display: inline-block;
  display: var(--fa-display) !important;
  font-family: 'Font Awesome 6 Free' !important;
  font-style: normal !important;
  font-weight: inherit !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  line-height: 1 !important;
}

.fas {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.fab {
  font-family: 'Font Awesome 6 Brands';
  font-weight: 400;
}

.far {
  font-family: 'Font Awesome 6 Free';
  font-weight: 400;
}

i.fa, i[class^="fa-"], i[class*=" fa-"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-style: normal !important;
  line-height: 1 !important;
  font-size: inherit;
  min-width: 1em;
}

/* Show emoji fallback text inside i tags */
i.fas::before, i.fab::before, i.far::before {
  content: attr(data-icon);
}

/* Contact Info Icons */
.contact-info-item .icon-box i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2rem !important;
  line-height: 1 !important;
  font-family: Arial, sans-serif !important;
}

/* Social Icons */
.social-link i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
  line-height: 1 !important;
  font-family: Arial, sans-serif !important;
}

/* Slider Arrow Icons */
.slider-arrow i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.3rem !important;
  line-height: 1 !important;
  font-family: Arial, sans-serif !important;
}

/* Footer Contact Icons */
.footer-contact-item .icon i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
  line-height: 1 !important;
  font-family: Arial, sans-serif !important;
}

/* Form Button Icons */
.btn i {
  margin-right: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
  font-family: Arial, sans-serif !important;
}

.btn-primary i, .btn-secondary i, .btn-navy i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
  font-family: Arial, sans-serif !important;
}

/* Lightbox and Modal Icons */
.lightbox-close i, .gallery-btn i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2rem !important;
  line-height: 1 !important;
  font-family: Arial, sans-serif !important;
}

/* Page Hero Icons */
.page-hero h1, .page-hero p {
  display: block;
}

/* Contact Form Icons */
.contact-info-item .icon i,
.footer-contact-item .icon i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
  line-height: 1 !important;
}

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

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(234,234,234,0.8), rgba(213,77,41,0.6));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-info h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.gallery-info p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.category-tag {
  display: inline-block;
  background: var(--accent-orange);
  color: var(--dark-text);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gallery-actions {
  display: flex;
  gap: 8px;
}

.gallery-btn {
  min-width: 100px;
  height: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-btn span.material-icons-outlined {
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.gallery-btn:hover {
  background: var(--accent-orange);
  color: var(--dark-text);
  border-color: var(--accent-orange);
}

/* === Lightbox Modal === */
.lightbox-modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  text-align: center;
}

.lightbox-modal.active,
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-modal .lightbox-close {
  cursor: pointer;
  font-size: 2rem;
}

.lightbox-content,
.lightbox-inner {
  max-width: 85vw;
  max-height: 85vh;
  width: auto;
  overflow: visible;
  position: relative;
  margin: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lightbox-content img,
.lightbox-inner img {
  max-width: 80vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.section .lightbox-info,
.lightbox-info {
  width: 100%;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1000;
  width: 40px;
  height: 40px;
  background: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark-text);
  font-size: 1.1rem;
  transition: var(--transition);
  border: none;
}

.lightbox-close:hover { background: var(--white); }

.lightbox-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 24px;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.lightbox-info h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.lightbox-info p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

/* === Responsive === */
/* === Related Blog Cards === */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.related-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

/* === Legal Pages Styling === */
.legal-page {
  background: var(--off-white);
  padding: 60px 0;
}

.legal-page .container {
  max-width: 960px;
}

.legal-page h1,
.legal-page h2,
.legal-page h3 {
  color: var(--dark-text);
  font-weight: 700;
}

.legal-page h1 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 12px;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 14px;
}

.legal-page p,
.legal-page li {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-page ul {
  margin: 16px 0 20px 20px;
}

.legal-page li {
  margin-bottom: 10px;
}

.legal-page a {
  color: var(--accent-orange);
  text-decoration: underline;
}

.legal-page a:hover {
  color: var(--accent-orange);
}

.legal-page .brochure-box {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 14px;
  padding: 24px;
  margin-top: 26px;
  box-shadow: var(--shadow-sm);
}

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

.related-card-inner img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.related-card-inner div {
  padding: 18px;
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-full-grid { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail-content { order: 0; }
  .blog-posts-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .blog-post-card { min-height: auto; margin-bottom: 0; }
  .blog-post-image { height: 220px; }
}

.blog-posts-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.blog-post-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  margin-bottom: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.related-card {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .logo-section { gap: 12px; }
  .company-tagline { font-size: 0.95rem; }
  .company-type { font-size: 0.65rem; }
  .nav-menu, .header-cta { display: none; }
  .mobile-toggle { display: flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--dark-text);
    padding: 100px 24px 40px;
    z-index: 999;
    gap: 4px;
    align-items: flex-start;
  }
  .nav-menu.open a {
    font-size: 1.2rem;
    padding: 12px 16px;
    width: 100%;
  }
  .nav-menu.open .btn { display: inline-flex; margin-top: 20px; }
  .mobile-toggle { z-index: 1001; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid-masonry { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { height: 250px; grid-row: span 1; }
  .gallery-item.wide { grid-column: span 1; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-full-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .why-items { grid-template-columns: 1fr; }
  .about-badge-float { left: 160px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .gallery-grid-masonry { grid-template-columns: 1fr; }
  .gallery-full-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .slider-arrows { display: none; }
}

/* === REVIEWS STYLES === */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

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

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.review-stars {
  font-size: 1.2rem;
  color: var(--accent-orange);
}

.review-meta {
  font-size: 0.8rem;
  color: var(--text-gray);
  font-weight: 500;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--dark-text);
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
  color: var(--dark-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  color: var(--dark-text);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.author-title {
  font-size: 0.8rem;
  color: var(--text-gray);
  font-weight: 500;
}

.reviews-category {
  margin-bottom: 60px;
}

.category-title {
  font-size: 1.4rem;
  color: var(--dark-text);
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-orange);
  display: inline-block;
}

.reviews-section {
  max-width: 1200px;
  margin: 0 auto;
}

/* Mobile Reviews */
@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .review-card {
    padding: 24px;
  }

  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .reviews-category {
    margin-bottom: 40px;
  }

  .category-title {
    font-size: 1.2rem;
  }
}

/* === Additional Device Responsive Enhancements === */

/* Maintain aspect ratio and responsiveness for all gallery items and media */
.gallery-item,
.gallery-item video,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#clients-carousel {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

#clients-carousel .carousel-item {
  min-width: 120px;
  flex: 0 0 auto;
  height: 90px;
  padding: 8px;
  border-radius: 8px;
  transition: transform .3s ease;
}

#clients-carousel .carousel-item img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

#clients-carousel .carousel-item:hover {
  transform: translateY(-2px);
}

.carousel-item-small {
  min-width: 180px;
  height: auto;
}

.carousel-item-large {
  min-width: 100%;
  height: 360px;
}

@media (min-width: 1400px) {
  .carousel-item-large {
    height: 420px;
  }
}

/* Adjust logo, text, spacing for smaller screens */
header .logo-img { max-height: 150px; height: 150px; }

@media (max-width: 1200px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .section-subtitle { font-size: 0.98rem; margin-bottom: 40px; }
  .divider-gold { margin: 12px auto 20px; }
}

@media (max-width: 992px) {
  .carousel-item-small { min-width: 150px; height: 140px; }
  .carousel-item-large { min-width: 100%; height: 360px; }
  #clients-carousel .carousel-item { min-width: 130px; height: 80px; }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .page-hero p { font-size: clamp(0.9rem, 3.5vw, 1.1rem); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid, .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  header .logo-img { max-height: 150px; height: 150px; }
  .section { padding: 60px 0; }
  .page-hero { padding: 112px 0 60px; }
  .page-hero h1 { font-size: clamp(1.4rem, 8vw, 1.8rem); }
  .page-hero p { font-size: clamp(0.85rem, 4vw, 1rem); }
  .gallery-preview-carousel {
    gap: 10px;
    margin: 28px 0;
  }
  .carousel-container {
    max-width: 100%;
  }
  .carousel-item-large {
    height: 420px;
  }
  .carousel-item-large .carousel-item-label {
    padding: 16px 18px;
    font-size: 1rem;
  }
  .clients-carousel .carousel-item, #clients-carousel .carousel-item { min-width: 110px; height: 72px; }
  #clients-carousel {
    gap: 12px !important;
  }
  #clients-carousel .carousel-item {
    min-width: 104px;
    height: 68px;
    padding: 6px;
    border-radius: 7px;
  }
  #clients-carousel .carousel-item img {
    max-height: 46px;
  }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .about-grid, .why-grid, .services-grid, .blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .section-badge, .section-title, .section-subtitle { text-align: center; }
  .section-badge { font-size: 0.65rem; padding: 5px 14px; }
  .section-title { font-size: 1.4rem; margin-bottom: 12px; }
  .section-subtitle { font-size: 0.92rem; margin-bottom: 20px; }
  .divider-responsive-left { margin: 12px auto 20px; }
  .btn { padding: 10px 16px; font-size: 0.9rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 576px) {
  header .logo-img { max-height: 120px; height: 120px; }
  .mobile-toggle { display: flex; }
  .nav-menu { display: none; }
  .page-hero h1 { font-size: clamp(1.2rem, 8.5vw, 1.6rem); }
  .page-hero p { font-size: 0.85rem; }
  .gallery-preview-carousel {
    gap: 8px;
  }
  #clients-carousel {
    gap: 10px !important;
  }
  #clients-carousel .carousel-item {
    min-width: 92px;
    height: 60px;
    padding: 5px;
    border-radius: 6px;
  }
  #clients-carousel .carousel-item img {
    max-height: 38px;
  }
  .carousel-arrow {
    width: 38px;
    height: 38px;
  }
  .carousel-item-large {
    height: 440px;
    border-radius: 18px;
  }
  .gallery-item { aspect-ratio: 4 / 3; min-height: 170px; }
  .review-card { padding: 18px; }
  .reviews-grid { gap: 16px; }
  .btn { padding: 9px 14px; font-size: 0.85rem; }
  .section { padding: 50px 0; }
  .stats-bar { padding: 20px 0; }
  .gallery-actions { flex-wrap: wrap; gap: 6px; }
  .gallery-btn { min-width: 90px; padding: 6px 10px; font-size: 0.78rem; }
}

@media (max-width: 420px) {
  header .logo-img { max-height: 120px; height: 120px; }
  .section-badge { font-size: 0.58rem; padding: 4px 12px; }
  .section-title { font-size: 1.2rem; }
  .section-subtitle { font-size: 0.85rem; }
  .carousel-item-large {
    height: 400px;
  }
  .carousel-item-large .carousel-item-label {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  .carousel-item-small { min-width: 114px; height: 110px; }
  #clients-carousel .carousel-item {
    min-width: 84px;
    height: 54px;
    padding: 4px;
    border-radius: 5px;
  }
  #clients-carousel .carousel-item img {
    max-height: 32px;
  }
  .gallery-grid { gap: 12px; }
  .blog-post-card, .related-card { min-height: auto; }
  .page-hero { padding: 40px 10px; }
  .container { padding: 0 10px; }
}

/* === Sitewide Page-Level Responsive Fixes === */
@media (max-width: 1200px) {
  .service-detail {
    gap: 32px;
    padding: 40px 0;
  }

  .service-detail-image img {
    height: 340px;
  }

  .contact-info-card,
  .contact-form {
    padding: 32px !important;
  }
}

@media (max-width: 992px) {
  .section:first-of-type {
    padding-top: 110px !important;
  }

  .hero-slider {
    min-height: 560px;
    height: auto;
  }

  .slide-content {
    padding: 100px 20px 70px;
  }

  .slide-title {
    max-width: 100%;
  }

  .slide-desc {
    max-width: 100%;
    font-size: 1rem;
  }

  .why-grid,
  .about-grid,
  .service-detail,
  .blog-full-grid,
  .blog-post-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .service-detail:nth-child(even) .service-detail-content {
    order: 0 !important;
  }

  .service-detail-image img {
    height: 300px;
  }

  .cta-content {
    padding: 0 12px;
  }

  .page-contact .section .container > div[style*="grid-template-columns:1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .page-contact .section .container > div[style*="repeat(4,1fr)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .page-about .section .container > div[style*="repeat(3,1fr)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .page-about .section .container > div[style*="grid-template-columns:1fr 2fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .page-about .section .container > div[style*="grid-template-columns:1fr 2fr"] > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .page-services .section .container > div[style*="repeat(4,1fr)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .page-services .section .container > div[style*="repeat(3,1fr)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .page-gallery .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .page-gallery .lightbox-content {
    max-width: 92vw;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  #header {
    min-height: 72px;
    height: 72px;
  }

  .header-inner {
    padding: 12px 16px;
  }

  .nav-menu.open {
    padding: 88px 20px 32px;
  }

  .container {
    padding: 0 14px !important;
  }

  .section,
  .section-sm,
  .section-lg {
    padding: 56px 0 !important;
  }

  .section:first-of-type {
    padding-top: 96px !important;
  }

  .section-title {
    font-size: 1.45rem !important;
  }

  .section-subtitle,
  p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .slide-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .stats-grid,
  .services-grid,
  .blog-grid,
  .gallery-grid,
  .reviews-grid,
  .footer-grid,
  .form-row,
  .related-grid,
  .gallery-full-grid,
  .gallery-grid-masonry {
    grid-template-columns: 1fr !important;
  }

  .stat-item {
    padding: 16px 12px;
  }

  .stat-number {
    font-size: 2.1rem;
  }

  .about-image-main img,
  .service-detail-image img,
  .gallery-item,
  .carousel-item-large {
    height: auto;
    min-height: 220px;
  }

  .contact-info-card,
  .contact-form,
  .legal-page .brochure-box {
    padding: 24px !important;
  }

  .lightbox-content,
  .lightbox-inner {
    max-width: 96vw;
    max-height: 86vh;
  }

  .lightbox-info {
    padding: 18px;
  }

  .page-contact .section .container > div[style*="repeat(4,1fr)"],
  .page-about .section .container > div[style*="repeat(3,1fr)"],
  .page-services .section .container > div[style*="repeat(4,1fr)"],
  .page-services .section .container > div[style*="repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  .page-about .section .container > div[style*="grid-template-columns:1fr 2fr"] > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .page-about .section .container > div[style*="padding-left:60px"] {
    padding-left: 28px !important;
  }

  .page-about .section .container > div[style*="padding-left:60px"] > div[style*="margin-bottom:32px"],
  .page-about .section .container > div[style*="padding-left:60px"] > div[style*="margin-bottom:40px"] {
    margin-bottom: 24px !important;
  }

  .page-gallery iframe,
  .page-gallery video,
  .page-gallery img {
    min-height: 220px;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 12px !important;
  }

  .section-title {
    font-size: 1.28rem !important;
  }

  .section-subtitle,
  p {
    font-size: 0.9rem;
  }

  .page-hero {
    padding: 132px 0 56px !important;
  }

  .page-hero p {
    max-width: 100%;
  }

  .slide-content {
    padding: 92px 16px 56px;
  }

  .slide-title {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .slide-desc {
    font-size: 0.92rem;
  }

  .service-card-body,
  .review-card,
  .related-card-inner div {
    padding: 20px !important;
  }

  .contact-info-card,
  .contact-form,
  .legal-page .brochure-box {
    padding: 18px !important;
  }

  .page-about .section .container > div[style*="padding-left:60px"] {
    padding-left: 20px !important;
  }

  .page-about .section .container > div[style*="padding-left:60px"] > div [style*="left:-44px"],
  .page-about .section .container > div[style*="left:-44px"] {
    left: -28px !important;
  }

  .page-gallery .lightbox-content {
    max-width: 98vw;
  }

  .gallery-actions {
    flex-direction: column;
  }

  .gallery-btn {
    width: 100%;
  }
}

/* === About Page Responsive Corrections === */
@media (max-width: 768px) {
  .page-about .about-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .page-about .section .container > div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:32px 0;"],
  .page-about .section .container > div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:16px;"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .page-about .section .container > div[style*="display:grid;grid-template-columns:1fr 2fr;gap:48px;align-items:start;"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .page-about .section .container > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px;"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .page-about .section .container > div[style*="max-width:800px;margin:0 auto;position:relative;padding-left:60px;"] {
    padding-left: 34px !important;
  }

  .page-about .section .container > div[style*="background:var(--white);border-radius:16px;padding:32px;box-shadow:var(--shadow-md);border-left:4px solid var(--accent-orange);"],
  .page-about .section .container > div[style*="background:linear-gradient(135deg,var(--dark-text),var(--header-gray));border-radius:16px;padding:32px;box-shadow:var(--shadow-md);"] {
    padding: 22px !important;
  }
}

@media (max-width: 480px) {
  .page-about .section .container > div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:32px 0;"],
  .page-about .section .container > div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:16px;"],
  .page-about .section .container > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px;"] {
    grid-template-columns: 1fr !important;
  }

  .page-about .section .container > div[style*="max-width:800px;margin:0 auto;position:relative;padding-left:60px;"] {
    padding-left: 22px !important;
  }
}

/* === COMPREHENSIVE RESPONSIVE GRID FIXES FOR MOBILE === */

/* ===== RESPONSIVE FIXES FOR ALL PAGES - MOBILE (MAX 768px) ===== */
@media (max-width: 768px) {
  /* Global grid fix for all inline grid styles */
  div[style*="display:grid;grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  div[style*="display:grid;grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  div[style*="display:grid;grid-template-columns:1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  div[style*="display:grid;grid-template-columns:1fr 2fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  div[style*="display:grid;grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  div[style*="display:grid;grid-template-columns:1fr 300px"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  div[style*="display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr))"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }

  /* CSS Grid Classes */
  .stats-grid,
  .services-grid,
  .blog-grid,
  .gallery-grid,
  .gallery-grid-masonry,
  .why-grid,
  .why-items,
  .footer-grid,
  .contact-form,
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Specific class overrides */
  .about-grid {
    grid-template-columns: 1fr !important;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

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

  /* Why section responsive */
  .why-items {
    grid-template-columns: 1fr !important;
  }

  .why-grid {
    gap: 40px !important;
  }

  /* Services and featured sections */
  .services-grid {
    gap: 20px !important;
  }

  .blog-grid {
    gap: 20px !important;
  }

  /* Gallery responsive */
  .gallery-grid-masonry {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .gallery-item {
    height: 200px !important;
  }

  .gallery-item.tall {
    height: 200px !important;
  }

  /* Contact form layout responsive */
  .contact-form {
    padding: 24px !important;
  }

  div[style*="display:grid;grid-template-columns:1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
  }

  .contact-info-card {
    margin-top: 24px;
  }

  /* Stats grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    padding: 16px 12px !important;
  }

  .stat-item:last-child {
    border-bottom: none !important;
  }
}

/* ===== RESPONSIVE FIXES FOR TABLETS (MAX 560px) ===== */
@media (max-width: 560px) {
  /* All grids collapse to single column */
  div[style*="display:grid"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .stat-item {
    padding: 14px 10px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  }

  .stat-item:last-child {
    border-bottom: none !important;
  }

  .stat-number {
    font-size: 2rem !important;
  }

  .stat-label {
    font-size: 0.8rem !important;
  }

  /* Gallery full responsive */
  .gallery-full-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Blog posts responsive */
  .blog-posts-list {
    grid-template-columns: 1fr !important;
  }

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

  /* Services responsive */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .service-card-body {
    padding: 18px !important;
  }

  /* Why section responsive */
  .why-items {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .why-item {
    padding: 20px 16px !important;
  }

  /* Footer responsive */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Contact form responsive */
  .contact-form {
    padding: 18px !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .contact-info-card {
    padding: 24px !important;
  }

  .contact-info-items {
    gap: 16px !important;
  }

  /* Gallery carousel responsive */
  .carousel-container {
    max-width: 100% !important;
  }

  .carousel-item-small {
    min-width: 160px !important;
    height: 160px !important;
  }

  /* About section responsive */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .about-image-main img {
    max-height: 200px !important;
    height: 200px !important;
  }

  /* Why grid responsive */
  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Blog full grid responsive */
  .blog-full-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Map responsive */
  .map-container {
    height: 280px !important;
  }

  /* Gallery item heights */
  .gallery-grid-masonry {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .gallery-item {
    height: 160px !important;
  }

  .gallery-item.tall {
    height: 160px !important;
  }
}

/* ===== ULTRA SMALL DEVICES (MAX 480px) ===== */
@media (max-width: 480px) {
  /* All grid layouts to single column */
  div[style*="display:grid"] {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .stats-grid,
  .services-grid,
  .blog-grid,
  .gallery-grid,
  .gallery-grid-masonry,
  .why-grid,
  .why-items,
  .footer-grid,
  .contact-form,
  .form-row,
  .about-grid,
  .blog-posts-list,
  .blog-full-grid,
  .gallery-full-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* More aggressive padding reductions */
  .stats-grid {
    gap: 10px !important;
  }

  .stat-item {
    padding: 12px 8px !important;
  }

  .stat-number {
    font-size: 1.8rem !important;
  }

  .stat-label {
    font-size: 0.75rem !important;
  }

  /* Services more compact */
  .service-card-body {
    padding: 16px 12px !important;
  }

  .service-card-body h3 {
    font-size: 1rem !important;
  }

  .service-card-body p {
    font-size: 0.85rem !important;
  }

  /* Blog more compact */
  .blog-card-body {
    padding: 16px !important;
  }

  .blog-card-body h3 {
    font-size: 0.95rem !important;
  }

  /* Why section compact */
  .why-item {
    padding: 16px 12px !important;
  }

  .why-item h4 {
    font-size: 0.95rem !important;
  }

  .why-item p {
    font-size: 0.8rem !important;
  }

  /* Footer compact */
  .footer-grid {
    gap: 16px !important;
  }

  .footer-col h4 {
    font-size: 0.95rem !important;
    margin-bottom: 12px !important;
  }

  .footer-links a {
    font-size: 0.8rem !important;
  }

  /* Contact form compact */
  .contact-form {
    padding: 16px !important;
  }

  .form-group {
    margin-bottom: 14px !important;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px !important;
    font-size: 0.9rem !important;
  }

  .form-group label {
    font-size: 0.8rem !important;
  }

  .contact-info-card {
    padding: 20px !important;
  }

  .contact-info-card h3 {
    font-size: 1.1rem !important;
  }

  .contact-info-item {
    gap: 12px !important;
  }

  /* About section ultra responsive */
  .about-grid {
    gap: 16px !important;
  }

  .about-image-main img {
    max-height: 160px !important;
    height: 160px !important;
  }

  .about-badge-float {
    padding: 10px 12px !important;
  }

  .about-badge-float .number {
    font-size: 1.8rem !important;
  }

  .about-badge-float .label {
    font-size: 0.7rem !important;
  }

  /* Why grid ultra responsive */
  .why-grid {
    gap: 20px !important;
  }

  /* Gallery ultra compact */
  .gallery-grid-masonry {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .gallery-item {
    height: 140px !important;
  }

  .gallery-item.tall {
    height: 140px !important;
  }

  .gallery-full-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Carousel ultra compact */
  .carousel-item-small {
    min-width: 120px !important;
    height: 120px !important;
  }

  .carousel-item-large {
    height: 240px !important;
  }

  /* Map ultra compact */
  .map-container {
    height: 240px !important;
  }

  /* Blog full grid ultra responsive */
  .blog-full-grid {
    gap: 16px !important;
  }

  /* Blog posts ultra responsive */
  .blog-posts-list {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Timeline responsive */
  div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px;"] {
    grid-template-columns: 1fr !important;
  }

  /* Sidebar responsive for blog post pages */
  div[style*="display:grid;grid-template-columns:1fr 300px"] {
    grid-template-columns: 1fr !important;
  }

  /* Heading sizes for mobile */
  h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem) !important;
  }

  h2 {
    font-size: clamp(1.3rem, 3vw, 1.8rem) !important;
  }

  h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem) !important;
  }
}

/* Final shared mobile overrides: keep header behavior and gallery layouts consistent */
@media (max-width: 768px) {
  #header {
    min-height: 72px !important;
    height: 72px !important;
  }

  #header.header-hidden {
    transform: translateY(calc(-100% - 12px)) !important;
  }

  .header-inner {
    min-height: 72px;
    padding: 12px 16px !important;
  }

  .nav-menu.open {
    top: 0;
    right: 0;
    width: min(82vw, 320px);
    height: 100vh;
    padding: 88px 20px 32px !important;
    overflow-y: auto;
  }

  .page-gallery .gallery-filters {
    gap: 8px;
    margin: 24px 0 28px !important;
  }

  .page-gallery .filter-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .page-gallery .gallery-grid,
  .page-gallery .gallery-full-grid,
  .page-gallery .gallery-grid-masonry {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .page-gallery .gallery-item,
  .page-gallery .gallery-full-item {
    height: auto !important;
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .page-gallery .gallery-item img,
  .page-gallery .gallery-full-item img,
  .page-gallery .gallery-item video,
  .page-gallery .gallery-item iframe {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: inherit;
  }

  .page-gallery .stats-bar .container {
    padding: 0 !important;
  }

  .page-gallery .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .page-gallery .lightbox-content {
    width: min(94vw, 560px);
  }
}

@media (max-width: 576px) {
  .section:first-of-type {
    padding-top: 92px !important;
  }

  .page-gallery .gallery-item,
  .page-gallery .gallery-full-item {
    min-height: 200px;
  }

  .page-gallery .gallery-overlay,
  .page-gallery .gallery-full-overlay {
    padding: 12px;
  }

  .page-gallery .gallery-actions {
    gap: 8px;
    flex-wrap: wrap;
  }

  .page-gallery .gallery-btn {
    min-width: 0;
    flex: 1 1 auto;
  }

  .page-about .section .container > div[style*="max-width:800px;margin:0 auto;position:relative;padding-left:60px;"] {
    max-width: 100% !important;
    padding-left: 30px !important;
    margin-top: 8px !important;
  }

  .page-about .section .container > div[style*="max-width:800px;margin:0 auto;position:relative;padding-left:60px;"] > div[style*="position:absolute;left:28px;top:0;bottom:0;width:3px;"] {
    left: 12px !important;
    width: 2px !important;
  }

  .page-about .section .container > div[style*="position:relative;margin-bottom:60px;"],
  .page-about .section .container > div[style*="position:relative;"].fade-right {
    margin-bottom: 22px !important;
  }

  .page-about .section .container > div[style*="position:absolute;left:-44px;top:4px;width:28px;height:28px;"] {
    left: -24px !important;
    top: 10px !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 0.62rem !important;
    box-shadow: 0 0 0 3px rgba(213,77,41,0.18) !important;
  }

  .page-about .section .container > div[style*="background:var(--white);border-radius:16px;padding:32px;box-shadow:var(--shadow-md);border-left:4px solid var(--accent-orange);"],
  .page-about .section .container > div[style*="background:linear-gradient(135deg,var(--dark-text),var(--header-gray));border-radius:16px;padding:32px;box-shadow:var(--shadow-md);"] {
    border-radius: 14px !important;
    padding: 16px 16px 16px 18px !important;
  }

  .page-about .section .container > div[style*="font-size:0.75rem;font-weight:700;color:var(--accent-orange);letter-spacing:2px;text-transform:uppercase;margin-bottom:8px;"] {
    font-size: 0.6rem !important;
    letter-spacing: 1px !important;
    margin-bottom: 6px !important;
  }

  .page-about .section .container h3[style*="font-size:1.3rem;margin-bottom:12px;color:var(--dark-text);"],
  .page-about .section .container h3[style*="font-size:1.3rem;margin-bottom:12px;color:var(--white);"] {
    font-size: 1rem !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
  }

  .page-about .section .container > div[style*="background:var(--white);border-radius:16px;padding:32px;box-shadow:var(--shadow-md);border-left:4px solid var(--accent-orange);"] p,
  .page-about .section .container > div[style*="background:linear-gradient(135deg,var(--dark-text),var(--header-gray));border-radius:16px;padding:32px;box-shadow:var(--shadow-md);"] p {
    font-size: 0.84rem !important;
    line-height: 1.6 !important;
  }
}

@media (max-width: 420px) {
  .page-about .section .container > div[style*="max-width:800px;margin:0 auto;position:relative;padding-left:60px;"] {
    padding-left: 24px !important;
  }

  .page-about .section .container > div[style*="position:absolute;left:-44px;top:4px;width:28px;height:28px;"] {
    left: -20px !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 0.56rem !important;
  }

  .page-about .section .container > div[style*="background:var(--white);border-radius:16px;padding:32px;box-shadow:var(--shadow-md);border-left:4px solid var(--accent-orange);"],
  .page-about .section .container > div[style*="background:linear-gradient(135deg,var(--dark-text),var(--header-gray));border-radius:16px;padding:32px;box-shadow:var(--shadow-md);"] {
    padding: 14px 14px 14px 16px !important;
  }

  .page-about .section .container h3[style*="font-size:1.3rem;margin-bottom:12px;color:var(--dark-text);"],
  .page-about .section .container h3[style*="font-size:1.3rem;margin-bottom:12px;color:var(--white);"] {
    font-size: 0.94rem !important;
  }
}
