/* Movers & Packers - Modern CSS Styles - Restored & Improved */
:root {
  --primary-color: #167C80;
  --primary-dark: #126366;
  --secondary-color: #FF9800;
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;
  --text-dark: #333333;
  --text-light: #555555;
  --text-muted: #777777;
  --border-color: #eeeeee;
  --white: #ffffff;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 30px rgba(22, 124, 128, 0.15);
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-round: 50%;
}

body.dark-mode {
  --bg-color: #0d1117;
  --bg-light: #161b22;
  --text-dark: #f0f6fc;
  --text-light: #b1bac4;
  --text-muted: #8b949e;
  --border-color: #30363d;
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-light);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

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

::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

::selection {
  background: var(--primary-color);
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.block-padding {
  padding: 100px 0;
}

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

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

.mb-4 {
  margin-bottom: 2rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.w-100 {
  width: 100%;
}

/* Section Titles */
.section-title {
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  display: inline-block;
  position: relative;
  margin-bottom: 15px;
}

.section-title h2 i {
  color: var(--primary-color);
  margin-right: 12px;
  font-size: 2.2rem;
  vertical-align: middle;
}

.section-title .line {
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Global Branding Classes */
.text-teal {
  color: var(--primary-color) !important;
}

.hero .text-teal {
  color: #fff !important; /* Brighter for hero background */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.text-orange {
  color: var(--secondary-color) !important;
}

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

.heading-orange {
  color: var(--secondary-color) !important;
}

.brand-name {
  color: #fff; /* Default for hero */
  transition: color 0.3s ease;
}

body.dark-mode .brand-name {
  color: var(--primary-color); /* Or white? Let's use primary for dark mode brand accent */
}

/* Update hero specific brand name if needed */
.hero .brand-name {
  color: #fff;
}

body.dark-mode .hero .brand-name {
  color: #fff; /* Keep it white on dark background in dark mode */
}

body:not(.dark-mode) .hero .brand-name {
  color: var(--secondary-color); /* Use orange/accent in light mode for "pop" */
}

/* Dark Mode Nuclear Visibility */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode p,
body.dark-mode span:not(.icon):not(.star),
body.dark-mode li {
  color: var(--text-dark);
}

body.dark-mode .text-muted,
body.dark-mode p.text-muted,
body.dark-mode span.text-muted {
  color: var(--text-muted) !important;
}

body.dark-mode .desc-text {
  color: var(--text-dark);
  opacity: 0.9;
}

body.dark-mode .reviewer-info span {
  color: var(--primary-color);
}

/* Light Mode Nuclear Visibility */
body:not(.dark-mode) h1:not(.hero-content *),
body:not(.dark-mode) h2:not(.hero-content *),
body:not(.dark-mode) h3:not(.hero-content *),
body:not(.dark-mode) h4:not(.hero-content *) {
  color: var(--text-dark) !important;
}

body:not(.dark-mode) p:not(.hero-content *):not(.footer *):not(.wa-popup *),
body:not(.dark-mode) li:not(.hero-content *),
body:not(.dark-mode) span:not(.hero-content *):not(.icon):not(.star):not(.footer *):not(.wa-popup *) {
  color: var(--text-light) !important;
}

body:not(.dark-mode) .desc-text {
  color: var(--text-dark) !important;
  opacity: 1;
}

#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-color);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

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

.splash-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  display: inline-block;
  border-radius: 50%;
  margin: 0 4px;
  animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 25px 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

body.dark-mode header.scrolled {
  background: rgba(13, 17, 23, 0.95);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-avatar {
  height: 50px;
  width: auto;
  transition: 0.3s;
}

header.scrolled .header-avatar {
  height: 40px;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
}

header.scrolled .nav-link {
  color: var(--text-dark);
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(15deg);
}

header.scrolled .theme-toggle {
  color: var(--text-dark);
  background: rgba(0, 0, 0, 0.05);
}

header.scrolled .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}

body.dark-mode .theme-toggle {
  background: rgba(255, 255, 255, 0.05);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px auto;
  transition: 0.3s;
}

header.scrolled .hamburger .bar {
  background: var(--text-dark);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ff5722 100%);
  color: #fff !important;
  padding: 12px 30px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 87, 34, 0.4);
  opacity: 0.9;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ff5722 100%);
  color: #fff;
  padding: 12px 30px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: inline-block;
  margin-left: 15px;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
  transition: 0.3s;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 87, 34, 0.4);
  opacity: 0.9;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 2;
  transition: background 0.3s ease;
}

