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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
}

/* Navigation Styles */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled #nav-logo {
  color: #1a2332;
}

#navbar.scrolled .nav-link {
  color: #1a2332;
}

#nav-logo {
  color: white;
  transition: color 0.3s ease;
}

.nav-link {
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00b4d8;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

#navbar.scrolled .nav-link {
  color: #1a2332;
}

.mobile-nav-link {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: #00b4d8;
  transform: translateX(10px);
}

/* Button Styles */
.btn-primary {
  background: #00b4d8;
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background: #0096c7;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.3);
}

.btn-secondary {
  background: #00b4d8;
  color: white;
  padding: 16px 40px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: #0096c7;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 180, 216, 0.4);
}

/* Hero Section */
#hero {
  position: relative;
  overflow: hidden;
}

#hero-content,
#services,
#about,
#gallery,
#contact {
  overflow-x: hidden;
}

.hero-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(0, 180, 216, 0.1), transparent);
  animation: shimmer 3s infinite;
  z-index: 1;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Service Cards */
.service-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #00b4d8;
  box-shadow: 0 16px 40px rgba(0, 180, 216, 0.15);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #00b4d8, #0096c7);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

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

.service-icon i {
  color: white;
}

/* About Section */
.about-image-wrapper {
  position: relative;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00b4d8, #0096c7);
  border-radius: 1rem;
  z-index: -1;
  opacity: 0.2;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  width: 24px;
  height: 24px;
  color: #00b4d8;
  flex-shrink: 0;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #00b4d8;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

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

/* Contact Section */
.contact-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Manrope', sans-serif;
}

.contact-input:focus {
  outline: none;
  border-color: #00b4d8;
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

.contact-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: start;
  gap: 1rem;
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateX(8px);
}

/* Animations - GSAP will handle these - REMOVED to prevent invisible sections */

/* Responsive */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  #services-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Small phones ≤ 480px */
@media (max-width: 480px) {
  #hero h1 {
    font-size: 2rem;
  }
  
  #hero p {
    font-size: 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
  
  .contact-card {
    padding: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

/* Very small screens < 350px */
@media (max-width: 350px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  #navbar {
    padding: 0.75rem;
  }
  
  #nav-logo {
    font-size: 1.25rem;
  }
  
  #hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  #hero p {
    font-size: 0.9rem;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  #about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .service-icon {
    width: 48px;
    height: 48px;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
  }
  
  .contact-card {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .contact-input {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .gallery-item {
    max-width: 240px;
    margin: 0 auto;
  }
  
  h2 {
    font-size: 1.75rem !important;
  }
  
  h3 {
    font-size: 1.25rem !important;
  }
}

/* Accessibility - Reduced Motion */
@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;
  }

  .slide-left,
  .slide-right,
  .fade-up,
  .scale-in {
    opacity: 1 !important;
    transform: none !important;
  }
  
  #hero-content,
  #services,
  #about,
  #gallery,
  #contact {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Loading State */
.loading {
  opacity: 0;
}
