/* Global Styles */
:root {
  --primary-color: #0aa5a6; /* Teal */
  --secondary-color: #14c4c5; /* Aqua */
  --dark-bg: #121212; /* Very dark gray */
  --darker-bg: #0a0a0a; /* Almost black */
  --light-bg: #1e1e1e; /* Dark gray */
  --text-primary: #ffffff; /* White */
  --text-secondary: #b0b0b0; /* Light gray */
  --text-tertiary: #757575; /* Medium gray */
  --card-bg: #1e1e1e; /* Dark gray */
  --border-color: #333333; /* Dark gray border */
  --shadow-color: rgba(0, 0, 0, 0.3); /* Shadow color */
  --transition: all 0.3s ease;
  --water-color1: rgba(10, 165, 166, 0.2); /* Transparent primary */
  --water-color2: rgba(20, 196, 197, 0.2); /* Transparent secondary */
  --water-highlight: rgba(255, 255, 255, 0.1); /* Subtle highlight */

  /* New variable additions */
  --gradient-1: #0aa5a6;
  --gradient-2: #14c4c5;
  --gradient-3: #127f80;
  --gradient-glow: rgba(20, 196, 197, 0.4);
  --glass-bg: rgba(30, 30, 30, 0.3);
  --glass-border: rgba(255, 255, 255, 0.05);
  --card-hover-lift: -5px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Base html and body settings */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-gutter: stable both-edges;
  scroll-padding-top: 110px; /* account for fixed header */
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);

  /* Global fixed background layer (used for milestones→events range) */
  body.has-range-bg::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(
        rgba(10, 10, 10, 0.55),
        rgba(10, 10, 10, 0.55)
      ),
      url('../images/xpabc.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    will-change: transform;
  }
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Wider gutters from About to Footer (leave hero/header as-is) */
section#about .container,
section#services .container,
section#events .container,
section#gallery .container,
section.testimonials .container,
section#contact .container,
footer .container {
  padding-left: 40px;
  padding-right: 40px;
}

@media (min-width: 1200px) {
  section#about .container,
  section#services .container,
  section#events .container,
  section#gallery .container,
  section.testimonials .container,
  section#contact .container,
  footer .container {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 992px) {
  section#about .container,
  section#services .container,
  section#events .container,
  section#gallery .container,
  section.testimonials .container,
  section#contact .container,
  footer .container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 576px) {
  section#about .container,
  section#services .container,
  section#events .container,
  section#gallery .container,
  section.testimonials .container,
  section#contact .container,
  footer .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  width: 0;
  height: 3px;
  background: var(--primary-color);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.8s ease 0.3s;
}

.section-visible h2::after {
  width: 50px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* CTA buttons */
.cta-container {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.6s forwards 1.8s;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-primary);
  padding: 15px 30px;
  font-size: 1.1rem;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(10, 165, 166, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  padding: 14px 28px;
  font-size: 1.1rem;
  letter-spacing: 1px;
  border: 2px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(10, 165, 166, 0.25);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(20, 196, 197, 0.45);
}

.btn-secondary:hover {
  background-color: rgba(10, 165, 166, 0.12);
  border-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(10, 165, 166, 0.3);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  animation: fadeIn 1s forwards 2.2s, bounce 2s infinite 2.5s;
}

.hero-scroll-indicator a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: rgba(30, 30, 30, 0.5);
  border-radius: 50%;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(10, 165, 166, 0.3);
  transition: all 0.3s ease;
}

.hero-scroll-indicator i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.hero-scroll-indicator a:hover {
  background: rgba(10, 165, 166, 0.18);
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(10, 165, 166, 0.28);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

section {
  padding: 100px 0;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* High-contrast background to ensure logo readability */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(10, 10, 10, 0.92) 60%,
    rgba(10, 10, 10, 0.88) 100%
  );
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: var(--transition);
}

header.scrolled {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.98) 0%,
    rgba(10, 10, 10, 0.95) 60%,
    rgba(10, 10, 10, 0.9) 100%
  );
  padding: 10px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 16px;
}

header.scrolled .container {
  padding: 10px 15px;
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
}

.site-logo {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0))
    drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  transition: width 0.2s ease, height 0.2s ease, filter 0.2s ease;
}

