/* RESET & BASE STYLES */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F9F9F9;
  color: #173359;
  font-family: 'Roboto', Arial, sans-serif;
  min-height:100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #2FDBB3;
  text-decoration: none;
  transition: color 0.18s;
  font-weight:500;
}
a:hover, a:focus {
  color: #173359;
  text-decoration: underline;
}
button, input[type="submit"] {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.16s, box-shadow 0.24s;
}
ul, ol {
  padding-left: 1.15em;
}

/* TYPOGRAPHY */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.125rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #173359;
  margin-bottom: 20px;
  line-height:1.18;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #173359;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #2FDBB3;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
p, ul li, ol li {
  font-size: 1rem;
  line-height: 1.7;
  color: #173359;
  margin-bottom:10px;
}
.subheadline {
  font-size: 1.18rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2FDBB3;
  font-weight:500;
  margin-bottom:18px;
}
strong, b {
  font-weight: 700;
  color: #173359;
}

/* CONTAINER & SECTION LAYOUTS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 24px 0 rgba(47,219,179,0.11), 0 1px 2px 0 rgba(23,51,89,0.04);
  padding: 28px 24px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  .content-wrapper, .text-section {
    padding: 16px 8px;
    gap: 18px;
  }
}

/* MAIN NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #173359;
  padding: 10px 32px;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 6px 18px 0 rgba(23, 51, 89, 0.07);
  z-index: 30;
}
.main-nav img {
  height: 50px;
  margin-right: 22px;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-transform:uppercase;
  letter-spacing:0.03em;
  border-radius: 16px;
  padding: 8px 16px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:not(.btn-primary):hover, .main-nav a:focus {
  background: #2FDBB3;
  color: #173359;
}
.btn-primary {
  background: #2FDBB3;
  color: #173359 !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(47,219,179,0.22);
  padding: 10px 24px;
  border: none;
  margin-left: 12px;
  transition: background 0.21s, color 0.14s, transform 0.12s;
  position: relative;
  overflow: hidden;
  z-index:2;
}
.btn-primary:hover, .btn-primary:focus {
  background: #173359;
  color: #fff !important;
  transform: translateY(-2px) scale(1.03);
}

/* Hamburger / Mobile Nav */
.mobile-menu-toggle {
  display: none;
  z-index: 100;
  background: #2FDBB3;
  color: #173359;
  font-size: 2rem;
  border-radius: 12px;
  padding: 8px 16px;
  margin-left: auto;
  transition: background 0.14s, color 0.17s;
  border: 2px solid #173359;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #173359;
  color: #2FDBB3;
  border-color: #2FDBB3;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100vw;
  background: #173359ee;
  box-shadow: 0 8px 32px 0 rgba(23, 51, 89, 0.32);
  z-index: 101;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.77,0,0.175,1);
  padding: 36px 24px 24px 24px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: #2FDBB3;
  color: #173359;
  border-radius: 12px;
  padding: 8px 16px;
  border: 2px solid #173359;
  margin-bottom: 12px;
  transition: background 0.16s, color 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #173359;
  color: #2FDBB3;
  border-color: #2FDBB3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  color: #fff;
  padding: 12px 0 12px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.19s, color 0.19s;
  width: 100%;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #2FDBB3bb;
  color: #173359;
}
@media (max-width: 1024px) {
  .main-nav {
    padding: 10px 8px;
    font-size: 0.95rem;
  }
  .main-nav img {
    height: 42px;
    margin-right:12px;
  }
}
@media (max-width: 850px) {
  .main-nav a:not(.btn-primary), .main-nav .btn-primary {
    font-size: 0.98rem;
    padding: 6px 10px;
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin: 8px 12px 0 auto;
  }
  .mobile-menu {
    padding: 24px 10px 10px 20px;
  }
}

