html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Baloo+2:wght@700;800&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #1a2744;
    --yellow: #f5a623;
    --yellow-light: #fff8e7;
    --cream: #fdf8f0;
    --orange: #f0833a;
    --text: #1a2744;
    --muted: #5a6c7d;
    --white: #ffffff;
    --card-bg: #ffffff;
    --radius: 16px;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--yellow-light);
    color: var(--text);
    overflow-x: hidden;
}

/* ---- NAVBAR ---- */
.navbar {
    background: var(--yellow);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(26,39,68,.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-top {
    font-size: 10px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: .5px;
}

.brand-bottom {
    font-size: 10px;
    font-weight: 700;
    color: var(--yellow-light);
    letter-spacing: .3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
    padding: 6px 12px;
    border-radius: 8px;
    transition: background .2s, color .2s;
    white-space: nowrap;
}

    .nav-link:hover, .nav-link.active {
        background: var(--yellow-light);
        color: var(--yellow);
    }



.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

    .hamburger span {
        display: block;
        width: 24px;
        height: 2.5px;
        background: var(--navy);
        border-radius: 2px;
        transition: .3s;
    }

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--yellow);
    padding: 12px 20px 20px;
    border-top: 1px solid #f0f0f0;
}

    .mobile-menu.open {
        display: flex;
    }

.mobile-link {
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

/* ---- HERO ---- */
.hero {
    background: var(--yellow-light);
    min-height: 420px;
    position: relative;
    overflow: hidden;
    padding: 40px 20px 20px;
}

.hero-blob {
    position: absolute;
    right: -60px;
    top: -60px;
    width: 420px;
    height: 420px;
    background: var(--yellow);
    border-radius: 50%;
    opacity: .25;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: clamp(28px, 5vw, 54px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 18px;
}

.hero-sub {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--yellow);
    color: var(--navy);
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(245,166,35,.35);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(245,166,35,.4);
    }

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2.5px solid var(--navy);
    border-radius: 12px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, color .15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .btn-outline:hover {
        background: var(--navy);
        color: var(--white);
    }

.paw-decor {
    font-size: 30px;
    margin-top: 18px;
    opacity: .35;
}

.hero-image-wrap {
    flex: 0 0 320px;
    display: flex;
    justify-content: center;
}

.hero-img-placeholder {
    width: 280px;
    height: 300px;
    background: var(--yellow);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 100px;
    box-shadow: 0 8px 32px rgba(245,166,35,.3);
}

.hero-dog-emoji {
    font-size: 110px;
    line-height: 1;
}

.dog-bubble {
    position: absolute;
    top: 16px;
    right: -30px;
    background: var(--white);
    border-radius: 14px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    line-height: 1.4;
}

    .dog-bubble::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 20px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid var(--white);
    }

/* ---- SERVICES ---- */
.services {
    padding: 20px 20px 40px;
    background-color: var(--yellow-light);
}

.services-container {
   
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform .2s, box-shadow .2s;
}

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0,0,0,.1);
    }

.service-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.service-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
}

.service-desc {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.5;
}

/* ---- ANIMALS ---- */
.animals-section {
    padding: 20px 20px 50px;
    background-color: var(--yellow-light)
}

.animals-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
}

.see-all {
    background: var(--yellow);
    color: var(--navy);
    border-radius: 20px;
    padding: 6px 18px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    transition: transform .15s;
}

    .see-all:hover {
        transform: translateX(2px);
    }

.animals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 32px;
}

.animal-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 3px 12px rgba(0,0,0,.07);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

    .animal-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 28px rgba(0,0,0,.12);
    }

.card-img-wrap {
    position: relative;
   
    overflow: hidden;
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
}

.dog-placeholder {
    background: #fde8cc;
}

.cat-placeholder {
    background: #d5eaff;
}

.dog2-placeholder {
    background: #ffd6a5;
}

.cat2-placeholder {
    background: #ffe4c4;
}

.status-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-size: 11px;
    font-weight: 800;
    border-radius: 6px;
    padding: 3px 9px;
}

    .status-badge.finding {
        background: var(--yellow);
        color: var(--navy);
    }

    .status-badge.adopted {
        background: #4caf50;
        color: white;
    }

    .status-badge.treating {
        background: #2196f3;
        color: white;
    }

.heart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    transition: transform .15s;
}

    .heart-btn:hover {
        transform: scale(1.2);
        color: #e53935;
    }

.card-body {
    padding: 14px 16px;
}

.animal-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
}

.animal-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
}

.animal-desc {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

.detail-link {
    font-size: 13px;
    font-weight: 800;
    color: var(--navy);
    text-decoration: none;
}

    .detail-link:hover {
        color: var(--yellow);
    }

.center-btn {
    text-align: center;
}

/* ---- ABOUT BANNER ---- */
.about-banner {
    background: var(--navy);
    color: white;
    padding: 50px 20px;
    display: flex;
    gap: 0;
}

    .about-banner > * {
        flex: 1;
    }

.about-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 16px;
    border-radius: var(--radius) 0 0 var(--radius);
}

.about-dogs-emoji {
    font-size: 36px;
}

.about-thanks {
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
    font-weight: 700;
    opacity: .9;
}

.about-center {
    padding: 20px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.3;
}

.about-desc {
    font-size: 14px;
    line-height: 1.8;
    opacity: .85;
    margin-bottom: 28px;
}

.stats-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--yellow);
}

.stat-label {
    font-size: 12px;
    opacity: .8;
}

.about-donate {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donate-box {
    background: white;
    color: var(--navy);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    width: 220px;
    box-shadow: 0 8px 28px rgba(0,0,0,.2);
}

.donate-title {
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 8px;
}

.donate-sub {
    font-size: 11.5px;
    color: var(--muted);
    margin-bottom: 14px;
    line-height: 1.5;
}

.qr-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    background: var(--yellow-light);
    border: 2px dashed var(--yellow);
    margin: 0 auto 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    gap: 4px;
}

.btn-donate {
    display: block;
    background: var(--yellow);
    color: var(--navy);
    border-radius: 10px;
    padding: 10px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: transform .15s;
}

    .btn-donate:hover {
        transform: scale(1.03);
    }

.report-link {
    font-size: 11px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
}

    .report-link:hover {
        color: var(--navy);
    }

/* ---- FOOTER ---- */
.footer {
    background: #111d35;
    color: white;
    padding: 50px 20px 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand-name {
    font-size: 11px;
    font-weight: 900;
    color: white;
}

.footer-brand-sub {
    font-size: 11px;
    font-weight: 700;
    color: var(--yellow);
}

.footer-tagline {
    font-size: 13px;
    opacity: .7;
    line-height: 1.7;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,.12);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    transition: background .2s;
}

    .social-icon:hover {
        background: var(--yellow);
        color: var(--navy);
    }

.footer-links-col h4, .footer-info-col h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--yellow);
}

.footer-links-col a {
    display: block;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
    transition: color .2s;
}

    .footer-links-col a:hover {
        color: var(--yellow);
    }

.footer-info-col p {
    font-size: 12.5px;
    opacity: .75;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-cat {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.footer-cat-emoji {
    font-size: 60px;
    opacity: .8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    padding: 16px 20px;
    font-size: 12px;
    
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image-wrap {
        flex: none;
    }

    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .animals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-banner {
        flex-direction: column;
    }

    .about-left {
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .animals-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-row {
        gap: 16px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .hero-img-placeholder {
        width: 220px;
        height: 230px;
    }

    .hero-dog-emoji {
        font-size: 80px;
    }

    .dog-bubble {
        right: -10px;
        font-size: 11px;
        padding: 8px 12px;
    }
}

