/* RESET & BASE STYLES -------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #253052;
  background: #F8F9FB;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.03em;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #174B91;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #174B91;
  outline-offset: 2px;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
address {
  font-style: normal;
}

/* TYPOGRAPHY ------------------------------------------------------------- */
h1, .hero-section h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #174B91;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #174B91;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #133761;
  margin-bottom: 12px;
}
p, .text-section p, .subheadline {
  font-size: 1rem;
  font-weight: 400;
  color: #253052;
  margin-bottom: 18px;
}
.subheadline {
  font-size: 1.15rem;
  font-weight: 400;
  color: #4B5870;
}
.centered {
  text-align: center;
  align-items: center;
  justify-content: center;
}

/* CONTAINER & LAYOUT ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
}

/* HEADER & NAVIGATION --------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #e4e7ee;
  box-shadow: 0 2px 8px rgba(23, 75, 145, 0.06);
  position: sticky;
  top: 0;
  z-index: 1020;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px 14px 20px;
  position: relative;
}
.logo-link {
  display: flex;
  align-items: center;
  margin-right: 32px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-left: 20px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: #174B91;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s;
  font-size: 1rem;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #E58F1E;
}
.cta-button {
  background: #174B91;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 28px;
  margin-left: 30px;
  box-shadow: 0 2px 8px rgba(23,75,145,0.07);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  display: inline-block;
  border: none;
  outline: none;
}
.cta-button.small {
  padding: 9px 22px;
  font-size: 0.96rem;
  margin-left: 0;
}
.cta-button:hover, .cta-button:focus {
  background: #133761;
  color: #fff;
  box-shadow: 0 4px 16px rgba(23,75,145,0.11);
}
.mobile-menu-toggle {
  display: none;
  background: #174B91;
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: 28px;
  transition: background 0.18s;
  z-index: 2001;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #133761;
  color: #fff;
}

/* MOBILE MENU -------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 95vw;
  max-width: 370px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 32px 0 rgba(23,75,145,0.21);
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.7,0,0.3,1);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  padding: 32px 26px 24px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2em;
  background: #F8F9FB;
  color: #174B91;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #dce6f1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  color: #174B91;
  font-weight: 500;
  padding: 10px 4px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e8f0fc;
  color: #E58F1E;
}

/* HERO SECTION -------------------------------------------------------- */
.hero-section {
  background: linear-gradient(90deg,#f8f9fb 60%,#e7f0fa 100%);
  padding: 70px 0 60px 0;
  border-bottom: 1px solid #e4e7ee;
  box-shadow: 0 8px 32px rgba(23, 75, 145, 0.08);
  margin-bottom: 64px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-section .container {
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hero-section h1 {
  font-size: 2.4rem;
  color: #174B91;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
}
.hero-section .subheadline {
  font-size: 1.18rem;
  color: #4B5870;
  margin-bottom: 35px;
  text-align: center;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.hero-section .cta-button {
  margin: 0 auto;
  font-size: 1.08rem;
}

/* FLEX PATTERNS & GRID -------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature-block {
  flex: 1 1 250px;
  background: #fff;
  border-radius: 10px;
  padding: 28px 20px 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 12px rgba(23,75,145,0.045);
  min-width: 210px;
  max-width: 340px;
  margin-bottom: 20px;
  border: 1px solid #e0e6f0;
  transition: box-shadow 0.22s, border 0.2s, transform 0.16s;
}
.feature-block img {
  width: 42px;
  height: 42px;
}
.feature-block:hover, .feature-block:focus-within {
  box-shadow: 0 6px 32px rgba(23,75,145,0.09);
  border-color: #b1c5de;
  transform: translateY(-2px) scale(1.017);
}

.course-grid, .course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.course-list {
  gap: 24px;
}
.service-card {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(23,75,145,0.05);
  border: 1px solid #e0e6f0;
  padding: 28px 20px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 340px;
  transition: box-shadow 0.18s, border 0.16s, transform 0.13s;
  position: relative;
}
.service-card h2, .service-card h3 {
  margin-bottom: 8px;
  color: #174B91;
  font-family: 'Montserrat', Arial, sans-serif;
}
.service-card .price, .course-price, .workshop-price {
  font-weight: 600;
  color: #E58F1E;
  font-size: 1.07rem;
  margin-top: 6px;
  margin-bottom: 7px;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 8px 32px rgba(23,75,145,0.13);
  border-color: #b1c5de;
  transform: translateY(-2px) scale(1.015);
}

/* FAQ ACCORDION -------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border: 1px solid #e0e6f0;
  border-radius: 10px;
  padding: 18px 22px 18px 20px;
  margin-bottom: 8px;
  transition: box-shadow 0.2s, border 0.18s;
}
.faq-item h2 {
  font-size: 1.13rem;
  margin-bottom: 6px;
  color: #174B91;
}
.faq-item p {
  margin-bottom: 0;
}
.faq-item:hover, .faq-item:focus-within {
  border-color: #b1c5de;
  box-shadow: 0 4px 20px rgba(23,75,145,0.08);
}

/* TESTIMONIALS --------------------------------------------------------- */
.testimonials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 14px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F8F9FB;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(23,75,145,0.06);
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  border: 1px solid #e0e6f0;
  font-size: 1rem;
  color: #212c42;
  transition: box-shadow 0.18s, border 0.16s, transform 0.13s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: #b1c5de;
  box-shadow: 0 8px 28px rgba(23,75,145,0.13);
  transform: translateY(-2px) scale(1.012);
}
.testimonial-name {
  font-weight: 600;
  color: #174B91;
  font-size: 0.98rem;
  margin-top: 8px;
}
.testimonial-card p {
  font-size: 1rem;
  color: #222f45;
}

/* MISC SECTION PATTERNS ------------------------------------------------ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TEXT SECTIONS & OTHERS ----------------------------------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.session-details {
  margin-top: 32px;
  font-size: 1rem;
  color: #4B5870;
}

.map-placeholder {
  color: #b1b6c1;
  font-size: 1.08rem;
}

/* FOOTER STYLES -------------------------------------------------------- */
footer {
  background: #174B91;
  color: #fff;
  padding: 44px 0 22px 0;
  border-top: 2px solid #b1c5de;
  margin-top: 60px;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 26px;
}
.footer-brand img {
  width: 64px;
  height: auto;
}
.footer-contact {
  font-size: 0.98rem;
  color: #deebfc;
  margin-top: 4px;
}
.footer-contact a {
  color: #E7B87A;
  text-decoration: underline;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  margin: 18px 0 8px 0;
}
.footer-nav a {
  color: #f0f7ff;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  opacity: 0.94;
  transition: color 0.16s, opacity 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E58F1E;
  opacity: 1;
}
.footer-copy {
  font-size: 0.98rem;
  opacity: 0.78;
  margin-top: 8px;
}

/* BUTTONS / INTERACTIVES ----------------------------------------------- */
button, .cta-button, .mobile-menu-toggle, .mobile-menu-close  {
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.17s;
}

/* UTILITY & GENERAL PATTERNS ------------------------------------------- */
.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

/* SPACING -------------------------------------------------------------- */
section:not(.hero-section) {
  margin-bottom: 60px;
  padding-top: 0;
  padding-bottom: 0;
}

/* COOKIE CONSENT BANNER ----------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #255191;
  box-shadow: 0 -2px 24px rgba(23,75,145,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 28px 22px 20px 22px;
  gap: 40px;
  z-index: 3000;
  animation: bannerIn 0.5s cubic-bezier(.76,0,.24,1) 0s 1;
}
@keyframes bannerIn {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  font-size: 1rem;
  color: #253052;
  margin-right: 24px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-button {
  background: #174B91;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 24px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(23,75,145,0.06);
  transition: background 0.16s, box-shadow 0.13s;
  margin-right: 1px;
}
.cookie-button.settings {
  background: #E58F1E;
  color: #fff;
}
.cookie-button.reject {
  background: #f6f6f8;
  color: #174B91;
  border: 1px solid #c1d1eb;
}
.cookie-button:hover, .cookie-button:focus {
  background: #133761;
  color: #fff;
}
.cookie-button.settings:hover,
.cookie-button.settings:focus {
  background: #b06711;
}
.cookie-button.reject:hover,
.cookie-button.reject:focus {
  background: #eaecef;
  color: #133761;
}

/* COOKIE MODAL --------------------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(23,75,145,0.26);
  z-index: 4999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieFadeIn 0.3s cubic-bezier(.68,0,.42,1);
}
@keyframes cookieFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  box-shadow: 0 4px 42px rgba(23,75,145,0.17);
  border-radius: 16px;
  padding: 32px 28px 28px 28px;
  max-width: 420px;
  width: 95vw;
  z-index: 5001;
  animation: cookieModalIn 0.3s cubic-bezier(.7,0,.3,1);
}
@keyframes cookieModalIn {
  from { transform: translateY(60px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.17rem;
  color: #174B91;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f3f9;
}
.cookie-modal .cookie-category label, .cookie-modal .cookie-category span {
  font-size: 1rem;
  color: #253052;
}
.cookie-modal .toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-modal .toggle-switch input { display: none; }
.cookie-modal .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #b1c5de;
  border-radius: 22px;
  transition: background 0.18s;
}
.cookie-modal .toggle-switch input:checked + .toggle-slider {
  background: #174B91;
}
.cookie-modal .toggle-slider:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: 0.19s;
}
.cookie-modal .toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(15px);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

/* RESPONSIVE DESIGN ---------------------------------------------------- */
@media (max-width: 1100px) {
  .container { padding: 0 14px; }
}
@media (max-width: 900px) {
  .feature-grid, .course-grid, .testimonials-row, .course-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .content-grid {
    gap: 16px;
  }
}
@media (max-width: 830px) {
  .footer-brand, .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-nav {
    gap: 11px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-brand {
    flex-direction: column;
    gap: 7px;
  }
  .feature-grid, .testimonials-row, .course-grid, .course-list {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .service-card, .feature-block, .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .hero-section {
    padding: 38px 0 32px 0;
    min-height: unset;
  }
  .hero-section .container {
    padding: 0 10px;
  }
  .section, section:not(.hero-section) {
    padding: 20px 5px;
    margin-bottom: 36px;
  }
  .testimonials-row, .feature-grid, .course-list, .course-grid {
    flex-wrap: wrap;
    gap: 13px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 16px 8px 12px 8px;
    gap: 18px;
    text-align: center;
  }
  .cookie-banner__text {
    margin-right: 0;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 5px;
  }
  .footer-contact {
    font-size: 0.96rem;
  }
  .footer-nav a {
    font-size: 0.97rem;
  }
  .section {
    padding: 14px 2px;
    margin-bottom: 22px;
  }
  .hero-section h1 {
    font-size: 1.3rem;
  }
}

/* SMOOTH TRANSITIONS --------------------------------------------------- */
body, .main-nav a, .service-card, .feature-block, .testimonial-card, .cookie-banner, .cookie-modal {
  -webkit-transition: all 0.17s cubic-bezier(.64,0,.35,1);
  transition: all 0.17s cubic-bezier(.64,0,.35,1);
}

/* VISUAL HIERARCHY ----------------------------------------------------- */
h1, h2, h3 { letter-spacing: 0.01em; }
h1       { margin-bottom: 20px; }
h2, h3   { margin-bottom: 12px; }

/* END OF PROFESSIONAL CORPORATE STYLE FOR DIGITALAKADEMIN */
