/* ===== 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,main,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  margin: 0; padding: 0; border: 0; font-size: 100%; box-sizing: border-box;
}
html {height: 100%;scroll-behavior: smooth;}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #233A53;
  background: #f7f9fb;
  font-size: 16px;
  line-height: 1.65;
}
img {max-width: 100%;height: auto;display: block;}
ul,ol {margin-left: 24px;}
a {color: #233A53;text-decoration: none;transition: color 0.2s;}
a:focus {outline: 2px solid #D1B464; outline-offset: 2px;}
a:hover {color: #D1B464;}
strong, b {font-weight: 700;}
table {width: 100%;border-collapse: collapse;margin: 24px 0;}
th,td {padding: 12px 16px;text-align: left;}
th {background: #233A53;color: #fff;font-weight: 700;}
td {background: #fff;}
tr + tr td {border-top: 1px solid #e2e6ea;}
input,button,select,textarea {font-family: inherit;font-size: inherit;} 

/* ===== TYPOGRAPHY ===== */
h1, .display-1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #233A53;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #233A53;
  margin-bottom: 20px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #233A53;
  margin-bottom: 12px;
}
h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #233A53;
}
p, li, dd, dt, blockquote {
  font-size: 1rem;
  color: #233A53;
  margin-bottom: 12px;
  font-family: 'Roboto', Arial, sans-serif;
}
blockquote {
  font-style: italic;
  color: #1e2e40;
  margin-left: 0;
  padding-left: 16px;
  border-left: 4px solid #D1B464;
}

