﻿/* ============================================
   VARIABLES & BASE STYLES
   ============================================ */
:root {
  --primary: #53ff8e;
  --primary-dark: #39d870;
  --primary-rgb: 83, 255, 142;
  --primary-glow: rgba(83, 255, 142, 0.3);

  --bg-dark: #040606;
  --bg-darker: #020304;
  --bg-card: rgba(10, 20, 24, 0.95);

  --text-primary: #eef5f8;
  --text-secondary: #99a7ac;
  --text-muted: #6b7b80;

  --border-light: rgba(83, 255, 142, 0.15);

  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Mobile touch targets minimum size */
  --touch-target-min: 44px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px; /* Base for rem units */
}

@media (max-width: 768px) {
  html {
    font-size: 14px; /* Slightly smaller base on tablets */
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px; /* Smaller base on phones */
  }
}

body {
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   SCROLLBAR STYLING (Mobile optional)
   ============================================ */
@media (min-width: 768px) {
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: var(--bg-darker);
  }

  ::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
  }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  z-index: 1001;
  transition: width 0.1s ease;
}

/* ============================================
   SECTION PADDING - Enhanced Mobile
   ============================================ */
.section-padding {
  padding: 80px 0;
}

@media (max-width: 992px) {
  .section-padding {
    padding: 70px 0;
  }
}

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

@media (max-width: 576px) {
  .section-padding {
    padding: 40px 0;
  }
}

/* ============================================
   CONTAINER OPTIMIZATION
   ============================================ */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* ============================================
   GRADIENT BACKGROUND
   ============================================ */
.bg-gradient {
  background: linear-gradient(135deg, rgba(83, 255, 142, 0.03), rgba(83, 255, 142, 0.01));
  position: relative;
}

