/* === EduBani Timișoara Style Reset & Vars === */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #222;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
}
img, svg {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 8px;
}
a {
  color: #37517E;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #40916C;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 0.6em;
  color: #222;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; color: #37517E; letter-spacing: 0.02em; }
h2 { font-size: 2rem; color: #40916C; }
h3 { font-size: 1.25rem; color: #37517E; }

/* === Container & Layouts === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px 0 rgba(57,98,189,0.07);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(55,81,126,0.15);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(55,81,126,0.35);
  transform: translateY(-2px) scale(1.03);
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === Main Navigation === */
header {
  background: #fff;
  box-shadow: 0 2px 24px rgba(55,81,126,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  height: 72px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #37517E;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #40916C;
  color: #fff;
}
.main-nav img[alt="EduBani Timișoara"] {
  height: 40px;
  margin-right: 24px;
  vertical-align: middle;
}

/* === Mobile Menu === */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #40916C;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 10px 16px;
  margin: 0 12px 0 auto;
  cursor: pointer;
  z-index: 1300;
  transition: background 0.18s, color 0.18s, transform 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #37517E;
  color: #F3E9D2;
  transform: scale(1.05);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #37517E;
  color: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.81,0.31,0.36,0.97);
  pointer-events: none;
  opacity: 0.97;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  background: none;
  border: none;
  color: #F3E9D2;
  padding: 8px 22px 8px 8px;
  margin: 16px 0 0 0;
  cursor: pointer;
  z-index: 2200;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #52e399;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 48px 36px;
  font-size: 1.3rem;
  width: 100%;
}
.mobile-nav a {
  color: #F3E9D2;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 0 7px 0px;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  width: 100%;
  transition: background 0.2s, color 0.2s;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #40916C;
}

/* === HERO and Sectional Elements === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(64,145,108,0.08);
  display: flex;
  align-items: stretch;
  justify-content: center;
}
section .container {
  padding: 0;
}

/* === Call To Action & Buttons === */
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 16px 38px;
  margin-top: 8px;
  border: none;
  border-radius: 30px;
  background: #40916C;
  color: #F3E9D2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.07);
  box-shadow: 0 2px 10px 0 rgba(55,81,126,0.11);
  cursor: pointer;
  transition: background 0.22s, color 0.19s, box-shadow 0.18s, transform 0.15s;
  letter-spacing: 0.05em;
}
.cta-button.primary {
  background: #40916C;
  color: #fff;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #37517E;
  color: #F3E9D2;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px 0 rgba(55,81,126,0.20);
}
.cta-button:active {
  transform: scale(0.97);
}

/* === Service List / Cards === */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 0 0;
}
.service-item {
  flex: 1 1 240px;
  background: #F3E9D2;
  border-radius: 18px;
  box-shadow: 0 1px 10px 0 rgba(55,81,126,0.07);
  padding: 28px 20px 26px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.service-item:hover {
  box-shadow: 0 7px 24px 0 rgba(57,97,190,0.19);
  transform: scale(1.025);
}
.service-item h3 {
  font-size: 1.16rem;
  margin-bottom: 7px;
  color: #37517E;
}
.service-price {
  display: inline-block;
  background: #40916C;
  padding: 5px 14px;
  border-radius: 20px;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 6px;
}

/* === Features & List Items (homepage, etc.) === */
.content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0 0 0 0;
}
.content-wrapper ul li {
  font-size: 1.08rem;
  color: #222;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
.content-wrapper ul li img {
  width: 28px;
  height: 28px;
  margin-right: 3px;
  display: inline-block;
}
.content-wrapper ul li:before {
  content: '';
  display: none;
}

/* === Testimonials === */
.testimonial-card {
  background: #F3E9D2;
  color: #1b2322;
  border-radius: 16px;
  padding: 20px 32px 18px 32px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 16px rgba(55,81,126,0.07);
  max-width: 820px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.09rem;
  position: relative;
  min-width: 0;
  flex: 1 1 340px;
}
.testimonial-card blockquote {
  font-style: italic;
  font-weight: 500;
  quotes: "\201C" "\201D" "\2018" "\2019";
  margin: 0;
  color: #222;
}
.testimonial-author {
  display: block;
  margin-left: 16px;
  font-weight: bold;
  color: #40916C;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* === Footer === */
footer {
  background: #37517E;
  color: #F3E9D2;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  box-shadow: 0 -4px 32px 0 rgba(55,81,126,0.12);
  padding: 26px 0 12px 0;
  margin-top: 52px;
  position: relative;
  z-index: 950;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
  justify-content: center;
}
.footer-nav a {
  color: #F3E9D2;
  font-size: 1rem;
  transition: color 0.17s;
  text-decoration: underline dotted;
  font-weight: 600;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #52e399;
}
footer address {
  font-style: normal;
  color: #F3E9D2;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.5;
}
footer address a {
  color: #52e399;
  text-decoration: underline;
}

/* === Cookie Consent Banner & Modal === */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #37517E;
  color: #fff;
  display: flex;
  align-items: center;
  font-size: 1rem;
  padding: 24px 14px 20px 16px;
  z-index: 4000;
  box-shadow: 0 -2px 20px 0 rgba(55,81,126,0.16);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  gap: 22px;
  flex-wrap: wrap;
  transition: transform 0.34s cubic-bezier(0.71,0.35,0.38,0.88), opacity 0.18s;
}
.cookie-consent-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  margin-left: 0;
  transition: background 0.18s, color 0.18s, box-shadow 0.13s;
  box-shadow: 0 2px 10px rgba(64,145,108,0.07);
}
.cookie-btn.accept {
  background: #40916C;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #1dc27e;
  color: #F3E9D2;
}
.cookie-btn.reject {
  background: #d9376e;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #c71c57;
  color: #fff;
}
.cookie-btn.settings {
  background: #F3E9D2;
  color: #37517E;
  border: 1px solid #40916C;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fff;
}

