/* -----------------------------------------------------
  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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  background: #F9F9FB;
  color: #232323;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
ul, ol { padding-left: 1.5em; }
a { color: #184778; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
img { max-width: 100%; display: block; border: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  border-radius: 4px;
  border: none;
  background: none;
  outline: none;
}
button:disabled, input:disabled { opacity: 0.4; cursor: not-allowed; }
.clearfix::after { content: ""; display: table; clear: both; }

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

/* -----------------------------------------------------
  COLOR VARIABLES
----------------------------------------------------- */
:root {
  --primary: #184778;
  --secondary: #F9C846;
  --neutral: #232323;
  --offwhite: #F9F9FB;
  --card-bg: #fff;
  --card-shadow: rgba(24,71,120,0.10);
  --gold: #F9C846;
  --mid-blue: #29558b;
}

/* -----------------------------------------------------
  TYPOGRAPHY
----------------------------------------------------- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--primary);
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--primary);
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}
p, ul, ol {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--neutral);
  font-size: 1rem;
  margin-bottom: 12px;
}
.subheadline {
  color: var(--mid-blue);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
strong { font-weight: 600; }

/* Responsive Type */
@media (max-width: 600px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.4rem; }
  .subheadline { font-size: 1.04rem; }
}

/* -----------------------------------------------------
  CONTAINERS & LAYOUTS (FLEXBOX ONLY!)
----------------------------------------------------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
@media (max-width: 800px) {
  .container { padding-left: 10px; padding-right: 10px; }
  .content-wrapper { gap: 14px; }
}

.section, .hero, .features, .services, .testimonials, .cta, .about, .team, .resource-list, .course-categories, .event-list, .blog-list, .legal, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section, .hero, .features, .services, .testimonials, .cta, .about, .team, .resource-list, .course-categories, .event-list, .blog-list, .legal, .thank-you {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

/* ----- FLEX GRIDS/CONTAINERS ----- */
.card-container, .feature-grid, .service-list, .course-grid, .resource-grid, .testimonial-grid, .blog-grid, .team-list, .event-schedule, .feature-list {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card-container { margin-bottom: 20px; }
.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) {
  .content-grid, .feature-grid, .resource-grid, .blog-grid, .service-list, .team-list, .event-schedule, .course-grid,
  .card-container { flex-direction: column; gap: 20px; }
  .text-image-section { flex-direction: column; gap: 20px; align-items: flex-start; }
}

/* Features, Testimonials, etc. */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 1px 8px var(--card-shadow);
  padding: 22px 28px;
  min-width: 200px;
}
@media (max-width: 600px) {
  .feature-item { padding: 15px 14px; min-width: 0; }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 18px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 rgba(24,71,120,0.11);
  margin-bottom: 20px;
  transition: box-shadow .2s;
  border-left: 5px solid var(--gold);
  max-width: 420px;
}
.testimonial-card:hover {
  box-shadow: 0 10px 32px 0 rgba(24,71,120,0.18);
  transform: translateY(-2px);
  border-left: 6px solid #ffd966;
}
.testimonial-meta {
  display: flex;
  gap: 16px;
  font-size: 1rem;
  color: #184778;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-name {
  font-weight: 700;
}
.testimonial-location {
  opacity: 0.72;
  font-weight: 500;
}
blockquote {
  color: #232323;
  font-size: 1.08rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 8px;
}

/* Cards (general) */
.card,
.feature-card,
.service-card,
.course-card,
.resource-card,
.team-member,
.blog-card,
.event-item {
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 1px 10px var(--card-shadow);
  padding: 24px 28px 20px 28px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, border 0.2s, transform 0.19s;
}
.card:hover,
.feature-card:hover,
.service-card:hover,
.course-card:hover,
.resource-card:hover,
.team-member:hover,
.blog-card:hover,
.event-item:hover {
  box-shadow: 0 10px 32px 0 rgba(24,71,120,0.12);
  transform: translateY(-2px);
  border-color: var(--gold);
}

/* Gold Accent Line */
.card::before, .feature-card::before, .course-card::before, .service-card::before, .resource-card::before, .event-item::before {
  content: '';
  display: block;
  height: 3px;
  width: 34px;
  position: absolute;
  left: 24px;
  top: 18px;
  background: var(--gold);
  border-radius: 2px;
}
@media (max-width: 700px) {
  .card, .feature-card, .service-card, .course-card, .resource-card, .team-member, .event-item, .blog-card {
    padding: 15px 10px 14px 14px;
  }
  .card::before, .feature-card::before, .service-card::before, .course-card::before, .resource-card::before, .event-item::before {
    left: 10px; top: 12px;
    width: 18px;
  }
}