/* Dark circular plate under logo to ensure word readability */
.logo::before {
  content: '';
  position: absolute;
  width: 2.8em;
  height: 2.8em;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.8) 60%,
    rgba(0, 0, 0, 0.7) 100%
  );
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 6px 16px rgba(0, 0, 0, 0.4),
    0 0 18px rgba(20, 196, 197, 0.15);
  pointer-events: none;
  z-index: -1;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-left: 10px;
}

/* brand text removed from header */

header.scrolled .site-logo {
  width: 52px;
  height: 52px;
}

@media (min-width: 768px) {
  .site-logo {
    width: 72px;
    height: 72px;
  }
  .logo::before {
    width: 3.1em;
    height: 3.1em;
    left: -8px;
  }
  header.scrolled .site-logo {
    width: 60px;
    height: 60px;
  }
}

@media (min-width: 1200px) {
  .site-logo {
    width: 80px;
    height: 80px;
  }
  .logo::before {
    width: 3.3em;
    height: 3.3em;
    left: -10px;
  }
  header.scrolled .site-logo {
    width: 68px;
    height: 68px;
  }
}

nav ul {
  display: flex;
  position: relative;
}

nav ul li {
  margin-left: 24px;
}

nav ul li a {
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  touch-action: manipulation;
}

.nav-indicator {
  position: absolute;
  height: 3px;
  bottom: 0px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1;
  box-shadow: 0 0 10px var(--gradient-glow);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

.mobile-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
  background: transparent;
  color: var(--text-primary);
  border: 0;
}

/* Visually hidden but accessible label */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Hero Section */
.hero,
.hero-v2 {
  min-height: 100vh;
  height: auto;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url('../images/xpabc.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Hero overlay with animated aurora effect */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    125deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(10, 10, 10, 0.8) 100%
  );
  opacity: 0.85;
  z-index: 0;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    var(--gradient-2) 0%,
    transparent 35%
  );
  opacity: 0.08;
  animation: aurora 15s infinite alternate;
  z-index: -1;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    var(--gradient-3) 0%,
    transparent 40%
  );
  opacity: 0.05;
  animation: aurora 20s infinite alternate-reverse;
  z-index: -1;
}

@keyframes aurora {
  0% {
    transform: translate(10%, 10%) rotate(0deg);
  }
  25% {
    transform: translate(-5%, 15%) rotate(90deg);
  }
  50% {
    transform: translate(-15%, -5%) rotate(180deg);
  }
  75% {
    transform: translate(5%, -10%) rotate(270deg);
  }
  100% {
    transform: translate(10%, 10%) rotate(360deg);
  }
}

.hero-v2 .hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      80% 60% at 70% 30%,
      rgba(10, 165, 166, 0.22),
      transparent 60%
    ),
    radial-gradient(
      60% 50% at 10% 70%,
      rgba(20, 196, 197, 0.18),
      transparent 60%
    ),
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75));
  z-index: 0;
  filter: saturate(110%);
}

.hero-v2 .hero-v2-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-v2 .hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-v2 .hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-primary);
  text-wrap: balance;
}
.hero-v2 .hero-title .accent {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 25px rgba(10, 165, 166, 0.25);
}

.hero-v2 .hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.hero-v2 .hero-cta-bar {
  display: flex;
  gap: 14px;
}

.hero-v2 .hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(30, 30, 30, 0.5);
  border: 1px solid rgba(10, 165, 166, 0.3);
  transition: transform 0.25s ease, background 0.25s ease;
}
.hero-v2 .hero-scroll:hover {
  transform: translateX(-50%) translateY(-4px);
}
.hero-v2 .hero-scroll:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 3px;
}

/* Responsive adjustments for hero-v2 */
@media (max-width: 992px) {
  .hero-v2 .hero-title {
    font-size: 3.2rem;
  }
}
@media (max-width: 768px) {
  .hero-v2 .hero-title {
    font-size: 2.6rem;
  }
  .hero-v2 .hero-cta-bar {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .hero-v2 .hero-cta-bar .btn {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 576px) {
  .hero-v2 .hero-title {
    font-size: 2.2rem;
  }
  .hero-v2 .hero-subtitle {
    font-size: 1rem;
  }
}

@keyframes auroraDrift {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-10px) translateX(8px) scale(1.03);
  }
  100% {
    transform: translateY(6px) translateX(-6px) scale(1.02);
  }
}

