/* Electra Ridge Studio — vibrant_energetic CSS
   Mobile-first, flexbox-only, bold color palette, dynamic layouts
   Fonts: Montserrat (display), Roboto (body)
   Brand colors: #243359 (primary), #25B1AA (secondary), #F7F9FC (accent)
*/

/* --- RESET & BASE TYPOGRAPHY --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F7F9FC;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F7F9FC;
  color: #243359;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: 0;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 16px;
  margin-top: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #243359;
  font-weight: 700;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: #25B1AA;
}
a {
  color: #25B1AA;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #FF0078;
}

/* --- FLEX CONTAINERS & ALIGNMENT --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px 0 rgba(36,51,89,0.07);
  position: relative;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #243359;
  color: #fff;
  width: 100%;
  box-shadow: 0 4px 10px rgba(36,51,89,0.09);
}
.logo {
  height: 64px;
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
.main-nav {
  display: none;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  margin-left: auto;
  z-index: 102;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #243359;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.7, .4, 0, 1);
  z-index: 200;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #25B1AA;
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 20px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  padding: 10px 2px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #25B1AA;
  background: #fff;
}

@media (min-width: 980px) {
  .container {
    flex-direction: row;
    align-items: center;
    padding: 0 40px;
  }
  header > .container {
    min-height: 80px;
    justify-content: space-between;
  }
  .main-nav {
    display: flex;
    gap: 28px;
    margin-left: 32px;
    align-items: center;
  }
  .main-nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 7px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
  }
  .main-nav a:hover, .main-nav a:focus {
    background: #25B1AA;
    color: #243359;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* --- CTA BUTTONS --- */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  padding: 14px 30px;
  border: none;
  border-radius: 9px;
  background: #25B1AA;
  color: #fff;
  letter-spacing: 1px;
  box-shadow: 0 2px 16px rgba(37,177,170,0.18);
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.13s;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(36,51,89,0.11);
}
.cta.primary {
  background: #25B1AA;
  color: #fff;
}
.cta.secondary {
  background: #243359;
  color: #fff;
}
.cta:hover, .cta:focus {
  background: #F90F65;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px -6px #25B1AA;
}

/* --- HERO SECTIONS --- */
.hero,
.hero-thank-you {
  background: linear-gradient(95deg, #25B1AA 66%, #F7F9FC 100%);
  color: #fff;
  padding: 40px 0;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 4px 32px rgba(36,51,89,0.11);
  position: relative;
}
.hero h1,
.hero-thank-you h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 14px;
  letter-spacing: -2px;
  text-shadow: 0 4px 16px rgba(36,51,89,0.13);
}
.hero p,
.hero-thank-you p {
  color: #fff;
  font-size: 1.13rem;
  max-width: 600px;
}

@media (min-width: 768px) {
  .hero, .hero-thank-you {
    padding: 60px 0 72px 0;
  }
  .hero h1, .hero-thank-you h1 {
    font-size: 3rem;
  }
}

