/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   HEADER & NAVIGATION WITH LOGO
   ============================================ */
header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
}

.logo-image {
    height: 80px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: white;
}

.main-nav a.active {
    background-color: #2ecc71;
    border-color: #27ae60;
    font-weight: bold;
}

/* ============================================
   CONTACT BAR
   ============================================ */
.contact-bar{
    position: sticky;
    top: 0;
    z-index: 100;
    background: inherit; /* keeps the existing gradient */
}
   
.contact-bar {
    background: linear-gradient(135deg, #818591, #9599a6);
    padding: 0.5rem 2rem;
    color: white;
    font-size: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease;
}

.contact-item:hover {
    transform: translateY(-1px);
}

.contact-icon {
    font-size: 1rem;
}

.contact-text {
    font-weight: 500;
}

.contact-separator {
    color: rgba(255, 255, 255, 0.3);
    font-weight: bold;
}

.contact-bar a {
    color: white;
    text-decoration: none;
}

.contact-bar a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
main {
    flex: 1;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* ============================================
   ANNOUNCEMENT BANNER
   ============================================ */
.announcement {
    background: linear-gradient(135deg, #ffeaa7, #fab1a0);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 6px solid #e17055;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.announcement h2 {
    color: #d63031;
    margin-bottom: 0.5rem;
}

/* ============================================
   FILTER SECTION
   ============================================ */
.filter-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.filter-section h2 {
    margin-bottom: 0.5rem;
}

.filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1rem;
}

.filters select,
.filters input {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 180px;
}

.filters input {
    flex: 1;
    min-width: 200px;
}

.filters button {
    padding: 0.75rem 1.5rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.filters button:hover {
    background-color: #2980b9;
}

.filters button:last-child {
    background-color: #95a5a6;
}

.filters button:last-child:hover {
    background-color: #7f8c8d;
}

/* ============================================
   CATALOG & CAT CARDS
   ============================================ */
.catalog-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.catalog-container h2 {
    margin-bottom: 1rem;
}

.cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cat-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.cat-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 0.5rem;
}

/* Cat Images */
.cat-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    margin: 1rem 0;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cat-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cat-image:hover {
    transform: scale(1.05);
}

/* "See more photos" Button */
.view-more-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 1rem;
    width: 100%;
    transition: all 0.3s;
}

.view-more-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================
   CONTENT PAGES (About, Volunteer)
   ============================================ */
.content-page,
.media-page {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.content-page h1,
.media-page h1 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #3498db;
}

.text-content {
    max-width: 800px;
}

.text-content h2 {
    color: #2c3e50;
    margin: 1.5rem 0 0.75rem 0;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid #f1f1f1;
}

.text-content ul {
    margin: 1rem 0 1rem 2rem;
    color: #444;
}

.text-content li {
    margin-bottom: 0.5rem;
}

/* Donation/Volunteer Sections */
.donation,
.volunteer {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #3498db;
}

.donation-info {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #ddd;
}

.contact-form {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #ddd;
}

/* ============================================
   MODAL/POPUP GALLERY
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    width: 95%;
    max-width: 1350px;
    height: 85vh;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.modal-header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 1.2rem 2rem;
    flex-shrink: 0;
    text-align: center;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

/* ============================================
   CLOSE BUTTON WITH RED BACKGROUND
   ============================================ */
.close-modal {
    position: absolute;
    right: 25px;
    top: 15px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    
    background-color: #e74c3c;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
}

.close-modal:hover {
    background-color: #c0392b;
    transform: scale(1.1);
    color: white;
}

.modal-body {
    padding: 0;
    overflow: hidden;
    flex: 1;
    display: flex;
}

/* Modal Layout - Two Columns */
.modal-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Left Column: Gallery */
.modal-left {
    flex: 1.2;
    padding: 2rem;  /*   padding: 1rem;*/
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e0e0e0;
    background-color: #f9f9f9;
}

.gallery-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gallery-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem; /*    margin-bottom: 0.5rem;*/
    flex-shrink: 0;
}

.nav-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    min-width: 120px;
    font-size: 0.9rem;
}

.nav-btn:hover {
    background-color: #2980b9;
}

.image-counter {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    background-color: #ecf0f1;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
}

.gallery-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.gallery-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    object-fit: contain;
    background-color: #f5f5f5;
    padding: 10px;
}

.image-title {
    margin-top: 1rem;
    font-style: italic;
    color: #7f8c8d;
    font-size: 0.9rem;
    text-align: center;
}

/* Right Column: Story and Data */
.modal-right {
    flex: 0.8;
    padding: 2rem;    /* padding: 1rem;*/
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 100%;
}

