/* CSS RESET & BASE STYLES */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  color: #1A3A56;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1A3A56;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FDCB42;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1A3A56;
  line-height: 1.24;
  margin-bottom: 16px;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 14px; }

/* BRAND COLORS (FALLBACKS + CUSTOM PROPERTIES) */
:root {
  --primary: #1A3A56;
  --secondary: #FDCB42;
  --accent: #F5F5F5;
  --body-text: #1A3A56;
  --gray-100: #F8F9FB;
  --gray-200: #E6EAF2;
  --shadow: rgba(26, 58, 86, 0.04);
}

/* CONTAINER + SECTION LAYOUTS */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  width: 100%;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

/* FLEXBOX PATTERNS */
.card-container,
.features-grid,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid { gap: 24px; }
.card-grid, .card-container, .content-grid { gap: 20px; }

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 28px;
  margin-bottom: 20px;
  background: var(--accent);
  box-shadow: 0 4px 20px var(--shadow);
  border-radius: 12px;
  color: #1A3A56;
  min-width: 260px;
  max-width: 525px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px rgba(26,58,86,0.08);
  transform: translateY(-2px) scale(1.015);
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1A3A56;
  opacity: 0.72;
}
.star-rating {
  font-size: 1.2rem;
  color: #FDCB42;
  letter-spacing: 3px;
}

.feature-item, .feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 210px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px var(--shadow);
  padding: 22px 22px 18px 22px;
  min-width: 220px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 6px 28px rgba(26,58,86,0.10);
  transform: translateY(-2px) scale(1.014);
}
.feature img { height: 36px; width: 36px; }

.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px var(--shadow);
  padding: 28px 22px;
  min-width: 220px;
}

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

.contact-info, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #1A3A56;
}
.address-map, .office-hours {
  margin-top: 18px;
  color: #1A3A56;
  font-size: 1rem;
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 13px 32px;
  cursor: pointer;
  border: none;
  display: inline-block;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  box-shadow: 0 1px 4px var(--shadow);
  margin-right: 10px;
  margin-top: 6px;
  margin-bottom: 6px;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #16304b;
  color: #fdcb42;
  outline: none;
}
.btn-secondary {
  background: var(--secondary);
  color: #1A3A56;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #ffe08b;
  color: #1A3A56;
  outline: none;
}

.main-nav .btn-primary {
  margin-left: 16px;
  margin-top: 0;
  margin-bottom: 0;
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  z-index: 50;
  min-height: 72px;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 12px;
}
.logo-link img { height: 40px; width: auto; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 4px 5px;
  border-radius: 3px;
  position: relative;
  font-size: 1.01rem;
  transition: color 0.18s, background 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FDCB42;
  background: #f7f7ea;
}

/* HAMBURGER MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transition: background 0.23s, color 0.19s;
  cursor: pointer;
  z-index: 201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FDCB42;
  color: #1A3A56;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(250, 250, 250, 0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 25px;
  padding-left: 0;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.67,0.17,0.43,0.96);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #1A3A56;
  font-size: 2.2rem;
  border-radius: 8px;
  padding: 10px 18px 8px 18px;
  align-self: flex-end;
  margin-right: 22px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FDCB42;
  background: #e7e9eb;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #1A3A56;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  padding: 12px 0;
  transition: color 0.17s, background 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FDCB42;
  background: none;
}

/* Main NAV - hide on mobile */
@media (max-width: 992px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid var(--gray-200);
  padding-top: 36px;
  padding-bottom: 20px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: 0.97rem;
  color: #1A3A56;
  opacity: 0.75;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FDCB42;
  opacity: 1;
}
.footer-contact {
  font-size: 0.97rem;
  color: #61677d;
}
.footer-tagline {
  font-size: 0.95rem;
  color: #b4b8bf;
  margin-top: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  width: 100%;
}

/* INPUTS & FORMS */
input[type="text"], input[type="email"] {
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  background: #fff;
  color: #1A3A56;
  border: 1px solid var(--gray-200);
  border-radius: 7px;
  padding: 12px 13px;
  width: 100%;
  margin-top: 6px;
  margin-bottom: 12px;
  outline: none;
  transition: border 0.18s, box-shadow 0.18s;
}
input[type="text"]:focus, input[type="email"]:focus {
  border: 1.5px solid var(--primary);
  box-shadow: 0 2px 10px 0 rgba(26,58,86,0.09);
}
.search-bar {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 10px;
  width: 100%;
  max-width: 390px;
}

