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

html {
  height: 100%;
  background-color: #faf7f4;
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a {
  color: #153D6B;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #C9A34B;
  text-decoration: underline;
}

ul, ol {
  margin-left: 1.5em;
  margin-top: 12px;
  margin-bottom: 18px;
  padding-left: 0;
}

li {
  margin-bottom: 8px;
  list-style: disc inside;
  font-size: 16px;
}

strong, b {
  font-weight: 600;
}

section, main, article, aside, header, nav, footer {
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #153D6B;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.95rem; }

p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #212429;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.14rem; }
}


/* ================== BRAND COLORS & GOLD ACCENT ================== */
:root {
  --primary: #153D6B;
  --secondary: #5AB9EA;
  --accent: #F6E7D8;
  --deep-navy: #0c2747;
  --very-light: #FEFCF9;
  --text: #212429;
  --white: #fff;
  --gold: #C9A34B;
  --light-gold: #F5E9CC;
}


/* ================== LAYOUT CONTAINERS ================== */
.container {
  width: 100%;
  max-width: 1100px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  background: var(--accent);
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: 0 4px 18px rgba(21,61,107,0.04), 0 1.5px 3.5px 0 var(--light-gold);
}

@media (max-width: 768px) {
  .container { padding-left: 10px; padding-right: 10px; }
  .text-section { padding: 22px 10px; }
}


/* ================== HEADER ================== */
header {
  background: var(--white);
  box-shadow: 0 3px 18px rgba(37,30,8,0.04);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 2px solid var(--light-gold);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
}
header img {
  height: 48px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 0;
  position: relative;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: var(--gold);
}
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, var(--gold), #ffe7b6 99%);
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 30px;
  border: 1px solid var(--gold);
  box-shadow: 0 2px 8px 0 rgba(201,163,75,0.09);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s, color 0.2s, border 0.2s, box-shadow 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 12px 0 rgba(21,61,107,0.11);
}

/* ============== Mobile Menu Button =============== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: 18px;
  z-index: 60;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover {
  color: var(--gold);
}
@media (max-width: 1020px) {
  .mobile-menu-toggle {
    display: block;
  }
  header nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
}
@media (max-width: 768px) {
  header img { height: 40px; }
}


/* ================== MOBILE MENU ================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,61,107, 0.99);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.6,.01,0,1);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 24px;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  color: var(--gold);
  background: none;
  border: none;
  font-size: 2.8rem;
  margin-left: 22px;
  margin-bottom: 38px;
  cursor: pointer;
  align-self: flex-start;
  z-index: 1003;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.32rem;
  color: var(--white);
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.22s, color 0.19s;
  text-align: left;
  min-width: 80vw;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gold);
  background: rgba(201,163,75,0.12);
}

/* Prevent scroll when mobile menu is open */
body.menu-open {
  overflow: hidden !important;
}

/* ================== MAIN LAYOUT SECTIONS & FLEXBOX ================== */
main {
  width: 100%;
  background: none;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  section { padding: 24px 4px; margin-bottom: 36px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}
.card {
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(21,61,107,0.12), 0 1px 2px 0 var(--light-gold);
  background: var(--very-light);
  border: 1px solid var(--light-gold);
  transition: box-shadow 0.18s, transform 0.17s;
  position: relative;
  min-width: 270px;
  max-width: 99%;
  display: flex;
  flex-direction: column;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px 0 var(--gold), 0 6px 22px rgba(21,61,107,0.14);
  transform: translateY(-4px) scale(1.015);
  border: 1.5px solid var(--gold);
}

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

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


/* Features & Items */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 14px 0;
}

/* Cards inside lists (Services, etc.) */
ul > li {
  position: relative;
  background: var(--very-light);
  margin-bottom: 12px;
  padding: 16px 18px 16px 42px;
  border-radius: 13px;
  list-style: none;
  box-shadow: 0 1.5px 8px 0 rgba(201,163,75,0.07);
  border-left: 4px solid var(--gold);
  font-size: 1rem;
}
ul > li img {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  height: 22px;
  width: 22px;
}
ul > li span {
  color: var(--gold);
  font-weight: 600;
  margin-left: 10px;
}
ul > li a {
  margin-left: 15px;
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
}
ul > li a:hover { color: var(--gold); }

@media (max-width: 768px) {
  ul > li { padding-left: 34px; }
}


/* ================== TESTIMONIALS ================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: var(--very-light);
  border-radius: 15px;
  box-shadow: 0 1.5px 10px 0 rgba(201,163,75,0.09);
  border-left: 5px solid var(--gold);
  margin-bottom: 20px;
  max-width: 650px;
  color: #212429; /* Always dark text for good contrast */
}
.testimonial-card p {
  font-size: 1.14rem;
  color: #212429;
  margin-bottom: 8px;
  font-style: italic;
}
.testimonial-card > div:last-child {
  color: var(--gold);
  font-size: 1.25rem;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
}

