@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
  --primary: hsl(208, 90%, 30%);      /* Deep water blue */
  --primary-light: hsl(208, 90%, 40%);
  --secondary: hsl(28, 95%, 50%);     /* Safety drilling orange */
  --secondary-hover: hsl(28, 95%, 43%);
  --accent: hsl(190, 85%, 45%);       /* Fresh aquifer cyan */
  --dark: hsl(210, 24%, 12%);         /* Premium charcoal */
  --light: hsl(210, 30%, 98%);        /* Ice white */
  --gray: hsl(210, 10%, 55%);
  --border: hsl(210, 14%, 90%);
  --white: #ffffff;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-premium: 0 30px 60px -15px rgba(15, 76, 129, 0.15);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  
  --border-radius: 12px;
  --border-radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--light);
  color: var(--dark);
  font-family: var(--font-body);
  line-height: 1.6;
  scroll-padding-top: 95px; /* Prevent sticky header from covering headers on anchor navigation */
}

body {
  padding-top: 80px; /* Offset for fixed header */
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.no-scroll {
  overflow: hidden;
}

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

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

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

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* --- UTILITY CLASSES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

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

.section-title-wrapper {
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--secondary);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-title-left::after {
  left: 0;
  transform: none;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.4);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 76, 129, 0.6);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(245, 124, 0, 0.4);
}

.btn-secondary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 124, 0, 0.6);
}

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

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

/* --- ANIMATION HELPER CLASSES --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

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

/* Keyframe animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes wave {
  0% { transform: translateX(0) translateZ(0) scaleY(1); }
  50% { transform: translateX(-25%) translateZ(0) scaleY(0.85); }
  100% { transform: translateX(-50%) translateZ(0) scaleY(1); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.3; }
  100% { transform: scale(1.3); opacity: 0; }
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition-normal);
}

header.scrolled {
  padding: 6px 0;
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 99px;
  transition: var(--transition-normal);
}

header.scrolled .nav-container {
  height: 100px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
}

.logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
}

header.scrolled .logo img {
  height: 100px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(15, 76, 129, 0.2);
  animation: float 4s ease-in-out infinite;
}

/* Navigation CTA Button (hidden on desktop) */
.nav-cta {
  display: none;
}

@keyframes shimmer {
  0% {
    left: -150%;
  }
  50% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links li.active a::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  background: rgba(15, 76, 129, 0.05);
  padding: 8px 16px;
  border-radius: 50px;
}

.nav-phone:hover {
  background: rgba(15, 76, 129, 0.1);
  transform: scale(1.05);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  border-radius: 3px;
  transition: var(--transition-normal);
}

/* Mobile drawer open state */
.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --- BANNER FOR INNER PAGES --- */
.page-banner {
  background: linear-gradient(rgba(15, 76, 129, 0.85), rgba(15, 76, 129, 0.95)), url('../images/hero.jpg') center/cover no-repeat;
  padding: 100px 0 80px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

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

.breadcrumb li::after {
  content: '/';
  margin-left: 8px;
}

.breadcrumb li:last-child::after {
  content: '';
}

.breadcrumb li:last-child {
  color: var(--secondary);
}

/* --- HERO SLIDER (INDEX) --- */
.hero-slider {
  position: relative;
  height: calc(100vh - 80px);
  min-height: 550px;
  background-color: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.slide-track {
  height: 100%;
  display: flex;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 10s ease-out;
}

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

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 76, 129, 0.9) 0%, rgba(15, 76, 129, 0.4) 100%);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-right: 50px;
}

.slide-content h2 {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
  max-width: 750px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

.slide-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
  max-width: 600px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out 0.6s, transform 0.8s ease-out 0.6s;
}

.slide-content .hero-buttons {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out 0.8s, transform 0.8s ease-out 0.8s;
  display: flex;
  gap: 16px;
}

.slide.active .slide-content h2,
.slide.active .slide-content p,
.slide.active .slide-content .hero-buttons {
  opacity: 1;
  transform: translateY(0);
}

/* Slider Controls */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition-fast);
  backdrop-filter: blur(5px);
}

.slider-control:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.slider-control.prev { left: 30px; }
.slider-control.next { right: 30px; }

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 12px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background: var(--secondary);
  width: 32px;
  border-radius: 20px;
}

/* --- ABOUT HIGHLIGHT SECTION --- */
.about-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img-box {
  position: relative;
}

.about-main-img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  border: 5px solid var(--white);
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
  color: var(--white);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-heading);
  text-align: center;
  border: 4px solid var(--white);
  animation: float 6s ease-in-out infinite;
}