/* Hide gold accent if small or for testimonial-card */
.testimonial-card::before, .blog-card::before { display: none; }

/* ---------------------------------
   NAVIGATION, HEADER, BURGER MENU
--------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(24,71,120,0.02);
  padding: 0;
  z-index: 50;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 0 14px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  position: relative;
}
.main-nav a {
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 8px;
  transition: background .15s, color .15s;
  position: relative;
}
.main-nav a.active,
.main-nav a:focus,
.main-nav a:hover {
  color: var(--gold);
  background: rgba(24,71,120,0.07);
  text-decoration: none;
}
.main-nav img { height: 34px; width: auto; display: block; margin-right: 6px; }
.primary-cta {
  background: linear-gradient(92deg, var(--gold), #ffd966 98%);
  color: #232323 !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 20px;
  padding: 8px 27px;
  letter-spacing: 0.03em;
  margin-left: 16px;
  border: 1.5px solid var(--gold);
  box-shadow: 0 2px 11px 0 rgba(249,200,70, .08);
  transition: background .2s, color .17s, border .16s, box-shadow .18s;
}
.primary-cta:hover, .primary-cta:focus {
  background: #232323;
  color: var(--gold) !important;
  border-color: var(--primary);
  box-shadow: 0 3px 22px #ffe58f44, 0 1.5px 7px #18477811;
  text-decoration: none;
}
.secondary-cta {
  background: transparent;
  color: var(--primary);
  border: 1.2px solid var(--primary);
  border-radius: 20px;
  padding: 8px 21px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-left: 12px;
  transition: background .15s, color .13s, border .15s;
}
.secondary-cta:hover, .secondary-cta:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--gold);
}
@media (max-width: 1020px) {
  .main-nav { gap: 17px; font-size: 0.98rem; }
  .main-nav img { height: 28px; }
  .primary-cta, .secondary-cta { font-size: 0.97rem; padding: 7px 17px; }
}
/* ---------------------------------
    MOBILE MENU
--------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 17px;
  z-index: 105;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  background: #faa;
  background: linear-gradient(45deg, #fff 70%, #ffe58f 100%);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: box-shadow .16s;
  box-shadow: 0 2.5px 11px 0 rgba(24,71,120,0.09);
}
.mobile-menu-toggle:hover {
  background: #f6e088;
}
@media (max-width: 1000px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
.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: linear-gradient(108deg, #fff 70%, #ffe58f 120%);
  box-shadow: 0 8px 28px rgba(24,71,120,0.11);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.41s cubic-bezier(0.7,0,0.3,1);
  opacity: 0.98;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  transition-delay: 0s;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: var(--primary);
  font-size: 2rem;
  border: none;
  padding: 9px 15px;
  align-self: flex-end;
  margin: 10px 18px 0 0;
  cursor: pointer;
  border-radius: 50%;
  transition: background .16s;
  z-index: 206;
}
.mobile-menu-close:hover { background: #faeaa3; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  margin: 32px 0 0 0;
  padding-left: 34px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 9px 0;
  border-radius: 6px;
  transition: background 0.17s, color 0.14s;
  width: max-content;
  min-width: 140px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--gold);
  color: #232323;
}
@media (min-width: 1001px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* -----------------------------------------------------
  HERO BANNER / CTA AREA / ACCENT PANELS
----------------------------------------------------- */
.hero {
  background: linear-gradient(110deg, var(--primary) 0%, #203e64 90%);
  color: #fff;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 12px 34px 0 rgba(24,71,120,0.09);
}
.hero h1, .hero h2, .hero .subheadline {
  color: #fff;
}
.hero .primary-cta {
  background: linear-gradient(92deg, var(--gold), #ffd966 80%);
  color: #232323 !important;
  margin-top: 13px;
}
.hero .primary-cta:hover, .hero .primary-cta:focus {
  background: #fff2bc;
  color: var(--primary) !important;
}
@media (max-width: 768px) {
  .hero { border-radius: 0 0 16px 16px; }
}
.cta {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 9px 0 rgba(24,71,120,0.06);
  text-align: left;
}
@media (max-width: 768px) {
  .cta { border-radius: 9px; }
}
/* Accreditations */
.accreditations {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  font-size: 1em;
}
.accreditations img { height: 18px; margin-right: 5px; }

/* -----------------------------------------------------
  FEATURES, SERVICES, CATEGORIES, ETC.
----------------------------------------------------- */
.feature-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 190px;
}
.feature-card img { height: 40px; width: 40px; margin-bottom: 7px; }
@media (max-width: 600px) {
  .feature-card img { height: 28px; width: 28px; }
  .feature-card { min-width: 0; }
}
.service-card {
  padding: 24px 28px 19px 28px;
  min-width: 220px;
}
.service-card h3 { margin-bottom: 5px; }
.service-card a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-decoration: underline;
  margin-top: 6px;
}
.service-card a:hover { color: var(--gold); text-decoration: underline; }
.category-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 23px;
  flex-wrap: wrap;
}
.category-filters button {
  background: var(--mid-blue);
  color: #fff;
  border-radius: 18px;
  padding: 7px 24px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 600;
  cursor: not-allowed; opacity: 0.55;
}
@media (max-width: 700px) {
  .category-filters { flex-wrap: wrap; gap: 8px; }
  .feature-grid, .service-list, .course-grid, .resource-grid { gap: 15px; }
}

