/* ----------------------------------------------------
   1. CSS RESET & NORMALIZATION
---------------------------------------------------- */
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #171b22;
  color: #F3F7FA;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
table {
  border-collapse: collapse;
}
input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
button, input[type="button"], input[type="submit"] {
  cursor: pointer;
  background: transparent;
}

/* ----------------------------------------------------
   2. ROOT VARIABLES (w/fallbacks)
---------------------------------------------------- */
:root {
  --color-bg: #171b22;
  --color-bg-elevate: #232733;
  --color-primary: #1E325A;
  --color-secondary: #B0E17C;
  --color-accent: #F3F7FA;
  --color-metal: #a7adb5;
  --color-btn-hover: #162843;
  --color-outline: #384055;
  --color-card-shadow: rgba(30,50,100,0.13);

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ----------------------------------------------------
   3. TYPOGRAPHY
---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  font-weight: 800;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.13;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 14px;
  line-height: 1.15;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 600;
}
p, li, dl, dt, dd, blockquote {
  font-family: var(--font-body);
  color: #ececec;
  margin-bottom: 0.9em;
  font-size: 1rem;
  line-height: 1.65;
}
p.subheadline {
  font-size: 1.18rem;
  color: var(--color-secondary);
  font-weight: 600;
}
blockquote {
  background: var(--color-bg-elevate);
  border-left: 4px solid var(--color-secondary);
  margin: 0;
  padding: 20px 28px 20px 20px;
  font-style: italic;
  color: var(--color-accent);
  box-shadow: 0 2px 8px var(--color-card-shadow);
  border-radius: 7px;
}
strong, b {
  font-weight: bold;
}
a {
  color: var(--color-secondary);
  font-weight: 500;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #89b95a;
  text-decoration: underline;
}

/* Metal font effect (use for headings for industrial look) */
h1, h2 {
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-shadow: 1px 2px 8px #1e2940, 0 1px 0 #899bae55;
}
h3, h4, h5, h6 {
  letter-spacing: 0.01em;
  color: var(--color-secondary);
}

/* ----------------------------------------------------
   4. LAYOUT CONTAINERS
---------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-elevate);
  border-radius: 13px;
  box-shadow: 0 4px 20px var(--color-card-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  min-width: 270px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 10px 28px var(--color-card-shadow);
  transform: translateY(-5px) scale(1.012);
  border-color: var(--color-secondary);
}

.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 {
  background: #f3f7fa57;
  color: #222e34;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(30,50,90,0.17);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 270px;
  position: relative;
  border-left: 6px solid var(--color-primary);
  transition: box-shadow 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(30,50,90,0.21);
  border-left: 6px solid var(--color-secondary);
}
.testimonial-card .author {
  font-style: italic;
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-display);
  margin-top: 8px;
}
.testimonial-card .star-rating {
  color: #F6C800;
  font-size: 1.2rem;
  letter-spacing: .05em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -----------
   Mandatory Responsive Flex Patterns
----------- */
@media (max-width: 992px) {
  .content-grid, .card-container { gap: 16px; }
}
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .content-grid, .card-container { flex-direction: column; gap: 20px; }
  .text-image-section { flex-direction: column; gap: 22px; }
}

/* ----------------------------------------------------
   5. HEADER / NAVIGATION
---------------------------------------------------- */
header {
  background: var(--color-bg);
  box-shadow: 0 3px 18px rgba(14,18,26,0.08);
  z-index: 20;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 10px;
  position: relative;
}
.logo img {
  height: 44px;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.16s;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-secondary);
  opacity: 0;
  transition: opacity 0.23s, transform 0.23s;
  transform: scaleX(0.1);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
}
.main-nav a:hover::after, .main-nav a:focus::after {
  opacity: 1;
  transform: scaleX(1);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 7px;
  padding: 12px 36px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px var(--color-card-shadow);
  border: 2px solid var(--color-primary);
  transition: background 0.19s, box-shadow 0.19s, border-color 0.2s, transform 0.2s;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  margin-left: 16px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-secondary);
  color: #182436;
  border-color: var(--color-secondary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 5px 20px #191d27;
}
.btn-secondary {
  background: var(--color-bg-elevate);
  color: var(--color-secondary);
  border-radius: 7px;
  padding: 10px 26px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 2px solid var(--color-secondary);
  transition: background 0.18s, color 0.18s, border-color 0.19s;
  text-transform: uppercase;
  box-shadow: 0 2px 6px var(--color-card-shadow);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-secondary);
  color: #232733;
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px #20273a55;
}

