/* ============================================================================
   CSS RESET & NORMALIZATION
============================================================================ */
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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  background: #184353;
  color: #F6F8F9;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  margin: 0;
}
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

/* ============================================================================
   CSS VARIABLES FOR FUTURISTIC TECH THEME
============================================================================ */
:root {
  --color-primary: #184353;
  --color-primary-deep: #0c2531;
  --color-secondary: #FFD176;
  --color-accent: #F6F8F9;
  --color-neon-blue: #38D7FF;
  --color-neon-purple: #9D66FF;
  --color-neon-green: #6FFFFF;
  --color-dark: #111625;
  --color-white: #FFFFFF;
  --color-grey: #B8C2CF;
  --color-success: #1EB980;
  --color-error: #E4574D;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ============================================================================
   BODY & TYPOGRAPHY
============================================================================ */
body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, #184353 40%, #0c2531 100%);
  color: var(--color-accent);
  font-size: 16px;
  letter-spacing: 0.02em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(56,215,255, 0.18), 0 2px 12px rgba(157,102,255, 0.10);
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.85rem; }

p, ul, ol, li {
  font-family: var(--font-body);
  color: var(--color-accent);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

strong, b {
  color: var(--color-neon-blue);
  font-weight: 600;
}

/* ============================================================================
   CONTAINER AND LAYOUT CLASSES
============================================================================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.content-wrapper.text-section {
  align-items: center;
  text-align: center;
  gap: 14px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #132C3A;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 18px 0 rgba(56,215,255, 0.08), 0 2px 24px 0 rgba(24,67,83,0.08);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow 0.22s cubic-bezier(0.45,0.04,0.55,0.95), transform 0.15s cubic-bezier(0.45,0.04,0.55,0.95);
  will-change: box-shadow, transform;
}
.card:hover {
  box-shadow: 0 4px 32px 4px #38D7FF44, 0 6px 36px 8px #9D66FF22;
  transform: translateY(-4px) scale(1.02);
  border: 1px solid var(--color-neon-blue);
  z-index: 2;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.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;
}

/* ============================================================================
   HEADER / NAVIGATION / MOBILE MENU
============================================================================ */
header {
  background: #101F2A;
  border-bottom: 2px solid #192C3A;
  box-shadow: 0 2px 8px 0 rgba(24, 67, 83, 0.14);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 18px;
}
.logo img {
  height: 44px;
  width: auto;
  vertical-align: middle;
  filter: drop-shadow(0 2px 12px #38D7FF33);
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 4px;
  color: var(--color-accent);
  font-size: 1.05rem;
  border-bottom: 2.5px solid transparent;
  transition: color 0.17s, border-color 0.19s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-neon-blue);
  border-bottom: 2.5px solid var(--color-neon-blue);
}

/* GET STARTED PRIMARY BUTTON */
.btn.btn-primary {
  font-family: var(--font-display);
  background: linear-gradient(90deg, #38D7FF 37%, #9D66FF 100%);
  color: #101F2A;
  border: none;
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px 0 #38D7FF33;
  margin-left: 16px;
  transition: background 0.2s, color 0.16s, box-shadow 0.18s, transform 0.16s;
  outline: none;
  position: relative;
  z-index: 1;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: linear-gradient(90deg, #6FFFFF 20%, #9D66FF 100%);
  color: #101F2A;
  box-shadow: 0 8px 32px 0 #6FFFFF44, 0 2px 16px 0 #9D66FF33;
  transform: translateY(-2px) scale(1.04);
}

/* HAMBURGER MENU (MOBILE NAV) */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--color-neon-blue);
  margin-left: 18px;
  transition: color 0.18s;
  z-index: 40;
}
.mobile-menu-toggle:hover {
  color: var(--color-neon-green);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 360px;
  height: 100vh;
  background: #101F2A;
  box-shadow: -4px 0 24px 0 #38D7FF22;
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.61, .33, .37, .9);
  display: flex;
  flex-direction: column;
  padding: 40px 30px 30px 24px;
  gap: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 1.92rem;
  color: var(--color-neon-blue);
  background: none;
  border: none;
  align-self: flex-end;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #18435333;
  color: var(--color-neon-green);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  padding: 10px 12px;
  border-radius: 9px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-neon-blue);
  color: #101F2A;
}

/* Hide main nav and show hamburger on mobile */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .btn.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 10px;
  }
}

/* Show main nav on desktop */
@media (min-width: 993px) {
  .mobile-menu {
    display: none!important;
  }
}

