/* ===================================
   Alfa Power Electric - Main Stylesheet
   Professional Electrical Contractor Website
   Black, Yellow & White Trust Theme
   =================================== */

/* CSS Variables */
:root {
  /* Primary Colors - Black, Yellow, White */
  --primary: #1a1a1a;
  --primary-dark: #000000;
  --primary-light: #2d2d2d;
  --secondary: #f5c518;
  --secondary-dark: #d4a90f;
  --secondary-light: #ffe066;
  
  /* Neutral Colors */
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-light: #4a4a4a;
  --text-muted: #6c757d;
  --border-color: #e5e5e5;
  
  /* Accent Colors */
  --success: #198754;
  --warning: #f5c518;
  --danger: #dc3545;
  --info: #0dcaf0;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 50%;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

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

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

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title h2 {
  margin-bottom: var(--spacing-xs);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.btn-secondary {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
  font-weight: 700;
}

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

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--bg-white);
}

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

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-white);
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.top-bar {
  background: var(--primary);
  color: var(--bg-white);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-left a,
.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bg-white);
  transition: color var(--transition-fast);
}

.top-bar-left a:hover {
  color: var(--secondary);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-right span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-links a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--secondary);
  color: var(--primary);
}

.nav-main {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 220px;
  width: auto;
  object-fit: contain;
  margin: -50px 0; /* Negative margin to reduce logo whitespace impact */
}

.footer-logo-img {
  height: 200px;
  filter: brightness(0) invert(1);
  margin: -45px 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 0.5rem 0;
  position: relative;
}

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

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

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.nav-phone i {
  color: var(--secondary);
  font-size: 1.1rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.mobile-toggle span:nth-child(1) {
  transform: translateY(-8px);
}

.mobile-toggle span:nth-child(2) {
  opacity: 1;
}

.mobile-toggle span:nth-child(3) {
  transform: translateY(8px);
}

/* Hamburger to X animation */
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(26,26,26,0.92) 0%, rgba(0,0,0,0.88) 100%),
              url('../assets/isaac-hero.jpg') center/cover;
  padding-top: 140px;
  overflow: hidden;
}

/* Add bokeh effect to hero background */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(245, 197, 24, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(245, 197, 24, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 40%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Subtle circuit pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg stroke='%23f5c518' stroke-opacity='0.04' stroke-width='1'%3E%3Cpath d='M0 30h60M30 0v60'/%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--bg-white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,197,24,0.15);
  border: 1px solid var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease;
}

.hero-badge i {
  color: var(--secondary);
}

.hero h1 {
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease 0.3s backwards;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-feature i {
  color: var(--secondary);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.6s ease 0.4s backwards;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  animation: fadeInUp 0.6s ease 0.5s backwards;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===================================
   TRUST BADGES SECTION
   =================================== */
.trust-badges {
  background: var(--bg-white);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 10;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  text-align: center;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.badge-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  transition: all var(--transition-normal);
}

.badge-item:hover .badge-icon {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  transform: scale(1.05);
}

.badge-text h4 {
  font-size: 0.8rem;
  color: var(--text-dark);
  margin-bottom: 0.1rem;
}

.badge-text p {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

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

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

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--secondary);
  color: var(--primary);
}

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

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--transition-fast);
}

.service-link:hover {
  gap: 0.75rem;
}

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

/* ===================================
   WHY CHOOSE US SECTION
   =================================== */
.why-us {
  background: var(--primary);
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

/* Subtle lightning bolt pattern */
.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f5c518' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M20 5l5 15h-10l5-15zm0 30l-5-15h10l-5 15z'/%3E%3C/g%3E%3C/svg%3E");
}

.why-us .section-title h2 {
  color: var(--bg-white);
}

.why-us .section-title h2::after {
  background: var(--secondary);
}

.why-us .section-title p {
  color: rgba(255,255,255,0.8);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.why-us-card {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition-normal);
}