@media (max-width: 600px) {
  .testimonial-card { padding: 14px 9px; }
}


/* ================== FOOTER ================== */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 24px 0 0 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: center;
  margin-bottom: 7px;
}
footer nav a {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.19s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
  text-decoration: underline;
}
footer div {
  color: var(--white);
  font-size: 0.98rem;
  margin-bottom: 20px;
}


/* ================== COOKIE CONSENT BANNER & POPUP ================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--very-light);
  color: #212429;
  border-top: 2px solid var(--gold);
  box-shadow: 0 -3px 20px rgba(21,61,107,0.05);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  z-index: 2005;
  font-size: 1rem;
  animation: cookieFadeIn 0.55s cubic-bezier(.43,1.1,.2,1);
}
@keyframes cookieFadeIn {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-banner .cookie-message {
  flex: 2 1 240px;
  min-width: 160px;
  margin-right: 10px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 99px;
  border: 1.5px solid var(--gold);
  padding: 8px 24px;
  margin: 0;
  background: var(--gold);
  color: var(--primary);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.18s, color 0.17s;
  outline: none;
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--gold);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary);
  color: var(--white);
  border: 1.5px solid var(--primary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,61,107,0.56);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalIn 0.36s cubic-bezier(.6,.01,0,1);
}
@keyframes modalIn {
  from { transform: scale(0.94) translateY(100px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal {
  background: var(--very-light);
  color: #212429;
  padding: 28px 30px 20px 30px;
  border-radius: 20px;
  box-shadow: 0 2px 32px 0 rgba(21,61,107,0.13);
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal .cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 0.01em;
  font-weight: 700;
  margin-bottom: 5px;
}
.cookie-modal .cookie-modal-section {
  margin-bottom: 7px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.cookie-modal input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .close-modal-btn {
  font-size: 1.05rem;
  background: transparent;
  color: var(--primary);
  border: none;
  border-radius: 8px;
  margin-left: auto;
  margin-right: -2px;
  padding: 6px 18px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.14s, color 0.13s;
}
.cookie-modal .close-modal-btn:hover {
  background: var(--gold);
  color: var(--primary);
}

@media (max-width: 540px) {
  .cookie-banner { flex-direction: column; padding: 15px 7px; }
  .cookie-modal { padding: 16px 5vw; min-width: unset; }
}


/* ================== GENERAL SPACING =============== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }


/* ================== MICRO-INTERACTIONS & TRANSITIONS ================== */
.button, .btn-primary, .cookie-banner button, .cookie-modal button, a, nav a {
  transition: background 0.2s, color 0.2s, box-shadow 0.19s, border 0.16s;
}

/* Underline effect for links */
a:not(.btn-primary):after {
  display: block;
  content: '';
  border-bottom: 2.5px solid var(--gold);
  width: 0;
  transition: width 0.22s;
}
a:not(.btn-primary):hover:after, a:not(.btn-primary):focus:after {
  width: 100%;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 900px) {
  header .container { flex-direction: row; gap: 12px; min-height: 56px; }
}
@media (max-width: 700px) {
  .content-wrapper { gap: 12px; }
  .section { margin-bottom: 36px; padding: 20px 4px; }
}

/* Make sure text is readable even on smaller screens */
@media (max-width: 545px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.18rem; }
  .testimonial-card { padding: 10px 4px; }
}


/* ================== FORMS ================== */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 7px;
  border: 1px solid var(--light-gold);
  margin-bottom: 8px;
  background: var(--very-light);
  color: #212429;
  transition: border 0.16s;
}
input:focus, select:focus, textarea:focus {
  border: 1.5px solid var(--gold);
  outline: none;
}

button {
  font-family: inherit;
}

/* ================== UTILITY CLASSES ================== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.rounded { border-radius: 10px; }

/* ================== SCROLLBAR STYLE ================== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--very-light);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
/* ================== A11Y FOCUS ================ */
:focus-visible {
  outline: 2px dashed var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============= CUSTOM FONT LOADING (fall back to system fonts) ============= */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), local('Montserrat-Regular'), url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');
}

/* ================== GOLD BORDER GLOW (Delicate accent) ================== */
.card, .testimonial-card, .text-section {
  border-left: 4px solid var(--gold);
  box-shadow: 0 2.5px 14px 0 rgba(201,163,75,0.06);
}


/* ======= OVERRIDE HORIZONTAL RULES (if present in content) ====== */
hr {
  border: none;
  border-top: 2px solid var(--gold);
  margin: 32px 0 24px 0;
}

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