/* NoCo Kitties - Warm & Cozy Premium Stylesheet */
:root {
    --primary-color: #c97a3e; /* Warm friendly ginger orange */
    --primary-dark: #a9602b;
    --primary-light: #fbeee6;
    --accent-color: #e06377; /* Sweet pink for accents */
    --text-color: #3e2a1e; /* Cozy dark chocolate brown */
    --text-muted: #7c6a5e; /* Muted brown-gray */
    --bg-color: #f7f5f0; /* Lighter tan/cream background */
    --navbar-bg: #faf3e3; /* Warm light yellow/tan navbar background */
    --card-bg: #ffffff;
    --border-color: #e8e2d4;
    
    --border-radius: 20px;
    --border-radius-sm: 10px;
    --box-shadow: 0 8px 24px rgba(62, 42, 30, 0.04);
    --box-shadow-hover: 0 16px 36px rgba(62, 42, 30, 0.08);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body, p, a, h1, h2, h3, h4, h5, h6, span, li, td, th {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--navbar-bg, #faf3e3);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1.5px solid var(--border-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-color);
    cursor: pointer;
    padding: 4px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    cursor: pointer;
}

.cat-logo-icon {
    color: var(--primary-color);
    transition: var(--transition);
}

.logo:hover .cat-logo-icon {
    transform: scale(1.08);
}

.highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 30px;
    transition: var(--transition);
    font-size: 14px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(201, 122, 62, 0.06);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.btn-secondary-orange {
    background-color: #d9884e !important;
    color: white !important;
}

.btn-secondary-orange:hover {
    background-color: #c97a3e !important;
    transform: translateY(-2px);
}

/* BUTTONS */
.btn {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    letter-spacing: 0.03em;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 122, 62, 0.15);
}

.btn-secondary {
    background-color: #eae0d5;
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #dfd4c7;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    font-size: 12px;
    border-radius: 30px;
}

.btn-outline:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 12px;
}

.btn-hero {
    padding: 14px 32px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

/* APP CONTAINER & GENERAL LAYOUT */
.app-container {
    width: 100%;
    min-height: calc(100vh - 90px);
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.gallery-section-wrap {
    padding: 0;
    margin-top: -100px;
    position: relative;
    z-index: 10;
    margin-bottom: 30px;
}

.support-section-wrap,
.help-section-wrap {
    padding: 40px 0;
}

/* TABS */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

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

/* HERO CONTAINER (FULL WIDTH BANNER OVERLAY) */
.hero-container {
    display: flex;
    background-image: linear-gradient(to right, #faf3e3 40%, rgba(250, 243, 227, 0.8) 55%, rgba(250, 243, 227, 0) 85%), url('home_hero1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 560px;
    align-items: center;
    padding-bottom: 80px;
    margin-bottom: 0;
}

.hero-mobile-image-wrap {
    display: none;
}

.hero-content {
    padding: 40px 0;
    text-align: left;
    max-width: 520px;
}

.hero-content h1 {
    font-family: 'Lora', serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-color);
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 440px;
}

.btn-hero-split {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    background-color: #d9884e;
    color: white;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(217, 136, 78, 0.15);
}

.btn-hero-split:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 136, 78, 0.25);
}

.btn-split-badge {
    background-color: #c97a3e;
    padding: 8px 16px;
    border-radius: 50px;
    color: white;
    font-size: 11px;
    letter-spacing: 0.05em;
}

.btn-split-text {
    padding: 0 16px 0 10px;
    font-size: 12px;
    color: white;
}

/* SECTIONS */
.section-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-align: center;
    color: var(--text-color);
    margin-top: 80px;
    margin-bottom: 40px;
}

/* KITTIES GRID & CARD */
.kitties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.kitty-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 16px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kitty-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-hover);
}

.kitty-img-wrapper {
    width: 100%;
    height: 145px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.kitty-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.kitty-card:hover .kitty-img-wrapper img {
    transform: scale(1.05);
}

.kitty-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.kitty-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
}

.kitty-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* SUPPORT SECTION */
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.support-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    padding: 0;
    overflow: hidden;
    gap: 0;
}

.support-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-hover);
}

.support-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1.5px solid var(--border-color);
}

.support-card-top {
    padding: 24px 24px 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: #fbeee6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.card-text-wrap h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
}

