/* =============================== */
/* 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;
  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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F1FAEE;
  color: #1D3557;
  min-height: 100vh;
  font-smooth: antialiased;
  overflow-x: hidden;
}
ul, ol {
  list-style: none;
}
a {
  background: transparent;
  color: #1D3557;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #A8DADC;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
}
button {
  cursor: pointer;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  color: #1D3557;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  font-weight: 700;
}
h4,h5,h6 {
  font-weight: 700;
}
p, ul, ol, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #34495e;
  line-height: 1.7;
}
strong {
  font-weight: 700;
  color: #1D3557;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =============================== */
/* Creative Artistic Base Palette   */
/* =============================== */
:root {
  --primary: #1D3557;
  --secondary: #457B9D;
  --accent: #F1FAEE;
  --highlight: #E63946;
  --muted-blue: #A8DADC;
  --card-bg: #fff;
  --shadow: rgba(55, 158, 203, 0.18);
  --header-shadow: rgba(69, 123, 157, 0.08);
  --focus-bg: #F1FAEE;
}

/* =============================== */
/* Artistic Layout Patterns         */
/* =============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 20px 60px 20px 20px;
  box-shadow: 0 4px 20px var(--shadow);
  padding: 32px 28px;
  overflow: hidden;
  min-width: 260px;
  transition: box-shadow 0.25s, transform 0.18s;
  border: 2px solid var(--accent);
}
.card:hover {
  box-shadow: 0 8px 28px 0 var(--muted-blue), 0 1.5px 3px var(--highlight);
  transform: translateY(-7px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: var(--accent);
  border-radius: 24px 48px 24px 24px;
  box-shadow: 0 4px 16px var(--shadow);
  border-left: 6px solid var(--primary);
  font-size: 1.06rem;
  transition: background 0.25s;
}
.testimonial-card p {
  color: #222;
  font-style: italic;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1D3557;
}
.testimonial-meta span {
  color: #E63946;
  font-size: 1.1em;
  letter-spacing: 0.06em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
  background: var(--accent);
  padding: 22px 16px;
  border-radius: 18px 42px 18px 18px;
  box-shadow: 0 2px 8px var(--shadow);
  border-left: 4px solid var(--secondary);
}

/* ============================ */
/* Artistic Utility Decorative  */
/* ============================ */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: #fff;
  background: var(--primary);
  border-radius: 30px 70px 30px 30px;
  padding: 16px 36px;
  margin-top: 16px;
  letter-spacing: 0.05em;
  box-shadow: 0 3px 18px var(--shadow);
  border: none;
  transition: background 0.24s, color 0.24s, box-shadow 0.2s, transform 0.16s;
  cursor: pointer;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: #457B9D;
  color: #fff;
  box-shadow: 0 4px 36px 0 var(--shadow);
  transform: translateY(-2px) scale(1.025) rotate(-2deg);
}

/* Artistic Bullets, Icons, List Styles */
ul li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
ul li img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  filter: drop-shadow(0px 0px 2px #1D3557);
}
ul li strong {
  color: var(--secondary);
}
ol {
  margin-bottom: 18px;
  padding-left: 18px;
}
ol li {
  margin-bottom: 8px;
  list-style-type: decimal;
}

/* ============================ */
/* Navigation Styles (Desktop)   */
/* ============================ */
header {
  background: var(--card-bg);
  box-shadow: 0 4px 22px var(--header-shadow);
  position: relative;
  z-index: 701;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 8px;
  min-height: 72px;
}
.main-nav > a img {
  width: 140px;
  height: auto;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav li {
  margin-bottom: 0;
  padding: 0;
  min-height: 0;
}
.main-nav li a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  letter-spacing: 0.025em;
  color: var(--secondary);
  padding: 8px 10px;
  border-radius: 20px;
  transition: background 0.2s, color 0.15s;
  position: relative;
}
.main-nav li a:hover, .main-nav li a:focus, .main-nav li a.active {
  background: var(--muted-blue);
  color: var(--primary);
}
.main-nav .cta-button {
  margin-left: 24px;
  font-size: 1.05rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.5rem;
  z-index: 800;
  padding: 8px 18px;
}

