/* =============================================================
   SHINY GLADE ACADEMY – GEOMETRIC STRUCTURED STYLE.CSS
   Brand: Shiny Glade Academy
   Style: geometric_structured (geometric shapes, structured grids, angular fonts, precise layouts)
   Colors: #003366 (primary), #7EA04D (secondary), #F6F6EF (accent)
   Fonts: Montserrat (display), Open Sans (body)
   ============================================================= */

/* -------------------- CSS RESET & BASE -------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F6F6EF;
  color: #003366;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #003366;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #7EA04D;
}

/* -------------------- TYPOGRAPHY -------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.5em;
  letter-spacing: 0.03em;
  color: #003366;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  text-transform: uppercase;
}
h2 {
  font-size: 1.6rem;
  line-height: 1.2;
  text-transform: uppercase;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  text-transform: uppercase;
}
h4 {
  font-size: 1rem;
  line-height: 1.3;
  text-transform: uppercase;
}
p, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 1em;
}
strong {
  font-weight: 700;
}
ul, ol {
  padding-left: 1.5em;
}

/* -------------------- CONTAINER & LAYOUT -------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,51,102,0.06);
  position: relative;
}

/* -------------------- HEADER & NAVIGATION -------------------- */
header {
  background: #003366;
  color: #fff;
  width: 100%;
  box-shadow: 0 2px 12px rgba(0,51,102,0.08);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #7EA04D;
  border-bottom: 2px solid #7EA04D;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(90deg, #7EA04D 0%, #003366 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 32px;
  margin-left: 24px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0,51,102,0.10);
  transition: background 0.2s, transform 0.15s;
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #003366 0%, #7EA04D 100%);
  transform: translateY(-2px) scale(1.04);
}

/* -------------------- MOBILE NAVIGATION -------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1001;
  background: #003366;
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,51,102,0.10);
  transition: background 0.2s;
}
.mobile-menu-toggle:active {
  background: #7EA04D;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #003366;
  color: #fff;
  z-index: 2000;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #7EA04D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
  margin-top: 40px;
  padding-left: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #7EA04D;
  border-bottom: 2px solid #7EA04D;
}

/* -------------------- HERO SECTION -------------------- */
.hero {
  background: linear-gradient(120deg, #F6F6EF 60%, #7EA04D 100%);
  padding: 60px 0 40px 0;
  border-radius: 0 0 48px 48px;
  box-shadow: 0 8px 32px rgba(0,51,102,0.07);
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: #003366;
  font-size: 2.4rem;
  margin-bottom: 0.5em;
  text-shadow: 1px 2px 0 #7EA04D22;
}
.hero p {
  font-size: 1.15rem;
  color: #003366;
  margin-bottom: 1.5em;
}
.hero .cta-button {
  margin-left: 0;
  margin-top: 10px;
}

/* -------------------- FLEXBOX LAYOUTS -------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0,51,102,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px rgba(0,51,102,0.13);
  transform: translateY(-4px) scale(1.03);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F6F6EF;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,51,102,0.06);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 480px;
  color: #003366;
  font-size: 1.05rem;
  position: relative;
  border-left: 6px solid #7EA04D;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 24px rgba(0,51,102,0.13);
  border-left: 6px solid #003366;
}
.testimonial-card p {
  margin-bottom: 0.5em;
  color: #003366;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #7EA04D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* -------------------- FEATURE GRIDS & PROGRAMS -------------------- */
.feature-grid, .benefit-grid, .program-cards, .program-list, .service-list, .workshop-list, .team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid > div, .benefit-grid > div, .program-cards > div, .program-list > div, .service-list > div, .workshop-list > div, .team-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,51,102,0.06);
  padding: 24px 20px;
  flex: 1 1 240px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.15s;
  margin-bottom: 0;
  border-left: 4px solid #7EA04D;
}
.feature-grid > div:hover, .benefit-grid > div:hover, .program-cards > div:hover, .program-list > div:hover, .service-list > div:hover, .workshop-list > div:hover, .team-grid > div:hover {
  box-shadow: 0 6px 24px rgba(0,51,102,0.13);
  transform: translateY(-3px) scale(1.02);
  border-left: 4px solid #003366;
}
.feature-grid h3, .benefit-grid h4, .program-cards h3, .program-list h3, .service-list h3, .workshop-list h3, .team-grid h4 {
  margin-bottom: 0.4em;
  color: #003366;
  font-size: 1.1rem;
  text-transform: uppercase;
}
.feature-grid p, .benefit-grid p, .program-cards p, .program-list p, .service-list p, .workshop-list p, .team-grid p {
  color: #003366;
  font-size: 1rem;
}

