@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

/* ============= TOKENS ============= */
:root {
    --sai-red: #e2453c;
    --sai-red-dark: #d13d35;
    --sai-red-deep: #c7212f;
    --sai-bg-soft: #fff0f0;
    --sai-dark: #1e1f19;
    --sai-gray-bg: #f8f8f8;
    --sai-text-muted: #8f827d;
    --sai-radius-lg: 16px;
    --sai-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* ============= BASE ============= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--sai-dark);
    background: #ffffff;
    line-height: 1.5;
}

a {
    color: var(--sai-red-deep);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.sai-main-content,
.home-page main {
    min-height: 60vh;
    background-color: #ffffff;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sai-red-deep);
}

.section-heading {
    font-weight: 700;
}

/* ============= HEADER (MATCH CLIENT) ============= */

.sai-header {
    position: relative;
    z-index: 20;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* TOPBAR */
.topbar {
    background: #e5edf3;
    color: #333;
    padding: 4px 0;
    font-size: 11px;
}
.topbar a {
    color: #d8352b;
    font-weight: 600;
    text-decoration: none;
}
.topbar a:hover {
    text-decoration: underline;
}
.topbar-item {
    white-space: nowrap;
}
.topbar-phone {
    color: #d8352b;
    font-weight: 700;
}

/* Whatsapp small squares */
.whatsapp-flag {
    display: inline-block;
    width: 11px;
    height: 11px;
}
.flag-red {
    background: #d8352b;
}
.flag-white {
    background: #ffffff;
    border: 1px solid #ccc;
}

/* MAIN RED BAR */
.sai-main-header {
    background: #e2453c;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

/* LOGO WITH STRIPES */
.sai-logo-wrap {
    display: flex;
    align-items: stretch;
    text-decoration: none;
}

.sai-logo-box {
    padding: 8px 20px;
    height: 54px;
    background: #e2453c;
    display: flex;
    align-items: center;
}
.sai-logo-img {
    max-height: 42px;
    width: auto;
}

.sai-logo-stripe {
    width: 18px;
    height: 54px;
    transform: skewX(-20deg);
}
.sai-logo-stripe-blue {
    background: #124b9b;
}
.sai-logo-stripe-yellow {
    background: #ffd34d;
}

/* NAV + DONATE */
.sai-nav {
    margin-left: 60px; /* gap from stripes to menu */
}

.sai-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.sai-menu > li {
    position: relative;
}

.sai-menu > li > a {
    display: block;
    padding: 0 18px;
    line-height: 54px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
    text-decoration: none;
}

/* hover and active */
.sai-menu > li > a:hover {
    color: #ffeaa0;
}
.sai-menu > li > a.active {
    color: #ffeaa0;
}
.sai-menu > li > a.active::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 2px;
    background: #ffffff;
}

/* dropdown on hover (desktop only in CSS) */
.sai-menu .has-dropdown:hover > .sai-submenu {
    display: block;
}
.sai-submenu {
    display: none;
    position: absolute;
    top: 54px;
    left: 0;
    min-width: 190px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 6px 0;
    margin: 0;
    z-index: 25;
}
.sai-submenu li a {
    display: block;
    padding: 6px 14px;
    font-size: 12px;
    color: #333;
    text-transform: none;
    letter-spacing: 0;
}
.sai-submenu li a:hover {
    background: #f4f4f4;
}

/* DONATE BUTTON */
.sai-donate-btn {
    background: #ffffff;
    border: 1px solid #ffffff;
    color: #e2453c;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.06em;
    border-radius: 0;
    padding: 9px 36px;
    margin-left: 40px;
    margin-top: 6px;
    margin-bottom: 6px;
}
.sai-donate-btn:hover {
    background: #ffe9b4;
    border-color: #ffe9b4;
    color: #e2453c;
}

/* MOBILE HEADER */
.sai-mobile-toggle {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 22px;
    margin-left: auto;
    padding: 0 12px;
    line-height: 54px;
    display: none;
}

.sai-mobile-menu {
    display: none;
    background: #e2453c;
}
.sai-menu-mobile {
    list-style: none;
    padding: 8px 20px 12px;
    margin: 0;
}
.sai-menu-mobile li a {
    display: block;
    padding: 4px 0;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
}
.sai-menu-mobile li a:hover {
    text-decoration: underline;
}

/* generic donate button for sections */
.btn-donate {
    background: var(--sai-red);
    border-color: var(--sai-red);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}
.btn-donate:hover {
    background: var(--sai-red-dark);
    border-color: var(--sai-red-dark);
    color: #fff;
}

/* ============= HERO ============= */

.hero {
    position: relative;
    min-height: 680px;
    color: #fff;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 10%,
        rgba(0, 0, 0, 0.6) 55%,
        rgba(0, 0, 0, 0.35) 100%
    );
}
.hero-map {
    position: absolute;
    left: 8%;
    top: 38%;
    width: 260px;
    opacity: 0.7;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 150px;
}
.hero-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.hero-title {
    font-weight: 900;
    font-size: 40px;
    line-height: 1.2;
    margin-top: 10px;
    margin-bottom: 15px;
}
.hero-sub {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 20px;
}
.hero-btn-main {
    padding: 10px 26px;
}
.hero-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

/* hero inner menu (white pill) */
.hero-menu {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
}
.hero-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 40px;
    overflow: hidden;
}
.hero-menu-list > li {
    position: relative;
}
.hero-menu-list > li > a {
    display: block;
    padding: 8px 18px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #333;
}
.hero-menu-list > li + li > a {
    border-left: 1px solid #eee;
}
.hero-menu-donate {
    margin-left: 10px;
    padding: 9px 26px;
}
.hero-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    min-width: 200px;
    box-shadow: var(--sai-shadow-soft);
    display: none;
    z-index: 5;
}
.hero-menu-list .has-dropdown:hover .hero-submenu {
    display: block;
}
.hero-submenu li a {
    display: block;
    padding: 6px 15px;
    font-size: 0.8rem;
    color: #333;
}

