/* CSS 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;
}
/* Set default box-sizing for all elements */
*, *:before, *:after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #264653;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-color: #fff;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  border: none;
}
a {
  color: #264653;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #F4A261;
  outline: none;
}

ul, ol {
  margin: 0 0 24px 24px;
}

ul li, ol li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: #264653;
  margin-bottom: 0.3em;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 20px;
}
h3 {
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 18px;
}

/* Container and content structure */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HERO SECTION */
.hero {
  background: #264653;
  color: #fff;
  padding: 60px 0 40px 0;
  margin-bottom: 60px;
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1, .hero h2 {
  color: #fff;
}
.hero p {
  font-size: 20px;
  color: #F4A261;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 12px;
}
.hero .cta-btn {
  margin-top: 18px;
}

/* SECTION SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
main > section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.cta-section {
  padding: 60px 0;
  margin-bottom: 0;
  background: #F4A261;
  color: #264653;
  text-align: center;
}
.cta-section h2 {
  color: #264653;
}

/* FLEXBOX LAYOUTS */
.features-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.features-grid > div {
  flex: 1 1 270px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(38,70,83,0.09);
  padding: 32px 20px 24px 20px;
  margin-bottom: 0;
  transition: box-shadow 0.20s, transform 0.20s;
  position: relative;
  border: 3px solid #EAE7DC;
}
.features-grid > div:hover {
  box-shadow: 0 12px 30px rgba(244,162,97,0.22);
  transform: translateY(-6px) scale(1.03);
  border-color: #F4A261;
  z-index: 2;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(38,70,83,0.10);
  padding: 32px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 2px solid #EAE7DC;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(38,70,83,0.13);
  transform: translateY(-6px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
/* text-image-section pattern (not present but required by spec) */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.text-image-section .text {
  flex: 2 1 320px;
}
.text-image-section .image {
  flex: 1 1 220px;
}

/* Testimonial Card */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  background: #EAE7DC;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(38,70,83,0.10);
  margin-bottom: 24px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.17s;
  color: #264653;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(244,162,97,0.21);
  transform: scale(1.02);
}
.testimonial-card blockquote {
  font-size: 20px;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.4;
  color: #264653;
  margin: 0 0 8px 0;
  border-left: 5px solid #F4A261;
  padding-left: 16px;
}
.testimonial-card p {
  font-size: 16px;
  color: #264653;
  font-family: 'Open Sans', Arial, sans-serif;
  margin: 0;
}

/* Feature Item (if used in content) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
}

/* Button Styles */
.cta-btn,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  border-radius: 999px;
  background: #F4A261;
  color: #264653;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: background 0.23s, box-shadow 0.19s, color 0.18s;
  box-shadow: 0 2px 8px rgba(244,162,97,0.08);
  letter-spacing: 0.03em;
  text-decoration: none;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus, button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #264653;
  color: #fff;
  box-shadow: 0 4px 18px rgba(38,70,83,0.13);
}

/* NAVIGATION HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(38,70,83,0.03);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 14px 20px;
  min-height: 68px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  color: #264653;
  letter-spacing: 0.04em;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: #F4A261;
  color: #fff;
}
header a.cta-btn {
  margin-left: 24px;
}
.mobile-menu-toggle {
  display: none;
  background: #F4A261;
  color: #264653;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 30px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 1px 6px rgba(244,162,97,0.14);
}
.mobile-menu-toggle:focus {
  outline: 2px solid #264653;
}

/* MOBILE MENU & OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 2000;
  background: rgba(38,70,83,0.97);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.42,-0.12,.48,1.33);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 0 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 36px;
  color: #fff;
  margin: 32px 28px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F4A261;
  background: rgba(244,162,97,0.09);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  margin: 36px 44px 0 0;
  width: 80%;
  max-width: 360px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 23px;
  font-weight: 900;
  text-transform: uppercase;
  background: none;
  padding: 14px 20px;
  border-radius: 10px;
  margin: 0;
  transition: background 0.18s, color 0.16s;
  width: 100%;
  text-align: right;
  letter-spacing: 0.08em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4A261;
  color: #264653;
}

/* Footer Layout */
footer {
  background: #264653;
  color: #fff;
  padding: 50px 0 30px 0;
  margin-top: 60px;
  position: relative;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-contact-info img{
  max-width: 50px;
}
footer .quick-links, .footer-contact-info, .social-links, .legal-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer .quick-links a, footer .legal-links a {
  color: #fff;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  margin-bottom: 6px;
  transition: color 0.15s;
}
footer .quick-links a:hover, footer .legal-links a:hover {
  color: #F4A261;
}
footer .footer-contact-info {
  font-size: 15px;
  color: #EAE7DC;
  gap: 0.6em;
}
footer .footer-contact-info a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.14s;
}
footer .footer-contact-info a:hover {
  color: #F4A261;
}
footer .social-links {
  flex-direction: row;
  gap: 16px;
}
footer .social-links a {
  display: flex;
  align-items: center;
  border-radius: 50%;
  background: #F4A261;
  width: 36px;
  height: 36px;
  justify-content: center;
  transition: background 0.14s, box-shadow 0.13s;
}
footer .social-links a:hover {
  background: #fff;
  box-shadow: 0 2px 10px rgba(244,162,97,0.16);
}
footer .social-links img {
  width: 20px;
  height: 20px;
}
footer .legal-links {
  margin-top: 18px;
  flex-direction: row;
  gap: 18px;
  font-size: 15px;
}

/* Service List */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 0;
  padding: 0;
}
.service-list li {
  font-size: 17px;
  background: #EAE7DC;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #264653;
}
.service-list span {
  font-weight: 900;
  color: #F4A261;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 14px;
  flex-shrink: 0;
}

