/* --- CSS RESET & BASE STYLES --- */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #FAFAF7;
  color: #222237;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #1B3556;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C19F32;
  text-decoration: underline;
}
strong {
  font-weight: 700;
}
ul, ol {
  padding-left: 1.3em;
  margin-top: 0.7em;
  margin-bottom: 1.3em;
}
li+li {
  margin-top: 0.4em;
}

/* --- CONTAINERS & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(27,53,86,0.06);
  padding: 32px 28px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(27,53,86,0.13);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 28px;
  background: #FFFFFF;
  border-left: 5px solid #FCD744;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(27,53,86,0.06);
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #222237;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card span {
  color: #6B6B5A;
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TYPOGRAPHY --- */

h1, h2, h3, h4, h5 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #1B3556;
  font-weight: 700;
  line-height: 1.16;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}
h4, h5 {
  font-size: 1rem;
}
.text-section p {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222237;
  margin-bottom: 1.2em;
  font-size: 1.05rem;
}

/* --- BUTTONS & CALLS TO ACTION --- */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #1B3556;
  color: #fff !important;
  font-size: 1.15rem;
  padding: 12px 28px;
  font-family: 'Georgia', serif;
  border: none;
  border-radius: 24px;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(27,53,86,0.10);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
  text-decoration: none;
  margin: 6px 0;
}
.cta-primary:hover, .cta-primary:focus {
  background: #13233F;
  box-shadow: 0 4px 16px rgba(27,53,86,0.21);
  transform: translateY(-2px) scale(1.025);
}
.cta-secondary {
  display: inline-block;
  background: #FCD744;
  color: #1B3556;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  font-weight: 700;
  border-radius: 22px;
  padding: 8px 22px;
  box-shadow: 0 1px 4px rgba(252,215,68,0.15);
  border: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  margin-top: 8px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #FFE777;
  box-shadow: 0 3px 10px rgba(252,215,68,0.24);
}
button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Open Sans', Arial, sans-serif;
  border: none;
  background: transparent;
  font-size: 1.7rem;
  cursor: pointer;
  color: #1B3556;
  transition: color 0.18s, background 0.12s;
}
button:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #FCD744;
  outline-offset: 2px;
}

/* --- HEADER --- */
header {
  background: #FFFFFF;
  border-bottom: 1px solid #F7F4E7;
  box-shadow: 0 1px 12px rgba(27,53,86,0.03);
  padding: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}
header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  color: #1B3556;
  font-weight: 500;
  padding: 6px 0 6px 0;
  border-radius: 4px;
  transition: background 0.14s, color 0.18s;
}
.main-nav a:not(.cta-primary):hover, .main-nav a:not(.cta-primary):focus {
  background: #FCD74422;
  color: #C19F32;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #1B3556;
  margin-left: 12px;
  padding: 4px 16px;
  border-radius: 5px;
  transition: background 0.15s;
  z-index: 103;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FCD74433;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 102;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
  transform: translateX(-100%);
  transition: transform 0.40s cubic-bezier(.48,.09,.25,1);
  box-shadow: 2px 0 28px rgba(27,53,86,0.07);
  width: 100vw;
  max-width: 380px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 2px 0 38px rgba(27,53,86,0.13);
}
.mobile-menu-close {
  font-size: 1.9rem;
  color: #1B3556;
  background: none;
  border: none;
  padding: 18px 22px;
  align-self: flex-end;
  margin-right: 12px;
  margin-top: 8px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #C19F32;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 12px 28px 22px 38px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #1B3556;
  padding: 13px 0;
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 7px;
  margin-right: 0;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FCD74433;
  color: #C19F32;
}

/* --- HERO SECTION --- */
.hero {
  background: #F7F4E9;
  border-bottom: 1px solid #EAE6CF;
  padding: 40px 0 36px 0;
  margin-bottom: 56px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  color: #1B3556;
  font-size: 2.6rem;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.22rem;
  color: #403d37;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 10px;
  max-width: 540px;
}