.about-experience-badge .years {
  font-size: 2.2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.about-experience-badge .text {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.about-features-list {
  list-style: none;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-features-list li {
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-features-list li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 800;
  font-size: 1.2rem;
}

/* --- SERVICES CARD GRID --- */
.services-section {
  background-color: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, rgba(15, 76, 129, 0.03) 0%, rgba(15, 76, 129, 0) 100%);
  transition: var(--transition-normal);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(15, 76, 129, 0.2);
}

.service-card:hover::before {
  height: 100%;
}

.service-card-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(15, 76, 129, 0.06);
  color: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  transition: var(--transition-normal);
}

.service-card:hover .service-card-icon {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 24px;
  font-size: 0.95rem;
  flex-grow: 1;
}

.service-link {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link::after {
  content: '→';
  transition: var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--primary);
}

.service-card:hover .service-link::after {
  transform: translateX(5px);
}

/* --- NEW HOME SERVICES SECTION (3 Columns, Images below Titles) --- */
.services-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.service-card-new {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.service-card-new h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-right: 15px;
  transition: color var(--transition-fast);
}

.service-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(15, 76, 129, 0.1);
  line-height: 1;
  transition: color var(--transition-fast);
}

.service-img-container {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: var(--border);
}

.service-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 76, 129, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.service-card-body p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-link {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.service-card-link span {
  transition: transform var(--transition-fast);
}

/* Animations & Hovers */
.service-card-new:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(15, 76, 129, 0.15);
}

.service-card-new:hover h3 {
  color: var(--secondary);
}

.service-card-new:hover .service-num {
  color: var(--secondary);
  opacity: 0.4;
}

.service-card-new:hover .service-img-container img {
  transform: scale(1.1) rotate(1deg);
}

.service-card-new:hover .service-img-overlay {
  opacity: 1;
}

.service-card-new:hover .service-card-link {
  color: var(--secondary);
}

.service-card-new:hover .service-card-link span {
  transform: translateX(4px);
}

.services-action {
  margin-top: 20px;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .services-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid-new {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --- WHY CHOOSE US SECTION --- */
.why-choose-section {
  background-color: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.why-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background-color: rgba(15, 76, 129, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: all 0.4s ease;
  z-index: 1;
}

.why-icon-box svg {
  width: 28px;
  height: 28px;
  transition: all 0.4s ease;
}

/* Expanding fluid bubble behind the icon on hover */
.why-icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: var(--primary);
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: -1;
}

.why-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 124, 0, 0.3);
}

.why-card:hover .why-icon-box {
  color: var(--white);
  transform: rotate(360deg);
}

.why-card:hover .why-icon-box::before {
  transform: scale(1);
}

.why-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.why-card:hover .why-info h3 {
  color: var(--secondary);
}

.why-info p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .why-card {
    padding: 24px;
    gap: 16px;
  }
}

/* --- STATS COUNTER SECTION --- */
.stats-section {
  background: linear-gradient(rgba(15, 76, 129, 0.95), rgba(15, 76, 129, 0.95)), url('../images/hero.jpg') center/cover no-repeat fixed;
  color: var(--white);
  position: relative;
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- TESTIMONIALS SLIDER --- */
.testimonial-section {
  background-color: var(--white);
  overflow: hidden;
}

.testimonial-slider {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}

.testimonial-container {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.testimonial-item {
  flex: 0 0 33.333%;
  padding: 15px;
  box-sizing: border-box;
  opacity: 0.5;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-item.active-slide {
  opacity: 1;
  transform: scale(1);
}

.testimonial-card {
  background: var(--light);
  border-radius: var(--border-radius);
  padding: 35px 25px;
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 4px solid var(--primary);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, transparent, rgba(245, 124, 0, 0.03));
  transition: all 0.4s ease;
  z-index: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--secondary);
}

.testimonial-card:hover::after {
  height: 100%;
}

.quote-icon {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: rgba(245, 124, 0, 0.12);
  line-height: 1;
  margin-top: -15px;
  margin-bottom: -10px;
  user-select: none;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--dark);
  font-weight: 400;
  line-height: 1.6;
  z-index: 2;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 4px;
  z-index: 2;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-dot.active {
  background: var(--secondary);
  width: 24px;
  border-radius: 10px;
}

/* --- ABOUT TIMELINE PROCESS --- */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--border);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--primary);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  transition: var(--transition-normal);
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-item.right::after { left: -10px; }

.timeline-content {
  padding: 30px;
  background-color: var(--white);
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.timeline-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(245, 124, 0, 0.2);
  position: absolute;
  top: 15px;
  right: 20px;
}

