/* ------------------------------------------------- */
/* CSS RESET & BASE                                  */
/* ------------------------------------------------- */
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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FA;
  color: #123C5C;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ------------------------------------------------- */
/* BRAND FONTS & VARIABLES                           */
/* ------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Lato:400,700&display=swap');
:root {
  --color-primary: #123C5C;
  --color-secondary: #FBB14D;
  --color-accent: #F5F7FA;
  --color-text: #123C5C;
  --color-heading: #123C5C;
  --color-dark: #162132;
  --color-white: #fff;
  --color-bg: #F5F7FA;
  --color-card: #fff;
  --color-shadow: rgba(18,60,92,0.07);
  --color-btn-hover: #fff;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Lato', Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  min-height: 100vh;
}

/* ------------------------------------------------- */
/* TYPOGRAPHY + HEADINGS                             */
/* ------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-weight: 900;
  text-transform: none;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 12px;
  line-height: 1.09;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1.15;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  line-height: 1.22;
}
h4 {
  font-size: 1.1rem;
}

p, li, ul {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 400;
  line-height: 1.7;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-display);
}
blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  border-left: 6px solid var(--color-secondary);
  background: rgba(251,177,77,0.10);
  padding: 14px 18px;
  margin-bottom: 12px;
  border-radius: 10px;
}

/* ------------------------------------------------- */
/* CONTAINERS & LAYOUT                               */
/* ------------------------------------------------- */
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}

.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card-container, .card-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.card {
  background: var(--color-card);
  border-radius: 20px;
  box-shadow: 0 4px 20px var(--color-shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.18s cubic-bezier(.52,.1,.6,1), transform 0.22s cubic-bezier(.52,.1,.6,1);
}

.card:hover {
  box-shadow: 0 8px 32px rgba(18,60,92,0.16);
  transform: translateY(-4px) scale(1.02);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
  padding: 24px 18px;
  min-width: 230px;
  flex: 1 1 240px;
  transition: box-shadow 0.15s;
  margin-bottom: 20px;
  border: 2.5px solid transparent;
}

.feature-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 6px;
}

.feature-item h3 {
  color: var(--color-secondary);
  font-weight: 900;
}

.feature-item:hover {
  box-shadow: 0 4px 24px rgba(18,60,92,0.11);
  border-color: var(--color-secondary);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card .card-content {
  align-items: flex-start;
}

.card:last-child, .feature-item:last-child {
  margin-bottom: 0;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(18,60,92,0.075);
  padding: 20px;
  margin-bottom: 20px;
  border-left: 6px solid var(--color-secondary);
  transition: box-shadow 0.15s;
}

.testimonial-card blockquote {
  border: none;
  background: none;
  color: var(--color-primary);
  font-size: 1.08rem;
}
.testimonial-meta {
  color: var(--color-dark);
  font-size: 0.99rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.testimonial-meta span {
  color: var(--color-secondary);
  margin-left: 7px;
}

.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(18,60,92,0.18);
}

.testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.quick-links a {
  color: var(--color-primary);
  font-weight: 700;
  transition: color .14s;
}
.quick-links a:hover {
  color: var(--color-secondary);
}

/* ------------------------------------------------- */
/* NAVIGATION                                        */
/* ------------------------------------------------- */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 2px 8px 0 rgba(18,60,92,0.04);
  z-index: 2000;
  position: sticky;
  top: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: flex-start;
  padding: 14px 20px;
  width: 100%;
  flex-wrap: wrap;
}
.main-nav img {
  height: 44px;
  margin-right: 12px;
}
.main-nav a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 8px 0 7px;
  transition: color 0.14s, background 0.17s;
  border-bottom: 2px solid transparent;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}

/* ------------------------------------------ */
/* MOBILE BURGER MENU                        */
/* ------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2rem;
  padding: 10px 16px;
  border-radius: 10px;
  margin-left: auto;
  z-index: 2100;
  cursor: pointer;
  border: none;
  transition: background 0.19s, color 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(18,60,92,0.95);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.73,0,.33,1.02);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  color: #fff;
  background: none;
  font-size: 2.3rem;
  border: none;
  margin: 16px 22px 0 0;
  cursor: pointer;
  z-index: 3010;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 42px 38px 28px 36px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.16rem;
  font-weight: 900;
  padding: 10px 0;
  width: 100%;
  border-radius: 8px;
  letter-spacing: 0.02em;
  transition: background .14s, color .16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  color: #123C5C;
}

/*
  Hamburger menu visible and nav hidden on mobile
*/
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 961px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ------------------------------------------------- */
/* CTA BUTTONS & LINKS                               */
/* ------------------------------------------------- */
.cta-btn,
button.cta-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  background: var(--color-secondary);
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 18px 0 rgba(251,177,77,0.14);
  letter-spacing: 0.04em;
  margin-top: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.15s, box-shadow 0.22s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 22px 0 rgba(18,60,92,0.12);
}

