/* Sizes and shared components taken from the existing SAAD homepage.
   Source: css/main.css — header, about-home, default-btn, footer, cookie-popup. */
body { font-size: 16px; line-height: 1.7; }
main h1, main h2, .hero h1, .project-block h2, .donation-section h2,
.page-intro h1, .final-cta h2 { font-size: 38px; line-height: 1.2; letter-spacing: 0; }
main h3 { font-size: 24px; }
.hero { padding-top: 40px; }
.hero h1 { margin: 15px 0 20px; }
.hero-copy > p, .mission-copy > p, .project-block p:not(.project-tag),
.donation-section .col-lg-5 > p, .center-heading p, .page-intro p,
.final-cta p, #contact .col-lg-5 > p { font-size: 16px; line-height: 1.7; }
.hero-note, .mission-points p, .area-card p, .story-card p, .involved-card p,
.initiative p, .section-heading > p, .project-checks, .journey li { font-size: 14px; }
.area-card h3, .initiative h3, .partner-card h3, .mission-points h3 { font-size: 20px; }
.eyebrow, .hero .eyebrow, .final-cta .eyebrow { font-size: 14px; letter-spacing: 0; font-weight: 400; }
.hero .button, .button, .button-small { font-size: 16px; font-family: var(--default-font); font-weight: 400; padding: 14px 30px; }
.text-link { font-size: 16px; font-weight: 500; }
.hero .button-row { gap: 18px; }
.project-tag { font-size: 13px; }
form label { font-size: 14px; }
form .form-control, form .form-select, .amount-input input { font-size: 16px; }
.consent { font-size: 13px; }
.form-hint, .payment-methods, .form-status { font-size: 13px; }
.hero-visual .image-caption { font-size: 14px; }
.hero-bottom > div { font-size: 12px; }

