/* 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.6;
  background: #F5F5F5;
  color: #222A35;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #28618C;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #F7B32B;
  outline: none;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
input, button, textarea, select {
  font: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: #222A35;
  line-height: 1.1;
}
h1 { font-size: 2.6rem; letter-spacing: -1px; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
strong { color: #28618C; }

/* Typography hierarchy */
p, ul, li, blockquote { font-size: 1rem; }
blockquote { font-size: 1.1rem; font-style: italic; color: #222A35; margin:0; }

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

/* UTILITY CLASSES --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 16px rgba(40,97,140,0.06), 0 0px 1px rgba(40,97,140,0.02);
  position: relative;
}

@media (max-width: 768px) {
  .section { padding: 28px 8px; margin-bottom: 32px; }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul {
  margin-left: 1.1em;
  list-style: disc inside;
}
.text-section li {
  padding-bottom: 6px;
}

/* MAIN NAV ---------------------------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 3px 18px rgba(40,97,140,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  justify-content: flex-start;
}
.main-nav > a {
  color: #28618C;
  padding: 6px 14px;
  border-radius: 14px;
  position: relative;
  transition: color 0.18s, background 0.18s, box-shadow 0.18s;
}
.main-nav > a.cta-primary {
  background: #F7B32B;
  color: #222A35;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 12px rgba(247,179,43,.13);
  border-radius: 22px;
  padding: 8px 24px;
  margin-left: 20px;
  transition: box-shadow .18s, background .18s, color .18s;
}
.main-nav > a.cta-primary:hover, .main-nav > a.cta-primary:focus {
  background: #28618C;
  color: #fff;
  box-shadow: 0 4px 22px rgba(40,97,140,.17);
}
.main-nav > a:hover,
.main-nav > a:focus {
  background: #F7B32B;
  color: #222A35;
}
.main-nav img {
  height: 38px;
  margin-right: 10px;
}
@media (max-width: 1050px) {
  .main-nav {
    gap: 10px;
    font-size: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
}

/* MOBILE NAV ----------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 30px;
  top: 23px;
  background: #F7B32B;
  color: #222A35;
  font-size: 2rem;
  border: none;
  padding: 6px 14px;
  border-radius: 13px;
  cursor: pointer;
  transition: background .15s;
  z-index: 1051;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #28618C;
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100dvh;
  background: #28618C;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.93,0,.38,1.08);
  z-index: 1100;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #F7B32B;
  font-size: 2.1rem;
  position: absolute;
  top: 18px;
  right: 26px;
  cursor: pointer;
  z-index: 1150;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 70px 0 0 0;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  padding: 12px 42px 12px 12px;
  border-radius: 16px 24px 16px 24px;
  transition: background .18s, color .18s;
  width: 90vw;
  max-width: 390px;
  text-align: left;
  letter-spacing: 0.02em;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F7B32B;
  color: #222A35;
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* MAIN LAYOUT & FLEXBOX ----------------------------------------------------------------- */
.card-container, .feature-grid, .content-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .content-grid, .feature-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff; 
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(40,97,140,0.07);
  overflow: hidden;
  transition: box-shadow .25s;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 6px 24px rgba(40,97,140,0.12);
}

.card-content, .feature-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding: 20px;
}

.feature-item {
  align-items: flex-start;
  background: #F5F5F5;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(40,97,140,0.08);
  min-width: 240px;
  flex: 1 1 270px;
  max-width: 370px;
  margin-bottom: 8px;
  border: 2px solid transparent;
  transition: border 0.18s, box-shadow 0.18s, background 0.18s;
}
.feature-item img {
  width: 54px;
  height: 54px;
  margin-bottom: 6px;
  filter: drop-shadow(0px 1px 5px #F7B32B66) brightness(1.02);
}
.feature-item:hover {
  border: 2px solid #F7B32B;
  background: #fffbea;
  box-shadow: 0 4px 18px rgba(247,179,43,0.13);
  z-index: 1;
}

/* TESTIMONIALS ------------------------------------------------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(40,97,140,0.09);
  min-width: 260px;
  max-width: 500px;
  border-left: 6px solid #F7B32B;
  position: relative;
  color: #222A35;
  font-size: 1.02rem;
}
.testimonial-card span {
  color: #28618C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-top: -4px;
}
.ratings-overview {
  margin: 16px 0 0 0;
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: #28618C;
  background: #F7B32B13;
  padding: 12px 28px;
  border-radius: 19px;
  display: inline-block;
}
@media (max-width: 768px) {
  .testimonial-card { font-size: 0.97rem; padding: 13px 12px; }
  .ratings-overview { font-size: 0.99rem; padding: 8px 14px; }
}

/* ADDRESS DETAILS  -------------------------------------------------------------- */
.address-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 7px;
}
.address-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.address-details img {
  width: 20px;
  height: 20px;
}