.why-us-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.why-us-icon {
  width: 72px;
  height: 72px;
  background: var(--secondary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  margin: 0 auto 1.25rem;
}

.why-us-card h3 {
  color: var(--bg-white);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.why-us-card p {
  color: rgba(255,255,255,0.75);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===================================
   PROJECTS/GALLERY SECTION
   =================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(26,26,26,0.95));
  color: var(--bg-white);
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-overlay h4 {
  color: var(--bg-white);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.project-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.project-category {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  border: 1px solid var(--border-color);
}

.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 6rem;
  position: absolute;
  top: -10px;
  left: 30px;
  color: var(--secondary);
  opacity: 0.2;
  line-height: 1;
  z-index: 0;
}

.testimonial-stars {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--secondary);
}

.author-info h4 {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
}

.testimonial-project {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

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

.testimonial-dot.active,
.testimonial-dot:hover {
  background: var(--secondary);
  transform: scale(1.2);
}

.testimonial-arrow {
  width: 40px;
  height: 40px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-white);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.testimonial-arrow:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
}

/* ===================================
   SERVICE AREA MAP SECTION
   =================================== */
.service-area {
  background: var(--bg-light);
}

.service-area-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.area-info h3 {
  margin-bottom: 1rem;
}

.area-info p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.area-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.area-list i {
  color: var(--secondary);
  font-size: 0.9rem;
}

/* Service Areas Dropdown (mobile) */
.service-areas-dropdown {
  margin-top: 1.5rem;
}

.service-areas-toggle {
  display: none; /* Hidden on desktop */
}

.area-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
  background: var(--border-color);
}

.area-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
  background: var(--secondary);
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.cta-content h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--primary);
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--primary);
  color: var(--bg-white);
  padding-top: var(--spacing-xl);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: var(--spacing-lg);
}

.footer-about .logo {
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-column h4 {
  color: var(--bg-white);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary);
}

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

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 0.5rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--secondary);
  width: 16px;
  text-align: center;
  padding-top: 0.25rem;
}

.footer-contact a {
  color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--secondary);
}

/* ===================================
   PAGE HEADER (Internal Pages)
   =================================== */
.page-header {
  background: linear-gradient(135deg, rgba(26,26,26,0.95) 0%, rgba(0,0,0,0.92) 100%),
              url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?w=1920') center/cover;
  padding: 220px 0 80px;
  text-align: center;
  color: var(--bg-white);
}

.page-header h1 {
  color: var(--bg-white);
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}

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

.breadcrumb span {
  color: var(--secondary);
}

/* ===================================
   ABOUT PAGE STYLES
   =================================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--secondary);
  color: var(--primary);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.about-image-badge .years {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  display: block;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

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

.team-image {
  aspect-ratio: 1;
  overflow: hidden;
}

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

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

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-info h3 {
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

.team-role {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.team-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

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

.value-card {
  text-align: center;
  padding: 2rem;
}

.value-icon {
  width: 72px;
  height: 72px;
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  margin: 0 auto 1.25rem;
  transition: all var(--transition-normal);
}

.value-card:hover .value-icon {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  transform: scale(1.1);
}

.value-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.value-card p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.95rem;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--secondary);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 3rem;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
}

.timeline-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--secondary);
  border: 3px solid var(--bg-white);
  border-radius: var(--radius-full);
  top: 2rem;
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.timeline-item h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.timeline-item p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.95rem;
}

/* ===================================
   SERVICES PAGE STYLES
   =================================== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--border-color);
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

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

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

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

.service-detail-content h2 {
  margin-bottom: 1rem;
}

.service-detail-content > p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.service-features {
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.service-features i {
  color: var(--secondary);
}

.service-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

.service-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-meta-item i {
  color: var(--primary);
}

.service-meta-item span {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* ===================================
   GALLERY PAGE STYLES
   =================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-color);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

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

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(26,26,26,0.95));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--bg-white);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.gallery-overlay h4 {
  color: var(--bg-white);
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.gallery-overlay p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--bg-white);
  font-size: 2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--secondary);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bg-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  transition: color var(--transition-fast);
}

.lightbox-nav:hover {
  color: var(--secondary);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

.lightbox-caption {
  color: var(--bg-white);
  text-align: center;
  margin-top: 1rem;
}

/* ===================================
   TESTIMONIALS PAGE STYLES
   =================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-full {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.testimonial-full:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--secondary);
}

.testimonial-meta h4 {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-meta p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.testimonial-rating {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.testimonial-project {
  display: inline-block;
  background: var(--bg-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.testimonial-full blockquote {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.7;
}

.video-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.video-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--primary);
}

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

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--secondary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.75rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.video-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: 1.5rem;
}

.video-info h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.video-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.google-reviews {
  text-align: center;
  padding: 3rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-white);
  padding: 1.5rem 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.google-logo {
  height: 40px;
}

.google-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.google-stars {
  color: var(--secondary);
  font-size: 1.5rem;
}

.google-rating span {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
}

/* ===================================
   CONTACT PAGE STYLES
   =================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--primary);
  color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.contact-info-card h3 {
  color: var(--bg-white);
  margin-bottom: 2rem;
}

.contact-info-list {
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.contact-info-text h4 {
  color: var(--bg-white);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p,
.contact-info-text a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin: 0;
}

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

.emergency-box {
  background: var(--secondary);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.emergency-box h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.emergency-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--primary);
  opacity: 0.85;
}

.emergency-phone {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  display: block;
  margin-top: 0.5rem;
  color: var(--primary);
}

.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.contact-form-card h3 {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group label span {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--bg-white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,26,26,0.08);
}

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

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.contact-map {
  margin-top: 3rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===================================
   FAQ PAGE STYLES
   =================================== */