/* Water-like wave effect */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(
    ellipse at center,
    var(--water-color1) 0%,
    transparent 70%
  );
  animation: waterWave 15s infinite linear;
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  animation-duration: 20s;
  animation-delay: -5s;
  background: radial-gradient(
    ellipse at center,
    var(--water-color2) 0%,
    transparent 70%
  );
  top: -60%;
  left: -60%;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Bottom-left anchored hero layout */
.hero .container {
  position: relative;
}
.hero-content {
  position: relative;
  bottom: auto;
  left: auto;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

.hero-headline {
  position: absolute;
  bottom: 90px;
  left: 20px;
  z-index: 3;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  padding-bottom: 8px;
}

.hero-headline::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  box-shadow: 0 0 20px rgba(10, 165, 166, 0.35);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-highlights span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(30, 30, 30, 0.55);
  border: 1px solid rgba(10, 165, 166, 0.35);
  color: var(--text-primary);
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-highlights span:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(10, 165, 166, 0.25);
}

/* Creative animated text */
/* Deprecated: previous hero animated words removed */
.creative-text {
  display: none !important;
}

.word-animation {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  opacity: 0;
  transform: translateY(20px);
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
  position: relative;
  overflow: hidden;
}

.word-animation::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--water-color1),
    var(--primary-color),
    var(--secondary-color),
    var(--water-color2)
  );
  background-size: 300% 100%;
  animation: gradientSlide 3s ease infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.word-animation:hover::after {
  opacity: 1;
}

.w1 {
  animation: fadeInUp 0.8s forwards 0.3s, float 6s ease-in-out 1.5s infinite;
}

.w2 {
  animation: fadeInUp 0.8s forwards 0.6s, float 7s ease-in-out 2s infinite;
}

.w3 {
  animation: fadeInUp 0.8s forwards 0.9s, float 8s ease-in-out 2.5s infinite;
}

@keyframes gradientSlide {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Hero tagline with icons */
/* Deprecated: hero tagline with icons replaced by .hero-highlights */
.hero-tagline {
  display: none !important;
}

.tagline-container {
  display: flex;
  align-items: center;
  background: rgba(30, 30, 30, 0.5);
  border-radius: 50px;
  padding: 10px 20px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(10, 165, 166, 0.3);
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.5s forwards 1.2s;
  transition: all 0.3s ease;
}

.tagline-container:nth-child(2) {
  animation-delay: 1.4s;
}

.tagline-container:nth-child(3) {
  animation-delay: 1.6s;
}

.tagline-container:hover {
  background: rgba(10, 165, 166, 0.16);
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(10, 165, 166, 0.26);
}

.tagline-icon {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.tagline-text {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
  animation: fadeInUp 1s ease;
}

/* About Section */
.about {
  background-color: var(--darker-bg);
  background: linear-gradient(rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.72));
}

.about-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

/* About vertical timeline wrapper */
.about-timeline {
  position: relative;
  padding-left: 40px;
  padding-right: 40px;
}
.about-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: linear-gradient(
    to bottom,
    rgba(10, 165, 166, 0.2),
    rgba(20, 196, 197, 0.35),
    rgba(10, 165, 166, 0.2)
  );
  filter: drop-shadow(0 0 6px rgba(10, 165, 166, 0.35));
  pointer-events: none;
}

.about-timeline > * {
  position: relative;
}

/* Decorative nodes connecting sections */
.about-timeline .node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--secondary-color));
  box-shadow: 0 0 0 6px rgba(10, 165, 166, 0.15), 0 8px 18px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Connector arms to each card section */
.about-timeline .connector {
  position: absolute;
  top: 50%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color));
  opacity: 0.7;
}
.about-timeline .connector.left {
  left: 0;
}
.about-timeline .connector.right {
  right: 0;
  transform: scaleX(-1);
}

/* Alternate section alignment around the vertical line */
.about-timeline .about-content,
.about-timeline .process-steps,
.about-timeline .trusted-by {
  margin: 50px 0;
}

.about-timeline .about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about-timeline .about-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--primary-color));
  box-shadow: 0 0 0 6px rgba(20, 196, 197, 0.15), 0 8px 18px rgba(0, 0, 0, 0.35);
}

