﻿/* History Area Styles */
.history-area {
    background: #f7f9fb;
    padding: 60px 0;
    position: relative;
    font-family: 'Roboto', 'Noto Sans Devanagari', sans-serif;
}

.section-title {
    font-size: 2rem;
    font-weight: 300;
    color: #101010;
    margin-bottom: 40px;
    text-align: center;
}

    .section-title span {
        font-weight: 700;
    }

.title-bg-small {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 1rem;
    background-color: #77713d !important;
    padding: 0.3rem 1rem;
    text-transform: uppercase;
    border-radius: 5px;
    text-align: center;
    color: white !important;
}

.column-title {
    font-size: 1.8rem;
    font-weight: 300;
    color: #101010;
    margin-bottom: 1rem;
}

    .column-title span {
        font-weight: 700;
    }

#history-slid .carousel-inner {
    margin-bottom: 3rem;
}

#history-slid .carousel-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#history-slid .history-content {
    background: #fff;
    padding: 2rem;
    font-family: 'Roboto', 'Noto Sans Devanagari', sans-serif;
}

    #history-slid .history-content p {
        font-size: 1rem;
        color: #333;
        margin-bottom: 1rem;
    }

#history-slid .history-img img {
    height: 300px;
    object-fit: cover;
    width: 100%;
    border-radius: 10px 0 0 10px;
}

#history-slid .carousel-indicators {
    position: relative;
    bottom: 0;
    margin: 1rem 0;
}

    #history-slid .carousel-indicators::before {
        content: "";
        width: 100%;
        height: 2px;
        position: absolute;
        top: 50%;
        left: 0;
        background-color: #ddd;
        z-index: -1;
    }

    #history-slid .carousel-indicators li {
        width: 60px;
        height: 40px;
        line-height: 40px;
        margin: 0 1rem;
        text-indent: 0;
        font-size: 1rem;
        font-weight: 700;
        color: #101010;
        background: transparent;
        border: none;
        cursor: pointer;
        position: relative;
    }

        #history-slid .carousel-indicators li::before {
            content: "";
            position: absolute;
            top: -1rem;
            left: 50%;
            width: 12px;
            height: 12px;
            background: #101010;
            border-radius: 50%;
            transform: translateX(-50%);
        }

        #history-slid .carousel-indicators li.active {
            color: #e80000;
            background: #fff;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            border-radius: 5px;
        }

            #history-slid .carousel-indicators li.active::before {
                background: #e80000;
            }

            #history-slid .carousel-indicators li.active::after {
                content: "";
                position: absolute;
                top: -1.2rem;
                left: 50%;
                width: 20px;
                height: 20px;
                border: 1px solid #e80000;
                border-radius: 50%;
                transform: translateX(-50%);
            }

#history-slid .carousel-item-next,
#history-slid .carousel-item-prev,
#history-slid .carousel-item.active {
    display: flex;
}

/* Responsive Design for History Section */
@media (max-width: 768px) {
    .history-area {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .column-title {
        font-size: 1.4rem;
    }

    .title-bg-small {
        font-size: 0.8rem;
        padding: 0.2rem 0.8rem;
    }

    #history-slid .history-img img {
        height: 200px;
        border-radius: 10px 10px 0 0;
    }

    #history-slid .history-content {
        padding: 1.5rem;
    }

        #history-slid .history-content p {
            font-size: 0.9rem;
        }

    #history-slid .carousel-indicators li {
        width: 50px;
        height: 35px;
        line-height: 35px;
        margin: 0 0.5rem;
        font-size: 0.9rem;
    }

        #history-slid .carousel-indicators li::before {
            top: -0.8rem;
            width: 10px;
            height: 10px;
        }

        #history-slid .carousel-indicators li.active::after {
            top: -1rem;
            width: 16px;
            height: 16px;
        }
}







.message-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #6c757d;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

    .section-title span {
        color: #4b2e83;
    }

.dna-icon {
    display: block;
    margin: 0 auto 30px;
    width: 50px;
}

.message-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
}

.chairman-image-wrapper {
    position: relative;
    width: 300px;
    flex-shrink: 0;
}

    .chairman-image-wrapper::before {
        content: '';
        position: absolute;
        top: 15px;
        left: 15px;
        width: 100%;
        height: 100%;
        background-color: #4b2e83;
        border-radius: 8px;
        z-index: 0;
    }

.chairman-image {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 8px;
    display: block;
}

.message-text {
    flex: 1;
    min-width: 300px;
    font-size: 16px;
    line-height: 1.7;
    color:white;
}

    .message-text strong {
        color: white;
    }

    .message-text ol {
        padding-left: 18px;
        margin-top: 15px;
    }

        .message-text ol li {
            margin-bottom: 10px;
        }

@media (max-width: 768px) {
    .message-content {
        flex-direction: column;
        align-items: center;
    }

    .chairman-image-wrapper {
        width: 100%;
        max-width: 300px;
    }

    .message-text {
        text-align: center;
    }
}






/* Medical container */
.medical-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* About section */
.medical-about {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.healthcare-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .healthcare-image img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }

    .healthcare-image:hover img {
        transform: scale(1.03);
    }

.healthcare-content {
    flex: 1;
    min-width: 300px;
}

.healthcare-title {
    font-size: 2.2rem;
    color: #1a73e8;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .healthcare-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 4px;
        background: linear-gradient(to right, #1a73e8, #6cace4);
        border-radius: 2px;
    }

.healthcare-description {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

/* Surgeon profile */
.surgeon-profile {
    background-color: #f0f7ff;
    border-left: 4px solid #1a73e8;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 30px;
}

.doctor-name {
    font-size: 1.4rem;
    color: #1a73e8;
    margin-bottom: 5px;
}

.specialization {
    color: #6c757d;
    font-style: italic;
    margin-bottom: 10px;
}

/* Features section */
.healthcare-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.medical-service {
    background: white;
    padding: 30px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .medical-service:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .medical-service i {
        font-size: 2.5rem;
        color: #1a73e8;
        margin-bottom: 20px;
        background: #f0f7ff;
        width: 70px;
        height: 70px;
        line-height: 70px;
        border-radius: 50%;
        text-align: center;
    }

.service-title {
    font-size: 1.2rem;
    color: #2d3a4b;
    margin-bottom: 15px;
}

.medical-service p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .medical-about {
        flex-direction: column;
    }

    .healthcare-title {
        font-size: 1.8rem;
    }

    .healthcare-features {
        grid-template-columns: 1fr;
    }
}
