/* =================================================
   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,
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;
}
html {
  line-height: 1.5;
  font-size: 16px;
  background: #fff;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F9FAFB;
  color: #205072;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  border-style: none;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* =================================================
   BRAND COLORS & VARS
   ================================================= */
:root {
  --primary: #205072;
  --secondary: #329D9C;
  --accent: #E3E8EB;
  --white: #fff;
  --gray-light: #F9FAFB;
  --gray-dark: #1b334d;
  --danger: #e74c3c;
  --success: #2ecc71;
  --shadow: 0 4px 24px 0 rgba(32,80,114,0.09);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

/* =================================================
   TYPOGRAPHY
   Creative & Artistic Fonts / Hierarchies
   ================================================= */
body {
  font-size: 16px;
  line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 0px var(--accent);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.15;
  color: var(--secondary);
  text-shadow: 1px 1px 0px var(--accent);
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary);
}
h4, h5, h6 {
  font-weight: 600;
  color: var(--secondary);
}
p, ul, li, a, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.7;
}
strong {
  font-weight: 700;
  color: var(--secondary);
}
.text-section p,
.text-section ul {
  margin-bottom: 16px;
}
.text-section ul {
  margin-left: 18px;
  list-style: disc;
}

/* Artistic element: colored underline for headings */
h1, h2 {
  position: relative;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 75px;
  height: 5px;
  background: var(--secondary);
  border-radius: 10px;
  margin-top: 10px;
}

/* =================================================
   LAYOUT CONTAINERS
   ================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.section:hover {
  box-shadow: 0 8px 32px 0 rgba(50,157,156,0.11);
}

/* Card containers / grids */
.card-container,
.feature-grid,
.service-list,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  min-width: 270px;
  background: var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: transform 0.17s, box-shadow 0.17s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 32px 0 rgba(50,157,156,0.14);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 280px;
  flex: 1 1 300px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(32,80,114,0.15);
  transform: translateY(-3px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}

/* List Items (ul > li) */
ul li {
  margin-bottom: 8px;
}

/* Feature grid icons */
.feature-grid > div img {
  height: 54px;
  width: 54px;
  margin-bottom: 10px;
  filter: drop-shadow(1px 3px 5px rgba(50,157,156,0.07));
}
.service-list > div {
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 22px 20px 14px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 9px 0 rgba(50,157,156,0.11);
  flex: 1 1 270px;
}
.service-list > div h3 span {
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 600;
  margin-left: 10px;
}


/* =================================================
   NAVIGATION & HEADER
   ================================================= */
header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--white);
  box-shadow: 0 2px 9px 0 rgba(32,80,114,0.10);
  padding: 18px 32px 12px 32px;
  position: relative;
  z-index: 1001;
}
header a img {
  height: 52px;
  margin-right: 42px;
  display: block;
}
header nav {
  display: flex;
  flex: 1 1 auto;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: var(--secondary);
  color: var(--white);
  outline: none;
}
.cta-btn {
  background: var(--secondary);
  color: var(--white);
  padding: 12px 28px;
  border: none;
  border-radius: 32px 12px 32px 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1px;
  margin-left: 28px;
  transition: background 0.16s, transform 0.16s, box-shadow 0.19s;
  cursor: pointer;
  box-shadow: 0 2px 14px 0 rgba(50,157,156,0.11);
  position: relative;
  z-index: 1;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 8px 24px 0 rgba(32,80,114,0.16);
}
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 8px 18px 8px 18px;
  font-size: 2rem;
  margin-left: 12px;
  cursor: pointer;
  outline: none;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
}

/* =======================
   Mobile Menu Overlay
   ======================= */
.mobile-menu {
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(50,157,156,0.93);
  transform: translateX(-102%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 40px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--danger);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 2.2rem;
  padding: 3px 15px 3px 15px;
  position: absolute;
  top: 18px;
  right: 24px;
  cursor: pointer;
  z-index: 1200;
  box-shadow: 0 1px 8px 0 rgba(32,80,114,0.15);
  transition: background 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 50px;
  padding-left: 42px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 0;
  border-radius: var(--radius-sm);
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--white);
  color: var(--secondary);
}