/* Story Section */
.story-section {
    margin-bottom: 2rem; /*    margin-bottom: 1rem;*/
    padding: 1.5rem;
    background-color: #fff8e1;
    border-left: 4px solid #f39c12;
    border-radius: 8px;
    flex-shrink: 0;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.story-section h3 {
    color: #e67e22;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.story-section p {
    white-space: pre-wrap;
    line-height: 1.6;
    color: #5d4037;
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    text-align: left;
    min-height: 0;
    word-wrap: break-word;
    word-break: break-word;
}

/* Data Section */
.data-section {
    padding: 1.5rem;
    background-color: #e8f5e9;
    border-left: 4px solid #2ecc71;
    border-radius: 8px;
    flex-shrink: 0;
}

.data-section h3 {
    color: #27ae60;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.data-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.data-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.data-label {
    font-weight: bold;
    color: #2c3e50;
    font-size: 0.9rem;
}

.data-value {
    color: #3498db;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: right;
    max-width: 150px;
    word-break: break-word;
}

/* ============================================
   LOADING & ERROR STATES
   ============================================ */
.loading,
.no-cats,
.error {
    text-align: center;
    padding: 2rem;
    color: #7f8c8d;
    font-style: italic;
    grid-column: 1 / -1;
}

.error {
    color: #e74c3c;
    background: #ffeaea;
    border-radius: 8px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* ----- DESKTOP (>1024px) – image scroll inside left column ----- */
@media (min-width: 1025px) {
    .modal-left {
        overflow: hidden;
    }
    .gallery-section {
        height: 100%;
        overflow: hidden;
    }
    .gallery-main {
        height: 100%;
        overflow-y: auto;
        justify-content: flex-start;
    }
    .gallery-image {
        max-height: none;
        width: 100%;
        height: auto;
        object-fit: initial;
    }
}

/* ----- TABLET & PHONE (≤1024px) – single column, whole modal scrolls ----- */
@media (max-width: 1024px) {
    .modal-layout {
        flex-direction: column;
    }
    .modal-left {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 1.5rem;
        overflow: visible;
    }
    .modal-right {
        padding: 1.5rem;
        overflow: visible;
    }
    .modal-body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
        height: auto;
    }
    .gallery-image {
        max-height: none;
        max-width: 100%;
        width: 100%;
        height: auto;
        object-fit: initial;
        padding: 0;
    }
    .gallery-main {
        overflow: visible;
        justify-content: center;
    }
    .story-section p {
        overflow: visible;
        max-height: none;
    }
    .modal-left,
    .modal-right {
        width: 100%;
        flex: none !important;
        max-width: 100%;
    }
    .modal-left {
        margin-bottom: 1rem;
    }
}

/* ----- SMALL TABLET & PHONE (≤768px) – additional tweaks ----- */
@media (max-width: 768px) {
    /* Header & Navigation */
    header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
    .logo-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    .logo-image {
        height: 50px;
    }
    .logo-text {
        font-size: 1.5rem;
        text-align: center;
    }
    .main-nav {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    .main-nav a {
        text-align: center;
        padding: 0.5rem 1rem;
    }

    /* Filters */
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    .filters select,
    .filters input {
        width: 100%;
    }

    /* Cats grid */
    .cats-grid {
        grid-template-columns: 1fr;
    }
    .cat-image-container {
        height: 180px;
    }

    /* Contact Bar (main page) – show mobile bar, hide desktop bar */
    .contact-bar {
        display: none;
    }
    .contact-bar-mobile {
        display: block;
        background: white;
        /*background: linear-gradient(135deg, #818591, #9599a6);*/
        padding: 0.5rem 1rem;
        text-align: center;
        position: relative;
        position: sticky;
        top: 0;
        z-index: 100;
        background: inherit; /* keeps the existing gradient */
    }

    .contact-bar-mobile .contact-dropdown-btn {
        background-color: #3498db;
        color: white;
        border: none;
        border-radius: 20px;
        padding: 0.5rem 1rem;
        cursor: pointer;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    .contact-bar-mobile .contact-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 0.5rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        z-index: 1002;
        margin-top: 0.5rem;
    }
    .contact-bar-mobile .contact-dropdown a {
        display: block;
        padding: 0.5rem;
        text-decoration: none;
        color: #2c3e50;
        font-size: 0.9rem;
        white-space: normal;
        word-break: break-word;
    }
    .contact-bar-mobile .contact-dropdown a:hover {
        background: #f0f0f0;
    }

    /* Modal adjustments */
    .modal-content {
        width: 100%;
        height: 100vh;
        margin: 0;
        border-radius: 0;
        overflow: hidden;
    }
    .modal-left {
        padding: 1rem;
        min-height: 300px;
    }
    .modal-right {
        padding: 1rem;
        padding-bottom: 2rem;
    }
    .gallery-nav {
        flex-wrap: nowrap;
        gap: 0.5rem;
        justify-content: center;
    }
    .nav-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: auto;
        white-space: nowrap;
    }
    .close-modal {
        right: 15px;
        top: 10px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    .modal-header {
        padding: 1rem;
    }
    .modal-header h2 {
        font-size: 1.5rem;
    }
    .data-item {
        flex-direction: column;
        gap: 0.3rem;
        align-items: flex-start;
        padding: 0.5rem;
    }
    .data-value {
        text-align: left;
        max-width: 100%;
    }
    .story-section {
        padding: 1rem;
    }
    /* Remove story scrollbar – whole modal scrolls */
    .story-section p {
        overflow-y: visible;
        max-height: none;
        flex: none;
    }
    .story-section {
        overflow: visible;
        max-height: none;
        flex: none;
    }
    .data-section {
        margin-bottom: 1rem;
    }

    /* Modal mobile contact bar (replace the absolute‑positioned one) */
    .modal .contact-bar {
        display: none;
    }
    .modal-contact-bar-mobile {
        display: block;
        background: white;
        /*background: linear-gradient(135deg, #818591, #9599a6);*/
        padding: 0.5rem 1rem;
        text-align: center;
        position: relative;
    }
    .modal-contact-bar-mobile .contact-dropdown-btn {
        background-color: #3498db;
        color: white;
        border: none;
        border-radius: 20px;
        padding: 0.5rem 1rem;
        cursor: pointer;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    .modal-contact-bar-mobile .contact-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 0.5rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        z-index: 1002;
        margin-top: 0.5rem;
    }
    .modal-contact-bar-mobile .contact-dropdown a {
        display: block;
        padding: 0.5rem;
        text-decoration: none;
        color: #2c3e50;
        font-size: 0.9rem;
        white-space: normal;
        word-break: break-word;
    }
    .modal-contact-bar-mobile .contact-dropdown a:hover {
        background: #f0f0f0;
    }
}

/* ----- VERY SMALL PHONES (≤480px) ----- */
@media (max-width: 480px) {
    .logo-image {
        height: 40px;
    }
    .logo-text {
        font-size: 1.3rem;
    }
    .cat-image-container {
        height: 160px;
    }
    .contact-bar {
        font-size: 0.85rem;
    }
    .contact-text {
        word-break: break-word;
    }
    .modal-left {
        min-height: 250px;
        padding: 0.5rem;
    }
    .story-section p {
        font-size: 0.9rem;
    }
    .data-label,
    .data-value {
        font-size: 0.85rem;
    }
    .close-modal {
        right: 10px;
        top: 8px;
        font-size: 25px;
        width: 35px;
        height: 35px;
    }
    .nav-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* ----- EXTRA SMALL (≤360px) ----- */
@media (max-width: 360px) {
    .logo-text {
        font-size: 1.1rem;
    }
    .logo-image {
        height: 35px;
    }
    .modal-left {
        min-height: 220px;
    }
    .gallery-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    .nav-btn {
        min-width: 50px;
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    .story-section p {
        font-size: 0.85rem;
    }
    .data-section {
        padding: 0.8rem;
    }
    .data-item {
        padding: 0.4rem;
    }
}

/* Footer Credit */
body > span {
    display: block;
    text-align: center;
    padding: 1rem;
    color: #7f8c8d;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: auto;
}

/* ============================================
   RECOMMENDATIONS SECTION (optional)
   ============================================ */
.recommendations-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 15px 15px;
    flex-shrink: 0;
}

.recommendations-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.recommendations-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.recommendation-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100px;
    cursor: pointer;
    border: 2px solid transparent;
}

.recommendation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.recommendation-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.recommendation-name {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: white;
}

@media (max-width: 768px) {
    .recommendations-grid {
        gap: 0.8rem;
    }
    .recommendation-card {
        width: 90px;
    }
    .recommendation-image {
        height: 70px;
    }
}

@media (max-width: 480px) {
    .recommendations-section {
        padding: 1rem;
    }
    .recommendations-grid {
        gap: 0.5rem;
    }
    .recommendation-card {
        width: 80px;
    }
    .recommendation-image {
        height: 60px;
    }
    .recommendation-name {
        font-size: 0.7rem;
        padding: 0.3rem;
    }
}

/* Gender colors */
.gender-male {
    color: #3498db;
    font-weight: 1000;
}
.gender-female {
    color: #e83e8c;
    font-weight: 1000;
}

/* ============================================
   UNIFIED SECTION STYLING FOR HOME PAGE
   ============================================ */
.volunteer,
.donation,
.catalog-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.volunteer h2,
.donation h2,
.catalog-container h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #3498db;
    font-size: 1.8rem;
}

/* ============================================
   MOBILE CONTACT BARS – HIDE ON DESKTOP
   ============================================ */
@media (min-width: 769px) {
    .contact-bar-mobile,
    .modal-contact-bar-mobile {
        display: none;
    }
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section {
    background: #f8f9fa;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    margin-top: 2rem;
}

.partners-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.partners-logos a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.partners-logos a:hover {
    transform: scale(1.05);
}

.partners-logos img {
    max-height: 80px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.2s;
}

/* Optional: grayscale on hover */
.partners-logos a:hover img {
    filter: grayscale(0%);
}
