/* === CSS RESET & BASELINE === */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background-color: #101924;
  color: #F1F5F8;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  transition: background 0.4s cubic-bezier(.4,0,.2,1);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
ul, ol {
  list-style: none;
  margin: 0 0 16px 0;
}
li {
  margin-bottom: 8px;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #24A39A;
  outline-offset: 2px;
}

/* === BRAND TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #F1F5F8;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.13rem; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.14rem; }
}
p, address, cite, blockquote, .text-section, .content-wrapper {
  color: #E4EAF3;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
blockquote {
  border-left: 4px solid #24A39A;
  padding-left: 16px;
  margin: 0 0 16px 0;
  color: #BFFDFD;
  font-style: italic;
}
cite {
  display: block;
  color: #24A39A;
  font-size: 0.96em;
  margin-top: 2px;
}

/* === GLOBAL LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
}
@media (max-width: 768px) {
  .content-wrapper { padding: 14px 0; }
  .container { padding: 0 8px; }
}

/* === SECTIONS & SPACING === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: rgba(18,34,48,0.91);
  border-radius: 22px;
  box-shadow: 0 4px 28px 0 rgba(41, 131, 222, 0.11);
  position: relative;
}
@media (max-width: 768px) {
  section { padding: 20px 3vw; margin-bottom: 36px; }
}

/* === HEADER === */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: #101924;
  box-shadow: 0 2px 8px rgba(23,76,120,0.12);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 32px;
}
header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 500;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
}
.main-nav a {
  padding: 8px 16px;
  border-radius: 7px;
  transition: color 0.15s, background 0.18s, box-shadow 0.15s;
  color: #CFE4FF;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #24A39A;
  background: rgba(36,163,154,0.11);
  box-shadow: 0 0 0 2px #24A39A55;
}
.main-nav .cta-btn {
  background: linear-gradient(90deg, #18c2ef 0%, #24A39A 100%);
  color: #101924;
  padding: 10px 22px;
  box-shadow: 0 0 18px 0 #18c2ef44;
  border-radius: 18px;
  text-shadow: 0 1px 12px #1faefc22;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.25s, color 0.15s, transform 0.14s, box-shadow 0.15s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: linear-gradient(90deg, #24A39A 0%, #18c2ef 100%);
  color: #fff;
  box-shadow: 0 0 0 3px #24A39A88;
  transform: translateY(-2px) scale(1.04);
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #174C78 50%, #24A39A 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    width: 46px;
    height: 46px;
    box-shadow: 0 1px 5px rgba(23,76,120,0.14);
    border: none;
    z-index: 52;
    transition: background 0.2s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #24A39A;
    color: #0D273F;
  }
}
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #101924cc;
  backdrop-filter: blur(3px);
  z-index: 99;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(.4,0,.2,1), opacity 0.25s;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 20px 0;
  background: linear-gradient(90deg, #18c2ef 30%, #24A39A 100%);
  color: #08131e;
  border-radius: 50%;
  font-size: 2.2rem;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 1px 6px #24A39A44;
  cursor: pointer;
  transition: background 0.22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #174C78;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100vw;
  margin-left: 22px;
  margin-top: 8px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.27rem;
  color: #fff;
  padding: 12px 18px;
  border-radius: 11px;
  transition: background 0.2s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #24A39A;
  color: #08131e;
}

/* === HERO & CALL-TO-ACTION === */
.cta-btn {
  background: linear-gradient(90deg, #18c2ef 0%, #24A39A 100%);
  color: #102232;
  padding: 14px 32px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  box-shadow: 0 2px 32px #18c2ef36;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.22s, color 0.13s, box-shadow 0.19s, transform 0.16s;
  margin-top: 16px;
  display: inline-block;
  text-align: center;
  border: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #24A39A 0%, #18c2ef 100%);
  color: #fff;
  box-shadow: 0 4px 40px #1faefc77;
  transform: translateY(-2px) scale(1.04);
}

/* === FEATURES & GRIDS === */
.features-grid,
.courses-grid,
.team-grid,
.card-container,
.card-grid,
.course-grid,
.contact-details-grid,
.testimonials-slider,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
  width: 100%;
  justify-content: space-between;
}
.team-grid,
.courses-grid {
  gap: 20px;
}
.feature,
.course-category,
.trainer-profile {
  background-color: #162a3e;
  border-radius: 17px;
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 340px;
  padding: 28px 18px 20px 18px;
  box-shadow: 0 2px 18px #24A39A22, 0 1.5px 8px #18c2ef18;
  transition: box-shadow 0.19s, transform 0.13s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.feature:hover, .course-category:hover, .trainer-profile:hover {
  box-shadow: 0 6px 36px 0 #24A39A55;
  transform: translateY(-3px) scale(1.023);
}
.feature img, .trainer-profile img, .contact-phone-email img, .contact-address img, .feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 3px #18c2ef66);
}
.feature h3, .course-category h3, .trainer-profile h3 {
  font-size: 1.23rem;
  color: #18c2ef;
  margin-bottom: 8px;
}
.feature p, .course-category ul, .course-category .highlight {
  font-size: 1rem;
  color: #E4EAF3;
}
.course-category .highlight {
  color: #f1f1f3;
  background: #24A39A;
  border-radius: 8px;
  padding: 3px 12px;
  margin-top: 6px;
  font-size: 0.95em;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 9px #18c2ef22;
  display: inline-block;
  margin-bottom: 0;
}

