/* RESET & BASELINE 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, 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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #23445B;
  background: #F7F9FB;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #23445B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #7BA9C7;
  text-decoration: underline;
}
ul, ol {
  margin-left: 2em;
  padding-left: 0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', 'Georgia', serif;
  color: #23445B;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4 { font-size: 1.25rem; margin-bottom: 8px; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }
p, li {
  font-size: 1rem;
  color: #233647;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
}
.subheadline {
  font-size: 1.25rem;
  color: #23445B;
  font-weight: 400;
  margin-bottom: 24px;
  font-family: 'Georgia', 'Times New Roman', serif;
}
strong { font-weight: 700; }

/* LAYOUT CONTAINERS */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(35,68,91,0.03);
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 1px solid #E7F0F8;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.logo img {
  height: 36px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.05rem;
  padding: 8px 0;
  position: relative;
  color: #23445B;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #7BA9C7;
  transition: width .3s cubic-bezier(.4,0,.2,1);
  position: absolute;
  left: 0;
  bottom: -2px;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}

.cta-btn {
  background: #23445B;
  color: #fff;
  border: none;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.075rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 32px;
  margin-left: 24px;
  cursor: pointer;
  box-shadow: 0 2px 6px 0 rgba(35,68,91,0.08);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  outline: none;
}
.cta-btn.primary {
  background: #7BA9C7;
  color: #23445B;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #7BA9C7;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(35,68,91,0.18);
}

/* HERO */
.hero {
  background: linear-gradient(120deg, #E7F0F8 0%, #F7F9FB 100%);
  padding: 60px 0 40px;
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 18px;
}

/* FEATURES GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0 0 24px 0;
}
.feature-grid li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(123,169,199,0.08);
  padding: 28px 20px 20px 20px;
  min-width: 225px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  font-size: 1rem;
  margin-bottom: 0;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 1px solid #E7F0F8;
}
.feature-grid li img {
  height: 36px;
  width: 36px;
  margin-bottom: 6px;
}
.feature-grid li strong {
  font-size: 1.08rem;
  color: #23445B;
}
.feature-grid li:hover,
.feature-grid li:focus {
  box-shadow: 0 8px 30px 0 rgba(35,68,91,0.13);
  transform: translateY(-4px) scale(1.012);
  z-index: 2;
}

/* SERVICES LIST */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(35,68,91,0.06);
  flex: 1 1 320px;
  min-width: 260px;
  padding: 28px 24px 22px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  border: 1px solid #E7F0F8;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-item h3, .service-item h2 {
  font-size: 1.18rem;
  color: #23445B;
  margin-bottom: 7px;
  font-family: 'Georgia', serif;
}
.service-item p {
  margin-bottom: 4px;
}
.service-price {
  font-size: 1.16rem;
  font-family: 'Georgia', serif;
  color: #7BA9C7;
  background: #E7F0F8;
  padding: 7px 18px;
  border-radius: 24px;
  align-self: flex-start;
  margin-top: 8px;
  font-weight: 700;
}
.service-item:hover, .service-item:focus {
  box-shadow: 0 10px 28px 0 rgba(35,68,91,0.16);
  transform: translateY(-3px) scale(1.015);
  z-index: 1;
}

/* TESTIMONIALS */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 28px 24px 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(35,68,91,0.08);
  border: 1px solid #E7F0F8;
  max-width: 420px;
  min-width: 260px;
  margin-bottom: 20px;
  color: #23445B;
  font-size: 1.08rem;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card p {
  color: #23445B;
  font-size: 1.1rem;
}
.testimonial-card span {
  color: #7BA9C7;
  font-size: 0.97rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 10px 28px 0 rgba(35,68,91,0.17);
  transform: translateY(-3px);
  z-index: 1;
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #E7F0F8;
  padding: 22px 26px;
  box-shadow: 0 2px 8px 0 rgba(35,68,91,0.07);
  margin-bottom: 12px;
  transition: box-shadow .16s;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 4px 16px 0 rgba(35,68,91,0.14);
}

/* TEXT SECTIONS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* CARDS & UTILITIES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(35,68,91,0.07);
  border: 1px solid #E7F0F8;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

/* FOOTER */
footer {
  background: #E7F0F8;
  border-top: 1px solid #dbe4ea;
  padding: 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 22px 0;
}
.footer-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #23445B;
  font-size: 0.97rem;
  padding: 2px 0;
  border-radius: 3px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #7BA9C7;
}
.brand-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #497495;
}
.brand-info img {
  height: 28px;
  width: auto;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(35,68,91,0.06);
  border: 1px solid #E7F0F8;
  transition: box-shadow 0.18s, background 0.18s;
}
.social-links a:hover,
.social-links a:focus {
  box-shadow: 0 6px 18px 0 rgba(35,68,91,0.17);
  background: #E7F0F8;
}
.social-links img {
  height: 18px;
  width: 18px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #23445B;
  cursor: pointer;
  z-index: 1003;
  margin-left: 16px;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #E7F0F8;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 20px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #23445B;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  padding: 2px 4px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  display: block;
  color: #23445B;
  font-size: 1.18rem;
  padding: 12px 0;
  border-radius: 7px;
  font-family: 'Georgia', 'Times New Roman', serif;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #23445B;
  color: #E7F0F8;
}

