/* =====================================================
   CSS RESET & NORMALIZE
===================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  font-family: inherit;
}
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background: #F9FAFB;
  color: #232323;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #174C6F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2B134;
  outline: none;
}
ul, ol {
  list-style: none;
  margin: 0 0 1.2em 0;
  padding: 0;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
hr {
  border: none;
  border-top: 1px solid #e0e7ef;
  margin: 32px 0;
}

/* =====================================================
   BRAND FONTS & COLORS
===================================================== */
:root {
  --primary: #174C6F;
  --secondary: #E0E7EF;
  --accent: #F2B134;
  --surface: #fff;
  --border: #d8dee9;
  --shadow: 0 2px 12px rgba(23, 76, 111, 0.09);
  --radius: 12px;
  --text: #232323;
  --text-dark: #1b2631;
  --text-light: #6c7785;
  --muted: #f3f6fa;
}

strong {
  font-weight: 700;
  color: var(--primary);
}

/* =====================================================
   LAYOUT CONTAINER
===================================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .section {
    padding: 32px 8px;
  }
}

/* =====================================================
   TYPOGRAPHY
===================================================== */
body, .text-section, .content-wrapper, .card {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
}
h1, .hero h1 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  font-weight: 700;
  line-height: 1.15;
}
h2 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 18px;
  font-weight: 600;
  line-height: 1.18;
}
h3 {
  font-size: 1.25rem;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.23;
}
h4, h5, h6 {
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: var(--text);
  margin-bottom: 8px;
}
p, .subheadline, li {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  color: var(--text-dark);
}
.subheadline {
  font-size: 1.18rem;
  color: var(--text-light);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

/* Visual hierarchy & link underline for accent */
.hero h1 {
  font-size: 2.8rem;
}

@media (max-width: 600px) {
  h1, .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.08rem; }
}

/* =====================================================
   HEADER & NAVIGATION
===================================================== */
header {
  background: var(--surface);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 20px 20px;
  gap: 32px;
  flex-wrap: wrap;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.04rem;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 6px;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a.active {
  background: var(--secondary);
  color: var(--primary);
  text-decoration: underline;
}
header img {
  height: 48px;
  width: auto;
  display: block;
}

.cta-btn {
  background: var(--primary);
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.03rem;
  font-weight: 600;
  padding: 11px 30px;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(23, 76, 111, 0.11);
  transition: background 0.35s, color 0.20s, box-shadow 0.25s, transform 0.15s;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  margin-left: 18px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(23, 76, 111, 0.16);
  transform: translateY(-2px) scale(1.035);
  outline: none;
}

@media (max-width: 900px) {
  header .container {
    flex-direction: column;
    gap: 12px;
    padding: 20px 12px 14px 12px;
    align-items: flex-start;
  }
  header nav {
    gap: 13px;
  }
}

/* =====================================================
   MOBILE NAVIGATION BURGER
===================================================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2010;
  background: var(--muted);
  border-radius: 7px;
  border: 1px solid var(--border);
  width: 46px;
  height: 46px;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 5px rgba(23,76,111,0.08);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  box-shadow: 0 2px 12px rgba(23,76,111,0.11);
  outline: none;
}

@media (max-width: 900px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245, 247, 250, 0.97);
  z-index: 2050;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 32px rgba(23, 76, 111, 0.13);
  display: flex;
  flex-direction: column;
  padding: 24px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 34px;
  font-size: 2.2rem;
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  z-index: 2070;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 80px 32px 0 34px;
}
.mobile-nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.18rem;
  color: var(--primary);
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  transition: background 0.15s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}

@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero {
  background: linear-gradient(97deg, #E0E7EF 40%, #ffffff 100%);
  padding: 60px 0 48px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(23, 76, 111, 0.04);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 220px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 690px;
}

@media (max-width: 800px) {
  .hero {
    padding: 38px 0 32px 0;
  }
}

/* =====================================================
   CONTENT GRIDS & FLEX / CARDS / SECTIONS
===================================================== */
.card-container, .feature-grid, .service-grid, .team-list, .testimonial-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .feature-grid > div, .service-grid > div, .team-list > div, .testimonial-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.19s;
}
.card:hover, .feature-grid > div:hover, .service-grid > div:hover, .team-list > div:hover, .testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(23, 76, 111, 0.14);
  transform: translateY(-5px) scale(1.012);
  z-index: 2;
}