/* HERO SECTION */
.hero {
  background: #2FDBB3;
  color: #173359;
  min-height: 62vh;
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 0 0 56px 56px;
  box-shadow: 0 8px 43px 0 rgba(47,219,179,0.09),0 1.5px 2.5px 0 rgba(23,51,89,0.11);
  margin-bottom: 40px;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 35vh;
}
.hero .content-wrapper {
  gap: 18px;
}
.hero h1 {
  color: #173359;
  font-size: 2.8rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  background: linear-gradient(90deg, #173359 60%, #08c8be 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.hero .btn-primary {
  margin-top: 10px;
  font-size: 1.18rem;
  letter-spacing:0.01em;
}
@media (max-width: 768px) {
  .hero {
    min-height: 38vh;
    border-radius: 0 0 28px 28px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: 1.7rem;
    margin-bottom: 10px;
  }
}

/* FLEX GRID SYSTEMS */
.content-grid,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 12px;
}
.feature-grid {
  gap:24px;
}
@media (max-width: 1150px) {
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 980px) {
  .content-grid, .feature-grid {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .content-grid, .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* UNIVERSAL CARDS & FEATURE ITEMS*/
.feature, .card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 24px 0 rgba(23,51,89,0.08);
  padding:32px 30px 26px 30px;
  flex: 1 1 265px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 220px;
  max-width: 357px;
  margin-bottom: 20px;
  margin-right:0;
  position: relative;
  border:3px solid #F9F9F9;
  transition: box-shadow 0.22s, border 0.18s, transform 0.16s;
  overflow: hidden;
}
.feature img {
  width: 36px;
  height: 36px;
  margin-bottom:6px;
}
.feature:hover, .feature:focus-within, .card:hover, .card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(23,51,89,0.15),0 2px 8px 0 rgba(47,219,179,0.15);
  border:3px solid #2FDBB3;
  transform: translateY(-4px) scale(1.013);
}
.feature h3, .card h3 {
  margin-bottom: 6px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Testimonial Cards */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 26px 22px 26px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(23,51,89,0.13),0 1px 2px 0 rgba(47,219,179,0.09);
  min-width: 250px;
  max-width: 420px;
  flex:1 1 220px;
  margin-bottom:20px;
  color: #173359;
  border-left: 6px solid #2FDBB3;
  transition: border 0.22s, box-shadow 0.21s;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  color:#173359;
}
.testimonial-card span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.97rem;
  color: #939ea9;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-left: 6px solid #173359;
  box-shadow: 0 7px 26px 0 rgba(23,51,89,0.18),0 3px 8px 0 rgba(47,219,179,0.22);
}
@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    gap: 16px;
  }
}

/* CLIENT LOGOS */
.client-logos {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-top:8px;
}
.client-logos img {
  height: 36px;
  opacity: 0.84;
  filter: grayscale(0.1) brightness(1.1);
  transition: filter 0.19s;
}
.client-logos img:hover {
  filter: grayscale(0) brightness(1.3) drop-shadow(0 2px 10px #2FDBB3);
}
@media (max-width: 768px) {
  .client-logos {
    gap: 16px;
  }
}

/* CTA SECTION */
.section:last-child, .cta-section {
  background: #173359;
  border-radius:32px;
  color: #fff;
  box-shadow: 0 3px 18px 0 rgba(47,219,179,0.08);
  padding:40px 20px;
}
.section:last-child h2, .cta-section h2 {
  color: #2FDBB3;
}
.section:last-child .btn-primary, .cta-section .btn-primary {
  background: #2FDBB3;
  color: #173359 !important;
  box-shadow: 0 2px 14px 0 rgba(47,219,179,0.19);
  margin-top:14px;
}
.section:last-child .btn-primary:hover, .cta-section .btn-primary:hover {
  background: #fff;
  color: #173359 !important;
}

/* TEXT/IMAGE SECTION */
.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;
}

/* CARD CONTAINER (for possible custom section layouts) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

/* FOOTER */
footer {
  background: #173359;
  color: #fff;
  padding: 40px 0 10px 0;
  border-radius: 38px 38px 0 0;
  position: relative;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #2FDBB3;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius:7px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #2FDBB3;
  color: #173359;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items:center;
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Roboto', Arial, sans-serif;
  opacity:0.92;
}
.footer-contact img {
  height:20px;
  width:20px;
  opacity:0.85;
}
.footer-copy {
  text-align: center;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.97rem;
  color: #93b7cd;
}
@media (max-width: 768px) {
  footer {
    border-radius: 18px 18px 0 0;
    padding: 26px 0 8px 0;
  }
  .footer-contact {
    flex-direction: column;
    gap: 10px;
    font-size:0.99rem;
  }
}

/* LISTS IN TEXT SECTIONS */
.text-section ul, .text-section ol {
  background: none;
  margin:8px 0 10px 0;
  padding-left: 28px;
}
.text-section li {
  font-size:1rem;
  margin-bottom:7px;
}
@media (max-width: 768px) {
  .text-section ul, .text-section ol {
    padding-left: 20px;
  }
  .text-section li {
    font-size: 0.96rem;
  }
}

/* MAP LOCATION SECTION */
.map-location {
  background: #fff;
  border-radius: 10px;
  padding: 24px 20px;
  margin-top: 12px;
  box-shadow: 0 2px 10px 0 rgba(23,51,89,0.06);
}

/* BLOG CATEGORY LISTS */
.content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap:16px;
  margin-bottom:12px;
  margin-top:8px;
}
.content-wrapper ul li {
  list-style: none;
}
.content-wrapper ul li a {
  background: #2FDBB3;
  color: #173359;
  font-size: 0.98rem;
  padding: 7px 16px;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.18s, color 0.17s;
  font-weight:600;
}
.content-wrapper ul li a:hover {
  background: #173359;
  color: #2FDBB3;
}

