/* --------------------
   CSS RESET & NORMALIZER
-----------------------*/
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.4;
  background: #f6f7fb;
  color: #253858;
  font-family: 'Roboto', Arial, sans-serif;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
}

/* --------------------
   SOFT PASTEL PALETTE (fixed colors for full compatibility)
-----------------------*/
:root {
  --pv-primary: #253858;
  --pv-secondary: #5694f2;
  --pv-accent: #ffffff;
  --pv-pink: #fbc2eb;
  --pv-blue-light: #c6e6fa;
  --pv-yellow-light: #fffbe7;
  --pv-mint: #cdf6ec;
  --pv-lilac: #e0eefe;
  --pv-green-pastel: #d5f4e6;
  --pv-danger: #ea6e89;
  --pv-btn-shadow: rgba(90, 154, 220, 0.12);
  --pv-card-shadow: rgba(80, 100, 140, 0.09);
}

/* --------------------
   TYPOGRAPHY
-----------------------*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
html {
  font-size: 16px;
}
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--pv-primary);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--pv-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--pv-primary);
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--pv-primary);
}
p, li, ul, a, span, strong, label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--pv-primary);
  line-height: 1.6;
}
strong {
  font-weight: 700;
}

/* --------------------
   CONTAINER & LAYOUT
-----------------------*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.text-section {
  background: var(--pv-lilac);
  border-radius: 18px;
  box-shadow: 0 4px 24px var(--pv-card-shadow);
  padding: 32px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .text-section {
    padding: 20px;
    border-radius: 14px;
  }
}

/* --------------------
   HEADER & NAVIGATION
-----------------------*/
header {
  background: linear-gradient(90deg, #e0eefe 0%, #fbc2eb 100%);
  box-shadow: 0 2px 10px var(--pv-card-shadow);
  padding: 0 0 8px 0;
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 10px;
}
.logo img {
  height: 38px;
}
nav.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
}
nav.main-nav a {
  font-size: 1rem;
  color: var(--pv-primary);
  padding: 6px 10px;
  border-radius: 7px;
  position: relative;
  transition: background 0.18s, color 0.18s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: var(--pv-blue-light);
  color: var(--pv-secondary);
}
.cta-button {
  background: var(--pv-secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  padding: 11px 32px;
  border-radius: 12px;
  box-shadow: 0 3px 18px var(--pv-btn-shadow);
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.20s, transform 0.15s;
  outline: none;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--pv-primary);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 28px 0 rgba(86,148,242,0.18);
  text-decoration: none;
}
/* --------------------
   MOBILE NAVIGATION
-----------------------*/
.mobile-menu-toggle {
  display: none;
  background: var(--pv-primary);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 7px 14px;
  border-radius: 10px;
  position: absolute;
  right: 18px;
  top: 13px;
  cursor: pointer;
  z-index: 229;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--pv-secondary);
}
@media (max-width: 991px) {
  nav.main-nav {
    display: none !important;
  }
  .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #fbc2eb 0%, #e0eefe 100%);
  box-shadow: 0 0 60px 0 rgba(30, 51, 90, 0.1);
  transform: translateX(-100vw);
  z-index: 230;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.77,0,0.175,1), opacity 0.25s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--pv-primary);
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 19px 32px 16px 0;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 238;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--pv-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 12px 32px;
  margin-top: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: var(--pv-primary);
  padding: 8px 0;
  border-radius: 6px;
  transition: color 0.22s, background 0.15s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pv-blue-light);
  color: var(--pv-secondary);
}
@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* --------------------
   MAIN LAYOUT: FLEXBOX
-----------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 22px var(--pv-card-shadow);
  background: var(--pv-accent);
  padding: 22px 26px;
  position: relative;
  min-width: 220px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 12px 36px 4px rgba(86, 148, 242, 0.16);
  transform: translateY(-5px) 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;
}
@media (max-width: 768px) {
  .text-image-section, .container {
    flex-direction: column !important;
    gap: 24px;
  }
}

/* For test cards, instructor lists, process steps etc. (designed by HTML structure) */
.course-cards, .course-list, .instructor-list, .process-steps, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.course-cards > div, .course-list > div, .instructor-profile, .process-steps > div, .blog-list > li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px var(--pv-card-shadow);
  padding: 22px 28px;
  flex: 1 1 270px;
  min-width: 220px;
  margin-bottom: 0;
  transition: box-shadow 0.18s, transform 0.16s;
}
.course-cards > div:hover, .course-list > div:hover, .instructor-profile:hover, .process-steps > div:hover, .blog-list > li:hover {
  box-shadow: 0 8px 32px 2px rgba(86, 148, 242, 0.14);
  transform: translateY(-5px) scale(1.012);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .course-cards, .course-list, .instructor-list, .process-steps, .blog-list {
    flex-direction: column;
  }
}