.about-timeline .process-steps {
  position: relative;
}
.about-timeline .process-steps::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--secondary-color), transparent 70%);
  box-shadow: 0 0 0 5px rgba(10, 165, 166, 0.12);
}

.about-timeline .trusted-by {
  position: relative;
}
.about-timeline .trusted-by::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-color), transparent 70%);
  box-shadow: 0 0 0 4px rgba(20, 196, 197, 0.12);
}

/* Decorative glow animation on the line */
@keyframes lineGlow {
  0% {
    box-shadow: 0 0 10px rgba(10, 165, 166, 0.25);
  }
  50% {
    box-shadow: 0 0 22px rgba(20, 196, 197, 0.35);
  }
  100% {
    box-shadow: 0 0 10px rgba(10, 165, 166, 0.25);
  }
}
.about-timeline::before {
  animation: lineGlow 6s ease-in-out infinite;
}

/* Responsive: stack and keep a single line on the left */
@media (max-width: 992px) {
  .about-timeline {
    padding-left: 20px;
    padding-right: 20px;
  }
  .about-timeline::before {
    left: 24px;
    transform: none;
  }
  .about-timeline .about-content {
    grid-template-columns: 1fr;
  }
  .about-timeline .about-content::before,
  .about-timeline .process-steps::before,
  .about-timeline .trusted-by::before {
    left: 24px;
    transform: none;
  }
}

.about-text {
  flex: 1;
  min-width: 300px;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-text.animate {
  opacity: 1;
  transform: translateX(0);
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 20px;
}
.about-highlights .highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(30, 30, 30, 0.6);
  border: 1px solid rgba(10, 165, 166, 0.25);
  color: var(--text-primary);
  font-size: 0.95rem;
}
.about-highlights .highlight-item i {
  color: var(--primary-color);
}

/* About eyebrow label */
.about-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.about-stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  min-width: 300px;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-stats.animate {
  opacity: 1;
  transform: translateX(0);
}

.stat {
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 5px 15px var(--shadow-color);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    var(--water-highlight) 0%,
    transparent 70%
  );
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stat:hover::before {
  opacity: 1;
  transform: scale(1);
}

.stat:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px var(--shadow-color);
}

.stat:nth-child(1) {
  animation: float 6s infinite ease-in-out;
}

.stat:nth-child(2) {
  animation: float 7s infinite ease-in-out 0.5s;
}

.stat:nth-child(3) {
  animation: float 8s infinite ease-in-out 1s;
}

.stat:nth-child(4) {
  animation: float 9s infinite ease-in-out 1.5s;
}

.stat i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.stat h3 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.stat p {
  color: var(--text-secondary);
}

/* About: Process Steps */
.process-steps {
  margin-top: 50px;
}
.process-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-step {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.process-step .step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  font-weight: 700;
}
.process-step h4 {
  margin-bottom: 8px;
}
.process-step.animate {
  transform: translateY(0);
  opacity: 1;
}

/* About: Trusted By */
.trusted-by {
  margin-top: 40px;
}

/* About: Milestones timeline */
/* Enhanced Milestones Section - 2025 Version */
.milestones-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.9),
    rgba(18, 18, 18, 0.95)
  );
}

.milestones-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
      70% 50% at 20% 30%,
      rgba(10, 165, 166, 0.15),
      transparent 70%
    ),
    radial-gradient(
      60% 40% at 80% 70%,
      rgba(20, 196, 197, 0.1),
      transparent 70%
    );
  pointer-events: none;
  z-index: 0;
}

.milestones {
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.milestones-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 30px 0;
}

.timeline-bar {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    to bottom,
    rgba(10, 165, 166, 0.2),
    rgba(10, 165, 166, 0.6),
    rgba(20, 196, 197, 0.6),
    rgba(20, 196, 197, 0.2)
  );
  transform: translateX(-50%);
  border-radius: 4px;
  z-index: 1;
  box-shadow: 0 0 15px rgba(10, 165, 166, 0.3);
}

