/* =======================
   Fuzebox Power - style.css
   Futuristic Tech Inspired - Flexbox Only
   ======================= */
/* ========== RESET/NORMALIZE ========== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background-color: #1B2431;
}
body {
  min-height: 100vh;
  background: #222F3E;
  color: #F5F6FA;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  /* Add noise overlay for tech/futuristic feel */
  position: relative;
  overflow-x: hidden;
}
img, picture {
  max-width: 100%;
  display: block;
}
a {
  color: #16A085;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F5F6FA;
  text-shadow: 0 0 6px #00F5C1;
}
ul, ol {
  padding-left: 24px;
}
strong {
  color: #3ef2d4;
  font-weight: 600;
}
/* Typography System */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #18fbe6;
  text-shadow: 0 0 8px rgba(22,160,133,0.10);
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; letter-spacing: 1.5px; }
h2 { font-size: 2rem; letter-spacing: 1px; }
h3 { font-size: 1.5rem; letter-spacing: 0.5px; }
h4 { font-size: 1.2rem; letter-spacing: 0.5px; }
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ========== GLOBAL FLEX LAYOUTS ========== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(30,41,58,0.89);
  border-radius: 20px;
  box-shadow: 0 2px 32px 0 rgba(40,250,160,0.03), 0 0 12px #16A08511;
  position: relative;
}
.card-container{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #222f3e;
  border-radius: 20px;
  box-shadow: 0 2px 24px rgba(30,90,100,0.15);
  padding: 32px 24px;
  min-width: 260px;
  max-width: 400px;
  flex: 1 1 320px;
  border: 1.5px solid #16A08533;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus{
  box-shadow: 0 2px 40px #16a08588, 0 0 24px #00ecb665;
  transform: translateY(-2px) scale(1.02);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F5F6FA;
  color: #20232b;
  border-radius: 16px;
  padding: 20px 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 28px #10161b22;
  font-size: 1.1rem;
  position: relative;
  min-width: 220px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card p {
  color: #222F3E;
  font-size: 1.18rem;
  flex: 1 1 auto;
  font-style: italic;
}
.testimonial-card span{
  font-size: 0.95rem;
  font-weight: 500;
  color: #16a085;
}
.testimonial-card:hover {
  box-shadow: 0 4px 44px #11f7d889, 0 0 8px #16A08544;
  transform: scale(1.011);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== HEADER - NAVIGATION ========== */
header {
  width: 100%;
  background-color: #1B2431;
  box-shadow: 0 2px 18px #11dac83c;
  z-index: 20;
  position: relative;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  position: relative;
  min-height: 80px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  color: #F5F6FA;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: color 0.18s;
  position: relative;
  border-radius: 6px;
  padding: 6px 9px;
}
header nav a:hover, header nav a:focus {
  color: #16A085;
  background: #27364b;
  outline: none;
}
.cta-btn {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  background: linear-gradient(90deg, #16A085 60%, #1bffd6 100%);
  color: #222F3E;
  border: none;
  padding: 11px 32px;
  border-radius: 24px;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  box-shadow: 0 0 14px #0ae7be39;
  margin-left: 18px;
  cursor: pointer;
  transition: transform 0.15s, background 0.19s, box-shadow 0.23s;
  position: relative;
  z-index: 5;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #0fbfa5, #1fffbc 100%);
  box-shadow: 0 0 24px #00ecb6dd, 0 0 6px #fff5;
  transform: translateY(-1px) scale(1.025);
  color: #1B2431;
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #16A085;
  font-size: 2.1rem;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 16px;
  z-index: 51;
  user-select: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #19222eeb;
  box-shadow: 0 0 60px #1ffdcb80;
  transform: translateX(-110vw);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition: transform 0.33s cubic-bezier(.6,.09,.22,1.0), opacity 0.33s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #f5f6fa;
  font-size: 2.4rem;
  align-self: flex-end;
  margin: 16px 24px 0 0;
  cursor: pointer;
  text-shadow: 0 0 6px #0ff4c6aa;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 32px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.32rem;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  padding: 10px 0;
  border-radius: 8px;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #16A085;
  color: #10161b;
  box-shadow: 0 0 12px #18fbe655;
}
/* Toggle on mobile < 1050px */
@media (max-width: 1050px) {
  header nav, header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1051px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========= HERO/INTRO & FEATURE GRIDS ========= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 16px 0 0 0;
}
.feature-grid > div {
  background: #1b2431;
  border-radius: 14px;
  box-shadow: 0 2px 28px 0 #00ffc2a5;
  padding: 26px 22px 20px 22px;
  min-width: 220px;
  flex: 1 1 260px;
  border: 1.5px solid #16A08533;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.21s, transform 0.17s;
  text-align: center;
}
.feature-grid > div:hover {
  box-shadow: 0 0 24px #18fbe6cc, 0 0 16px #16a085cc;
  transform: scale(1.022);
}
.feature-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
}

/* ========== CARDS & CONTENT BLOCKS ========== */
.text-section {
  background: #1E3240;
  border-radius: 10px;
  padding: 18px 24px;
  margin-bottom: 18px;
  box-shadow: 0 2px 22px #0ff9c233;
}
.community-highlight {
  border-left: 4px solid #16A085;
  padding: 10px 0 10px 20px;
  margin-top: 16px;
  background: #16292f;
  border-radius: 8px;
}

/* ====== TABLES / COMPARISON etc. ====== */
.comparison-table {
  width: 100%;
  overflow-x: auto;
}
.comparison-table table {
  width: 100%;
  background: #16222e;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1.5px 15px #16a08522;
  margin-bottom: 20px;
}
.comparison-table th, .comparison-table td {
  border: 1px solid #16A08522;
  padding: 11px 15px;
  text-align: center;
  color: #F5F6FA;
}
.comparison-table th {
  background: #16A08544;
  color: #0be0b0;
  font-family: 'Oswald', Arial, sans-serif;
}
.comparison-table tr:nth-child(even) {
  background: #212f3e55;
}
.comparison-table tr:hover {
  background: #0ff9c244;
}

/* ========= COURSE LISTS, PREVIEWS ========= */
.course-list, .equipment-list, .service-features, .class-schedule-overview, .membership-options, .opening-hours {
  margin-bottom: 14px;
}
.course-preview-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.course-preview-list > div {
  background: #18242f;
  border-radius: 10px;
  box-shadow: 0 2px 12px #16a0852a;
  flex: 1 1 220px;
  padding: 18px 16px;
  border: 1px solid #16A08524;
  min-width: 180px;
}
.class-schedule-overview ul {
  list-style: square inside;
  color: #16A085;
  margin-top: 8px;
  margin-bottom: 0;
}

/* ======= TESTIMONIALS & RATINGS ====== */
.rating-overview {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #e8fbf7;
  color: #15AE9B;
  padding: 12px 24px;
  border-radius: 9px;
  margin: 16px 0 0 0;
  font-size: 1.19rem;
  font-weight: 600;
  box-shadow: 0 2px 16px #16a08527;
}
.rating-overview img {
  width: 22px;
  height: 22px;
}

/* ========== FOOTER ========== */
footer {
  background: #1B2431;
  color: #F5F6FA;
  padding: 32px 0 0 0;
  border-top: 4px solid #16A08522;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-logo img {
  width: 62px;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #F5F6FAad;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: color 0.14s;
  margin-bottom: 0;
}
footer nav a:hover, footer nav a:focus {
  color: #16A085;
}
.footer-contact p, .footer-contact a{
  color: #9de5dd;
  font-size: 0.96rem;
}
.footer-contact a:hover{
  text-decoration: underline;
}

/* ===== SPECIAL BLOCKS ====== */
.usp-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 20px 0 0 0;
}
.usp-icons > div {
  background: #213647;
  border-radius: 12px;
  box-shadow: 0 1.5px 18px #16a08535;
  padding: 22px 14px 16px 14px;
  flex: 1 1 200px;
  border: 1.5px solid #16A08524;
  text-align: center;
}
.usp-icons img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}
.trainer-bios-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.trainer-bios-list > div {
  background: #192a38;
  border-radius: 11px;
  box-shadow: 0 1.5px 12px #16a08517;
  padding: 18px 12px;
  flex: 1 1 221px;
  border: 1.5px solid #16A08524;
}
.qualifications-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.qualifications-grid > div {
  background: #112233;
  border-radius: 9px;
  padding: 13px 18px;
  color: #15AE9B;
  border: 1px solid #16a08522;
  font-size: 0.99rem;
}