/* =============================== */
/* Mobile Menu Overlay Styles       */
/* =============================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(29,53,87, 0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transform: translateX(80%);
  transition: opacity 0.27s, transform 0.28s;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  color: #F1FAEE;
  font-size: 2.5rem;
  border: none;
  margin: 28px 24px 0 0;
  padding: 10px 16px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.22s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #E63946;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  width: 90%;
  margin: 32px 0 0 0;
}
.mobile-nav a {
  color: #F1FAEE;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: none;
  border-radius: 24px;
  padding: 14px 20px 14px 28px;
  transition: background 0.18s, color 0.18s;
  width: 100%;
  box-sizing: border-box;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--muted-blue);
  color: var(--primary);
}

/* ============================ */
/* Section & Card Styles        */
/* ============================ */
.services-overview, .course-list, .workshop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.service-card, .workshop-item, .course-item {
  background: var(--card-bg);
  border-radius: 16px 36px 16px 16px;
  box-shadow: 0 4px 18px var(--shadow);
  border: 2px solid var(--muted-blue);
  padding: 26px 24px 24px;
  min-width: 240px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.service-card:hover, .workshop-item:hover, .course-item:hover {
  box-shadow: 0 10px 32px 0 var(--muted-blue);
  transform: translateY(-4px) rotate(-2deg) scale(1.012);
  border-color: #E63946;
}
.course-list img {
  width: 40px;
  margin-bottom: 10px;
}

.team-member {
  background: var(--accent);
  padding: 22px 16px;
  border-radius: 16px 40px 16px 16px;
  box-shadow: 0 2px 8px var(--shadow);
  border-left: 4px solid #E63946;
  margin-bottom: 20px;
}
.address-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--accent);
  padding: 20px 24px;
  border-radius: 12px 32px 12px 12px;
  box-shadow: 0 2px 8px var(--shadow);
  margin-bottom: 20px;
}
.map-embed {
  background: var(--accent);
  border-radius: 18px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 24px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px 0 0 0;
}

.faq-item {
  margin-bottom: 20px;
  padding: 17px 24px 10px 16px;
  background: var(--card-bg);
  border-radius: 18px 26px 18px 18px;
  box-shadow: 0 2px 6px var(--shadow);
  border-left: 4px solid var(--secondary);
}
.faq-item h3 {
  font-size: 1.12rem;
  color: var(--primary);
}
.faq-item p {
  margin-top: 8px;
  font-size: 1rem;
}

/* =============================== */
/* Footer                          */
/* =============================== */
footer {
  background: var(--primary);
  color: #F1FAEE;
  width: 100vw;
  box-shadow: 0 -2px 16px var(--header-shadow);
  margin-top: 40px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 12px 18px;
  border-bottom: 2px solid var(--muted-blue);
}
.footer-main > a img {
  width: 64px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #F1FAEE;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.19s;
}
.footer-nav a:hover {
  color: #E63946;
  text-decoration: underline;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.footer-contact img {
  width: 18px;
  margin-right: 4px;
}
.footer-bottom {
  text-align: center;
  color: #B4D8E5;
  font-size: 0.95rem;
  padding: 15px 0;
  letter-spacing: 0.01em;
  background: var(--secondary);
}

/* =============================== */
/* Cookie Banner                   */
/* =============================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px var(--shadow);
  border-top: 4px solid #457B9D;
  z-index: 10010;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  padding: 22px 12px 16px 12px;
  animation: slideUpBanner 0.5s;
}
@keyframes slideUpBanner {
  0% {transform: translateY(100%); opacity:0;}
  100% {transform: translateY(0); opacity:1;}
}
.cookie-banner p {
  font-size: 1rem;
  color: #1D3557;
  margin-right: 8px;
  margin-bottom: 0;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner .cookie-button {
  display: inline-flex;
  align-items: center;
  border-radius: 38px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 26px;
  margin-right: 8px;
  margin-bottom: 0;
  background: var(--primary);
  color: #fff;
  transition: background 0.18s, color 0.18s, transform 0.12s;
  box-shadow: 0 3px 10px var(--shadow);
}
.cookie-banner .cookie-button.settings {
  background: #fff;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  margin-right: 0;
}
.cookie-banner .cookie-button:hover, .cookie-banner .cookie-button:focus {
  background: #E63946;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
}
.cookie-banner .cookie-button.settings:hover, .cookie-banner .cookie-button.settings:focus {
  background: var(--muted-blue);
  color: var(--primary);
  border-color: #1D3557;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 50%) scale(0.95);
  width: 95vw;
  max-width: 420px;
  background: #fff;
  color: #1D3557;
  border-radius: 28px 56px 28px 28px;
  box-shadow: 0 8px 40px 8px var(--shadow);
  z-index: 10020;
  padding: 30px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s, transform 0.25s;
  animation: cookieModalSlide 0.4s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 10%) scale(1);
}
@keyframes cookieModalSlide {
  from {transform: translate(-50%, 66%) scale(0.8); opacity:0;}
  to {transform: translate(-50%, 50%) scale(0.95); opacity:1;}
}
.cookie-modal h3 {
  font-size: 1.18rem;
  font-family: 'Montserrat',Arial,sans-serif;
  margin-bottom: 7px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}
.cookie-modal .category-name {
  flex: 1 1 60%;
  font-weight: 600;
}
.cookie-modal .category-toggle {
  margin-left: 12px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .cookie-button {
  margin-bottom: 0;
  font-size: 1rem;
  padding: 10px 18px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 18px; right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  z-index: 1;
}
.cookie-modal .cookie-close:hover {
  color: #E63946;
}

/* Switch (for modal) */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 25px;
}
.switch input {display:none;}
.slider {
  position: absolute;
  cursor: pointer;
  background: #eee;
  border-radius: 32px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.2s;
}
.slider:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--secondary);
  transition: transform 0.23s;
}
input:checked + .slider {
  background: var(--muted-blue);
}
input:checked + .slider:before {
  transform: translateX(17px);
  background: var(--primary);
}