/* --- SERVICES CARDS --- */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.service-brief, .service-detail {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(27,53,86,0.05);
  padding: 24px 22px 20px 24px;
  max-width: 380px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  justify-content: flex-start;
  align-items: flex-start;
  border-left: 6px solid #FCD744;
  margin-bottom: 18px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.service-brief:hover, .service-detail:hover {
  box-shadow: 0 6px 22px rgba(27,53,86,0.14);
  transform: translateY(-3px) scale(1.016);
}
.service-brief h3, .service-detail h2 {
  font-size: 1.33rem;
  color: #1B3556;
  margin-bottom: 5px;
  font-family: 'Georgia', serif;
}
.service-brief p, .service-detail p {
  color: #222237;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
}
.service-brief strong, .service-detail strong {
  color: #B79C36;
  font-weight: 700;
  font-size: 1.06rem;
}

/* --- FOOTER --- */
footer {
  background: #1B3556;
  padding: 34px 0 24px 0;
  color: #fff;
  border-top: 5px solid #FCD744;
  font-family: 'Open Sans', Arial, sans-serif;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-menu a {
  color: #FCD744;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: color 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
}
.brand-address {
  text-align: center;
  color: #CFCFC5;
  font-size: 0.98rem;
  margin-top: 4px;
}

/* --- MISCELLANEOUS & REUSABLE CLASSES --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222237;
  max-width: 820px;
}
.thankyou {
  background: #FBF7DF;
  border-radius: 20px;
  margin: 30px 0 60px 0;
  padding: 36px 18px 42px 18px;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: #fffdf4;
  color: #1B3556;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: center;
  box-shadow: 0 -1px 24px rgba(27,53,86,0.14);
  padding: 26px 20px 18px 20px;
  border-top: 3px solid #FCD744;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  animation: fadeInUp 0.9s cubic-bezier(.58,.24,.32,1);
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner button {
  margin-left: 15px;
}
.cookie-btn-accept {
  background: #1B3556;
  color: #fff;
  border-radius: 22px;
  padding: 8px 22px;
  font-weight: 700;
  margin-right: 8px;
  border: none;
  font-size: 1rem;
  transition: background 0.15s;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #13233F;
}
.cookie-btn-reject {
  background: transparent;
  border: 1.5px solid #1B3556;
  color: #1B3556;
  border-radius: 22px;
  padding: 8px 22px;
  font-weight: 700;
  margin-right: 8px;
  transition: background 0.15s, color 0.13s;
  font-size: 1rem;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #FFE777;
  color: #272600;
}
.cookie-btn-settings {
  background: transparent;
  border: none;
  color: #937912;
  font-weight: 500;
  font-size: 0.98rem;
  margin-right: 4px;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  color: #B79C36;
}
.cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 155;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(29,37,50,0.36);
  animation: fadeIn 0.4s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 440px;
  width: 92vw;
  margin: 0 auto;
  padding: 34px 24px 28px 24px;
  color: #1B3556;
  box-shadow: 0 6px 28px rgba(27,53,86,0.19);
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideDown 0.45s cubic-bezier(.46,.21,.33,1);
}
@keyframes slideDown {
  0% { opacity: 0; transform: translateY(-36px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.21rem;
  margin-bottom: 10px;
  color: #1B3556;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
}
.cookie-modal .cookie-category-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  border-radius: 11px;
  border: 1.2px solid #B79C36;
  background: #F7F4E9;
  position: relative;
  outline: none;
  margin-right: 0.6em;
  transition: background 0.18s;
}
.cookie-modal .cookie-category-toggle:checked {
  background: #FCD744;
  border-color: #FCD744;
}
.cookie-modal .cookie-category-toggle:after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px; top: 1.2px;
  transition: left 0.18s;
  box-shadow: 0 1px 6px rgba(27,53,86,0.13);
}
.cookie-modal .cookie-category-toggle:checked:after {
  left: 17px;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 6px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1240px) {
  .container { max-width: 96vw; }
}
@media (max-width: 1120px) {
  .services-list { gap: 16px; }
}
@media (max-width: 950px) {
  .services-list, .card-container, .content-grid {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .main-nav {
    gap: 15px;
    font-size: 1rem;
  }
}
@media (max-width: 850px) {
  .services-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .service-brief, .service-detail {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100vw;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section {
    margin-bottom: 36px;
    padding: 28px 6px;
  }
  .hero {
    padding: 28px 0 16px 0;
    margin-bottom: 28px;
  }
  .testimonial-card {
    padding: 15px 14px;
    font-size: 1rem;
  }
  .footer-menu {
    gap: 10px;
    flex-wrap: wrap;
  }
}
@media (max-width: 650px) {
  .hero h1 { font-size: 1.55rem; }
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.1rem; }
  .service-brief, .service-detail { padding: 14px 7px; }
  .testimonial-card { font-size: 0.97rem; }
}
@media (max-width: 520px) {
  .content-wrapper {
    gap: 13px;
  }
  .section {
    padding: 16px 2px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    font-size: .97rem;
    padding: 16px 4px 8px 4px;
  }
  .cookie-modal {
    padding: 18px 8px 15px 8px;
  }
}
@media (max-width: 480px) {
  .hero { padding: 11vw 0 11vw 0; }
  .hero .container { padding-left: 2vw; padding-right: 2vw; }
  .footer-menu { gap: 6px; font-size: 0.92rem; }
  .brand-address { font-size: 0.84rem; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

/* --- UTILITY CLASSES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-3 { margin-bottom: 24px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }

/* --- ACCESSIBILITY / FOCUS --- */
a:focus, button:focus, input:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2.5px solid #FCD744;
  outline-offset: 2px;
  background: #FCD74422;
}

/* --- ANIMATIONS --- */
.card, .service-brief, .service-detail {
  transition: box-shadow 0.22s, transform 0.18s;
}
.cta-primary, .cta-secondary, .cookie-btn-accept, .cookie-btn-reject {
  transition: background 0.18s, color 0.14s, box-shadow 0.18s, transform 0.13s;
}

/* --- OVERLAY & Z-INDEX CONTROL FOR MENUS --- */
.mobile-menu {
  z-index: 115;
}
.mobile-menu.open {
  box-shadow: 8px 0 36px rgba(27,53,86,0.13);
}
header {
  z-index: 120;
  position: relative;
}

/* --- PREVENT CONTENT OVERLAP --- */
main, header, footer {
  position: relative;
}

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