/* RESET & BASE STYLES --------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  font-family: Roboto, Arial, sans-serif;
  scroll-behavior: smooth;
  background: #F6F5F0;
  color: #263340;
}
body {
  min-height: 100vh;
  background: #F6F5F0;
  font-size: 1rem;
  line-height: 1.7;
  color: #2E3856;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1DA291;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.65,0,.35,1);
}
a:hover, a:focus {
  color: #114A78;
}
main {
  flex: 1 0 auto;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #114A78;
  line-height: 1.15;
  margin-bottom: 0.5em;
}
h1 { font-size: 2.6rem; font-family: 'Montserrat', Arial, sans-serif; }
h2 { font-size: 2rem; color: #1DA291; font-family: 'Montserrat', Arial, sans-serif; }
h3 { font-size: 1.35rem; color: #114A78; }
h4 { font-size: 1.1rem; }
.subheadline {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1DA291;
  font-size: 1.20rem;
  margin-bottom: 1.0em;
  letter-spacing: 0.01em;
  font-weight: 500;
}
strong, b { color: #114A78; font-weight: 700; }
ul, ol {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
  padding-left: 1.25em;
  color: #324165;
}
li {
  margin-bottom: 0.3em;
}

/* CONTAINER & FLEX LAYOUTS -------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 12px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 28px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
  .container {
    padding: 0 8px;
  }
}

/* FLEXBOX GRIDS -------------------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 22px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(17,74,120,0.10), 0 0.5px 1px rgba(60,74,90,0.02);
  padding: 28px 20px 22px 20px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
  transition: box-shadow 0.3s, transform 0.3s;
  border-left: 6px solid #1DA291;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px rgba(17,74,120,0.14), 0 2px 8px rgba(29,162,145,0.12);
  transform: translateY(-6px) scale(1.02) rotate(-1.1deg);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}

.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 {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    min-width: unset;
    width: 100%;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

/* CARD & ITEM STYLES --------------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1px 8px rgba(17,74,120,0.08);
  padding: 28px 19px 22px 19px;
  transition: box-shadow 0.25s;
  flex: 1 1 240px;
}
.card:hover {
  box-shadow: 0 10px 32px rgba(29,162,145,0.18);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* TESTIMONIAL STYLES --------------------------------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F6F5F0;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(17,74,120,0.06);
  color: #222e3b;
  padding: 20px;
  margin-bottom: 20px;
  gap: 20px;
  border-left: 6px solid #1DA291;
  transition: box-shadow 0.2s;
}
.testimonial-card strong {
  color: #114A78;
  font-size: 1rem;
  margin-top: 2px;
  font-weight: 700;
}
.testimonial-card p {
  color: #263340;
  font-size: 1.1rem;
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px rgba(17,74,120,0.10);
}

/* BUTTONS --------------------------------------------------------------------- */
.button {
  display: inline-block;
  padding: 12px 34px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  background: #1DA291;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 1px 6px rgba(17,74,120,0.08);
  letter-spacing: 0.015em;
  transition: background 0.22s, color 0.22s, box-shadow 0.2s, transform 0.14s;
}
.button.primary {
  background: #1DA291;
  color: #fff;
}
.button.primary:hover, .button.primary:focus {
  background: #114A78;
  color: #fff;
  box-shadow: 0 4px 18px rgba(17,74,120,0.12);
  transform: translateY(-2px) scale(1.03);
}
.button.secondary {
  background: #fff;
  color: #1DA291;
  border: 2px solid #1DA291;
}
.button.secondary:hover, .button.secondary:focus {
  background: #1DA291;
  color: #fff;
  border: 2px solid #1DA291;
}
.button:active {
  transform: scale(0.97) translateY(1px);
}

@media (max-width: 480px) {
  .button {
    font-size: 0.98rem;
    padding: 11px 16px;
  }
}

