body {
    font-family: 'Figtree', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.logo-container {
    width: 130px;
    height: 130px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid black;
}

.logo {
    width: 90%;
    height: 80%;
    object-fit: contain;
}

.service-card {
    background-color: #874b05;
    border: 1px solid #874b05;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.age-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #874b05;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.3rem;
}

.card-text.description {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.6;
}

.read-more-btn {
    color: #058776;
    font-weight: 500;
}

.read-more-btn:hover {
    color: #046b5e;
}

.read-more-btn i {
    color: #ffe600;
    transition: transform 0.3s ease;
}

.read-more-btn.collapsed i {
    transform: rotate(0deg);
}

.read-more-btn:not(.collapsed) i {
    transform: rotate(180deg);
}

.check-eligibility {
    background-color: #058776;
    border-color: #058776;
    color: #fff;
    font-weight: 500;
}

.check-eligibility:hover {
    background-color: #046b5e;
    border-color: #046b5e;
}

.check-eligibility i {
    color: #ffe600;
}

.alert {
    border-radius: 8px;
    font-size: 1rem;
}

.filter-container {
    gap: 1rem;
}

.back-link {
    color: #058776;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #046b5e;
}

.back-link i {
    color: #046b5e;
}

.age-filter input {
    width: 100px;
    border: 1px solid #874b05;
    border-radius: 5px;
    padding: 0.5rem;
    font-size: 0.9rem;
    background-color: #fff;
    color: #333;
}

.age-filter input:focus {
    outline: none;
    border-color: #058776;
    box-shadow: 0 0 5px rgba(5, 135, 118, 0.3);
}

.search-container {
    max-width: 300px;
    width: 100%;
}

.search-container input {
    border: 1px solid #874b05;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: #058776;
    box-shadow: 0 0 5px rgba(5, 135, 118, 0.3);
}

.search-container input::placeholder {
    color: #999;
}

/* Pagination */
.pagination {
    --bs-pagination-color: #058776;
    --bs-pagination-active-bg: #058776;
    --bs-pagination-active-border-color: #058776;
    --bs-pagination-hover-color: #046b5e;
    --bs-pagination-hover-bg: #e9ecef;
}

.page-link {
    font-size: 0.95rem;
}

.page-item.active .page-link {
    background-color: #058776;
    border-color: #058776;
    color: #fff;
}

.page-item.disabled .page-link {
    color: #999;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .filter-container {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .age-filter, .search-container {
        max-width: 100%;
    }

    .age-filter input {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .logo-container {
        width: 100px;
        height: 100px;
    }

    .card-img-top {
        height: 150px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-text.description {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .logo-container {
        width: 80px;
        height: 80px;
    }

    .card-img-top {
        height: 120px;
    }

    .card-title {
        font-size: 1rem;
    }

    .check-eligibility, .read-more-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .age-filter input {
        font-size: 0.85rem;
    }

    .search-container input {
        font-size: 0.85rem;
    }
}