/* === Cookie Modal === */
.cookie-modal-overlay {
  position: fixed; left: 0; right: 0; top: 0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(37,37,44,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  pointer-events: auto;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #fff;
  color: #222;
  border-radius: 22px;
  box-shadow: 0 8px 38px 0 rgba(64,145,108,0.24);
  max-width: 450px;
  width: 94vw;
  padding: 34px 22px 28px 28px;
  position: relative;
  font-size: 1.04rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.27s cubic-bezier(0.79,0.26,0.26,0.97);
}
@keyframes modalIn {
  from { transform: translateY(60px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.31rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #37517E;
  margin-bottom: 12px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 11px; right: 13px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: #40916C;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: #d9376e;
}
.cookie-category {
  margin-bottom: 8px;
  font-weight: 700;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #F3E9D2;
  border-radius: 18px;
  position: relative;
  outline: none;
  cursor: pointer;
  vertical-align: middle;
  transition: background 0.20s;
  margin-right: 8px;
  border: 1.5px solid #40916C;
}
.cookie-toggle:checked {
  background: #40916C;
  border-color: #1dc27e;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #37517E;
  box-shadow: 0 0 4px #40916C;
  transition: transform 0.18s;
}
.cookie-toggle:checked:before {
  background: #fff;
  transform: translateX(14px);
  box-shadow: 0 1px 5px #1dc27e80;
}

/* Cookie Modal Options Styling */
.cookie-categories-list {
  margin: 18px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-category-row .status {
  font-size: 0.95rem;
  color: #40916C;
  font-weight: 700;
}

.cookie-modal .cookie-buttons {
  gap: 11px;
  margin-top: 10px;
}

/* === Responsive Layouts === */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
  }
  .service-list, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
    font-size: 0.97rem;
  }
  .service-list, .card-container {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper {
    gap: 20px;
  }
  .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .service-item, .card {
    padding: 22px 14px 20px 14px;
    min-width: 0 !important;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 12px 16px 12px;
  }
  .container {
    padding: 0 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  section {
    padding: 24px 7px;
    margin-bottom: 36px;
    border-radius: 15px;
  }
  .footer-nav {
    gap: 13px;
    font-size: 0.97rem;
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.25rem;
  }
  h2 {
    font-size: 1.11rem;
  }
  .cta-button {
    font-size: 1rem;
    padding: 13px 18px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    gap: 14px;
    padding: 18px 7px 16px 10px;
    font-size: 0.98rem;
    align-items: flex-start;
  }
  .cookie-modal {
    padding: 21px 6px 14px 10px;
    max-width: 99vw;
  }
}

/* === Vibrant/Energetic Details === */
section, .service-item, .card, .testimonial-card {
  border: 2.5px solid #40916C11;
  box-shadow: 0 5px 22px 0 rgba(64,145,108,0.10);
}
.card, .service-item, .testimonial-card {
  transition: box-shadow 0.17s, border-color 0.15s;
}
.card:hover, .service-item:hover, .testimonial-card:hover {
  border-color: #40916C44;
  box-shadow: 0 8px 42px 0 rgba(57,97,190,0.26);
}
.cta-button, .cookie-btn.accept {
  background: linear-gradient(90deg,#40916C 30%,#37517E 85%);
  color: #fff;
  text-shadow: 0 2px 14px rgba(55,81,126,0.07);
}
.cta-button.primary {
  background: linear-gradient(90deg,#37517E 13%,#40916C 87%);
}
/* Extra Pops for Vibrant/Energetic */
.cta-button.primary, .cookie-btn.accept {
  box-shadow: 0 4px 20px 0 #2226  ;
}
.cta-button.primary:hover, .cookie-btn.accept:hover {
  background: linear-gradient(90deg,#40916C 20%,#37517E 88%);
}

/* === Typography === */
body, p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #1b2322;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
}
h1 {
  font-size: 2.23rem;
  letter-spacing: 0.02em;
  color: #37517E;
}
h2 {
  font-size: 1.43rem;
  color: #40916C;
}
h3 {
  font-size: 1.13rem;
  color: #37517E;
}
strong {
  font-weight: bold;
  color: #37517E;
}

/* === Highlight Brand Colors === */
::-webkit-selection { background: #37517E; color: #fff; }
::selection { background: #37517E; color: #fff; }

/* === Misc Utility Classes === */
.display-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-col { flex-direction: column !important; }
.flex-center { justify-content: center; align-items: center; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

/* === Micro-Interactions === */
.cta-button, .cookie-btn {
  transition: background 0.16s, color 0.15s, box-shadow 0.14s, transform 0.14s;
}
.cta-button:active, .cookie-btn:active {
  transform: scale(0.96);
  box-shadow: 0 3px 10px 0 #37517E32;
}

/* === Accessibility === */
button:focus, a:focus {
  outline: 2px solid #40916C;
  outline-offset: 2px;
}

/* === Spacing Utility === */
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }

/* === Hide visually === */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* === Ensuring NO Grid/Columns Used === */
/* All layout containers use ONLY flexbox as per requirement */
