﻿/* =============================================
   PEST GUARD PRO - Custom Stylesheet
   Red & White Corporate Theme
   ============================================= */

/* --- Root Variables --- */
:root {
  --red: #c0392b;
  --red-dark: #96281b;
  --red-light: #e74c3c;
  --white: #ffffff;
  --off-white: #f9f9f9;
  --gray-light: #f4f4f4;
  --gray: #6c757d;
  --dark: #1a1a1a;
  --text: #333333;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-hover: 0 8px 30px rgba(192,57,43,0.25);
  --transition: all 0.3s ease;
  --radius: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

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

ul { list-style: none; padding: 0; margin: 0; }

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

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

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

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--red);
  margin: 0 auto 1rem;
  border-radius: 2px;
}

.section-divider.left { margin: 0 0 1rem; }

/* --- Buttons --- */
.btn-red {
  background: var(--red);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--red);
  transition: var(--transition);
  display: inline-block;
  font-size: 0.95rem;
}

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

.btn-outline-red {
  background: transparent;
  color: var(--red);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--red);
  transition: var(--transition);
  display: inline-block;
  font-size: 0.95rem;
}

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

.btn-white {
  background: var(--white);
  color: var(--red);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  border: 2px solid var(--white);
  transition: var(--transition);
  display: inline-block;
}

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

/* --- Navbar --- */
#mainNav {
  background: var(--white);
  padding: 0;
  border-top: 3px solid var(--red);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  z-index: 999;
}

#mainNav.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.97);
}

#mainNav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

#mainNav .brand-logo {
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(192,57,43,0.35);
  transition: var(--transition);
  flex-shrink: 0;
}

#mainNav .navbar-brand:hover .brand-logo {
  background: var(--red-dark);
  transform: rotate(-6deg) scale(1.05);
}

#mainNav .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

#mainNav .brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.3px;
}

#mainNav .brand-name span { color: var(--red); }

#mainNav .brand-tagline {
  font-size: 0.66rem;
  color: var(--gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Nav links */
#mainNav .nav-link {
  color: var(--dark) !important;
  font-weight: 600;
  padding: 0.55rem 0.9rem !important;
  margin: 0 2px;
  position: relative;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 6px;
  transition: color 0.25s ease, background 0.25s ease;
}

#mainNav .nav-link::after { display: none; }

#mainNav .nav-link:hover {
  color: var(--red) !important;
  background: #fff0ef;
}

#mainNav .nav-link.active {
  color: var(--red) !important;
  background: #fff0ef;
}

/* Active dot indicator */
#mainNav .nav-link.active::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}

/* Dropdown toggle â€” suppress bootstrap default ::after */
#mainNav .dropdown-toggle::after {
  display: inline-block;
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.65rem;
  margin-left: 5px;
  vertical-align: middle;
  border: none;
  transition: transform 0.25s ease;
}

#mainNav .dropdown-toggle[aria-expanded='true']::after {
  transform: rotate(180deg);
}

/* CTA button */
#mainNav .nav-cta {
  background: var(--red);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 9px 24px !important;
  margin-left: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 14px rgba(192,57,43,0.35);
  position: relative;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#mainNav .nav-cta i {
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
}

#mainNav .nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

#mainNav .nav-cta:hover::before { transform: scaleX(1); }

#mainNav .nav-cta:hover {
  background: var(--red-dark) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,57,43,0.45);
}

/* Pulse ring on CTA */
#mainNav .nav-cta .pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid var(--red);
  opacity: 0;
  animation: navPulse 2s ease-out infinite;
}

@keyframes navPulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.12); }
}

/* Hamburger */
.navbar-toggler {
  border: 2px solid var(--red);
  padding: 5px 10px;
  border-radius: 8px;
}

.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(192,57,43,0.2); }

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(192, 57, 43, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile nav */
@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    background: var(--white);
    border-top: 1px solid #f0f0f0;
    padding: 12px 0 16px;
    margin-top: 8px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  #mainNav .nav-link { padding: 10px 16px !important; border-radius: 8px; margin: 2px 8px; }
  #mainNav .nav-cta  { margin: 10px 8px 0; display: block; text-align: center; }
}

/* --- Top Bar --- */
.top-bar {
  background: var(--red);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
}

.top-bar a { color: var(--white); }
.top-bar a:hover { color: rgba(255,255,255,0.8); }

/* --- Hero Banner --- */
/* Old gradient/glow rules removed — hero now uses full banner image only */
#heroParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Hero text entrance */
.hero-text-col {
  animation: heroTextIn 0.9s cubic-bezier(0.22,1,0.36,1) both;
  padding-top: 10px;
}

