/* --- 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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F8FAFC;
  color: #191B1F;
  min-height: 100vh;
}

/* --- IMPORT FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');


/* --- BRAND COLORS --- */
:root {
  --primary: #25406D;
  --primary-rgb: 37,64,109;
  --secondary: #E5EDF5;
  --accent: #D4A637;
  --accent-dark: #B7892A;
  --background: #F8FAFC;
  --surface: #FFF;
  --neutral: #191B1F;
  --soft-gray: #F3F6F9;
  --danger: #D9593D;
  --focus: #0099FF;
}


/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.18;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.36rem;
  font-weight: 700;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
p, li {
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}
a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--accent);
  outline: none;
}



/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
}

/* --- HEADER --- */
header {
  width: 100%;
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(37,64,109,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  position: relative;
  z-index: 20;
  min-height: 68px;
}
header > a img {
  max-height: 44px;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 4px 0 2px;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.09rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 30px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 2px 8px rgba(37,64,109,0.14);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.12s;
  min-width: 180px;
  text-align: center;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 22px rgba(37,64,109,0.14);
  outline: none;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
  .btn-primary {
    padding: 10px 16px;
    min-width: 140px;
    font-size: 0.96rem;
  }
}
@media (max-width: 768px) {
  header {
    padding: 12px 10px;
  }
  .main-nav {
    display: none;
  }
}



/* --- BURGER MENU --- */
.mobile-menu-toggle {
  position: absolute;
  right: 16px;
  top: 20px;
  background: var(--surface);
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 40;
  transition: background 0.17s, color 0.17s, border-color 0.17s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--focus);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,64,109,0.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-102vw);
  transition: transform 0.35s cubic-bezier(0.61,0.04,0.17,1.01);
  z-index: 1100;
  padding: 38px 20px 18px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.33rem;
  letter-spacing: 0.03em;
  padding: 8px 0;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: #fff1cc17;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}



/* --- HERO --- */
.hero {
  padding: 64px 0 40px 0;
  background: linear-gradient(120deg, var(--secondary) 67%, #f5faff 100%);
  border-bottom: 2px solid var(--accent);
  margin-bottom: 60px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--primary);
}
.hero p {
  font-size: 1.16rem;
  color: var(--neutral);
  max-width: 670px;
  margin-bottom: 34px;
}
.hero .btn-primary {
  margin-top: 12px;
}
@media (max-width: 768px) {
  .hero {
    padding: 32px 0 16px 0;
    min-height: initial;
    margin-bottom: 30px;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* --- FEATURE/SECTION CARDS --- */
.feature-grid,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
  margin-bottom: 12px;
  justify-content: space-between;
}
.feature-grid > div,
.service-list > div {
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(37,64,109,0.07);
  padding: 32px 22px;
  flex: 1 1 240px;
  min-width: 230px;
  max-width: 285px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.16s;
  margin-bottom: 20px;
  border-bottom: 4px solid var(--secondary);
}
.feature-grid > div:hover,
.service-list > div:hover {
  box-shadow: 0 8px 32px rgba(37,64,109,0.13);
  transform: translateY(-2px) scale(1.015);
  border-bottom: 4px solid var(--accent);
}
.feature-grid img,
.service-list img {
  width: 55px;
  height: 55px;
  margin-bottom: 16px;
}
.feature-grid h3,
.service-list h3 {
  color: var(--primary);
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 6px;
  font-weight: 800;
}
.feature-grid p,
.service-list p {
  font-size: 1rem;
  color: var(--neutral);
}
@media (max-width: 992px) {
  .feature-grid, .service-list {
    gap: 14px;
  }
  .feature-grid > div, .service-list > div {
    padding: 24px 12px;
    min-width: 160px;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .service-list > div {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}


/* --- CTA SECTION --- */
.cta-section {
  background: var(--primary);
  border-radius: 18px;
  padding: 40px 0;
  margin-bottom: 60px;
}
.cta-section .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}
.cta-section h2, .cta-section p {
  color: #fff;
}
.cta-section .btn-primary {
  background: var(--accent);
  color: var(--primary);
  margin-top: 10px;
}
.cta-section .btn-primary:hover, .cta-section .btn-primary:focus {
  background: #fff;
  color: var(--accent);
}
@media (max-width: 768px) {
  .cta-section {
    padding: 26px 0;
    margin-bottom: 36px;
  }
}

/* --- TESTIMONIALS --- */
.testimonials, .testimonial-list {
  margin-bottom: 60px;
}
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-top: 12px;
  margin-bottom: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--secondary);
  color: #191B1F;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(37,64,109,0.10);
  padding: 30px 24px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 420px;
  flex: 1 1 320px;
  border-left: 5px solid var(--accent);
  transition: box-shadow 0.17s, border-color 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(37,64,109,0.13);
  border-left: 5px solid var(--primary);
}
.testimonial-card p {
  color: #222;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 1.01rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.testimonial-highlights {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}
.testimonial-highlights p {
  font-size: 1.02rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-highlights img {
  width: 32px;
  height: 32px;
}
@media (max-width: 600px) {
  .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 18px 12px;
  }
}


/* --- FLEX PATTERNS (MANDATORY PATTERNS) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--surface);
  border-radius: 15px;
  box-shadow: 0 2px 16px rgba(37,64,109,0.07);
  padding: 28px 18px;
  min-width: 230px;
}
.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 {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 14px;
}

/* --- CONTACT PAGE --- */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  margin-top: 0;
  margin-bottom: 22px;
}
.contact-info > div {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--surface);
  border-radius: 11px;
  padding: 10px 16px;
  box-shadow: 0 2px 10px rgba(37,64,109,0.07);
}
.contact-info img {
  width: 28px;
  height: 28px;
}
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    gap: 16px;
  }
}

