/* RESET & BASE ------------------------------------ */
html {
  box-sizing: border-box;
  font-size: 16px; /* Use 100% for accessibility */
  scroll-behavior: smooth;
  background: #F8FAFC;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #173B6C;
  background: #F8FAFC;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #2D9CDB;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #173B6C;
}
ul, ol {
  list-style: none;
  margin: 0 0 20px 0;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(23, 59, 108, 0.08);
}

/* TYPOGRAPHY ---------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #173B6C;
  margin-bottom: 16px;
}
h1 { font-size: 2.6rem; line-height: 1.13; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; }
h4 { font-size: 1.12rem; margin-bottom: 10px; }
p, li, address {
  font-size: 1rem;
}
strong { font-weight: 700; }
small { font-size: 0.9rem; color: #2D9CDB; }

/* CONTAINER AND LAYOUTS ---------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 8px rgba(23, 59, 108, .10);
  margin-bottom: 20px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 6px 24px rgba(45, 156, 219, 0.13);
  z-index: 1;
}
.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;
  background: #F2F8FF;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(23, 59, 108, .06);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 480px;
}
.testimonial-info { display: flex; flex-direction: row; gap: 15px; align-items: center; }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.icon-title { display: flex; align-items: center; gap: 10px; }

/* HERO SECTION ------------------------------------- */
.hero {
  background: linear-gradient(90deg, #2D9CDB 0%, #173B6C 80%);
  color: #fff;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 10px 40px rgba(23, 59, 108, 0.22);
  margin-bottom: 60px;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hero h1, .hero p {
  color: #fff;
  margin-bottom: 18px;
}
.hero .cta-btn {
  margin-top: 12px;
}

/* BUTTONS & LINKS ---------------------------------- */
.cta-btn, .enroll-link, .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 13px 36px;
  font-size: 1.13rem;
  border-radius: 24px;
  background: #2D9CDB;
  color: #fff !important;
  border: none;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 5px 24px rgba(45, 156, 219, 0.14);
  transition: background .18s, box-shadow .2s, transform .15s;
  outline: none;
  display: inline-block;
  margin-right: 16px;
}
.cta-btn:hover, .enroll-link:hover, .cookie-btn:hover, .cta-btn:focus {
  background: #173B6C;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.enroll-link {
  padding: 9px 24px;
  font-size: 1rem;
  background: #fff;
  color: #2D9CDB !important;
  border: 2px solid #2D9CDB;
  margin-top: 18px;
  font-weight: 700;
  transition: background .19s, color .19s, border .18s;
}
.enroll-link:hover, .enroll-link:focus {
  background: #2D9CDB;
  color: #fff !important;
}

/* HEADER & NAVIGATION ------------------------------ */
header {
  background: #fff;
  border-bottom: 4px solid #2D9CDB;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img { width: 152px; margin-right: 28px; }
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  color: #173B6C;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background .12s, color .12s;
}
nav a:hover, nav a:focus {
  background: #2D9CDB;
  color: #fff;
}
nav .cta-btn {
  margin-left: 20px;
  min-width: 180px;
}
.mobile-menu-toggle {
  display: none;
  background: #2D9CDB;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #173B6C;
}

/* MOBILE MENU -------------------------------------- */
.mobile-menu {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  box-shadow: -2px 0 38px rgba(23,59,108,.18);
  padding: 24px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #2D9CDB;
  color: #fff;
  border: none;
  font-size: 2.4rem;
  font-weight: 700;
  border-radius: 50%;
  margin-left: 18px;
  margin-bottom: 32px;
  cursor: pointer;
  padding: 4px 16px;
  align-self: flex-end;
  outline: none;
  box-shadow: 0 2px 8px rgba(45, 156, 219, 0.13);
  transition: background .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #173B6C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  color: #173B6C;
  font-weight: 700;
  padding: 14px 0;
  border-radius: 0 18px 18px 0;
  transition: background .17s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2D9CDB;
  color: #fff;
}

/* COURSE CARDS & SECTIONS -------------------------- */
.courses-list, .detailed-course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}

.course-card, .course-detail {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(23,59,108, 0.07);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 330px;
  margin-bottom: 20px;
  transition: box-shadow .22s;
}
.course-card:hover, .course-detail:hover {
  box-shadow: 0 6px 24px rgba(45, 156, 219, 0.21);
  z-index: 1;
}
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2D9CDB;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 7px;
}