.timeline-item:hover::after {
  background-color: var(--secondary);
  border-color: var(--secondary);
  transform: scale(1.2);
}

/* --- DETAILED SERVICE CATALOG (SERVICES PAGE) --- */
.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
  border: 1px solid var(--border);
}

.service-detail-card:relative {
  position: relative;
}

.service-detail-card:nth-child(even) {
  grid-template-columns: 1.2fr 1fr;
}

.service-detail-img {
  position: relative;
  min-height: 350px;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.service-detail-content {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-card:nth-child(even) .service-detail-content {
  grid-column: 1;
  grid-row: 1;
}

.service-detail-card:nth-child(even) .service-detail-img {
  grid-column: 2;
}

.service-detail-content h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.service-detail-content p {
  color: var(--gray);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.service-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
}

.service-bullets li {
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-bullets li::before {
  content: '💧';
  font-size: 0.9rem;
}

/* --- FAQ ACCORDION --- */
.faq-section {
  background-color: var(--light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-header {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.faq-icon {
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform var(--transition-normal);
  color: var(--primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  background-color: rgba(15, 76, 129, 0.01);
}

.faq-content {
  padding: 0 30px 24px;
  color: var(--gray);
  font-size: 0.95rem;
}

.faq-item.active {
  border-color: rgba(15, 76, 129, 0.2);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--secondary);
}

/* --- GALLERY SYSTEM --- */
.gallery-filter-wrapper {
  margin-bottom: 40px;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}

.filter-btn {
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(15, 76, 129, 0.15);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(15, 76, 129, 0.9) 0%, rgba(15, 76, 129, 0.2) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  transition: var(--transition-normal);
  z-index: 2;
}

.gallery-overlay h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 4px;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.gallery-overlay span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  font-weight: 700;
  transform: translateY(20px);
  transition: transform var(--transition-normal) 0.1s;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

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

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

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}
/* --- VIDEO ITEMS STYLING --- */
.video-item {
  position: relative;
  background-color: #000;
}

.video-thumbnail-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.video-thumbnail-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

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

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(15, 76, 129, 0.85); /* brand primary color with transparency */
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* so hover goes to container/video */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 3;
}

.video-play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 4px; /* offset play icon slightly for visual centering */
  fill: currentColor;
}

.video-item:hover .video-play-btn {
  background-color: var(--secondary); /* brand orange on hover */
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(242, 108, 79, 0.4);
}

/* Lightbox Video adjustments */
.lightbox-video {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: none;
  border-radius: 4px;
}

/* Gallery dynamic tab styles */
.gallery-tab-grid {
  display: none;
}

.gallery-tab-grid.active {
  display: grid;
}

/* Custom Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 20, 30, 0.98);
  backdrop-filter: blur(15px);
  z-index: 2000; /* Higher z-index to overlay everything */
  display: none;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img-wrapper {
  position: relative;
  width: 100%;
  max-height: 70vh;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 4px solid var(--white);
  background-color: #000;
  cursor: zoom-in;
}

.lightbox-img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-origin: center center;
}

/* Zoomed-in state */
.lightbox-img-wrapper.zoomed {
  cursor: zoom-out;
}

.lightbox-img-wrapper.zoomed .lightbox-img {
  transform: scale(1.6);
}

/* Shading overlay and indicator icon for zoom hint */
.lightbox-zoom-indicator {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-img-wrapper:hover .lightbox-zoom-indicator {
  opacity: 1;
}

.lightbox-img-wrapper.zoomed .lightbox-zoom-indicator svg {
  transform: scaleY(-1); /* Flips or signals zoom-out */
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--secondary);
  transform: rotate(90deg);
}

.lightbox-caption {
  text-align: center;
  color: var(--white);
  margin-top: 20px;
  font-family: var(--font-heading);
}

.lightbox-caption h3 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.lightbox-caption p {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Lightbox Navigation Buttons */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2010;
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-prev svg,
.lightbox-next svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(15, 76, 129, 0.4);
}

.lightbox-prev:hover svg {
  transform: translateX(-3px);
}

.lightbox-next:hover svg {
  transform: translateX(3px);
}

/* Keyframe for switching images in lightbox */
@keyframes lightboxFadeZoom {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-img-switching {
  animation: lightboxFadeZoom 0.3s forwards ease-out;
}

/* Responsive adjustment for Lightbox */
@media (max-width: 992px) {
  .lightbox {
    padding: 20px;
  }
  .lightbox-prev,
  .lightbox-next {
    width: 48px;
    height: 48px;
  }
  .lightbox-prev {
    left: 20px;
  }
  .lightbox-next {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .lightbox-content {
    max-width: 100%;
  }
  .lightbox-img-wrapper {
    max-height: 50vh;
  }
  .lightbox-img {
    max-height: 50vh;
  }
  .lightbox-prev,
  .lightbox-next {
    position: fixed;
    top: auto;
    bottom: 20px;
    transform: none;
    width: 50px;
    height: 50px;
  }
  .lightbox-prev {
    left: 30%;
  }
  .lightbox-next {
    right: 30%;
  }
  .lightbox-close {
    top: 15px;
    right: 15px;
    font-size: 2.2rem;
    z-index: 2020;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* --- CONTACT SECTION --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

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

.contact-info-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition-normal);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 76, 129, 0.15);
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  background-color: rgba(15, 76, 129, 0.06);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon-box {
  background-color: var(--primary);
  color: var(--white);
}

.contact-details h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.contact-details p {
  color: var(--gray);
  font-size: 0.95rem;
}

.contact-details a:hover {
  color: var(--secondary);
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form-wrapper h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

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

.form-input {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--border-radius);
  border: 1.5px solid var(--border);
  background-color: var(--light);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.form-input:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.1);
}

label.form-label {
  position: absolute;
  left: 20px;
  top: 16px;
  color: var(--gray);
  pointer-events: none;
  transition: var(--transition-normal);
  font-size: 0.95rem;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -10px;
  left: 15px;
  font-size: 0.8rem;
  background-color: var(--white);
  padding: 2px 8px;
  color: var(--primary);
  font-weight: 700;
  border-radius: 4px;
}

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

.form-status {
  padding: 12px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  display: none;
}

.form-status.success {
  background-color: hsl(120, 40%, 93%);
  color: hsl(120, 50%, 25%);
  border: 1px solid hsl(120, 40%, 80%);
  display: block;
}

.form-status.error {
  background-color: hsl(0, 75%, 95%);
  color: hsl(0, 75%, 35%);
  border: 1px solid hsl(0, 70%, 90%);
  display: block;
}

/* Map Embed styling */
.map-section {
  padding-bottom: 80px;
}

.map-container {
  height: 450px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}

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

/* --- FOOTER --- */
footer {
  background-color: var(--dark);
  color: var(--white);
  margin-top: auto;
  border-top: 4px solid var(--secondary);
}

.footer-top {
  padding: 80px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-logo {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.footer-logo .logo-icon {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.footer-about p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 320px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
}

.social-link svg {
  transition: var(--transition-normal);
  z-index: 2;
}

/* Background expansion layer for water liquid-wave effect */
.social-link::before {
  content: '';
  position: absolute;
  top: 120%;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: -1;
}

.social-link:hover::before {
  top: 0;
  border-radius: 0;
}

/* WhatsApp Styling */
.social-link.whatsapp {
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.25);
}
.social-link.whatsapp::before {
  background: #25D366;
}
.social-link.whatsapp:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
  animation: pulse-whatsapp 1.5s infinite;
  color: var(--white);
}

/* Instagram Styling */
.social-link.instagram {
  color: #E1306C;
  border: 1px solid rgba(225, 48, 108, 0.25);
}
.social-link.instagram::before {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-link.instagram:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.6);
  animation: pulse-instagram 1.5s infinite;
  color: var(--white);
}

/* Facebook Styling */
.social-link.facebook {
  color: #1877F2;
  border: 1px solid rgba(24, 119, 242, 0.25);
}
.social-link.facebook::before {
  background: #1877F2;
}
.social-link.facebook:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.6);
  animation: pulse-facebook 1.5s infinite;
  color: var(--white);
}