/* === TABLES === */
.membership-plans-table {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 22px 0;
}
.membership-plans-table table {
  width: 100%;
  border-collapse: collapse;
  background: #14233c;
  border-radius: 18px;
  box-shadow: 0 2px 12px #24A39A18;
  font-size: 1rem;
}
.membership-plans-table th, .membership-plans-table td {
  padding: 14px 12px;
  color: #E4EAF3;
  text-align: left;
}
.membership-plans-table thead th {
  background: #174C78;
  color: #fff;
  font-weight: 700;
}
.membership-plans-table tbody tr:nth-child(even) {
  background: #20304a;
}
.membership-plans-table tbody tr:hover {
  background: #24A39A22;
}
@media (max-width: 650px) {
  .membership-plans-table th,.membership-plans-table td { font-size: 0.96rem; padding: 10px 6px; }
}

/* === TESTIMONIALS & CARDS === */
.testimonial-card {
  background: #F1F5F8;
  color: #162a3e;
  border-radius: 19px;
  padding: 24px 22px 16px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 2px 16px #18c2ef24;
  min-width: 260px;
  max-width: 370px;
  flex: 1 1 270px;
  border-left: 4px solid #24A39A;
  transition: box-shadow 0.19s, transform 0.14s;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 12px 36px #24A39A33;
  transform: translateY(-2px) scale(1.019);
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.05em;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #174C78;
  margin-bottom: 0;
}
.before-after {
  font-size: 0.97em;
  color: #192c4b;
  background: #E9F5FA;
  padding: 8px 10px;
  border-radius: 6px;
  margin-top: 5px;
}

/* === FAQ === */
.faq-accordion > div,
.faq-snippet {
  margin-bottom: 20px;
  background: #162a3e;
  color: #F1F5F8;
  border-radius: 11px;
  padding: 13px 17px;
  box-shadow: 0 1.5px 8px #18c2ef14;
}
.faq-accordion strong, .faq-snippet strong {
  color: #24A39A;
}

/* === OTHER GRIDS === */
.contact-details-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 16px;
}
.contact-address, .contact-phone-email, .contact-hours {
  background: #192c4b;
  color: #fff;
  border-radius: 12px;
  padding: 20px 15px;
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 9px #18c2ef22;
}
@media (max-width: 900px) {
  .features-grid, .courses-grid, .team-grid, .card-container, .testimonial-list, .testimonials-slider, .contact-details-grid { flex-direction: column; gap: 20px; }
  .feature, .course-category, .trainer-profile, .testimonial-card, .contact-address, .contact-phone-email, .contact-hours { max-width: 100%; min-width: 0; }
}

/* === QUALIFICATIONS ICON ROW === */
.qualifications-icons {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin: 22px 0 10px 0;
}
.qualifications-icons img {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 0 8px #24A39A88);
}

/* === BENEFITS LIST === */
.benefits-list {
  margin: 15px 0 15px 0;
  padding-left: 18px;
  color: #BFFDFD;
  font-size: 1.08em;
  font-family: 'Roboto', Arial, sans-serif;
}
.benefits-list li {
  margin-bottom: 7px;
  position: relative;
  padding-left: 13px;
}
.benefits-list li::before {
  content: '';
  width: 7px; height: 7px;
  background: #24A39A;
  border-radius: 50%;
  position: absolute;
  left: 0; top: 8px;
}

/* === TEXT/IMAGE SECTION (.text-image-section) === */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start !important; gap: 18px; }
}