body:not(.dark-mode) .hero-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero h2 {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  margin-bottom: 25px;
  opacity: 0.95;
  font-weight: 500;
  color: var(--secondary-color);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin: 0 auto 40px;
  max-width: 700px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Company Description & Stats */
.company-desc {
  background: var(--bg-light);
  padding: 100px 0;
}

.desc-text {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-dark);
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.9;
  opacity: 0.85;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.stat-card {
  background: var(--bg-color);
  padding: 50px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.stat-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.stat-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  opacity: 0.9;
}

.stat-card h3 {
  font-size: 2.8rem;
  margin-bottom: 5px;
  color: var(--text-dark);
  font-weight: 800;
}

.stat-card span {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 700;
}

.stat-card p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 150px 0 100px;
  }

  .stat-card {
    padding: 40px 20px;
  }
}

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

.service-card {
  background: var(--bg-light);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.5s ease;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--primary-color);
  z-index: -1;
  transition: height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.service-card:hover,
.service-card.hover-active {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(22, 124, 128, 0.4);
}

.icon-wrapper {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px auto;
  font-size: 3.5rem;
  color: var(--primary-color);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.5s ease;
}

.service-card:hover .icon-wrapper,
.service-card.hover-active .icon-wrapper {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.service-card h3 {
  transition: color 0.5s ease;
}

.service-card p {
  transition: color 0.5s ease;
}

.service-card:hover h3,
.service-card.hover-active h3 {
  color: #fff;
}

.service-card:hover p,
.service-card.hover-active p {
  color: rgba(255, 255, 255, 0.9);
}

/* Gallery BA Slider & Media Grid */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
  min-height: 20px;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

.gallery-slider-container {
  overflow: hidden;
  position: relative;
  padding: 40px 0;
}

.gallery-slider-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 25px;
}

.ba-gallery-item {
  flex: 0 0 calc(33.333% - 17px);
  position: relative;
  transition: all 0.4s ease;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
}

.ba-gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.media-label {
  position: absolute;
  top: 20px;
  padding: 8px 18px;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 5;
  backdrop-filter: blur(8px);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.media-label.before {
  left: 20px;
  border-left: 3px solid var(--secondary-color);
}

.media-label.after {
  right: 20px;
  border-right: 3px solid var(--primary-color);
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 450px;
  gap: 2px;
  background: #000;
}

.media-single {
  height: 450px;
  background: #000;
  position: relative;
  overflow: hidden;
}

.media-single video,
.media-single img,
.video-box video,
.video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-box {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.video-box video,
.video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  color: #fff;
  opacity: 0;
  transition: all 0.4s ease;
  transform: translateY(10px);
  pointer-events: none;
}

.ba-gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-tag {
  font-size: 0.7rem;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.gallery-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Testimonials Section */
.reviews {
  background: var(--bg-color);
  position: relative;
}

.testimonials-container {
  overflow: hidden;
  padding: 60px 0;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  background: var(--bg-light);
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
}

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

.quote-icon {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.15;
  position: absolute;
  top: 30px;
  left: 40px;
}

.stars {
  margin-bottom: 20px;
}

.stars i {
  color: #ffb400;
  font-size: 1.2rem;
  margin: 0 2px;
}

.review-text {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 30px;
  font-family: var(--font-heading);
}

.reviewer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.reviewer img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 4px solid var(--bg-color);
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

.reviewer-info h4 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.reviewer-info span {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary-color);
  width: 30px;
  border-radius: 10px;
}

/* Forms & Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: stretch;
}

.contact-form-container {
  background: var(--bg-color);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--secondary-color), #ff5722);
  z-index: 10;
}

.premium-input-group {
  margin-bottom: 25px;
}

.contact-info {
  padding: 50px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ff5722 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 25px;
  box-shadow: 0 10px 20px rgba(255, 152, 0, 0.3);
  flex-shrink: 0;
  transition: 0.3s ease;
}

.info-item:hover .icon {
  transform: scale(1.1) rotate(5deg);
}

.info-text h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.info-text p {
  font-size: 1rem;
  color: var(--text-light);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: var(--bg-color);
  padding: 15px 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-badge i {
  font-size: 2rem;
  color: var(--secondary-color);
}

.about-badge span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.section-title .line.align-left {
  margin: 0 0 20px 0;
}

.about-features li {
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--text-dark);
}

.about-features i {
  color: var(--secondary-color);
  margin-right: 10px;
}

/* Timeline Styles */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0 40px 0;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  height: 4px;
  background: var(--border-color);
  top: 32px;
  left: var(--timeline-left, 12.5%);
  width: var(--timeline-width, 75%);
  right: auto;
  z-index: 1;
  transform: none;
}

.timeline-progress {
  position: absolute;
  height: 4px;
  background: var(--primary-color);
  top: 32px;
  left: var(--timeline-left, 12.5%);
  width: 0px;
  z-index: 2;
  transition: width 0.5s ease-out, height 0.5s ease-out;
}

