/* ============================================
   Demo Shared CSS
   Loads only Bootstrap + fonts + nav/footer styles
   Used by demo pages to avoid production style conflicts
   ============================================ */

/* --- Base resets (minimal, non-conflicting) --- */
html * { outline: 0 !important; }
:root { --bs-body-color: #333 !important; }
body {
  -webkit-font-smoothing: auto;
  -webkit-text-size-adjust: 100%;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: #333 !important;
}
p {
  font-family: "Montserrat", "GothamBook", sans-serif;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
  font-weight: 500;
}
/* Card paragraph text — consistent across all demo pages */
.card p,
[class*="-card"] p,
[class*="_card"] p {
  font-size: 0.92rem;
  color: #333;
}
blockquote { color: #333 !important; }
a { text-decoration: none; color: #33afd9; }
a:hover { color: #1c4489; }

/* --- Wrapper --- */
.wrapper {
  overflow: hidden;
  position: relative;
}

/* --- Header / Top Nav --- */
.header {
  position: relative;
  z-index: 5;
}
.top-nav {
  background: linear-gradient(90deg, #1c4489, #0a2540);
  padding: 18px 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  position: relative;
}
.top_nav_wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.top-signin {
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  transition: opacity 0.2s;
  line-height: 1;
  opacity: 0.85;
}
.top-signin:hover {
  opacity: 1;
  color: #fff;
}
.top-fixed-actions {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-btn-fixed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1c4489;
  color: #fff;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.lang-btn-fixed:hover {
  background: #33afd9;
  color: #fff;
}
.lang-btn-fixed .fa-globe {
  font-size: 14px;
}
.top_nav_wrap .top-link {
  text-transform: uppercase;
  margin-top: 6px;
  color: #fff;
}
.top_nav_wrap .top-link a { color: inherit; }
.top_nav_wrap .top-link a:hover { color: #33afd9; }
.top_nav_wrap .fa { font-size: 2em; }

/* --- Logo / Navbar --- */
.logo {
  margin: 0;
  line-height: 0;
  max-width: 250px;
  width: 100%;
}
.navbar {
  min-height: 5em;
  background: transparent;
  font-size: 15px;
}
.navbar-light .navbar-nav .active > .nav-link { color: #33afd9; }
.navbar-light .navbar-nav .nav-link {
  padding-top: 0;
  padding-bottom: 0;
  color: #000;
  padding-left: 1.3rem;
  padding-right: 1.3rem;
  text-transform: capitalize;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.3px;
}
.navbar-light .navbar-nav .nav-link:hover { color: #33afd9; }
.dropdown-menu {
  left: 0;
  font-size: 0.88rem;
  margin: 0;
  padding: 0.6em 0;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(28, 68, 137, 0.12), 0 2px 8px rgba(0,0,0,0.06);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: 280px;
  animation: dropdownFadeIn 0.25s ease;
}
@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
  padding: 0.6em 1.4em;
  color: #333;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 0;
}
.dropdown-item:hover, .dropdown-item:focus {
  background: linear-gradient(135deg, #eaf4f9, #f0f7fb);
  color: #1c4489;
  padding-left: 1.7em;
}
.dropdown-item.active,
.dropdown-item:active {
  background: linear-gradient(135deg, #eaf4f9, #d6ecf5);
  color: #33afd9;
}
.dropdown-divider {
  margin: 0.3em 1em;
  border-color: #f0f2f5;
}
.navbar-toggler {
  background: #33afd9;
  border: none;
  padding: 8px 10px;
}
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
}

/* --- Fixed/Sticky Nav --- */
.fixed-nav {
  background: #fff;
  box-shadow: 0 0 3px 0 #ddd;
  border-bottom: 1px solid #ccc;
  font-weight: 400;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 20;
}
.fixed-nav .navbar-brand {
  width: 7em;
  background: transparent;
  padding: 0;
}
.fixed-nav .navbar-brand img {
  transition: all 0.3s ease;
}
.fixed-nav .navbar {
  background: #fff;
  font-size: 1.1rem;
  padding: 0.5em 1.5em;
  min-height: 3em;
}
.fixed-nav .nav-link { color: #000 !important; }
.fixed-nav .active .nav-link { color: #33afd9 !important; }
.fixed-nav .navbar-nav {
  padding: 0;
  background: transparent;
}

/* --- Donate button in nav --- */
.btn-donate .btn {
  padding-top: 1em !important;
  padding-bottom: 1em !important;
  color: #fff !important;
  min-width: 120px;
}
.btn-info {
  background-color: #33afd9;
  border-color: #33afd9;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  border-radius: 0.3rem;
  min-width: 180px;
  padding: 1em;
}
.btn-infosm {
  background-color: #33afd9;
  border-color: #33afd9;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  border-radius: 0.3rem;
  min-width: 150px;
  padding: .5em;
}
.btn-info:hover, .btn-info:focus {
  background-color: #1c4489;
  border-color: #1c4489;
  color: #fff;
}

/* --- Footer --- */
.footer-wrap {
  font-family: "Montserrat", sans-serif;
  padding-top: 3em;
  color: #fff;
  font-weight: 400;
  background: #213a6f !important;
  font-size: 0.9rem;
}
.footer-wrap h4 { text-transform: capitalize; font-weight: 600; }
.footer-wrap h5 { color: #fff; font-size: 0.9rem; }
.footer-wrap p { color: #fff; }
.footer-wrap a { color: #fff; }
.footer-wrap a:focus, .footer-wrap a:hover { color: #9ed9ed; }
.footer-wrap .address p { position: relative; padding-left: 30px; }
.footer-wrap .address .fa { position: absolute; top: 6px; left: 0; }
.footer-wrap .address a { color: inherit; }
.footer-wrap .address a:hover { color: #33afd9; }
.footer-wrap .form-group { margin-bottom: 0.5em; }
.footer-wrap .form-control { font-size: 0.85rem; border-radius: 0; padding-bottom: 1em; }
.footer-wrap input.form-control { height: calc(2.25rem + 8px); }
.footer-wrap .btn-wrap { margin-top: 1em; }
.footer-wrap .btn-info { min-width: 10em; padding: 0.5em 1em; }
.footer-wrap .social img { width: 40px; }
.footer-wrap .social { margin-top: 3em; }
.footer-logo { width: 18rem; }
.fservices li { position: relative; margin: 2em 0; }
.fservices li img { position: absolute; left: 0; top: 2px; }
.fservices a { color: inherit; opacity: .9; }
.fservices a:hover { color: #33afd9; }
.footer-top .infos > li:first-child { padding-top: 0; }
.footer-btm {
  font-size: 12px;
  padding: 2em 0;
  background: #33afd9;
}
.footer-btm p { margin: 0; color: #fff; }
.footer-btm a:hover { color: #000; }
.social { font-size: 1.3rem; }
.social li { display: inline-block; vertical-align: top; margin: 0.3em 0.5em; }
.ftop_hold { flex-wrap: wrap; height: 100%; }

/* --- Back to top button --- */
.TopButton {
  background: #33afd9;
  border-radius: 100%;
  bottom: 5rem;
  box-shadow: 0 0 5px 0 rgba(48, 114, 172, 0.3);
  color: #fff;
  display: none;
  height: 45px;
  padding: 10px;
  position: fixed;
  right: 1rem;
  text-align: center;
  text-decoration: none;
  width: 45px;
  z-index: 999;
}
.TopButton:hover { color: #fff; }
.TopButton i { font-size: 1.8rem; line-height: 0.75; margin: 0; }

/* --- Shared Eligibility Checklist + Buttons --- */
.eligibility-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 2em 0;
}
.eligibility-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  padding: 0.5em 0;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.5;
}
.eligibility-checklist li .check-icon,
.eligibility-checklist li i {
  color: #33afd9;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15em;
}
.eligibility-buttons {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  margin-top: 1.5em;
}
.eligibility-buttons .btn-instructions {
  background: transparent;
  color: #1c4489;
  border: 2px solid #1c4489;
  padding: 0.85em 2.2em;
  font-family: "Montserrat-Bold", sans-serif;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.eligibility-buttons .btn-instructions:hover {
  background: #1c4489;
  color: #fff;
  transform: translateY(-2px);
}

/* --- Section Kicker (shared label above headings) --- */
.section-kicker {
  font-family: "Montserrat-Bold", sans-serif;
  color: #33afd9;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75em;
}
.section-kicker-light {
  font-family: "Montserrat-Bold", sans-serif;
  color: #33afd9;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75em;
}

/* --- Section Heading --- */
.section-heading {
  font-family: "GothamBook", "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: #1c4489;
  line-height: 1.3;
  margin-bottom: 0.3em;
}
.section-heading em { font-style: italic; color: #33afd9; }
.section-heading-light {
  font-family: "GothamBook", "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.3em;
}
.section-heading-light em { font-style: italic; color: #33afd9; }

/* --- Section Divider --- */
.section-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, #33afd9, transparent);
  max-width: 80%;
  margin: 0 auto;
}

/* --- Stat Cards --- */
.stat-cards {
  display: flex;
  gap: 2em;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5em;
}
.stat-card {
  flex: 1;
  max-width: 260px;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 2em 1.5em;
  text-align: center;
  box-shadow: 0 4px 24px rgba(28, 68, 137, 0.08), 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
}
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(28, 68, 137, 0.15), 0 4px 12px rgba(0,0,0,0.06);
}
.stat-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf4f9, #d6ecf5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1em;
  transition: background 0.3s ease, transform 0.3s ease;
}
.stat-card:hover .stat-card-icon {
  background: linear-gradient(135deg, #33afd9, #1c4489);
  transform: scale(1.08);
}
.stat-card-icon i {
  font-size: 1.4rem;
  color: #1c4489;
  transition: color 0.3s ease;
}
.stat-card:hover .stat-card-icon i { color: #fff; }
.stat-card-number {
  font-family: "Montserrat", sans-serif !important;
  font-size: 2.2rem;
  font-weight: 900 !important;
  color: #1c4489;
  line-height: 1;
  margin-bottom: 0.2em;
  display: inline;
}
.stat-card-prefix, .stat-card-suffix {
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.4rem;
  font-weight: 900 !important;
  color: #1c4489;
  display: inline;
}
.stat-card-label {
  font-family: "Montserrat-Bold", sans-serif;
  font-size: 0.8rem;
  color: #1c4489;
  margin-top: 6px;
  margin-bottom: 0.3em;
}
.stat-card-sublabel {
  font-size: 0.78rem;
  color: #333 !important;
  line-height: 1.5;
  margin-top: 4px;
}

/* --- HFLA Spinner (rotating text badge) --- */
.hfla-spinner {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a2540, #1c4489);
  border: 3px solid rgba(51, 175, 217, 0.5);
  z-index: 4;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.hfla-spinner .spinner-text {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  animation: hfla-spin 20s linear infinite;
}
@keyframes hfla-spin { to { transform: rotate(360deg); } }
.hfla-spinner .spinner-text text {
  fill: #ffffff !important;
  stroke: none;
  font-family: "Montserrat-Bold", sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 7px;
}
.hfla-spinner .spinner-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.hfla-spinner .spinner-center img {
  width: 44px; height: 44px;
  object-fit: contain;
}

/* --- Testimonial Card (shared base) --- */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(28, 68, 137, 0.08), 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
  position: relative;
  display: flex;
  align-items: stretch;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 5px; height: 100%;
  background: linear-gradient(180deg, #33afd9, #1c4489);
  border-radius: 16px 0 0 16px;
  transition: width 0.35s ease, opacity 0.35s ease;
  z-index: 0;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(28, 68, 137, 0.15), 0 4px 12px rgba(0,0,0,0.06);
}
.testimonial-card:hover::before {
  width: 100%; opacity: 0.08; border-radius: 16px;
}
.testimonial-photo {
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.testimonial-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.testimonial-photo-placeholder {
  background: linear-gradient(135deg, #eaf4f9, #d6ecf5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-photo-placeholder i {
  font-size: 2rem;
  color: #1c4489;
  opacity: 0.3;
}
.testimonial-body {
  padding: 1.5em;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial-quote {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #333 !important;
  margin-bottom: 16px;
  font-style: normal;
}
.testimonial-body blockquote {
  font-size: 0.92rem;
  color: #333 !important;
  font-style: normal;
  line-height: 1.6;
  margin: 0 0 0.8em 0;
  padding: 0;
  border: none;
}
.testimonial-body .quote-deco {
  font-size: 1.6rem;
  color: #333;
  font-family: Georgia, serif;
  font-weight: 700;
  margin-right: 0.1em;
}
.testimonial-author strong {
  display: block;
  color: #1c4489;
  font-size: 0.95rem;
  text-transform: uppercase;
  font-family: "Montserrat-Bold", sans-serif;
}
.testimonial-author span,
.testimonial-body .role {
  font-size: 0.75rem;
  color: #33afd9;
  font-family: "Montserrat-Bold", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.testimonial-body h4 {
  font-family: "Montserrat-Bold", sans-serif;
  color: #1c4489;
  font-size: 1.05rem;
  margin-bottom: 0.05em;
}
.testimonial-body .watch-link {
  font-family: "Montserrat-Bold", sans-serif;
  font-size: 0.78rem;
  color: #1c4489;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: color 0.3s;
}
.testimonial-body .watch-link:hover { color: #33afd9; }

/* --- Icon Flip on Hover (shared animation) --- */
@keyframes iconFlipY {
  0% { transform: rotateY(0deg); }
  50% { transform: rotateY(90deg); }
  100% { transform: rotateY(0deg); }
}

/* --- Modal (newsletter) --- */
.modal-content { color: #b7b7b9; }

/* --- custom.css nav overrides --- */
@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: unset; }
}
.top_nav_wrap .top-link { margin-top: 0; }
.top_nav_wrap .top-link a { color: inherit; }
.logo, .navbar-light .navbar-brand { width: 100%; }
.form-group { margin-bottom: 1rem; }
label { margin-bottom: 0.5rem; }

/* --- Responsive nav/footer --- */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .header .container { max-width: 100%; }
  .logo { max-width: 135px; }
  .navbar-light .navbar-nav .nav-link { font-size: 13px; }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .header .container { max-width: 100%; }
  .container { max-width: 97%; }
  .logo { width: 14rem; }
  .top-nav { padding: 0.5em 0; }
  .navbar { min-height: 4em; }
  .navbar-light .navbar-nav .nav-link {
    font-size: 1rem;
    padding-top: 1em;
    padding-left: 0.5em;
    padding-bottom: 1em;
  }
  .navbar-light .navbar-nav { align-items: flex-start !important; }
  .btn-donate { margin-top: 1em; }
  .fixed-nav .navbar-collapse { position: relative; top: 0px; background: #fff; }
  .dropdown-menu { margin-left: 2em; margin-right: 2em; background-color: transparent; border: none; }
  .dropdown-item { padding-left: 0; padding-top: 1em; padding-bottom: 1em; }
  .dropdown-divider { border-color: #efefef; }
  .dropdown-item:focus, .dropdown-item:hover { background-color: transparent; }
  .footer-top .address { display: inline-block; width: 48%; vertical-align: top; margin-top: 0 !important; }
}
@media only screen and (max-width: 767px) {
  .logo { width: 11rem; }
  .fixed-nav .navbar-brand { width: 8.5em; }
  .top-nav { padding: 0.3em 0; font-size: 11px; }
  .top-nav .container { padding-left: 15px !important; padding-right: 15px !important; }
  .top_address { flex-wrap: wrap; }
  .top_nav_wrap .top-link { width: 25px; margin-top: 0; }
  .btn-donate .btn { min-width: 150px; padding: 1em !important; }
  .navbar { min-height: 4em; }
  .navbar-light .navbar-nav .nav-link { padding-top: 1.5em; padding-left: 0.5em; padding-bottom: 1em; }
  .navbar-light .navbar-nav { align-items: flex-start !important; }
  .btn-donate { margin-top: 1em; }
  .fixed-nav .navbar-collapse { position: relative; top: 0px; background: #fff; }
  .dropdown-menu { margin-left: 2em; margin-right: 2em; background-color: transparent; border: none; }
  .dropdown-item { padding-left: 0; padding-top: 0.5em; padding-bottom: 0.5em; }
  .dropdown-divider { border-color: #efefef; }
  .dropdown-item:focus, .dropdown-item:hover { background-color: transparent; }
  .footer-btm p { text-align: center; }
}