/* Inline menu link (ex: footer nav separators) */
.footer-nav a {
  font-family: var(--font-body);
  color: var(--color-primary);
  font-weight: 700;
  font-size: .98rem;
  margin: 0 2px;
  padding: 0 6px;
  border-radius: 5px;
  transition: color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  background: rgba(251,177,77,0.12);
}
/* ------------------------------------------------- */
/* FOOTER                                            */
/* ------------------------------------------------- */
footer {
  width: 100%;
  background: #fff;
  border-top: 2px solid #e8eaf6;
  margin-top: 64px;
  font-size: .968rem;
  color: var(--color-primary);
}
footer .container {
  padding-top: 30px;
  padding-bottom: 24px;
}
footer .content-wrapper {
  align-items: stretch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1rem;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.99rem;
}
.contact-info img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
}
.social-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-bottom: 7px;
}
.social-links a {
  display: flex;
  align-items: center;
  transition: transform 0.15s;
}
.social-links a:hover {
  transform: scale(1.17) rotate(-6deg);
}
.social-links img {
  width: 28px;
  height: 28px;
}
.copyright {
  text-align: center;
  margin-top: 6px;
  color: #677081;
  font-size: 0.97rem;
}

/* ------------------------------------------------- */
/* TABLES, FORMS, UL/OL                              */
/* ------------------------------------------------- */
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 10px;
  list-style: disc outside;
}
ul li {
  padding-left: 0;
  margin-bottom: 7px;
  font-size: 1rem;
}

/* ------------------------------------------------- */
/* RESPONSIVE MEDIA QUERIES                          */
/* ------------------------------------------------- */
@media (max-width: 1100px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
@media (max-width: 860px) {
  .feature-grid, .testimonial-carousel {
    gap: 14px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .feature-item, .card {
    min-width: 185px;
    padding: 20px 12px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .container {
    padding: 0 2vw;
  }
  .section {
    padding: 30px 6px;
    margin-bottom: 36px;
  }
  .feature-grid, .testimonial-carousel, .card-container {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper {
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav {
    flex-direction: column;
    gap: 3px;
    align-items: center;
  }
  .contact-info {
    flex-direction: column;
    gap: 9px;
  }
}

/* ------------------------------------------------- */
/* COOKIE CONSENT BANNER & MODAL                      */
/* ------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  width: 100vw;
  background: #fff;
  border-top: 4px solid var(--color-secondary);
  box-shadow: 0 -2px 28px 0 rgba(18,60,92,0.20);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 34px 22px 24px;
  font-size: 1rem;
  transition: transform .36s cubic-bezier(.59,.02,.33,1.01), opacity .23s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  color: var(--color-primary);
  font-family: var(--font-body);
  flex: 1 1 260px;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: var(--font-display);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background .17s, color .15s, box-shadow .18s;
}
.cookie-accept {
  background: var(--color-secondary);
  color: var(--color-dark);
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.cookie-reject {
  background: #eee;
  color: var(--color-primary);
}
.cookie-reject:hover,
.cookie-reject:focus {
  background: #DCDCDC;
}
.cookie-settings {
  background: var(--color-primary);
  color: #fff;
}
.cookie-settings:hover,
.cookie-settings:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,60,92,0.77);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6000;
  animation: fadeInModal 0.19s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  padding: 36px 26px 26px 26px;
  max-width: 450px;
  width: 95vw;
  box-shadow: 0 12px 38px 0 rgba(18,60,92,0.19);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 22px;
  font-size: 2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10010;
}
.cookie-modal h3 {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: 1.24rem;
  margin-bottom: 0.7em;
  margin-top: 8px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-primary);
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-category label {
  font-weight: 700;
}
.cookie-modal-toggle {
  width: 42px;
  height: 24px;
  border-radius: 18px;
  position: relative;
  background: #eee;
  margin-left: 10px;
  transition: background .16s;
  border: none;
}
.cookie-modal-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal-toggle span {
  position: absolute;
  top: 3px;
  left: 3px;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  transition: left .17s, background .17s;
}
.cookie-modal-toggle input:checked + span {
  left: 21px;
  background: var(--color-secondary);
}
.cookie-modal-category .cookie-always-on {
  font-size: 0.99em;
  color: #888;
  font-weight: 400;
  margin-left: 10px;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  justify-content: flex-end;
}

@media (max-width: 660px) {
  .cookie-banner {
    padding: 18px 11px 18px 10px;
    flex-direction: column;
    gap: 10px;
    font-size: 0.99rem;
    align-items: stretch;
  }
  .cookie-banner__actions {
    gap: 7px;
    flex-wrap: wrap;
  }
  .cookie-modal-content {
    padding: 18px 7px 18px 11px;
    max-width: 99vw;
  }
}

/* ------------------------------------------------- */
/* ANIMATIONS & MICRO-INTERACTIONS                   */
/* ------------------------------------------------- */
.cta-btn, .feature-item, .card, .testimonial-card, .mobile-menu, .mobile-nav a, .cookie-banner button {
  transition-property: box-shadow, background, color, transform, border, opacity;
  transition-duration: .15s, .17s, .16s, .13s, .12s, .12s;
}
.cta-btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
}

.card:active, .feature-item:active {
  transform: scale(0.98);
}

.mobile-menu {
  will-change: transform;
}

.mobile-menu.open {
  animation: mobileMenuShow .32s cubic-bezier(.51,0,.35,1.02);
}
@keyframes mobileMenuShow {
  from {transform: translateX(100%);}to{transform: translateX(0);}
}

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

/* ------------------------------------------------- */
/* END OF CSS                                        */
/* ------------------------------------------------- */