.benefits-grid, .category-grid, .faculty-grid, .recent-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 8px 0;
}
.benefits-grid ul, .category-grid ul, .faculty-grid ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
}
.benefits-grid li, .category-grid li, .faculty-member {
  background: #F2F8FF;
  border-radius: 10px;
  padding: 16px 20px;
  font-weight: 600;
  color: #173B6C;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* BLOG HIGHLIGHT & ARTICLES ------------------------ */
.blog-highlight, .featured-article {
  background: #fff;
  border-left: 8px solid #2D9CDB;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(23,59,108,0.07);
  padding: 18px 26px;
  margin-bottom: 20px;
  transition: border-color .17s;
}
.blog-highlight:hover, .featured-article:hover {
  border-left: 8px solid #173B6C;;
}

/* ACHIEVEMENTS, NUMBERS, STEPS --------------------- */
.achievement-numbers ul {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.achievement-numbers li {
  font-size: 1.35rem;
  color: #2D9CDB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #E9F6FE;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.process-steps ol {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
}
.process-steps li {
  background: #F2F8FF;
  border-radius: 9px;
  padding: 13px 18px;
  font-weight: 500;
}

/* FOOTER ------------------------------------------- */
footer {
  background: #173B6C;
  color: #fff;
  margin-top: 60px;
  border-radius: 32px 32px 0 0;
  padding: 40px 0 0 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
}
.footer-nav a {
  color: #F2F8FF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 4px 0;
  opacity: 0.95;
  transition: color .14s, opacity .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #2D9CDB;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
}
.footer-contact img {
  width: 55px;
  margin-bottom: 8px;
}
footer address {
  font-style: normal;
  color: #fff;
  margin-bottom: 6px;
}
footer a {
  color: #2D9CDB;
  text-decoration: underline;
  font-size: .98rem;
  transition: color .15s;
}
footer a:hover, footer a:focus {
  color: #fff;
}

/* MAP & CONTACT ----------------------------------- */
.contact-details {
  margin-bottom: 20px;
  background: #F9FBFF;
  border-radius: 14px;
  padding: 20px 26px;
  box-shadow: 0 1px 6px rgba(45,156,219,.09);
}
.map img {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(23,59,108,.12);
  width: 100%;
  max-width: 380px;
}

/* THANK YOU PAGE ----------------------------------- */
.thankyou {
  background: linear-gradient(90deg, #2D9CDB 0%, #173B6C 100%);
  color: #fff;
  border-radius: 28px;
}
.thankyou .cta-btn {
  background: #fff;
  color: #173B6C !important;
  border: 2px solid #2D9CDB;
}
.thankyou .cta-btn:hover {
  background: #2D9CDB;
  color: #fff !important;
}
.next-steps ul {
  margin: 18px 0 0 20px;
  list-style-type: disc;
}

/* TESTIMONIAL SLIDER ------------------------------ */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  color: #173B6C;
  background: #F2F8FF;
  font-size: 1.05rem;
  border-left: 6px solid #2D9CDB;
}
.testimonial-card span:last-child {
  color: #FABB05;
  font-weight: bold;
  font-size: 1.09rem;
  letter-spacing: 0.07em;
}

/* COOKIE BANNER ------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #173B6C;
  color: #fff;
  z-index: 500;
  padding: 22px 20px 22px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -2px 28px rgba(23,59,108,0.13);
  font-size: 1rem;
  animation: cookieBannerSlideIn .6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(48px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  flex: 1 1 320px;
  font-size: 1rem;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 18px;
  background: #2D9CDB;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .14s, color .14s, box-shadow .13s;
  margin: 0 0 0 5px;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #fff;
  color: #173B6C;
  box-shadow: 0 2px 8px #2D9CDB25;
}
.cookie-btn.outline {
  background: #fff;
  color: #2D9CDB;
  border: 2px solid #2D9CDB;
}
.cookie-btn.outline:hover, .cookie-btn.outline:focus {
  color: #fff;
  background: #2D9CDB;
}

/* Cookie Settings Modal ---------------------------- */
#cookie-modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0; right: 0;
  top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,59,108,0.87);
  align-items: center;
  justify-content: center;
  animation: cookieModalIn .32s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes cookieModalIn {
  from { opacity: 0; } to { opacity: 1; }
}
#cookie-modal.open { display: flex; }
.cookie-modal-content {
  background: #fff;
  color: #173B6C;
  padding: 38px 32px;
  border-radius: 16px;
  max-width: 480px;
  width: calc(100% - 32px);
  box-shadow: 0 4px 64px 0 rgba(23,59,108,0.27);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  background: #E1ECF7;
  border-radius: 14px;
  position: relative;
  margin-left: 10px;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background-color: #BFD7EE;
  border-radius: 12px;
  transition: .2s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #2D9CDB;
}
.cookie-slider:before {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 2px;
  height: 16px;
  width: 16px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(18px);
  background: #fff;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 1.92rem;
  color: #2D9CDB;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: color .12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #173B6C;
}

/* MEDIA QUERIES RESPONSIVE ------------------------- */
@media (max-width: 1200px) {
  .container { max-width: 970px; }
}
@media (max-width: 992px) {
  .container { max-width: 90vw; }
  .faculty-grid, .courses-list, .detailed-course-list {
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container { flex-direction: row; gap: 12px; }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper {
    gap: 18px;
  }
  section, .hero {
    padding: 28px 6px;
    margin-bottom: 40px;
    border-radius: 12px;
  }
  .card, .course-card, .course-detail {
    padding: 20px 10px;
    min-width: 92vw;
    max-width: 98vw;
  }
  .courses-list, .detailed-course-list, .faculty-grid, .testimonial-slider, .benefits-grid, .content-grid, .category-grid, .process-steps ol, .achievement-numbers ul {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .map img { max-width: 96vw; }
  .cookie-banner {
    flex-direction: column;
    gap: 11px;
    padding: 16px 8px;
    font-size: 0.96rem;
  }
  .cookie-btns {
    gap: 8px;
    flex-wrap: wrap;
  }
  .mobile-nav { padding-left: 11vw; }
  .mobile-menu-close { margin-bottom: 18px; }
}
@media (max-width: 520px) {
  html { font-size: 14px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  section, .hero {
    padding: 18px 2px;
    margin-bottom: 24px;
  }
  .card, .course-card, .course-detail {
    min-width: 97vw;
    max-width: 99vw;
    padding: 12px 2px;
  }
  .testimonial-card { padding: 11px 5px; }
}

/* ANIMATIONS -------------------------------------- */
.cta-btn, .enroll-link, .cookie-btn {
  transition: background .16s, color .16s, box-shadow .19s, transform .16s;
}
.card, .course-card, .testimonial-card {
  transition: box-shadow .18s, transform .19s;
}
.mobile-menu, .cookie-banner {
  will-change: transform,opacity;
}

/* END */