@keyframes heroTextIn {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 0.9rem;
  backdrop-filter: blur(6px);
  animation: badgePop 0.6s 0.3s both;
}

@keyframes badgePop {
  from { opacity: 0; transform: scale(0.8) translateY(-10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Hero heading — two-line structure */
.hero-heading {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-line-static {
  display: block;
  color: var(--white);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  white-space: nowrap;
}

.hero-line-animated {
  display: block;
  margin-top: 2px;
  height: clamp(2.4rem, 4.5vw, 3.6rem);
  overflow: hidden;
  line-height: 1;
}

.hero-word {
  display: inline-block;
  color: #ffd700;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  white-space: nowrap;
  position: relative;
  /* animation class toggled by JS */
}

/* Word slide-up-out animation */
@keyframes wordOut {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  40%  { opacity: 0; transform: translateY(-40px) scale(0.95); }
  100% { opacity: 0; transform: translateY(-40px) scale(0.95); }
}

/* Word slide-in-up animation */
@keyframes wordIn {
  0%   { opacity: 0; transform: translateY(40px) scale(0.95); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-word.anim-out {
  animation: wordOut 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-word.anim-in {
  animation: wordIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Underline bar beneath the animated word */
.hero-line-animated::after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #ffd700, rgba(255,215,0,0.2));
  border-radius: 2px;
  margin-top: 4px;
  animation: underlineGrow 0.5s 0.3s ease forwards;
}

@keyframes underlineGrow {
  to { width: 100%; }
}

/* hero typewriter cursor — removed, using word-swap animation instead */

#hero .lead {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  max-width: 480px;
  line-height: 1.7;
  animation: heroTextIn 0.9s 0.2s both;
}

/* Hero CTA buttons */
.btn-hero-cta {
  animation: btnPop 0.6s 0.6s both;
  position: relative;
  overflow: hidden;
}

.btn-hero-secondary {
  animation: btnPop 0.6s 0.75s both;
}

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

/* Stats */
.hero-stats {
  display: flex;
  gap: 1.4rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
  animation: heroTextIn 0.9s 0.4s both;
}

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

.hero-stat .num {
  font-size: 1.7rem;
  font-weight: 900;
  color: #ffd700;
  line-height: 1;
  text-shadow: 0 0 20px rgba(255,215,0,0.4);
}

.hero-stat .lbl {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 2px;
}

/* ---- Hero Visual (image side) ---- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroImgIn 1s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes heroImgIn {
  from { opacity: 0; transform: translateX(60px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* Rotating rings */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-ring-1 {
  width: 360px; height: 360px;
  animation: ringRotate 18s linear infinite;
  border-style: dashed;
  border-color: rgba(255,215,0,0.2);
}

.hero-ring-2 {
  width: 290px; height: 290px;
  animation: ringRotate 12s linear infinite reverse;
  border-color: rgba(255,255,255,0.15);
}

@keyframes ringRotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* hero-img-frame removed â€” replaced by hero-illus-card */

/* Floating badge cards */
.hero-badge-float {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 8px 13px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.hero-badge-float i { color: var(--red); font-size: 1rem; flex-shrink: 0; }

.hero-badge-float.b1 { top: 10px;  right: -12px; animation: float 4s 0s   ease-in-out infinite; }
.hero-badge-float.b2 { bottom: 50px; left: -12px;  animation: float 4s 1s   ease-in-out infinite; }
.hero-badge-float.b3 { top: 42%;   left: -22px;  animation: float 4s 0.5s ease-in-out infinite; }

/* Shield badge bottom-right of image */
.hero-shield-badge {
  position: absolute;
  bottom: 20px;
  right: -15px;
  background: var(--red);
  color: var(--white);
  border-radius: 12px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(192,57,43,0.5);
  animation: float 4s 1.5s ease-in-out infinite;
}

.hero-shield-badge i { font-size: 1.3rem; }
.hero-shield-badge strong { display: block; font-size: 0.82rem; line-height: 1.2; }
.hero-shield-badge small  { font-size: 0.68rem; opacity: 0.8; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  text-align: center;
  animation: heroScrollBounce 2s ease-in-out infinite;
  z-index: 2;
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);  opacity: 0.55; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-ring-1 { width: 300px; height: 300px; }
  .hero-ring-2 { width: 240px; height: 240px; }
  .hero-img-frame { width: 270px; height: 340px; }
  .hero-badge-float.b3 { display: none; }
}

@media (max-width: 767.98px) {
  .hero-img-frame { width: 230px; height: 280px; }
  .hero-badge-float.b1, .hero-badge-float.b2 { display: none; }
  .hero-shield-badge { right: 0; }
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  text-align: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- About Section --- */
#about { padding: 90px 0; background: var(--white); }

.about-img-wrap {
  position: relative;
  display: inline-block;
}

.about-img-wrap img {
  border-radius: 16px;
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
  height: 450px;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--red);
  color: var(--white);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-hover);
}

.about-badge .big { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.about-badge .small { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; }

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.2rem;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #fff0ef;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.1rem;
}

.about-feature h5 { font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.about-feature p { font-size: 0.88rem; color: var(--gray); margin: 0; }

/* --- Services Section --- */
#services { padding: 90px 0; background: var(--gray-light); }

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border-bottom: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--red);
}

.service-icon {
  width: 75px;
  height: 75px;
  background: #fff0ef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 2rem;
  color: var(--red);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--red);
  color: var(--white);
  transform: rotateY(360deg);
  transition: transform 0.6s ease, background 0.3s;
}

.service-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.88rem; color: var(--gray); margin-bottom: 1rem; }

.service-link {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-link:hover { color: var(--red-dark); gap: 8px; }

/* --- Why Choose Us --- */
#why-us { padding: 90px 0; background: var(--white); }

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border-radius: 14px;
  background: var(--gray-light);
  margin-bottom: 1.2rem;
  transition: var(--transition);
}

.why-card:hover {
  background: #fff0ef;
  transform: translateX(5px);
}

.why-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
}

.why-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.why-card p { font-size: 0.87rem; color: var(--gray); margin: 0; }

/* --- Counter Section --- */
#counters {
  padding: 70px 0;
  background: var(--red);
  position: relative;
  overflow: hidden;
}