/* -----------
   MOBILE NAVIGATION (hamburger)
----------- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: var(--color-accent);
  font-size: 2rem;
  border-radius: 7px;
  padding: 6px 14px;
  margin-left: 15px;
  border: 2px solid var(--color-outline);
  z-index: 500;
  transition: background 0.19s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: #232733;
  border-color: var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,50,90,0.97);
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.56,0,0.19,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  color: var(--color-secondary);
  align-self: flex-end;
  margin: 18px 26px 10px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  z-index: 10;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin: 30px 0 0 28px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.45rem;
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 5px 0;
  border-radius: 3px;
  transition: background 0.17s, color 0.17s;
  min-width: 180px;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #192535;
}

@media (max-width: 950px) {
  .main-nav { display: none; }
  .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 951px) {
  .mobile-menu { display: none !important; }
}

/* ----------------------------------------------------
   6. HERO AND PROMO SECTIONS
---------------------------------------------------- */
.hero,
section.hero {
  background: linear-gradient(110deg, #1e2940 72%, #232733 100%);
  padding: 68px 0 64px 0;
  margin-bottom: 60px;
  box-shadow: 0 2px 16px #15192a33;
}
.hero .content-wrapper,
section.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1, section.hero h1 {
  color: var(--color-accent);
}
.hero .btn-primary {
  margin-left: 0;
  margin-top: 18px;
}
@media (max-width: 768px) {
  .hero, section.hero { padding: 50px 0 48px 0; }
}

/* ----------------------------------------------------
   7. FEATURE GRIDS AND ICONIC LISTS
---------------------------------------------------- */
.features, .unique-features, .plan-highlights {
  background: var(--color-bg-elevate);
  border-radius: 11px;
  box-shadow: 0 2px 14px var(--color-card-shadow);
}
.features .feature-grid,
.unique-features .features-list,
.plan-highlights ul  {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 8px 0 0 0;
  align-items: flex-start;
  justify-content: flex-start;
}
.features .feature-grid li,
.unique-features .features-list li,
.plan-highlights ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.08rem;
  color: var(--color-metal);
  background: #191f2793;
  padding: 18px 23px;
  border-radius: 9px;
  font-weight: 500;
  min-width: 210px;
  transition: background 0.18s, color 0.16s;
}
.features .feature-grid li:hover,
.unique-features .features-list li:hover {
  background: var(--color-secondary);
  color: #122124;
}
.features .feature-grid img, .feature-grid svg {
  width: 24px; height: 24px;
  filter: grayscale(.25) brightness(.85) contrast(1.05);
}

@media (max-width: 600px) {
  .feature-grid, .features-list, .plan-highlights ul { flex-direction: column; gap: 14px; }
}

