:root {
  --blue:           #5BA3C9;
  --blue-dark:      #3D7EA6;
  --blue-deeper:    #2C6289;
  --blue-light:     #80BCE0;
  --blue-pale:      #C8E4F0;
  --blue-subtle:    #EBF5FB;
  --blue-tint:      #F5F9FC;
  --gray-tag:       #5D6D7E;
  --gray-body:      #555F6B;
  --gray-muted:     #9AA5B0;
  --gray-light:     #D8E2EA;
  --gray-border:    #E2EAF0;
  --dark:           #2C3E50;
  --dark-navy:      #1A2B38;
  --white:          #FFFFFF;
  --off-white:      #F8FAFB;
  --surface-alt:    #F5F9FC;
  --success:        #27AE60;
  --success-bg:     #EBF9F1;
  --error:          #C0392B;
  --error-bg:       #FDECEA;
  --section-pad:    100px 0;
  --container:      1200px;
  --font-heading:   'Playfair Display', Georgia, serif;
  --font-body:      'Inter', 'Segoe UI', Arial, sans-serif;
  --r-sm:   4px;
  --r-md:   10px;
  --r-lg:   18px;
  --r-xl:   28px;
  --r-pill: 100px;
  --shadow-xs:         0 1px 4px rgba(44,62,80,.06);
  --shadow-sm:         0 2px 12px rgba(44,62,80,.08);
  --shadow-md:         0 6px 28px rgba(44,62,80,.12);
  --shadow-lg:         0 14px 50px rgba(44,62,80,.16);
  --shadow-card:       0 4px 20px rgba(91,163,201,.10);
  --shadow-card-hover: 0 10px 40px rgba(91,163,201,.20);
  --shadow-blue:       0 6px 24px rgba(91,163,201,.30);
  --t-fast: .18s ease;
  --t-base: .30s ease;
  --t-slow: .55s ease;
}

body.high-contrast {
  --blue: #0066AA;
  --blue-dark: #004D80;
  --gray-body: #1A1A1A;
  --dark: #000000;
  --gray-tag: #333333;
  --gray-border: #9DA9B5;
  --surface-alt: #F1F5F8;
  background: #ffffff;
  color: #111111;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-body);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--t-base), color var(--t-base), font-size var(--t-base);
}

body.font-large  { font-size: 18px; }
body.font-xlarge { font-size: 20px; }

body.heading-large h1 { font-size: 1.18em; }
body.heading-large h2 { font-size: 1.14em; }
body.heading-large h3 { font-size: 1.12em; }
body.heading-large h4 { font-size: 1.08em; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 9999;
  background: var(--blue);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: top var(--t-fast);
  box-shadow: var(--shadow-md);
}

.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.25;
  font-weight: 700;
  transition: font-size var(--t-base), color var(--t-base);
}

p {
  margin-bottom: 1rem;
  color: var(--gray-body);
}

a {
  color: var(--blue);
  text-decoration: underline;
  transition: color var(--t-fast);
}

a:hover { color: var(--blue-dark); }

.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1A5276;
  margin-bottom: .75rem;
  padding: 5px 14px;
  border: 1px solid rgba(91,163,201,.40);
  border-radius: var(--r-pill);
  background: var(--blue-subtle);
}

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.9rem);
  font-family: var(--font-heading);
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 14px auto 0;
}

.section-title.left-line::after { margin: 14px 0 0; }

.section-subtitle {
  font-size: 1.05rem;
  color: #5D6D7E;
  max-width: 640px;
  margin: 0 auto 3.5rem;
  line-height: 1.85;
}

.blue-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 12px 0 1.5rem;
}

.blue-line.centered { margin: 12px auto 1.5rem; }

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  padding: 13px 32px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: all var(--t-base);
  font-family: var(--font-body);
  box-shadow: var(--shadow-sm);
  line-height: 1;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue);
  padding: 13px 32px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: all var(--t-base);
  font-family: var(--font-body);
  line-height: 1;
}

.btn-outline-custom:hover,
.btn-outline-custom:focus {
  background: var(--blue-subtle);
  color: var(--blue-dark);
  border-color: var(--blue-dark);
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 13px 32px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.65);
  cursor: pointer;
  transition: all var(--t-base);
  font-family: var(--font-body);
  line-height: 1;
}