/* Red contact bar, original Saad wordmark, white navigation and outlined CTA. */
.saad-header { background: #fff; }
.topbar { background: #dd2b1c; color: #fff; min-height: 40px; display: flex; align-items: center; font-size: 14px; }
.topbar > .container { width: 100%; gap: 15px; }
.topbar .contact-info { gap: 24px; }
.topbar a { color: #fff; }
.topbar .social-links { gap: 18px; }
.saad-header .navbar { min-height: 80px; padding-top: 10px; padding-bottom: 10px; }
.saad-wordmark { font-size: 30px; font-weight: 700; color: #dd2b1c; letter-spacing: 0; }
.saad-header .saad-wordmark .saad-brand-logo { display:block; width:auto; height:68px; max-height:none; object-fit:contain; }
.saad-footer .footer-wordmark .saad-brand-logo { display:block; width:110px; height:auto; max-height:none; object-fit:contain; background:#fff; padding:6px; border-radius:6px; }
@media(max-width:575px) { .saad-header .saad-wordmark .saad-brand-logo { height:56px; } .saad-footer .footer-wordmark .saad-brand-logo { width:96px; } }
.saad-header .nav-link { padding: 18px 15px !important; font-size: 15px; font-weight: 400; font-family: var(--nav-font); border: 0; background: transparent; }
.header-donate { border: 2px solid #dd2b1c; color: #dd2b1c; border-radius: 50px; padding: 8px 28px; font-size: 14px; line-height: 1.5; transition: background .3s, color .3s; }
.header-donate:hover, .header-donate:focus-visible { background: #dd2b1c; color: #fff; }
.dropdown-menu { border: 0; border-radius: 4px; box-shadow: 0 8px 30px #1516161a; padding: 10px 0; }
.dropdown-item { font-family: var(--nav-font); font-size: 15px; padding: 10px 20px; white-space: normal; }
.dropdown-item:hover, .dropdown-item:focus { background: #f1f6f5; color: #dd2b1c; }

/* Four-column homepage footer with the original background and contact details. */
.saad-footer { padding: 80px 0 0; background: linear-gradient(#0008,#0008), url('../images/footer-bg.png') center/cover; color: #fff; }
.footer-wordmark { display: inline-block; font-family: var(--heading-font); font-size: 28px; font-weight: 700; margin-bottom: 24px; color: #fff; }
.saad-footer .footer-description { font-family: var(--default-font); font-size: 15px; color: #dcdcdc; line-height: 1.6; }
.saad-footer h4 { font-family: var(--heading-font); font-size: 18px; color: #fff; margin-bottom: 25px; }
.saad-footer .social-links { display: flex; gap: 12px; margin-top: 25px; }
.saad-footer .social-links a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #ffffff14; color: #ddd; font-size: 16px; }
.saad-footer .social-links a:hover { background: #dd2b1c; color: #fff; }
.saad-footer .footer-links { list-style: none; margin: 0; padding: 0; }
.saad-footer .footer-links li { padding: 8px 0; transition: transform .3s; }
.saad-footer .footer-links li:hover { transform: translateX(5px); }
.saad-footer .footer-links a { display: flex; gap: 8px; font-size: 14px; color: #d1d1d1; }
.saad-footer .footer-links i { font-size: 12px; }
.saad-footer .footer-links a:hover { color: #ff776c; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.footer-contact-item > i { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; background: #dd2b1c1a; border-radius: 50%; color: #ff776c; }
.footer-contact-item p, .footer-contact-item a { font-size: 14px; color: #fff; line-height: 1.5; margin: 0; overflow-wrap: anywhere; align-self: center; }
.saad-footer-bottom { border-top: 1px solid #ffffff24; margin-top: 55px; padding: 25px 0; }
.saad-footer-bottom > .container { display: flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 12px; }
.saad-footer-bottom strong { color: #ff776c; }
.saad-footer-bottom > .container > div { display: flex; flex-wrap: wrap; gap: 15px; }
.saad-footer-bottom > .container { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:20px; }
.saad-footer-bottom .footer-legal-links { justify-content:center; text-align:center; }
.saad-footer-bottom .footer-design-credit { text-align:right; justify-self:end; white-space:nowrap; }
@media(max-width:991px) {
 .saad-footer-bottom > .container { grid-template-columns:1fr; text-align:center; justify-items:center; }
 .saad-footer-bottom .footer-design-credit { justify-self:center; text-align:center; }
}

/* Same contact actions, with a bottom bar on mobile. */
.btn-container { position: fixed; right: 0; top: 62%; display: flex; flex-direction: column; gap: 10px; z-index: 1030; }
.btn-container .btn { writing-mode: vertical-rl; background: #dd2b1c; border: 1px solid #dd2b1c; color: #fff; font-size: 16px; border-radius: 10px 0 0 10px; padding: 14px 10px; }
.btn-container .btn:hover, .btn-container .btn:focus-visible { background: #151616; border-color: #151616; }
#to-top { left: auto; right: 20px; bottom: 20px; background: #dd2b1c; color: #fff; font-size: 26px; }
.enquire-modal { border-radius: 10px; overflow: hidden; }
.enquire-modal > .btn-close { position: absolute; right: 12px; top: 12px; z-index: 2; }
.enquire-modal .modal-img img { width: 100%; height: 100%; object-fit: cover; }
.enquire-modal h4 { color: #dd2b1c; font-size: 24px; margin-right: 24px; }
.enquire-modal p { font-size: 14px; margin-bottom: 18px; }
.enquire-modal .contact-form { padding: 0; background: transparent; }
.enquire-modal textarea { min-height: 80px; }
.captcha-field { margin: 18px 0; }
.captcha-question { display: inline-block; padding: 4px 14px; margin-left: 8px; color: #151616; background: #f1f6f5; border: 1px dashed #dd2b1c; font-size: 18px; letter-spacing: 2px; font-weight: 700; }
.captcha-inline { display: flex; gap: 10px; align-items: center; }
.captcha-inline input { min-width: 0; }
.refresh-captcha { border: 1px solid #dd2b1c; background: #fff; color: #dd2b1c; border-radius: 4px; width: 45px; height: 45px; flex-shrink: 0; }
.captcha-status { font-size: 13px; color: #a02626; }

/* Original cookie card artwork, gradient, size and Accept / Reject controls. */
.cookie-popup { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 45%; max-width: 500px; background: linear-gradient(135deg,#dd2b1c,#91838d); color: #fff; padding: 15px 30px; border-radius: 10px; z-index: 1040; display: flex; align-items: center; gap: 20px; box-shadow: 0 8px 25px #0002; }
.cookie-popup[hidden] { display: none; }
.cookie-popup.show { animation: cookie-reveal .6s; }
@keyframes cookie-reveal { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cookie-popup > img { width: 80px; height: 80px; object-fit: contain; flex-shrink: 0; }
.cookies-content p { color: #fff; font-size: 15px; line-height: 1.5; margin: 0 0 10px; }
.cookies-content .cookie-detail { font-size: 12px; }
.cookie-detail a { text-decoration: underline; }
.cookie-popup button { margin-right: 10px; padding: 8px 16px; border: 0; border-radius: 5px; font-size: 15px; color: #fff; background: #dd2b1c; }
.cookie-popup #rejectCookies { background: #151616; }
.cookie-popup button:hover { background: #a31d12; }

@media(max-width:1199px) {
  .saad-header .mobile-donate { display: inline-flex; margin-left: auto; }
  .saad-header .desktop-donate { display: none; }
  .saad-header .navbar-toggler { display: block; }
  .saad-header .nav-link { padding: 12px 0 !important; text-align: left; }
  .saad-header .navbar-collapse { padding: 12px 0; }
}
@media(max-width:767px) {
  body { padding-bottom: 65px; }
  .topbar { font-size: 12px; }
  .topbar .contact-info { gap: 12px; flex-wrap: wrap; justify-content: center; padding: 6px 0; }
  .topbar .contact-info a { overflow-wrap: anywhere; }
  .saad-header .navbar { min-height: 70px; }
  main h1, main h2, .hero h1, .project-block h2, .donation-section h2, .page-intro h1, .final-cta h2 { font-size: 32px; letter-spacing: 0; }
  .hero .button, .button { padding: 12px 22px; font-size: 16px; }
  .hero-visual .image-caption { font-size: 12px; }
  .hero-bottom > div { font-size: 10px; }
  .hero-bottom > span { font-size: 16px; }
  .saad-footer-bottom > .container { flex-direction: column; align-items: flex-start; }
  .btn-container { top: auto; bottom: 10px; left: 10px; right: 10px; flex-direction: row; }
  .btn-container .btn { writing-mode: horizontal-tb; flex: 1; padding: 10px; border-radius: 10px; }
  #to-top { bottom: 76px; right: 12px; }
  .cookie-popup { width: calc(100% - 24px); bottom: 78px; padding: 15px; gap: 12px; }
  .cookie-popup > img { width: 58px; height: 58px; }
  .cookie-popup button { font-size: 14px; padding: 8px 12px; }
}
@media print { .saad-header, .saad-footer, .btn-container, .cookie-popup, .modal { display: none !important; } body { padding-bottom: 0; } }
@media(prefers-reduced-motion:reduce) { .cookie-popup.show { animation: none; } }
