/* ============================ */
/*      CSS RESET + NORMALIZE    */
/* ============================ */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background-color: #183C4D;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #F9F7F3;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #4CB8C4;
  text-decoration: none;
  transition: color .2s;
}
a:hover,
a:focus {
  color: #00fff6;
  outline: none;
}
ul, ol {
  padding-left: 24px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #1B465D;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}
th {
  background: #4CB8C4;
  color: #183C4D;
  font-weight: 700;
}
td {
  border-bottom: 1px solid #2D5661;
}

/* ============================ */
/*            TYPOGRAPHY        */
/* ============================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #F9F7F3;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.12;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
}

p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #F7FAFC;
}
.section p,
.section li {
  font-size: 1.05rem;
}
strong {
  font-weight: 700;
  color: #fff;
}

/* ============================ */
/*            LAYOUT            */
/* ============================ */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
main {
  padding-top: 48px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  position: relative;
  z-index: 1;
}

/* Hero backgrounds - fallback to accent if inline BG not present */
.hero {
  background: linear-gradient(120deg, #183C4D 60%, #1B465D 100%);
  padding: 56px 0 44px 0;
  min-height: 330px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  max-width: 680px;
}
.success {
  background: linear-gradient(120deg, #4CB8C4 10%, #183C4D 90%);
  padding: 56px 0 44px 0;
  display: flex;
  align-items: center;
  min-height: 260px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Feature Grids */
.feature-grid,
.step-grid,
.team-list,
.program-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  align-items: stretch;
}
.step-grid {
  gap: 20px;
}

.feature-item,
.step-item,
.team-member,
.program-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #1B465D;
  border-radius: 16px;
  box-shadow: 0 4px 36px rgba(76, 184, 196, 0.06), 0 1.5px 4px rgba(0,0,0,0.07);
  padding: 24px 20px 24px 20px;
  position: relative;
  margin-bottom: 20px;
  border: 1.5px solid #2DD8E3;
  transition: box-shadow .22s, border-color .18s;
}
.feature-item img,
.step-item img,
.program-card img {
  max-width: 46px;
  filter: drop-shadow(0 0 5px #00fff6cc);
  margin-bottom: 6px;
}
.feature-item:hover,
.step-item:hover,
.program-card:hover {
  box-shadow: 0 8px 32px #1bf5e14d, 0 2px 8px #1bf5e121;
  border-color: #00fff6;
}

/* Card Containers */
.card-container,
.card-grid {
  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;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  min-width: 240px;
  min-height: 156px;
  border-radius: 18px;
  background: #F9F7F3;
  color: #183C4D;
  box-shadow: 0 2px 16px #00fff622, 0 0.5px 2px #183C4D19;
  border: 2px solid #4CB8C4;
  margin-bottom: 20px;
  margin-right: 20px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.18s;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 4px 28px #4cb8c433, 0 2px 8px #2DD8E366;
  border-color: #2DD8E3;
}
.testimonial-card p {
  color: #183C4D !important;
}
.testimonial-meta {
  font-size: 0.98rem;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #183C4D;
}
.testimonial-meta strong {
  color: #183C4D;
  font-weight: 700;
}
.testimonial-slider, .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}

.program-cards {
  gap: 24px;
}
.program-card {
  background: #1B465D;
  border-radius: 16px;
  box-shadow: 0 2px 16px #2DD8E324, 0 0.5px 2px #183C4D19;
  padding: 22px 18px 22px 22px;
  min-width: 220px;
  min-height: 136px;
  transition: box-shadow 0.17s, border-color 0.18s;
  border: 1.5px solid #2DD8E3;
}
.program-card:hover {
  box-shadow: 0 6px 24px #2DD8E344, 0 2px 8px #2DD8E321;
  border-color: #4CB8C4;
}
.item-tags, .tag {
  background: #4CB8C4;
  color: #183C4D;
  border-radius: 999px;
  font-size: 0.87rem;
  padding: 2px 12px;
  margin-left: 4px;
  margin-top: 4px;
  display: inline-block;
  font-weight: 600;
}
.program-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.team-list {
  gap: 24px;
}
.team-member {
  background: #142932;
  border-radius: 15px;
  box-shadow: 0 1px 7px #2DD8E311;
  border: 1.2px solid #4CB8C4;
  padding: 20px 17px 20px 20px;
  min-width: 220px;
  transition: box-shadow .18s, border-color .15s;
}
.team-member:hover {
  box-shadow: 0 12px 22px #2DD8E322;
  border-color: #00fff6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #162b37;
  border-radius: 11px;
  padding: 18px 22px;
  border: 1.2px solid #4CB8C4;
  box-shadow: 0 2px 8px #2DD8E311;
  transition: box-shadow .16s, border-color .12s;
}
.faq-item:hover {
  box-shadow: 0 6px 18px #2DD8E333;
  border-color: #00fff6;
}

.achievement-highlights {
  background: #F9F7F3;
  color: #183C4D;
  border-radius: 14px;
  padding: 16px 22px;
  margin-top: 18px;
}
.achievement-highlights h3 {
  color: #183C4D;
  margin-bottom: 10px;
}

/* ============================ */
/*          HEADER/NAV          */
/* ============================ */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  background: #183C4D;
  box-shadow: 0 2px 12px #1bf5e105;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding-top: 0;
  padding-bottom: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #F9F7F3;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 5px;
  transition: background .2s, color .2s;
  position: relative;
}
.main-nav a.cta {
  background: linear-gradient(90deg, #4CB8C4 60%, #2DD8E3 100%);
  color: #183C4D;
  font-weight: 700;
  box-shadow: 0 1px 6px #2DD8E322;
  border: none;
  margin-left: 12px;
  letter-spacing: 0.01em;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #2DD8E3;
  color: #183C4D;
}
.main-nav a.cta:hover,
.main-nav a.cta:focus {
  background: #00fff6;
  color: #142932;
  box-shadow: 0 2px 8px #00fff644;
}
header img {
  height: 42px;
  margin-right: 28px;
}

/* Hamburger */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #4CB8C4;
  cursor: pointer;
  margin-left: 20px;
  display: none;
  z-index: 120;
  transition: color .18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #00fff6;
}

/* Hide main navigation on mobile */
@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============================ */
/*        MOBILE MENU           */
/* ============================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 330px;
  height: 100vh;
  background: #101e24;
  box-shadow: -2px 0 22px #4CB8C444;
  z-index: 1200;
  transform: translateX(105%);
  transition: transform 0.34s cubic-bezier(.67,.12,.46,1.18);
  display: flex;
  flex-direction: column;
  padding: 36px 26px 24px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #4CB8C4;
  font-size: 2.2rem;
  position: absolute;
  top: 20px;
  right: 24px;
  cursor: pointer;
  z-index: 1201;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #00fff6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}
.mobile-nav a {
  color: #F9F7F3;
  font-size: 1.2rem;
  letter-spacing: 0.012em;
  padding: 11px 4px 11px 6px;
  border-radius: 9px;
  transition: background .17s, color .15s;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #2DD8E3;
  color: #183C4D;
}

@media (min-width: 951px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============================ */
/*           BUTTONS            */
/* ============================ */
.cta,
button,
input[type="submit"] {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  padding: 12px 28px;
  border: none;
  border-radius: 7px;
  background: linear-gradient(90deg, #4CB8C4 60%, #2DD8E3 100%);
  color: #183C4D;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 1px 5px #1bf5e10c;
  transition: background 0.19s, color 0.15s, box-shadow 0.17s, transform 0.18s;
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 12px;
}
.cta.primary {
  background: linear-gradient(90deg, #2DD8E3 40%, #00fff6 100%);
  color: #183C4D;
}
.cta:hover,
.cta:focus,
button:hover,
button:focus {
  background: #00fff6;
  color: #183C4D;
  box-shadow: 0 2px 10px #00fff633;
  transform: translateY(-2px) scale(1.035);
  outline: none;
}

/* ============================ */
/*           FORMS              */
/* ============================ */
input,
textarea,
select {
  font-family: 'Open Sans', Arial, sans-serif;
  border: 1.5px solid #4CB8C4;
  border-radius: 7px;
  background: #142932;
  color: #F9F7F3;
  padding: 11px 15px;
  font-size: 1rem;
  margin-top: 8px;
  margin-bottom: 22px;
  outline: none;
  transition: border-color .18s, box-shadow .17s;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #2DD8E3;
  box-shadow: 0 2px 10px #2DD8E322;
}

label {
  display: block;
  font-size: 1rem;
  color: #F9F7F3;
  margin-top: 12px;
  margin-bottom: 3px;
}

/* ============================ */
/*          FOOTER              */
/* ============================ */
footer {
  background: #101e24;
  color: #4CB8C4;
  padding: 54px 0 24px 0;
  margin-top: 54px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand img {
  height: 54px;
}
.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links a {
  color: #4CB8C4;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color .17s;
}
.footer-links a:hover,
.footer-links a:focus {
  color: #00fff6;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
}
.footer-contact img {
  display: inline-block;
  height: 19px;
  width: 18px;
  margin-right: 9px;
  vertical-align: middle;
}
@media (max-width: 950px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
  }
}

/* ============================ */
/*      COOKIE CONSENT BANNER    */
/* ============================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  background: #142932;
  color: #F9F7F3;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -2px 14px #00fff622;
  flex-wrap: wrap;
  gap: 15px;
  animation: cookieBannerSlideIn 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 3px solid #4CB8C4;
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner-content {
  font-size: 1rem;
  max-width: 680px;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  padding: 8px 19px;
  font-size: 1rem;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background .12s, color .15s;
}
.cookie-accept {
  background: #2DD8E3;
  color: #183C4D;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #00fff6;
  color: #142932;
}
.cookie-reject {
  background: #F66E6E;
  color: #fff;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #bf2929;
}
.cookie-settings {
  background: #183C4D;
  color: #4CB8C4;
}
.cookie-settings:hover,.cookie-settings:focus {
  background: #28586E;
  color: #00fff6;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1400;
  left: 0; right:0; top:0; bottom:0;
  background: rgba(24,60,77,0.64);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalOverlayIn .23s cubic-bezier(0.4,0,0.2,1);
}
@keyframes modalOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #F9F7F3;
  color: #183C4D;
  border-radius: 16px;
  min-width: 310px;
  max-width: 95vw;
  box-shadow: 0 8px 28px #2DD8E333, 0 1.5px 8px #183C4D19;
  padding: 38px 26px 34px 26px;
  position: relative;
  animation: modalScaleIn .21s cubic-bezier(0.3,1.4,0.6,1);
}
@keyframes modalScaleIn {
  from { transform: scale(0.93); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #4CB8C4;
  cursor: pointer;
}
.cookie-cat {
  margin-top: 15px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-switch {
  margin-left: 8px;
  appearance: none;
  width: 36px;
  height: 20px;
  background: #d9fafb;
  outline: none;
  border-radius: 12px;
  position: relative;
  transition: background 0.22s;
  cursor: pointer;
}
.cookie-switch:checked {
  background: #2DD8E3;
}
.cookie-switch:before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 1px 2px #183C4D14;
  position: absolute;
  top: 1px; left: 1px;
  transition: left 0.23s;
}
.cookie-switch:checked:before {
  left: 17px;
  background: #183C4D;
}

/* ============================ */
/*      ANIMATIONS/EFFECTS      */
/* ============================ */
a, button, .cta, .program-card, .feature-item, .step-item, .team-member, .testimonial-card, .faq-item {
  transition: box-shadow 0.18s, background 0.16s, color 0.12s, transform 0.16s, border-color 0.16s;
}

/* Neon Glows for Tech/Futuristic Flavor */
.feature-item, .program-card, .step-item {
  box-shadow: 0 0 0px #00fff600, 0 1px 6px #2DD8E327;
}
.feature-item:hover, .program-card:hover, .step-item:hover {
  box-shadow: 0 0 8px #00fff66a, 0 2px 11px #2DD8E344;
}

.achievement-highlights, .testimonial-card {
  box-shadow: 0 2px 16px #00fff622, 0 1.5px 6px #2DD8E344;
  border-color: #4CB8C4;
}

/* ============================ */
/*      SPACING DETAILS         */
/* ============================ */
.section:not(:last-child) {
  margin-bottom: 60px !important;
}
.card, .feature-item, .program-card, .step-item, .team-member, .faq-item {
  margin-bottom: 20px;
}

/* ============================ */
/*      RESPONSIVE DESIGN       */
/* ============================ */
@media (max-width: 1150px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 950px) {
  main {
    padding-top: 40px;
  }
  .hero, .success {
    padding: 34px 0;
    min-height: 180px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .section {
    padding: 30px 12px;
  }
  .feature-grid,
  .program-cards,
  .step-grid,
  .team-list,
  .testimonial-slider {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .content-grid, .card-container, .card-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
  }
  header .container {
    height: 60px;
  }
}
@media (max-width: 680px) {
  body {
    font-size: 0.97rem;
  }
  h1 {
    font-size: 1.38rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .section {
    padding: 18px 5px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-brand img {
    height: 40px;
  }
}

/* ============================ */
/*        VISUAL ELEMENTS       */
/* ============================ */

/* Gradient outline hover effect for CTAs */
.cta:after {
  content: '';
  display: block;
  border-radius: 7px;
  box-shadow: 0 0 12px #00fff633, 0 0 4px #2DD8E322;
  opacity: 0;
  transition: opacity .21s;
}
.cta:hover:after {
  opacity: 1;
}

/* Add glowing accent line to h2 */
h2 {
  position: relative;
  padding-bottom: 5px;
}
h2:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, #2DD8E3 55%, #00fff6 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px #2DD8E333;
}

/* List Items Custom Accent */
ul li, ol li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 14px;
}
ul li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: radial-gradient(circle, #00fff6 55%, #4CB8C4 100%);
  border-radius: 50%;
  box-shadow: 0 0 6px #00fff677;
}

/* Tables */
table {
  box-shadow: 0 2px 16px #2DD8E322;
  border-radius: 10px;
  overflow: hidden;
}
tr:nth-child(even) td {
  background: #153046;
}

/* ============================ */
/*      UTILITY CLASSES         */
/* ============================ */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }

/* ============================ */
/*         END OF MAIN CSS      */
/* ============================ */