#counters::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
}

.counter-box { text-align: center; padding: 20px; }

.counter-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: block;
}

.counter-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  margin-top: 6px;
  display: block;
}

.counter-icon {
  font-size: 2rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}

/* --- Working Process --- */
#process { padding: 90px 0; background: var(--gray-light); }

.process-step {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.process-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  position: relative;
  z-index: 1;
}

.process-number::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: translateY(-50%);
}

.process-step:last-child .process-number::after { display: none; }

.process-icon {
  font-size: 2.2rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.process-step h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.process-step p { font-size: 0.87rem; color: var(--gray); }

/* --- Service Areas --- */
#areas { padding: 90px 0; background: var(--white); }

.area-tag {
  display: inline-block;
  background: #fff0ef;
  color: var(--red);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 5px;
  border: 1px solid #ffd0cc;
  transition: var(--transition);
  cursor: default;
}

.area-tag:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: translateY(-2px);
}

/* --- Testimonials --- */
#testimonials { padding: 90px 0; background: var(--gray-light); }

.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  height: 100%;
  position: relative;
  transition: var(--transition);
}

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

.testimonial-quote {
  font-size: 3rem;
  color: var(--red);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0f0f0;
  padding-top: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-author h6 { font-size: 0.95rem; font-weight: 700; margin: 0; }
.testimonial-author span { font-size: 0.8rem; color: var(--gray); }

.stars { color: #f39c12; font-size: 0.85rem; margin-bottom: 0.8rem; }

/* --- CTA Section --- */
#cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-light) 100%);
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

#cta h2 {
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 800;
}

#cta p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }

/* --- Contact Section --- */
#contact { padding: 90px 0; background: var(--white); }

.contact-info-card {
  background: var(--red);
  border-radius: 16px;
  padding: 40px 32px;
  color: var(--white);
  height: 100%;
}

.contact-info-card h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 0.5rem; }
.contact-info-card p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.4rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item h6 { font-size: 0.82rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.contact-item p { font-size: 0.95rem; color: var(--white); margin: 0; font-weight: 500; }

.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.form-control, .form-select {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}

.form-label { font-weight: 600; font-size: 0.88rem; color: var(--text); }

/* --- FAQ --- */
#faq { padding: 90px 0; background: var(--gray-light); }

.accordion-button {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.97rem;
  background: var(--white);
}

.accordion-button:not(.collapsed) {
  background: var(--red);
  color: var(--white);
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(10);
}

.accordion-button:focus { box-shadow: 0 0 0 3px rgba(192,57,43,0.15); }

.accordion-item {
  border: 1px solid #e8e8e8;
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-body { font-size: 0.92rem; color: var(--gray); line-height: 1.8; }

/* --- Footer --- */
#footer {
  background: #111111;
  padding: 70px 0 0;
  color: rgba(255,255,255,0.7);
}

.footer-brand .brand-name { color: var(--white); font-size: 1.4rem; }
.footer-brand .brand-tagline { color: rgba(255,255,255,0.5); }

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin: 1rem 0 1.5rem;
}