/* --------------------------------------------
   COURSE GRID & CARDS
-------------------------------------------- */
.course-grid { gap: 24px; }
.course-card {
  position: relative;
  min-width: 230px;
}
.course-card h3 { margin-bottom: 10px; }
.course-card .enroll-cta {
  display: inline-block;
  margin-top: 10px;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  padding: 6px 24px;
  font-size: 1.04rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background .17s, color .11s;
}
.course-card .enroll-cta:hover, .course-card .enroll-cta:focus {
  background: var(--gold);
  color: #232323;
  text-decoration: none;
}

/* Resource Cards */
.resource-card h3 { margin-bottom: 7px; }
.resource-card button {
  margin-top: 14px;
  background: #184778;
  color: #fff;
  border-radius: 13px;
  padding: 6px 19px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none; cursor: not-allowed; opacity: 0.55;
}

/* Blog Cards */
.blog-card { min-width: 200px; }
.blog-card h3 { color: var(--primary); margin-bottom: 8px; }

/* Event Items */
.event-item h3 { margin-bottom: 5px; }
.event-item .event-signup-link {
  display: inline-block;
  margin-top: 12px;
  background: var(--primary);
  color: #fff;
  border-radius: 13px;
  padding: 6px 19px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  transition: background .18s, color .12s;
}
.event-item .event-signup-link:hover, .event-item .event-signup-link:focus { background: var(--gold); color: #232323; }

/* Team Members */
.team-member h3 { margin-bottom: 7px; }

/* -----------------------------------------------------
  SEARCH BAR & FORMS
----------------------------------------------------- */
.search-bar {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 1px 9px #1847780d;
  overflow: hidden;
  margin-top: 12px;
}
.search-bar input[type="text"] {
  border: none;
  background: transparent;
  font-size: 1.05rem;
  padding: 13px 19px 13px 23px;
  outline: none;
  flex-grow: 1;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.search-bar button {
  background: var(--gold);
  color: #232323;
  border-radius: 0 30px 30px 0;
  min-width: 80px;
  padding: 0 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  font-size: 1em;
  cursor: not-allowed;
}

.subscribe-form {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 1px 8px #18477812;
  overflow: hidden;
  margin-top: 14px;
}
.subscribe-form input[type="email"] {
  border: none;
  background: transparent;
  font-size: 1.05rem;
  padding: 12px 16px 12px 22px;
  outline: none;
  flex-grow: 1;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.subscribe-form button {
  background: var(--secondary);
  color: #232323;
  padding: 0 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 0 30px 30px 0;
  font-size: 1em;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .search-bar, .subscribe-form {
    max-width: 98vw;
    border-radius: 18px; min-width: 0;
  }
  .search-bar input, .subscribe-form input { padding: 9px 8px 9px 9px; font-size: 0.98rem; }
  .search-bar button, .subscribe-form button { min-width: 0; padding: 0 7px; font-size: 0.98rem; }
}

/* Contact List */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1rem;
  margin-bottom: 0;
}
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list img { height: 18px; }

/* -----------------------------------------------------
  FOOTER
----------------------------------------------------- */
footer {
  background: #184778;
  color: #fff;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  padding: 38px 0 10px 0;
  margin-top: 70px;
  border-radius: 28px 28px 0 0;
}
.footer-nav {
  display: flex;
  gap: 28px;
  margin-bottom: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--gold);
  opacity: 0.95;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.footer-nav a:hover, .footer-nav a:focus { color: #fffbe2; text-decoration: underline; }
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 1rem;
  opacity: 0.98;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.contact-details img { height: 19px; }
.copyright {
  text-align: center;
  color: #fff;
  opacity: 0.76;
  font-size: 0.93rem;
  margin-top: 13px;
}
@media (max-width: 700px) {
  footer { border-radius: 12px 12px 0 0; margin-top: 42px; padding: 30px 0 5px 0; }
  .footer-nav { gap: 14px; font-size: 0.97rem; }
  .contact-details { gap: 12px; font-size: 0.95rem; }
}

/* -----------------------------------------------------
  COOKIE CONSENT BANNER & MODAL
----------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  padding: 28px 16px 20px 16px;
  background: #fffbe2;
  color: #232323;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  box-shadow: 0 -2px 12px #1847781b;
  z-index: 501;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.19s, transform 0.22s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: opacity 0.1s, transform 0.19s;
}
.cookie-banner .cookie-message {
  flex-grow: 3;
  max-width: 600px;
  margin-bottom: 8px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 14px;
  padding: 8px 24px;
  font-size: 1rem;
  border: none;
  margin: 2px 0;
  background: var(--primary);
  color: #fff;
  transition: background 0.17s, color 0.14s, transform .11s;
  cursor: pointer;
  box-shadow: 0 1px 6px #18477811;
}
.cookie-banner button.accept {
  background: var(--gold);
  color: #232323;
}
.cookie-banner button.settings {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-banner button.reject {
  background: #df3232;
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 27px #1847781a;
}
@media (max-width: 700px) {
  .cookie-banner { padding: 15px 6px 14px 6px; font-size: 0.98rem; gap: 7px; }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: rgba(24,71,120,0.23);
  pointer-events: all;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.24s;
}
.cookie-modal.hide {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 7px 44px #18477823;
  padding: 38px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 370px;
  min-width: 260px;
  position: relative;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 18px;
  top: 10px;
  font-size: 1.7rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal h3 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; color: var(--primary); margin-bottom: 7px; font-size: 1.22rem; }
.cookie-modal label {
  font-size: 1rem;
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 14px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--primary);
  height: 19px;
  width: 19px;
}
.cookie-modal .cookie-category-desc {
  font-size: 0.97rem;
  color: #444;
  margin-bottom: 8px;
}
.cookie-modal .actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 13px;
  padding: 8px 22px;
  font-size: 1rem;
  border: none;
  background: var(--primary);
  color: #fff;
  transition: background 0.17s, color 0.14s, transform .11s;
  cursor: pointer;
}
.cookie-modal button.accept {
  background: var(--gold);
  color: #232323;
  font-weight: 700;
}
.cookie-modal button.close {
  background: #fff;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.cookie-modal button:hover, .cookie-modal button:focus { transform: translateY(-2px); }
@media (max-width: 480px) {
  .cookie-modal .cookie-modal-content { padding: 22px 5vw; min-width: 0; }
}

/* -----------------------------------------------------
  LEGAL SECTIONS, THANK YOU, ETC. (GENERAL TEXT STYLING)
----------------------------------------------------- */
.legal section,
.legal ul,
.legal p {
  margin-bottom: 22px;
  font-size: 1.04rem;
}
.legal h1, .legal h2 {
  color: var(--primary);
}
.legal ul { padding-left: 24px; }
.thank-you .primary-cta { margin-top: 18px; }

/* -----------------------------------------------------
  ANIMATIONS/MICRO-INTERACTIONS
----------------------------------------------------- */
.card,
.feature-card,
.service-card,
.course-card,
.resource-card,
.team-member,
.blog-card,
.event-item,
.testimonial-card {
  transition: box-shadow 0.18s, border 0.2s, transform 0.15s;
}
.card:hover,
.feature-card:hover,
.service-card:hover,
.course-card:hover,
.resource-card:hover,
.team-member:hover,
.blog-card:hover,
.event-item:hover,
.testimonial-card:hover {
  box-shadow: 0 10px 34px 0 rgba(24,71,120,0.17);
  transform: translateY(-2px) scale(1.012);
}
.button, .primary-cta, .secondary-cta, .enroll-cta, .event-signup-link {
  transition: background .21s, color .13s, transform .14s, box-shadow .18s;
}

/* -----------------------------------------------------
  GENERAL SPACING, GAPS, ETC.
----------------------------------------------------- */
.card, .feature-card, .service-card, .resource-card, .course-card, .event-item, .testimonial-card, .team-member, .blog-card {
  margin-bottom: 20px;
}
.section, .hero, .features, .services, .testimonials, .cta, .about, .team, .resource-list, .course-categories, .event-list, .blog-list, .legal, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .feature-grid, .service-list, .course-grid, .resource-grid, .testimonial-grid, .blog-grid, .team-list, .event-schedule, .feature-list {
  gap: 24px !important;
}
.content-grid {
  gap: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
}
.feature-item {
  gap: 15px;
}

/* Utility Classes (if needed) */
.hide { display: none !important; }
.show { display: inline !important; }

/* Accessibility Improvements */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  background: #faecc9;
}

/* Prevent content overlapping */
.card, .feature-card, .service-card, .resource-card, .course-card, .testimonial-card, .blog-card, .event-item, .team-member {
  z-index: 1; /* Stacking context for position:relative */
}

/* ----------------------
  END OF CSS
---------------------- */
