/* Base Styles & Variables */
:root {
  /* Colors */
  --primary: #FF6B6B;
  --primary-light: #FF8E8E;
  --primary-dark: #FF4757;
  --secondary: #2D3436;
  --accent: #FF9F43;
  --gradient-1: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  --gradient-2: linear-gradient(135deg, #FF9F43 0%, #FECA57 100%);
  --gradient-3: linear-gradient(135deg, #2D3436 0%, #34495E 100%);
  --success: #2ecc71;
  --danger: #e74c3c;
  --warning: #f39c12;
  --info: #3498db;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --white: #ffffff;
  --black: #000000;
  
  /* Gradients */
  --gradient-primary: var(--gradient-1);
  --gradient-secondary: var(--gradient-3);
  --gradient-accent: var(--gradient-2);
  
  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 12px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.25);
  --shadow-primary: 0 8px 25px rgba(255, 107, 107, 0.4);
  --shadow-accent: 0 8px 25px rgba(255, 159, 67, 0.4);
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-sm: 0.875rem;
  --font-size-xs: 0.75rem;
  --line-height-base: 1.6;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --transition-fast: all 0.15s ease;
  
  /* Container */
  --container-width: 1200px;
  --section-padding: 6rem 0;
  
  /* Z-index */
  --z-back: -10;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Animated Gas Flame Styles */
.gas-flame-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.gas-flame {
  font-size: 2rem;
  color: #FF6B35;
  animation: flameFlicker 1.5s ease-in-out infinite alternate;
  z-index: 2;
  position: relative;
}

.flame-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.4) 0%, rgba(255, 159, 67, 0.2) 50%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: flameGlow 2s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes flameFlicker {
  0% {
    transform: scale(1) rotate(-2deg);
    color: #FF6B35;
    filter: brightness(1);
  }
  25% {
    transform: scale(1.05) rotate(1deg);
    color: #FF8E53;
    filter: brightness(1.1);
  }
  50% {
    transform: scale(0.98) rotate(-1deg);
    color: #FF9F43;
    filter: brightness(0.9);
  }
  75% {
    transform: scale(1.02) rotate(2deg);
    color: #FF6B35;
    filter: brightness(1.05);
  }
  100% {
    transform: scale(1.03) rotate(-1deg);
    color: #FF4757;
    filter: brightness(1.2);
  }
}

@keyframes flameGlow {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.4;
  }
}

.logo:hover .gas-flame {
  animation-duration: 0.8s;
  color: #FF4757;
}

.logo:hover .flame-glow {
  animation-duration: 1s;
  opacity: 0.9;
}

/* Hero Service Line Styles */
.hero-service-line {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gray);
  margin: 10px 0 20px 0;
  opacity: 0.8;
  line-height: 1.4;
}

/* 24/7 Service Badge Hover Animation */
.service-badge {
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-badge:hover {
  animation: zoomAndFade 0.8s ease-in-out forwards;
}

@keyframes zoomAndFade {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Reset animation when not hovering */
.service-badge:not(:hover) {
  animation: fadeBackIn 0.3s ease-in-out forwards;
}

@keyframes fadeBackIn {
  0% {
    transform: scale(2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Brand Subtitle Styles */
.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--gray);
  margin-top: -2px;
  opacity: 0.8;
}

.footer-subtitle {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  font-style: italic;
}

/* Call Now Button Styles */
.call-now-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
  border: none !important;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4) !important;
  animation: callGlow 2s ease-in-out infinite alternate;
}

.call-now-btn:hover {
  background: linear-gradient(135deg, #218838 0%, #1e7e34 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(40, 167, 69, 0.6) !important;
}

.call-now-btn i {
  margin-right: 8px;
  animation: phoneRing 1.5s ease-in-out infinite;
}

.call-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: inherit;
  transform: translate(-50%, -50%) scale(0);
  animation: callPulse 2s ease-out infinite;
}

@keyframes callGlow {
  0% { box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4); }
  100% { box-shadow: 0 8px 25px rgba(40, 167, 69, 0.8), 0 0 20px rgba(40, 167, 69, 0.3); }
}