/* Show/hide main nav on mobile  */
@media (max-width: 950px) {
  header nav, .cta-btn /* hide nav on mobile, cta still visible for large mobile */ {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* Hide cta on smallest views for more space */
@media (max-width: 560px) {
  .cta-btn {
    display: none;
  }
}

/* ===============================
   PAGE SECTIONS & ILLUSTRATIONS
   =============================== */
main {
  width: 100%;
  margin-top: 25px;
  margin-bottom: 65px;
  z-index: 2;
  position: relative;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 14px;
}
.feature-grid > div {
  background: var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 28px 18px 16px 18px;
  min-width: 225px;
  flex: 1 1 220px;
  max-width: 300px;
  transition: box-shadow 0.15s, transform 0.17s;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}
.feature-grid > div:hover {
  transform: translateY(-7px) scale(1.04) rotate(-1deg);
  box-shadow: 0 12px 28px 0 rgba(32,80,114,0.18);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-list > div {
  min-width: 220px;
  max-width: 310px;
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.testimonial-card p {
  color: var(--gray-dark);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 6px;
  font-style: italic;
}
.testimonial-rating {
  font-size: 1.1rem;
  color: #edc30a;
  margin-right: 12px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.testimonial-client {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1rem;
  margin-left: auto;
  letter-spacing: 0.3px;
}

/* Contact Details */
.contact-details {
  background: var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 30px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--primary);
}
.contact-details a {
  color: var(--secondary);
  text-decoration: underline;
  transition: color 0.13s;
}
.contact-details a:hover,
.contact-details a:focus {
  color: var(--primary);
}

.faq-links {
  margin-top: 16px;
}
.faq-links a {
  color: var(--primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  transition: background 0.13s, color 0.13s;
  font-weight: 500;
}
.faq-links a:hover,
.faq-links a:focus {
  background: var(--secondary);
  color: var(--white);
}

/* =================================================
   FOOTER STYLES
   ================================================= */
footer {
  background: var(--primary);
  color: var(--white);
  width: 100%;
  padding: 0 0 0 0;
  position: relative;
  z-index: 2;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 36px 18px 20px 18px;
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav nav a {
  color: var(--white);
  opacity: 0.94;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.13s, color 0.13s;
}
.footer-nav nav a:hover,
.footer-nav nav a:focus {
  background: var(--secondary);
  color: var(--white);
  opacity: 1;
}
.footer-legal {
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.footer-legal a {
  color: var(--accent);
  margin: 0 2px;
  text-decoration: underline;
}
.footer-legal a:hover {
  color: var(--white);
}
.footer-social {
  display: flex;
  gap: 17px;
  margin-bottom: 10px;
}
.footer-copy {
  text-align: center;
  background: var(--secondary);
  color: var(--white);
  font-size: 0.97rem;
  font-family: 'Montserrat', sans-serif;
  padding: 11px 0;
  letter-spacing: 0.4px;
}

/* =================================================
   COOKIE CONSENT BANNER & MODAL
   ================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2100;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -4px 22px 0 rgba(50,157,156,0.13);
  padding: 24px 22px 18px 22px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
  border-radius: 24px 24px 0 0;
  animation: cookie-slide-in 0.37s cubic-bezier(.77,0,.18,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(120%); }
  to { transform: translateY(0); }
}
.cookie-banner button {
  margin-right: 8px;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 22px;
  padding: 10px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-right: 6px;
  box-shadow: 0 1px 7px 0 rgba(32,80,114,0.13);
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-btn.danger {
  background: var(--danger);
}
.cookie-btn.settings {
  background: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--white);
}
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,80,114,.78);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.28s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  max-width: 370px;
  width: 100%;
  min-height: 260px;
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 rgba(50,157,156,0.19);
  padding: 34px 26px 26px 26px;
  position: relative;
  font-size: 1rem;
  animation: modalFadeIn 0.32s cubic-bezier(.77,0,.18,1);
}
@keyframes modalFadeIn {
  from { transform: scale(0.86) translateY(45px); }
  to { transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  margin-bottom: 18px;
  font-size: 1.3rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 15px;
  font-size: 1.05rem;
}
.cookie-toggle {
  margin-left: auto;
  accent-color: var(--secondary);
  width: 22px;
  height: 22px;
}
.cookie-modal .save-btn {
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 26px;
  padding: 10px 26px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 18px;
  float: right;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(32,80,114,0.10);
  transition: background 0.13s;
}
.cookie-modal .save-btn:hover {
  background: var(--primary);
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: var(--danger);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(32,80,114,0.14);
  transition: background 0.11s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--primary);
}

/* =================================================
   RESPONSIVE DESIGN (MOBILE FIRST)
   ================================================= */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    flex-basis: 100%;
    gap: 20px;
    justify-content: center;
  }
  .testimonial-list {
    gap: 20px;
    flex-basis: 100%;
    justify-content: center;
  }
  .service-list {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  header {
    padding: 10px 10px 8px 10px;
  }
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .testimonial-list, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div,
  .testimonial-card,
  .service-list > div {
    min-width: 180px;
    max-width: 98vw;
    flex: 1 1 98vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 450px) {
  .section {
    padding: 16px 3px;
  }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.05rem; }
}

/*  Flexible spacing for all major containers  */
.card-container,
.feature-grid,
.service-list,
.testimonial-list,
.content-grid,
.text-image-section {
  gap: 20px;
}
.card, .feature-grid > div, .testimonial-card, .service-list > div {
  margin-bottom: 20px;
}

/* Ensure no overlaps and good z-index for overlays */
.mobile-menu,
.cookie-banner,
.cookie-modal-overlay {
  z-index: 2000;
}

/* Subtle transitions for interactions (micro-interactions) */
.card, .feature-grid > div, .testimonial-card, .cta-btn, .footer-nav nav a, .cookie-btn, .cookie-modal .save-btn, .mobile-nav a, .faq-links a {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, transform 0.14s;
}

/* Keyboard focus visible states */
a:focus, button:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ==============
   Artistic Visual Touches
   ============== */
.section {
  background: linear-gradient(114deg, #fff 78%, #E3E8EB 100%);
  box-shadow: 0 8px 34px 0 rgba(50,157,156,0.08);
}
h1, h2 {
  font-family: 'Montserrat', cursive, sans-serif;
  letter-spacing: -1.2px;
}
.feature-grid > div {
  border-left: 7px solid var(--secondary);
}

/* Artistic squiggle underline for cta-btn */
.cta-btn::after {
  content: '';
  display: block;
  width: 90%;
  margin: 0 auto;
  border-radius: 24px;
  border-bottom: 3px dotted var(--accent);
  margin-top: 2px;
}
.cta-btn:hover::after {
  border-bottom-style: solid;
  border-bottom-color: var(--secondary);
}

/* Artistic creative font for landmark quote/testimonial */
.testimonial-rating {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1.5px;
}

/* Custom highlight for important pseudo blocks */
.text-section strong,
.contact-details strong {
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 1rem;
}

/* Artistic doodle dot for lists */
ul li::before {
  content: '⦿';
  color: var(--secondary);
  margin-right: 7px;
  font-size: 0.95em;
  vertical-align: middle;
}

/* =============================
   Hide overlay on cookie/banner close
   ============================= */
.cookie-modal-overlay[aria-hidden='true'],
.mobile-menu:not(.open) {
  display: none !important;
}

/* ===============
   Accessibility
   =============== */
@media (max-width: 900px) {
  .footer-nav nav,
  .footer-legal,
  .footer-social {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

/* ===============
   CUSTOM SCROLLBAR
   =============== */
::-webkit-scrollbar {
  width: 9px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 12px;
}

/* ===============
   END OF CSS
   =============== */
