/* --- CSS RESET & NORMALIZE --- */
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-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
  font-family: inherit;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: #101a2a;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
ul,ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  outline: none;
  font-family: inherit;
  cursor: pointer;
}

/* --- CUSTOM PROPERTIES --- */
:root {
  --color-primary: #174E8C;
  --color-secondary: #F4B400;
  --color-accent: #FFFFFF;
  --color-bg: #101a2a;
  --color-surface: #16233B;
  --color-card: #182a42;
  --color-neon: #38e6ff;
  --color-neon2: #00f7b6;
  --color-warning: #F4B400;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --shadow-elevated: 0 4px 24px 0 rgba(22,110,190,0.18), 0 1.5px 4px 0 rgba(20,240,255,0.06);
  --radius: 18px;
}

/* --- TYPOGRAPHY SCALE & HIERARCHY --- */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  line-height: 1.14;
  margin-bottom: 24px;
  text-shadow: 0 0 4px var(--color-neon);
}
@media (max-width: 600px) {
  h1, .h1 {
    font-size: 2rem;
  }
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-neon);
  margin-bottom: 20px;
  text-shadow: 0 0 4px var(--color-neon2);
}
@media (max-width: 600px) {
  h2, .h2 {
    font-size: 1.5rem;
  }
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
}
p, .p, li, ul, ol {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-accent);
}
strong { color: var(--color-secondary); }

/* --- LAYOUT CONTAINERS & FLEXBOX RULES --- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- SPACING & SECTION PADDING --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .section { padding: 28px 8px; margin-bottom: 40px; }
}

/* --- FLEXBOX CARD & FEATURE LAYOUTS --- */
.feature-grid,
.course-list,
.service-cards,
.testimonial-slider,
.pricing-table,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.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;
}
@media (max-width: 768px) {
  .feature-grid,
  .service-cards,
  .pricing-table,
  .testimonial-slider,
  .testimonial-list,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/************************************/
  HEADER, NAVIGATION, AND MOBILE MENU
/************************************/
header {
  width: 100%;
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-neon2);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.desktop-nav a {
  font-family: var(--font-body);
  color: var(--color-accent);
  font-size: 1rem;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  border-bottom: 2px solid var(--color-neon);
  color: var(--color-neon);
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--radius);
  border: none;
  transition: all 0.17s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  text-align: center;
  min-width: 130px;
  box-shadow: 0 2px 12px 0 rgba(20,240,255,0.08);
  margin-left: 16px;
}
.btn-primary {
  background: linear-gradient(90deg, var(--color-primary) 60%, var(--color-neon) 100%);
  color: var(--color-accent);
  text-shadow: 0 0 12px var(--color-neon2);
  border: 2px solid var(--color-neon);
  box-shadow: 0 4px 18px 0 #121c36ab;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-secondary);
  color: var(--color-bg);
  box-shadow: 0 0 18px 0 var(--color-secondary), 0 4px 24px 0 rgba(20,240,255,0.09);
}
.btn-secondary {
  background: var(--color-card);
  color: var(--color-neon);
  border: 2px solid var(--color-neon2);
  box-shadow: 0 2px 10px 0 var(--color-neon2);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-neon2);
  color: var(--color-bg);
  border-color: var(--color-secondary);
  box-shadow: 0 0 14px var(--color-neon2);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--color-neon);
  background: transparent;
  border: none;
  margin-left: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 1002;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: rgba(56, 230, 255, 0.12);
}

@media (max-width: 1023px) {
  .desktop-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 310px;
  background: var(--color-surface);
  box-shadow: -8px 0 36px -4px rgba(20,240,255,0.35);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 32px 20px 20px 20px;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.23,1.2,.32,1), opacity 0.3s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--color-neon2);
  align-self: flex-end;
  margin-bottom: 20px;
  background: transparent;
  border: none;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(20,247,182,0.16);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.15rem;
  font-family: var(--font-display);
  padding: 12px 8px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-neon2);
  color: var(--color-bg);
}

@media (max-width: 400px) {
  .mobile-menu {
    width: 100vw;
    padding: 24px 4vw 14px 4vw;
  }
}

/**********************/
  HERO & BACKGROUNDS
/**********************/
.hero {
  background: linear-gradient(120deg, #182a42 60%, #1e416b 100%);
  box-shadow: 0 8px 36px -12px var(--color-primary);
  min-height: 370px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 340px;
}
.hero .content-wrapper {
  flex: 1 1 0;
  align-items: flex-start;
  gap: 12px;
}
.hero h1 {
  color: var(--color-secondary);
  text-shadow: 0 0 18px var(--color-neon), 0 2px 4px #000 inset;
}
.hero p {
  font-size: 1.18rem;
  color: var(--color-accent);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 240px;
    margin-bottom: 40px;
    background: #16233B;
  }
  .hero .container {
    min-height: 180px;
    padding: 0 12px;
  }
}