/* ============================================
   TYPOGRAPHY - Enhanced Mobile
   ============================================ */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-badge {
  display: inline-flex !important;
  padding: 8px 16px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: clamp(0.75rem, 3vw, 0.85rem);
  font-weight: 500;
  color: var(--primary);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

@media (max-width: 576px) {
  .section-badge {
    white-space: normal;
    padding: 6px 12px;
  }
}

.section-title {
  font-size: clamp(1.5rem, 6vw, 2.8rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  font-size: clamp(0.9rem, 4vw, 1.1rem);
  line-height: 1.5;
}

/* ============================================
   NAVIGATION - Enhanced Mobile
   ============================================ */
.navbar {
  background: rgba(4, 6, 6, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  transition: var(--transition-base);
  border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled {
  padding: 0.7rem 0;
  background: rgba(4, 6, 6, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  padding: 0;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-wrapper i {
  font-size: clamp(1.5rem, 5vw, 1.8rem);
  color: var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    text-shadow: 0 0 0px var(--primary-glow);
  }
  50% {
    text-shadow: 0 0 10px var(--primary-glow);
  }
}

.brand-text {
  font-size: clamp(1.1rem, 4vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.navbar-nav {
  gap: 0.5rem;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(4, 6, 6, 0.98);
    backdrop-filter: blur(20px);
    padding: 1rem;
    border-radius: 15px;
    margin-top: 1rem;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .navbar-nav {
    gap: 0;
  }
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  padding: 0.6rem 1.2rem !important;
  border-radius: 100px;
  transition: var(--transition-base);
  font-size: clamp(0.875rem, 3vw, 1rem);
}

@media (max-width: 991px) {
  .nav-link {
    text-align: center;
    padding: 0.8rem !important;
    min-height: var(--touch-target-min);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: rgba(var(--primary-rgb), 0.1);
}

.navbar-toggler {
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem;
  min-width: var(--touch-target-min);
  min-height: var(--touch-target-min);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(83, 255, 142, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   HERO SECTION - Enhanced Mobile
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0 40px;
    min-height: auto;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 70px 0 30px;
  }
}

/* Hero Background Carousel */
.hero-section .heroSwiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-section .swiper-slide {
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .hero-section .swiper-slide {
    background-attachment: scroll; /* Fix for mobile performance */
  }
}

@media (min-width: 769px) {
  .hero-section .swiper-slide {
    background-attachment: fixed;
  }
}

.hero-section .swiper-pagination {
  bottom: 30px !important;
  z-index: 10;
}

.hero-section .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.hero-section .swiper-pagination-bullet-active {
  background: var(--primary);
}

.hero-section .swiper-button-next,
.hero-section .swiper-button-prev {
  color: var(--primary);
  width: 40px;
  height: 40px;
  background: rgba(83, 255, 142, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-base);
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .hero-section .swiper-button-next,
  .hero-section .swiper-button-prev {
    width: 30px;
    height: 30px;
    display: none; /* Hide on very small screens or keep - your choice */
  }
}

@media (max-width: 480px) {
  .hero-section .swiper-button-next,
  .hero-section .swiper-button-prev {
    display: none; /* Better UX to hide on tiny screens */
  }
}

.hero-section .swiper-button-next:hover,
.hero-section .swiper-button-prev:hover {
  background: rgba(83, 255, 142, 0.2);
}

.hero-section .swiper-button-next::after,
.hero-section .swiper-button-prev::after {
  font-size: 18px;
}

@media (max-width: 768px) {
  .hero-section .swiper-button-next::after,
  .hero-section .swiper-button-prev::after {
    font-size: 14px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    rgba(0, 0, 0, 0.4),
    radial-gradient(circle at 20% 50%, rgba(83, 255, 142, 0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(83, 255, 142, 0.05), transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: clamp(0.75rem, 3vw, 0.85rem);
  backdrop-filter: blur(10px);
  margin-bottom: 1rem;
}

@media (max-width: 576px) {
  .hero-badge {
    padding: 6px 12px;
  }
}

.hero-title {
  font-size: clamp(1.8rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text {
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 4vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Buttons - Enhanced Mobile */
.btn {
  min-height: var(--touch-target-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  word-break: break-word;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: var(--bg-dark);
  font-weight: 600;
  padding: 12px 30px;
  transition: var(--transition-base);
}

@media (max-width: 768px) {
  .btn-primary {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-outline-light {
  border: 2px solid var(--border-light);
  color: var(--text-primary);
  padding: 12px 30px;
  transition: var(--transition-base);
  background: transparent;
}

@media (max-width: 768px) {
  .btn-outline-light {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}

.btn-outline-light:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  transform: translateY(-3px);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
}

.stat-card {
  text-align: center;
  padding: 0.5rem;
}

.stat-number {
  font-size: clamp(1.2rem, 5vw, 2rem);
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: clamp(0.7rem, 3vw, 0.85rem);
  color: var(--text-secondary);
}

@media (max-width: 576px) {
  .hero-stats .col-4 {
    padding: 0 0.5rem;
  }
  
  .stat-number {
    font-size: 1.2rem;
  }
  
  .stat-label {
    font-size: 0.65rem;
  }
}

.hero-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .hero-card {
    padding: 1.5rem;
    margin-top: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-card {
    padding: 1.2rem;
  }
}

.hero-card-header {
  display: flex;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--primary);
  font-weight: 600;
  font-size: clamp(0.9rem, 3vw, 1rem);
}

.hero-service-list li {
  padding: 12px 0;
  color: var(--text-secondary);
  transition: var(--transition-base);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.85rem, 3vw, 0.95rem);
}

@media (max-width: 576px) {
  .hero-service-list li {
    padding: 8px 0;
  }
}

.hero-service-list li:hover {
  transform: translateX(10px);
  color: var(--text-primary);
}

.hero-service-list li i {
  color: var(--primary);
  width: 25px;
  flex-shrink: 0;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: clamp(0.75rem, 3vw, 0.85rem);
  color: var(--primary);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 10;
}

@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 20px;
    font-size: 0.75rem;
  }
}

@media (max-width: 576px) {
  .scroll-indicator {
    display: none; /* Hide on very small screens if needed */
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ============================================
   ABOUT SECTION - Enhanced Mobile
   ============================================ */
.about-feature {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 15px;
  border: 1px solid var(--border-light);
  transition: var(--transition-base);
  height: 100%;
}

@media (max-width: 768px) {
  .about-feature {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 1.5rem;
  }
}

.about-feature:hover {
  transform: translateX(10px);
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .about-feature:hover {
    transform: translateY(-5px);
  }
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .feature-icon {
    margin: 0 auto;
  }
}

.feature-content h3 {
  font-size: clamp(1rem, 4vw, 1.2rem);
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--text-secondary);
  margin: 0;
  font-size: clamp(0.85rem, 3vw, 0.95rem);
}

.stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 15px;
  padding: 1.5rem;
  transition: var(--transition-base);
  text-align: center;
  height: 100%;
}

@media (max-width: 768px) {
  .stats-card {
    margin-bottom: 1rem;
    padding: 1.2rem;
  }
}

.stats-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.stats-icon {
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

.stats-number {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  color: var(--primary);
}

.stats-label {
  font-size: clamp(0.75rem, 3vw, 0.85rem);
  color: var(--text-secondary);
}

/* ============================================
   SERVICES SECTION - Enhanced Mobile
   ============================================ */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
  height: 100%;
}

@media (max-width: 768px) {
  .service-card {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .service-card {
    padding: 1.2rem;
  }
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: var(--transition-base);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: clamp(1.1rem, 4vw, 1.3rem);
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-size: clamp(0.85rem, 3vw, 0.95rem);
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.05), transparent);
  opacity: 0;
  transition: var(--transition-base);
}

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

/* ============================================
   PORTFOLIO GALLERY - Enhanced Mobile
   ============================================ */
.portfolio-gallery {
  margin-top: 2rem;
}

.portfolioSwiper {
  width: 100%;
  height: auto;
  max-height: 400px;
  aspect-ratio: 16/9;
}

@media (max-width: 768px) {
  .portfolioSwiper {
    max-height: 300px;
  }
}

@media (max-width: 576px) {
  .portfolioSwiper {
    max-height: 250px;
  }
}

.portfolioSwiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  overflow: hidden;
}

.portfolioSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolioSwiper .swiper-pagination {
  bottom: 10px;
}

.portfolioSwiper .swiper-button-next,
.portfolioSwiper .swiper-button-prev {
  color: var(--primary);
}

@media (max-width: 576px) {
  .portfolioSwiper .swiper-button-next,
  .portfolioSwiper .swiper-button-prev {
    display: none;
  }
}

/* ============================================
   WHY US SECTION - Enhanced Mobile
   ============================================ */
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: var(--transition-base);
  height: 100%;
}

@media (max-width: 768px) {
  .why-card {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .why-card {
    padding: 1.2rem;
  }
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.why-icon {
  font-size: clamp(2rem, 6vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.why-card h3 {
  font-size: clamp(1.1rem, 4vw, 1.3rem);
  margin-bottom: 0.8rem;
}

.why-card p {
  color: var(--text-secondary);
  margin: 0;
  font-size: clamp(0.85rem, 3vw, 0.95rem);
}

.why-number {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  color: rgba(var(--primary-rgb), 0.1);
  pointer-events: none;
}

/* ============================================
   CONTACT SECTION - Enhanced Mobile
   ============================================ */
.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
}

@media (max-width: 768px) {
  .contact-info {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

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

@media (max-width: 576px) {
  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .contact-icon {
    margin: 0 auto;
  }
}

.contact-item h4 {
  font-size: clamp(0.9rem, 3vw, 1rem);
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

.contact-item a,
.contact-item p {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-base);
  word-break: break-word;
  font-size: clamp(0.85rem, 3vw, 0.95rem);
}

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

.contact-map {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

@media (max-width: 768px) {
  .contact-map {
    min-height: 300px;
  }
}

@media (max-width: 576px) {
  .contact-map {
    min-height: 250px;
  }
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

/* ============================================
   FOOTER - Enhanced Mobile
   ============================================ */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 20px;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
    margin-top: 40px;
    text-align: center;
  }
  
  .footer .col-md-4,
  .footer .col-md-3,
  .footer .col-md-2 {
    margin-bottom: 2rem;
  }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-brand i {
  color: var(--primary);
}

.footer-brand span {
  color: var(--text-primary);
}

.footer h4 {
  font-size: clamp(1rem, 4vw, 1.1rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .footer h4 {
    margin-top: 1rem;
  }
}

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

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-base);
  display: inline-block;
  font-size: clamp(0.85rem, 3vw, 0.95rem);
  min-height: var(--touch-target-min);
  line-height: 1.5;
}

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

@media (max-width: 768px) {
  .footer-links a {
    padding: 0.5rem 0;
  }
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition-base);
  text-decoration: none;
  font-size: 1.2rem;
}

@media (max-width: 576px) {
  .social-links a {
    width: 44px;
    height: 44px;
  }
}

.social-links a:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: clamp(0.75rem, 3vw, 0.85rem);
  text-align: center;
}

/* ============================================
   WHATSAPP FLOAT BUTTON - Enhanced Mobile
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition-base);
  z-index: 99;
  text-decoration: none;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  color: white;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-base);
}

@media (max-width: 768px) {
  .whatsapp-tooltip {
    display: none; /* Hide tooltip on mobile for cleaner UI */
  }
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(-5px);
}

/* ============================================
   BOOKING MODAL - Enhanced Mobile
   ============================================ */
.booking-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1100;
}

@media (max-width: 768px) {
  .booking-modal {
    padding: 1rem;
    align-items: flex-start;
    overflow-y: auto;
  }
}

.booking-modal.active {
  opacity: 1;
  visibility: visible;
}

.booking-modal-content {
  width: min(680px, 100%);
  background: rgba(9, 16, 21, 0.98);
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  padding: 2.5rem;
  position: relative;
}

@media (max-width: 768px) {
  .booking-modal-content {
    padding: 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
  }
}

@media (max-width: 576px) {
  .booking-modal-content {
    padding: 1.2rem;
  }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--transition-base);
}

@media (max-width: 768px) {
  .modal-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.modal-header h3 {
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  font-size: clamp(0.85rem, 3vw, 1rem);
}

.booking-form .form-label {
  color: var(--text-secondary);
  font-size: clamp(0.85rem, 3vw, 0.95rem);
}

.booking-form .form-control,
.booking-form .form-select,
.booking-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-size: clamp(0.9rem, 3vw, 1rem);
  min-height: var(--touch-target-min);
}

.booking-form .form-control:focus,
.booking-form .form-select:focus,
.booking-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}

.booking-form textarea {
  resize: vertical;
}

.booking-form button[type="submit"] {
  width: 100%;
  margin-top: 1rem;
  min-height: var(--touch-target-min);
}

/* ============================================
   ANIMATIONS - Optimized for Mobile
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .fade-in-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   UTILITY CLASSES FOR MOBILE
   ============================================ */
@media (max-width: 576px) {
  .hide-on-mobile {
    display: none !important;
  }
  
  .text-center-mobile {
    text-align: center !important;
  }
  
  .mb-2-mobile {
    margin-bottom: 0.5rem !important;
  }
  
  .mb-3-mobile {
    margin-bottom: 1rem !important;
  }
  
  .mb-4-mobile {
    margin-bottom: 1.5rem !important;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .hide-on-tablet {
    display: none !important;
  }
}

/* Touch-friendly improvements */
button,
a,
[role="button"],
input,
select,
textarea {
  touch-action: manipulation;
}

/* Prevent text resize on orientation change */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  font-size: 16px !important; /* Prevents zoom on iOS */
}

/* Fix for 100vh issue on mobile browsers */
.hero-section {
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

/* Smooth images on mobile */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Better grid spacing on mobile */
.row {
  margin-right: -12px;
  margin-left: -12px;
}

.row > [class*="col-"] {
  padding-right: 12px;
  padding-left: 12px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .row {
    margin-right: -10px;
    margin-left: -10px;
  }
  
  .row > [class*="col-"] {
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 20px;
  }
}

/* Fix for Bootstrap columns on mobile */
@media (max-width: 576px) {
  .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Additional responsive breakpoint for large phones */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-stats .stat-number {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}