.card-text-wrap p {
    font-size: 13px;
    color: var(--text-muted);
}

.btn-support {
    margin: 0 24px 24px 24px;
    width: calc(100% - 48px) !important;
}

/* HELP SECTION */
.help-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.help-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
}

.help-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.help-item:hover .help-icon {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.08);
}

/* APP FOOTER */
.app-footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 40px 40px 20px 40px;
    margin-top: 80px;
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.footer-help {
    margin-bottom: 0;
    gap: 40px;
}

.footer-item {
    font-size: 13px;
    gap: 8px;
}

.footer-item .help-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 30px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ADOPT LAYOUT & STEPS */
.adopt-layout {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 40px;
    align-items: start;
    margin-top: 20px;
}

.process-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.process-container h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-color);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 20px;
}

.step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.step-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.step-text p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* FORM STYLES */
.form-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 40px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-muted);
    font-size: 15px;
}

.form-group-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-color);
    transition: var(--transition);
    outline: none;
    background-color: var(--bg-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(201, 122, 62, 0.08);
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 4px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
}

.checkbox-container {
    margin-top: 10px;
}

.custom-checkbox {
    display: flex;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: var(--bg-color);
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    transition: var(--transition);
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: var(--primary-color);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    line-height: 1.4;
    color: var(--text-muted);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(62, 42, 30, 0.4);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--card-bg);
    max-width: 600px;
    width: 90%;
    border-radius: var(--border-radius);
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
    animation: zoomIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-color);
}

.modal-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
}

.modal-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-title-row h2 {
    font-size: 28px;
}

.modal-bio {
    font-size: 15px;
    color: var(--text-color);
    margin-bottom: 24px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding: 40px;
        text-align: center;
    }
    
    .hero-image-wrap {
        min-height: 300px;
    }
    
    .kitties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .adopt-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        position: relative;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: flex; /* show hamburger on mobile */
    }

    .nav-actions {
        display: none !important; /* hide standard desktop actions */
    }

    .nav-links {
        display: none; /* hide drawer by default on mobile */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--navbar-bg, #faf3e3);
        border-bottom: 1.5px solid var(--border-color);
        padding: 20px;
        box-shadow: 0 10px 25px rgba(62, 42, 30, 0.08);
        z-index: 999;
        gap: 8px;
        align-items: stretch;
    }
    
    .nav-links.active {
        display: flex; /* show when toggled active */
    }
    
    .nav-link {
        display: block;
        padding: 12px 16px;
        width: 100%;
        border-radius: 8px;
        box-sizing: border-box;
    }
    
    .mobile-nav-actions {
        display: flex !important;
    }

    .hero-container {
        background-image: none !important;
        background-color: var(--navbar-bg) !important;
        min-height: auto !important;
        padding: 30px 20px 40px 20px !important;
        align-items: stretch !important;
    }
    
    .hero-inner-flex {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .hero-mobile-image-wrap {
        display: block !important;
        width: 100%;
        text-align: right;
        margin-bottom: 25px;
    }
    
    .hero-mobile-img {
        max-width: 100%;
        width: auto;
        height: 240px;
        border-radius: 16px;
        object-fit: cover;
        display: inline-block;
        border: 1.5px solid var(--border-color);
        box-shadow: var(--box-shadow);
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
        padding: 0 !important;
        max-width: 100%;
        background-color: transparent !important;
        box-shadow: none !important;
        border-radius: 0;
        box-sizing: border-box;
    }
    
    .hero-content h1 {
        font-size: 32px !important;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* Wrap/Stack hero badge split button on mobile */
    .btn-hero-split {
        flex-direction: column !important;
        height: auto !important;
        padding: 14px 20px !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .btn-split-badge {
        margin: 0 !important;
        width: 100% !important;
        text-align: center;
    }

    .btn-split-text {
        width: 100% !important;
        text-align: center;
    }

    .btn {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }

    .financial-foster-card {
        padding: 20px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
    }
    
    .financial-foster-text {
        min-width: 0 !important;
        width: 100% !important;
    }
    
    .financial-foster-price-card {
        width: 100% !important;
        flex: 1 1 auto !important;
        box-sizing: border-box;
    }

    .kitties-grid {
        grid-template-columns: 1fr;
    }
    
    .help-grid {
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .footer-wrap {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-center {
        order: 3;
    }
    
    .footer-right {
        order: 2;
    }
}


/* LOGO IMAGE STYLING */
.cat-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

/* OVERLAP CARD LIGHTBOX */
.overlap-card {
    background-color: #faf7f2;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 48px rgba(62, 42, 30, 0.08), 0 8px 16px rgba(62, 42, 30, 0.04);
    border: 1px solid var(--border-color);
}

.overlap-card .section-title {
    margin-top: 0;
    margin-bottom: 30px;
}

/* STORY SECTION */
.story-section-wrap {
    padding: 40px 0;
    background-color: var(--bg-color);
}

.story-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.story-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 24px;
    display: inline-block;
    animation: heartBeat 2s infinite alternate;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.story-box h2 {
    font-family: 'Lora', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 24px;
    line-height: 1.25;
}

.story-text {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    text-align: center;
}

/* SECTION TITLE LARGE */
.section-title-large {
    font-size: 32px !important;
    letter-spacing: 0.05em;
    margin-top: 20px;
    margin-bottom: 30px;
}

/* WHAT WE DO SECTION */
.what-we-do-section {
    padding: 60px 0;
    background-color: var(--card-bg);
    border-top: 1.5px solid var(--border-color);
    border-bottom: 1.5px solid var(--border-color);
    margin-top: 30px;
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.what-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.what-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.what-icon {
    font-size: 28px;
    color: var(--primary-color);
    line-height: 1;
}

.what-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
}

.what-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* HOW YOU CAN HELP CARDS */
.help-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.help-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.help-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.help-card-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.help-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
}

.help-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
}

/* ADOPTIONS PAGE CARD LIST GRID */
.adoptions-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.adoption-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.adoption-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.adoption-img-wrapper {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.adoption-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.adoption-box:hover .adoption-img {
    transform: scale(1.03);
}

.btn-view-pics {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--text-color);
    border: none;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-view-pics:hover {
    background-color: var(--primary-color);
    color: white;
}

.adoption-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.adoption-details h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
}

.adoption-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--primary-light);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    align-self: flex-start;
}

