/* ============================================================
   Quick-N-Out RV Services — Main Stylesheet
   Colors: #ff914d (primary), #2e2c2c (secondary)
   ============================================================ */

/* === CSS Variables === */
:root {
  --primary: #ff914d;
  --primary-dark: #e67d3a;
  --primary-light: #ffb380;
  --secondary: #2e2c2c;
  --secondary-light: #3e3c3c;
  --dark: #1a1818;
  --light: #f7f5f2;
  --white: #ffffff;
  --gray: #6c757d;
  --light-gray: #ebebeb;
  --text: #3a3838;
  --heading-font: 'Oswald', sans-serif;
  --body-font: 'Nunito', sans-serif;
  --border-radius: 8px;
  --shadow: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.18);
  --transition: all 0.3s ease;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--secondary);
  line-height: 1.2;
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }

.section-padding { padding: 90px 0; }

/* === Scrollbar === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ============================================================
   TOP BAR
   ============================================================ */
#top-bar {
  background: var(--secondary);
  color: var(--white);
  padding: 9px 0;
  font-size: 15.5px;
  font-family: var(--body-font);
  font-weight: 600;
}

.topbar-link {
  color: #ccc;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.topbar-link:hover { color: var(--primary); }
.topbar-link i { color: var(--primary); }
.topbar-divider { color: #555; }
.topbar-label { color: #aaa; font-size: 12px; }
.topbar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 14px;
  transition: var(--transition);
}
.topbar-social:hover { background: var(--primary); color: var(--white); }

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0px 0;
  transition: all 0.4s ease;
  z-index: 1000;
}

#mainNav.scrolled {
  padding: 6px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-logo {
  height: 137px;
  width: auto;
  transition: var(--transition);
}

@media (max-width: 1200px) { 
.nav-logo {
    height: 81px;
    width: auto;
    transition: var(--transition);
}
}
#mainNav.scrolled .nav-logo { height: 50px; }

.navbar-toggler {
  border: 2px solid var(--primary);
  padding: 6px 10px;
  border-radius: var(--border-radius);
}
.toggler-icon { color: var(--primary); font-size: 20px; }

.nav-link {
  color: var(--secondary) !important;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 8px 15px !important;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition);
}
@media (max-width: 1400px) { 
	.nav-link {
    font-size: 14px;
    padding: 8px 8px !important;
}
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.nav-link:hover::after { transform: scaleX(1); }

.dropdown-menu {
  border: none;
  border-top: 3px solid var(--primary);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  padding: 8px 0;
  min-width: 240px;
}

.dropdown-item {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  color: var(--secondary);
  transition: var(--transition);
}
.dropdown-item:hover {
  background: var(--primary);
  color: var(--white);
  padding-left: 26px;
}
.dropdown-item i { color: var(--primary); transition: var(--transition); }
.dropdown-item:hover i { color: var(--white); }

.btn-primary-custom {
  background: var(--primary);
  color: var(--white) !important;
  border: 2px solid var(--primary);
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-block;
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 145, 77, 0.4);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
#hero { position: relative; overflow: hidden; }

.hero-swiper { width: 100%; height: 100vh; min-height: 600px; }

.hero-slide {
  position: relative;
  background-size: cover!important;
  background-position: center center!important;
  display: flex;
  align-items: center;
}

/* Slide backgrounds — images set via data-bg="" in index.html */
.slide-1 { background: linear-gradient(135deg, #1a1518 0%, #3d2b1a 40%, #5c3f2a 100%); }
.slide-2 { background: linear-gradient(135deg, #0d1f2e 0%, #1a3a5c 45%, #1e4e7a 100%); }
.slide-3 { background: linear-gradient(135deg, #1e2a12 0%, #2e4a1a 45%, #3d6124 100%); }
.slide-4 { background: linear-gradient(135deg, #1a1a2e 0%, #2e2c50 45%, #3e3870 100%); }

/* Hero texture overlay */
.hero-slide::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.02'%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");
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.05) 100%);
  z-index: 2;
}

.hero-slide .container, .hero-slide .row {
  position: relative;
  z-index: 3;
  height: 100%;
}

.hero-content { padding: 20px 0; }

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 18px;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  color: var(--white);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title span { color: var(--primary); }

.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-hero-primary {
  background: var(--primary);
  color: var(--white) !important;
  border: 2px solid var(--primary);
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}
.btn-hero-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,145,77,0.5);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}
.btn-hero-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

/* Hero Nav Buttons */
.hero-next, .hero-prev {
  color: var(--white);
  background: rgba(255,145,77,0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.hero-next::after, .hero-prev::after { display: none; }
.hero-next:hover, .hero-prev:hover { background: var(--primary); }
.hero-next i, .hero-prev i { font-size: 16px; }

.hero-pagination { bottom: 24px !important; }
.hero-pagination .swiper-pagination-bullet {
  background: rgba(255,255,255,0.5);
  opacity: 1;
  width: 10px;
  height: 10px;
  transition: var(--transition);
}
.hero-pagination .swiper-pagination-bullet-active {
  background: var(--primary);
  width: 30px;
  border-radius: 5px;
}

/* ============================================================
   SERVICE QUICK BOXES
   ============================================================ */
#service-boxes { background: var(--secondary); }

.service-quick-row { }

.service-quick-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.service-quick-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: 0;
}
.service-quick-box:hover::before { transform: translateX(0); }
.service-quick-box > * { position: relative; z-index: 1; }

.sqb-icon {
  width: 46px;
  height: 46px;
  background: rgba(255,145,77,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}
.service-quick-box:hover .sqb-icon { background: rgba(255,255,255,0.2); color: var(--white); }

.sqb-title {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
}
.sqb-sub { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.service-quick-box:hover .sqb-sub { color: rgba(255,255,255,0.85); }

.sqb-arrow { margin-left: auto; color: var(--primary); font-size: 14px; transition: var(--transition); }
.service-quick-box:hover .sqb-arrow { color: var(--white); transform: translateX(4px); }

/* ============================================================
   SECTION COMMON ELEMENTS
   ============================================================ */
.section-tag {
  display: inline-block;
  color: var(--primary);
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--primary);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.section-title span { color: var(--primary); }

.section-subtitle {
  color: var(--gray);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 0;
  line-height: 1.7;
}

.text-center .section-subtitle { text-align: center; }

.section-text {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about { background: var(--white); }

.about-img-wrap { position: relative; }

.about-img-placeholder {
  width: 100%;
  padding-top: 75%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}

/* Hide placeholder overlay when a real image is set via inline style */
.about-img-placeholder[style] .about-img-inner { display: none; }

.about-img-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary) 0%, #4a4540 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.about-img-inner i {
  font-size: 80px;
  color: var(--primary);
  opacity: 0.6;
}
.about-img-inner span {
  color: rgba(255,255,255,0.7);
  font-family: var(--heading-font);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(255,145,77,0.5);
  border: 4px solid var(--white);
}
.ab-number {
  font-family: var(--heading-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}
.ab-text { font-size: 12px; font-weight: 600; line-height: 1.3; text-align: center; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 24px 0; }
@media (max-width: 576px) { .about-features { grid-template-columns: 1fr; } }

.af-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.af-item i { color: var(--primary); font-size: 16px; flex-shrink: 0; }

/* certificates */
.partner-logos-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.partner-logo-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-right: 1px solid #e8e6e3;
}

.partner-logo-item:last-child {
  border-right: none;
}

.partner-logo-item img {
  width: 100%;
  height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.3s ease;
}

.partner-logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 575px) {
  .partner-logos-row { gap: 10px; padding: 14px; }
  .partner-logo-item img { height: 38px; }
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--secondary);
  padding: 70px 0;
}

.stat-box { padding: 20px; }

.stat-icon {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 12px;
}

.stat-num {
  font-family: var(--heading-font);
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.process-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.process-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.process-card:hover::before { transform: scaleX(1); }

.process-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--heading-font);
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,145,77,0.1);
  line-height: 1;
}

.process-icon {
  width: 70px;
  height: 70px;
  background: rgba(255,145,77,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  margin: 0 auto 20px;
  transition: var(--transition);
}
.process-card:hover .process-icon { background: var(--primary); color: var(--white); }

.process-card h5 {
  font-family: var(--heading-font);
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.process-card p { font-size: 14.5px; color: var(--gray); line-height: 1.7; }

/* ============================================================
   SERVICES SECTIONS
   ============================================================ */
.service-section { padding: 80px 0; border-bottom: 1px solid #f0eeeb; }
.service-section.service-alt { background: var(--light); }

.service-content-wrap { padding: 0 10px; }

.service-icon-badge {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(255,145,77,0.35);
}

.service-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.service-subtitle {
  color: var(--primary);
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.5;
}

.service-content-wrap p {
  color: var(--gray);
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.service-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.sf-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.sf-item i { color: var(--primary); margin-top: 3px; flex-shrink: 0; font-size: 14px; }

/* Service Image Placeholder */
.service-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}

.service-img-ph {
  width: 100%;
  padding-top: 73%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  display: block;
  background-size: cover;
  background-position: center;
}

/* Hide placeholder text/icons when a real image is set via inline style */
.service-img-ph[style] i,
.service-img-ph[style] span,
.service-img-ph[style] small { display: none; }

.ph-roof     { background-image: linear-gradient(135deg, #2e2c2c 0%, #4a4540 100%); }
.ph-ac       { background-image: linear-gradient(135deg, #0d1f2e 0%, #1e4e7a 100%); }
.ph-awning   { background-image: linear-gradient(135deg, #2a1a0e 0%, #6b3a1a 100%); }
.ph-slideout { background-image: linear-gradient(135deg, #1a2a1e 0%, #2e5c3e 100%); }
.ph-plumbing { background-image: linear-gradient(135deg, #0a1a2a 0%, #1a3a5c 100%); }
.ph-appliance{ background-image: linear-gradient(135deg, #1e1a2e 0%, #3e2a5c 100%); }

.service-img-ph i,
.service-img-ph span,
.service-img-ph small {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.service-img-ph i {
  font-size: 64px;
  color: rgba(255,255,255,0.25);
  top: 50%;
  transform: translate(-50%, -60%);
}
.service-img-ph span {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  bottom: 55px;
  text-align: center;
  white-space: nowrap;
}
.service-img-ph small {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  bottom: 32px;
  text-align: center;
  white-space: nowrap;
}

.service-img-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(255,145,77,0.4);
  white-space: nowrap;
  z-index: 5;
}
.service-img-badge.badge-left { right: auto; left: -16px; bottom: -16px; }
.service-img-badge i { font-size: 18px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #1a1818 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-title {
  color: var(--white);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cta-sub { color: rgba(255,255,255,0.7); font-size: 16px; }

.btn-cta-call {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 13px 26px;
  border-radius: 50px;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-block;
}
.btn-cta-call:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-cta-quote {
  background: var(--primary);
  color: var(--white) !important;
  border: 2px solid var(--primary);
  padding: 13px 26px;
  border-radius: 50px;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-block;
}
.btn-cta-quote:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,145,77,0.4);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.review-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 14px;
}
.review-stars i { color: #ffc107; font-size: 20px; }
.review-stars span {
  color: var(--gray);
  font-weight: 700;
  font-size: 15px;
  margin-left: 8px;
}

.testimonial-swiper { padding-bottom: 50px !important; }
.testimonial-swiper .swiper-wrapper { align-items: stretch; }

.review-card {
  background: var(--white);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.08);
  height: 100%;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  border-bottom-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}

.rc-stars { margin-bottom: 14px; }
.rc-stars i { color: #ffc107; font-size: 15px; }

.rc-text {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.75;
  flex-grow: 1;
  font-style: italic;
  margin-bottom: 20px;
}

.rc-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--light-gray);
}

.rc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.rc-name {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
}
.rc-location { font-size: 12px; color: var(--gray); }

.rc-google { color: #4285f4; font-size: 20px; }

.testimonial-pagination .swiper-pagination-bullet {
  background: var(--light-gray);
  opacity: 1;
}
.testimonial-pagination .swiper-pagination-bullet-active { background: var(--primary); }

.btn-google-review {
  background: var(--white);
  color: #4285f4 !important;
  border: 2px solid #4285f4;
  padding: 12px 30px;
  border-radius: 50px;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-block;
}
.btn-google-review:hover {
  background: #4285f4;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(66,133,244,0.3);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact { background: var(--white); }

.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}

.form-label {
  font-weight: 700;
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cf-input {
  border: 2px solid #e8e6e3;
  border-radius: var(--border-radius);
  padding: 12px 16px;
  font-family: var(--body-font);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
}
.cf-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255,145,77,0.15);
}
.cf-input::placeholder { color: #b0aaa6; }

textarea.cf-input { resize: vertical; min-height: 130px; }

.contact-info-wrap {
  background: var(--secondary);
  color: var(--white);
  border-radius: 16px;
  padding: 40px;
  height: 100%;
}

.ci-heading {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.ci-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,145,77,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.ci-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
  font-weight: 700;
}

.ci-value {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  transition: var(--transition);
}
a.ci-value:hover { color: var(--primary); }

.service-area-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-area-list li {
  padding: 4px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-area-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer { background: var(--dark); }

.footer-top { padding: 70px 0 50px; }

.footer-logo {
  max-height: 200px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}

.footer-about {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social { display: flex; gap: 10px; }
.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  text-decoration: none;
}
.footer-social-btn:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

.footer-heading {
  color: var(--white);
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 17px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before {
  content: '›';
  color: var(--primary);
  font-size: 18px;
  line-height: 1;
}
.footer-links a:hover { color: var(--primary); padding-left: 6px; }

.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}
.footer-contact-list i { color: var(--primary); margin-top: 8px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,0.55); text-decoration: none; transition: var(--transition); font-size: 17px; }
.footer-contact-list a:hover { color: var(--primary); }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 13px; margin: 0; }
.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--primary); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(255,145,77,0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.35s ease;
  z-index: 999;
  text-decoration: none;
}
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Loading bar */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.loaded { opacity: 0; visibility: hidden; }
.loader-logo { height: 90px; animation: pulse 1.2s ease-in-out infinite; }
.loader-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  animation: loadbar 1.2s ease forwards;
}
@keyframes loadbar {
  from { width: 0; }
  to   { width: 100%; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .section-padding { padding: 70px 0; }
  .hero-swiper { height: 80vh; }
  .service-section { padding: 60px 0; }
  .about-badge { bottom: -10px; right: -10px; width: 90px; height: 90px; }
  .ab-number { font-size: 24px; }
  .service-img-badge { display: none; }
}

@media (max-width: 767px) {
  #top-bar { font-size: 12px; padding: 7px 0; }
  .section-padding { padding: 55px 0; }
  .hero-swiper { height: 70vh; min-height: 500px; }
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .btn-hero-primary, .btn-hero-outline { padding: 12px 22px; font-size: 14px; }
  .service-quick-box { padding: 14px 12px; gap: 8px; }
  .sqb-title { font-size: 13px; }
  .sqb-sub { display: none; }
  .sqb-arrow { display: none; }
  .sqb-icon { width: 36px; height: 36px; font-size: 16px; }
  .contact-form-wrap, .contact-info-wrap { padding: 28px 22px; }
  .stat-num { font-size: 40px; }
  .cta-section { text-align: center; }
  .cta-section .col-lg-4 { margin-top: 20px; }
  .btn-cta-call, .btn-cta-quote { display: block; width: 100%; margin-bottom: 10px; text-align: center; }
}

@media (max-width: 575px) {
  .hero-swiper { height: 90vh; }
  .hero-title { font-size: 26px; }
  .hero-badge { font-size: 11px; }
  .hero-btns { flex-direction: column; }
  .btn-hero-primary, .btn-hero-outline { text-align: center; }
  .about-badge { width: 80px; height: 80px; }
  .ab-number { font-size: 20px; }
  .about-features { grid-template-columns: 1fr; }
  #navMenu { background: var(--white); padding: 16px; border-top: 2px solid var(--light-gray); }
  .nav-link::after { display: none; }
  .dropdown-menu { box-shadow: none; border: 1px solid var(--light-gray); }
}

/* Highlight active nav items on scroll */
.nav-link.active-section { color: var(--primary) !important; }
.nav-link.active-section::after { transform: scaleX(1); }

/* ============================================================
   CREDENTIALS / LICENSING SECTION
   ============================================================ */
.credentials-section {
  background: var(--light);
  position: relative;
  overflow: hidden;
}
.credentials-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,145,77,0.06);
  pointer-events: none;
}

.license-card-main {
  background: var(--secondary);
  border-radius: 14px;
  padding: 26px 28px;
  margin-bottom: 4px;
}

.lc-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}

.lc-org-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.lc-org-badge {
  background: var(--primary);
  color: var(--white);
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
}
.lc-org-rvia {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.lc-title-wrap h4 {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.lc-title-wrap p {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  margin: 0;
}

.lc-desc {
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}

.license-item {
  background: var(--white);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: var(--transition);
  border-left: 3px solid transparent;
  height: 100%;
}
.license-item:hover {
  border-left-color: var(--primary);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.license-item i {
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

@media (max-width: 767px) {
  .lc-header { flex-direction: column; gap: 12px; }
  .lc-org-badges { flex-direction: row; }
}


/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-section {
  background: var(--light);
}

/* 4-column grid — enforces square items */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  cursor: pointer;
  aspect-ratio: 1 / 1;   /* forces square shape */
  background: var(--light-gray);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

/* Hover overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 145, 77, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-overlay i {
  color: var(--white);
  font-size: 28px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.lb-active {
  opacity: 1;
  visibility: visible;
}

.lb-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lb-inner img {
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transition: opacity 0.2s ease;
}

.lb-inner img.lb-fade {
  opacity: 0;
}

.lb-caption {
  color: rgba(255,255,255,0.85);
  font-family: var(--heading-font);
  font-size: 17px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 4px;
  text-align: center;
}

.lb-counter {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  font-family: var(--body-font);
  margin: 0;
  text-align: center;
}

/* Close / Prev / Next buttons */
.lb-close,
.lb-prev,
.lb-next {
  position: fixed;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.25s ease, transform 0.25s ease;
  z-index: 9001;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.lb-close { top: 20px;  right: 20px; }
.lb-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); }

.lb-prev:hover,
.lb-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* ============================================================
   GALLERY RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}