.card {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 374px;
}
.feature-grid > div,
.service-grid > div,
.team-list > div {
  flex: 1 1 220px;
  min-width: 200px;
  margin-bottom: 0;
  box-shadow: var(--shadow);
  text-align: left;
  border: 1px solid var(--secondary);
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 8px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1rem;
  color: var(--text-dark);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .feature-grid, .service-grid, .team-list {
    flex-direction: column;
    gap: 22px;
  }
  .card, .feature-grid > div, .service-grid > div, .team-list > div {
    min-width: unset;
    max-width: 100%;
  }
}

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

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Testimonials (always readable, white cards, dark text) */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 13px;
  box-shadow: var(--shadow);
  color: #232323;
  margin-bottom: 16px;
  max-width: 640px;
  border: 1px solid #e5e7ea;
  min-width: 220px;
  font-style: italic;
}
.testimonial-card strong {
  font-weight: 700;
  font-style: normal;
  color: var(--primary);
  font-size: 1rem;
}
.testimonial-card p {
  color: #232323;
  margin-right: 14px;
  font-size: 1.13rem;
}

/* =====================================================
   LISTS & UL / LI
===================================================== */
ul, ol {
  margin: 1em 0 1.5em 1.4em;
  padding: 0;
}
ul li, ol li {
  margin-bottom: 0.7em;
  padding-left: 1.3em;
  position: relative;
}
ul li:before {
  content: '\2022';
  color: var(--accent);
  font-size: 1.12em;
  position: absolute;
  left: 0;
  top: 0.1em;
}
.feature-grid img, .service-grid img, .team-list img, ul li img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 600px) {
  ul, ol {
    margin: 0.6em 0 0.7em 0.9em;
  }
}

/* =====================================================
   BUTTONS, FORMS & MICRO-INTERACTIONS
===================================================== */
button, .cta-btn, input[type=submit] {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  border: none;
  border-radius: 7px;
  background: var(--primary);
  color: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s, transform 0.14s;
  padding: 11px 30px;
  font-size: 1rem;
  letter-spacing: 0.1px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 8px rgba(23, 76, 111, 0.07);
}
button:hover, button:focus, input[type=submit]:hover, input[type=submit]:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 7px 20px rgba(23,76,111,0.14);
  transform: translateY(-2px) scale(1.04);
}

/* Secondary/Outline style */
.btn-outline, .cookie-btn-outline {
  background: #fff;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  transition: background 0.18s, color 0.14s, box-shadow 0.15s;
}
.btn-outline:hover, .cookie-btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* Accent style */
.btn-accent, .cookie-btn-accent {
  background: var(--accent);
  color: var(--primary);
  border: 1.5px solid var(--accent);
  font-size: 1rem;
}
.btn-accent:hover, .cookie-btn-accent:hover {
  background: var(--primary);
  color: #fff;
}