/***********************/
  CARDS, BADGES & SERVICES
/***********************/
.card,
.service-card,
.testimonial-card,
.accordion-item {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevated);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow 0.17s, transform 0.17s, border-color 0.17s;
  border: 0.5px solid rgba(56,230,255,0.08);
}
.card:hover, .service-card:hover, .testimonial-card:hover, .accordion-item:hover {
  box-shadow: 0 0 24px 2px var(--color-neon2), var(--shadow-elevated);
  transform: translateY(-4px) scale(1.02);
  border-color: var(--color-neon2);
}

.badge {
  display: inline-block;
  padding: 3px 14px;
  background: var(--color-neon2);
  color: var(--color-bg);
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 17px;
  margin-top: 4px;
  border: 1.2px solid var(--color-neon);
  box-shadow: 0 1.5px 6px #00f7b673;
}

@media (max-width: 768px) {
  .service-card, .card, .testimonial-card {
    min-width: 200px;
    width: 100%;
    padding: 18px 10px;
  }
}

/********************************/
  FEATURES & ICONS
/********************************/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: transparent;
  padding: 0 0 8px 0;
  box-shadow: none;
  border: none;
}
.feature-item img {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 2.5px 16px var(--color-neon));
  margin-bottom: 3px;
}
.feature-item h3 {
  color: var(--color-secondary);
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.feature-item p {
  color: var(--color-accent);
  opacity: 0.92;
  font-size: 0.99rem;
}

/***********************/
  TESTIMONIALS DESIGN
/***********************/
.testimonial-slider, .testimonial-list {
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  color: #22293a;
  box-shadow: 0 2px 18px 0 #00f7b658, 0 1.5px 4px 0 rgba(20,240,255,0.08);
  border-left: 6px solid var(--color-neon2);
  min-width: 220px;
  max-width: 420px;
}
.testimonial-card p {
  color: #22293a;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--color-primary);
  font-family: var(--font-body);
}

@media (max-width: 768px) {
  .testimonial-card {
    min-width: unset; max-width: unset; width: 100%;
  }
}

/***********************************/
  ACCORDION (FAQ), TEXT BLOCKS
/***********************************/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  margin-top: 16px;
}
.accordion-item h2 {
  font-size: 1.12rem;
  color: var(--color-neon);
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.accordion-item p {
  color: var(--color-accent);
  font-size: 1rem;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.contact-prompt {
  background: linear-gradient(90deg, var(--color-primary) 65%, var(--color-neon2) 100%);
  padding: 21px 20px;
  border-radius: var(--radius);
  box-shadow: 0 1.5px 12px 0 var(--color-primary), 0 1.5px 4px 0 rgba(20,240,255,0.12);
  margin-top: 20px;
}
.contact-prompt p, .contact-prompt a {
  color: #fff;
  font-size: 1.06rem;
}
.contact-prompt a {
  font-weight: 700; text-decoration: underline; color: #fff;
}
.contact-prompt a:hover { color: var(--color-warning); }

/***********************************/
  FOOTER
/***********************************/
footer {
  background: var(--color-surface);
  border-top: 2.5px solid var(--color-neon);
  color: var(--color-accent);
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 38px 20px 26px 20px;
}
.footer-nav {
  display: flex;
  gap: 20px;
}
.footer-nav a {
  font-size: 1rem;
  color: var(--color-neon);
  transition: color 0.16s;
  font-family: var(--font-body);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--color-accent);
  font-size: 0.99rem;
}
.footer-copy {
  width: 100%;
  text-align: right;
  font-size: 0.94rem;
  color: var(--color-neon2);
  margin-top: 16px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    padding: 24px 14px 14px 14px;
    align-items: flex-start;
  }
  .footer-copy {
    text-align: left;
  }
}

/***********************************/
  COOKIE BANNER & MODAL