/* Cards for outcome/success metrics, credentials, categories */
.success-metrics, .credentials-summary, .categories-list {
  background: var(--pv-mint);
  padding: 16px 22px;
  border-radius: 11px;
  font-size: 1.01rem;
  color: var(--pv-primary);
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --------------------
   TESTIMONIALS
-----------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fffbe7;
  color: #22253a;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 18px var(--pv-card-shadow);
  transition: box-shadow 0.18s, transform 0.14s;
  flex: 1 1 280px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 2px rgba(230, 172, 230, 0.12);
  transform: translateY(-3px) scale(1.012);
  background: #fff4f9;
}
.testimonial-card p {
  color: #22253a;
  font-size: 1.07rem;
  flex: 1;
}
.testimonial-card strong {
  color: var(--pv-secondary);
  font-size: 1.01rem;
  margin-left: 14px;
}
.star-ratings {
  font-size: 1.2rem;
  color: #ffd966;
  margin-left: auto;
  margin-top: 3px;
}
.ratings-summary, .star-ratings {
  color: #e3a018;
  font-size: 1.09rem;
  padding: 0 0 0 8px;
}
.ratings-summary p {
  font-size: 1rem;
  color: #4c5070;
  margin-top: 2px;
}

/* --------------------
   LISTS & UL
-----------------------*/
ul {
  margin-bottom: 16px;
}
.process-steps ul, .output-list {
  margin: 0;
}
ul li, ol li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul li img {
  margin-right: 11px;
  width: 28px;
  height: 28px;
}
@media (max-width: 600px) {
  ul li {
    font-size: 0.96rem;
  }
}

/* Blog & FAQ Details */
.blog-list {
  padding: 0;
}
.blog-list > li {
  background: var(--pv-yellow-light);
  border-radius: 13px;
  margin-bottom: 0;
  box-shadow: 0 2px 12px var(--pv-card-shadow);
}
.categories-list {
  background: #e9f4fe;
  border-radius: 11px;
  color: #2d4062;
  font-size: 0.96rem;
  display: inline-block;
}

/* --------------------
   FOOTER
-----------------------*/
footer {
  background: linear-gradient(90deg, #e0eefe 0%, #fbc2eb 100%);
  box-shadow: 0 -2px 18px var(--pv-card-shadow);
  padding: 34px 0 12px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-brand img {
  height: 34px;
  margin-bottom: 12px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 130px;
}
.footer-menu a {
  color: var(--pv-primary);
  font-size: 0.97rem;
  opacity: 0.88;
  margin-bottom: 0;
  transition: color 0.2s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--pv-secondary);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.97rem;
  min-width: 180px;
}
.footer-contact div {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  width: 20px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 18px;
  min-width: 90px;
}
.footer-social a img {
  width: 27px;
  height: 27px;
  opacity: 0.80;
  transition: opacity 0.19s, filter 0.2s;
}
.footer-social a:hover img, .footer-social a:focus img {
  opacity: 1;
  filter: grayscale(0.1) brightness(1.25);
}
@media (max-width: 1024px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}

/* --------------------
   FORMS (if any)
-----------------------*/
input, textarea, select {
  border: 1px solid #dde5f4;
  background: #fff;
  padding: 9px 14px;
  border-radius: 7px;
  margin-bottom: 16px;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.18s;
  box-shadow: 0 3px 11px 0 rgba(220,220,250,0.05);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--pv-secondary);
}

/* --------------------
   SPECIAL ELEMENTS
-----------------------*/
.outcome-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--pv-blue-light);
  padding: 22px 18px; 
  border-radius: 10px;
  margin-bottom: 20px;
}
.map-location {
  background: var(--pv-mint);
  border-radius: 11px;
  padding: 17px 18px;
  margin-bottom: 20px;
  color: var(--pv-primary);
}
.contact-details {
  background: var(--pv-lilac);
  border-radius: 11px;
  padding: 17px 18px;
  margin-bottom: 20px;
  color: var(--pv-primary);
}

