/* 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, 
main, 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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #193847;
  background: #fff;
  min-height: 100vh;
}
* {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  border-style: none;
}
a {
  color: #176278;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2e99b7;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #176278;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.8rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }
p { font-size: 1rem; margin-bottom: 15px; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(23,98,120, 0.07);
}

/* HEADER & NAVIGATION */
header {
  background: #E3F8FC;
  border-bottom: 4px solid #6EC1E4;
  box-shadow: 0 2px 6px rgba(23,98,120,0.02);
  position: relative;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: #176278;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a.cta-primary {
  background: #176278;
  color: #fff;
  padding: 10px 22px;
  border-radius: 22px;
  font-size: 1.1rem;
  box-shadow: 0 2px 12px rgba(23,98,120,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: #6EC1E4;
  color: #176278;
}
.main-nav a:hover:not(.cta-primary), .main-nav a:focus:not(.cta-primary) {
  background: #6EC1E4;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: #176278;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2001;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #6EC1E4;
  color: #176278;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #e3f8fc;
  box-shadow: 0 8px 32px rgba(23,98,120,.20);
  z-index: 2100;
  padding: 0 0;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.4,0.6,0.5,1.2);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0vw);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #176278;
  font-size: 2.2rem;
  border: none;
  padding: 20px 20px 8px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #6EC1E4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #176278;
  background: #E3F8FC;
  border-radius: 8px;
  padding: 16px 0;
  width: 80vw;
  text-align: center;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #6EC1E4;
  color: #fff;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO */
.hero {
  background: linear-gradient(120deg, #E3F8FC 30%, #fff 100%);
  padding-top: 56px;
  padding-bottom: 56px;
  border-radius: 0 0 40px 40px;
  position: relative;
  margin-bottom: 44px;
  box-shadow: 0 6px 32px 0 rgba(110,193,228,.10);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 640px;
  gap: 18px;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #176278;
  letter-spacing: 0.04em;
}
.hero p {
  font-size: 1.2rem;
  color: #245c67;
  margin-bottom: 20px;
}

/* CTA Buttons */
.cta-primary {
  background: #176278;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  border: none;
  border-radius: 22px;
  padding: 12px 30px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(23,98,120,0.07);
  transition: background 0.2s, color 0.2s, transform 0.12s, box-shadow 0.16s;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #6EC1E4;
  color: #176278 !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 28px rgba(23,98,120,0.13);
}

/* FLEX STRUCTURE & GEOMETRIC LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 9px rgba(23,98,120,0.07);
  padding: 32px 22px 24px 22px;
  min-width: 240px;
  transition: box-shadow .22s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(23,98,120,0.12);
  transform: translateY(-4px);
}
.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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* Feature Grid / Iconic Features */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0 0 12px 0;
}
.feature-grid li {
  flex: 1 1 210px;
  min-width: 210px;
  background: #f8fdff;
  border: 1.5px solid #d4edf8;
  border-radius: 20px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 9px rgba(23,98,120, 0.04);
  transition: box-shadow .22s, border-color .18s;
}
.feature-grid li:hover {
  border-color: #6EC1E4;
  box-shadow: 0 8px 28px rgba(23,98,120,0.12);
}
.feature-grid img {
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
}
.feature-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #176278;
}
.feature-grid p {
  color: #245c67;
  text-align: center;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Service Cards (services.html) */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  margin-bottom: 20px;
}
.service-card {
  flex: 1 1 230px;
  min-width: 230px;
  background: #f8fdff;
  border: 1.5px solid #d4edf8;
  border-radius: 18px;
  padding: 30px 18px 18px 18px;
  box-shadow: 0 2px 10px rgba(23,98,120,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  transition: box-shadow .20s, border-color .16s;
}
.service-card:hover {
  border-color: #6EC1E4;
  box-shadow: 0 8px 32px rgba(23,98,120,0.11);
}
.service-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}
.service-card h3 {
  margin-bottom: 8px;
}
.service-card p {
  text-align: center;
  color: #193847;
}

.benefits-list {
  margin-top: 14px;
}