.footer-heading {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 35px;
  height: 2px;
  background: var(--red);
}

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-links a i { color: var(--red); font-size: 0.75rem; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.footer-contact-item i {
  color: var(--red);
  margin-top: 3px;
  min-width: 16px;
}

.footer-bottom {
  background: #0a0a0a;
  padding: 18px 0;
  margin-top: 50px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: var(--red); }

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

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

/* --- Floating Buttons --- */
.float-buttons {
  position: fixed;
  bottom: 30px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: var(--transition);
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.float-whatsapp { background: #25D366; color: var(--white); }
.float-call { background: var(--red); color: var(--white); }

.float-btn .tooltip-text {
  position: absolute;
  right: 65px;
  background: #333;
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.float-btn:hover .tooltip-text { opacity: 1; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 60%, var(--red-light) 100%);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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.04'%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 h1 {
  color: var(--white);
  font-size: 2.8rem;
  font-weight: 800;
  position: relative;
}

.page-hero .breadcrumb {
  justify-content: center;
  position: relative;
}

.breadcrumb-item a { color: rgba(255,255,255,0.8); }
.breadcrumb-item.active { color: rgba(255,255,255,0.6); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* --- Gallery --- */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(192,57,43,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  border-radius: 12px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--white); font-size: 2rem; }

/* --- Scroll to Top --- */
#scrollTop {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 999;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

#scrollTop:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}

/* --- Preloader --- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

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

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

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

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .hero-circle { width: 300px; height: 300px; }
  .hero-circle-inner { width: 230px; height: 230px; font-size: 6rem; }
  .hero-badge-float { display: none; }
  .about-img-wrap img { height: 300px; }
  .about-badge { right: 10px; bottom: -10px; }
}

@media (max-width: 767.98px) {
  .section-title { font-size: 1.8rem; }
  #hero h1 { font-size: 2rem; }
  .hero-circle { width: 240px; height: 240px; }
  .hero-circle-inner { width: 180px; height: 180px; font-size: 4.5rem; }
  .counter-num { font-size: 2.5rem; }
  .contact-form-wrap { padding: 24px 20px; }
  .page-hero h1 { font-size: 2rem; }
  .process-number::after { display: none; }
}

@media (max-width: 575.98px) {
  .hero-stats { gap: 1.2rem; }
  .float-buttons { bottom: 20px; right: 15px; }
}

/* --- Services Dropdown --- */
.nav-dropdown {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.13);
  padding: 8px 0;
  min-width: 230px;
  margin-top: 6px !important;
  animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-dropdown .dropdown-item {
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav-dropdown .dropdown-item i {
  width: 18px;
  color: var(--red);
  font-size: 0.82rem;
  flex-shrink: 0;
}

.nav-dropdown .dropdown-item:hover,
.nav-dropdown .dropdown-item:focus {
  background: #fff0ef;
  color: var(--red);
  padding-left: 26px;
}

.nav-dropdown .dropdown-divider {
  margin: 6px 14px;
  border-color: #f0f0f0;
}

.nav-dropdown .dropdown-item.fw-bold {
  color: var(--red) !important;
  font-size: 0.88rem;
}

.nav-dropdown .dropdown-item.fw-bold:hover {
  background: var(--red);
  color: var(--white) !important;
  padding-left: 26px;
}

.nav-dropdown .dropdown-item.fw-bold i { color: inherit; }

/* Dropdown toggle caret style */
#mainNav .dropdown-toggle::after {
  border: none;
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  margin-left: 5px;
  vertical-align: middle;
  transition: transform 0.25s ease;
}

#mainNav .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Mobile dropdown */
@media (max-width: 991.98px) {
  .nav-dropdown {
    box-shadow: none;
    border-radius: 8px;
    background: var(--gray-light);
    margin: 4px 0 8px !important;
    animation: none;
  }
  .nav-dropdown .dropdown-item:hover { padding-left: 20px; }
}

/* =============================================
   OFFER BANNER
   ============================================= */
#offer-banner {
  background: linear-gradient(135deg, #1a0505 0%, #96281b 45%, #c0392b 75%, #e74c3c 100%);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}

#offer-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

#offer-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.offer-tag {
  display: inline-block;
  background: #ffd700;
  color: #1a0505;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

.offer-left h3 {
  color: var(--white);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.offer-left p {
  color: rgba(255,255,255,0.8);
  font-size: 0.93rem;
  margin-bottom: 1rem;
}

.offer-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  padding: 0; margin: 0;
}

.offer-perks li {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.offer-perks li i { color: #ffd700; font-size: 0.8rem; }

/* Offer form card */
.offer-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  position: relative;
  z-index: 1;
}

.offer-form-card h5 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 1rem;
}

.offer-form-card .form-control,
.offer-form-card .form-select {
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.88rem;
  padding: 9px 13px;
}

.offer-form-card .form-control:focus,
.offer-form-card .form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}

.offer-submit-btn {
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.4px;
  position: relative;
  overflow: hidden;
}

.offer-submit-btn::after {
  content: '';
  position: absolute;
  top: 50%; left: -60%;
  width: 40%; height: 100%;
  background: rgba(255,255,255,0.18);
  transform: skewX(-20deg) translateY(-50%);
  transition: left 0.5s ease;
}

.offer-submit-btn:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.offer-submit-btn:hover::after { left: 130%; }

/* =============================================
   TERMITE RETICULATING PIPING â€“ FEATURED SERVICE
   ============================================= */
#termite-featured {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

#termite-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50%;
  height: 100%;
  background: var(--gray-light);
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  z-index: 0;
}

#termite-featured .container { position: relative; z-index: 1; }

/* Visual box */
.termite-visual { position: relative; display: inline-block; width: 100%; }

.termite-img-box {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.termite-img-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-light));
}