/* ============================================================================
   HERO SECTIONS
============================================================================ */
.hero {
  background: linear-gradient(110deg, #184353 70%, #38D7FF 140%);
  padding: 56px 0 56px 0;
  box-shadow: 0 8px 32px 0 #9D66FF0C;
  border-bottom: 2px solid #38D7FF22;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}
@media (max-width: 768px) {
  .hero {
    padding: 32px 0 38px 0;
  }
  .hero .content-wrapper {
    gap: 10px;
    align-items: flex-start;
  }
}

/* ============================================================================
   FEATURES / CARDS / SERVICES / FLEX BASED
============================================================================ */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-top: 20px;
}
.feature {
  background: #142C39;
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 #38D7FF18;
  padding: 32px 22px;
  flex: 1 1 270px;
  min-width: 235px;
  margin-bottom: 20px;
  transition: border 0.16s, box-shadow 0.13s, transform 0.13s;
  border: 1.5px solid transparent;
  position: relative;
}
.feature img {
  height: 40px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 12px #38D7FF33);
}
.feature:hover {
  border: 1.5px solid var(--color-neon-blue);
  box-shadow: 0 6px 32px 8px #38D7FF33;
  transform: translateY(-2px) scale(1.03);
  z-index: 1;
}
.feature h3 {
  color: var(--color-neon-blue);
  margin-bottom: 7px;
}
.features-grid .feature:last-child,
.feature:last-child {
  margin-right: 0;
}

.services-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 18px;
}
.service-card {
  background-color: #142C39;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 #38D7FF17;
  padding: 28px 24px;
  flex: 1 1 250px;
  min-width: 222px;
  margin-bottom: 20px;
  border: 1.5px solid #132c3a;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.20s cubic-bezier(.21,.62,.36,1.07), border 0.16s;
  position: relative;
}
.service-card:hover {
  box-shadow: 0 8px 28px 0 #6FFFFF33, 0 2px 16px 0 #9D66FF22;
  border: 1.5px solid var(--color-neon-blue);
  z-index: 2;
  transform: translateY(-3px) scale(1.03);
}
.service-card h3 {
  color: var(--color-neon-blue);
}
.service-price {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.13rem;
  margin-top: 8px;
}

/* ============================================================================
   TESTIMONIALS
============================================================================ */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  min-width: 260px;
  background: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 #132C3A11, 0 2px 16px 0 #FFD17608;
  color: #13313F;
  margin-bottom: 20px;
  border: 1.5px solid #38D7FF33;
  transition: box-shadow 0.19s cubic-bezier(.35,.7,.31,1.06), transform 0.13s;
  position: relative;
  z-index: 1;
}
.testimonial-card:hover {
  box-shadow: 0 10px 40px 0 #38D7FF28, 0 6px 36px 0 #9D66FF13;
  transform: translateY(-2px) scale(1.02);
  border: 1.5px solid var(--color-neon-blue);
}
.testimonial-card p {
  color: #13313F;
  font-size: 1.08rem;
  line-height: 1.6;
  font-family: var(--font-body);
}
.testimonial-meta {
  font-size: 0.99rem;
  color: #184353;
}
.stars {
  display: inline-block;
  color: #FFD176;
  margin-left: 10px;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
}

/* ============================================================================
   TABLES (Program Comparison etc.)
============================================================================ */
table {
  width: 100%;
  border-collapse: collapse;
  background: #13313F;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
}
thead tr {
  background: #0c2531;
}
th, td {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-body);
  color: #F6F8F9;
}
th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-secondary);
}
tr {
  border-bottom: 1px solid #213f4980;
}
tr:last-child {
  border-bottom: none;
}

/* ============================================================================
   CTA and FOOTER
============================================================================ */
.text-section {
  align-items: center;
  text-align: center;
  gap: 18px;
  margin-top: 8px;
}

footer {
  background: #13313F;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 2px solid #184353aa;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 600;
  padding: 4px 2px;
  transition: color 0.16s, border-bottom 0.12s;
  border-bottom: 2.5px solid transparent;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-neon-blue);
  border-bottom: 2.5px solid var(--color-neon-blue);
}

.footer-info {
  text-align: center;
  font-size: 0.96rem;
  color: var(--color-grey);
}

/* ============================================================================
   CONTACT DETAILS / LOCATION MAP
============================================================================ */
.contact-details p, .location-map p {
  color: var(--color-accent);
}
.contact-details a {
  color: var(--color-neon-blue);
  text-decoration: underline;
  transition: color 0.15s;
}
.contact-details a:hover {
  color: var(--color-neon-green);
}

/* ============================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST)
============================================================================ */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding-left: 16px;
    padding-right: 16px;
  }
  .features-grid, .services-cards, .testimonials-grid {
    gap: 14px;
  }
}