.faq-grid {
  max-width: 900px;
  margin: 0 auto;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  transition: transform var(--transition-fast);
  color: var(--secondary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.7;
}

.faq-answer-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.faq-answer-content li {
  margin-bottom: 0.5rem;
}

.faq-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

/* ===================================
   SERVICES ACCORDION STYLES
   =================================== */
.services-accordion .faq-question span {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.service-content {
  padding-bottom: 1rem;
}

.service-content p {
  margin-bottom: 1.25rem;
  color: var(--text-light);
}

.service-content h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.service-content .service-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.5rem;
}

.service-content .service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.service-content .service-features li i {
  color: var(--secondary);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.service-content .service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

.service-content .service-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.service-content .service-meta-item i {
  color: var(--secondary);
}

.service-content .service-meta-item span {
  color: var(--text-dark);
  font-weight: 500;
}

.service-content .btn {
  margin-top: 0.5rem;
}

/* ===================================
   PRIVACY & TERMS PAGES
   =================================== */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-date {
  background: var(--bg-light);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  color: var(--text-muted);
  border-left: 3px solid var(--secondary);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

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

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-intro,
  .service-detail,
  .service-area-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-detail:nth-child(even) {
    direction: ltr;
  }
  
  .timeline::before {
    left: 0;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 2.5rem !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .timeline-dot {
    left: -8px !important;
    right: auto !important;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0;
    padding-top: 120px;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    visibility: hidden;
    transition: clip-path 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                visibility 0.5s;
    z-index: 999;
  }
  
  .nav-menu.active {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu a {
    font-size: 1.5rem;
    padding: 1.25rem 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
  }
  
  .nav-menu.active a {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Staggered animation for menu items */
  .nav-menu.active a:nth-child(1) { transition-delay: 0.1s; }
  .nav-menu.active a:nth-child(2) { transition-delay: 0.15s; }
  .nav-menu.active a:nth-child(3) { transition-delay: 0.2s; }
  .nav-menu.active a:nth-child(4) { transition-delay: 0.25s; }
  .nav-menu.active a:nth-child(5) { transition-delay: 0.3s; }
  .nav-menu.active a:nth-child(6) { transition-delay: 0.35s; }
  
  .mobile-toggle {
    display: flex !important;
    flex-shrink: 0;
    position: relative;
    z-index: 1002;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
  }
  
  .mobile-toggle span {
    background: var(--primary) !important;
  }
  
  .logo-img {
    height: 140px;
    margin: -30px 0;
    max-width: 200px;
  }
  
  .nav-main .container {
    padding: 0 1rem;
    gap: 1rem;
  }
  
  .nav-cta .btn {
    display: none;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
  
  .hero {
    text-align: center;
    padding-top: 200px;
    padding-bottom: 80px;
    min-height: auto;
  }
  
  .hero-features,
  .hero-buttons,
  .hero-stats {
    justify-content: center;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-about .logo,
  .footer-social,
  .footer-contact li {
    justify-content: center;
  }
  
  .footer-links a {
    justify-content: center;
  }
  
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .services-grid,
  .projects-grid,
  .gallery-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Service Areas Dropdown on Mobile */
  .service-areas-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .service-areas-toggle:hover {
    background: var(--secondary);
    border-color: var(--secondary);
  }
  
  .service-areas-toggle i {
    transition: transform 0.3s ease;
    color: var(--secondary);
  }
  
  .service-areas-toggle:hover i {
    color: var(--text-dark);
  }
  
  .service-areas-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
  }
  
  .service-areas-dropdown .area-list {
    grid-template-columns: 1fr;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .service-areas-dropdown .area-list.open {
    max-height: 500px;
    opacity: 1;
    padding: 1rem 1.25rem;
    margin-top: -1px;
    border-color: var(--border-color);
    background: var(--bg-white);
  }
  
  .lightbox-nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .badges-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-lg {
    width: 100%;
    text-align: center;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ===================================
   UTILITY ANIMATIONS
   =================================== */
.hover-lift {
  transition: transform var(--transition-normal);
}

.hover-lift:hover {
  transform: translateY(-4px);
}

.hover-scale {
  transition: transform var(--transition-normal);
}

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

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--bg-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-3px);
}

/* ===================================
   LOADING ANIMATION
   =================================== */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader {
  width: 48px;
  height: 48px;
  border: 3px solid var(--bg-light);
  border-top-color: var(--secondary);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
}

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