.btn-outline-white:hover,
.btn-outline-white:focus {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.90);
  color: var(--white);
  text-decoration: none;
}

/* ACCESSIBILITY TOOLBAR */
.accessibility-toolbar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1050;
  width: 88px;
  padding: 18px 10px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, #214763 0%, #255674 100%);
  box-shadow: -8px 0 30px rgba(26, 82, 118, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.accessibility-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #D5DCE2;
  background: #F7F7F7;
  color: #111111;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-base);
  box-shadow: 0 3px 10px rgba(0,0,0,.10);
}

.accessibility-btn-text {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1;
}

.accessibility-btn:hover,
.accessibility-btn:focus {
  transform: scale(1.05);
  border-color: var(--blue);
}

.accessibility-btn.is-active {
  background: #0B74CF;
  color: #ffffff;
  border-color: #0B74CF;
  box-shadow: 0 8px 24px rgba(11, 116, 207, .35);
}

.scroll-btn {
  position: fixed;
  right: 100px;
  z-index: 1050;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-border);
  background: var(--white);
  color: var(--blue);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: all var(--t-base);
  opacity: 0;
  pointer-events: none;
}

.scroll-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

#scrollTopBtn { bottom: 80px; }
#scrollDownBtn { bottom: 28px; }

.scroll-btn:hover,
.scroll-btn:focus {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
  transform: scale(1.08);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up { animation: fadeInUp .75s ease forwards; }
.animate-fade    { animation: fadeIn .75s ease forwards; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible  {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1  { transition-delay: .12s; }
.reveal-delay-2  { transition-delay: .24s; }
.reveal-delay-3  { transition-delay: .36s; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--blue-pale); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }
::selection { background: rgba(91,163,201,.22); color: var(--dark); }

.investment-item {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.investment-img img {
  width: 160px;
  height: 110px;
  object-fit: cover;
}

.short-desc {
  color: #5D6D7E;
}

.read-more-btn {
  color: #1A5276;
  border: none;
  background: none;
  cursor: pointer;
}

/* OLD MODAL SUPPORT */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0,0,0,0.6);
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-box {
  background: #fff;
  padding: 40px;
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 15px;
}

#modalDesc h3 {
  font-size: 28px;
  margin-top: 20px;
}

#modalDesc p {
  line-height: 1.8;
}

#modalDesc ul {
  padding-left: 20px;
}

.modal-inner {
  max-width: 900px;
  margin: auto;
}

#modalTitle {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1A2B38;
}

#modalDesc h3 {
  font-size: 28px;
  margin-top: 30px;
  margin-bottom: 10px;
}

#modalDesc p {
  font-size: 17px;
  line-height: 1.9;
  color: #555;
}

#modalDesc ul {
  padding-left: 20px;
}

#modalDesc li {
  margin-bottom: 10px;
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 991px) {
  :root { --section-pad: 80px 0; }

  .accessibility-toolbar {
    width: 74px;
    padding: 14px 8px;
    gap: 12px;
  }

  .accessibility-btn {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .scroll-btn {
    right: 84px;
  }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px 0; }

  .accessibility-toolbar {
    right: 0;
    width: 70px;
    padding: 12px 7px;
    border-radius: 16px 0 0 16px;
  }

  .accessibility-btn {
    width: 46px;
    height: 46px;
    font-size: .95rem;
  }

  .scroll-btn {
    right: 78px;
  }
}

@media (max-width: 480px) {
  :root { --section-pad: 50px 0; }

  .accessibility-toolbar {
    width: 66px;
    gap: 10px;
  }

  .accessibility-btn {
    width: 44px;
    height: 44px;
  }

  .scroll-btn {
    right: 72px;
  }
}


/* FOOTER LOGO */
.footer-brand-block {
  margin-bottom: 1.25rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 10px;
}

.footer-logo-link:hover,
.footer-logo-link:focus {
  text-decoration: none;
}

.footer-logo-image {
  display: block;
  width: auto;
  max-width: 260px;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  filter: none;
}

/* Ensure visible keyboard focus for footer logo */
.footer-logo-link:focus-visible {
  outline: 3px solid #80BCE0;
  outline-offset: 4px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .footer-logo-image {
    max-width: 220px;
    max-height: 60px;
  }
}

@media (max-width: 480px) {
  .footer-logo-image {
    max-width: 190px;
    max-height: 52px;
  }
}