/* =======================================
   CSS RESET & BASE 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F9F9F6;
  color: #23323D;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  min-height: 100vh;
  font-smooth: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #215B7A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #24A19C;
  text-decoration: underline;
}
ul, ol {
  padding-left: 28px;
  margin-bottom: 20px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
:focus {
  outline: 2px solid #215B7A;
  outline-offset: 1px;
}

/* =======================================
   GLOBAL TYPOGRAPHY
======================================= */
h1 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #215B7A;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 2rem;
  font-weight: 600;
  color: #215B7A;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h3 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #15706A;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 400;
}
p, li, blockquote {
  font-family: 'Open Sans', 'Georgia', serif;
  font-size: 1rem;
  color: #23323D;
  margin-bottom: 16px;
  line-height: 1.7;
}
blockquote {
  font-family: 'Georgia', serif;
  font-size: 1.15rem;
  color: #215B7A;
  font-style: italic;
  border-left: 4px solid #CFE7F3;
  padding-left: 20px;
  margin-bottom: 16px;
  background: #f5faff;
  border-radius: 8px 16px 16px 8px;
}
strong, b {
  font-weight: 700;
  color: #215B7A;
}

/* Accessible hidden for elements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =======================================
   CONTAINER & LAYOUT BASICS
======================================= */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  /* For nested section flow in .container */
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(33,91,122,0.06);
}

/* Cards + flex containers */
.card-container, .service-list, .course-catalog, .workshop-benefits ul, .content-grid, .features, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 10px 0 rgba(33,91,122,0.07);
  padding: 24px;
  transition: box-shadow 0.22s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 4px 22px 0 rgba(33,91,122,0.14);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item, .service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F9F9F6;
  padding: 28px 22px;
  border-radius: 16px;
  border: 1px solid #ececec;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px 0 rgba(33,91,122,0.04);
  transition: border 0.2s, box-shadow 0.2s;
}
.service-item:hover, .feature-item:hover {
  border: 1.5px solid #24A19C;
  box-shadow: 0 4px 18px 0 rgba(21,112,106,0.13);
}
 .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* Section spacing */
.hero,
.features,
.services,
.about-intro,
.about-mission,
.features-methodology,
.about-team,
.services-list,
.course-benefits,
.coaching-individual,
.coaching-benefits,
.teens-programme,
.teens-support,
.workshops,
.workshops-features,
.testimonials,
.contact-section,
.contact-details-section,
.contact-map,
.visit-details,
.thank-you,
.privacy-policy,
.gdpr-compliance,
.cookies-policy,
.terms-of-use {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: none;
}

/* =======================================
   HEADER & NAVIGATION
======================================= */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(33,91,122,0.04);
  padding: 0;
  position: sticky;
  top: 0; z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
header img {
  height: 38px;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: #215B7A;
  padding: 8px 4px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  background: #CFE7F3;
  color: #15706A;
}
.btn-primary {
  display: inline-block;
  background: #215B7A;
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 24px;
  border: none;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px 0 rgba(21,112,106,0.08);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  margin-left: 20px;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #15706A;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(21,112,106,0.14);
}

