﻿/* --- 💡 Clean & Modern UI Upgrade --- */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* This centers the cards */
    margin-right: -15px;
    margin-left: -15px;
}
/* Center cards in mobile view */
@media (max-width: 767.98px) {
    .row.row-cols-1 {
        justify-content: center;
    }

    .col {
        display: flex;
        justify-content: center;
    }

    .card {
        width: 100%;
        max-width: 350px; /* Adjust as needed */
    }
}
/* Center cards in mobile view */
@media (max-width: 767.98px) {
    .row.row-cols-1 {
        justify-content: center;
    }

    .col {
        display: flex;
        justify-content: center;
    }

    .card {
        width: 100%;
        max-width: 350px; /* Adjust as needed */
    }
}
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: #007bff; /* Bootstrap primary */
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    }

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.card-text {
    font-size: 0.95rem;
    color: #e0e0e0;
}

.card-img-top {
    object-fit: cover;
    height: 300px;
}

.btn-secoundary {
    background-color: #343a40 !important;
    color: white;
    border-radius: 30px;
    border: none;
    padding: 8px 18px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

    .btn-secoundary:hover {
        background-color: #495057 !important;
    }

.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.modal-header h5 {
    font-weight: 600;
}

.modal-body {
    font-size: 1rem;
    line-height: 1.6;
}

.modal-footer .btn {
    border-radius: 30px;
    padding: 8px 20px;
}

h2.text-center {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}
.gallery-card img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .gallery-card img:hover {
        transform: scale(1.05);
    }
@media (max-width: 768px) {
    .col {
        flex: 0 0 auto;
        width: 100%;
        max-width: 350px; /* Adjust this to control card width on mobile */
        padding-right: 15px;
        padding-left: 15px;
        margin-bottom: 30px;
    }

    .card {
        margin-left: auto;
        margin-right: auto;
    }
}
/* Center cards in mobile view */
@media (max-width: 767.98px) {
    .row.row-cols-1 {
        justify-content: center;
    }

    .col {
        display: flex;
        justify-content: center;
    }

    .card {
        width: 100%;
        max-width: 350px; /* Adjust as needed */
    }
}