/* ============================ */
/* Animations / Interactions    */
/* ============================ */
.section {
  opacity: 0;
  animation: sectionFadeIn 0.7s cubic-bezier(.72,.31,0,1.01) forwards;
}
.section:nth-child(1) {animation-delay: 0s;}
.section:nth-child(2) {animation-delay: 0.1s;}
.section:nth-child(3) {animation-delay: 0.2s;}
.section:nth-child(4) {animation-delay: 0.3s;}
@keyframes sectionFadeIn {
  from {opacity:0; transform: translateY(30px);}
  to {opacity:1; transform: none;}
}

/* =============================== */
/* Responsive Mobile Styles         */
/* =============================== */
@media (max-width: 986px) {
  .main-nav {
    padding-left: 12px;
    padding-right: 12px;
    gap: 17px;
  }
  .services-overview, .course-list, .workshop-list, .card-container, .content-grid {
    gap: 18px;
  }
}
@media (max-width: 880px) {
  .main-nav ul {
    gap: 15px;
  }
  .footer-main {
    gap: 14px;
    padding-left: 6px;
    padding-right: 6px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  .main-nav ul { display: none; }
  .main-nav .cta-button { display: none; }
  .mobile-menu-toggle { display: block; margin: 0 15px 0 0; }
  .main-nav {
    justify-content: space-between;
    min-height: 60px;
    padding: 0 4px;
  }
  .services-overview, .course-list, .workshop-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card, .service-card, .workshop-item, .team-member, .course-item {
    min-width: unset;
    width: 100%;
    padding: 18px 10px;
  }
  .footer-main {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 24px 8px 12px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .section {
    padding: 20px 0;
    margin-bottom: 36px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    border-radius: 18px 24px 18px 18px;
    padding: 14px 10px;
  }
}
@media (max-width: 530px) {
  h1 {
    font-size: 1.3rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  .section {
    margin-bottom: 24px;
    padding: 13px 0;
  }
  .card, .service-card, .workshop-item, .card-content, .team-member {
    border-radius: 13px 18px 13px 13px;
  }
  .testimonial-card {
    padding: 8px 4px;
  }
  .footer-main {
    padding: 16px 4px 8px;
  }
  .cookie-modal {
    padding: 13px 6px 8px;
    max-width: 95vw;
  }
}

/* Hide cookie banner/modal when accepted (add/remove .visible class in JS) */
.cookie-banner.hide {
  display: none !important;
}
.cookie-modal.hide {
  display: none !important;
}

/* ============================ */
/* Misc Artistic Accents        */
/* ============================ */
hr {
  border: none;
  height: 2px;
  background: var(--muted-blue);
  margin: 34px 0;
  border-radius: 3px;
}
::-webkit-input-placeholder { color: #91A5B1; }
::-moz-placeholder { color: #91A5B1; }
:-ms-input-placeholder { color: #91A5B1; }
::placeholder { color: #91A5B1; }

/* Toast/Success State (Thank You) */
.thankyou-banner, .success-banner {
  background: var(--muted-blue);
  color: var(--primary);
  border-left: 5px solid #E63946;
  border-radius: 16px 36px 16px 16px;
  padding: 20px 18px;
  box-shadow: 0 1px 9px var(--shadow);
  margin-bottom: 24px;
}

/* Accessibility Improvements */
:focus-visible {
  outline: 2px solid #A8DADC;
  outline-offset: 3px;
}

/* Remove tap highlight for mobile links/buttons */
a, button { -webkit-tap-highlight-color: rgba(0,0,0,0.07); }

/* =============================================
   END CSS for Dynamo Ascent "creative_artistic"
   ============================================= */