/* Table Styling */
table {
  border-collapse: collapse;
  width: 100%;
  overflow-x: auto;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(244,162,97,0.05);
}
thead th {
  background: #264653;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  padding: 16px 12px;
  border-radius: 8px 8px 0 0;
}
tbody td {
  font-size: 16px;
  color: #264653;
  padding: 16px 12px;
  background: #EAE7DC;
  border-bottom: 2px solid #fff;
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody td:first-child {
  font-weight: bold;
}

/* Cookie Consent Banner */
#cookie-banner, .cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 4000;
  background: #264653;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 18px 18px 18px;
  box-shadow: 0 -2px 20px rgba(38,70,83,0.08);
  font-size: 16px;
  transition: transform 0.32s cubic-bezier(.28,.9,.43,1.09), opacity 0.4s;
  opacity: 1;
  transform: translateY(0);
}
#cookie-banner.hide, .cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  background: #F4A261;
  color: #264653;
  border: none;
  cursor: pointer;
  margin: 0 3px;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #fff;
  color: #264653;
}
.cookie-settings-btn {
  background: #EAE7DC;
  color: #264653;
  border: 1px solid #F4A261;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #F4A261;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
#cookie-modal, .cookie-modal {
  display: none;
  position: fixed;
  z-index: 5000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(38,70,83,0.85);
  justify-content: center;
  align-items: center;
  transition: opacity 0.32s;
}
#cookie-modal.show, .cookie-modal.show {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  color: #264653;
  border-radius: 24px;
  box-shadow: 0 10px 36px rgba(38,70,83,0.17);
  padding: 34px 32px 20px 32px;
  width: 98%;
  max-width: 460px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalAnim 0.3s cubic-bezier(.26,.9,.45,1.15);
}
@keyframes cookieModalAnim {
  from { opacity:0; transform: scale(0.94); }
  to { opacity:1; transform: scale(1); }
}
.cookie-modal-content h3 {
  color: #264653;
  font-size: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0;
  background: #EAE7DC;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #F4A261;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  flex-direction: row;
  margin-top: 14px;
}
.cookie-modal-actions button {
  flex: 1 1 0px;
  padding: 11px 0;
  font-size: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 24px;
  font-size: 30px;
  background: none;
  color: #264653;
  border: none;
  cursor: pointer;
  z-index: 10;
}

/* Misc Spacing Patterns */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* Additional list icons styling if present */
ul li img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 7px;
}

/* Section default (FLEX Spec) */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* FORM BASIC (not present, just in case) */
input, textarea, select {
  font-family: inherit;
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1.5px solid #EAE7DC;
  margin-bottom: 14px;
  transition: border .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F4A261;
  outline: none;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1120px) {
  .container {
    max-width: 990px;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 820px;
  }
  .features-grid > div {
    min-width: 250px;
    flex: 1 1 45vw;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 23px; }
  .features-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div {
    padding: 24px 14px 18px 14px;
    min-width: unset;
  }
  .testimonial-card {
    padding: 20px 16px;
  }
  .card {
    padding: 22px 12px;
  }
  .section,
  main > section {
    padding: 20px 0;
    margin-bottom: 38px;
  }
  .cta-section {
    padding: 32px 0;
  }
  .content-wrapper {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .mobile-nav {
    margin: 24px 0 0 0;
    width: 90vw;
    max-width: 480px;
    gap: 15px;
    align-items: flex-end;
  }
  header .container {
    padding: 9px 10px;
    gap: 10px;
  }
  footer {
    padding: 36px 0 16px 0;
    margin-top: 38px;
  }
}

@media (max-width: 620px) {
  .container {
    max-width: 100%;
    padding: 0 8px;
  }
  .service-list li {
    font-size: 15px;
    padding: 10px 8px;
  }
  .cta-btn, button, input[type="submit"] {
    font-size: 16px;
    padding: 11px 24px;
  }
  .testimonial-card blockquote {
    font-size: 16px;
    padding-left: 10px;
  }
  .mobile-nav a {
    font-size: 18px;
    padding: 10px 10px;
  }
  .cookie-modal-content {
    padding: 16px 6px 12px 6px;
    max-width: 99vw;
  }
}

/* Burger Menu Responsive Toggle */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  header a.cta-btn {
    margin-left: 0;
  }
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: none!important;
  }
  header nav {
    display: flex!important;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.w-100 { width: 100%; }
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }

/* Accessibility / Focus States */
:focus-visible {
  outline: 2px solid #F4A261;
  outline-offset: 2px;
}

/* Decorative geometric background patterns */

.hero .container, .hero .content-wrapper {
  position: relative;
  z-index: 2;
}

/* Extra micro-interactions */
.cta-btn:active, button:active {
  transform: scale(0.97);
}
.card:active, .features-grid > div:active, .testimonial-card:active {
  transform: scale(0.98);
  box-shadow: 0 2px 7px rgba(244,162,97,0.10);
}

/* Hide visually (for accessibility, in case needed) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