@media (max-width: 850px) {
  .features-grid, .services-cards, .testimonials-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature,
  .service-card,
  .testimonial-card {
    min-width: 0;
    width: 100%;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .section, .hero {
    padding: 20px 0 24px 0;
  }
  .content-wrapper,
  .content-wrapper.text-section {
    gap: 10px;
    padding: 0;
    text-align: left;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .features-grid, .services-cards, .testimonials-grid {
    flex-direction: column;
    gap: 12px;
  }
  footer {
    margin-top: 25px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .footer-nav {
    gap: 10px;
    font-size: 0.97rem;
    flex-direction: column;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
}

@media (max-width: 540px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .logo img {
    height: 36px;
  }
  .feature, .service-card, .testimonial-card {
    padding: 17px 10px;
  }
}

/* ============================================================================
   HOVER, FOCUS, MICRO-INTERACTIONS
============================================================================ */
a, button, .btn {
  outline: none;
  transition: color 0.18s, background 0.18s, box-shadow 0.18s, border 0.13s;
}
a:focus, button:focus, .btn:focus {
  box-shadow: 0 0 0 2px #38D7FF66;
}

/* ============================================================================
   COOKIE CONSENT BANNER
============================================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #132C3A;
  color: #F6F8F9;
  box-shadow: 0 -4px 24px 0 #38D7FF22;
  padding: 20px 8vw 18px 8vw;
  z-index: 120;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  column-gap: 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s cubic-bezier(0.6, 0.26, 0.47, 0.97), transform 0.37s cubic-bezier(.56,.68,.27,.98);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 9px 21px;
  margin: 0 2px;
  background: linear-gradient(90deg, #38D7FF 42%, #9D66FF 100%);
  color: #101F2A;
  box-shadow: 0 2px 12px 0 #38D7FF44;
  transition: background 0.17s, color 0.17s, box-shadow 0.12s, transform 0.13s;
  cursor: pointer;
}
.cookie-banner button.cookie-settings {
  background: #FFD176;
  color: #184353;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: linear-gradient(90deg, #6FFFFF 18%, #9D66FF 90%);
  color: #111625;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px #38D7FF22;
}
/* MOBILE RESPONSIVE COOKIE BANNER */
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 18px;
    padding: 18px 10px 12px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 13px;
    width: 100%;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(24, 67, 83, 0.91);
  z-index: 121;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #F6F8F9;
  color: #184353;
  padding: 38px 28px 24px 28px;
  border-radius: 20px;
  box-shadow: 0 8px 48px #38D7FF38, 0 2px 24px #9D66FF22;
  min-width: 300px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalbounce .46s cubic-bezier(.63,.16,.45,1.24);
}
@keyframes modalbounce {
  0% { transform: scale(0.9) translateY(70px); opacity:0; }
  55% { transform: scale(1.03) translateY(-8px); opacity:.92; }
  100% { transform:scale(1) translateY(0); opacity:1; }
}
.cookie-modal h2, .cookie-modal h3 {
  color: #184353;
  text-shadow: none;
}
.cookie-modal-choices {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
}
.cookie-category input[type="checkbox"] {
  appearance: none;
  width: 23px; height: 23px;
  border-radius: 7px;
  border: 2px solid #38D7FF;
  background: #FFF;
  margin-right: 7px;
  vertical-align: middle;
  outline: none;
  cursor: pointer;
  transition: border 0.15s, box-shadow 0.15s;
}
.cookie-category input[type="checkbox"]:checked {
  background: linear-gradient(90deg, #38D7FF 40%, #9D66FF 100%);
  border-color: #9D66FF;
}
.cookie-category label {
  font-weight: 600;
  color: #13313F;
  font-size: 1.06rem;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-actions button {
  padding: 9px 22px;
  border-radius: 8px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  background: #38D7FF;
  color: #101F2A;
  transition: background 0.17s, color 0.18s;
  box-shadow: 0 2px 12px 0 #38D7FF44;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #6FFFFF;
  color: #0c2531;
}
@media (max-width: 600px) {
  .cookie-modal {
    min-width: unset;
    width: 95vw;
    padding: 13vw 5vw 10vw 5vw;
  }
}

/* ============================================================================
   UTILITY CLASSES
============================================================================ */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-24 { margin-top: 24px!important; }
.mt-12 { margin-top: 12px!important; }
.mb-24 { margin-bottom: 24px!important; }
.mb-16 { margin-bottom: 16px!important; }
.mb-8 { margin-bottom: 8px!important; }

/* ============================================================================
   MISC: CODE SNIPPETS, EMPHASIS, ETC.
============================================================================ */
pre, code {
  background: #111625;
  color: #6FFFFF;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 0.93rem;
  font-family: 'Fira Mono', 'Consolas', monospace;
}

/* ============================================================================
   ACCESSIBILITY: FOCUS & READABILITY
============================================================================ */
:focus-visible {
  outline: 2.5px dashed #38D7FF;
  outline-offset: 2px;
}
*::selection {
  background: #6FFFFF44;
  color: #184353;
}

/* ============================================================================
   SPECIAL: OVERRIDE FOR FORMS, TABLES, ETC.
============================================================================ */
input, textarea, select {
  background: #F6F8F9;
  border: 2px solid #9D66FF;
  color: #184353;
  font-size: 1rem;
  padding: 11px 13px;
  border-radius: 7px;
  margin-bottom: 12px;
  transition: border 0.16s;
  width: 100%;
  max-width: 450px;
}
input:focus, textarea:focus, select:focus {
  border-color: #38D7FF;
}

/* ============================================================================
   END OF STYLE.CSS
============================================================================ */