/* -------------------- QUICK LINKS, SUCCESS METRICS, ETC. -------------------- */
.quick-links, .success-metrics, .benefit-highlights, .schedule-overview {
  margin-top: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #003366;
  display: flex;
  gap: 16px;
  align-items: center;
}
.quick-links a {
  color: #7EA04D;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
}
.success-metrics strong {
  color: #7EA04D;
}

/* -------------------- TESTIMONIAL SLIDER & CLIENT LOGOS -------------------- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.client-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #003366;
  opacity: 0.8;
}

/* -------------------- GALLERY & VIDEO SECTIONS -------------------- */
.photo-gallery, .video-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* -------------------- LEGAL & POLICY SECTIONS -------------------- */
.legal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,51,102,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.legal h1, .legal h2 {
  color: #003366;
}
.legal ul {
  margin-bottom: 1.5em;
}

/* -------------------- FOOTER -------------------- */
footer {
  background: #003366;
  color: #fff;
  padding: 32px 0 16px 0;
  border-radius: 48px 48px 0 0;
  box-shadow: 0 -2px 12px rgba(0,51,102,0.08);
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #7EA04D;
  border-bottom: 2px solid #7EA04D;
}
footer p {
  font-size: 0.98rem;
  opacity: 0.8;
  margin: 0;
}

/* -------------------- COOKIE CONSENT BANNER -------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #fff;
  color: #003366;
  box-shadow: 0 -2px 16px rgba(0,51,102,0.13);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-radius: 24px 24px 0 0;
  animation: cookieBannerSlideIn 0.5s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin: 0 2px;
}
.cookie-banner .accept {
  background: #7EA04D;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #003366;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #003366;
  border: 2px solid #003366;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #003366;
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: #7EA04D;
  border: 2px solid #7EA04D;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #7EA04D;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,51,102,0.45);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #003366;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,51,102,0.18);
  padding: 32px 24px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalPop 0.4s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieModalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5em;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #003366;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #7EA04D;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-category input[disabled] {
  accent-color: #003366;
  opacity: 0.7;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cookie-modal .save {
  background: #7EA04D;
  color: #fff;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: #003366;
}
.cookie-modal .cancel {
  background: #fff;
  color: #003366;
  border: 2px solid #003366;
}
.cookie-modal .cancel:hover, .cookie-modal .cancel:focus {
  background: #003366;
  color: #fff;
}

/* -------------------- RESPONSIVE DESIGN -------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 900px;
  }
  .main-nav {
    gap: 18px;
  }
  .footer-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid > div, .benefit-grid > div, .program-cards > div, .program-list > div, .service-list > div, .workshop-list > div, .team-grid > div {
    min-width: 180px;
    padding: 18px 12px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    padding: 36px 0 24px 0;
    border-radius: 0 0 32px 32px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .feature-grid, .benefit-grid, .program-cards, .program-list, .service-list, .workshop-list, .team-grid, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .cookie-modal {
    min-width: 0;
    width: 95vw;
    padding: 18px 8px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section, .legal {
    padding: 18px 6px;
    border-radius: 12px;
  }
  .hero {
    padding: 18px 0 10px 0;
    border-radius: 0 0 16px 16px;
  }
  footer {
    border-radius: 16px 16px 0 0;
    padding: 18px 0 8px 0;
  }
  .cookie-banner {
    padding: 12px 6px;
    border-radius: 12px 12px 0 0;
  }
}

/* -------------------- MICRO-INTERACTIONS & EFFECTS -------------------- */
button, .cta-button, .cookie-banner button, .cookie-modal button {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
button:active, .cta-button:active, .cookie-banner button:active, .cookie-modal button:active {
  transform: scale(0.97);
}

/* -------------------- GEOMETRIC DECORATIVE ELEMENTS -------------------- */
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -24px;
  left: -24px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #7EA04D 60%, #003366 100%);
  opacity: 0.08;
  border-radius: 12px 0 24px 0;
  z-index: 0;
  pointer-events: none;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #003366 60%, #7EA04D 100%);
  opacity: 0.08;
  border-radius: 0 24px 0 12px;
  z-index: 0;
  pointer-events: none;
}

/* -------------------- ACCESSIBILITY -------------------- */
:focus {
  outline: 2px solid #7EA04D;
  outline-offset: 2px;
}

/* -------------------- UTILITY CLASSES -------------------- */
.hide {
  display: none !important;
}

/* -------------------- END OF STYLE.CSS -------------------- */