.termite-emoji {
  font-size: 3rem;
  text-align: center;
  display: block;
  margin-bottom: 1rem;
}

.termite-pipe-diagram {
  position: relative;
}

.pipe-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.termite-pipe-diagram svg {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
}

/* Float badge */
.termite-badge-float {
  position: absolute;
  bottom: -16px;
  right: -12px;
  background: var(--red);
  color: var(--white);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-hover);
  font-size: 0.85rem;
  z-index: 2;
}

.termite-badge-float i { font-size: 1.5rem; }
.termite-badge-float small { color: rgba(255,255,255,0.75); }

/* Featured tag */
.featured-service-tag {
  display: inline-block;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 0.3rem;
}

/* RPS features grid */
.rps-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 1.5rem;
}

.rps-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--gray-light);
  border-radius: 12px;
  padding: 16px 14px;
  transition: var(--transition);
}

.rps-feature:hover {
  background: #fff0ef;
  transform: translateY(-2px);
}

.rps-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}

.rps-feature h6 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--dark);
}

.rps-feature p {
  font-size: 0.78rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 575.98px) {
  .rps-feature-grid { grid-template-columns: 1fr; }
  #termite-featured::before { display: none; }
  .termite-badge-float { position: static; margin-top: 12px; border-radius: 10px; }
}

/* =============================================
   LOGO IMAGE STYLES
   ============================================= */

/* Navbar logo */
.brand-img-logo {
  height: 58px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-brand:hover .brand-img-logo {
  transform: scale(1.03);
  opacity: 0.9;
}

/* Scrolled â€” slightly reduce logo height */
#mainNav.scrolled .brand-img-logo {
  height: 50px;
}

/* Footer logo */
.footer-logo {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);   /* makes it white on dark footer */
  opacity: 0.92;
  margin-bottom: 0.6rem;
}

/* Preloader logo */
.preloader-logo {
  height: 80px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  margin: 0 auto 4px;
}

/* Mobile */
@media (max-width: 575.98px) {
  .brand-img-logo { height: 46px; }
  .footer-logo    { height: 48px; }
}

/* =============================================
   SITE-WIDE SCROLL REVEAL ANIMATIONS
   ============================================= */

/* Base state â€” hidden */
.scroll-reveal {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

.scroll-reveal.slide-up    { transform: translateY(50px); }
.scroll-reveal.slide-left  { transform: translateX(-60px); }
.scroll-reveal.slide-right { transform: translateX(60px); }
.scroll-reveal.zoom-in     { transform: scale(0.88); }
.scroll-reveal.flip-in     { transform: perspective(600px) rotateY(30deg); }

/* Visible state */
.scroll-reveal.revealed {
  opacity: 1;
  transform: none;
}

/* Stagger delays for child cards */
.scroll-reveal.delay-1 { transition-delay: 0.1s; }
.scroll-reveal.delay-2 { transition-delay: 0.2s; }
.scroll-reveal.delay-3 { transition-delay: 0.3s; }
.scroll-reveal.delay-4 { transition-delay: 0.4s; }
.scroll-reveal.delay-5 { transition-delay: 0.5s; }

/* =============================================
   ENHANCED CARD HOVER EFFECTS
   ============================================= */

/* Service cards â€” lift + red glow */
.service-card {
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.35s ease,
              border-bottom-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(192,57,43,0.18);
}

/* Why-us cards â€” slide right + bg flash */
.why-card {
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  background: #fff0ef;
  transform: translateX(8px);
  box-shadow: -4px 0 0 var(--red), var(--shadow);
}

/* Testimonial cards â€” subtle lift */
.testimonial-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: 0 20px 50px rgba(192,57,43,0.15);
}