.milestone-card {
  position: relative;
  display: flex;
  width: 100%;
  z-index: 2;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.milestone-card.milestone-visible {
  opacity: 1;
  transform: translateY(0);
}

.milestone-card.milestone-dimmed {
  opacity: 0.4;
}

.milestone-card:nth-child(odd) {
  flex-direction: row-reverse;
}

.milestone-card:hover {
  transform: translateY(-5px);
  z-index: 10;
}

.milestone-icon {
  position: absolute;
  left: 50%;
  top: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  z-index: 3;
  border: 3px solid var(--dark-bg);
  box-shadow: 0 0 0 4px rgba(10, 165, 166, 0.3), 0 10px 20px rgba(0, 0, 0, 0.3);
}

.milestone-icon i {
  font-size: 22px;
  color: var(--text-primary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.milestone-content {
  width: calc(50% - 40px);
  padding: 25px;
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.milestone-card:nth-child(odd) .milestone-content {
  margin-right: 40px;
}

.milestone-card:nth-child(even) .milestone-content {
  margin-left: 40px;
}

.milestone-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(10, 165, 166, 0.1),
    transparent 70%
  );
  pointer-events: none;
}

.milestone-content:hover {
  background: rgba(35, 35, 35, 0.7);
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.milestone-year {
  display: inline-block;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(10, 165, 166, 0.5);
  letter-spacing: 1px;
}

.milestone-title {
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.milestone-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.milestone-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 165, 166, 0.7),
    rgba(20, 196, 197, 0.7)
  );
  color: var(--text-primary);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 10px 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.milestone-badge.highlight {
  background: linear-gradient(135deg, #0aa5a6, #14c4c5);
  box-shadow: 0 0 10px rgba(20, 196, 197, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 196, 197, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(20, 196, 197, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(20, 196, 197, 0);
  }
}

.milestones-cta {
  margin-top: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.milestones-tagline {
  color: var(--text-secondary);
  font-style: italic;
  font-size: 0.95rem;
}

/* Responsive adjustments for milestones */
@media (max-width: 992px) {
  .milestone-content {
    width: calc(50% - 30px);
  }

  .milestone-card:nth-child(odd) .milestone-content {
    margin-right: 30px;
  }

  .milestone-card:nth-child(even) .milestone-content {
    margin-left: 30px;
  }

  .milestone-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .timeline-bar {
    left: 30px;
    transform: none;
  }

  .milestone-card,
  .milestone-card:nth-child(odd) {
    flex-direction: row;
  }

  .milestone-icon {
    left: 30px;
    transform: none;
    width: 50px;
    height: 50px;
  }

  .milestone-content,
  .milestone-card:nth-child(odd) .milestone-content,
  .milestone-card:nth-child(even) .milestone-content {
    width: calc(100% - 60px);
    margin-left: 60px;
    margin-right: 0;
  }

  .milestone-title {
    font-size: 1.2rem;
  }

  .milestones-timeline {
    gap: 50px;
  }
}

/* About: Trusted By */
.trusted-by {
  margin-top: 40px;
}
.trusted-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-secondary);
}
.brand-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.brand {
  background: rgba(30, 30, 30, 0.6);
  border: 1px dashed var(--border-color);
  color: var(--text-tertiary);
  border-radius: 10px;
  height: 56px;
  display: grid;
  place-items: center;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Standalone subsections styling */
.milestones-section,
.process-section,
.trusted-section {
  position: relative;
  background: linear-gradient(rgba(12, 12, 12, 0.7), rgba(12, 12, 12, 0.7));
}
.process-section::before,
.trusted-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
      60% 40% at 10% 10%,
      rgba(10, 165, 166, 0.12),
      transparent 60%
    ),
    radial-gradient(
      60% 40% at 90% 90%,
      rgba(20, 196, 197, 0.08),
      transparent 60%
    );
  pointer-events: none;
}

/* Process subsection accent */
.process-section .process-title {
  font-size: 2rem;
}

/* Trusted subsection accent */
.trusted-section .trusted-title {
  font-size: 2rem;
}

/* Soft reveal for cards in subsections */
.process-section .process-step,
.trusted-section .brand,
.partners .partner-card {
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.process-section .process-step.animate,
.trusted-section .brand.animate,
.partners .partner-card.animate {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    header {
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }
    scroll-behavior: auto !important;
  }
}
@media (max-width: 576px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .brand-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Services Section */
.services {
  background-color: var(--dark-bg);
  background: linear-gradient(rgba(12, 12, 12, 0.7), rgba(12, 12, 12, 0.7));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--light-bg);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.5s ease;
  box-shadow: 0 5px 15px var(--shadow-color);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transform: translateY(50px);
  opacity: 0;
  will-change: transform, opacity;
  contain: content;
}

.service-card.animate {
  transform: translateY(0);
  opacity: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--water-color1), var(--water-color2));
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.1;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--water-highlight),
    transparent
  );
  transition: 0.5s;
  z-index: 1;
}

