
.profile-container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 3rem;
    background: var(--color-surface);
    border-radius: 2rem;
    box-shadow: 0 15px 50px rgba(181, 51, 36, 0.08);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(181, 51, 36, 0.12);
}

.profile-image {
    float: left;
    margin-right: 3rem;
    margin-bottom: 2rem;
    width: 350px;
}

.profile-image img {
    width: 100%;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 8px 25px rgba(181, 51, 36, 0.10);
    object-fit: cover;
    display: block;
}

.profile-info {
    color: var(--color-text-muted);
}

.profile-info h1 {
    color: var(--color-main-1);
    margin-top: 2rem;
    font-size: 2.8rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

.profile-info h2 {
    color: var(--color-main-1);
    font-size: 1.8rem;
    margin-top: 2rem;
    font-weight: normal;
    clear: both;
}

.profile-info p {
    line-height: 1.8;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.specializations {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.specializations li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.specializations li::before {
    content: "➤";
    position: absolute;
    left: 0;
    color: var(--color-main-2);
}

.contact-details {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-side);
    clear: both;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 1.5rem;
}

.contact-column p {
    margin-bottom: 1rem;
}

.contact-details strong {
    color: var(--color-main-1);
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 350px;
    margin-bottom: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px dashed var(--color-side);
}

.hours-list li:last-child {
    border-bottom: none;
}

/* Responsive Grid Classes for Doctor Profiles */
.doctor-details-grid {
    grid-template-columns: 1fr 2fr;
}

.doctor-contact-card {
    grid-template-columns: 1fr 1fr;
}

.doctor-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: var(--color-neutral-1);
    border-radius: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(181, 51, 36, 0.05);
}

.appointment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 12rem;
    max-width: 18rem;
    padding: 0.9rem 1.6rem;
    border-radius: 1rem;
    border: none;
    background: var(--color-main-1);
    color: white;
    font-family: var(--font-claims);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.appointment-button:hover {
    background: var(--color-main-2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(181, 51, 36, 0.2);
}

@media (max-width: 1024px) {
    .doctor-details-grid, .doctor-contact-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-container {
        padding: 2rem;
        margin: 1rem;
    }
    
    .profile-image {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .profile-image img {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .profile-info h1 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hours-list li {
        max-width: 100%;
    }
}