/***********************************/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(120deg, var(--color-bg), var(--color-card) 85%);
  box-shadow: 0 -4px 22px -2px #00f7b685;
  z-index: 1200;
  padding: 20px 24px 16px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.33s;
}
.cookie-banner.hide {
  opacity: 0; pointer-events: none; visibility: hidden;
}
.cookie-banner .cookie-message {
  color: var(--color-accent);
  font-size: 0.99rem;
  flex: 1 1 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  background: var(--color-neon2);
  color: var(--color-bg);
  border: none;
  border-radius: 9px;
  padding: 8px 18px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 2px 10px 0 var(--color-neon2);
  margin-left: 0;
  transition: background 0.15s,color 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-secondary);
  color: var(--color-bg);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-neon);
  border: 2px solid var(--color-neon);
  box-shadow: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-neon2);
  color: var(--color-bg);
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  z-index: 1300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(17,34,56,0.77);
  opacity: 0; pointer-events: none; transition: opacity 0.24s;
}
.cookie-modal.open {
  opacity: 1; pointer-events: auto;
}
.cookie-modal .modal-box {
  background: var(--color-surface);
  border-radius: 14px;
  padding: 28px 25px 22px 25px;
  min-width: 280px; max-width: 96vw;
  box-shadow: 0 4px 24px 0 var(--color-neon2);
  color: var(--color-accent);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.cookie-modal .modal-box h2 {
  color: var(--color-neon);
  font-size: 1.3rem;
}
.cookie-modal .modal-category {
  display: flex; align-items: center; justify-content: space-between;
  gap: 11px; padding: 6px 0 6px 0;
  font-size: 1.07rem;
}
.cookie-modal .modal-category input[type='checkbox'],
.cookie-modal .modal-category input[type='radio'] {
  transform: scale(1.11);
  accent-color: var(--color-neon2);
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.4rem;
  color: var(--color-neon);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 7px;
  transition: background 0.18s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: rgba(56,230,255,0.18);
}
.cookie-modal .modal-actions {
  display: flex; flex-direction: row; gap: 12px; margin-top: 9px;
}
@media (max-width: 600px) {
  .cookie-banner,
  .cookie-modal .modal-box {
    padding-left: 10px; padding-right: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

/***********************************/
  MISCELLANEOUS & UTILITIES
/***********************************/
::-webkit-scrollbar {
  width: 8px; background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px;
}

.cta-final, .cta-block {
  align-items: center;
  text-align: center;
  gap: 16px;
  background: linear-gradient(90deg, var(--color-primary) 70%, var(--color-neon2) 97%);
  padding: 36px 8px;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px 0 var(--color-primary);
}
.cta-final h2, .cta-block h1 {
  color: #fff;
  text-shadow: 0 2.5px 12px var(--color-neon2);
}
.cta-final p, .cta-block p {
  color: #fff;
  font-size: 1.12rem;
}
@media (max-width: 600px){
  .cta-final, .cta-block {
    padding: 18px 4px;
  }
}

/************************************/
IMPORTANT: The following classes are required by the assignment's spacings:

.section { margin-bottom: 60px; padding: 40px 20px; }
.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; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
/************************************/

/************************************/
  RESPONSIVE MEDIA QUERIES
/************************************/
@media (max-width: 1200px) {
  .container { max-width: 990px; }
}
@media (max-width: 900px) {
  .container { max-width: 760px; gap: 10px; }
}
@media (max-width: 600px) {
  .container { max-width: 97vw; padding-left: 3vw; padding-right: 3vw; }
}

/************************************/
ANIMATIONS, HOVER EFFECTS, MICRO-INTERACTIONS
/************************************/
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.section, .card, .service-card, .testimonial-card {
  animation: fadeIn 0.7s cubic-bezier(.4,0,.2,1) 0.1s backwards;
}
.btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.21s, color 0.21s, border 0.18s, box-shadow 0.18s, transform 0.16s;
}
.btn-primary:active, .btn-secondary:active, .cookie-btn:active {
  transform: scale(0.97);
}
.card,.service-card,.testimonial-card {
  transition: box-shadow 0.18s, transform 0.17s, border-color 0.18s;
}

/****** Form styles (future-proof) ******/
input[type=text],
input[type=email],
input[type=number],
textarea, select {
  background: #192544;
  color: var(--color-accent);
  border-radius: 8px;
  border: 1.5px solid var(--color-neon2);
  font-size: 1rem;
  padding: 11px 15px;
  font-family: var(--font-body);
  margin-bottom: 16px;
  transition: border 0.19s, box-shadow 0.19s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 8px var(--color-secondary);
}

/****** Accessibility ******/
a:focus-visible, button:focus-visible, .btn-primary:focus-visible {
  outline: 2px solid var(--color-neon2);
  outline-offset: 2px;
}

/****** Utility for spacing margin between cards/sections ******/
.section > *, .content-wrapper > * {
  margin-bottom: 20px;
}
.section > *:last-child, .content-wrapper > *:last-child {
  margin-bottom: 0;
}
/* Avoid absolute positioning for content cards/text blocks, only allow for decorative overlays */
