/* ----- FONTS ----- */
@font-face {
  font-family: 'BrotherSignature';
  src: url('Fonts/brother-signature-font/BrotherSignature-7BWnK.otf') format('opentype');
}

/* ----- BASE STYLES & VARIABLES ----- */
:root {
  --color-primary: #1C5A8A;
  /* Navy/Brand Blue */
  --color-secondary: #CD2B44;
  /* Crimson/Brand Red */
  --color-tertiary: #5B214F;
  /* Brand Plum */
  --color-primary-light: #EBF2F8;
  /* Soft blue bg */
  --color-secondary-light: #FBEAEC;
  /* Soft red bg */

  --color-dark: #27272a;
  --color-neutral: #404040;
  --color-white: #ffffff;

  --font-main: 'Outfit', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-main);
  color: var(--color-dark);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--color-white);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 700;
}

/* ----- LAYOUT & UTILITIES ----- */
.container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 15px;
}

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

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

.text-white {
  color: var(--color-white);
}

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

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

.text-dark {
  color: var(--color-dark);
}

.bg-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.bg-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.bg-tertiary {
  background-color: var(--color-tertiary);
  color: var(--color-white);
}

.bg-primary-light {
  background-color: var(--color-primary-light);
}

.highlight {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  color: var(--color-white);
}

.highlight.primary {
  background-color: var(--color-primary);
}

.highlight.secondary {
  background-color: var(--color-secondary);
}

.highlight-white {
  background-color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  display: inline-block;
  color: var(--color-primary);
}

.highlight-bg-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  display: inline-block;
}

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.flex-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flex-between {
  display: flex;
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {

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

  .flex-row {
    flex-direction: column;
  }
}

@media (max-width: 768px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.mt-ms {
  margin-top: 1rem;
}

.mt-large {
  margin-top: 3rem;
}

.mb-large {
  margin-bottom: 3rem;
}

.py-small {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1.1rem;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #a82035;
  /* darker crimson */
}

.btn-secondary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: #134062;
  /* darker navy */
}

.btn-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.w-full {
  width: 100%;
}

/* ----- ANNOUNCEMENT BAR ----- */
.announcement-bar {
  padding: 0.6rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 101;
  font-weight: 600;
  letter-spacing: 1px;
}

.announcement-track {
  display: flex;
  width: max-content;
  animation: scrollText 20s linear infinite;
}

.announcement-content {
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ----- HEADER ----- */
.header {
  position: relative;
  z-index: 100;
}

.top-bar {
  background-color: var(--color-secondary);
  padding: 0.5rem 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: var(--color-white);
  transition: var(--transition);
}

.social-links a:hover svg {
  transform: scale(1.15);
}

.user-actions a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  font-weight: 600;
}

.user-actions svg {
  width: 18px;
  height: 18px;
  fill: var(--color-white);
}

.main-nav {
  background-color: var(--color-white);
  padding: 1rem 0;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.container-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--color-primary);
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: var(--transition);
}

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

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo {
  max-height: 50px;
  width: auto;
  transition: var(--transition);
}

.site-logo:hover {
  transform: scale(1.05);
}

.footer-logo .site-logo {
  max-height: 160px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle svg {
  width: 32px;
  height: 32px;
  fill: var(--color-primary);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--color-primary);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 99;
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
}