.timeline-item {
  width: 25%;
  position: relative;
  padding: 0 !important;
  left: auto !important;
  right: auto !important;
  text-align: center;
  z-index: 3;
  margin-top: 0;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  background: var(--secondary-color);
  border: 4px solid var(--bg-light);
  position: relative;
  margin: 0 auto 30px auto;
  top: auto;
  right: auto;
  left: auto;
  border-radius: 50%;
  z-index: 10;
  transition: transform 0.3s ease, background 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.5);
  background: var(--primary-color);
}

.timeline-content {
  background: var(--bg-color);
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  height: calc(100% - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: var(--primary-color);
  z-index: -1;
  transition: width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.timeline-item:hover .timeline-content::before,
.timeline-item.hover-active .timeline-content::before {
  width: 100%;
}

.timeline-item:hover .timeline-content,
.timeline-item.hover-active .timeline-content {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.timeline-icon-box {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.timeline-item:hover .timeline-icon-box,
.timeline-item.hover-active .timeline-icon-box {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: scale(1.1);
}

.timeline-content h3,
.timeline-content p {
  transition: color 0.4s ease;
}

.timeline-item:hover .timeline-content h3,
.timeline-item.hover-active .timeline-content h3 {
  color: #fff;
}

.timeline-item:hover .timeline-content p,
.timeline-item.hover-active .timeline-content p {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
  .timeline {
    flex-direction: column;
    padding: 40px 0;
    gap: 20px;
  }

  .timeline::before {
    left: 27px;
    top: var(--timeline-top, 52px);
    bottom: auto;
    height: var(--timeline-height, auto);
    width: 4px;
    right: auto;
  }

  .timeline-progress {
    left: 27px;
    top: var(--timeline-top, 52px);
    width: 4px;
    height: 0px;
    right: auto;
    transition: width 0.5s ease-out, height 0.5s ease-out;
  }

  .timeline-item {
    width: 100%;
    display: flex;
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 3;
  }

  .timeline-dot {
    margin: 0 40px 0 11px;
    flex-shrink: 0;
    z-index: 10;
  }

  .timeline-content {
    width: calc(100% - 90px);
    flex: 1;
    height: auto;
    margin-top: -15px;
    align-items: flex-start;
    padding: 25px 20px;
  }

  .timeline-icon-box {
    margin-bottom: 15px;
    font-size: 2rem;
  }
}

.social-connect h5 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.social-icon.insta {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}

.social-icon.wa {
  background: #25d366;
}

.social-icon.call {
  background: var(--primary-color);
}

/* Premium Feedback & Review Box */
.feedback-form-container {
  max-width: 800px;
  margin: 60px auto 0;
  background: var(--bg-light);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.feedback-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(135deg, rgba(22, 124, 128, 0.1) 0%, rgba(255, 152, 0, 0.05) 100%);
  z-index: 0;
  pointer-events: none;
}

.form-row {
  display: flex;
  gap: 20px;
  width: 100%;
  border: none;
}

.form-row .form-group.col-half {
  flex: 1;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.premium-input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.premium-input {
  width: 100%;
  padding: 15px 20px 15px 55px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-color);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.premium-input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 4px rgba(22, 124, 128, 0.1);
}

.premium-input:focus+i {
  color: var(--primary-color);
}

/* Review Form Select Dropdown Style */
.premium-input-group .input-with-icon select.premium-input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 45px !important;
}

.premium-input-group .input-with-icon .fa-chevron-down {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.8rem;
  transition: color 0.3s ease;
  left: auto; /* Overriding default left position for icons */
}

.premium-input-group .input-with-icon select.premium-input:focus ~ .fa-chevron-down {
  color: var(--primary-color);
}

/* Star Rating */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 30px 0;
  background: var(--bg-color);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
}

.rating-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-right: 15px;
  font-size: 1.1rem;
}

.star-rating .star {
  font-size: 2.5rem;
  color: #d1d5db;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating .star:hover,
.star-rating .star:hover~.star,
.star-rating .star.active,
.star-rating .star.active~.star {
  color: #ffb400;
}

.star-rating .star:hover {
  transform: scale(1.15);
}

.feedback-success-msg {
  padding: 30px;
  background: rgba(37, 211, 102, 0.1);
  border-left: 4px solid #25d366;
  border-radius: var(--radius-md);
  margin-top: 20px;
  text-align: center;
}

.feedback-success-msg i {
  font-size: 3rem;
  color: #25d366;
  margin-bottom: 15px;
}

.feedback-success-msg p {
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 500;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.social-link:hover {
  transform: translateY(-3px);
  color: #fff;
}

.premium-insta:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Footer */
.footer {
  background: #0b1117;
  color: var(--text-light);
  padding: 80px 0 30px;
}

body.dark-mode .footer {
  border-top: 1px solid var(--border-color);
}

.footer-avatar {
  height: 60px;
  width: auto;
  margin-bottom: 25px;
}

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

.footer-col h4 {
  color: #fff;
  margin-bottom: 25px;
}

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

.footer-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  margin-top: 50px;
  padding-top: 30px;
  font-size: 0.9rem;
}

/* Floating UI */
.floating-phone,
.floating-wa {
  position: fixed;
  bottom: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  z-index: 1000;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  animation: float 3s infinite ease-in-out;
}

.floating-phone {
  right: 30px;
  background: var(--primary-color);
}

.floating-wa {
  left: 30px;
  background: #25d366;
}

/* Premium WhatsApp Popup */
.wa-popup {
  position: fixed;
  bottom: 100px;
  left: 30px;
  width: 320px;
  background: var(--bg-color);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(30px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  z-index: 1001;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.wa-popup.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.wa-popup-header {
  background: #075e54;
  padding: 25px 20px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.wa-header-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.wa-header-info i {
  font-size: 2.2rem;
  color: #25d366;
}

.wa-header-info h4 {
  color: #fff;
  margin-bottom: 2px;
  font-size: 1.1rem;
}

.wa-header-info span {
  font-size: 0.8rem;
  opacity: 0.8;
  display: block;
}

.close-wa-btn {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}

.close-wa-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.wa-popup-body {
  padding: 20px;
  background: #e5ddd5;
  /* Classic WA background */
  position: relative;
}

body.dark-mode .wa-popup-body {
  background: #0b141a;
}

.wa-popup-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wa-option {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-color);
  padding: 12px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-decoration: none !important;
}

.wa-option:hover {
  transform: translateX(5px);
  background: #f0f2f5;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

body.dark-mode .wa-option:hover {
  background: #202c33;
}

.wa-option-icon {
  width: 45px;
  height: 45px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

.wa-option-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.wa-number {
  font-size: 0.8rem;
  color: var(--text-light);
}

.wa-arrow {
  color: #ccc;
  font-size: 0.8rem;
  transition: 0.3s;
}

.wa-option:hover .wa-arrow {
  transform: translateX(3px);
  color: #25d366;
}

.wa-popup-footer {
  padding: 12px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.75rem;
  background: var(--bg-color);
  border-top: 1px solid var(--border-color);
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  /* Handle with hamburger logic */
  /* Handle with hamburger logic */
  .hero h1 {
    font-size: 3rem;
  }

  .ba-gallery-item {
    flex: 0 0 calc(50% - 14px);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: relative;
    z-index: 2005; /* MUST be above .nav-menu */
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Make close icon visible against nav menu background */
  header.scrolled .hamburger.active .bar,
  .hamburger.active .bar {
    background: var(--text-dark);
  }

  .mobile-hidden {
    display: none !important;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 100px 30px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2000;
    pointer-events: auto;
    border-left: 1px solid rgba(0,0,0,0.05);
  }

  body.dark-mode .nav-menu {
    background: rgba(13, 17, 23, 0.95);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-menu.active {
    transform: translateX(0) !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-link {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    display: block;
    transition: all 0.3s ease;
  }

  .nav-link:hover, .nav-link.active {
    padding-left: 10px;
    color: var(--primary-color) !important;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-badge {
    right: 20px;
    bottom: 20px;
  }

  .ba-gallery-item {
    flex: 0 0 100%;
  }

  .hero h1 {
    font-size: 2.5rem;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  /* Floating Buttons Optimization */
  .whatsapp-btn, .call-btn {
    width: 50px !important;
    height: 50px !important;
    font-size: 22px !important;
  }

  /* Service Card Contrast Fix */
  .service-card:hover h3, 
  .service-card:hover p,
  .service-card.active h3,
  .service-card.active p {
    color: #fff !important;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }

  .heading-orange {
    font-size: 1.8rem;
  }

  .block-padding {
    padding: 60px 0;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(22, 124, 128, 0.4);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(22, 124, 128, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(22, 124, 128, 0);
  }
}

@keyframes bounce {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Reveal Animations */
.fade-in,
.fade-in-up,
.fade-in-left,
.fade-in-right,
.zoom-in,
.slide-in {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in.reveal-active {
  opacity: 1;
}

.fade-in-up.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

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

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

.zoom-in.reveal-active {
  opacity: 1;
  transform: scale(1);
}

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

/* Keyframes removed in favor of transitions for smoother scroll-reveal */

/* Simple intersection observer trigger script would be needed for true scroll-reveal, 
   but for now we'll use these classes directly in HTML as "fade-in" starts on load.
   However, let's add a scroll-reveal helper if needed. */