.adoption-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
}

/* RESPONSIVE LAYOUT MEDIA QUERIES */
@media (max-width: 1024px) {
    .what-we-do-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .help-cards-grid,
    .adoptions-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .what-we-do-grid,
    .help-cards-grid,
    .adoptions-list-grid {
        grid-template-columns: 1fr;
    }
    .section-title-large {
        font-size: 26px !important;
    }
}

/* PETS INPUT TABLE STYLING */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--border-radius-sm);
    border: 1.5px solid var(--border-color);
    margin-bottom: 20px;
}

.pets-input-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-bg);
}

.pets-input-table th {
    background-color: var(--navbar-bg);
    color: var(--text-color);
    font-weight: 700;
    text-align: left;
    padding: 12px 16px;
    font-size: 13px;
    border-bottom: 1.5px solid var(--border-color);
    white-space: nowrap;
}

.pets-input-table td {
    padding: 8px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.pets-input-table tr:last-child td {
    border-bottom: none;
}

.pets-input-table input[type="text"],
.pets-input-table select {
    width: 100% !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: 8px !important;
    background-color: var(--bg-color) !important;
    outline: none;
    transition: var(--transition);
}

.pets-input-table input[type="text"]:focus,
.pets-input-table select:focus {
    border-color: var(--primary-color) !important;
    background-color: white !important;
    box-shadow: 0 0 0 3px rgba(201, 122, 62, 0.08) !important;
}

.btn-remove-row {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: var(--transition);
}

.btn-remove-row:hover {
    color: var(--accent-color) !important;
    transform: scale(1.1);
}

/* Spinner for AJAX loading status on buttons */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.2em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .75s linear infinite;
}

/* Donate Page - Gated Supplies and Financial Fostering Layout */
.financial-foster-card {
    background-color: #faf7f2;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.financial-foster-text {
    flex: 1;
    min-width: 300px;
    line-height: 1.6;
    color: var(--text-color);
}