/* chat widget on hero */
.chat-widget {
    position: absolute;
    right: 40px;
    top: 160px;
    width: 340px;
    background: #ffffff;
    border-radius: 16px;
    z-index: 4;
}
.chat-header {
    background: var(--sai-red);
    color: #fff;
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 16px 16px 0 0;
}
.chat-body {
    padding: 12px 14px 14px;
    font-size: 0.8rem;
    color: #333;
}

/* ============= URGENT CAMPAIGNS ============= */
.urgent-campaigns {
    padding: 80px 0 40px;
    background: #ffffff;
    text-align: center;
}
.urgent-title h6 {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--sai-red-dark);
    font-size: 0.75rem;
}
.urgent-title p {
    margin: 4px 0 0;
    font-weight: 600;
}
.urgent-cards-row {
    margin-top: 30px;
}
.campaign-card {
    border-radius: 16px;
    box-shadow: var(--sai-shadow-soft);
    padding: 16px 18px 18px;
    border: 0;
}
.campaign-badge {
    display: inline-block;
    border-radius: 40px;
    font-size: 0.7rem;
    padding: 4px 10px;
    margin-bottom: 8px;
}
.campaign-badge.medical {
    background: #2261aa;
    color: #fff;
}
.campaign-badge.orphan {
    background: #fff0a1;
    color: #b28700;
}
.campaign-badge.animals {
    background: #9de9ff;
    color: #165c74;
}
.campaign-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 6px;
}
.campaign-text {
    font-size: 0.82rem;
    color: var(--sai-text-muted);
}
.campaign-goal {
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: #999;
}
.urgent-more-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

/* GENERIC SECTION BACKGROUNDS */
.section-light {
    padding: 70px 0;
    background: #ffffff;
}
.values-section {
    background: #f8f8f8;
}

/* VALUE CARDS */
.value-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--sai-shadow-soft);
    border: 0;
}
.value-card .card-body h5 {
    font-size: 0.95rem;
    font-weight: 600;
}

/* NEWS SECTION */
.news-section {
    position: relative;
    padding: 70px 0;
    background: var(--sai-red);
    color: #fff;
    overflow: hidden;
}
.news-bg-map {
    position: absolute;
    inset: 0;
    background-image: url("../images/news/map-bg.png");
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}
.news-card {
    border-radius: 16px;
    overflow: hidden;
    border: 0;
    background: rgba(255,255,255,0.1);
}
.news-card .card-body {
    padding: 16px 18px 18px;
}
.news-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}
.news-text {
    font-size: 0.85rem;
}
.news-more-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #fff;
}

/* REVIEWS */
.reviews-section .review-card {
    border-radius: 16px;
    box-shadow: var(--sai-shadow-soft);
    border: 0;
}

/* NUMBERS */
.numbers-section {
    padding: 70px 0;
}
.numbers-card {
    border-radius: 16px;
    box-shadow: var(--sai-shadow-soft);
    border: 0;
    padding: 16px 10px;
}
.numbers-item {
    padding: 16px 10px;
}
.numbers-value {
    font-size: 1.8rem;
    font-weight: 700;
}
.numbers-label {
    font-size: 0.85rem;
    color: var(--sai-text-muted);
}

/* CTA DONATE SECTION */
.cta-donate-section {
    padding: 70px 0;
    background: var(--sai-red);
    color: #fff;
}
.cta-main-btn {
    font-weight: 600;
}
.cta-donate-section h5 {
    margin-bottom: 4px;
}

/* NEWSLETTER STRIP */
.newsletter-strip {
    padding: 70px 0;
    background: var(--sai-red-dark);
    color: #fff;
}
.contact-widget {
    border-radius: 16px;
    box-shadow: var(--sai-shadow-soft);
}

/* FOOTER */
.footer {
    background: #151515;
    color: #e0e0e0;
    font-size: 0.9rem;
}
.footer a {
    color: #ffffff;
}
.footer a:hover {
    text-decoration: underline;
}

/* SPONSORS */
.sponsors-strip img {
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.2s ease;
}
.sponsors-strip img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* UTILITIES */
.shadow-soft {
    box-shadow: var(--sai-shadow-soft);
}

/* ============= RESPONSIVE ============= */
@media (max-width: 991.98px) {
    .hero-menu {
        display: none;
    }
    .chat-widget {
        position: static;
        margin: 20px auto 0;
        width: 100%;
        max-width: 360px;
    }
    .hero-content {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .sai-nav {
        margin-left: 20px;
    }
    .sai-donate-btn {
        margin-left: 12px;
        padding: 7px 24px;
    }

    .sai-mobile-toggle {
        display: block;
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: auto;
    }
    .hero-map {
        display: none;
    }
    .cta-donate-section {
        text-align: center;
    }
    .cta-donate-section .text-lg-end {
        text-align: center !important;
        margin-top: 20px;
    }
    .footer {
        text-align: center;
    }

    .sai-logo-box,
    .sai-logo-stripe {
        height: 48px;
    }
    .sai-menu {
        display: none; /* hide desktop menu on mobile */
    }
}