/* --------------------
   RESPONSIVE DESIGN
-----------------------*/
@media (max-width: 991px) {
  .container {
    max-width: 94vw;
  }
  .content-wrapper,
  .card-container,
  .content-grid,
  .course-cards,
  .course-list,
  .instructor-list,
  .process-steps,
  .blog-list {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 26px 8px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .container { padding: 0 6px; }
  .footer-social { margin-bottom: 8px; }
  .card { padding: 13px 15px; min-width: 0; }
  .course-cards > div,
  .course-list > div,
  .instructor-profile,
  .process-steps > div,
  .blog-list > li {
    padding: 14px 13px;
    min-width: 0;
  }
}
@media (max-width: 490px) {
  .container { padding: 0 1vw; }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.09rem; }
  .cta-button { font-size: 1rem; padding: 10px 12px; }
}

/* --------------------
   BUTTONS & LINKS
-----------------------*/
a {
  transition: color 0.2s, background 0.2s, box-shadow 0.19s;
}
a:hover, a:focus {
  color: var(--pv-secondary);
  text-decoration: underline;
}
.section a.cta-button {
  margin-top: 12px;
  margin-bottom: 2px;
}
button {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --------------------
   ANIMATIONS
-----------------------*/
.cta-button, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close, .testimonial-card, .card, .instructor-profile, .process-steps > div {
  transition: background 0.18s, box-shadow 0.20s, transform 0.16s;
}

/* --------------------
   COOKIE BANNER & MODAL
-----------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #fbc2eb 0%, #e0eefe 100%);
  color: var(--pv-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  box-shadow: 0 -5px 26px rgba(60,90,180,0.10);
  z-index: 2999;
  font-size: 1rem;
  gap: 22px;
  border-radius: 13px 13px 0 0;
  animation: cookie-slidein 0.6s cubic-bezier(0.61,0.1,0.28,1);
}
@keyframes cookie-slidein {
  from { bottom: -80px; opacity: 0; }
  to   { bottom: 0; opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  background: var(--pv-secondary);
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 8px 20px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(80,140,210,0.12);
  cursor: pointer;
  transition: background 0.17s, transform 0.165s;
  margin-right: 0;
}
.cookie-banner button.cookie-reject {
  background: #efb7ba;
  color: var(--pv-primary);
}
.cookie-banner button.cookie-settings {
  background: var(--pv-mint);
  color: var(--pv-primary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(1.13) drop-shadow(0 1px 6px rgba(86,148,242,0.19));
  transform: translateY(-1px) scale(1.042);
}
/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background:#25385896;
  z-index: 3499;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #f6f7fb;
  border-radius: 17px;
  padding: 38px 26px 30px 26px;
  box-shadow: 0 12px 48px 2px rgba(86,148,242,0.15);
  width: 95vw;
  max-width: 410px;
  color: var(--pv-primary);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modal-popin 0.45s cubic-bezier(0.62,0,0.2,1);
}
@keyframes modal-popin {
  from { transform: translateY(60px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--pv-primary);
  cursor: pointer;
}
.cookie-modal .cookie-toggle {
  accent-color: var(--pv-secondary);
  width: 23px; height: 23px; cursor: pointer;
}
.cookie-modal .cookie-required {
  color: #aaa;
  font-size: 0.95rem;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal button {
  font-size: 1.01rem;
  background: var(--pv-secondary);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 7px 21px;
  cursor: pointer;
  box-shadow: 0 1px 5px rgb(86,148,242,0.10);
  transition: background 0.15s, transform 0.13s;
}
.cookie-modal button.cookie-modal-close {
  background: var(--pv-danger);
  color: #fff;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  filter: brightness(1.07) drop-shadow(0 1px 6px rgba(86,148,242,0.18));
  transform: translateY(-1px) scale(1.03);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 10px;
    font-size: 0.95rem;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 7px;
  }
  .cookie-modal {
    padding: 18px 6vw 15px 6vw;
  }
}

/* Hidden class for components (cookie modal, mobile menu, etc.) */
.hidden { display: none !important; }

/* --------------------
   ACCESSIBILITY
-----------------------*/
:focus {
  outline: 2px solid #a3cdfb;
  outline-offset: 2px;
}

/*----------------------
  MARGIN & GAP OVERRIDES
------------------------*/
.section > .container {
  gap: 28px;
}
.content-wrapper {
  margin-bottom: 0;
}

/* Remove last-child margin on cards for tight vertical alignment */
.card:last-child, .testimonial-card:last-child, .blog-list > li:last-child, .course-cards > div:last-child, .course-list > div:last-child {
  margin-bottom: 0;
}

/* Image rounding */
img[alt*='icon'], img.icon, .card img, .testimonial-card img {
  border-radius: 6px;
  box-shadow: none;
}

/***** END CSS *****/
