/* RESET & NORMALIZE - MOBILE FIRST */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; border: 0; font: inherit; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd, dt, address { margin: 0; padding: 0; font-weight: normal; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; background-color: transparent; }
img, svg { max-width: 100%; display: block; height: auto; border: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
html, body { height: 100%; }
body { min-height: 100vh; -webkit-font-smoothing: antialiased; background: #F9F6F0; color: #244167; font-family: 'Roboto', Arial, sans-serif; font-size: 1rem; line-height: 1.6; }

/* ---- BASIC TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #244167;
}
h1 { font-size: 2rem; line-height: 1.15; margin-bottom: 18px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.18rem; margin-bottom: 14px; font-weight: 500; }
.subtitle { font-size: 1.125rem; color: #5c6e45; margin-bottom: 20px; font-family: 'Roboto', Arial, sans-serif; }
p, li, address { color: #3a4b30; font-size: 1rem; letter-spacing: 0.01em; }
strong { font-weight: 700; color: #294727; }

@media (min-width: 700px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.25rem; }
  p, li, address { font-size: 1.05rem; }
  .subtitle { font-size: 1.18rem; }
}
@media (min-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.5rem; }
}

/* ---- LAYOUT CONTAINERS ---- */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 38px 14px 29px 25px / 48px 36px 24px 33px;
  box-shadow: 0 2px 24px 0 rgba(87,120,45,0.06);
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
  }
  .section {
    padding: 60px 44px;
    margin-bottom: 84px;
  }
}

/* ---- FLEX GRIDS ---- */
.feature-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
  align-items: stretch;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 700px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- CARDS --- */
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 28px 12px 17px 21px/37px 21px 17px 27px;
  box-shadow: 0 2px 14px 0 rgba(117,152,93,0.11);
  transition: box-shadow 0.22s, transform 0.14s;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover,
.feature-item:hover,
.testimonial-card:hover {
  box-shadow: 0 6px 22px 0 rgba(87,120,45,0.17);
  transform: translateY(-2px) scale(1.016);
}

/* --- FEATURE ITEM --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f4f7ec;
  padding: 26px 18px;
  border-radius: 24px 10px 21px 14px/30px 16px 13px 26px;
  min-width: 230px;
  min-height: 180px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(171,189,108,0.06);
  border-left: 6px solid #A4C639;
  transition: box-shadow 0.19s, border-color 0.22s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 2px;
}
.feature-item h2, .feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #244167;
}
.feature-item .price {
  font-size: 1.15rem;
  color: #294727;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* --- FLEXIBLE SECTIONS --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 20px; }
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 20px 22px;
  background: #fff;
  border-radius: 22px 10px 21px 14px/28px 18px 13px 22px;
  box-shadow: 0 1.5px 10px 0 rgba(171,189,108,0.09);
  margin-bottom: 20px;
  max-width: 560px;
  border-left: 5px solid #A4C639;
  color: #244167;
  font-family: 'Roboto', Arial, sans-serif;
  transition: box-shadow 0.19s;
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #244167;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: #294727;
  opacity: 0.98;
}

/* --- FAQ ACCORDION --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #f4f7ec;
  border-radius: 17px 8px 14px 11px/21px 17px 13px 19px;
  padding: 18px 18px 8px 18px;
  box-shadow: 0 1.5px 7px 0 rgba(171,189,108,0.07);
  transition: box-shadow 0.17s;
}
.faq-item h3 {
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 1.1rem;
}
.faq-answer {
  color: #3a4b30;
  font-size: 1rem;
  padding-bottom: 7px;
}

/* ---- HEADER & NAV ---- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 24px 0 rgba(153,180,93,0.08);
  position: sticky;
  top: 0;
  z-index: 1001;
}
nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 18px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
nav > ul {
  display: flex;
  gap: 8px;
  align-items: center;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  padding: 6px;
  color: #294727;
  border-radius: 20px;
  transition: background 0.12s, color 0.16s;
}
nav ul li a:hover,
nav ul li a:focus {
  background: #A4C639;
  color: #fff;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: bold;
  padding: 10px 28px;
  background: #A4C639;
  color: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 12px 0 rgba(164,198,57,0.12);
  margin-left: 16px;
  transition: background 0.16s, transform 0.14s, box-shadow 0.16s;
  border: none;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.02em;
}
.cta-button:hover, .cta-button:focus {
  background: #244167;
  color: #fff;
  transform: translateY(-2px) scale(1.036);
  box-shadow: 0 4px 22px 0 rgba(36,65,103,0.13);
}
nav > a.cta-button {
  margin-left: 22px;
}

/* HIDE navigation for mobile */
@media (max-width: 900px) {
  nav > ul, nav > a.cta-button {
    display: none;
  }
}