.service-card:hover::after {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px var(--shadow-color);
  border-color: var(--primary-color);
}

.service-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

.service-card:hover i {
  transform: scale(1.2) rotate(10deg);
  color: var(--secondary-color);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
}

/* Events Section */
.events {
  background-color: var(--darker-bg);
}

.events-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--dark-bg);
}

.events-slider::-webkit-scrollbar {
  height: 8px;
}

.events-slider::-webkit-scrollbar-track {
  background: var(--dark-bg);
  border-radius: 10px;
}

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

.event-card {
  background-color: var(--light-bg);
  border-radius: 10px;
  overflow: hidden;
  min-width: 300px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  scroll-snap-align: start;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow-color);
  border-color: var(--primary-color);
}

.event-date {
  background-color: var(--primary-color);
  color: var(--text-primary);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 80px;
}

/* Shared fixed background overlays (exclude About to keep its own bg) */
body.has-range-bg .process-section,
body.has-range-bg .trusted-section,
body.has-range-bg #services {
  background: linear-gradient(rgba(12, 12, 12, 0.35), rgba(12, 12, 12, 0.35));
}

/* Hide decorative accents over the shared background for clarity */
body.has-range-bg .process-section::before,
body.has-range-bg .trusted-section::before {
  opacity: 0;
}

.event-date .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.event-details {
  padding: 20px;
  flex-grow: 1;
}

.event-details h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.event-details .location {
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.event-details .location i {
  margin-right: 5px;
  color: var(--primary-color);
}

.event-details .description {
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.event-details .btn {
  padding: 8px 15px;
  font-size: 0.9rem;
}

/* Partners Section */
.partners {
  background-color: var(--dark-bg);
  position: relative;
  overflow: hidden;
}
.partners::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(
    ellipse at center,
    var(--water-color1) 0%,
    transparent 70%
  );
  opacity: 0.2;
  animation: waterWave 30s infinite linear reverse;
  z-index: 1;
  pointer-events: none;
}

/* Deprecated styles removed in favor of simpler highlights */
.tagline-container,
.tagline-icon,
.tagline-text {
  display: none !important;
}

.filter-btn:hover::before {
  width: 100%;
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--text-primary);
  transform: scale(1.05);
}

.filter-btn:hover:not(.active) {
  color: var(--text-primary);
}

/* Partners grid reuses gallery grid layout */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 2;
}
.partner-card {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  height: 120px;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;

  /* Custom properties for the tilt effect */
  --rotateX: 0deg;
  --rotateY: 0deg;
  --glare-position: 50% 50%;
  --glare-opacity: 0;
}

.partner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 12px;
  background: radial-gradient(
    circle at var(--glare-position),
    rgba(255, 255, 255, 0.15),
    transparent 70%
  );
  opacity: var(--glare-opacity);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.partner-card:hover {
  transform: perspective(1000px) rotateX(var(--rotateX)) rotateY(var(--rotateY))
    scale3d(1.02, 1.02, 1.02);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(10, 165, 166, 0.2);
  border-color: var(--primary-color);
  color: var(--text-primary);
  --glare-opacity: 1;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--darker-bg);
  background: linear-gradient(rgba(8, 8, 8, 0.75), rgba(8, 8, 8, 0.75));
}

/* Base button styles (ensures ripple container positioning) */
.btn {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  user-select: none;
  overflow: hidden; /* for ripple */
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary-color);
  color: #fff;
  padding: 8px 12px;
  border-radius: 0 0 6px 6px;
  z-index: 2000;
}
.skip-link:focus {
  left: 10px;
}

.testimonials-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--dark-bg);
}

.testimonials-slider::-webkit-scrollbar {
  height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
  background: var(--dark-bg);
  border-radius: 10px;
}

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

.testimonial {
  background-color: var(--light-bg);
  border-radius: 10px;
  padding: 30px;
  min-width: 300px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  scroll-snap-align: start;
}

/* Better focus visibility for accessibility */
:where(a, button, .btn, input, select, textarea):focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-color) 70%, white 30%);
  outline-offset: 2px;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow-color);
  border-color: var(--primary-color);
}