.mobile-menu a {
  color: var(--color-white);
  padding: 1rem 2rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
  display: flex;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* ----- HERO SECTION ----- */
.hero-section {
  position: relative;
  background-image: url('Other Assets/OLYRhythmicGymnasticsDesktop.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 6rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(28, 90, 138, 0.85) 0%, rgba(28, 90, 138, 0.6) 40%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.hero-bg-graphic {
  display: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  color: var(--color-white);
  max-width: 850px;
  text-align: left;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 90%;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  text-align: justify;
}

.hero-image-container {
  display: none;
}

.hero-img {
  display: none;
}

/* Micro animations */
.floating-circle {
  display: none;
}

.circle-1 {
  width: 100px;
  height: 100px;
  top: -20px;
  right: 0;
  animation: float 6s ease-in-out infinite;
}

.circle-2 {
  width: 60px;
  height: 60px;
  bottom: -10px;
  left: 10%;
  background-color: var(--color-secondary);
  animation: float 4s ease-in-out infinite reverse;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: left;
  }

  .hero-desc {
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-section {
    padding: 3rem 0;
    min-height: 60vh;
  }

  .top-bar {
    display: none;
  }
}

/* ----- ACCREDITATION (LOGOS) ----- */
.accreditation-section {
  background-color: var(--color-tertiary);
  padding: 2rem 0;
  color: var(--color-white);
}

.acc-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.acc-text {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.acc-icon {
  width: 20px;
  height: 35px;
  fill: var(--color-secondary);
}

.acc-text h2 {
  font-size: 1.5rem;
}

.acc-logos {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.logo-placeholder {
  font-weight: 700;
  font-size: 1.25rem;
  opacity: 0.8;
  letter-spacing: 1px;
}

/* ----- BANNER ----- */
.transition-banner {
  background-color: var(--color-primary-light);
  color: var(--color-tertiary);
  padding: 1.5rem 0;
  font-style: italic;
  font-weight: 500;
}

/* ----- VALUES SECTION ----- */
.down-arrow-section {
  display: flex;
  justify-content: center;
}

.down-arrow {
  width: 40px;
  height: 40px;
  fill: var(--color-dark);
  opacity: 0.7;
}

.values-header {
  padding: 2rem 0;
}

.values-header h2 {
  font-size: 2.5rem;
}

.values-grid-section {
  padding-bottom: 4rem;
}

.value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  color: var(--color-white);
  padding: 1rem;
}

.value-icon-wrapper {
  display: none;
}

.value-icon {
  display: none;
}

.value-card:hover .value-icon {
  transform: none;
}

.value-title {
  font-size: 1.75rem;
  color: var(--color-tertiary);
}

.value-desc {
  font-weight: 500;
}

/* ----- PROGRAMS SECTION ----- */
.programs-section {
  padding: 5rem 0;
  background-color: var(--color-white);
}

.section-title {
  font-size: 2.5rem;
}

.program-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  border-radius: var(--radius-lg);
  background-color: #fafafa;
  border: 1px solid var(--color-slate-200);
  transition: var(--transition);
  width: 100%;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.program-img-wrapper {
  display: none;
}

.program-img {
  max-height: 100%;
}

.program-title {
  font-size: 2rem;
  color: var(--color-tertiary);
}

.wave-divider {
  width: 220px;
}

.program-desc {
  color: var(--color-neutral);
  margin-bottom: 1rem;
}

/* ----- EMPATHY SECTION (SKY BG) ----- */
.empathy-section {
  background-color: var(--color-primary-light);
  padding: 6rem 0;
  color: var(--color-white);
}

.empathy-intro {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.quote-icon {
  width: 100px;
  min-width: 60px;
  fill: var(--color-secondary);
}

.empathy-text {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
}

.empathy-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 90%;
  margin-left: auto;
}

.empathy-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 1.25rem;
}

.check-icon {
  width: 32px;
  min-width: 32px;
  fill: var(--color-tertiary);
  margin-top: 5px;
}

@media (max-width: 768px) {
  .empathy-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .empathy-list {
    margin: 0 auto;
    max-width: 100%;
  }
}

/* ----- ABOUT SECTION ----- */
.about-section {
  padding: 5rem 0;
  color: var(--color-white);
}

.about-image-col {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
}

.about-content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.about-title {
  font-size: 2.5rem;
}

.about-desc {
  font-size: 1.125rem;
  text-align: justify;
}

/* ----- WHY US SECTION ----- */
.why-us-section {
  padding: 4rem 0;
}

.why-list {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  max-width: 800px;
  text-align: left;
}

.question-icon {
  width: 50px;
  min-width: 50px;
  fill: var(--color-tertiary);
}

@media (max-width: 768px) {
  .why-list li {
    flex-direction: column;
    text-align: center;
  }
}

/* ----- TESTIMONIALS SECTION ----- */
.testimonials-section {
  padding: 6rem 0;
  background-color: var(--color-white);
}

.testimonials-title {
  font-size: 2.5rem;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 3rem;
}

.position-relative {
  position: relative;
}

.carousel-container {
  overflow: hidden;
  width: 90%;
  margin: 0 auto;
  cursor: grab;
}

.carousel-container:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.3s ease-out;
}

.testimonial-card {
  min-width: calc(33.333% - 1.33rem);
  background-color: var(--color-primary);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-slate-200);
  color: var(--color-white);
  padding: 2rem;
  user-select: none;
}