@keyframes phoneRing {
  0%, 100% { transform: rotate(0deg); }
  10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
  20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

@keyframes callPulse {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

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

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

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--secondary);
}

h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 800;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray);
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

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

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

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

button {
  cursor: pointer;
  outline: none;
  border: none;
  background: none;
  transition: var(--transition);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  min-width: 160px;
  margin: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  line-height: 1.5;
  height: auto;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: -1;
  transition: var(--transition);
}

.btn:hover::before {
  transform: scale(1.05);
  box-shadow: var(--shadow-primary);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  filter: brightness(1.1);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid white;
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn i {
  margin-right: 0.5rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* Section */
section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header.scrolled {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 107, 107, 0.1);
}

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

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.brand:hover {
  transform: translateY(-2px);
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  padding: 5px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
  margin: 0;
}

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

.nav-link {
  color: var(--dark);
  font-weight: 600;
  padding: 0.75rem 0.8rem;
  margin: 0 0.1rem;
  border-radius: 25px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  text-decoration: none;
  overflow: hidden;
  background: transparent;
  border: 2px solid transparent;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 142, 83, 0.1) 100%);
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 25px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 30px;
  height: 3px;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-link:hover {
  color: var(--primary);
  transform: translateY(-3px);
  background: rgba(255, 107, 107, 0.05);
  border-color: rgba(255, 107, 107, 0.2);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.15);
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: white;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  transform: translateY(-2px);
}

.nav-link.active::before {
  opacity: 0;
}

.nav-link.active::after {
  background: white;
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.cart-icon {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 142, 83, 0.1) 100%);
  border: 2px solid rgba(255, 107, 107, 0.2);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-left: 1rem;
  color: var(--primary);
  font-size: 1.2rem;
}

/* Mobile cart icon positioning */
@media (max-width: 768px) {
  .cart-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    margin-left: 0;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    border: 2px solid white;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  }
  
  .cart-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
  }
}

.cart-icon:hover {
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  border-color: transparent;
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.cart-count {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #FF1744;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.35rem 0.5rem;
  border-radius: 50%;
  min-width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 23, 68, 0.6), 0 2px 4px rgba(0, 0, 0, 0.3);
  border: 3px solid white;
  z-index: 15;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1;
  animation: cartPulse 2s infinite;
}

