/* EduFin Kids Iași - tech_futuristic style.css */
/* ------------------- 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, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #1a2233;
  color: #e0f0ff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; transition: color .23s; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  background: none;
  border: none;
}
input, button, textarea { outline: none; }

/* ------------------- Brand Variables ------------------- */
:root {
  --primary: #22577A;
  --primary-rgb: 34, 87, 122;
  --secondary: #38A3A5;
  --accent: #F9F871;
  --grey-900: #1a2233;
  --grey-800: #232c3d;
  --grey-700: #31405d;
  --grey-200: #e0f0ff;
  --card-bg: #223049;
  --footer-bg: #192130;
  --testi-light: #fffde9;
  --testi-dark: #232c3d;
  --neon: #F9F871;
  --shadow-from: 0 2px 16px rgba(52,255,216, .07);
  --shadow-card: 0 4px 28px 0 rgba(56,163,165,0.08), 0 4px 16px 0 rgba(41,70,91,.10);
}

/* ------------------- Typography ------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #F9F871;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .01em;
  margin-bottom: .6em;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.35rem; }
}
p, li, ul, ol {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--grey-200);
  margin-bottom: 12px;
}
strong, b { font-weight: 700; color: var(--accent); }
em, i { font-style: italic; }

/* ------------------- Main Layout ------------------- */
.container {
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(115deg, #223049 60%, #1a2233 100%);
  border-radius: 20px;
  box-shadow: var(--shadow-from);
}
@media (max-width: 991px){
  .section {
    margin-bottom: 40px;
    padding: 28px 10px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map-placeholder {
  background: #223049;
  border-radius: 16px;
  box-shadow: var(--shadow-from);
  padding: 18px 10px;
  align-items: center;
  gap: 12px;
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

/* ------------------- Flexbox Patterns ------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  min-width: 230px;
  max-width: 310px;
  flex: 1 1 220px;
  transition: box-shadow .21s, transform .21s;
}
.feature-item img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 6px var(--neon));
}
.feature-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 34px 0 rgba(249,248,113,0.21), var(--shadow-card);
  background: linear-gradient(110deg, #223049 72%, #2c537c 100%);
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.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;
  background: var(--testi-light);
  color: var(--grey-900);
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(56,163,165,0.06);
  margin-bottom: 24px;
  min-width: 220px;
  max-width: 480px;
  flex: 1 1 210px;
  position: relative;
  transition: box-shadow .17s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 28px 0 rgba(56,163,165,0.15), 0 4px 16px 0 rgba(41,70,91,.12);
  transform: translateY(-3px) scale(1.01);
}
.testimonial-author {
  font-weight: 700;
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: auto;
  font-size: 1rem;
}
@media (max-width: 991px) {
  .card-container,
  .content-grid,
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* ------------------- Main Navigation ------------------- */
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  padding: 12px 0;
  position: relative;
}
.logo img,
.logo-footer img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--accent);
  padding: 8px 8px;
  border-radius: 6px;
  position: relative;
  transition: color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
  background: rgba(56,163,165,0.07);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.06rem;
  letter-spacing: .012em;
  background: linear-gradient(90deg, #F9F871 70%, #38A3A5 100%);
  color: #22577A;
  padding: 12px 28px;
  border-radius: 22px;
  box-shadow: 0 2px 20px 0 rgba(249,248,113,0.06);
  outline: none;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  transition: filter .14s,background .18s, color .19s, transform .09s;
  border: 2px solid #F9F871;
  text-shadow: 0 1px 6px #fffbe9;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(93deg, #38A3A5 10%, #F9F871 90%);
  color: #192130;
  filter: drop-shadow(0 3px 10px #F9F871);
  transform: translateY(-2px) scale(1.035);
}

/* ------------------- Burger Mobile Menu ------------------- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--accent);
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  transition: background .13s, color .13s, box-shadow .13s;
  box-shadow: 0 1px 8px #22304955;
  z-index: 80;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--grey-900);
}
@media (min-width: 1025px) {
  .mobile-menu-toggle { display: none; }
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
}
/* Mobile Menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(26,34,51,0.96);
  z-index: 200;
  transform: translateX(-105%);
  transition: transform 0.33s cubic-bezier(.71,-0.36,.35,1.46);
  will-change: transform;
  padding-top: 24px;
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: 0 0 0 100vw rgba(14,18,28, 0.29);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 0 26px 20px 0;
  font-size: 2.2rem;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 201;
  transition: color .17s, background .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
  background: rgba(56,163,165,0.09);
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 12px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  padding: 13px 4px;
  color: var(--neon);
  border-radius: 8px;
  transition: background .14s, color .18s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* ------------------- Services List Styles ------------------- */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.services-list li {
  background: var(--card-bg);
  border-radius: 16px;
  flex: 1 1 220px;
  padding: 26px 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 210px;
  max-width: 340px;
  transition: box-shadow .18s, transform .15s;
}
.services-list li:hover {
  box-shadow: 0 8px 36px 0 #38A3A5bb, var(--shadow-card);
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.025);
}
.service-price {
  background: #fffde9;
  color: var(--primary);
  border-radius: 10px;
  padding: 8px 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  align-self: flex-start;
  box-shadow: 0 1px 7px #F9F87133;
  margin-bottom: 4px;
}
.services-list a {
  color: var(--secondary);
  text-decoration: underline;
  font-size: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 8px;
  align-self: flex-start;
  transition: color .15s;
}
.services-list a:hover { color: var(--accent); }
@media (max-width: 991px){
  .services-list {
    flex-direction: column;
    gap: 20px;
  }
}

/* ------------------- Testimonials Slider ------------------- */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .testimonials-slider { flex-direction: column; gap: 16px; }
}

/* ------------------- Text-Image Section Responsive ------------------- */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* ------------------- Footer ------------------- */
footer {
  background: var(--footer-bg);
  padding: 34px 0 10px 0;
  border-top: 1px solid #31405d;
  margin-top: 50px;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
}
.logo-footer img {
  height: 46px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer-nav a {
  color: var(--accent);
  font-size: .98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .13s, color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: #fffde9;
}
.brand-info {
  font-size: .97em;
  color: #b6d7ef;
  font-family: 'Roboto', Arial, sans-serif;
  margin-left: auto;
}
@media (max-width: 991px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
  }
  .brand-info {
    margin-left: 0;
  }
}

/* ------------------- Cookie Consent Banner & Modal ------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, #223049 90%, #38A3A5 100%);
  color: #fff;
  z-index: 3500;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 18px 24px 18px 18px;
  box-shadow: 0 -2px 24px 0 #00000045;
  transition: transform .26s cubic-bezier(.73,0,.21,1), opacity .19s;
}
.cookie-banner .cookie-message {
  flex: 1 1 220px;
  font-size: 1.1em;
  max-width: 600px;
}
.cookie-btn {
  background: var(--accent);
  color: #22577A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border-radius: 18px;
  padding: 10px 20px;
  margin-left: 10px;
  border: 2px solid var(--accent);
  min-width: 105px;
  box-shadow: 0 1px 7px #F9F87177;
  cursor: pointer;
  transition: background .14s, color .15s, border .14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    padding: 18px 6px;
    gap: 14px;
    align-items: flex-start;
  }
  .cookie-btn { margin-left: 0; margin-top: 8px; }
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3600;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,55,70,0.74);
  justify-content: center;
  align-items: center;
  transition: opacity .2s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: var(--grey-900);
  color: #fffbe9;
  border-radius: 18px;
  box-shadow: 0 2px 36px 0 #38A3A5aa;
  padding: 42px 24px 24px 24px;
  min-width: 320px;
  max-width: 96vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: fadeInCookie .33s cubic-bezier(.25,1.1,.42,1.24);
}
@keyframes fadeInCookie {
  0% { transform: scale(.7) translateY(100px); opacity: 0.2; }
  100% { transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal h2 {
  color: var(--accent);
  font-size: 1.3em;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1.07em;
  margin-bottom: 10px;
}
.cookie-category label {
  flex: 1 1 110px;
  cursor: pointer;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--accent);
  width: 22px;
  height: 22px;
  border-radius: 7px;
}
.cookie-category .switch {
  margin-right: 7px;
}
.cookie-modal .cookie-btn {
  min-width: 95px;
  margin: 7px 7px 0 0;
}
.cookie-modal .cookie-btn:last-child { margin-right: 0; }
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent);
  cursor: pointer;
  transition: color .17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: var(--secondary); }
@media (max-width: 480px) {
  .cookie-modal { padding: 22px 9px 18px 9px; }
}

/* ------------------- Misc Element Utility ------------------- */
ul, ol {
  padding-left: 1.0em;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 7px;
}
section { margin-bottom: 50px; }
@media (max-width: 600px) {
  section { margin-bottom: 34px; }
}
.content-wrapper > * + * { margin-top: 0px; }

/* Button focus/keyboard accessibility */
button:focus-visible, a:focus-visible, .cta-btn:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

/* ------------------- Micro-Interactions/Transitions ------------------- */
.card, .feature-item, .testimonial-card, .cta-btn {
  transition: box-shadow .16s, transform .13s, background .16s, color .15s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 5px 24px 0 #F9F87133, var(--shadow-card);
}

/* ------------------- Custom Scrollbar ------------------- */
::-webkit-scrollbar { width: 8px; background: #232c3d; }
::-webkit-scrollbar-thumb { background: #38A3A5; border-radius: 4px; }

/* ------------------- Responsive Typography ------------------- */
@media (max-width: 540px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .cta-btn, .cookie-btn { font-size: .98rem; padding: 11px 18px; }
  .testimonial-card { font-size: .96em; padding: 12px; }
  .feature-item { padding: 16px 8px; }
}

/* ------------------- Accessibility Contrast for Testimonials ------------------- */
.testimonial-card,
.testimonial-card p,
.testimonial-author {
  color: #222b2f; /* dark text for highest contrast */
  background: var(--testi-light);
}

/* ------------------- Print Styles ------------------- */
@media print {
  body { background: #fff; color: #000; }
  header, footer, .mobile-menu { display: none !important; }
  .container, .section { box-shadow: none !important; background: #fff !important; }
}

/* ------------------- Hide Unused Elements (no grid/columns) ------------------- */
/* NO display:grid, NO column-* present anywhere as required. */