/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
  background: rgba(10, 35, 66, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ===== CTA BUTTONS ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: #34D399;
  color: #0A2342;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(52, 211, 153, 0.3);
}

.cta-btn:hover {
  background: #6EE7B7;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(52, 211, 153, 0.4);
}

.cta-btn-small {
  display: inline-flex;
  align-items: center;
  background: #34D399;
  color: #0A2342;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  border-radius: 0.625rem;
  transition: all 0.3s ease;
}

.cta-btn-small:hover {
  background: #6EE7B7;
  transform: translateY(-1px);
}

.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta-btn-outline:hover {
  border-color: #34D399;
  color: #34D399;
  background: rgba(52, 211, 153, 0.05);
}

.cta-btn-dark {
  display: inline-flex;
  align-items: center;
  background: #0A2342;
  color: #34D399;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(10, 35, 66, 0.4);
}

.cta-btn-dark:hover {
  background: #071A32;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(10, 35, 66, 0.5);
}

.cta-btn-outline-dark {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #0A2342;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  border: 1.5px solid rgba(10, 35, 66, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta-btn-outline-dark:hover {
  border-color: #0A2342;
  background: rgba(10, 35, 66, 0.05);
}

/* ===== SERVICE CARDS ===== */
.service-card {
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===== GALLERY ===== */
.gallery-item {
  cursor: pointer;
  transition: transform 0.4s ease;
}

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

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===== MOBILE MENU ===== */
.mobile-link {
  opacity: 1;
  transition: color 0.3s ease;
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ===== FOCUS STYLES ===== */
:focus-visible {
  outline: 2px solid #34D399;
  outline-offset: 2px;
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(52, 211, 153, 0.3);
  color: #ffffff;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0A2342;
}

::-webkit-scrollbar-thumb {
  background: #305971;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #34D399;
}