@keyframes cartPulse {
  0% { 
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(255, 23, 68, 0.6), 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  50% { 
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(255, 23, 68, 0.8), 0 3px 6px rgba(0, 0, 0, 0.4);
  }
  100% { 
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(255, 23, 68, 0.6), 0 2px 4px rgba(0, 0, 0, 0.3);
  }
}

/* AI Chat Button */
.ai-chat-button {
  position: fixed;
  bottom: 80px;
  left: 30px;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 50%, #45b7d1 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: white;
  font-size: 1.6rem;
  animation: aiButtonPulse 3s infinite;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.ai-chat-button:hover {
  transform: translateY(-5px) scale(1.15);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
  animation: none;
}

.ai-chat-button.active {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: rotate(45deg);
}

@keyframes aiButtonPulse {
  0% { 
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
    transform: scale(1.05);
  }
  100% { 
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    transform: scale(1);
  }
}

.chat-tooltip {
  position: absolute;
  left: 75px;
  top: 50%;
  transform: translateY(-50%) translateX(-10px) scale(0.8);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
  z-index: 1002;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.ai-chat-button:hover .chat-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0) scale(1);
}

/* AI Chat Interface */
.ai-chat-interface {
  position: fixed;
  bottom: 110px;
  left: 30px;
  width: 400px;
  height: 550px;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
  border-radius: 25px;
  box-shadow: 0 25px 80px rgba(102, 126, 234, 0.2), 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  border: 2px solid rgba(102, 126, 234, 0.1);
  backdrop-filter: blur(10px);
  transform-origin: bottom left;
}

.ai-chat-interface.genie-opening {
  animation: genieOpen 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.ai-chat-interface.genie-closing {
  animation: genieClose 0.8s cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
}

.ai-chat-interface.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

@keyframes genieOpen {
  0% {
    opacity: 0;
    visibility: visible;
    transform: scale(0.1) translateX(300px) translateY(400px) skewX(45deg) skewY(10deg);
    border-radius: 50%;
  }
  20% {
    opacity: 0.3;
    transform: scale(0.3) translateX(200px) translateY(250px) skewX(30deg) skewY(8deg);
    border-radius: 40px;
  }
  40% {
    opacity: 0.6;
    transform: scale(0.5) translateX(100px) translateY(120px) skewX(15deg) skewY(5deg);
    border-radius: 35px;
  }
  60% {
    opacity: 0.8;
    transform: scale(0.7) translateX(50px) translateY(60px) skewX(8deg) skewY(3deg);
    border-radius: 30px;
  }
  80% {
    opacity: 0.95;
    transform: scale(0.9) translateX(20px) translateY(20px) skewX(3deg) skewY(1deg);
    border-radius: 27px;
  }
  100% {
    opacity: 1;
    transform: scale(1) translateX(0) translateY(0) skewX(0deg) skewY(0deg);
    border-radius: 25px;
  }
}

@keyframes genieClose {
  0% {
    opacity: 1;
    transform: scale(1) translateX(0) translateY(0) skewX(0deg) skewY(0deg);
    border-radius: 25px;
  }
  20% {
    opacity: 0.95;
    transform: scale(0.9) translateX(20px) translateY(20px) skewX(3deg) skewY(1deg);
    border-radius: 27px;
  }
  40% {
    opacity: 0.8;
    transform: scale(0.7) translateX(50px) translateY(60px) skewX(8deg) skewY(3deg);
    border-radius: 30px;
  }
  60% {
    opacity: 0.6;
    transform: scale(0.5) translateX(100px) translateY(120px) skewX(15deg) skewY(5deg);
    border-radius: 35px;
  }
  80% {
    opacity: 0.3;
    transform: scale(0.3) translateX(200px) translateY(250px) skewX(30deg) skewY(8deg);
    border-radius: 40px;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.1) translateX(300px) translateY(400px) skewX(45deg) skewY(10deg);
    border-radius: 50%;
  }
}

.chat-header {
  background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 50%, #45b7d1 100%);
  color: white;
  padding: 1.2rem 1.8rem;
  border-radius: 23px 23px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.chat-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  pointer-events: none;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.chat-title i {
  font-size: 1.3rem;
  animation: robotBlink 2s infinite;
}

@keyframes robotBlink {
  0%, 90% { opacity: 1; }
  95% { opacity: 0.3; }
  100% { opacity: 1; }
}

.chat-close {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg) scale(1.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.chat-content {
  flex: 1;
  padding: 1.8rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 255, 0.9) 100%);
}

.welcome-message {
  flex-shrink: 0;
  border-radius: 50%;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.message-bubble {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  padding: 1rem 1.4rem;
  border-radius: 20px 20px 20px 6px;
  max-width: 300px;
  font-size: 0.95rem;
  line-height: 1.5;
  border: 2px solid rgba(102, 126, 234, 0.1);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
  position: relative;
  animation: messageSlideIn 0.5s ease-out;
}

.ai-message {
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
  border: 2px solid rgba(69, 183, 209, 0.2);
  box-shadow: 0 6px 20px rgba(69, 183, 209, 0.15);
}

@keyframes messageSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.topic-selection h4 {
  margin: 0 0 1rem 0;
  color: #333;
  font-size: 1rem;
  font-weight: 600;
}

.author-info h4 {
  margin: 0 0 0.25rem 0;
  color: #333;
  font-size: 1rem;
  font-weight: 600;
}

.location {
  margin: 0 0 0.5rem 0;
  color: #666;
  font-size: 0.85rem;
  font-style: italic;
}

.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.topic-btn {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 16px;
  padding: 1.2rem 1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.topic-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.topic-btn:hover::before {
  left: 100%;
}

.topic-btn:hover {
  border-color: #ff6b6b;
  background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 50%, #45b7d1 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  color: white;
}

.topic-btn:hover i {
  color: white;
  transform: scale(1.1);
}

.topic-btn:hover span {
  color: white;
  font-weight: 600;
}

.topic-btn i {
  font-size: 1.8rem;
  color: #667eea;
  transition: all 0.3s ease;
}

.topic-btn span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  transition: all 0.3s ease;
}

.chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.typing-indicator {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.typing-dots {
  background: #f8f9fa;
  padding: 1rem 1.25rem;
  border-radius: 18px 18px 18px 4px;
  display: flex;
  gap: 0.25rem;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  background: #667eea;
  border-radius: 50%;
  animation: typingDots 1.4s infinite ease-in-out;
}

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

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDots {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

.chat-actions {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.action-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 100px;
}

.action-btn.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.action-btn.secondary {
  background: #f8f9fa;
  color: #333;
  border: 1px solid #e9ecef;
}

.action-btn.secondary:hover {
  background: #e9ecef;
  transform: translateY(-1px);
}


/* Mobile Responsive */
@media (max-width: 768px) {
  .ai-chat-interface {
    left: 20px;
    right: 20px;
    width: auto;
    bottom: 90px;
    height: 450px;
  }
  
  .ai-chat-button {
    bottom: 70px;
    left: 20px;
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }
  
  .chat-tooltip {
    display: none;
  }
  
  .topic-grid {
    grid-template-columns: 1fr;
  }
  
  .action-btn {
    font-size: 0.8rem;
    padding: 0.625rem 0.75rem;
  }
  
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.mobile-menu-btn {
  display: none;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 142, 83, 0.1) 100%);
  border: 2px solid rgba(255, 107, 107, 0.2);
  border-radius: 12px;
  font-size: 1.3rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.75rem;
  margin-left: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-menu-btn:hover {
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}
/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.mobile-nav-list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
  margin: 0;
  list-style: none;
}

.mobile-nav-item {
  flex: 1;
  text-align: center;
}

.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.25rem;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  transition: var(--transition);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.mobile-nav-link i {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  transition: var(--transition);
}

.mobile-nav-link.active {
  color: var(--primary);
  transform: translateY(-5px);
}

.mobile-nav-link.active i {
  color: var(--primary);
}

.mobile-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: 50%;
}

/* Hide mobile bottom nav on desktop */
@media (min-width: 992px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  background-color: var(--white);
  width: 90%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
  transform: translateY(0);
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  color: var(--dark);
  font-weight: 500;
  border-bottom: 1px solid var(--light-gray);
  transition: var(--transition);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
  padding-left: 0.5rem;
}

.close-menu-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}

.close-menu-btn:hover {
  color: var(--danger);
  transform: rotate(90deg);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  overflow: hidden;
  color: white;
  display: flex;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
  mix-blend-mode: overlay;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  padding-right: 2rem;
}

.badge {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: float 6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.1) 100%);
  transform: translateX(-100%);
  animation: shine 3s infinite;
  z-index: -1;
}

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

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 5px;
  background: white;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 600px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.cta-buttons::-webkit-scrollbar {
  display: none;
}