/* --- FEATURES / SERVICES SECTIONS --- */
.features, .features-company, .features-curriculum, .features-audience {
  background: #fff;
}
.features ul, .features-company ul, .features-curriculum ul, .features-audience ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 16px;
}
.features ul li,
.features-company ul li,
.features-curriculum ul li,
.features-audience ul li {
  flex: 1 1 210px;
  background: #F7F9FC;
  color: #243359;
  border-radius: 13px;
  box-shadow: 0 5px 26px -10px #25B1AA44;
  padding: 20px 18px 18px 18px;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 500;
  transition: box-shadow 0.22s, transform 0.16s;
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.features ul li:hover,
.features-company ul li:hover,
.features-curriculum ul li:hover,
.features-audience ul li:hover {
  box-shadow: 0 10px 28px -5px #24335977;
  transform: translateY(-8px) scale(1.03);
}
.features ul li img,
.features-company ul li img,
.features-curriculum ul li img,
.features-audience ul li img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}
@media (max-width: 767px) {
  .features ul, .features-company ul, .features-curriculum ul, .features-audience ul {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- ABOUT & TEXT SECTIONS --- */
.about-short, .about-mission, .about-why-trust, .about-methodology, .about-benefits, .about-gdpr, .about-privacy-policy, .about-cookie-policy, .about-terms {
  background: #fff;
}
.text-section {
  background: #F7F9FC;
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 3px 18px -7px #25B1AA33;
  font-size: 1rem;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.text-section h3 {
  margin-bottom: 8px;
  color: #25B1AA;
  font-weight: 700;
}
.text-section ul, .text-section ol {
  margin-left: 16px;
  margin-bottom: 0;
}

/* --- CARDS & CARD CONTAINERS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 34px;
}
.card {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 4px 32px 0 rgba(36,51,89,0.07);
  padding: 22px 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 8px 36px -2px #25B1AA88;
  transform: translateY(-4px) scale(1.02);
}

/* --- TESTIMONIALS --- */
.testimonials, .testimonials-list {
  background: #243359;
  border-radius: 18px;
  color: #fff;
}
.testimonials h2, .testimonials-list h2 {
  color: #fff;
}
.testimonial-card {
  background: #fff;
  color: #243359;
  border-radius: 14px;
  margin-bottom: 20px;
  padding: 20px 24px;
  box-shadow: 0 4px 32px 0 rgba(36,51,89,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
  min-height: 100px;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #243359;
  margin: 0 0 7px 0;
  position: relative;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-meta {
  color: #25B1AA;
  font-weight: 500;
  font-size: 1rem;
}
.testimonial-meta span {
  font-size: 1.1rem;
  color: #F90F65;
}
@media (min-width: 768px) {
  .testimonial-card {
    max-width: 600px;
  }
}

/* --- CTA SECTIONS --- */
.cta-section {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 4px 32px 0 rgba(36,51,89,0.07);
  padding: 32px 18px;
  margin-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
}
.cta-section h2 {
  font-size: 2rem;
  color: #25B1AA;
}

/* --- FOOTER --- */
footer {
  background: #243359;
  color: #fff;
  padding: 40px 0 15px 0;
  border-radius: 26px 26px 0 0;
  margin-top: 60px;
  box-shadow: 0 -2px 20px rgba(36,51,89,0.12);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #25B1AA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.97rem;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact img {
  width: 22px;
  height: 22px;
  margin-right: 5px;
  vertical-align: middle;
  display: inline-block;
}
.footer-brand {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #a4e7e3;
}
@media (max-width: 700px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 8px;
  }
}

/* --- ADDITIONAL FLEX UTILS --- */
.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;
}

/* --- LISTS & QUOTES --- */
blockquote {
  background: none;
  border-left: 5px solid #25B1AA;
  padding-left: 20px;
  font-size: 1.07rem;
  margin: 0 0 10px 0;
  color: #243359;
}
li {
  margin-bottom: 12px;
  line-height: 1.5;
}
/* Remove gap after last li */
ul li:last-child, ol li:last-child { margin-bottom: 0; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 980px) {
  .container {
    padding: 0 10px;
  }
  .card {
    padding: 19px 12px;
  }
  .section, .cta-section {
    padding: 30px 12px;
  }
  .hero, .hero-thank-you {
    padding: 28px 0;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .features ul,
  .card-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .about-short ul, .about-mission ul, .about-why-trust ul, .about-methodology ul {
    margin-left: 0 !important;
  }
  .cta-section {
    text-align: left;
    align-items: flex-start;
    padding: 20px 10px;
  }
}

/* --- MICRO-ANIMATIONS & EFFECTS --- */
.cta, button,
.card, .testimonial-card, .features ul li {
  transition: box-shadow 0.18s, background 0.17s, color 0.14s, transform 0.13s;
}
.cta:focus {
  outline: 2px solid #25B1AA;
  outline-offset: 3px;
}

/* --- FORM ELEMENTS (if any in the future) --- */
input[type="text"], input[type="email"], textarea {
  border: 2px solid #25B1AA;
  border-radius: 7px;
  padding: 12px;
  font-size: 1rem;
  width: 100%;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F7F9FC;
  margin-bottom: 20px;
  transition: border-color 0.19s;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #243359;
  outline: none;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #243359;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 2050;
  padding: 20px 14px 16px 18px;
  box-shadow: 0 -4px 24px #25B1AA55;
  font-size: 1rem;
  animation: cookie-appear 0.6s cubic-bezier(.8, .4, 0, 1);
}
@keyframes cookie-appear {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  padding: 9px 21px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  margin-top: 5px;
  transition: background 0.19s, color 0.13s;
}
.cookie-accept {
  background: #25B1AA;
  color: #fff;
}
.cookie-accept:hover {
  background: #17cf98;
}
.cookie-reject {
  background: #fff;
  color: #243359;
  border: 1.5px solid #243359;
}
.cookie-reject:hover {
  background: #F90F65;
  color: #fff;
  border: 1.5px solid #F90F65;
}
.cookie-settings {
  background: transparent;
  color: #25B1AA;
  border: 1.5px solid #25B1AA;
}
.cookie-settings:hover {
  background: #25B1AA;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,51,89,0.62);
  z-index: 2052;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fade 0.44s cubic-bezier(.8,.4,0,1);
}
@keyframes cookie-modal-fade {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #243359;
  border-radius: 15px;
  max-width: 420px;
  width: 96vw;
  padding: 32px 23px 19px 23px;
  box-shadow: 0 12px 54px rgba(37,177,170,0.20);
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
}
.cookie-modal h3 {
  color: #25B1AA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #25B1AA;
  width: 20px;
  height: 20px;
  margin: 0;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 9px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 15px;
  right: 17px;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: #25B1AA;
  cursor: pointer;
}
.cookie-modal .cookie-close:hover {
  color: #F90F65;
}

/* --- UTILITY CLASSES --- */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center !important; }
.text-accent { color: #25B1AA !important; }
.text-primary { color: #243359 !important; }

/* --- OVERLAY & Z-INDEX FOR MENU --- */
.mobile-menu,
.cookie-modal-overlay,
.cookie-banner {
  z-index: 2050;
}
header { position: relative; z-index: 10; }

/* --- BRAND PERSONALITY ACCENTS --- */
.section-accent {
  background: #25B1AA !important;
  color: #fff !important;
  box-shadow: 0 2px 16px rgba(36,51,89,0.07);
}
.section-accent h2, .section-accent h3 { color: #fff !important; }

/* --- SCROLLBAR (WEBKIT) --- */
::-webkit-scrollbar {
  height: 8px;
  width: 8px;
  background: #F7F9FC;
}
::-webkit-scrollbar-thumb {
  background: #25B1AA;
  border-radius: 6px;
}

/* --- CUSTOM SELECTION --- */
::selection {
  background: #25B1AA;
  color: #fff;
}

/* --- PRINT --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .section, .cta-section { box-shadow: none !important; background: #fff !important; }
}

/* --- FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* --- END Electra Ridge Studio CSS --- */