.testimonial-content {
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content::before {
  content: '\201C';
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: -10px;
  color: var(--primary-color);
  opacity: 0.3;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.testimonial-author h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.testimonial-author p {
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  background-color: var(--dark-bg);
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

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

.contact-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 20px;
  min-width: 30px;
  text-align: center;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-item p {
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--light-bg);
  border-radius: 50%;
  transition: var(--transition);
}

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

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

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border-radius: 5px;
  background-color: var(--light-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(10, 165, 166, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  max-height: 300px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230aa5a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

.contact-form .btn {
  width: 100%;
}

/* Footer */
footer {
  background-color: var(--darker-bg);
  padding: 80px 0 20px;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--primary-color);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  flex: 1;
  min-width: 300px;
}

.footer-logo h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.footer-logo p {
  color: var(--text-secondary);
}

.footer-links {
  flex: 2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-column {
  min-width: 150px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: var(--text-secondary);
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Water-like animations */
@keyframes waterWave {
  0% {
    transform: translateX(-100%) translateY(10%) rotate(0deg);
  }
  50% {
    transform: translateX(0%) translateY(0%) rotate(180deg);
  }
  100% {
    transform: translateX(100%) translateY(-10%) rotate(360deg);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(10);
    opacity: 0;
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(10, 165, 166, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(10, 165, 166, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(10, 165, 166, 0);
  }
}

/* Ripple Effect */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Media Queries */
/* Large devices (desktops) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  .word-animation {
    font-size: 4rem;
  }

  .about-content {
    gap: 80px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Medium devices (tablets, less than 1200px) */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }

  .word-animation {
    font-size: 3.5rem;
  }
  .hero-headline {
    font-size: 3rem;
    bottom: 84px;
    left: 18px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .word-animation {
    font-size: 3.5rem;
  }
  .hero-headline {
    font-size: 2.4rem;
    bottom: 80px;
    left: 16px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--darker-bg);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 5px 10px var(--shadow-color);
    z-index: 1000;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 0;
    padding: 10px 30px;
    text-align: center;
  }

  .mobile-menu {
    display: block;
  }

  .word-animation {
    font-size: 2.5rem;
  }

  .tagline-container {
    flex-wrap: wrap;
    gap: 15px;
  }

  .tagline {
    margin-right: 10px;
  }

  .cta-buttons {
    flex-wrap: wrap;
    gap: 15px;
  }

  .cta-btn {
    width: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .about-content {
    flex-direction: column;
  }

  /* Make sure sliders work well on mobile */
  .events-slider,
  .testimonials-slider {
    gap: 15px;
    padding-bottom: 15px;
  }
}

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

  .section-header h2 {
    font-size: 2rem;
  }

  .word-animation {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  .hero-headline {
    font-size: 2rem;
    bottom: 76px;
    left: 14px;
  }

  .tagline-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .tagline {
    margin-right: 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .cta-btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
    text-align: center;
  }

  .scroll-indicator {
    margin-top: 30px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    min-width: 280px;
  }

  .testimonial {
    min-width: 280px;
  }

  .container {
    width: 95%;
    padding: 0 10px;
  }

  .hero-content p {
    font-size: 1rem;
  }

  /* Lighter shadows on mobile for performance */
  .service-card,
  .event-card,
  .testimonial,
  .gallery-item {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  }

  .contact-wrapper {
    gap: 30px;
  }

  .footer-content {
    gap: 30px;
  }
}

/* Extra small devices */
@media (max-width: 375px) {
  .word-animation {
    font-size: 1.7rem;
  }

  .tagline {
    font-size: 0.9rem;
  }

  .tagline i {
    font-size: 1rem;
    margin-right: 5px;
  }

  .cta-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .scroll-indicator {
    bottom: 20px;
  }

  .scroll-indicator a {
    width: 40px;
    height: 40px;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .stat {
    padding: 20px;
  }

  .stat i {
    font-size: 2rem;
  }

  .stat h3 {
    font-size: 1.5rem;
  }

  .service-card {
    padding: 30px 20px;
  }

  .service-card i {
    font-size: 2.5rem;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .event-card,
  .testimonial {
    min-width: 240px;
  }
}

/* Accessibility & performance: reduce motion when requested */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