/* FORMS (for future extension, e.g. newsletter) */
input, textarea, select {
  background: #F9F9F9;
  color: #173359;
  border: 2px solid #2FDBB3;
  border-radius: 10px;
  font-size:1rem;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border 0.16s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #173359;
  outline: none;
}

/* ANIMATIONS */
@keyframes artFadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.section, .card, .feature, .testimonial-card, .btn-primary {
  animation: artFadeInUp 0.85s cubic-bezier(0.31,1.02,0.4,1);
}

/* ARTISTIC TOUCHES */
.section, .feature, .testimonial-card, .card {
  position: relative;
}
.feature:before {
  content: "";
  display: block;
  position: absolute;
  top: -16px;
  right: -16px;
  width: 44px;
  height: 44px;
  background: rgba(47,219,179,0.17);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.feature:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -12px;
  left: -14px;
  width: 28px;
  height: 28px;
  background: rgba(23,51,89,0.11);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.card:before {
  content: "";
  display: block;
  position: absolute;
  top: -18px;
  left: -14px;
  width: 31px;
  height: 31px;
  background: rgba(23,51,89,0.13);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 97vw;
  max-width: 520px;
  background: #fff;
  color: #173359;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -3px 22px 1px rgba(23,51,89,0.17),0 1px 2px 0 rgba(47,219,179,0.09);
  z-index: 22222;
  padding: 26px 14px 14px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
  animation: artFadeInUp 0.5s cubic-bezier(0.4,1,0.2,1);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  background: #2FDBB3;
  color: #173359;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 9px;
  padding: 8px 20px;
  border:none;
  transition: background 0.18s, color 0.14s;
  font-size: 0.97rem;
  box-shadow: 0 2px 8px 0 rgba(47,219,179,0.15);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #173359;
  color: #2FDBB3;
}
.cookie-banner .cookie-btn.settings {
  background: #F9F9F9;
  color: #173359;
  border:2px solid #2FDBB3;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #173359;
  color: #2FDBB3;
}
@media (max-width:600px) {
  .cookie-banner {
    width: 99vw;
    max-width: 99vw;
    padding: 16px 8px 10px 8px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-btns {
    flex-direction: column;
    gap: 7px;
    margin-top: 3px;
  }
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  top: 0; left:0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,17,30,0.67);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  z-index: 22223;
  animation: artFadeInUp 0.30s cubic-bezier(0.5,1.15,0.3,1);
  pointer-events:auto;
}
.cookie-modal .cookie-modal-content {
  width: 96vw;
  max-width: 400px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -3px 24px 0 rgba(23,51,89,0.19);
  padding: 32px 22px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}
.cookie-modal .cookie-modal-close {
  align-self: flex-end;
  font-size: 1.5rem;
  background: #2FDBB3;
  color: #173359;
  border-radius: 10px;
  padding: 5px 12px;
  transition: background 0.16s, color 0.13s;
  border:2px solid #173359;
  margin-bottom: 6px;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #173359;
  color: #2FDBB3;
}
.cookie-modal-content h3 {
  color: #2FDBB3;
  font-size:1.14rem;
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  gap: 12px;
}
.cookie-category label {
  font-size:1rem;
  color: #173359;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 20px;
  background: #2FDBB3;
  border-radius: 20px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-toggle:checked {
  background: #173359;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width:16px;
  height:16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.19s, background 0.14s;
}
.cookie-toggle:checked::before {
  left: 22px;
  background: #2FDBB3;
}
.cookie-category.disabled {
  opacity:0.5;
  pointer-events: none;
}

@media (max-width: 540px) {
  .cookie-modal .cookie-modal-content {
    padding: 18px 6px 9px 10px;
    max-width: 98vw;
    margin-bottom:8px;
  }
}

/* SCROLLBARS */
::-webkit-scrollbar {
  width: 7px;
  background: #f2faf8;
  border-radius: 0 14px 14px 0;
}
::-webkit-scrollbar-thumb {
  background: #2FDBB3;
  border-radius: 14px;
}

/* HIGHLIGHT COLOR */
::selection {
  background: #2FDBB3;
  color: #173359;
}

/* Accessibility: Utility focus ring */
:focus-visible {
  outline: 2px solid #2FDBB3;
  outline-offset: 2px;
  z-index:2;
}

/* MISC SPACING */
.section + .section {
  margin-top: 0;
}
.feature + .feature, .card + .card, .testimonial-card + .testimonial-card {
  margin-top: 0;
}

/* Hide for print */
@media print {
  .main-nav, .mobile-menu, .cookie-banner, .cookie-modal, .footer-nav, .footer-contact {
    display: none !important;
  }
}