.address-block,
.phone-email-block {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #213842;
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 14px;
  color: #32f5df;
  font-weight: 500;
  box-shadow: 0 2px 10px #00ffd933;
}
.address-block img,
.phone-email-block img {
  width: 22px;
  height: 22px;
}
.opening-hours ul {
  color: #13daa5;
  margin-bottom: 8px;
}
.directions {
  color: #53ebc6;
  background: #143236;
  border-radius: 9px;
  padding: 10px 17px;
  margin-bottom: 10px;
  font-size: 0.98rem;
}

/* ===== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #141e29fd;
  color: #f5f6fa;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 20px 20px 20px;
  z-index: 9999;
  box-shadow: 0 -2px 30px #00fdcf27;
  transition: transform 0.29s cubic-bezier(.6,.09,.22,1.0), opacity 0.29s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-message {
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.cookie-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn {
  background: linear-gradient(90deg, #16A085 60%, #1bffd6 100%);
  color: #222F3E;
  border: none;
  border-radius: 18px;
  padding: 8px 28px;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 6px;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  cursor: pointer;
  box-shadow: 0 0 10px #16a0851a;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #081E22;
  color: #1fffd6;
  box-shadow: 0 0 20px #18fbe699;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: center;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: rgba(17,32,40,0.88);
  transition: opacity 0.33s;
}
.cookie-modal-overlay.show {
  display: flex;
}
.cookie-modal {
  background: #222F3E;
  border-radius: 18px;
  box-shadow: 0 4px 40px #16a08533;
  padding: 40px 24px 25px 24px;
  min-width: 310px;
  max-width: 95vw;
  color: #f5f6fa;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fade-in-cookie-modal 340ms 1 cubic-bezier(.61,.13,.3,1.09);
}
@keyframes fade-in-cookie-modal {
  0% { opacity: 0; transform: scale(0.96); } 
  100% { opacity: 1; transform: scale(1.0); }
}
.cookie-modal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
  align-items: center;
}
.cookie-modal h2 {
  color: #1fffd6;
  font-size: 1.32rem;
  margin-bottom: 10px;
}
.cookie-category {
  font-weight: 600;
  font-size: 1.06rem;
  color: #18fbe6;
  margin-right: 6px;
}
.cookie-category-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #29434d;
  border-radius: 11px;
  position: relative;
  outline: none;
  margin-left:8px;
  cursor: pointer;
  vertical-align: middle;
  transition: background 0.19s;
}
.cookie-category-toggle:checked {
  background: #13EBBB;
}
.cookie-category-toggle:before {
  content: '';
  position: absolute;
  left: 1.5px;
  top: 1.5px;
  width: 17px;
  height: 17px;
  border-radius: 100%;
  background: #fff;
  transition: left 0.18s;
}
.cookie-category-toggle:checked:before {
  left: 17px;
  background: #0d815f;
}
.cookie-modal-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-modal-close {
  background: #10181f;
  color: #18fbe6;
  border: none;
  border-radius: 14px;
  padding: 8px 20px;
  font-weight: 600;
  cursor: pointer;
  margin-left: auto;
}
.cookie-modal-close:hover {
  background: #16A085;
  color: #222F3E;
  box-shadow: 0 0 18px #18fbe688;
}

/* ======= RESPONSIVE DESIGN ======= */
@media (max-width: 950px) {
  .feature-grid, .usp-icons, .course-preview-list, .trainer-bios-list, .qualifications-grid, .content-grid {
    flex-direction: column;
    gap: 24px;
  }
  .footer-logo {margin-bottom: 18px;}
  footer .container {gap: 18px;}
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.17rem; }
  .section {padding: 32px 7px; margin-bottom: 42px;}
  .card {padding: 18px 10px;}
  .feature-grid, .usp-icons, .content-grid, .course-preview-list, .trainer-bios-list, .qualifications-grid {
    gap:16px;
  }
  .text-image-section {flex-direction: column;gap:18px;}
  .testimonial-card {padding: 14px 9px; font-size: 1rem;}
  .card-container {gap:12px;}
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ===== ACCESSIBILITY ===== */
:focus {
  outline: 2px solid #16A085cc;
  outline-offset: 2.5px;
}
::-webkit-input-placeholder, ::placeholder {
  color: #8be9d6cc;
}

/* ======= SCROLLBARS ======= */
body::-webkit-scrollbar {
  width: 10px;
  background: #111f28;
}
body::-webkit-scrollbar-thumb {
  background: #14ecca44;
  border-radius: 10px;
}

/* ========= MICRO-INTERACTIONS ========= */
.card, .feature-grid > div, .usp-icons > div, .testimonial-card, .cta-btn, .cookie-btn, .mobile-menu, .cookie-modal {
  transition: box-shadow 0.21s, transform 0.21s, background 0.2s, color 0.18s;
}

/* ===== DRAG TO COPY ===== */
::selection {
  background: #16A085;
  color: #F5F6FA;
}

/* ====== Z-INDEX STACKING ====== */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 100+;
}

/* END OF CSS - Fuzebox Power */