/* HEADER & NAVIGATION --------------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(17,74,120,0.07);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding-top: 13px;
  padding-bottom: 13px;
}
header img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  margin-left: 28px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #114A78;
  font-weight: 600;
  font-size: 1.09rem;
  position: relative;
  padding: 6px 10px;
  border-radius: 16px;
  transition: color 0.16s, background 0.14s;
}
header nav a.active, 
header nav a:hover, 
header nav a:focus {
  color: #fff;
  background: #1DA291;
}
header .button.primary {
  margin-left: 16px;
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  header .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 12px;
    margin-left: 12px;
  }
}
@media (max-width: 768px) {
  header nav, header .button.primary {
    display: none !important;
  }
  header .container {
    padding: 8px 4px;
  }
}

/* MOBILE NAV ------------------------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 21px;
  right: 22px;
  z-index: 110;
  width: 46px;
  height: 46px;
  background: #1DA291;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(17,74,120,0.07);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, box-shadow 0.19s, transform 0.13s;
}
.mobile-menu-toggle:active {
  background: #114A78;
  transform: scale(0.97);
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 340px;
  max-width: 90vw;
  background: #fff;
  box-shadow: -4px 0 36px rgba(17,74,120,0.16);
  z-index: 130;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.68,-0.6,.32,1.6), box-shadow 0.22s;
  display: flex;
  flex-direction: column;
  padding: 36px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -12px 0 64px rgba(17,74,120,0.22);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: #1DA291;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: background 0.17s, transform 0.13s;
  z-index: 1001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #114A78;
}
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 60px;
}
.mobile-menu .mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  color: #114A78;
  padding: 12px 0 12px 0;
  border-radius: 8px;
  transition: background 0.13s, color 0.17s;
}
.mobile-menu .mobile-nav a:active, 
.mobile-menu .mobile-nav a:hover, 
.mobile-menu .mobile-nav a:focus {
  background: #1DA29122;
  color: #1DA291;
}
@media (max-width: 480px) {
  .mobile-menu {
    width: 100vw;
    padding: 24px 11px 11px 11px;
  }
  .mobile-menu .mobile-nav {
    margin-top: 44px;
  }
}

/* HERO / CTA SECTION ---------------------------------------------------------- */
.section.hero, section.hero {
  background: #fff;
  box-shadow: 0 1px 16px rgba(29,162,145,0.08);
}
.section.hero .container {
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* DECORATIVE ACCENTS (for creative/artistic spirit) -------------------------- */
/* Example: some visual flair behind H1 */
h1::after {
  content: '';
  display: block;
  width: 76px;
  height: 5px;
  background: #1DA291;
  border-radius: 4px;
  margin: 22px auto 0 auto;
  opacity: 0.37;
}

/* TEXT-BLOCKS UNDER CREATIVE_ARTISTIC THEME ----------------------------------- */
.text-section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(29,162,145,0.05);
  padding: 28px 22px 16px 22px;
  color: #222e3b;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (max-width: 600px) {
  .text-section {
    padding: 14px 7px 8px 7px;
  }
}

/* FOOTER ---------------------------------------------------------------------- */
footer {
  background: #114A78;
  color: #F6F5F0;
  box-shadow: 0 -2px 18px rgba(17,74,120,0.08);
  margin-top: 80px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 20px 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #F6F5F0;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.2s;
}
footer nav a:hover,footer nav a:focus {
  color: #1DA291;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.96rem;
  color: #E3F5F0;
}
.footer-contact img {
  display: inline-block;
  height: 17px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}
footer img {
  height: 48px;
  width: auto;
  margin-bottom: 11px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 700px) {
  footer .container {
    padding-top: 18px;
    padding-bottom: 12px;
  }
  footer img {
    height: 36px;
  }
}