/* Burger menu for mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #215B7A;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
  transition: background 0.15s;
  border-radius: 8px;
  z-index: 120;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #CFE7F3;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(33,91,122,0.97);
  color: #fff;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.86,0,0.07,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  align-self: flex-end;
  padding: 14px 18px 0 0;
  margin-bottom: 22px;
  cursor: pointer;
  transition: color 0.22s;
  z-index: 2102;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #24A19C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  padding: 0 36px;
}
.mobile-nav a {
  font-family: 'Georgia', serif;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  padding: 16px 0 8px 0;
  border-bottom: 1px solid #ffffff22;
  width: 100%;
  transition: color 0.22s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #CFE7F3;
}

/* Hide nav on mobile by default */
@media(max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
/* Show nav on desktop only */
@media(min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =======================================
   HERO SECTIONS
======================================= */
.hero {
  background: linear-gradient(92deg, #f9f9f6 60%, #CFE7F3 100%);
  border-radius: 0 0 30px 30px;
  box-shadow: 0 5px 35px 0 rgba(33,91,122,0.04);
  padding-top: 42px;
  padding-bottom: 58px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  gap: 24px;
}
.hero p {
  color: #23323D;
  font-family: 'Open Sans', 'Georgia', serif;
  font-size: 1.10rem;
  margin-bottom: 16px;
}
.hero .btn-primary {
  margin: 0 auto;
  margin-top: 10px;
}

/* =======================================
   FEATURES, SERVICES, TESTIMONIALS, CARDS
======================================= */
.features ul,
.about-intro ul,
.features-methodology ul,
.about-team ul,
.services-list .course-catalog,
.service-list,
.course-catalog,
.coaching-benefits ul,
.teens-programme ul,
.teens-support ul,
.workshops ul,
.workshops-features ul,
.course-benefits ul,
.privacy-policy ul,
.gdpr-compliance ul,
.cookies-policy ul,
.terms-of-use ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.features ul li,
.services-list .course-catalog .service-item,
.service-list .service-item,
.course-catalog .service-item,
.service-item,
.feature-item {
  position: relative;
  padding-left: 44px;
  min-height: 42px;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  margin-bottom: 0;
}
.features ul li img,
.about-intro ul li img,
.features-methodology ul li img,
.services-list .course-catalog .service-item img,
.service-item img,
.teens-support ul li img,
.course-benefits ul li img,
.workshops-features ul li img {
  position: absolute;
  left: 10px;
  width: 26px;
  height: 26px;
  top: 50%;
  transform: translateY(-50%);
  filter: grayscale(0.25) brightness(0.95);
  opacity: 0.76;
}
.features ul li, .feature-item, .service-item {
  font-size: 1.04rem;
  color: #23323D;
  padding: 12px 18px 12px 44px;
  background: #fff;
  transition: background 0.12s;
}
.features ul li:hover,
.feature-item:hover {
  background: #CFE7F3;
}
.price {
  color: #15706A;
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 1.08rem;
  margin-left: auto;
}


/* ========== TESTIMONIALS ========== */
.testimonials,
.coaching-benefits .testimonial-card,
.teens-support .testimonial-card,
.workshops-features .testimonial-card {
  margin-bottom: 60px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(33,91,122,0.10);
  margin-bottom: 28px;
  max-width: 670px;
  transition: box-shadow 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(21,112,106,0.13);
}
.testimonial-card blockquote {
  font-size: 1.15rem;
  color: #215B7A;
  margin-bottom: 0;
  border: none;
  background: transparent;
  padding: 0;
}
.testimonial-card p {
  font-size: 1rem;
  color: #23323D;
  margin-bottom: 0;
  margin-left: 6px;
}
@media(max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px 10px;
  }
}

/* =======================================
   FOOTER
======================================= */
footer {
  background: #215B7A;
  color: #fff;
  padding: 38px 0 18px 0;
  font-size: 1rem;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -2px 20px 0 rgba(33,91,122,0.10);
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-logo-social {
  flex: 1 1 80px;
}
.footer-logo-social img {
  height: 37px;
  filter: brightness(95%) contrast(120%);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 150px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.93;
  text-decoration: none;
  font-family: 'Georgia', serif;
  transition: opacity 0.18s, color 0.18s;
  font-size: 1.06rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #CFE7F3;
  opacity: 1;
  text-decoration: underline;
}
.footer-contact {
  flex: 1 1 120px;
  font-size: 0.98rem;
  font-family: 'Open Sans', 'Georgia', serif;
  text-align: right;
}
@media(max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .footer-contact {text-align:left;}
}

/* =======================================
   COOKIE CONSENT BANNER & MODAL
======================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #215B7A;
  border-top: 2px solid #CFE7F3;
  box-shadow: 0 -2px 12px 0 rgba(33,91,122,0.10);
  z-index: 2500;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  padding: 20px 28px;
  font-family: 'Open Sans', 'Georgia', serif;
  min-height: 62px;
  animation: fadeInUp 0.38s;
}
@keyframes fadeInUp {
  from {transform: translateY(40px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  color: #215B7A;
  font-size: 1.05rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-btn {
  background: #215B7A;
  color: #fff;
  border: none;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  padding: 8px 24px;
  border-radius: 20px;
  margin-left: 6px;
  margin-right: 2px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .cookie-btn.cookie-reject {
  background: #E6EDEC;
  color: #215B7A;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: #24A19C;
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #15706A;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(33,91,122,0.50);
  z-index: 2600;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadeIn 0.33s;
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  color: #215B7A;
  border-radius: 22px;
  max-width: 410px;
  width: 92vw;
  padding: 36px 28px 20px 28px;
  box-shadow: 0 8px 40px 0 rgba(33,91,122,0.18);
  font-size: 1.04rem;
  font-family: 'Open Sans', 'Georgia', serif;
}
.cookie-modal h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: #15706A;
}
.cookie-modal ul {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1.01rem;
}
.cookie-modal label {
  margin-left: 12px;
  font-weight: 600;
}
.cookie-modal input[type=checkbox]:disabled + label {
  color: #aaa;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  margin: 0;
}

/* =======================================
   FORMS + BUTTONS
======================================= */
input[type=text],
input[type=email],
input[type=tel],
input[type=password],
textarea, select {
  border: 1.5px solid #CFE7F3;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  margin: 0 0 18px 0;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #15706A;
  background: #F9F9F6;
}
.btn-secondary {
  background: #CFE7F3;
  color: #215B7A;
  border: none;
  font-family: 'Georgia', serif;
  font-weight: 600;
  border-radius: 20px;
  font-size: 1rem;
  padding: 9px 20px;
  margin-left: 6px;
  transition: background 0.20s, color 0.16s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #215B7A;
  color: #fff;
}

/* =======================================
   RESPONSIVE ADJUSTMENTS
======================================= */
@media(max-width: 980px) {
  .container {
    padding: 0 10px;
  }
  .content-grid, .card-container, .service-list, .course-catalog, .workshop-benefits ul {
    gap: 16px;
  }
}
@media(max-width: 768px) {
  .section {
    padding: 24px 6px;
    margin-bottom: 32px;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 30px;
    border-radius: 0 0 18px 18px;
  }
  .footer-logo-social, .footer-nav, .footer-contact {text-align:left;}
  footer .container {gap:10px;}
  .main-nav {display: none !important;}
  .content-wrapper {
    gap: 15px;
  }
  .card, .service-item, .feature-item, .testimonial-card {
    padding: 14px 7px;
    border-radius: 11px;
    min-width: unset;
  }
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonials, .testimonial-card {
    max-width: 100vw;
  }
  .cookie-modal {padding: 20px 5px;}
}
@media(max-width: 500px) {
  h1 {font-size:1.35rem;}
  h2 {font-size:1.13rem;}
  h3 {font-size:1.02rem;}
  .cookie-banner {flex-direction: column;gap: 9px;align-items: flex-start;padding: 12px 7px;}
  .btn-primary, .btn-secondary, .cookie-btn {padding: 10px 12px;font-size:0.95rem;}
}

/* =======================================
   MICRO-INTERACTIONS & EFFECTS
======================================= */
.card, .testimonial-card, .service-item, .feature-item, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.24s cubic-bezier(.55,.09,.37,1.14), outline 0.13s;
}
.card:hover, .service-item:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 5px 25px 0 rgba(33,91,122,0.12), 0 2px 12px 0 rgba(21,112,106,0.12);
}
.btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.2s, color 0.21s, box-shadow 0.18s;
}
.btn-primary:active, .btn-secondary:active, .cookie-btn:active {
  box-shadow: inset 0 0 4px 0 rgba(33,91,122,0.09);
}

/* =====================
   SPECIAL CLASSES
===================== */
.clearfix::after {
  display: block;
  content: '';
  clear: both;
}

/* For helper visibility */
.hidden {display:none!important;}

/* Key Interactive Focus States */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2.5px solid #15706A;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #CFE7F3;
}

/* Ensuring minimum margin between content cards */
.card:not(:last-child),
.service-item:not(:last-child),
.feature-item:not(:last-child),
.testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}
.features ul li:not(:last-child), .about-intro ul li:not(:last-child), .features-methodology ul li:not(:last-child), .course-benefits ul li:not(:last-child), .workshops-features ul li:not(:last-child) {
  margin-bottom: 12px;
}

/* ========== PRINT STYLE (optional) ========== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {display: none !important;}
  .section, .container {box-shadow: none !important; background: #fff !important;}
}

/*============================================*/
/* END FROSTY DRIVE ACADEMY ELEGANT CLASSIC CSS */