/* ----------------------------------------------------
   8. SERVICE LISTS & GRIDS
---------------------------------------------------- */
.services .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin: 16px 0 24px 0;
}
.services .service-list li {
  background: var(--color-bg-elevate);
  border-radius: 10px;
  padding: 26px 24px 22px 24px;
  box-shadow: 0 2px 12px var(--color-card-shadow);
  min-width: 235px;
  flex: 1 1 245px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, border-color 0.17s;
  border-left: 4px solid transparent;
}
.services .service-list li:hover {
  box-shadow: 0 7px 22px #131d2e22;
  border-left: 4px solid var(--color-secondary);
}
.service-price {
  font-weight: bold;
  color: var(--color-secondary);
  font-size: 1.13rem;
  margin-top: 9px;
  font-family: var(--font-display);
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.services-grid .service-detail {
  background: var(--color-bg-elevate);
  border-radius: 10px;
  box-shadow: 0 2px 12px var(--color-card-shadow);
  min-width: 235px;
  flex: 1 1 260px;
  padding: 25px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
  border-left: 4px solid var(--color-primary);
  transition: border-color 0.19s, box-shadow 0.18s;
}
.services-grid .service-detail:hover {
  border-left: 4px solid var(--color-secondary);
  box-shadow: 0 9px 24px #27375122;
}
.services-grid .service-detail ul {
  margin: 0 0 10px 13px;
}

/* ----------------------------------------------------
   9. COURSE GRID & LISTS
---------------------------------------------------- */
.courses .course-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 10px;
}
.courses .course-item {
  background: var(--color-bg-elevate);
  border-radius: 9px;
  box-shadow: 0 2px 14px var(--color-card-shadow);
  min-width: 220px;
  flex: 1 1 250px;
  padding: 29px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--color-secondary);
  transition: box-shadow 0.16s, border-color 0.21s;
}
.courses .course-item:hover {
  box-shadow: 0 6px 19px #1a3143ec;
  border-bottom: 4px solid var(--color-primary);
}
.courses .course-item h3 {
  color: var(--color-accent);
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.courses .course-item ul {
  margin-left: 11px;
  margin-bottom: 10px;
}
.courses .course-item .btn-secondary {
  margin-top: 16px;
}

/* ----------------------------------------------------
   10. TABLE (Pricing)
---------------------------------------------------- */
.pricing-table {
  width: 100%;
  background: var(--color-bg-elevate);
  border-radius: 11px;
  box-shadow: 0 2px 15px var(--color-card-shadow);
  margin-bottom: 26px;
  font-size: 1.01rem;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 18px 10px;
  text-align: left;
}
.pricing-table th {
  background: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-display);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 1.01rem;
  font-weight: bold;
}
.pricing-table tr {
  border-bottom: 1px solid var(--color-bg);
}
.pricing-table td {
  background: var(--color-bg-elevate);
  color: var(--color-accent);
}
.pricing-table tr:nth-child(even) td {
  background: #293147;
}
@media (max-width: 650px) {
  .pricing-table, .pricing-table thead, .pricing-table tbody, .pricing-table th, .pricing-table td, .pricing-table tr {
    display: block;
    width: 100%;
  }
  .pricing-table th {
    padding: 12px 7px;
  }
  .pricing-table td {
    padding: 12px 7px;
  }
  .pricing-table tr { margin-bottom: 8px; }
}

