:root {
  --red: #ff3130;
  --green: #01bf61;
  --blue: #39b5ff;
  --yellow: #ffde59;
  --dark: #081b3a;
  --light: #f7f8fc;
  --white: #fff;
  --navy: #002147;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Montserrat, sans-serif;
  background: var(--light);
  color: #1d2939;
  line-height: 1.6;
}

p {
  margin-bottom: 1em;
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--navy);
  backdrop-filter: blur(14px);
}
.spaced {
  line-height: 1.6;
}
.nav {
  max-width: 1200px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
}
.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.links a {
  color: white;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.links a:hover {
  background-color: var(--red);
  color: white;
}
.cta {
  background: linear-gradient(90deg, var(--red), var(--green));
  padding: 12px 22px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(8, 27, 58, 0.86), rgba(57, 181, 255, 0.35)),
    url("../assets/images/hero.png") center/cover;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.wrap {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}
.hero h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  color: #fff;
  line-height: 0.92;
  font-weight: 900;
}
.hero h1 span {
  color: var(--red);
}
.hero h1 span2 {
  color: var(--green);
}
.hero h1 span3 {
  color: var(--blue);
}
.hero p {
  max-width: 640px;
  color: #eef4ff;
  font-size: 1.2rem;
  margin: 24px 0 34px;
}
.btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.25s;
}
.btn:hover {
  transform: translateY(-3px);
}
.red {
  background: var(--red);
  color: #fff;
}
.white {
  background: #fff;
  color: var(--dark);
}
.green {
  background: var(--green);
  color: #fff;
}
section {
  padding: 90px 24px;
}
.container {
  max-width: 1200px;
  margin: auto;
}
.title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--dark);
  margin-bottom: 16px;
}
.lead {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.stats,
.cards,
.reviews {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.stat,
.card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card:nth-child(4n + 1) {
  border-top: 8px solid var(--blue);
}

.card:nth-child(4n + 2) {
  border-top: 8px solid var(--blue);
}

.card:nth-child(4n + 3) {
  border-top: 8px solid var(--blue);
}

.card:nth-child(4n + 4) {
  border-top: 8px solid var(--blue);
}

.review {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.stat h3 {
  font-size: 3rem;
}
.s1 {
  color: var(--red);
}
.s2 {
  color: var(--green);
}
.s3 {
  color: var(--blue);
}
.s4 {
  color: var(--yellow);
}
.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.photo {
  min-height: 440px;
  border-radius: 28px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("../assets/images/pickleball-group-2026.jpg") center/cover;
}
.feature h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--dark);
}
.feature p {
  margin: 18px 0 28px;
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}
.tile {
  border-radius: 22px;
  background: url("assets/images/pickleball-group-2026.jpg") center/cover;
  height: 220px;
}
.big {
  height: 456px;
}
.banner {
  background: linear-gradient(135deg, var(--red), var(--blue), var(--green));
  padding: 70px 30px;
  border-radius: 32px;
  text-align: center;
  color: #fff;
}
footer {
  background: var(--navy);
  color: #fff;
  padding: 50px 24px;
  text-align: center;
}
@media (max-width: 900px) {
  .links {
    display: none;
  }
  .feature,
  .gallery {
    grid-template-columns: 1fr;
  }
  .big,
  .tile {
    height: 220px;
  }
}

#testimonials {
  padding: 80px 0;
}

.testimonial-window {
  overflow: hidden;
  width: 100%;
}

#testimonialsGrid .testimonial {
  min-width: 25%; /* 4 visible at a time */
  box-sizing: border-box;
  padding: 0 10px;
}

#testimonialDots {
  text-align: center;
  margin-top: 25px;
}

#testimonialsGrid {
  display: flex;
  transition: transform 0.3s ease;
}
.testimonial-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial {
  flex: 0 0 25%;
  padding: 10px;
  box-sizing: border-box;
}

.testimonial .card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.testimonial .card:hover {
  transform: translateY(-6px);
}

.testimonial:nth-child(4n + 1) .card {
  border-top: 6px solid var(--blue);
}

.testimonial:nth-child(4n + 2) .card {
  border-top: 6px solid var(--green);
}

.testimonial:nth-child(4n + 3) .card {
  border-top: 6px solid var(--red);
}

.testimonial:nth-child(4n + 4) .card {
  border-top: 6px solid var(--yellow);
}

.carousel {
  overflow: hidden;
  border: none;
  background: var(--blue);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}
.carousel-btn {
  border: none;
  background: var(--blue);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}

.carousel-btn:hover {
  background: var(--green);
}

button {
  cursor: pointer;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  margin: 5px;
  cursor: pointer;
}

.dot.active {
  background: var(--red);
}

@media (max-width: 900px) {
  .testimonial {
    flex: 0 0 50%;
  }
}

@media (max-width: 600px) {
  .testimonial {
    flex: 0 0 100%;
  }
}

/* ── Dropdown ── */
.nav-item {
  position: relative;
  display: inline-block;
}

.nav-item > .nav-link {
  color: white;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--navy);
  border-radius: 12px;
  min-width: 200px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  z-index: 200;
  border-top: 3px solid var(--red);
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  font-size: 0.92rem;
  transition:
    background 0.2s ease,
    padding-left 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  padding-left: 26px;
}
.dropdown-menu.open {
  display: block;
}
.links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
/** Contact Page **/
.contact-section {
  min-height: 100vh;
  padding: 120px 24px 80px;
}
.contact-wrapper {
  max-width: 780px;
  margin: auto;
  width: 100%;
}
.contact-wrapper h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--dark);
  margin-bottom: 8px;
  text-align: center;
}
.contact-wrapper .lead {
  margin-bottom: 36px;
}
.form-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-top: 6px solid var(--red);
}
.form-card iframe {
  width: 100%;
  border: none;
  border-radius: 12px;
}
@media (max-width: 600px) {
  .form-card {
    padding: 16px;
  }
}

.page-section {
  padding-top: 140px;
  min-height: 100vh;
}
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 20px;
}

.social-links a {
  color: #fff; /* matches white logo/nav theme */
  display: flex;
  transition: opacity 0.2s ease;
}

.social-links a:hover {
  opacity: 0.7;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  -webkit-appearance: none; /* ADD THIS — Safari resets button styling */
  appearance: none; /* ADD THIS */
}
.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}

@media (max-width: 900px) {
  .burger {
    display: -webkit-flex;
    display: flex;
  }
  .links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--navy);
    padding: 16px 24px 24px;
    z-index: 99;
  }
  .links.open {
    display: flex;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link,
  .links > a {
    display: block;
    width: 100%;
    padding: 12px 0;
    color: white;
    text-decoration: none;
  }

  /* ADD THESE — fixes the submenu position */
  .dropdown-menu {
    position: static; /* no longer floats off to the side */
    box-shadow: none;
    border-radius: 0;
    border-top: none;
    border-left: 3px solid var(--red);
    background: rgba(255, 255, 255, 0.05);
    margin: 4px 0 8px 12px;
    min-width: unset;
    width: 100%; /* fills the nav width */
  }

  .dropdown-menu a {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .dropdown-menu.open {
    display: block;
  }
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
}
.btn-cta:hover {
  opacity: 0.9;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Montserrat, sans-serif;
}
.section-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  text-align: center;
  margin-bottom: 12px;
  margin-top: 40px;
}
img {
  max-width: 100%;
  height: auto;
}

.footer-links {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links span {
  opacity: 0.5;
}