/* Testimonials */
.testimonial-slider, .testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #193847;
  padding: 24px 24px 18px 24px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(23,98,120,0.11);
  min-width: 260px;
  max-width: 370px;
  border-left: 6px solid #6EC1E4;
  position: relative;
  margin-bottom: 20px;
}
.testimonial-card blockquote, .testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  color: #176278;
  margin-bottom: 8px;
}
.testimonial-card .star-ratings {
  font-size: 1.3rem;
  color: #FFC927;
  letter-spacing: 2px;
  margin-bottom: 2px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #176278;
  font-weight: 600;
}
.testimonials-list {
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .testimonial-slider, .testimonials-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid, .service-cards {
    flex-direction: column;
    gap: 16px;
  }
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 18px;
}
.faq-item {
  background: #E3F8FC;
  border-radius: 14px;
  box-shadow: 0 2px 7px rgba(110,193,228,.07);
  padding: 22px 16px 16px 16px;
  position: relative;
  margin-bottom: 10px;
  transition: box-shadow 0.15s;
}
.faq-item h3 {
  font-size: 1.1rem;
  color: #176278;
  margin-bottom: 6px;
}
.faq-item p {
  color: #193847;
}
.faq-item:focus-within, .faq-item:hover {
  box-shadow: 0 6px 20px rgba(23,98,120,0.11);
}

.faq-contact p {
  margin-bottom: 0;
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  margin-top: 14px;
}
.pricing-table th, .pricing-table td {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  padding: 14px 8px;
  text-align: left;
  border-bottom: 1.8px solid #E3F8FC;
}
.pricing-table th {
  background: #E3F8FC;
  color: #176278;
}
.pricing-table td {
  background: #fff;
  color: #2a4554;
}
.price-disclaimer {
  font-size: 0.95rem;
  color: #2e99b7;
  margin-top: 8px;
}

/* CONTACT / MAP */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 1.07rem;
}
.contact-info img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
}
.contact-info a {
  color: #176278;
  font-weight: 600;
}

.map-embed {
  margin-top: 18px;
}

/* Thank You Section */
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  text-align: center;
  background: #E3F8FC;
  border-radius: 32px;
  box-shadow: 0 2px 12px rgba(23,98,120,0.04);
}
.thank-you .cta-primary {
  margin-top: 26px;
}

/* CTA SECTION */
.cta {
  background: #176278;
  color: #fff;
  border-radius: 26px;
  padding: 44px 24px;
  text-align: center;
  margin-bottom: 60px;
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: #E3F8FC;
}