/* === FOOTER === */
footer {
  background: #101924;
  color: #aaa;
  padding: 30px 0;
  border-top: 2px solid #18c2ef0F;
  font-size: 1em;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a {
  color: #CFEEF6;
  font-weight: 500;
  font-size: 1em;
  padding: 4px 14px;
  border-radius: 7px;
  transition: color 0.16s, background 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #24A39A;
  color: #0D273F;
}
.footer-info {
  color: #76baff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.92em;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 1300;
  background: #162a3e;
  color: #F1F5F8;
  padding: 22px 16px 18px 16px;
  box-shadow: 0 -2px 12px #18c2ef44;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  animation: slideInBottom 0.6s cubic-bezier(.4,0,.2,1);
}
@keyframes slideInBottom {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  max-width: 640px;
  font-size: 1.07rem;
  color: #E4EAF3;
}
.cookie-banner .cookie-controls {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-btn {
  background: #24A39A;
  color: #101924;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 9px 18px;
  margin-left: 0;
  transition: background 0.19s, color 0.15s, transform 0.13s;
  border: none;
  cursor: pointer;
  box-shadow: 0 1.5px 8px #18c2ef1a;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #18c2ef;
  color: #fff;
  transform: scale(1.04);
}
.cookie-btn.secondary {
  background: #174C78;
  color: #F1F5F8;
}
.cookie-btn.secondary:hover {
  background: #11ffe6;
  color: #162a3e;
}

/* === COOKIE CONSENT MODAL === */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -54%);
  background: #101924;
  z-index: 1400;
  border-radius: 16px;
  box-shadow: 0 9px 38px #24A39A33, 0 2px 8px #18c2ef13;
  width: 96vw;
  max-width: 420px;
  padding: 38px 28px 28px 28px;
  opacity: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: modalIn 0.33s cubic-bezier(.4,0,.2,1);
}
@keyframes modalIn { from { opacity: 0; transform: translate(-50%,-70%); } to { opacity: 1; transform: translate(-50%, -54%); } }
.cookie-modal h2 {
  color: #18c2ef;
  margin-bottom: 15px;
  font-size: 1.45rem;
}
.cookie-modal label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #F1F5F8;
  padding-left: 9px;
}
.cookie-modal .cookie-category {
  margin: 12px 0 14px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal .category-essential {
  opacity: 1;
  font-weight: bold;
  color: #24A39A;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 22px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 1.6em;
  border: none;
  background: none;
  color: #18c2ef;
  cursor: pointer;
}

/* === UTILITIES === */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* === FORMS === */
input, textarea, select {
  font-family: inherit;
  border-radius: 7px;
  border: 1.5px solid #24A39A;
  background: #162a3e;
  color: #F1F5F8;
  padding: 10px 13px;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #18c2ef;
  border: 1.5px solid #18c2ef;
  background: #174C7833;
}

/* === HIGHLIGHTS & DIVIDERS === */
.highlight, mark {
  background: #18c2ef;
  color: #101924;
  border-radius: 7px;
  padding: 2px 8px;
  font-weight: bold;
  font-size: 0.96em;
  letter-spacing: 0.01em;
}
hr {
  border: none;
  border-top: 1.5px solid #24A39A44;
  margin: 28px 0;
}

/* === ANIMATIONS === */
.card, .feature, .team-grid > * {
  transition: box-shadow 0.19s, transform 0.16s;
}
.cta-btn, .main-nav .cta-btn, .mobile-menu-toggle, .cookie-btn {
  transition: background 0.22s, color 0.14s, transform 0.14s, box-shadow 0.16s;
}

/* === RESPONSIVE RULES === */
@media (max-width: 950px) {
  header .container {
    gap: 12px;
    padding-top: 4px;
    padding-bottom: 4px;
  }
}
@media (max-width: 700px) {
  .footer-nav { flex-direction: column; gap: 13px; }
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    font-size: 0.98rem;
    padding: 18px 7vw 14px 7vw;
  }
}

/* === BRAND NEON/TECH EFFECTS === */
header, footer, section {
  border-bottom: 1.5px solid #24A39A1A;
}
.cta-btn, .main-nav .cta-btn {
  box-shadow: 0 8px 16px #18c2ef55, 0 0 40px #24A39A33;
  text-shadow: 0 2px 22px #0dfdff44;
}
.testimonial-card, .feature, .cookie-banner, .cookie-modal, .card {
  box-shadow: 0 2.5px 18px #18c2ef22, 0 1.5px 12px #24A39A33;
}
.feature h3, .testimonial-meta span:first-child {
  text-shadow: 0 0 8px #18c2ef44;
}

/* === Z-INDEX MANAGEMENT === */
header { z-index: 100; }
.mobile-menu { z-index: 99; }
.cookie-banner { z-index: 1300; }
.cookie-modal { z-index: 1400; }

/* === OVERLAY BACKDROPS (for cookies/modal) === */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #08131e88;
  z-index: 1330;
  pointer-events: all;
}

/* === HIDE/SHOW UTILS === */
.hidden {
  display: none !important;
}

/* === PRINT/ACCESSIBILITY === */
@media print {
  .cookie-banner, .cookie-modal, .mobile-menu, header, footer { display: none !important; }
}