@media (max-width: 992px) {
  .cta-buttons {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
    margin: 1.5rem 0;
    gap: 0.75rem;
  }
  
  .btn {
    min-width: 280px;
    width: 100%;
    max-width: 320px;
    white-space: nowrap;
    padding: 0.875rem 1.5rem;
    margin: 0;
    flex-shrink: 0;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin: 1.25rem 0;
  }
  
  .btn {
    font-size: 0.95rem;
    padding: 0.875rem 1.25rem;
    min-width: 260px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    margin: 0;
  }
}

.safety-note {
  display: flex;
  align-items: center;
  background: #fff8f0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: #e67e22;
  margin-top: 1.5rem;
  max-width: 500px;
}

/* 24/7 Service Badge */
.service-badge {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: fit-content;
  animation: pulse 2s infinite;
}

/* Floating Badge */
.floating-badge {
  position: absolute;
  top: 30%;
  left: 35%;
  transform: translate(-50%, -50%);
  z-index: 10;
  animation: floatUpDown 3s ease-in-out infinite, pulse 2s infinite;
  margin: 0;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  padding: 1rem 1.5rem;
  min-width: 200px;
  text-align: center;
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -55%) translateY(-5px);
  }
}

/* Adjust for mobile */
@media (max-width: 992px) {
  .floating-badge {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 2rem auto 0;
    display: flex;
    justify-content: center;
    animation: pulse 2s infinite;
    max-width: 90%;
  }
}