/* BUTTONS + CTA ----------------------------------------------------------------- */
.cta-primary, .cta-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  border-radius: 24px;
  padding: 13px 32px;
  background: #F7B32B;
  color: #222A35;
  border: none;
  outline: none;
  box-shadow: 0 2px 14px rgba(247,179,43,0.16);
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.19s, color 0.18s, box-shadow 0.18s, transform 0.14s;
  letter-spacing: 0.03em;
  display: inline-block;
  text-align: center;
}
.cta-secondary {
  background: #28618C;
  color: #fff;
  box-shadow: 0 2px 15px rgba(40,97,140,0.13);
  border-radius: 24px;
  padding: 13px 24px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #28618C;
  color: #fff;
  box-shadow: 0 6px 36px rgba(40,97,140,0.14);
  transform: translateY(-2px) scale(1.03);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #F7B32B;
  color: #222A35;
  box-shadow: 0 6px 36px rgba(247,179,43,0.16);
  transform: translateY(-2px) scale(1.03);
}

button:active, .cta-primary:active, .cta-secondary:active {
  outline: none;
  box-shadow: none;
  transform: scale(0.98);
}

/* FORMS (if present later) */
input, textarea, select {
  border: 1.5px solid #D3E2F0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 16px;
  background: #fff;
  transition: border 0.14s;
  color: #222A35;
}
input:focus, textarea:focus, select:focus {
  border-color: #F7B32B;
}

/* FOOTER ------------------------------------------------------------------------- */
footer {
  background: #28618C;
  color: #fff;
  padding: 38px 0 18px 0;
  border-radius: 28px 28px 0 0;
  margin-top: 60px;
  box-shadow: 0 -3px 18px rgba(40,97,140,0.09);
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #F7B32B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: .02em;
  padding: 6px 14px;
  border-radius: 15px;
  transition: background .15s, color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F7B32B;
  color:#222A35;
}
.brand-info {
  display: flex;
  justify-content: center;
  font-size: .98rem;
  color: #f5f5f5f0;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: .01em;
}
@media (max-width:600px){
  .footer-nav {gap: 10px;}
  footer {font-size: .92rem;}
}

/* COOKIE CONSENT ----------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #fffbe8;
  box-shadow: 0 -4px 28px rgba(40,97,140,0.15);
  border-top: 3.5px solid #F7B32B;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 20px;
  flex-wrap: wrap;
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
  animation: cookie-fadein .8s cubic-bezier(.65,.07,.77,1.01);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 9px;
    gap: 13px;
    font-size: .98rem;
  }
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 8px 22px;
  margin-left: 5px;
  border: none;
  border-radius: 16px;
  transition: color .15s, background .16s, box-shadow .15s;
  cursor: pointer;
}
.cookie-banner .cookie-accept-btn { background: #F7B32B; color: #222A35; box-shadow: 0 1px 8px #F7B32B44; }
.cookie-banner .cookie-accept-btn:hover, .cookie-banner .cookie-accept-btn:focus { background: #28618C; color: #fff; }
.cookie-banner .cookie-reject-btn { background: #fff; color: #28618C; border: 1.5px solid #28618C; }
.cookie-banner .cookie-reject-btn:hover, .cookie-banner .cookie-reject-btn:focus { background: #f7f7f7; color: #F7B32B; }
.cookie-banner .cookie-settings-btn { background: #28618C; color: #fff; }
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus { background: #F7B32B; color: #222A35; }

@keyframes cookie-fadein {
  0% { opacity: 0; transform: translateY(35px); }
  100% { opacity: 1; transform: none; }
}

/* COOKIE MODAL ----------------------------------------------------------------- */
.cookie-modal {
  position: fixed;
  z-index: 3100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(34, 42, 53, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in .3s;
}
@keyframes modal-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 19px;
  min-width: 290px;
  max-width: 98vw;
  width: 400px;
  padding: 32px 26px 24px 26px;
  box-shadow: 0 6px 44px rgba(40,97,140,0.21),0 0 1px #F7B32B06;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
@media(max-width:500px){
  .cookie-modal .cookie-modal-content {width:96vw;padding:17px 5vw 13px 5vw;}
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: #28618C;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 1;
  transition: color .12s;
}
.cookie-modal .cookie-modal-close:hover { color: #F7B32B; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
}
.cookie-category input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: #F7B32B;
}
.cookie-category label { font-size: .98rem; font-weight: 600; }
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 15px;
}
.cookie-modal-actions button {
  padding: 8px 22px;
  border-radius: 13px;
  font-size: 1rem;
  font-weight: 700;
}
.cookie-info-description {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 18px;
  line-height: 1.6;
}