/* Process steps â€” number pop */
.process-step:hover .process-number {
  transform: scale(1.15) rotate(-5deg);
  background: var(--red-dark);
  box-shadow: 0 8px 25px rgba(192,57,43,0.4);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

/* Area tags â€” pop bounce */
.area-tag {
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
              background 0.25s ease, color 0.25s ease;
}

.area-tag:hover {
  transform: translateY(-4px) scale(1.06);
}

/* =============================================
   COUNTER SECTION â€” SHINE SWEEP
   ============================================= */
.counter-box {
  position: relative;
  overflow: hidden;
}

.counter-box::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
  transform: skewX(-20deg);
  animation: counterShine 3.5s ease-in-out infinite;
}

@keyframes counterShine {
  0%   { left: -100%; }
  60%, 100% { left: 160%; }
}

/* =============================================
   SECTION TITLE ANIMATED UNDERLINE
   ============================================= */
.section-title {
  position: relative;
  display: inline-block;
}

/* =============================================
   FLOATING BUTTONS â€” PULSE
   ============================================= */
.float-whatsapp {
  animation: waPulse 2.5s ease-in-out infinite;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* =============================================
   NAV LINK HOVER â€” RIPPLE UNDERLINE
   ============================================= */
#mainNav .nav-link {
  transition: color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

#mainNav .nav-link:hover { transform: translateY(-1px); }

/* =============================================
   SECTION ENTRY â€” FADE-UP (legacy support)
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22,1,0.36,1);
}

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

/* =============================================
   ABOUT IMAGE â€” ZOOM ON HOVER
   ============================================= */
.about-img-wrap img {
  transition: transform 0.5s ease, box-shadow 0.4s ease;
}

.about-img-wrap:hover img {
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(192,57,43,0.2);
}

/* =============================================
   FOOTER SOCIAL LINKS â€” BOUNCE
   ============================================= */
.social-links a {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
              background 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.12);
  background: var(--red);
  color: var(--white);
}

/* =============================================
   GALLERY ITEM â€” ZOOM OVERLAY
   ============================================= */
.gallery-item img {
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}

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

/* =============================================
   BUTTON SHIMMER EFFECT
   ============================================= */
.btn-red {
  position: relative;
  overflow: hidden;
}

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

.btn-red:hover::after { left: 150%; }

/* =============================================
   SERVICE ICON â€” 3D FLIP ON HOVER
   ============================================= */
.service-icon {
  transition: transform 0.5s ease, background 0.3s ease, color 0.3s ease;
  transform-style: preserve-3d;
}

.service-card:hover .service-icon {
  background: var(--red);
  color: var(--white);
  transform: rotateY(180deg);
}

/* =============================================
   RPS FEATURE CARDS â€” SLIDE IN
   ============================================= */
.rps-feature {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
              background 0.3s ease, box-shadow 0.3s ease;
}

.rps-feature:hover {
  background: #fff0ef;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* =============================================
   HERO ILLUSTRATION CARD
   ============================================= */
.hero-illus-card {
  width: 290px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08);
  animation: float 5s ease-in-out infinite;
  position: relative;
}

.hero-illus-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #e74c3c, #ffd700);
  background-size: 200%;
  animation: shimmerBar 3s linear infinite;
}

@keyframes shimmerBar {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.hero-illus-inner {
  padding: 14px 16px 6px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-svg-illus {
  width: 165px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.3));
}

/* Service icons strip at bottom of card */
.hero-service-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.15);
}

.hero-svc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  cursor: default;
}

.hero-svc-icon:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 16px rgba(192,57,43,0.5);
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-illus-card {
  width: 290px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08);
  animation: float 5s ease-in-out infinite;
  position: relative;
}
  .hero-svg-illus  { width: 180px; }
}