/* ----------------------------------------------------
   11. TESTIMONIALS + QUOTES
---------------------------------------------------- */
.testimonials {
  background: none;
  margin-bottom: 60px;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.before-after {
  background: var(--color-bg-elevate);
  border-radius: 10px;
  padding: 24px 22px 16px 22px;
  box-shadow: 0 2px 12px rgba(30,50,90,0.21);
  color: var(--color-accent);
  margin-top: 18px;
  margin-bottom: 20px;
}
.before-after .author {
  display: block;
  font-weight: bold;
  font-style: italic;
  color: var(--color-secondary);
  margin-top: 5px;
}

/* ----------------------------------------------------
   12. ABOUT/TRAINER/TEAM
---------------------------------------------------- */
.trainer-bio, .brand-mission, .certifications, .trainer-profiles {
  background: var(--color-bg-elevate);
  border-radius: 9px;
  box-shadow: 0 2px 12px var(--color-card-shadow);
  padding: 22px 19px;
  margin-bottom: 20px;
  color: var(--color-accent);
}
.certifications ul, .trainer-profiles ul {
  margin-left: 16px;
  margin-bottom: 12px;
}

/* ----------------------------------------------------
   13. FAQS & POLICIES
---------------------------------------------------- */
.faq dl dt {
  font-weight: 700;
  color: var(--color-secondary);
  font-family: var(--font-display);
  margin-top: 13px;
}
.faq dl dd {
  margin-left: 16px;
  color: var(--color-metal);
  margin-bottom: 12px;
}
.policy, .gdpr, .cookies-policy, .terms-of-use {
  background: var(--color-bg-elevate);
  border-radius: 9px;
  padding: 30px 24px;
  box-shadow: 0 1px 12px rgba(30,50,100,0.09);
  color: var(--color-accent);
}
.policy ul, .gdpr ul, .cookies-policy ul, .terms-of-use ul {
  margin-left: 14px;
  margin-bottom: 16px;
}

/* ----------------------------------------------------
   14. CONTACT + CTA
---------------------------------------------------- */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.text-section {
  flex: 1 1 390px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0 10px 0;
}
.cta {
  background: var(--color-bg-elevate);
  border-radius: 11px;
  box-shadow: 0 2px 13px var(--color-card-shadow);
}

/* ----------------------------------------------------
   15. FOOTER
---------------------------------------------------- */
footer {
  background: #202430;
  padding: 38px 0 22px 0;
  color: var(--color-accent);
  box-shadow: 0 -2px 18px #161a1f22;
  position: relative;
  margin-top: 50px;
}
footer .container {
  flex-direction: column;
  gap: 26px;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
.footer-brand img {
  height: 36px;
}
.footer-brand .tagline {
  font-size: 1rem;
  color: var(--color-secondary);
  font-family: var(--font-display);
  letter-spacing: 0.015em;
  font-weight: 600;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.footer-nav a {
  color: var(--color-metal);
  font-weight: 500;
  font-size: 0.97rem;
  transition: color 0.14s;
  text-decoration: underline;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
footer small {
  color: #bfc7db;
  opacity: 0.75;
  font-size: .97rem;
  margin-top: 8px;
  text-align: center;
}

@media (max-width: 600px) {
  footer .footer-nav { flex-direction: column; gap: 9px; }
  footer .container { padding-bottom: 50px; }
}

/* ----------------------------------------------------
   16. THANK YOU & NEXT STEPS
---------------------------------------------------- */
.thank-you .next-steps {
  margin-top: 20px;
  background: var(--color-bg-elevate);
  border-radius: 8px;
  padding: 18px 18px 12px 18px;
  color: var(--color-accent);
  box-shadow: 0 1px 8px var(--color-card-shadow);
}
.thank-you .next-steps ul {
  margin-left: 11px;
  margin-top: 7px;
}

/* ----------------------------------------------------
   17. COOKIE CONSENT BANNER & MODAL
---------------------------------------------------- */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: linear-gradient(110deg, #12141a 87%, #232733 100%);
  color: var(--color-accent);
  box-shadow: 0 -4px 34px #23273388;
  z-index: 970;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 32px;
  font-size: 1rem;
  transition: transform 0.3s;
}
#cookie-banner.hide {
  transform: translateY(120%);
}
#cookie-banner p {
  flex: 1 1 auto;
  color: var(--color-accent);
}
#cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
#cookie-banner button {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 9px 26px;
  border-radius: 5px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: bold;
  border: 2px solid var(--color-primary);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  margin-left: 0;
}
#cookie-banner button:hover, #cookie-banner button:focus {
  background: var(--color-secondary);
  color: #222e34;
  border-color: var(--color-secondary);
}
#cookie-settings {
  background: #212733;
  color: var(--color-accent);
  border: none;
  box-shadow: 0 2px 7px #19243a33;
}