/* ===== LAYOUT: CONTAINER & SECTIONS ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(35,58,83,0.07);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 10px;
    border-radius: 12px;
  }
  .container {padding: 0 6px;}
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-block {
  align-items: flex-start;
  background: linear-gradient(90deg,#e8eef3 60%,#f7f9fb 100%);
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(35,58,83,.09);
  padding: 40px 28px 40px 32px;
}
@media (max-width: 768px) {
  .hero-block {
    padding: 22px 10px;
  }
}

/* ===== FLEX CONTAINERS (MANDATORY) ===== */
.card-container,
.card-grid,
.feature-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card,
.feature-item {
  margin-bottom: 20px;
  position: relative;
}
.card {
  padding: 28px 22px 22px 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(35,58,83,.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 250px;
  min-height: 140px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 26px 0 rgba(35,58,83,.18);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f2f5f8;
  padding: 22px 20px;
  border-radius: 10px;
  min-width: 215px;
  flex: 1 0 215px;
  box-shadow: 0 1px 8px rgba(35,58,83,.07);
  transition: box-shadow 0.18s;
}
.feature-item:hover {
  box-shadow: 0 3px 20px rgba(35,58,83,.12);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .feature-grid,.content-grid,.card-container,.card-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f7fafc;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(35,58,83,.08);
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px 0 rgba(35,58,83,.14);
}
@media (max-width: 550px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
}

/* ========== HEADER NAVIGATION ========== */
header {
  background: #233A53;
  box-shadow: 0 2px 12px 0 rgba(35,58,83,.08);
  position: relative;
  z-index: 10;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  height: 68px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav a {
  color: #fff;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 5px;
  transition: color 0.14s, background 0.18s;
}
.main-nav a:hover, .main-nav a:active {
  background: #D1B464;
  color: #233A53;
}
.main-nav .cta-primary {
  background: #D1B464;
  color: #233A53;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 7px;
  box-shadow: 0 2px 8px 0 rgba(209,180,100,.13);
  margin-left: 32px;
  transition: background 0.18s, color 0.18s;
}
.main-nav .cta-primary:hover {
  background: #e8c879;
  color: #233A53;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 16px;
}

/* ------- Burger Mobile Nav ------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 22;
  background: #233A53;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  line-height: 1;
  width: 44px;height: 44px;
  border-radius: 44px;
  cursor: pointer;
  transition: background .17s, color .14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #D1B464;
  color: #233A53;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,58,83,0.97);
  padding: 32px 24px 12px 28px;
  transform: translateX(-100vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.34s cubic-bezier(.86,0,.07,1), opacity 0.24s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #D1B464;
  font-size: 2.2rem;
  margin-bottom: 28px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 35px;
  transition: background .15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #f2f1ec;
  color: #233A53;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 8px;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D1B464;
  color: #233A53;
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 16px;
    padding: 0 14px;
  }
  .main-nav .cta-primary {margin-left: 4px;}
}
@media (max-width: 900px) {
  .main-nav {gap: 5px;}
  .main-nav a {font-size: 0.99rem;}
  .main-nav .cta-primary {margin-left: 0;}
}
@media (max-width: 780px) {
  .main-nav {gap: 2px;padding:0 2px;}
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===== CTA BUTTONS ===== */
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #D1B464;
  color: #233A53;
  border: none;
  border-radius: 7px;
  font-weight: 700;
  padding: 14px 32px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(209,180,100,0.09);
  margin-top: 16px;
  margin-bottom: 8px;
  transition: background 0.18s, box-shadow 0.18s;
}
.cta-primary:focus, .cta-primary:hover {
  background: #e8c879;
  color: #233A53;
  box-shadow: 0 6px 34px 0 rgba(209,180,100,.17);
}

/* ===== TEXT SECTION ===== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 8px;
}
.text-section ul li,
.text-section ol li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 4px;
}
.text-section img {
  width: 22px;
  height: 22px;
}

/* ===== LISTS IN FEATURES, TEAM, FAQ ===== */
ul,ol {
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* ===== TABLES ===== */
table {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(35,58,83,.07);
  overflow-x: auto;
}
th,td {
  border-bottom: 1px solid #e2e6ea;
}
tr:last-child td {border-bottom: none;}

/* ===== FOOTER ===== */
footer {
  background: #233A53;
  color: #fff;
  padding: 36px 0 16px;
  margin-top: 80px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #D1B464;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background 0.13s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #D1B464;
  color: #233A53;
}
.footer-contact {
  text-align: center;
  color: #d8e2ee;
  font-size: 0.95rem;
  font-family: 'Roboto', Arial, sans-serif;
}
@media (max-width: 600px) {
  .footer-nav {gap:12px;font-size:0.93rem;}
  footer {padding:22px 0 8px;}
}

/* ===== FORMS (if present) ===== */
input[type="text"], input[type="email"], textarea {
  border: 1px solid #d3dae3;
  border-radius: 7px;
  padding: 12px 16px;
  font-size: 1rem;
  width: 100%;
  background: #f2f6fa;
  margin-bottom: 18px;
  transition: border-color 0.18s;
}
input:focus, textarea:focus {
  border-color: #D1B464;
  outline: none;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent-banner {
  position: fixed;
  z-index: 2000;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #233A53;
  color: #fff;
  box-shadow: 0 -2px 12px rgba(35,58,83,0.17);
  padding: 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1rem;
  gap: 16px;
  opacity: 1;
  transition: opacity 0.3s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
}
.cookie-btn, .cookie-btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  background: #fff;
  color: #233A53;
  font-weight: 600;
  transition: background 0.17s, color 0.17s;
}
.cookie-btn-primary {
  background: #D1B464;
  color: #233A53;
}
.cookie-btn:hover, .cookie-btn-primary:hover {
  background: #e8c879;
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal-bg {
  position: fixed;z-index: 3500;top: 0;left: 0;width: 100vw;height: 100vh;background: rgba(20,25,38,.64);display: flex;align-items: center;justify-content: center;transition: opacity .25s;opacity: 0;pointer-events: none;
}
.cookie-modal-bg.open {opacity:1;pointer-events:all;}
.cookie-modal {
  background: #fff;
  color: #233A53;
  border-radius: 16px;
  box-shadow: 0 10px 50px rgba(35,58,83,.23);
  padding: 34px 30px;
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: cookieModalPop .34s cubic-bezier(.79,-0.14,.18,1.16);
}
@keyframes cookieModalPop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-categories {
  margin: 18px 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}
.cookie-category label {
  flex: 1;
  font-size: 1rem;
}
.cookie-switch {
  position: relative;
  width: 44px;
  height: 22px;
  display: inline-block;
}
.cookie-switch input {display:none;}
.cookie-slider {
  position: absolute;cursor: pointer;top:0;left:0;right:0;bottom:0;background:#d7dbe2;border-radius:22px;transition:background .15s;}
.cookie-switch input:checked + .cookie-slider {background:#D1B464;}
.cookie-slider:before {
  content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;background:#fff;border-radius:50%;transition:transform .15s;background:#fff;}
.cookie-switch input:checked + .cookie-slider:before {transform: translateX(20px);}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;top:16px;right:16px;background:none;border:none;color:#777;font-size:1.6rem;cursor:pointer;}
.cookie-modal-close:hover {color:#D1B464;}
@media (max-width: 500px) {
  .cookie-modal {padding:22px 6vw;}
}

/* ===== Z-INDEX SAFETY FOR OVERLAYS ===== */
.mobile-menu {z-index: 999;}
.cookie-consent-banner {z-index: 2000;}
.cookie-modal-bg {z-index: 3500;}

/* ===== MISCELLANEOUS ===== */
::-webkit-input-placeholder { color: #93a2ba; }
:-moz-placeholder { color: #93a2ba; }
::-moz-placeholder { color: #93a2ba; }
:-ms-input-placeholder { color: #93a2ba; }

/* ===== ACCESSIBILITY ===== */
*:focus-visible { outline: 2px solid #D1B464; outline-offset: 1.5px; }

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1050px) {
  h1 {font-size:2rem;}
  h2 {font-size:1.5rem;}
  .section {padding: 22px 6px;}
}
@media (max-width: 620px) {
  h1 {font-size:1.3rem;}
  h2 {font-size:1.1rem;}
  .section {padding: 13px 2px;border-radius:6px;}
}

/* == Hide scrollbars for overlays/mobile nav on small screens == */
.mobile-menu, .cookie-modal-bg {overflow-y: auto;}

/* ========== BRANDING COLORS FOR SECTIONS ========== */
.section {
  border: 1px solid #e1e6f0;
  background: #fff;
}

/* ========== DL, DT, DD FOR CONTACT ========== */
dl {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 1rem;
}
dt {font-weight: 600;margin-bottom:2px;}
dd {margin-left: 10px;color: #30507c;}

/* == Success/Info/Warning Highlight (for forms/messages) == */
.success-message {
  background: #e7f7ed;
  color: #228b47;
  border-left: 5px solid #228b47;
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 18px;
}

/* ========== CARD SPACING ENFORCEMENT ========== */
.card,
.section, .feature-item,
.testimonial-card {
  margin-bottom: 20px;
}
.card-container, .card-grid,
.feature-grid, .content-grid {
  gap: 24px;
}

/* ========== VISUAL ENHANCEMENTS ========== */
.card, .feature-item, .testimonial-card, .section {
  box-shadow: 0 2px 12px rgba(35,58,83,.08);
  border-radius: 12px;
}

/* ========== MICRO-ANIMATIONS ========== */
.card, .testimonial-card, .feature-item {
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover, .testimonial-card:hover, .feature-item:hover {
  box-shadow: 0 10px 35px 0 rgba(35,58,83,.19);
  transform: translateY(-2px) scale(1.02);
}

/* ========== PRINT (hide nav & overlays) ========== */
@media print {
  .main-nav, .mobile-menu, .cookie-consent-banner, .cookie-modal-bg, header, footer { display: none !important; }
}

/* ===== END ===== */