/* YouTube Styling */
.social-link.youtube {
  color: #FF0000;
  border: 1px solid rgba(255, 0, 0, 0.25);
}
.social-link.youtube::before {
  background: #FF0000;
}
.social-link.youtube:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
  animation: pulse-youtube 1.5s infinite;
  color: var(--white);
}

/* Keyframes for Pulse Animations */
@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-instagram {
  0% { box-shadow: 0 0 0 0 rgba(225, 48, 108, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(225, 48, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 48, 108, 0); }
}

@keyframes pulse-facebook {
  0% { box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(24, 119, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(24, 119, 242, 0); }
}

@keyframes pulse-youtube {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

.footer-widget h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.footer-contact-list li strong {
  color: var(--white);
}

.footer-contact-icon {
  color: var(--secondary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Footer Horizontal Marquee (Premium element) */
.footer-ticker {
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
}

.ticker-wrap {
  display: inline-block;
  animation: ticker 25s linear infinite;
  padding-left: 100%;
}

.ticker-item {
  display: inline-block;
  padding: 0 40px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 2px;
}

.ticker-item span {
  color: var(--secondary);
  margin-right: 8px;
}

.footer-bottom {
  background-color: hsl(210, 24%, 8%);
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- FLOATING CONTACT BUTTONS --- */
.floating-contact-wrap {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
  text-decoration: none;
}

.float-btn svg {
  width: 26px;
  height: 26px;
}

/* Call Button */
.call-float {
  background-color: var(--secondary);
  box-shadow: 0 10px 25px rgba(242, 108, 79, 0.3);
}

.call-float svg {
  stroke: var(--white);
}

.call-float::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid var(--secondary);
  animation: pulse-ring-call 2s ease-out infinite;
  z-index: -1;
}

.call-float:hover {
  transform: translateY(-5px) scale(1.05);
  background-color: var(--secondary-hover);
  box-shadow: 0 15px 30px rgba(242, 108, 79, 0.5);
}

/* WhatsApp Button */
.whatsapp-float {
  background-color: #25d366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-float svg {
  fill: var(--white);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid #25d366;
  animation: pulse-ring-wa 2s ease-out infinite;
  z-index: -1;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  background-color: #128c7e;
  box-shadow: 0 15px 30px rgba(18, 140, 126, 0.5);
}

/* Pulse Animations */
@keyframes pulse-ring-call {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@keyframes pulse-ring-wa {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* --- RESPONSIBLE DESIGN MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .slide-content h2 {
    font-size: 2.8rem;
  }
  .about-highlight {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-img-box {
    max-width: 500px;
    margin: 0 auto;
  }
  .about-experience-badge {
    position: absolute;
    bottom: 10px;
    right: 10px; /* Shift inside image box to prevent overflow on mobile screen width */
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid var(--white);
  }
  .about-experience-badge .years {
    font-size: 1.6rem;
  }
  .about-experience-badge .text {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .service-detail-card,
  .service-detail-card:nth-child(even) {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .service-detail-img {
    height: 300px;
    min-height: auto;
    order: 1; /* Image always on top for mobile layout */
  }
  .service-detail-content {
    padding: 35px;
    order: 2; /* Content always below image on mobile layout */
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-item {
    flex: 0 0 50%;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
  
  .page-banner {
    padding: 60px 0 50px;
  }

  .page-banner h1 {
    font-size: 2.2rem;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    gap: 30px;
    transition: var(--transition-normal);
    z-index: 99;
    box-shadow: var(--shadow-lg);
  }

  .nav-cta {
    display: block;
    margin-top: 15px;
    width: 80%;
    max-width: 260px;
    text-align: center;
  }

  .nav-cta-btn {
    display: block;
    width: 100%;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 30px;
    color: var(--white);
    background: var(--secondary);
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
  }

  .nav-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    z-index: 2;
    transition: none;
  }

  .nav-links.open .nav-cta-btn::before {
    animation: shimmer 2.5s infinite;
  }
  
  header.scrolled .nav-links {
    top: 65px;
    height: calc(100vh - 65px);
  }

  .nav-links.open {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-right {
    margin-right: 40px;
  }

  .nav-phone {
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  .slide-content {
    padding-right: 0;
    text-align: center;
  }

  .slide-content h2 {
    font-size: 2.2rem;
  }

  .slide-content p {
    font-size: 1.1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .slide-content .hero-buttons {
    justify-content: center;
  }

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

  .services-grid .service-card {
    max-width: 100% !important;
    margin: 0 !important;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .timeline-item.right {
    left: 0;
  }

  .timeline-item::after {
    left: 21px;
    right: auto;
  }

  .timeline-item.right::after {
    left: 21px;
  }
  
  .testimonial-item {
    flex: 0 0 100%;
    padding: 0 10px;
  }

  .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-top {
    padding: 50px 0 30px;
  }

  /* Prevent side-scrolling by reducing transform offset of reveal effects on smaller viewports */
  .reveal-left {
    transform: translateX(-20px);
  }
  .reveal-right {
    transform: translateX(20px);
  }
}

@media (max-width: 576px) {
  .nav-phone span {
    display: none;
  }
  .nav-phone {
    padding: 10px;
    border-radius: 50%;
  }
  .nav-right {
    margin-right: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 20px 20px 20px 20px;
  }
  .nav-right {
    gap: 8px;
    margin-right: 15px;
  }
  .slide-content h2 {
    font-size: 1.65rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .btn {
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .about-features-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-bullets {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .page-banner h1 {
    font-size: 1.85rem;
  }
  .contact-form-wrapper {
    padding: 30px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .lightbox {
    padding: 20px;
  }
}