/* Cookie Modal Popup */
#cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(14,18,26,0.88);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
#cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
#cookie-modal {
  background: var(--color-bg-elevate);
  border-radius: 13px;
  box-shadow: 0 3px 32px #232733bb;
  padding: 36px 32px 28px 32px;
  width: 94vw;
  max-width: 400px;
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.36s, transform 0.36s;
  z-index: 1000;
}
#cookie-modal-overlay.open #cookie-modal {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#cookie-modal h2 {
  color: var(--color-secondary);
  font-size: 1.45rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category label {
  flex: 1 1 auto;
  color: var(--color-accent);
  font-size: 1.03rem;
  font-family: var(--font-display);
}
.cookie-toggle {
  width: 46px;
  height: 22px;
  background: #1e2a3f;
  border-radius: 12px;
  position: relative;
  transition: background 0.18s;
  margin-left: 8px;
}
.cookie-toggle input[type="checkbox"] {
  appearance: none;
  width: 46px;
  height: 22px;
  position: absolute;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}
.cookie-toggle span {
  display: block;
  height: 18px;
  width: 18px;
  background: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 1px 4px var(--color-card-shadow);
  transition: left 0.22s, background 0.18s;
}
.cookie-toggle input[type="checkbox"]:checked + span {
  left: 26px;
  background: var(--color-secondary);
}
.cookie-category.essential label {
  color: var(--color-secondary);
  font-style: italic;
}
#cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
}
#cookie-modal button {
  padding: 9px 22px;
  border-radius: 5px;
  background: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  border: 2px solid var(--color-primary);
  font-size: 0.94rem;
  margin-left: 0;
  transition: background 0.14s, color 0.14s, border 0.14s;
}
#cookie-modal button:hover, #cookie-modal button:focus {
  background: var(--color-secondary);
  color: #182436;
  border-color: var(--color-secondary);
}

@media (max-width: 650px) {
  #cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 19px;
    padding: 18px 10px;
    font-size: 0.98rem;
  }
  #cookie-banner .cookie-actions {
    justify-content: flex-end;
    width: 100%;
  }
  #cookie-modal {
    padding: 23px 7px 11px 7px;
    max-width: 98vw;
  }
}

/* ----------------------------------------------------
   18. GENERAL UTILITIES/ANIMATION
---------------------------------------------------- */
.shadow-deep {
  box-shadow: 0 4px 22px var(--color-card-shadow)!important;
}
.rounded {
  border-radius: 999px!important;
}
.flex-row {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.flex-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-center {
  text-align: center;
}
.text-upper {
  text-transform: uppercase;
}
.hide-on-mobile {
  display: block;
}
@media (max-width: 600px) {
  .hide-on-mobile { display: none !important; }
}

/* SCROLLBAR styling for desktop industrial-modern look */
::-webkit-scrollbar {
  width: 9px;
  background: #232733;
}
::-webkit-scrollbar-thumb {
  background: #46516d;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 8px #123;
}
::-webkit-scrollbar-thumb:hover {
  background: #1e2940;
}

/* ----------------------------------------------------
   19. RESPONSIVE
---------------------------------------------------- */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
  .card, .testimonial-card, .course-item { min-width: 94vw; }
  .content-wrapper, .card-container, .testimonial-grid, .course-grid { gap: 14px; }
}
@media (max-width:520px) {
  .card, .testimonial-card, .course-item { padding: 19px 7px 16px 11px; }
}

/* -----------------------------------------------
   20. FONTS (IMPORT - add to <head> in HTML)
----------------------------------------------- */
/* Be sure to link:
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap" rel="stylesheet"> */

/* ----------------------------------------------------
   21. MICRO-INTERACTIONS, LINKS, BUTTONS
---------------------------------------------------- */
.btn-primary, .btn-secondary, button, input[type="submit"] {
  transition: background 0.18s, color 0.18s, border-color 0.2s, box-shadow 0.18s, transform 0.2s;
  outline: none;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.96);
}

/* Link underline micro-interaction */
a:not(.btn-primary):not(.btn-secondary) {
  position: relative;
}
a:not(.btn-primary):not(.btn-secondary):after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.19s;
  position: absolute;
  left: 0; bottom: -2px;
}
a:not(.btn-primary):not(.btn-secondary):hover:after, a:not(.btn-primary):not(.btn-secondary):focus:after {
  width: 100%;
}

/* ----------------------------------------------------
   END
---------------------------------------------------- */