/* ---- MOBILE MENU ---- */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: #244167;
  background: #F9F6F0;
  border-radius: 15px;
  margin-left: 8px;
  border: 1.5px solid #A4C639;
  transition: background .2s, border .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #A4C639;
  color: #fff;
  border: 1.5px solid #244167;
}
@media (min-width: 901px) {
  .mobile-menu-toggle { display: none; }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #f7fbef;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.72,.22,.29,1.12);
  box-shadow: -2px 0 44px 0 rgba(74,86,25, 0.13);
  padding: 0;
  /* hidden by default */
  opacity: 1;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 20px;
  font-size: 2.2rem;
  color: #244167;
  background: #f7fbef;
  border-radius: 15px;
  padding: 4px 12px 6px 12px;
  z-index: 1201;
  transition: background 0.16s, color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #A4C639;
  color: #fff;
}
.mobile-nav {
  margin: 90px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 0 44px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  padding: 12px 10px 12px 0;
  color: #294727;
  border-radius: 20px;
  transition: background 0.12s, color 0.14s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A4C639;
  color: #fff;
}
@media (min-width: 901px) {
  .mobile-menu { display: none!important; }
}

/* ---- FOOTER ---- */
footer {
  background: #244167;
  color: #fff;
  width: 100%;
  padding: 20px 0 0 0;
}
footer .container {
  padding: 0 18px 10px 18px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
footer a, footer address, footer ul li a {
  color: #fff;
  transition: color 0.14s;
  font-size: 1rem;
}
footer ul {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
footer ul li a:hover {
  text-decoration: underline;
  color: #A4C639;
}
footer address {
  font-style: normal;
  font-size: 0.98rem;
  opacity: 0.99;
  text-align: center;
}
footer img {
  margin-bottom: 6px;
}
@media (min-width: 850px) {
  footer .content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 54px;
    justify-content: space-between;
  }
  footer address {
    text-align: right;
  }
}

/* ---- MISC SPACING ---- */
.card, .feature-item, .testimonial-card, .text-section, .faq-item {
  margin-bottom: 20px;
}

/* --- FORM ELEMENTS --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border: 2px solid #A4C639;
  border-radius: 13px;
  padding: 9px 16px;
  background: #f4f7ec;
  margin-top: 4px;
  width: 100%;
  margin-bottom: 15px;
  font-size: 1rem;
  transition: border-color .16s, background .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #244167;
  background: #fff;
  outline: none;
}
button, .cta-button {
  transition: background 0.17s, color 0.13s, transform 0.14s, box-shadow 0.16s;
}

/* --- TABLES --- */
table { border-collapse: collapse; width: 100%; margin: 16px 0; }
th, td { text-align: left; padding: 10px 7px; border-bottom: 1px solid #e5eed9; font-family: 'Roboto', Arial, sans-serif; }
th { background: #f4f7ec; }

/* -- LOCATION MAP -- */
.location-map { display: flex; align-items: center; gap: 24px; margin: 18px 0; padding: 19px 12px; background: #f4f7ec; border-radius: 18px; }
.location-map img { width: 56px; height: 56px; }
.location-map p { font-size: 1rem; color: #5c6e45; font-style: italic; }

/* --- CONTACT DETAILS --- */
.contact-details { background: #f4f7ec; border-radius: 18px; padding: 18px 14px; margin-top: 10px; }
.contact-details ul { gap: 10px; display: flex; flex-direction: column; }
.contact-details li { font-size: 1rem; color: #294727; }

@media (min-width: 800px) {
  .contact-details { padding: 20px 26px; }
  .location-map { gap: 44px; padding: 23px 22px; }
}

/* ---- CUSTOM ELEMENTS FOR ORGANIC/NATURE STYLE ---- */
.section {
  background: #f9f6f0 url('../assets/textures/leaf-light-bg.png') repeat top left;
  background-size: 340px 340px;
}
.card, .feature-item, .testimonial-card, .faq-item {
  /* Slight organic shadow, emulating leaf edge */
  box-shadow: 0 4px 20px 0 rgba(164,198,57,0.08), 0 0.7px 1.8px 0 rgba(36,65,103,0.04);
  /* Asymmetric border radius for organic effect already applied */
}
.feature-item {
  border-left: 6px solid #A4C639;
}
.card:hover, .feature-item:hover {
  border-left: 6px solid #244167;
}

/* -- Organic List Bullets -- */
ul li::before {
  content: '';
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 13px;
  vertical-align: middle;
  border-radius: 50%;
  background: linear-gradient(140deg,#A4C639 50%,#5c6e45 100%);
}
ul li {
  margin-bottom: 10px;
  padding-left: 3px;
}

/* -- Responsive Utilities -- */
@media (max-width: 700px) {
  .footer .content-wrapper { flex-direction: column; }
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.985);
  border-top: 3px solid #A4C639;
  box-shadow: 0 -2px 18px 0 rgba(160,180,87,0.16);
  z-index: 2100;
  padding: 24px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  transition: transform 0.39s cubic-bezier(.77,.21,.13,1), opacity 0.24s;
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  color: #244167;
  font-size: 1.06rem;
  text-align: center;
}
.cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 23px;
  transition: background .14s, color .14s;
  border: none;
  min-width: 110px;
  margin-top: 3px;
}
.cookie-btn.accept {
  background: #A4C639;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #244167;
}
.cookie-btn.reject {
  background: #dee7cf;
  color: #244167;
  border: 1px solid #A4C639;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #A4C639;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #244167;
  border: 1px solid #244167;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #f4f7ec;
  color: #A4C639;
}

/* -- COOKIE PREFERENCES MODAL -- */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(44,67,103,0.14);
  z-index: 2200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.19s;
}
.cookie-modal.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  margin: 0 0 56px 0;
  background: #fff;
  border-radius: 22px 13px 18px 16px/20px 24px 18px 16px;
  max-width: 420px;
  width: 90vw;
  padding: 30px 22px 22px 22px;
  box-shadow: 0 12px 44px 0 rgba(100,162,37,0.17);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: cookie-modal-in .45s cubic-bezier(.65,.01,.29,1.02);
}
@keyframes cookie-modal-in {
  0% { transform: translateY(70%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal-content h3 {
  font-size: 1.25rem;
  color: #244167;
  margin-bottom: 5px;
}
.cookie-prefs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-pref-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 2px;
}
.cookie-pref-label {
  font-size: 1rem;
  color: #294727;
}
.cookie-pref-switch {
  width: 36px;
  height: 20px;
  position: relative;
  display: inline-block;
}
.cookie-pref-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #dee7cf;
  transition: .3s;
  border-radius: 18px;
}
.cookie-pref-switch input:checked + .cookie-slider {
  background-color: #A4C639;
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: .2s;
  border-radius: 50%;
}
.cookie-pref-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 1.5rem;
  color: #244167;
  background: transparent;
  border-radius: 8px;
  padding: 2px 7px;
  cursor: pointer;
  transition: background .13s;
}
.cookie-close:hover, .cookie-close:focus {
  background: #f4f7ec;
}

/* --- ORGANIC TEXTURE DECORATIVE OVERRIDES --- */
/* If leafy or organic SVG/textures are available, use as background-image for .section/.feature-item etc., otherwise fallback to color. */

/* --- HOVER/FOCUS/ACTIVE INTERACTIONS --- */
a, button, .cta-button, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-close {
  outline: none;
}
a:focus-visible, button:focus-visible, .cta-button:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #244167;
  outline-offset: 3px;
}

/* --- MISC --- */
::-webkit-input-placeholder { color: #8ea158; opacity: 1; }
::-moz-placeholder { color: #8ea158; opacity: 1; }
:-ms-input-placeholder { color: #8ea158; opacity: 1; }
::placeholder { color: #8ea158; opacity: 1; }

hr {
  border: none;
  border-top: 1.5px solid #e5eed9;
  margin: 30px 0;
}

/* --- RESPONSIVE SECTIONS --- */
@media (max-width: 600px) {
  .container { padding: 0 9px; }
  .content-wrapper, .card-container, .feature-grid, .content-grid {
    flex-direction: column!important;
    gap: 15px;
  }
  .section { padding: 22px 6px; margin-bottom: 32px; }
}

/* --- Z-INDEX LAYERS (for header, mobile nav, cookie banner/modal) --- */
header { z-index: 1001; }
.mobile-menu { z-index: 1100; }
.cookie-banner { z-index: 2100; }
.cookie-modal { z-index: 2200; }

/* --- ANIMATIONS AND TRANSITIONS --- */
.section, .feature-item, .card, .testimonial-card { transition: box-shadow 0.22s, transform 0.13s; }
.cookie-banner, .cookie-modal, .mobile-menu { transition: transform 0.33s cubic-bezier(.78,.13,.34,1.18), opacity 0.18s;
}

/* --- PRINT & SELECT DISABLE --- */
@media print { .mobile-menu, .cookie-banner, .cookie-modal { display: none!important; } }
section {
  padding: 15px;
}
/* --- END OF STYLE.CSS - EduFinSibiu --- */