@media (max-width: 767.98px) {
  .hero-illus-card {
  width: 290px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08);
  animation: float 5s ease-in-out infinite;
  position: relative;
}
  .hero-svg-illus  { width: 150px; }
  .hero-svc-icon   { width: 34px; height: 34px; font-size: 0.82rem; }
}

/* =============================================
   FONT SYSTEM UPGRADE
   Plus Jakarta Sans (body) + Playfair Display (headings)
   ============================================= */

body {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
  font-size: 15px;
  letter-spacing: 0.01em;
}

/* Headings â€” Playfair Display for elegance */
h1, h2 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Subheadings â€” Plus Jakarta Sans, heavier */
h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Section titles â€” Playfair */
.section-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

/* Hero heading â€” extra bold Playfair */
#hero h1 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 900;
  line-height: 1.15;
}

/* Navbar links â€” Plus Jakarta Sans, clean */
#mainNav .nav-link,
#mainNav .brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Body paragraphs â€” DM Sans for readability */
p, li, span, td, label, input, select, textarea, .form-control, .form-select {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
}

/* Buttons â€” Plus Jakarta Sans */
.btn-red, .btn-outline-red, .btn-white,
.offer-submit-btn, .nav-cta {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Testimonial quote mark â€” keep serif */
.testimonial-quote {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* Counter numbers â€” Jakarta Sans ultra bold */
.counter-num, .hero-stat .num {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800;
}

/* =============================================
   CUSTOM ANIMATED CURSOR
   ============================================= */

/* Hide default cursor everywhere */
*, *::before, *::after {
  cursor: none !important;
}

/* Dot â€” small sharp red circle */
#cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.15s ease, height 0.15s ease, background 0.2s ease;
  will-change: transform;
}

/* Outline â€” larger trailing ring */
#cursor-outline {
  position: fixed;
  top: 0; left: 0;
  width: 36px;
  height: 36px;
  border: 2px solid var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.18s ease, height 0.18s ease,
              border-color 0.2s ease, opacity 0.2s ease,
              border-radius 0.2s ease;
  opacity: 0.55;
  will-change: transform;
}

/* Hover state â€” dot hides, outline expands + fills */
body.cursor-hover #cursor-dot {
  width: 0;
  height: 0;
  opacity: 0;
}

body.cursor-hover #cursor-outline {
  width: 52px;
  height: 52px;
  background: rgba(192, 57, 43, 0.12);
  border-color: var(--red);
  opacity: 1;
}

/* Click state â€” shrink both */
body.cursor-click #cursor-dot {
  width: 12px;
  height: 12px;
  background: #ffd700;
}

body.cursor-click #cursor-outline {
  width: 28px;
  height: 28px;
  border-color: #ffd700;
  opacity: 1;
}

/* On links/buttons â€” square pill shape */
body.cursor-link #cursor-outline {
  width: 64px;
  height: 32px;
  border-radius: 50px;
  background: rgba(192, 57, 43, 0.1);
  border-color: var(--red);
  opacity: 1;
}

body.cursor-link #cursor-dot {
  background: var(--red);
  width: 6px;
  height: 6px;
}

/* On images/cards â€” crosshair dot becomes white */
body.cursor-image #cursor-dot {
  background: #fff;
  width: 10px;
  height: 10px;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

body.cursor-image #cursor-outline {
  width: 44px;
  height: 44px;
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
}

/* Disable custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  #cursor-dot, #cursor-outline { display: none; }
  *, *::before, *::after { cursor: auto !important; }
}



/* =============================================
   HERO BANNER — ALIGNMENT FIX
   ============================================= */

/* Row — vertically centred, no overflow bleed */
#hero .row {
  align-items: center;
  position: relative;
}

/* Left column — no overflow */
.hero-text-col {
  position: relative;
  z-index: 3;
  padding-right: 24px;
}

