/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #FF6B35;
  --secondary-color: #F7931E;
  --accent-color: #FFD23F;
  --dark-color: #2C3E50;
  --light-color: #ECF0F1;
  --white: #FFFFFF;
  --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow-light: 0 5px 20px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.2);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

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

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

/* Typography */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-text {
  color: var(--primary-color);
  position: relative;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

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

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

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

.btn-cta {
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 18px 36px;
  font-size: 1.1rem;
  box-shadow: var(--shadow-medium);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 15px 0;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-light);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

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

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

/* Navigation */
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

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

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

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

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

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.8) 0%, rgba(255, 107, 53, 0.3) 100%);
  z-index: -1;
}

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

.hero-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  z-index: 1;
}

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

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-color);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
}

.scroll-arrow {
  width: 2px;
  height: 40px;
  background: var(--white);
  position: relative;
  animation: scroll-bounce 2s infinite;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}

@keyframes scroll-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Features Section */
.features-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  margin-top: 80px; /* Add space below hero section to prevent overlap */
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark-color);
}

.section-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
}

.feature-card:hover::before {
  left: 0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--dark-color);
}

.feature-card p {
  color: #6c757d;
  line-height: 1.6;
}

/* Services Preview */
.services-preview {
  padding: 120px 0;
  background: var(--white);
}

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

.service-slide {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
}

.service-slide:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.service-content {
  padding: 40px 30px;
  color: var(--white);
  text-align: center;
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.service-slide h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.service-slide p {
  margin-bottom: 24px;
  opacity: 0.9;
}

.service-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

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

/* CTA Section */
.cta-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  z-index: -1;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Floating Action Button */
.floating-action {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.fab-main {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
}

.fab-main:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-heavy);
}

.fab-options {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.floating-action:hover .fab-options {
  opacity: 1;
  transform: translateY(0);
}

.fab-option {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
}

.fab-option:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-medium);
}

.fab-option::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark-color);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.fab-option:hover::before {
  opacity: 1;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.footer-left p,
.footer-right p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.qr-img,
.footer-logo {
  max-height: 150px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.qr-img:hover,
.footer-logo:hover {
  transform: scale(1.05);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-medium);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    margin: 20px 0;
  }
  
  .nav-links a {
    font-size: 1.2rem;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
  }
  
  .nav-links a:hover {
    background: var(--gradient-primary);
    color: var(--white);
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  body.nav-open {
    overflow: hidden;
  }
  
  /* Hero responsive improvements */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    gap: 30px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  /* Features responsive */
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  /* Services responsive */
  .services-carousel {
    grid-template-columns: 1fr;
  }
  
  .service-content {
    padding: 30px 20px;
  }
  
  /* Floating action responsive */
  .floating-action {
    bottom: 20px;
    right: 20px;
  }
  
  .fab-main {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .fab-option {
    width: 45px;
    height: 45px;
  }
  
  /* Typography responsive */
  .section-title {
    font-size: 2.2rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .features-section,
  .services-preview,
  .cta-section {
    padding: 80px 0;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .feature-card,
  .service-content {
    padding: 25px 15px;
  }
}

/* Loading Animation */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 9999;
  transition: opacity 0.5s ease;
}

body.loaded::before {
  opacity: 0;
  pointer-events: none;
}

/* Improved focus states for accessibility */
.btn:focus,
.form-input:focus,
.form-textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Enhanced hover effects */
.feature-card,
.service-slide,
.location-card,
.value-card,
.service-card {
  cursor: pointer;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Additional mobile styles for better UX */
@media (max-width: 768px) {
  .hero-section {
    height: 80vh;
  }
  
  .services-hero,
  .contact-hero,
  .about-hero {
    height: 60vh;
    margin-top: 70px;
  }
  
  .fab-options {
    right: -10px;
  }
  
  .fab-option::before {
    right: 55px;
    font-size: 0.7rem;
    padding: 6px 10px;
  }
}