/* ANIMATIONS ----------------------------------------------------------- */
.cta-primary, .cta-secondary, .cookie-banner button, .cookie-modal button, .mobile-menu-toggle, .main-nav > a, .footer-nav a {
  transition: background .19s, color .19s, box-shadow .19s, transform .14s;
}
.card, .feature-item, .testimonial-card {
  transition: box-shadow .19s, border .13s, transform .19s;
}

.card:hover, .feature-item:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 44px rgba(40,97,140,0.16);
}

/* COLORS FOR VIBRANT ENERGETIC ------------------------------------------------ */
/* Color guide:
Primary (brand blue): #28618C
Bold Accent (yellow-orange): #F7B32B
Bright Light BG : #F5F5F5
Text: #222A35
Electric/Extra Accent: #23CE6B (green), #FF206E (pink), (for small details/icons if needed)
*/

/* ACCENT BORDERS AND DETAILS */
h2, h3 {
  position: relative;
}
h2:after, h3:after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: #F7B32B;
  border-radius: 2px;
  margin-top: 9px;
}

/* Responsive spacing for cards/sections */
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .card {
    min-width: 0;
    max-width: 100%;
  }
}

/* SPACING AND GAP CONSISTENCY -------------------------------------------------- */
section, .section {
  margin-bottom: 60px !important;
  padding-top: 40px; padding-bottom: 40px;
  position: relative;
}

/* Additional vibrant energetic elements (borders, shadows, badges) */
.badge {
  display: inline-block;
  background: #F7B32B;
  color: #222A35;
  font-weight: 900;
  font-family: 'Montserrat',Arial,sans-serif;
  padding: 4px 13px;
  border-radius: 18px;
  font-size: 0.97rem;
  box-shadow: 0 2px 10px #F7B32B34;
}

/* HIGH-CONTRAST REQUIREMENTS in testimonials and review sections */
.testimonial-card, .ratings-overview, .cookie-banner {
  color: #222A35;
  background: #fff;
}

/* Z-INDEX SAFETY in overlays & mobile menu */
.mobile-menu,
.cookie-banner,
.cookie-modal { z-index: 9999; }

/* DISTINCT FORMS (NOT present, but for future-proofing) */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
label { font-weight: 500; }

/* LISTS and ICON alignment */
.text-section ul {
  padding-left: 12px;
  margin: 8px 0 10px 0;
  list-style: disc;
}

.text-section li {
  margin-bottom: 8px;
  line-height: 1.45;
}

/* MEDIA QUERIES for mobile-first responsiveness ----------------------------- */
@media (max-width: 480px) {
  h1 { font-size: 1.30rem; }
  h2 { font-size: 1rem; }
  h3 { font-size: 1rem; }
  .cta-primary, .cta-secondary { font-size: .98rem; padding: 10px 14px; }
  .container { padding: 0 3vw; }
}

/* MISC: Hide elements for accessibility if needed */
[hidden] { display: none !important; }

/* END OF CSS */
