

/* --- About Hero Section --- */
.about-hero-sec{
    background: url('../assets/images/about/about-bg.png'); /* Ensure this path is correct */
    padding: 60px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; /* Added for better background control */
}
.about-hero-sec .content h1{
    color: #f4ad3b; /* Using theme color */
    font-weight: 700;
    font-size: 42px;
}
.about-hero-sec .content p{
    font-size: 18px;
    padding: 5px 0px;
    line-height: 24px;
    color: #fff; /* Changed to black for better contrast on background */
}
.about-hero-sec .btn-part{
    margin-top: 30px;
}
.about-hero-sec .btn-part a{
    background-color: var(--black);
    color: var(--theme);
    padding: 10px 15px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.5s ease-in-out;
    text-decoration: none; /* Ensure no underline */
    display: inline-flex; /* For icon alignment */
    align-items: center;
}
.about-hero-sec .btn-part a:hover{
    color: var(--theme);
    color: var(--white);
}

/* --- About Vinay MH Section --- */
.about-vinaymh{
    padding: 50px 0px;
    background-color: #fff;
    color: var(--text-color); /* General text color */
}
.about-vinaymh img{
    border-radius: 8px; /* Added slight border radius for image */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Added subtle shadow */
}
.about-vinaymh .about-content h2{
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;

}
.about-vinaymh .about-content .about-hospital{
    padding: 20px 0px; /* Reduced padding slightly for better flow */
}
.about-vinaymh .about-content .about-hospital p {
    margin-bottom: 15px; /* Space between paragraphs */
    line-height: 1.6;
}
.about-vinaymh .contact .contact-info{
    display: flex;
    align-items: center;
    gap: 15px; /* Increased gap for better spacing */
    background-color: #f8f9fa; /* Light background for contact info */
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.about-vinaymh .contact .contact-info i{
    color: var(--white);
    background-color: var(--theme);
    padding: 10px 15px;
    border-radius: 50%; /* Changed to circle for icon */
    font-size: 24px; /* Adjusted icon size */
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    min-height: 45px;
}
.about-vinaymh .contact .contact-info p{
    margin: 0;
    font-size: 16px;
    color: #6c757d; /* Lighter text for description */
}
.about-content .contact .contact-info a{
    font-size: 20px; /* Slightly reduced font size for link */
    font-weight: 600;
    color: var(--dark-blue); /* Using dark blue for contact links */
    text-decoration: none;
    transition: color 0.3s ease;
}
.about-content .contact .contact-info a:hover {
    color: var(--theme); /* Hover effect */
}

/* --- Specialties Section --- */
.specialties{
    padding: 50px 0px;
    background-color: #0000003d;
    color: var(--white);
}
.specialties .section-heading {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    color: var(--theme); /* Theme color for heading */
    margin-bottom: 50px;
}
.specialties .all-specilaities{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* More flexible grid */
    justify-content: center;
    gap: 25px; /* Increased gap */
    margin-top: 46px;
}
.specialties .all-specilaities h5{
    font-size: 22px; /* Slightly larger heading */
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--theme); /* Theme color for specialty title */
}
.specialties .speciality{
    background-color: #ECEFF1; /* More subtle background */
    cursor: pointer;
    border-radius: 12px; /* Slightly more rounded corners */
    transition: all 0.5s ease-in;
    overflow: hidden; /* Ensure content stays within border-radius */
    display: flex; /* Ensure flex behavior */
}
.specialties .speciality-image{
    background-color: var(--white);
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    width: 90px; /* Fixed width for image container */
    height: 90px; /* Fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px; /* Padding for the image inside */
    flex-shrink: 0; /* Prevent shrinking */
}
.specialties .speciality-image img {
    max-width: 70%; /* Adjust image size within its container */
    max-height: 70%;
}
.specialties .speciality .speciality-image,
.specialties .speciality .content{
    padding: 20px;
}
.specialties .speciality .content{
    /* padding-left: 0px; 
    padding-top: 0; 
    flex-grow: 1;  */
}
.specialties .speciality ul {
    list-style: none; /* Remove default list style */
    padding-left: 0;
    margin-bottom: 0;
}
.specialties .speciality ul li {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 5px;
    position: relative;
    padding-left: 0;
    color: var(--black);
}
/* .specialties .speciality ul li::before {
    content: "\2022"; 
    color: var(--theme); 
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
} */
.specialties .speciality:hover{
    background-color: var(--theme);
    color: var(--black); /* Changed hover text color to black for better contrast */
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 25px rgba(0,0,0,0.3); /* Enhanced shadow on hover */
}
.specialties .speciality:hover h5,
.specialties .speciality:hover ul li {
    color: var(--black); /* Ensure text changes color on hover */
}
.specialties .speciality:hover ul li{
    padding-left: 0;
}
.specialties .speciality:hover ul li::before {
    color: var(--dark-blue); /* Change bullet color on hover */
}


/* --- Our Vision and Mission Section --- */
.vision-misson{
    padding: 50px 0px;
    color: var(--text-color);
}
.vision-misson .section-heading {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 50px;
}
.vision-misson h2{
    font-weight: 700;
    color: var(--theme);
    font-size: 30px; /* Adjusted heading size */
}
.vision-misson .vision{
    padding: 0 20px 0 0;
    border-right: 2px solid var(--theme);
}
.vision-misson .headpart h2{
    margin: 10px 0;
}
.vision-misson .headpart img{
    width: 100px;
    height: 100px;
    object-fit: contain; /* Ensure images fit well */
}
.vision-misson .content p{
    text-align: center;
    margin-top: 15px; /* Increased margin */
    line-height: 1.6;
}