/* Footer Styles */
footer {
  background: #1d4151;
  color: #E3F8FC;
  padding: 44px 0 20px 0;
  border-top: 5px solid #176278;
  margin-top: 40px;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-brand img {
  width: 70px;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #E3F8FC;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 4px 0;
  border-radius: 5px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #176278;
  background: #E3F8FC;
}
.footer-contact {
  font-size: 0.98rem;
  color: #E3F8FC;
  margin-bottom: 16px;
  line-height: 1.7;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -4px;
}
.footer-social {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
}
.footer-social a img {
  width: 32px;
  height: 32px;
  transition: filter .16s, transform .16s;
  filter: grayscale(40%) contrast(1.25);
}
.footer-social a:hover img {
  filter: grayscale(0%) contrast(1.4);
  transform: scale(1.12) rotate(-6deg);
}
.footer-copy {
  flex-basis: 100%;
  color: #aad1e0;
  font-size: 0.93rem;
  margin-top: 20px;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2500;
  width: 100vw;
  background: #E3F8FC;
  box-shadow: 0 -4px 22px rgba(23,98,120,0.12);
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6vw 22px 6vw;
  font-size: 1.05rem;
  border-top: 3.5px solid #6EC1E4;
  transition: transform .24s;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner.hide {
  display: none !important;
}
.cookie-banner .cookie-text {
  color: #193847;
  flex: 2 1 240px;
  margin-right: 15px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-shrink: 0;
  align-items: center;
}
.cookie-banner button {
  border: none;
  padding: 8px 22px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  cursor: pointer;
  transition: background 0.16s, color 0.14s, box-shadow 0.15s;
  outline: none;
}
.cookie-accept {
  background: #176278;
  color: #fff;
  box-shadow: 0 2px 9px rgba(23,98,120,0.07);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #6EC1E4;
  color: #176278;
}
.cookie-reject {
  background: #fff;
  color: #176278;
  border: 1.5px solid #176278;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #E3F8FC;
}
.cookie-settings {
  background: #6EC1E4;
  color: #176278;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #fff;
  color: #176278;
  border: 1.5px solid #6EC1E4;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    padding: 20px 10px 20px 10px;
    gap: 18px;
    align-items: flex-start;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
    flex-wrap: wrap;
  }
}

/* Cookie Preferences Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom:0;
  background: rgba(23,98,120,0.19);
  z-index: 2600;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.29s;
}
@keyframes fadeInModal {
  0% { opacity:0; }
  100% { opacity:1; }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(23,98,120,0.15);
  padding: 32px 20px 24px 20px;
  max-width: 95vw;
  min-width: 280px;
  width: 400px;
  color: #176278;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popupUp .32s cubic-bezier(0.3,0.7,0.3,1.18);
}
@keyframes popupUp {
  0% { transform: translateY(42px) scale(0.92); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-content h3 {
  margin-bottom: 3px;
  font-size: 1.3rem;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.09rem;
}
.cookie-modal-content .cookie-modal-buttons {
  display: flex;
  gap: 12px;
}
.cookie-modal-content .cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #2a4554;
  cursor: pointer;
  line-height: 1em;
  transition: color 0.18s;
}
.cookie-modal-content .cookie-modal-close:hover, .cookie-modal-content .cookie-modal-close:focus {
  color: #176278;
}
.cookie-modal-content input[type=checkbox] {
  accent-color: #176278;
  width: 20px;
  height: 20px;
  margin: 0;
}

/* MODAL Category Descriptions */
.cookie-category-desc {
  margin-left: 36px;
  font-size: 0.97rem;
  color: #2e99b7;
  margin-bottom: 8px;
}

/* MICRO-EFFECTS */
button, .cta-primary, [role=button], a.button {
  cursor: pointer;
  user-select: none;
  outline: none;
}
button:focus, .cta-primary:focus, a.button:focus {
  box-shadow: 0 0 0 3px #6EC1E4;
}

/* GEOMETRIC DECORATIVE ACCENTS */
.card::after {
  content: '';
  position: absolute;
  right: -14px; bottom: -14px;
  width: 38px;
  height: 38px;
  border-radius: 10px 0px 18px 0;
  background: #E3F8FC;
  opacity: 0.6;
  z-index: 1;
}
.service-card::after, .feature-grid li::after {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  width: 22px; height: 22px;
  border-radius: 0 0 16px 0;
  background: #6EC1E4;
  opacity: 0.070;
  z-index: 1;
}

/* VISUAL HIERARCHY & SPACING */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 8px !important;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.36rem; }
  .hero { padding: 32px 0 38px 0; border-radius: 0 0 22px 22px; }
  .section { padding: 26px 6px; border-radius: 10px; }
  .cta { padding: 30px 8px; border-radius: 18px; }
  .card, .service-card, .feature-grid li, .testimonial-card { min-width: 0; }
}

/* TYPOGRAPHY HIERARCHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
body, p, ul, li, td, th, label {
  font-family: 'Open Sans', Arial, sans-serif;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
  background: #E3F8FC;
}
::-webkit-scrollbar-thumb {
  background: #6EC1E4;
  border-radius: 8px;
}

/* HIDE LAST SECTION BOTTOM MARGIN ON MOBILE */
@media (max-width: 600px) {
  .section:last-child { margin-bottom: 22px; }
}

/* UTILITY CLASSES */
.hide {
  display: none !important;
}

@media (max-width: 500px) {
  .footer-brand img { width: 54px; }
  .footer-contact { font-size: 0.91rem; }
  .footer-copy { font-size: 0.81rem; }
}

/* PRINT STYLES */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .section, .content-wrapper { box-shadow: none !important; background: #fff !important; }
  body { background: #fff; color: #000; }
}