.map-location {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 15px;
}
.map-location img {
  width: 28px;
  height: 28px;
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 36px 0 18px 0;
  box-shadow: 0 -2px 18px 0 rgba(37,64,109,0.10);
  margin-top: 80px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}
.footer-nav nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.15s, color 0.21s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  outline: none;
}
.footer-info {
  text-align: center;
  font-size: 0.97rem;
  color: #fff;
  opacity: 0.97;
  margin-top: 2px;
}
.footer-info p {
  margin-bottom: 7px;
}
@media (max-width: 768px) {
  .footer-nav nav {
    gap: 14px;
    flex-direction: column;
  }
  footer {
    padding: 22px 0 10px 0;
    margin-top: 30px;
  }
}


/* --- FORMS --- */
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: 2px solid var(--secondary);
  border-radius: 9px;
  padding: 10px 14px;
  margin-bottom: 16px;
  transition: border-color 0.19s;
  width: 100%;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--primary);
  display: block;
}
button {
  font-family: inherit;
}

/* --- LISTS --- */
ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 1rem;
}
ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 27% 72% 53% 43% / 60% 50% 80% 84%; /* geometric blob */
  opacity: 0.6;
}

/* --- GENERAL CARDS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  background: var(--secondary);
  border-radius: 15px;
  padding: 28px 21px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(37,64,109,0.07);
}

/* --- CONFIRMATION PAGE --- */
.confirmation {
  padding: 48px 0 34px 0;
  background: #fffbe1;
  border-radius: 20px;
  box-shadow: 0 2px 26px 0 rgba(212,166,55,0.09);
  margin-bottom: 52px;
}
.confirmation-message {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.next-steps-information ul {
  margin-top: 5px;
}
.next-steps-information li{
  font-size: 1rem;
}


/* --- MISCELLANEOUS --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 24px 14px 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 18px 0 rgba(37,64,109,0.22);
  gap: 20px;
  animation: slideUp 0.60s cubic-bezier(0.41, 0.14, 0.44, 0.97);
}
@keyframes slideUp {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: #fff;
  margin-bottom: 0;
  font-size: 1.05rem;
  text-align: center;
  letter-spacing: 0.01em;
}
.cookie-buttons {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  border: none;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 11px 22px;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.17s, color 0.14s;
}
.cookie-btn.accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #fff;
  color: var(--accent);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--danger);
  border: 2px solid var(--danger);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--danger);
  color: #fff;
  border: 2px solid #fff;
}
.cookie-btn.settings {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--accent);
  color: #fff;
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-settings-modal {
  display: none;
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -60%) scale(0.97);
  background: #fff;
  color: var(--primary);
  border-radius: 20px;
  box-shadow: 0 10px 54px 10px rgba(37,64,109,0.29);
  padding: 36px 28px;
  min-width: 320px;
  max-width: 92vw;
  z-index: 10010;
  animation: cookiesOpen 0.35s cubic-bezier(0.44,0.09,0.45,0.88);
  flex-direction: column;
  gap: 18px;
}
@keyframes cookiesOpen {
  from { opacity: 0; transform: translate(-50%, -90%) scale(0.95); }
  to { opacity: 1; transform: translate(-50%, -60%) scale(0.97); }
}
.cookie-settings-modal.open {
  display: flex;
}
.cookie-settings-modal h2 {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 1.38rem;
  text-align: center;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  background: var(--secondary);
  border-radius: 9px;
  padding: 8px 12px;
}
.cookie-category label {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  width: 22px; height: 22px;
  accent-color: var(--accent);
  border-radius: 4px;
}
.cookie-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 10px;
}
@media (max-width: 540px) {
  .cookie-settings-modal {
    padding: 19px 4px;
    min-width: 0;
  }
  .cookie-category input[type=checkbox] {
    width: 20px; height: 20px;
  }
}

/* --- UTILITIES --- */
.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
.bg-accent { background: var(--accent); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-white { color: #fff !important; }
.rounded { border-radius: 20px; }
.shadow {
  box-shadow: 0 2px 22px 0 rgba(37,64,109,0.17);
}


/* --- ACCESSIBILITY FOCUS --- */
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  box-shadow: 0 0 0 2px var(--focus);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1200px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 1020px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.52rem; }
}
@media (max-width: 700px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.01rem; }
}

/* --- SMOOTH TRANSITIONS / ANIMATIONS --- */
.btn-primary, .card, .feature-grid > div, .service-list > div, .cookie-btn {
  transition: box-shadow 0.19s, background 0.19s, color 0.16s, border 0.16s, transform 0.14s;
}


/* --- Z-INDEX RULES --- */
header, .mobile-menu, .cookie-consent-banner, .cookie-settings-modal {
  z-index: 1000;
}


/* --- GEOMETRIC SHAPE ACCENTS (Decorative Only) --- */
.hero::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; right: 0;
  width: 260px;
  height: 170px;
  background: var(--accent);
  border-radius: 0 0 77% 100% / 0 100% 80% 100%;
  opacity: 0.10;
  z-index: 1;
}
.hero {
  position: relative;
  overflow: hidden;
}

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