/* --- Core Values Section --- */
.core-values{
    padding: 60px 0px;
    background: #e2c18c14; /* A light, subtle background */
    color: var(--text-color);
}
.core-values .section-heading {
    font-size: 38px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 50px;
}
.core-values .corevalues{
    padding: 40px 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* Increased gap */
}
.core-values .value{
    max-width: 280px; /* Slightly adjusted max-width */
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.08); /* More subtle shadow */
    text-align: center;
    border-radius: 10px; /* Slightly more rounded */
    padding: 25px; /* Increased padding */
    cursor: pointer;
    transition: all 0.4s ease-in-out; /* Faster transition */
    background-color: #fff; /* White background for values */
}
.core-values .value:hover{
    transform: translateY(-8px); /* Slightly less lift */
    box-shadow: 0px 8px 25px 0px #fff; /* Stronger shadow on hover */
    background-color: #f4ad3b; /* Theme color on hover */
    color: #fff; /* Text color on hover */
}
.core-values .value:hover h3,
.core-values .value:hover p {
    color: var(--white); /* Ensure text color changes on hover */
}
.core-values .value img{
    width: 100px;
    height: 100px;
    padding: 10px;
    background: var(--black);
    border-radius: 50%;
    object-fit: contain;
    margin-bottom: 10px;
}
.core-values .value h3{
    font-size: 24px;
    font-weight: 600;
    margin: 10px 0px;
    color: var(--dark-blue);
}
.core-values .value p{
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}
.core-values .trusted-partner{
    margin-top: 40px; /* Spacing */
}
.core-values .trusted-partner p{
    font-size: 20px; /* Larger font for emphasis */
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.6;
}
.core-values .trusted-partner p span{
    font-weight: 700; /* Bolder span text */
    color: var(--theme);
}
.core-values .trusted-partner p:last-child {
    margin-bottom: 0; /* Remove margin from last paragraph */
}


/* --- Media Queries --- */
@media screen and (max-width:1199px) {
    .about-hero-sec .content h1{
        font-size: 30px;
    }
    .about-hero-sec .content p{
        font-size: 16px;
    }
    .about-hero-sec .btn-part a{
        font-size: 18px;
        padding: 8px 12px;
    }
    .about-content .contact .contact-info a,
    .about-vinaymh .contact .contact-info i {
        font-size: 18px;
    }
    .about-vinaymh .contact .contact-info {
        gap: 10px;
    }
    .specialties .all-specilaities h5 {
        font-size: 20px;
    }
    .specialties .speciality ul li {
        font-size: 14px;
    }
    .vision-misson h2 {
        font-size: 28px;
    }
    .core-values .trusted-partner p {
        font-size: 18px;
    }
}
@media screen and (max-width:991px) {
    .about-hero-sec{
        padding: 50px 0 ;
    }
    .specialties .all-specilaities{
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjust for smaller screens */
        gap: 20px;
    }
    .vision-misson .vision{
        padding: 0 0 30px 0; /* Increased bottom padding */
        border-right: 0; /* Remove border on smaller screens */
        margin-bottom: 30px; /* Add margin after vision */
    }
    .vision-misson .hr-line{
        border: 2px solid var(--dark-blue);
        border-radius: 3px;
        margin: 30px auto; /* Centered horizontal rule */
        width: 80%; /* Width for horizontal rule */
    }
    .core-values .corevalues {
        gap: 20px;
    }
}
@media screen and (max-width:767px) {
    .specialties .all-specilaities{
        grid-template-columns: 1fr; /* Single column layout for specialties */
        max-width: 400px; /* Constrain width for single column */
        margin-left: auto;
        margin-right: auto;
    }
    .about-hero-sec .content h1 {
        font-size: 28px;
    }
    .about-vinaymh .about-content h2 {
        font-size: 28px;
        line-height: 36px;
    }
    .core-values .section-heading {
        font-size: 32px;
    }
}
@media screen and (max-width:575px) {
    .about-hero-sec{
        background: var(--theme); /* Solid background on very small screens */
        padding: 40px 0;
    }
    .about-hero-sec .content h1 {
        color: var(--black);
        font-size: 24px;
        text-align: center; /* Center align text */
    }
    .about-hero-sec .content p {
        text-align: center; /* Center align text */
    }
    .about-hero-sec .btn-part {
        text-align: center; /* Center align button */
    }
    .about-vinaymh .about-content{
        margin-top: 30px; /* Increased margin */
    }
    .about-vinaymh .about-content h2{
        font-size: 24px;
        line-height: 30px;
        text-align: center; /* Center align heading */
    }
    .about-vinaymh .about-content .about-hospital {
        padding: 15px 0; /* Adjusted padding */
    }
    .about-vinaymh .contact {
        flex-direction: column; /* Stack contact info vertically */
        align-items: center;
        gap: 15px;
    }
    .about-vinaymh .contact .contact-info {
        width: 100%; /* Full width */
        justify-content: center; /* Center content */
    }
    .specialties .section-heading,
    .vision-misson .section-heading {
        font-size: 28px;
    }
    .core-values .section-heading {
        font-size: 28px;
    }
    .core-values .trusted-partner p {
        font-size: 16px;
    }
}