/* Right column — contains the visual + ALL badges */
.hero-right-col {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* hero-visual = sizing wrapper so absolute badges stay inside */
.hero-visual {
  position: relative;
  width: 420px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Illustration card — centered */
.hero-illus-card {
  position: relative;
  z-index: 2;
}

/* Rings — perfectly centered on the card */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

/* Badge positions — all relative to .hero-visual box */
.hero-badge-float {
  position: absolute;
  z-index: 4;
  animation: float 4s ease-in-out infinite;
}

/* Top-right */
.hero-badge-float.b1 {
  top: 10px;
  right: -10px;
  animation-delay: 0s;
}

/* Middle-left */
.hero-badge-float.b3 {
  top: 45%;
  left: -10px;
  transform: translateY(-50%);
  animation-delay: 0.5s;
}

/* Bottom-left */
.hero-badge-float.b2 {
  bottom: 60px;
  left: -10px;
  animation-delay: 1s;
}

/* Shield — bottom-right of visual box */
.hero-shield-badge {
  position: absolute;
  bottom: 10px;
  right: -10px;
  z-index: 4;
  animation: float 4s 1.5s ease-in-out infinite;
}

/* ---- Responsive fixes ---- */
@media (max-width: 1199.98px) {
  .hero-visual { width: 310px; height: 390px; }
}

@media (max-width: 991.98px) {
  .hero-text-col { padding-right: 12px; }
  .hero-right-col { margin-top: 16px; }
  .hero-visual { width: 280px; height: 360px; }
  .hero-badge-float.b1 { top: 8px;  right: 0; }
  .hero-badge-float.b2 { bottom: 50px; left: 0; }
  .hero-badge-float.b3 { left: 0; }
  .hero-shield-badge    { right: 0; bottom: 8px; }
}

@media (max-width: 767.98px) {
  .hero-text-col { padding-right: 0; text-align: center; }
  .hero-visual { width: 260px; height: 320px; }
  /* Hide side badges on small screens — too cramped */
  .hero-badge-float.b2,
  .hero-badge-float.b3 { display: none; }
  .hero-badge-float.b1 { right: -5px; top: 5px; }
  .hero-shield-badge    { right: -5px; bottom: 5px; }
}

/* =============================================
   HERO BANNER IMAGE
   ============================================= */
.hero-banner-img-wrap {
  position: relative;
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}

.hero-banner-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.4));
}

@media (max-width: 991.98px) {
  .hero-banner-img { max-width: 320px; }
}

@media (max-width: 767.98px) {
  .hero-banner-img { max-width: 260px; }
}

/* =============================================
   HERO — FULL BANNER IMAGE
   ============================================= */

/* Right column — fills available space */
.hero-right-col {
  position: relative;
  z-index: 2;
  padding: 0 !important;
}

/* Wrapper holds image + all floating badges */
.hero-img-full-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 5s ease-in-out infinite;
}

/* The banner image — full width, natural proportions */
.hero-img-full {
  width: 100%;
  max-width: 540px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.45));
}

/* Floating badge base */
.hero-float-badge {
  position: absolute;
  background: var(--white);
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.hero-float-badge i {
  color: var(--red);
  font-size: 0.9rem;
}

/* Positions */
.hfb-top-right {
  top: -14px;
  right: -10px;
  animation: float 4s 0s ease-in-out infinite;
}

.hfb-mid-left {
  top: 38%;
  left: -10px;
  transform: translateY(-50%);
  animation: float 4s 0.6s ease-in-out infinite;
}

.hfb-bot-left {
  bottom: -14px;
  left: 20px;
  animation: float 4s 1.2s ease-in-out infinite;
}

/* Shield badge */
.hero-float-shield {
  position: absolute;
  bottom: -14px;
  right: 20px;
  background: var(--red);
  color: var(--white);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 6px 20px rgba(192,57,43,0.45);
  animation: float 4s 1.8s ease-in-out infinite;
}

.hero-float-shield i { font-size: 1.3rem; }
.hero-float-shield strong { display: block; font-size: 0.82rem; line-height: 1.2; }
.hero-float-shield small  { font-size: 0.68rem; opacity: 0.8; }

/* Responsive */
@media (max-width: 991.98px) {
  .hero-img-full { max-width: 400px; border-radius: 12px; }
  .hfb-top-right { top: -10px; right: 0; }
  .hfb-mid-left  { left: 0; }
  .hfb-bot-left  { bottom: -10px; }
  .hero-float-shield { right: 10px; bottom: -10px; }
}

@media (max-width: 767.98px) {
  .hero-img-full { max-width: 100%; border-radius: 10px; }
  .hfb-mid-left, .hfb-bot-left { display: none; }
  .hfb-top-right { font-size: 0.72rem; padding: 6px 12px; }
  .hero-float-shield { font-size: 0.72rem; }
}

/* =============================================
   HERO — OLD FULL BACKGROUND LAYOUT (removed)
   ============================================= */

/* =============================================
   HERO — PURE FULL BANNER IMAGE (no overlay, no text)
   ============================================= */
#hero {
  position: relative;
  padding: 0 !important;
  margin: 0;
  line-height: 0;
  overflow: visible;
}

.hero-full-banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: unset;
}

#hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

@media (max-width: 767.98px) {
  .hero-full-banner { width: 100%; height: auto; }
}

