/* ===============================
   CSS 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  min-height: 100vh;
  background: #101729;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #f4f6fb;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-color: #101729;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.18s;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* =======
   VARIABLES
   ======= */
:root {
  --brand-primary: #223a5e;
  --brand-secondary: #d7385e;
  --brand-accent: #f4f6fb;
  --brand-bg: #101729;
  --brand-bg-alt: #19274a;
  --neon-blue: #19f0ff;
  --neon-pink: #ff41c6;
  --neon-green: #5bffb5;
  --shadow-dark: 0 3px 24px 0 rgba(34,58,94, .18);
  --section-spacing: 60px;
  --container-padding: 20px;
  --radius: 18px;
  --transition-f: .25s cubic-bezier(.55,0,.1,1);
  --gradient-primary: linear-gradient(100deg, #223a5e 0%, #314e84 70%, #19f0ff 100%);
  --gradient-hero: linear-gradient(110deg, #212943 0%, #223a5e 45%, #1a264a 100%);
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 36px;
    --container-padding: 12px;
  }
}

/* ===
   TYPOGRAPHY
   === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--brand-accent);
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
h1 { font-size: 2.5rem; line-height: 1.12; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; font-weight: 600; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

p, li, ul, span { font-family: 'Roboto', Arial, Helvetica, sans-serif; font-weight: 400; }
p { margin-bottom: 12px; font-size: 1rem; color: #e8ecfa; }
strong { color: #fff; font-weight: 700; }
small { font-size: 0.85rem; color: #b5c5e1; }

/* ==========
   CONTAINERS & LAYOUT
   ========== */
.container {
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--brand-bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  padding: 24px 18px;
  transition: box-shadow var(--transition-f), transform var(--transition-f);
}
.card:hover {
  box-shadow: 0 5px 32px 0 #19f0ff70, var(--shadow-dark);
  transform: translateY(-6px) scale(1.025);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #f4f6fb;
  color: #263a5e;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 6px 24px 0 #223a5e18;
  margin-bottom: 20px;
  border-left: 5px solid var(--brand-secondary);
  transition: box-shadow var(--transition-f), border-color var(--transition-f);
}
.testimonial-card:hover {
  border-left: 5px solid #19f0ff;
  box-shadow: 0 8px 32px 0 #19f0ff50, 0 3px 24px 0 #223a5e18;
}
.testimonial-card strong { color: #223a5e; }
.testimonial-card .stars {
  font-size: 1.3rem;
  color: var(--brand-secondary);
}

/* Feature List (ex /, about.html, courses.html) */
.features-grid, .team-grid, .course-cards, .blog-list, .events-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature, .team-member, .course-card, .blog-post, .event-item {
  background: var(--brand-bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  padding: 24px;
  flex: 1 1 220px;
  min-width: 220px;
  transition: box-shadow var(--transition-f), transform var(--transition-f);
}
.feature:hover, .team-member:hover, .course-card:hover, .blog-post:hover, .event-item:hover {
  box-shadow: 0 6px 32px 0 #ff41c650, var(--shadow-dark);
  transform: translateY(-4px) scale(1.015);
}
.team-member span {
  color: #5bffb5;
  font-weight: 500;
  font-size: 1rem;
}

/* --- Misc List --- */
.courses-preview, .categories-list ul, .benefits ul, .results ul, .tips ul, .event-filters ul, .event-details ul, .faq-section ul, .newsletter ul {
  padding-left: 8px;
  margin-bottom: 12px;
}
.courses-preview li, .categories-list ul li, .benefits ul li, .results ul li, .tips ul li, .event-filters ul li, .event-details ul li, .faq-section ul li, .newsletter ul li {
  margin-bottom: 10px;
  border-left: 2px solid var(--brand-secondary);
  padding-left: 10px;
  color: #e8ecfa;
}

/* ==============
   HERO SECTIONS
   ============== */
.hero {
  width: 100%;
  background: var(--gradient-hero);
  padding: 72px 0 56px 0;
  box-shadow: 0 12px 60px 0 #223a5e18;
  margin-bottom: 40px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #19f0ff;
  text-shadow: 0 2px 12px #19f0ff60, 0 1px 4px #223a5e66;
  letter-spacing: 0.03em;
}
.hero p {
  max-width: 570px;
  color: #f4f6fb;
  font-size: 1.15rem;
}

/* CTA FINAL */
.cta-final {
  background: var(--brand-bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  margin-bottom: 0;
  padding: 40px 0;
}
.cta-final .cta-button {
  margin-top: 14px;
}

/* ==========
   BUTTONS & LINKS
   ========== */
.cta-button {
  background: linear-gradient(90deg, #19f0ff 0%, #d7385e 100%);
  color: #101729;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 38px;
  box-shadow: 0 4px 20px 0 #19f0ff33;
  border: none;
  transition: background var(--transition-f), color var(--transition-f), box-shadow var(--transition-f), letter-spacing .18s;
  outline: none;
  letter-spacing: 0.01em;
  margin-top: 8px;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(100deg, #ff41c6 0%, #19f0ff 100%);
  color: #0a1533;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 32px #ff41c620;
}
.cta-link {
  color: #19f0ff;
  font-weight: 600;
  text-decoration: underline;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 6px;
  transition: color var(--transition-f), text-shadow .19s;
  display: inline-block;
}
.cta-link:hover, .cta-link:focus {
  color: #ff41c6;
  text-shadow: 0 2px 14px #19f0ff90;
}

/* NAVIGATION */
header {
  background: rgba(16,23,41,0.9);
  border-bottom: 2px solid #233a5e55;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 20;
  box-shadow: 0 4px 22px #223a5e10;
}
header .container {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  height: 70px;
  gap: 18px;
  padding: 0 var(--container-padding);
}
.brand-logo {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.brand-logo img {
  height: 41px;
  margin-right: 8px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin-right: 28px;
}
.main-nav a {
  color: #e8ecfa;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 7px;
  padding: 7px 18px;
  transition: color var(--transition-f), background var(--transition-f), box-shadow var(--transition-f);
  position: relative;
  z-index: 1;
}
.main-nav a:hover, .main-nav a:focus {
  color: #101729;
  background: #19f0ff;
  box-shadow: 0 2px 8px #19f0ff30;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #19f0ff;
  background: transparent;
  border: none;
  outline: none;
  transition: color var(--transition-f);
  margin-left: 16px;
  z-index: 50;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  color: #ff41c6;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 12px;
    margin-right: 10px;
  }
}
@media (max-width: 820px) {
  header .container { height: 56px; }
  .brand-logo img { height: 34px; }
  .cta-button { font-size: 0.99rem; padding: 12px 26px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .cta-button { display: none; }
  .mobile-menu-toggle { display: block; }
  header .container { gap: 7px; }
}

/* ===========
   MOBILE MENU
   =========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,28,51,0.99);
  z-index: 1001;
  transform: translateX(-100vw);
  transition: transform 0.28s cubic-bezier(.62,0,.22,1);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: #19f0ff;
  margin: 24px 33px 12px 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-f);
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #ff41c6; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 18px;
  gap: 13px;
  padding: 10px 38px 10px 38px;
  flex: 1 1 auto;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #19f0ff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 13px 0;
  width: 100%;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  transition: background var(--transition-f), color var(--transition-f);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ff41c620;
  color: #ff41c6;
}

/* ======  FOOTER   ====== */
footer {
  background: #18253f;
  padding: 38px 0 0 0;
  margin-top: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #19f0ff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 600;
  transition: color var(--transition-f);
}
.footer-nav a:hover, .footer-nav a:focus { color: #ff41c6; }
.social-icons {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}
.social-icons img {
  width: 30px; height: 30px;
  filter: drop-shadow(0 2px 10px #19f0ff30);
  transition: filter var(--transition-f);
}
.social-icons img:hover { filter: drop-shadow(0 2px 16px #ff41c690); }
.newsletter {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  background: #223a5e11;
  border-radius: 13px;
  padding: 20px 21px 14px 21px;
}
.newsletter p { color: #b5c5e1; font-size: 1rem; margin-bottom: 0; }
.legal-text {
  text-align: center;
  margin: 19px 0 16px 0;
  color: #b5c5e1;
}
@media (max-width: 768px) {
  .footer-nav, .social-icons, .newsletter {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
  .newsletter { padding: 13px 10px; }
}
/* ===============
   LEGAL & POLICY SECTIONS
   =============== */
.legal-section {
  background: var(--brand-bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  margin: 38px 0;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.legal-section h1, .legal-section h2 {
  color: #19f0ff;
}

/* =============
   SCROLLBARS
   ============= */
html::-webkit-scrollbar { width: 8px; background: #19274a; }
html::-webkit-scrollbar-thumb {
  background: #19f0ff60;
  border-radius: 6px;
}

/* ================
   RESPONSIVE ADJUSTMENTS
   ================ */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
  }
  .features-grid, .team-grid, .course-cards, .blog-list, .events-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .features-grid, .team-grid, .course-cards, .blog-list, .events-list {
    flex-direction: column;
    gap: 18px;
  }
  .newsletter, .footer-nav, .social-icons { align-items: flex-start; gap: 8px; }
}

/* ===========
   PAGE-SPECIFIC CLASSES
   =========== */
.courses-preview, .categories-list ul, .benefits ul { margin: 0 0 8px 0; }
.courses-preview li h3, .categories-list h3, .benefits h2 {
  color: #ff41c6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
}
.faq {
  border-radius: 12px;
  background: #263a5e;
  color: #19f0ff;
  padding: 18px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px #19f0ff15;
  transition: box-shadow .18s;
}
.faq h3 { color: #fff; font-size: 1.01rem; margin-bottom: 8px; }
.faq:hover { box-shadow: 0 4px 16px #19f0ff30; }
.faq-section .faq-quicklinks a {
  color: #ff41c6;
  font-weight: 600;
  margin: 0 3px;
}
.faq-section .faq-quicklinks a:hover { color: #19f0ff; }

.event-highlight {
  background: #212943;
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  margin-bottom: 32px;
  padding: 30px 0;
}
.event-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map-location {
  background: #21335a;
  border-radius: 10px;
  box-shadow: 0 2px 12px #19f0ff12;
  padding: 14px 14px 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.map-location img {
  max-width: 54px;
  margin-right: 8px;
}
.contact-info ul li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.contact-info ul img {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 1px 4px #19f0ff60);
}
.contact-info p img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 6px;
}

/* Thank you section (thanks.php) */
.thank-you-section {
  background: #101729;
  padding: 56px 0;
  min-height: 350px;
}
.thank-you-section h1 { color: #19f0ff; }
.thank-you-section h2 { color: #ff41c6; }

/* ================
   ANIMATIONS & INTERACTIONS
   ================ */
.cta-button, .cta-link, .main-nav a, .mobile-nav a, .feature, .course-card, .event-item, .testimonial-card, .card {
  transition: color .22s, background .22s, box-shadow .24s, transform .23s;
}
.card:hover, .feature:hover, .blog-post:hover, .team-member:hover, .event-item:hover {
  box-shadow: 0 6px 30px #19f0ff33;
  transform: translateY(-6px) scale(1.022);
  z-index: 2;
}

/* Focus state for accessibility */
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid #19f0ff;
  outline-offset: 2px;
}

/* ================
   COOKIE CONSENT BANNER
   ================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: rgba(24, 28, 51, 0.97);
  color: #f4f6fb;
  box-shadow: 0 -4px 22px 0 #19f0ff30;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 19px 12px 18px 12px;
  font-size: 1rem;
  animation: cookieSlideIn .42s cubic-bezier(.62,0,.22,1) 1;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
@keyframes cookieSlideIn {
  0% { transform: translateY(110%); opacity: 0; }
  60% { transform: translateY(-12px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0 18px 0 6px;
  flex: 1 1 350px;
  color: #f4f6fb;
}
.cookie-banner .cookie-btn {
  margin: 0 8px;
  padding: 10px 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  outline: none;
  background: linear-gradient(90deg, #19f0ff 0%, #d7385e 99%);
  color: #101729;
  box-shadow: 0 2px 12px #223a5e22;
  transition: background var(--transition-f), color var(--transition-f), transform .15s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: linear-gradient(90deg, #ff41c6 0%, #19f0ff 99%);
  color: #fff;
  transform: scale(1.06);
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #19f0ff;
  border: 2px solid #19f0ff;
  margin-left: 8px;
  padding: 9px 20px;
}
.cookie-banner .cookie-settings:hover { border-color: #ff41c6; color: #ff41c6; }

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 16px 6px 14px 6px;
  }
  .cookie-banner p { margin-bottom: 7px; }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(16,23,41,0.81);
  z-index: 3003;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .24s cubic-bezier(.7,.2,.28,1) 1;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #1a264a;
  color: #f4f6fb;
  border-radius: 22px;
  box-shadow: 0 6px 32px 0 #19f0ff60;
  padding: 36px 27px 25px 27px;
  min-width: 320px;
  max-width: 94vw;
}
.cookie-modal h2 { color: #19f0ff; font-size: 1.3rem; margin-bottom: 18px; }
.cookie-category {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 19px;
}
.cookie-category label {
  font-size: 1rem;
  margin-right: 14px;
}
.cookie-category input[type='checkbox'], .cookie-category input[type='radio'] {
  accent-color: #19f0ff;
  width: 22px; height: 22px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  box-shadow: 0 2px 12px #223a5e22;
}
.cookie-modal .cookie-btn:last-child { margin-right: 0; }

@media (max-width: 500px) {
  .cookie-modal { padding: 16px 8px 13px 8px; }
}

/* =============
   NEON GLOW ACCENT CLASSES
   ============= */
.neon-glow {
  text-shadow: 0 0 14px #19f0ffcc, 0 1px 8px #ff41c6bb;
  color: #19f0ff;
  letter-spacing: 0.08em;
}

/* =============
   HELPER CLASSES
   ============= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-3 { margin-bottom: 24px !important; }
.gap-1 { gap: 10px !important; }
.gap-2 { gap: 20px !important; }
.gap-3 { gap: 32px !important; }

/* =============
   ERROR AND INFO ALERTS
   ============= */
.alert {
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 1rem;
  margin-bottom: 18px;
  background: #223a5e;
  color: #19f0ff;
  border-left: 7px solid #19f0ff;
}

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

/* =============
   MAKE SURE NO OVERLAPS
   ============= */
.features-grid > *, .team-grid > *, .course-cards > *, .blog-list > *, .events-list > *, .testimonial-card {
  margin-bottom: 0;
}
.card, .card-container > * {
  margin-bottom: 0 !important;
}

/* =============
   NEON BORDER DECORS
   ============= */
.card, .feature, .course-card, .team-member, .blog-post, .event-item {
  border: 1.5px solid #223a5e;
  box-shadow: 0 3px 24px 0 #19f0ff12;
}
.card:hover, .feature:hover, .course-card:hover, .team-member:hover, .blog-post:hover, .event-item:hover {
  border-color: #19f0ff;
}

/*
====================
END OF STYLE.CSS
====================
*/