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

.doctor-gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.doctor-gallery-slide {
    width: 100% !important; /* Override Swiper default width */
    margin-right: 0 !important; /* Override Swiper default margin */
    height: auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-gallery-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.doctor-gallery-card {
    background-color: #CAF8BF;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.doctor-gallery-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.doctor-gallery-card:hover .doctor-gallery-image {
    transform: scale(1.05);
}

.doctor-gallery-detail {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
}

.doctor-gallery-detail h3 {
    color: #146A0E;
    margin: 0;
    font-size: 1.2rem;
}

.doctor-gallery-detail h2 {
    color: #333;
    margin: 0;
    font-size: 1rem;
}

.doctor-gallery-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
}

.doctor-gallery-social-links a {
    color: #146A0E;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.doctor-gallery-social-links a:hover {
    color: #0f4f0a;
}

.doctor-gallery-button {
    width: 100%;
    padding: 12px 20px;
    background-color: #146A0E;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.doctor-gallery-button:hover {
    background-color: #0f4f0a;
}

/* Pagination Styles */
.doctor-gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.doctor-gallery-pagination-bullet {
    width: 15px;
    height: 15px;
    background-color: #146A0E;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.doctor-gallery-pagination-bullet-active {
    opacity: 1;
    background-color: #CAF8BF;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .doctor-gallery-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .doctor-gallery-wrapper {
        grid-template-columns: 1fr;
    }
}