.service-badge img {
  width: 60px;  /* Increased from 40px */
  height: 60px; /* Increased from 40px */
  margin-right: 12px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Slightly increase badge padding to accommodate larger image */
.floating-badge {
  padding: 1.1rem 1.75rem;
}

.service-badge span {
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  font-size: 0.95rem;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.safety-note i {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.hero-image {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.hero-img {
  width: 90%;
  max-width: 90%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  transition: var(--transition);
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Floating elements animation */
.floating-element {
  position: absolute;
  width: auto;
  height: auto;
  max-width: 70px;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
  transition: all 0.5s ease;
  z-index: 3;
  animation-duration: 15s, 5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
}

/* Individual element positioning and animations */
.floating-1 {  /* set.png */
  width: 50px;
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -25px;
  animation: circular-orbit-1 15s linear infinite, pulse 3s ease-in-out infinite alternate;
  transform-origin: -120px center;
}

.floating-2 {  /* Gas.png */
  width: 45px;
  top: 50%;
  left: 50%;
  margin: -22.5px 0 0 -22.5px;
  animation: circular-orbit-2 18s linear infinite, pulse 3.5s ease-in-out infinite alternate;
  transform-origin: -150px center;
  animation-delay: -4s;
}

.floating-3 {  /* Gasanime.png */
  width: 55px;
  top: 50%;
  left: 50%;
  margin: -27.5px 0 0 -27.5px;
  animation: circular-orbit-3 20s linear infinite, pulse 4s ease-in-out infinite alternate;
  transform-origin: -180px center;
  animation-delay: -8s;
}

.floating-4 {  /* 24.png */
  width: 40px;
  top: 50%;
  left: 50%;
  margin: -20px 0 0 -20px;
  animation: circular-orbit-4 25s linear infinite, pulse 2.5s ease-in-out infinite alternate;
  transform-origin: -200px center;
  animation-delay: -6s;
}

/* Hover effects */
.floating-element:hover {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 8px 15px rgba(0,0,0,0.3));
  z-index: 4;
}

/* Circular orbit animations with larger radius */
@keyframes circular-orbit-1 {
  from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

@keyframes circular-orbit-2 {
  from { transform: rotate(90deg) translateX(150px) rotate(-90deg); }
  to { transform: rotate(450deg) translateX(150px) rotate(-450deg); }
}

@keyframes circular-orbit-3 {
  from { transform: rotate(180deg) translateX(180px) rotate(-180deg); }
  to { transform: rotate(540deg) translateX(180px) rotate(-540deg); }
}

@keyframes circular-orbit-4 {
  from { transform: rotate(270deg) translateX(200px) rotate(-270deg); }
  to { transform: rotate(630deg) translateX(200px) rotate(-630deg); }
}

.hero-img:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.floating-shape {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--gradient-accent);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 15s ease-in-out infinite;
  opacity: 0.15;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  33% {
    transform: translate(20px, 20px) rotate(5deg);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
  66% {
    transform: translate(-20px, 20px) rotate(-10deg);
    border-radius: 50% 50% 70% 30% / 50% 70% 30% 50%;
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

.wave-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-shape svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.wave-shape .shape-fill {
  fill: #ffffff;
}

/* Services Section */
.services {
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f2f6 100%);
  padding: 6rem 0;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-attachment: fixed;
  opacity: 0.03;
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
  transition: all 0.4s ease;
  z-index: -1;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.1;
  transition: all 0.4s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
}

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

.service-card:hover::after {
  opacity: 0.2;
  transform: scale(1.5);
}

.service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 159, 67, 0.1) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--primary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.1);
  position: relative;
  overflow: hidden;
}

.service-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: transparent;
  color: white;
  transform: rotateY(180deg);
  box-shadow: 0 15px 30px rgba(255, 107, 107, 0.2);
}

.service-card:hover .service-icon::before {
  opacity: 1;
}

.service-icon i {
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.service-card h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
  color: var(--secondary);
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.service-card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.service-card:hover h3::after {
  width: 60px;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  transition: all 0.3s ease;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  overflow: hidden;
}

.service-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.service-card:hover .service-link {
  color: var(--primary);
  padding-left: 10px;
}

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

.service-link i {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

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

/* About Section */
.about {
  position: relative;
  background: linear-gradient(135deg, #2D3436 0%, #34495E 100%);
  padding: 6rem 0;
  overflow: hidden;
  color: white;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-attachment: fixed;
  opacity: 0.05;
  z-index: 0;
}

.about .container {
  position: relative;
  z-index: 1;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: white;
  position: relative;
  display: inline-block;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.about-text p {
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-size: 1.05rem;
}

.features {
  margin: 2.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.2rem;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
  color: var(--primary);
  background: rgba(255, 107, 107, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature:hover i {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}

.feature span {
  color: white;
  font-weight: 500;
  line-height: 1.5;
}

.about-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  z-index: 1;
  perspective: 1000px;
}

.about-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 10px solid rgba(255, 255, 255, 0.1);
  background: white;
  padding: 10px;
}

.about-img:hover {
  transform: rotateY(0) rotateX(0) scale(1.02);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.4);
}

.about-image::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  background: var(--gradient-primary);
  border-radius: 25px;
  opacity: 0.3;
  z-index: 1;
  transition: all 0.5s ease;
}

.about-image:hover::before {
  transform: translate(10px, 10px);
  opacity: 0.5;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem 1rem;
  border-radius: 15px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Gallery Section */
.gallery {
  position: relative;
  background-color: var(--white);
  padding: 6rem 0;
  overflow: hidden;
}

.gallery .section-header {
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  aspect-ratio: 1;
}

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

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-info h4 {
  color: var(--white);
  margin-bottom: 0.25rem;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.1s;
  opacity: 0;
}

.gallery-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin: 0;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.2s;
  opacity: 0;
}

.gallery-item:hover .gallery-info h4,
.gallery-item:hover .gallery-info p {
  transform: translateY(0);
  opacity: 1;
}

/* Testimonials Section */
.testimonials {
  position: relative;
  background-color: #f8f9fa;
  padding: 6rem 0;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgMGgxMDB2MTAwSDB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTUwIDUwYzAgMTMuODA3LTExLjE5MyAyNS0yNSAyNXMtMjUtMTEuMTkzLTI1LTI1IDExLjE5My0yNSAyNS0yNSAyNSAxMS4xOTMgMjUgMjV6IiBmaWxsPSJub25lIiBzdHJva2U9IiNlOWVjZWYiIHN0cm9rZS13aWR0aD0iMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
  opacity: 0.5;
  z-index: 0;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

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

.testimonial-slide.active {
  display: block;
}

.testimonial-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  margin: 0 1rem;
}

.testimonial-content::before {
  content: '"\201D';
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(255, 107, 53, 0.1);
  line-height: 1;
  z-index: 0;
}

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

.testimonial-text i {
  color: var(--primary);
  opacity: 0.5;
  font-size: 1.5rem;
  vertical-align: middle;
  margin: 0 0.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  border: 3px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.author-info h4 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  color: var(--secondary);
}

.rating {
  color: var(--warning);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.rating i {
  margin-right: 0.125rem;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  border: none;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.testimonial-nav:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.testimonial-nav.prev {
  left: 0;
}

.testimonial-nav.next {
  right: 0;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light-gray);
  margin: 0 0.25rem;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Contact Section */
.contact {
  position: relative;
  background-color: var(--white);
  padding: 6rem 0;
  overflow: hidden;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

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

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.contact-item:last-child {
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-icon-link:hover .contact-icon {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* For the location icon which is not clickable */
.contact-item > .contact-icon {
  margin-right: 1.5rem;
}

.contact-item:hover > .contact-icon {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-5px);
}

/* Click Instruction Styles */
.click-instruction {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.3rem !important;
  font-style: italic;
  opacity: 0.8;
  color: var(--secondary);
}

.contact-text a {
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--primary);
  text-decoration: none;
}

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
  z-index: -1;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
  text-align: center;
}

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

.form-group label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--gray);
  font-size: 0.875rem;
  transition: var(--transition);
  pointer-events: none;
  background: var(--white);
  padding: 0 0.5rem;
  transform-origin: left top;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.75rem;
  color: var(--primary);
  transform: scale(0.9);
}

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

.btn-block {
  display: block;
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius);
  background: var(--gradient-primary);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.btn-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Footer */
.footer {
  background-color: var(--secondary);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

/* SEO Tag Styles */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  background: rgba(255, 107, 107, 0.1);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 107, 107, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.tag:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

.footer-tags h4,
.footer-keywords h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-tags h4::after,
.footer-keywords h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.contact-info p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info i {
  color: var(--primary);
  width: 16px;
}

.contact-info a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about {
  padding-right: 2rem;
}

.footer-logo {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-about h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-about p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

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

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

.footer-links h4,
.footer-services h4,
.footer-newsletter h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-newsletter h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a,
.footer-services a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-links a:hover,
.footer-services a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-links a::before,
.footer-services a::before {
  content: '→';
  margin-right: 0.5rem;
  color: var(--primary);
  opacity: 0;
  transition: var(--transition);
}

.footer-links a:hover::before,
.footer-services a:hover::before {
  opacity: 1;
  margin-right: 0.75rem;
}

.newsletter-form {
  display: flex;
  margin-top: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius) 0 0 var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

.newsletter-form button i {
  font-size: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 99;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid var(--light-gray);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Responsive Styles */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 100%;
    padding: 0 1.5rem;
  }
  
  .nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-bottom-nav {
    display: block;
  }
  
  /* Adjust padding for mobile */
  section {
    padding: 4rem 0;
  }
  
  .hero {
    padding: 100px 0 80px;
  }
  
  /* Add bottom padding to account for fixed nav */
  body {
    padding-bottom: 70px;
  }
  
  /* Hide desktop menu on mobile */
  .mobile-menu {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-content {
    flex-direction: column-reverse;
  }
  
  .about-image {
    margin-bottom: 2rem;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 1.5rem 1rem;
  }
  
  .testimonial-content {
    padding: 1.5rem;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info, .contact-form-container {
    width: 100%;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-about {
    padding-right: 0;
  }
  
  .footer-links, .footer-services, .footer-newsletter {
    margin-top: 1.5rem;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .scroll-to-top {
    bottom: 80px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
  }
  
  .testimonial-nav {
    width: 35px;
    height: 35px;
    font-size: 0.875rem;
  }
  
  .scroll-to-top {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}