.financial-foster-badge {
    background-color: #fff5e6;
    color: #d97706;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}

.financial-foster-price-card {
    flex: 0 0 320px;
    width: 320px;
    max-width: 100%;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.financial-foster-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.supplies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.supplies-card {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.supplies-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.supplies-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    border-bottom: 1.5px solid #f9f9f9;
    padding-bottom: 10px;
}

.supplies-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.supplies-card-icon.cleaning {
    background: #e0f2fe;
    color: #0284c7;
}

.supplies-card-icon.food {
    background: #dcfce7;
    color: #16a34a;
}

.supplies-card-icon.bedding {
    background: #fef3c7;
    color: #d97706;
}

.supplies-card-icon.other {
    background: #f3e8ff;
    color: #9333ea;
}

.supplies-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-color);
}

.supplies-list li {
    display: flex;
    align-items: center;
}

.amazon-wishlist-banner {
    margin-top: 30px;
    background: linear-gradient(135deg, #232f3e, #131921);
    color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: var(--box-shadow);
}

.amazon-wishlist-title {
    margin: 0 0 5px 0;
    color: #ff9900;
    font-size: 20px;
    font-weight: 700;
}

.amazon-btn {
    background-color: #ff9900 !important;
    border-color: #ff9900 !important;
    color: #131921 !important;
    font-weight: 700;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
    transition: var(--transition);
}

.amazon-btn:hover {
    background-color: #e68a00 !important;
    transform: translateY(-2px);
}

/* Foster Page Layout */
.foster-hero {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.foster-hero-text {
    flex: 12;
    min-width: 280px;
}

.foster-hero-image-wrap {
    flex: 10;
    min-width: 280px;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid var(--border-color);
    box-shadow: var(--box-shadow);
}

.foster-hero-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.foster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.foster-card {
    background: #faf7f2;
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(62, 42, 30, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.foster-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(62, 42, 30, 0.08);
    border-color: var(--primary-color);
    background: #ffffff;
}

.foster-card h4 {
    margin: 0;
    color: var(--heading-color);
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.foster-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

.foster-expect-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.foster-expect-item {
    display: flex;
    gap: 15px;
    background: #faf7f2;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    align-items: flex-start;
}

.foster-expect-icon {
    background: var(--primary-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 14px;
}

.foster-expect-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--heading-color);
}

.foster-expect-content p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-color);
}

/* Responsive media queries for Foster Page */
@media (max-width: 768px) {
    .foster-hero {
        flex-direction: column-reverse; /* Stacks image below title or top if column */
    }
    
    .foster-hero-image {
        height: 240px;
    }
}

/* Volunteer Page Layout */
.volunteer-hero {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.volunteer-hero-text {
    flex: 12;
    min-width: 280px;
}

.volunteer-hero-image-wrap {
    flex: 10;
    min-width: 280px;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid var(--border-color);
    box-shadow: var(--box-shadow);
}

.volunteer-hero-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.volunteer-card {
    background: #faf7f2;
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(62, 42, 30, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.volunteer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(62, 42, 30, 0.08);
    border-color: var(--primary-color);
    background: #ffffff;
}

.volunteer-card h4 {
    margin: 0;
    color: var(--heading-color);
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.volunteer-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

/* Responsive media queries for Volunteer Page */
@media (max-width: 768px) {
    .volunteer-hero,
    .foster-hero {
        flex-direction: column-reverse !important; /* Stacks image below text */
    }
    
    .volunteer-hero-image,
    .foster-hero-image {
        height: 240px !important;
    }
    
    .volunteer-hero-text,
    .volunteer-hero-image-wrap,
    .foster-hero-text,
    .foster-hero-image-wrap {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .volunteer-grid,
    .foster-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .form-container {
        padding: 20px !important;
    }
}

@media (min-width: 769px) {
    .volunteer-hero-image-wrap,
    .foster-hero-image-wrap {
        max-width: 420px;
    }
}

/* Icon spacing helpers (Bootstrap-like utility classes) */
.me-1 { margin-right: 4px !important; }
.me-2 { margin-right: 8px !important; }
.me-3 { margin-right: 12px !important; }
.ms-1 { margin-left: 4px !important; }
.ms-2 { margin-left: 8px !important; }
.ms-3 { margin-left: 12px !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }

.volunteer-card h4 i,
.foster-card h4 i {
    margin-right: 8px;
    vertical-align: middle;
}

@media (min-width: 769px) and (max-width: 992px) {
    .volunteer-grid,
    .foster-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}