/* BLOG */
.category-list, .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}
.category-list li {
  background: var(--gray-100);
  color: #223;
  padding: 7px 15px;
  border-radius: 22px;
  font-size: 1rem;
  margin-right: 0;
  font-family: 'Lato', Arial, sans-serif;
}
.tags li {
  background: #e4e7ec;
  color: #495e8b;
  font-family: 'Lato', Arial, sans-serif;
  padding: 6px 14px;
  border-radius: 21px;
  font-size: 0.99rem;
}
.blog-post {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 14px var(--shadow);
  padding: 20px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.blog-post h3 {
  margin-bottom: 11px;
}
.blog-post p { color: #1A3A56; }

/* SPACING CATCHALLS */
section + section {
  margin-top: 0;
}
.card + .card {
  margin-left: 20px;
}
.testimonial-card + .testimonial-card {
  margin-top: 20px;
}
.features-grid .feature + .feature {
  margin-left: 0;
}
.text-section ul, .text-section ol { margin-bottom: 0; }

/* TYPOGRAPHY SCALE */
@media (max-width: 480px) {
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.085rem; }
  .btn-primary,
  .btn-secondary {
    padding: 12px 20px;
    font-size: 0.98rem;
  }
}

/* RESPONSIVE STACKING */
@media (max-width: 768px) {
  .features-grid,
  .card-grid,
  .content-grid,
  .footer-wrapper {
    flex-direction: column;
    gap: 18px !important;
  }
  .feature, .card, .testimonial-card {
    min-width: unset;
    max-width: 100%;
  }
  .main-nav { display: none; }
  .footer-wrapper { align-items: flex-start; }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .container { padding: 0 10px; }
}

/* MORE MOBILE */
@media (max-width: 480px) {
  .container {
    padding: 0 4px;
  }
  .section, section {
    padding: 24px 2px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(26,58,86,0.08);
  border-radius: 22px 22px 0 0;
  padding: 24px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 1200;
  font-size: 1rem;
  transition: transform 0.28s;
  max-width: 540px;
  width: calc(100vw - 26px);
  margin: 0 auto;
}
.cookie-banner.hide { transform: translateY(200%); }
.cookie-banner p {
  flex: 1;
  font-size: 1rem;
  color: #1A3A56;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 22px;
  margin-right: 8px;
  border: none;
  cursor: pointer;
  margin-bottom: 0;
  margin-top: 0;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
}
.cookie-btn.accept {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #16304b;
  color: #fdcb42;
}
.cookie-btn.reject {
  background: #e8ebf0;
  color: #1A3A56;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus { background: #c1c6d2; color: #1A3A56; }
.cookie-btn.settings {
  background: var(--secondary);
  color: #1A3A56;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #ffe18b;
  color: #1A3A56;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(44,54,71, 0.2);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  padding: 32px 22px 22px 22px;
  border-radius: 18px;
  min-width: 288px;
  max-width: 98vw;
  box-shadow: 0 7px 40px 0 rgba(26,58,86,0.13);
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: modal-in 0.28s cubic-bezier(0.67,0.21,0.44,0.92);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.93); }
  to { opacity: 1; transform: none; }
}
.cookie-modal h3 {
  font-size: 1.21rem;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}
.cookie-switch {
  position: relative;
  width: 38px;
  height: 22px;
  display: inline-flex;
  align-items: center;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0; width: 0; height: 0;
}
.cookie-slider {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  background: #E6EAF2;
  border-radius: 15px; transition: 0.18s;
}
.cookie-switch input[type="checkbox"]:checked + .cookie-slider {
  background: #FDCB42;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.18s;
}
.cookie-switch input[type="checkbox"]:checked + .cookie-slider:before {
  transform: translateX(14px);
}
.cookie-modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

/* MICRO INTERACTIONS & EFFECTS */
.btn-primary, .btn-secondary, .cookie-btn {
  box-shadow: 0 1px 7px rgba(26,58,86,0.07);
}
.btn-primary:active, .btn-secondary:active {
  box-shadow: 0 0.5px 2.5px rgba(26,58,86,0.09);
  transform: scale(0.97);
}

/* SCROLLBAR MINIMAL */
body {
  scrollbar-width: thin; 
  scrollbar-color: #d8e1ec #FFF;
}
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-thumb {
  background: #e6eaf2;
  border-radius: 8px;
}
body::-webkit-scrollbar-track {
  background: #fff;
}

/* UTILITIES */
.mt-3 { margin-top: 24px !important; }
.mb-3 { margin-bottom: 24px !important; }
.text-center { text-align: center !important; }

/************* END MINIMALIST CSS *************/