/* COOKIE CONSENT BANNER ------------------------------------------------------- */
#cookie-banner, .cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #114A78;
  box-shadow: 0 -4px 22px rgba(17,74,120,0.18);
  padding: 24px 22px 18px 22px;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  animation: cookieDown 0.5s;
}
@media (max-width: 700px) {
  #cookie-banner, .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 13px 7px 12px 7px;
  }
}
@keyframes cookieDown {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1 1 60%;
  font-size: 1.05rem;
  margin-bottom: 7px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  border: none;
  outline: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 16px;
  font-size: 1rem;
  cursor: pointer;
  padding: 10px 22px;
  margin: 0;
  transition: background 0.15s, color 0.13s, transform 0.12s;
}
.cookie-banner .accept {
  background: #1DA291;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #114A78;
}
.cookie-banner .reject {
  background: #fff;
  color: #1DA291;
  border: 2px solid #1DA291;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #1DA291;
  color: #fff;
}
.cookie-banner .settings {
  background: #114A78;
  color: #fff;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #1DA291;
  color: #fff;
}

/* COOKIE MODAL --------------------------------------------------------------- */
#cookie-modal, .cookie-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17,74,120,0.20);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 48px rgba(17,74,120,0.19);
  padding: 32px 32px 24px 32px;
  max-width: 380px;
  width: 95vw;
  color: #114A78;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalScaleIn 0.4s;
}
@keyframes modalScaleIn {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal .modal-header h2 {
  font-size: 1.33rem;
  color: #1DA291;
  margin: 0;
}
.cookie-modal .modal-close {
  font-size: 1.5rem;
  background: transparent;
  border: none;
  color: #1DA291;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.1s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #E5F3F0;
}
.cookie-modal .modal-section {
  margin-bottom: 9px;
  padding-bottom: 7px;
  border-bottom: 1px solid #f0f2f4;
}
.cookie-modal label {
  font-weight: 600;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #1DA291;
  margin-right: 8px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  flex-direction: row;
}
.cookie-modal .cookie-modal-actions button {
  padding: 10px 18px;
  font-size: 1rem;
}
.cookie-modal .cookie-save {
  background: #1DA291;
  color: #fff;
}
.cookie-modal .cookie-save:hover, .cookie-modal .cookie-save:focus {
  background: #114A78;
}
.cookie-modal .cookie-cancel {
  background: #fff;
  color: #1DA291;
  border: 2px solid #1DA291;
}
.cookie-modal .cookie-cancel:hover, .cookie-modal .cookie-cancel:focus {
  background: #1DA291;
  color: #fff;
}

/* ARTISTIC/CREATIVE TOUCHES -------------------------------------------------- */
h2, h3 {
  position: relative;
}
h2:before, h3:before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 7px;
  background: #F6F5F0;
  border-radius: 8px;
  margin-right: 13px;
  vertical-align: middle;
  transform: rotate(-13deg);
  box-shadow: 0 2px 9px rgba(29,162,145,0.13);
}
h3:before {
  background: #1DA291;
  opacity: 0.14;
  width: 13px;
}

@media (max-width: 768px) {
  h1, h2 { font-size: 1.52rem; }
  h3 { font-size: 1.08rem; }
  .button.primary { font-size: 1rem; }
}

/* MICRO-INTERACTIONS & ANIMATION EFFECTS ------------------------------------- */
.card, .testimonial-card, .feature-grid > div, .button, .cookie-banner, .cookie-modal-content {
  transition: box-shadow 0.22s, transform 0.22s, background 0.22s, color 0.17s;
}

/* RESPONSIVENESS ------------------------------------------------------------ */
@media (max-width: 530px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1rem; }
  .section { padding: 12px 2px; margin-bottom: 28px; }
  .content-wrapper { gap: 11px; }
}

/* ENSURE MINIMUM SPACING ---------------------------------------------------- */
.section, .content-wrapper, .feature-item, .card, .testimonial-card, .card-container > *, .feature-grid > div { margin-bottom: 20px; }
.card-container, .feature-grid, .content-grid, .text-image-section { gap: 20px; }

/* PREVENT OVERLAPPING ------------------------------------------------------- */
.card, .feature-grid > div, .testimonial-card, .text-section {
  z-index: 1;
  position: relative;
}

/* FOCUS OUTLINE FOR ACCESSIBILITY ------------------------------------------- */
:focus {
  outline: 2.5px solid #1DA291;
  outline-offset: 2px;
}

/* PRINT STYLES -------------------------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; }
}