.testimonial-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.testimonial-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.testimonial-stars {
  color: #e2e8f0;
  /* slate 200 */
}

.testimonial-body {
  font-size: 1.1rem;
}

@media (max-width: 1024px) {
  .testimonial-card {
    min-width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    min-width: 100%;
  }
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.carousel-nav svg {
  width: 30px;
  height: 30px;
  fill: var(--color-tertiary);
  transition: var(--transition);
}

.carousel-nav:hover svg {
  transform: scale(1.2);
}

.carousel-nav.prev {
  left: 0;
}

.carousel-nav.next {
  right: 0;
}

@media (max-width: 768px) {
  .carousel-nav {
    display: none;
  }
}


/* ----- SOCIAL CTA (INSTAGRAM) ----- */
.social-cta-section {
  padding: 4rem 0;
}

.insta-icon {
  width: 40px;
  height: 40px;
  fill: var(--color-tertiary);
  margin-bottom: 1rem;
}

.social-cta-section h2 {
  font-size: 2.5rem;
  color: var(--color-tertiary);
  margin-bottom: 3rem;
}

.ig-feed-container {
  overflow: hidden;
  width: 100%;
}

.ig-feed-track {
  display: flex;
  gap: 1rem;
  animation: scroll-left 30s linear infinite;
}

.ig-feed-group {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.ig-feed-track img {
  height: 250px;
  width: auto;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.ig-feed-track img:hover {
  transform: scale(1.05);
}

.hover-scroll:hover .ig-feed-track {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* Assuming duplicated items */
}


.footer {
  position: relative;
  background-color: var(--color-primary-light);
  color: var(--color-dark);
  padding-top: 3rem;
}

.border-wave-top::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background:
    radial-gradient(circle at 10% 100%, transparent 26px, var(--color-primary-light) 27px) 0 0 / 120px 50px repeat-x;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.5fr;
  gap: 2rem;
  padding-bottom: 2rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1.5fr 2fr;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.large-links svg {
  width: 20px;
  height: 20px;
  fill: var(--color-secondary);
  transition: fill 0.3s;
}

.large-links a {
  transition: transform 0.3s, background-color 0.3s, border-color 0.3s;
  background-color: transparent !important;
  border: 2px solid var(--color-secondary);
}

.large-links a:hover {
  transform: translateY(-3px);
  background-color: var(--color-secondary) !important;
}

.large-links a:hover svg {
  fill: var(--color-white);
}

.center-links {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

@media (max-width: 768px) {
  .center-links {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
}

.footer-link-group {
  display: flex;
  flex-direction: column;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-contact-box {
  background-color: rgba(0, 0, 0, 0.03);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.monospace-time {
  font-family: monospace;
  font-size: 1.1em;
}

.footer-newsletter h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: 2px solid var(--color-tertiary);
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ----- SCROLL ANIMATIONS ----- */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

/* Fade Up */
.fade-up {
  transform: translateY(40px);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade Left (slides in from the right) */
.fade-left {
  transform: translateX(40px);
}

.fade-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fade Right (slides in from the left) */
.fade-right {
  transform: translateX(-40px);
}

.fade-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Zoom In */
.zoom-in {
  transform: scale(0.9);
}

.zoom-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays for children inside a grid */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

/* ----- 2026 CLEANUP OVERRIDES ----- */
:root {
  --color-slate-200: #e2e8f0;
  --color-muted: #5f6470;
  --color-border: rgba(28, 90, 138, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 1.0625rem;
  background:
    radial-gradient(circle at top right, rgba(205, 43, 68, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(205, 43, 68, 0.3);
  outline-offset: 3px;
}

.container {
  width: min(1140px, calc(100% - 32px));
  max-width: none;
  padding: 0;
}

.text-tertiary {
  color: var(--color-tertiary);
}

.mt-auto {
  margin-top: auto;
}

.section-intro {
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-kicker {
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-lead {
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.highlight.tertiary {
  background-color: var(--color-tertiary);
}

.announcement-bar {
  padding: 0.5rem 0;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  white-space: normal;
}

.announcement-content {
  align-items: center;
  gap: 0.9rem;
  padding-right: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.separator {
  opacity: 0.55;
}

.announcement-track {
  width: 100%;
  justify-content: center;
  animation: none;
}

.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
}

.main-nav {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(28, 90, 138, 0.08);
  box-shadow: 0 6px 24px rgba(12, 31, 52, 0.08);
}

.container-nav {
  width: min(1320px, calc(100% - 56px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.18fr);
  align-items: center;
  gap: 2.75rem;
  min-height: 94px;
}

.nav-side {
  display: flex;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.nav-side-left {
  justify-content: flex-end;
  padding-right: 0.75rem;
}

.nav-side-right {
  justify-content: flex-start;
  gap: 1.75rem;
  padding-left: 0.75rem;
}

.nav-links {
  align-items: center;
  justify-content: space-between;
  flex: 1 1 auto;
  width: 100%;
  gap: 1.25rem;
}

.left-nav {
  max-width: 450px;
  margin-left: auto;
}

.right-nav {
  max-width: 430px;
}

.nav-cta {
  margin-left: auto;
}

.nav-links a {
  font-weight: 700;
}

.nav-links a::after {
  bottom: -0.2rem;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
  transform: scaleX(1);
}

.site-logo {
  max-height: 84px;
}

.menu-toggle {
  color: var(--color-primary);
}

.nav-cta {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(205, 43, 68, 0.18);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background-color: #b22439;
  transform: translateY(-1px);
}

.mobile-menu {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(180deg, var(--color-primary), #123652);
}

.mobile-menu .mobile-cta {
  margin: 0.8rem 1rem 0;
  border-bottom: none;
  border-radius: 999px;
  background-color: var(--color-secondary);
  text-align: center;
}

.hero-section {
  min-height: 78vh;
  padding: 8.5rem 0 7rem;
  background:
    linear-gradient(115deg, rgba(14, 37, 65, 0.82), rgba(28, 90, 138, 0.62)),
    url('Other Assets/OLYRhythmicGymnasticsDesktop.jpg') center/cover no-repeat;
}

.hero-section::before {
  background: linear-gradient(135deg, rgba(28, 90, 138, 0.6) 0%, rgba(28, 90, 138, 0.3) 40%, rgba(0, 0, 0, 0.15) 100%);
}

.hero-content {
  max-width: 830px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.1;
}

.hero-desc {
  max-width: 640px;
  margin-top: 1.75rem;
  margin-bottom: 0;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.values-header {
  padding: 4rem 0 1.5rem;
}

.values-grid-section {
  padding: 0 0 5rem;
}

.value-card {
  gap: 1rem;
  padding: 2rem 1.4rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.value-title {
  color: var(--color-white);
}

.programs-section,
.testimonials-section,
.social-cta-section,
.info-section,
.schedule-section {
  padding: 5.5rem 0;
}

.program-card,
.schedule-card,
.info-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.program-card {
  gap: 1rem;
}

.program-card:hover,
.schedule-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.program-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  background-color: var(--color-secondary-light);
  color: var(--color-secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

.program-title {
  font-size: 1.7rem;
}

.program-divider {
  width: 100%;
  height: 4px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-primary), rgba(205, 43, 68, 0.25));
}

.schedule-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.schedule-card {
  gap: 0.85rem;
}

.schedule-card h3,
.info-card h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
}

.schedule-meta {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.schedule-list,
.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.25rem;
}

.schedule-list li,
.info-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--color-neutral);
}

.schedule-list li::before,
.info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-secondary);
}

.schedule-card-accent {
  background:
    linear-gradient(180deg, rgba(205, 43, 68, 0.06), rgba(28, 90, 138, 0.02)),
    #ffffff;
  border-color: rgba(205, 43, 68, 0.18);
}

.about-section {
  overflow: hidden;
  padding: 6rem 0;
}

.about-section::before {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.09), transparent 24%),
    radial-gradient(circle at 92% 82%, rgba(255, 255, 255, 0.08), transparent 22%);
}

.about-img {
  max-width: 520px;
  border-radius: 36px;
}

.about-content-col {
  gap: 1.2rem;
}

.about-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.testimonials-title {
  margin-bottom: 2rem;
}

.carousel-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  outline: none;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-container.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.carousel-track {
  gap: 1.5rem;
  width: max-content;
  padding: 0.5rem 0.35rem 0.25rem;
  transition: none;
}

.testimonial-card {
  width: clamp(280px, 31vw, 340px);
  min-width: 0;
  border: 1px solid rgba(28, 90, 138, 0.12);
  background:
    linear-gradient(180deg, rgba(28, 90, 138, 0.05), rgba(28, 90, 138, 0)),
    var(--color-white);
  color: var(--color-dark);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}

.testimonial-name {
  color: var(--color-tertiary);
}

.testimonial-stars {
  color: #f0b429;
  letter-spacing: 0.15em;
}

.carousel-nav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.carousel-nav.prev {
  left: -12px;
}

.carousel-nav.next {
  right: -12px;
}

.carousel-nav:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: var(--shadow-md);
}

.social-copy {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.inline-social-link {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 0.15rem;
  color: var(--color-tertiary);
}

.inline-instagram-icon {
  width: 1.15em;
  height: 1.15em;
  transform: translateY(0.08em);
}

.inline-social-link:hover,
.inline-social-link:focus-visible {
  transform: translateY(-2px) scale(1.06);
}

.ig-feed-container {
  margin-top: 2rem;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(28, 90, 138, 0.06), rgba(205, 43, 68, 0.06));
  padding: 1rem;
}

.ig-feed-track {
  width: max-content;
  animation-duration: 32s;
}

.ig-feed-track img {
  height: 240px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.info-card {
  gap: 0.9rem;
}

.info-card p {
  color: var(--color-neutral);
}

.footer {
  background:
    linear-gradient(180deg, rgba(235, 242, 248, 0.96), rgba(235, 242, 248, 1)),
    var(--color-primary-light);
  padding-top: 4rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-brand {
  gap: 1rem;
}

.footer-brand-start {
  align-items: flex-start;
}

.footer-logo-wrap .site-logo {
  max-height: 110px;
}

.footer-text {
  max-width: 320px;
  color: var(--color-muted);
}

.large-links a {
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.large-links a:hover,
.large-links a:focus-visible {
  color: var(--color-white);
}

.footer-center-links {
  justify-content: space-between;
  width: 100%;
}

.footer-heading {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-dark);
}

.footer-heading-large {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-contact-item-start {
  align-items: flex-start;
}

.contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.25rem;
  fill: var(--color-secondary);
}

.footer-address-link,
.contact-link {
  color: var(--color-neutral);
}

.footer-address-link:hover,
.contact-link:hover,
.footer-address-link:focus-visible,
.contact-link:focus-visible {
  color: var(--color-primary);
}

.footer-subheading {
  margin-bottom: 0.85rem;
  font-size: 1rem;
  font-weight: 800;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.97rem;
}

.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.status-closed {
  color: var(--color-secondary);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.footer-bottom {
  background-color: #0a0a0a;
  color: var(--color-white);
  border-top: none;
  padding: 0.9rem 0;
}

.top-credit-bar {
  position: relative;
  z-index: 5;
  padding: 0.65rem 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.98));
  border-bottom: 1px solid rgba(28, 90, 138, 0.08);
  box-shadow: 0 8px 18px rgba(18, 43, 71, 0.04);
}

.top-credit-bar .footer-credit {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  gap: 0.85rem;
  justify-content: center;
}

.top-credit-bar .footer-credit-label {
  color: rgba(28, 90, 138, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.top-credit-bar .footer-credit-link {
  gap: 0.58rem;
  padding: 0.42rem 0.85rem;
  border-color: rgba(28, 90, 138, 0.14);
  background: linear-gradient(180deg, #ffffff, #f6faff);
  box-shadow: 0 8px 18px rgba(18, 43, 71, 0.06);
}

.top-credit-bar .footer-credit-link:hover,
.top-credit-bar .footer-credit-link:focus-visible {
  background: #ffffff;
  border-color: rgba(28, 90, 138, 0.24);
  box-shadow: 0 14px 28px rgba(18, 43, 71, 0.12);
}

.top-credit-bar .footer-credit-name {
  color: var(--color-primary);
  font-size: 0.95rem;
}

.top-credit-bar .footer-credit-logo {
  height: 26px;
  filter: none;
  opacity: 1;
}

.footer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-credit-label {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.footer-credit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-credit-link:hover,
.footer-credit-link:focus-visible {
  transform: translateY(-1px) scale(1.02);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.footer-credit-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-white);
}

.footer-credit-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

@media (max-width: 1024px) {
  .schedule-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .carousel-nav.prev {
    left: -4px;
  }

  .carousel-nav.next {
    right: -4px;
  }
}

@media (max-width: 860px) {
  .container-nav {
    width: min(100%, calc(100% - 24px));
    grid-template-columns: 48px 1fr 48px;
    gap: 0.5rem;
    min-height: 74px;
  }

  .site-logo {
    max-height: 60px;
  }

  .nav-side {
    display: none;
  }

  .logo-container {
    grid-column: 2;
    justify-self: center;
  }

  .menu-toggle {
    grid-column: 3;
    justify-self: end;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
  }

  .nav-cta {
    display: none;
  }

  .grid-3,
  .grid-4,
  .schedule-grid,
  .info-grid,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .flex-row,
  .footer-center-links {
    flex-direction: column;
  }

  .footer-brand-start {
    align-items: center;
  }

  .top-credit-bar .footer-credit {
    width: min(100%, calc(100% - 24px));
  }
}

@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  .announcement-bar {
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .announcement-content {
    gap: 0.55rem;
    padding-right: 0;
  }

  .hero-section {
    min-height: auto;
    padding: 4.9rem 0 4rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2.05rem, 8.4vw, 2.55rem);
    line-height: 1.06;
    text-wrap: balance;
  }

  .hero-desc {
    max-width: 100%;
    margin-top: 1.15rem;
    font-size: 1rem;
  }

  .highlight {
    padding: 0.18rem 0.45rem;
    border-radius: 14px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    gap: 0.85rem;
    margin-top: 2rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .section-intro {
    margin-bottom: 2.25rem;
  }

  .programs-section,
  .schedule-section,
  .about-section,
  .testimonials-section,
  .social-cta-section,
  .info-section {
    padding: 4.5rem 0;
  }

  .program-card,
  .schedule-card,
  .info-card {
    padding: 1.45rem;
  }

  .about-section {
    padding: 4.5rem 0;
  }

  .about-content-col {
    gap: 1rem;
  }

  .about-title {
    font-size: clamp(1.95rem, 7.2vw, 2.35rem);
  }

  .carousel-nav {
    display: none;
  }

  .testimonial-card {
    width: min(86vw, 320px);
  }

  .ig-feed-track img {
    height: 190px;
  }

  .footer {
    padding-top: 3.25rem;
  }

  .footer-text {
    max-width: 100%;
    text-align: center;
  }

  .footer-center-links {
    align-items: center;
    gap: 1.75rem;
  }

  .footer-link-group {
    align-items: center;
    text-align: center;
  }

  .footer-links ul {
    gap: 0.75rem;
  }

  .footer-contact {
    width: min(100%, 420px);
    margin: 0 auto;
    text-align: left;
  }

  .footer-contact-item {
    align-items: flex-start;
  }

  .footer-contact-box {
    margin-top: 1.25rem;
    padding: 1.25rem;
  }

  .hours-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .footer-credit {
    flex-direction: column;
    gap: 0.6rem;
  }

  .top-credit-bar {
    padding: 0.45rem 0;
  }

  .top-credit-bar .footer-credit {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
  }

  .top-credit-bar .footer-credit-link {
    padding: 0.38rem 0.72rem;
    gap: 0.45rem;
    justify-content: center;
  }

  .top-credit-bar .footer-credit-label {
    font-size: 0.62rem;
  }

  .top-credit-bar .footer-credit-logo {
    height: 22px;
  }

  .top-credit-bar .footer-credit-name {
    font-size: 0.86rem;
  }

  .footer-credit-link {
    padding: 0.7rem 1rem;
  }

  .footer-credit-name {
    font-size: 0.98rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100%, calc(100% - 24px));
  }

  .announcement-bar {
    font-size: 0.68rem;
  }

  .announcement-content {
    gap: 0.35rem 0.55rem;
  }

  .separator {
    display: none;
  }

  .site-logo {
    max-height: 56px;
  }

  .hero-section {
    padding: 4.4rem 0 3.4rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 9.6vw, 2.18rem);
  }

  .hero-desc {
    font-size: 0.97rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }

  .testimonial-card {
    width: min(92vw, 300px);
  }

  .top-credit-bar .footer-credit {
    flex-direction: column;
    gap: 0.35rem;
  }

  .top-credit-bar .footer-credit-label {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }

  .top-credit-bar .footer-credit-link {
    width: min(100%, 280px);
  }

  .top-credit-bar .footer-credit-name {
    font-size: 0.82rem;
  }

  .top-credit-bar .footer-credit-logo {
    height: 20px;
  }

  .footer-bottom .footer-credit-link {
    width: min(100%, 320px);
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}