/* =====================================================
   FOOTER
===================================================== */
footer {
  background: #F3F6FA;
  color: #1b2631;
  border-top: 1px solid #e0e7ef;
  padding: 32px 0 12px 0;
  font-size: 0.99rem;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
footer nav {
  display: flex;
  gap: 18px;
}
footer nav a {
  color: #23334d;
  font-size: 1rem;
  border-radius: 5px;
  padding: 7px 10px;
  transition: background 0.13s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
footer img {
  height: 38px;
  width: auto;
  margin-bottom: 10px;
}
footer p {
  flex-basis: 100%;
  color: var(--text-light);
  margin-top: 6px;
  font-size: 0.97rem;
}

@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  footer nav {
    gap: 10px;
  }
}

/* =====================================================
   COOKIE CONSENT BANNER & MODAL
===================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3500;
  background: #fff;
  color: var(--text-dark);
  box-shadow: 0 -1px 16px rgba(23,76,111,0.13);
  border-top: 1.5px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 26px 24px;
  gap: 20px;
  font-size: 1rem;
  animation: fadeInUp 0.5s 0s ease backwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: 18px;
}
.cookie-btn-accent, .cookie-btn-outline {
  padding: 8px 21px;
  font-size: 1rem;
  border-radius: 7px;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 12px;
    gap: 14px;
  }
  .cookie-banner .cookie-btn-group {
    margin-left: 0;
    gap: 10px;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 3520;
  background: rgba(23,76,111,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.33s 0s ease backwards;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 13px;
  max-width: 440px;
  width: 92vw;
  padding: 36px 30px 30px 34px;
  box-shadow: 0 8px 36px rgba(23,76,111,0.16);
  animation: fadeInUp 0.37s;
  position: relative;
}
.cookie-modal .modal-content h2 {
  font-size: 1.48rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.cookie-modal .modal-content h3 {
  font-size: 1.10rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 5px;
}
.cookie-modal .categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 26px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.01rem;
  color: var(--text-dark);
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--primary);
  width: 19px;
  height: 19px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 19px;
  right: 15px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: var(--accent);
}

.cookie-modal .cookie-btn-group {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

@media (max-width: 500px) {
  .cookie-modal .modal-content {
    padding: 22px 12px;
    max-width: 95vw;
  }
}

/* =====================================================
   UTILITIES & HELPERS
===================================================== */
.bg-muted {
  background: var(--muted) !important;
}
.text-accent { color: var(--accent) !important; }
.text-primary { color: var(--primary) !important; }
.text-center {
  text-align: center !important;
}
.rounded {
  border-radius: var(--radius);
}
.shadow {
  box-shadow: var(--shadow);
}
.border {
  border: 1.5px solid var(--border);
}

/* Spacings */
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 18px !important; }
.mt-3 { margin-top: 28px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 18px !important; }
.mb-3 { margin-bottom: 28px !important; }

/* =====================================================
   MISC. / ANIMATION / FOCUS
===================================================== */
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1.5px;
}
::-webkit-input-placeholder { color: #97a4b8; }
::-moz-placeholder { color: #97a4b8; }
:-ms-input-placeholder { color: #97a4b8; }
::placeholder { color: #97a4b8; }

/* Card hover/active microinteractions */
.card:active, .testimonial-card:active, .feature-grid > div:active {
  transform: scale(0.99);
}

/* Subtle fade-in anim for hero/sections */
.hero, .section, .testimonial-card, .card, .feature-grid > div, .service-grid > div, .team-list > div, .cta-btn, .cookie-banner, .mobile-menu {
  animation: fadeSimpleIn 0.6s 0s backwards;
}
@keyframes fadeSimpleIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =====================================================
   RESPONSIVE ADJUSTMENTS
===================================================== */
@media (max-width: 600px) {
  .section, .hero {
    padding: 20px 4px;
    margin-bottom: 38px;
  }
  .container {
    padding: 0 6px;
  }
  .card, .feature-grid > div, .service-grid > div, .team-list > div, .testimonial-card {
    padding: 14px 8px;
    font-size: 0.97rem;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
  }
}

/* =====================================================
   PRINT STYLES
===================================================== */
@media print {
  nav, .mobile-menu, .cookie-banner, .cookie-modal, .cta-btn, .mobile-menu-toggle, footer {
    display: none !important;
  }
  .container, .section, .card, .testimonial-card {
    box-shadow: none;
    border: none;
    background: #fff;
    padding: 0;
  }
}

/*
---- END OF STYLE ----
*/