/* COOKIE CONSENT BANNER */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  color: #23445B;
  box-shadow: 0 -4px 28px 0 rgba(35,68,91,0.13);
  padding: 24px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  z-index: 2000;
  transition: transform 0.4s, opacity 0.2s;
  font-size: 1rem;
}
#cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
#cookie-consent-banner .cookie-message {
  flex: 2 1 auto;
  margin-right: 12px;
}
#cookie-consent-banner .cookie-actions {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  background: #23445B;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 10px 24px;
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 700;
  margin-left: 0;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}
.cookie-btn.settings {
  background: #E7F0F8;
  color: #23445B;
}
.cookie-btn.accept {
  background: #7BA9C7;
  color: #fff;
}
.cookie-btn.reject {
  background: #F07575;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #23445B;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(35,68,91,0.14);
}

/* COOKIE MODAL */
#cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  min-width: 330px;
  max-width: 96vw;
  background: #fff;
  color: #23445B;
  border-radius: 13px;
  box-shadow: 0 10px 44px 0 rgba(35,68,91,0.22);
  z-index: 4000;
  padding: 32px 28px 24px;
  display: none;
  flex-direction: column;
  gap: 18px;
}
#cookie-modal.open {
  display: flex;
  animation: modal-in .33s cubic-bezier(.81,0,.19,1);
}
@keyframes modal-in {
  0% { transform: translate(-50%,10%) scale(0.9); opacity:0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity:1; }
}
#cookie-modal h2 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #23445B;
  font-family: 'Georgia', serif;
}
#cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 11px;
}
#cookie-modal label {
  font-family: 'Georgia', serif;
  font-size: 1rem;
}
#cookie-modal input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #23445B;
}
#cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 16px;
}
#cookie-modal .modal-close {
  background: none;
  border: none;
  color: #23445B;
  font-size: 1.6rem;
  font-weight: 700;
  position: absolute;
  right: 17px;
  top: 13px;
  cursor: pointer;
}
#cookie-modal .category-essential input {
  pointer-events: none;
}
.category-essential label {
  opacity: 0.6;
}

/* Responsive Design – Mobile First */
@media (max-width: 1200px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 900px) {
  .service-list, .feature-grid, .testimonial-slider, .testimonial-list {
    gap: 16px;
  }
  .footer .content-wrapper { gap: 10px; }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 0 18px;
  }
  .footer-nav {
    gap: 16px;
    margin-bottom: 9px;
  }
  .brand-info { margin-bottom: 0; }
  .hero .container { padding: 0 8px; }
  .hero {
    padding: 36px 0 18px;
  }
  .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .footer .social-links { margin-bottom: 0; }
  #cookie-consent-banner .cookie-message { font-size: 0.95rem; }
  #cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.96rem;
  }
}
@media (max-width: 540px) {
  html {
    font-size: 14px;
  }
  .service-item, .testimonial-card, .card {
    padding: 18px 10px 16px 12px;
    min-width: unset;
    max-width: 100%;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .brand-info img {
    height: 22px;
  }
}
@media (max-width: 430px) {
  #cookie-modal {
    padding: 18px 4px 12px;
    min-width: 170px;
  }
}

/* Additional micro-interactions */
.card, .service-item, .feature-grid li, .testimonial-card, .faq-item {
  will-change: transform;
  cursor: default;
  transition: box-shadow 0.18s, transform 0.18s, z-index 0s;
}
.card:active, .service-item:active, .feature-grid li:active, .testimonial-card:active, .faq-item:active {
  transform: scale(0.995);
  box-shadow: 0 1px 3px 0 rgba(35,68,91,0.07);
}

/* Scrollbar Styling for Elegance */
::-webkit-scrollbar {
  width: 10px;
  background: #E7F0F8;
}
::-webkit-scrollbar-thumb {
  background: #BCCEDD;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7BA9C7;
}

/* Elegant Classic Spacing for Section */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Alignment Classes for Consistency */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ------------------------------------------------
   END OF STYLE.CSS
--------------------------------------------------*/
