/* General Styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.sec-title {
    margin-bottom: 30px;
}

.title-light-center {
    font-size: 2rem;
    font-weight: bold;
}

.underline-bdr {
    width: 100px;
    height: 3px;
    background-color: #000;
    margin: 0 auto;
}

.cen-bdr {
    width: 50px;
    height: 3px;
    background-color: #000;
    margin: 0 auto;
}

/* Doctor Profile Styling */
.doctor-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.doctor-profile {
    flex: 1 1 45%;  /* 2 items per row */
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.doctor-profile:hover {
    transform: scale(1.05);
}

.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-body p {
    
    line-height: 1.5;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .doctor-profile {
        flex: 1 1 100%;  /* 1 item per row on small screens */
    }

    .card-img img {
        height: 150px; /* Adjust image height for smaller screens */
    }
}
