/* Body */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Top Bar */
.firstrow {
    background-color: #57249d;
    font-size: 19px;
}

@media (max-width: 768px) {

    .schedule-text {
        display: none;
    }

    .email {
        display: none;
    }

    .firstrow .container {
        justify-content: center !important;
    }

    .contact-info {
        text-align: center;
    }
}

/* Logo */
.navbar-brand {
    color: black !important;
    font-size: 28px !important;
    font-weight: bold;
}

@media (max-width: 768px) {
    .navbar-brand{
        font-size: 18px !important;
    }
}

/* Nav Links */
.navbar-nav .nav-link {
    color: black;
    font-size: 17px;
    
    letter-spacing: 0.1px;
}

.navbar-nav .nav-link:hover {
    color: #57249d;
}

.navbar-nav .nav-link.active {
    color: #57249d !important;
}

/* Button */
.btn-custom {
    background-color: #57249d;
    color: white;
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
}

.btn-custom:hover {
    background-color: #7f4cc7;
    color: white;
}

/* Mobile View */
@media (max-width: 768px) {
    .schedule-text {
        display: none;
    }

    .firstrow .container {
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .btn-custom {
        display: block;
        margin-top: 10px;
        text-align: center;
    }
}

/* Slider */
.slider-img {
    height: 800px;
    object-fit: cover;
}

.slider-center-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 70%;
    max-width: 900px;

    background: rgba(255,255,255,0.9);
    padding: 40px;
    text-align: center;

    border-top: 5px solid #57249d;
}

.slider-center-box h1 {
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Mobile View */
@media (max-width: 768px) {
    .slider-center-box h1{
        font-size: 35px;
    }
}

.slider-center-box p {
    font-size: 20px;
    font-weight: 500;
    color:black;
    margin-bottom: 20px;
}

.slider-btn {
    background-color: #57249d;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
}

.slider-btn:hover {
    background-color: #7f4cc7;
    color: white;
}

@media (max-width: 768px) {
    .slider-img {
        height: 400px;
    }

    .slider-center-box {
        width: 90%;
        padding: 20px;
    }

    .slider-center-box h2 {
        font-size: 22px;
    }

    .slider-center-box p {
        font-size: 14px;
    }
}

/* Specialities Section */
.specialities-section{
    background: #fff;
}

.specialities-header{
    position: relative;
    margin-bottom: 40px;
}

/* TITLE */
.section-title{
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #57249d;
    margin: 0;
}

.view-all-btn{
    position: absolute;
    right: 5%;
    top: 90%;
    transform: translateY(-50%);
    border-radius: 25px;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    background-color: white;
    width: 100px;
    border: 1px solid #57249d;
}

/* MOBILE */
@media (max-width: 768px) {

    .view-all-btn a{

        right: 0 !important;
        top: 90%;

        transform: translateY(-50%);

        font-size: 14px;
        width: 90px;

    }

}


.view-all-btn a{
    text-decoration: none;
     color:#57249d;
}

.view-all-btn:hover{
    color: #57249d;
}

/* SLIDER */
.specialities-slider{
    display: flex;
    align-items: center;
    gap: 15px;
}

/* WRAPPER */
.specialities-wrapper{
    overflow: hidden;
    width: 100%;
}

/* TRACK */
.specialities-track{
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

/* CARD */
.speciality-card{
    flex: 0 0 calc(25% - 15px);
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

/* IMAGE */
.speciality-card img{
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* BODY */
.card-body{
    padding: 20px;
}

.card-body h4{
    font-size: 24px;
    margin-bottom: 10px;
}

.card-body p{
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-body a{
    color: #57249d;
    text-decoration: none;
    font-weight: 600;
}

.card-body a:hover{
    color: #7f4cc7;
}

/* BUTTONS */
.slider-btns{
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: #f1f1f1;
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
}

.slider-btns:hover{
    background: #57249d;
    color: #fff !important;
}

/* TABLET */
@media(max-width:992px){

    .speciality-card{
        flex: 0 0 calc(50% - 10px);
    }

}

/* MOBILE */
@media(max-width:576px){

    .speciality-card{
        flex: 0 0 100%;
    }

    .section-title{
        font-size: 32px;
    }

    .view-all-btn{
        position: static;
        display: block;
        text-align: center;
        margin-top: 15px;
        transform: none;
    }

}

/* ================= COUNTER SECTION ================= */

.hospital-counter{

    background:linear-gradient( rgba(87, 36, 157, 0.80), rgba(87, 36, 157, 0.80)),url("images/muthu2.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 90px 0;
}

/* GRID */

.counter-grid{

    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

/* ITEM */

.counter-item{

    text-align: center;
    color: white;
}

/* ICON */

.counter-icon{

    width: 90px;
    height: 90px;

    border: 2px solid rgba(255,255,255,0.4);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: auto;
    margin-bottom: 20px;

    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(3px);
}

/* ICON STYLE */

.counter-icon i{

    font-size: 38px;
    color: white;
}

/* NUMBER */

.counter-item h2{

    font-size: 55px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* TEXT */

.counter-item p{

    font-size: 22px;
    margin: 0;
    font-weight: 500;
}

/* ================= TABLET ================= */

@media(max-width:992px){

    .counter-grid{

        grid-template-columns: repeat(2,1fr);
    }

}

/* ================= MOBILE ================= */

@media(max-width:576px){

    .hospital-counter{

        padding: 60px 20px;
    }

    .counter-grid{

        grid-template-columns: 1fr;
        gap: 40px;
    }

    .counter-item h2{

        font-size: 42px;
    }

    .counter-item p{

        font-size: 20px;
    }

}

/* About Section */
.medicio-about {
    padding: 80px 0;
    background: #fff;
}

.medicio-about-title {
    text-align: center;
    margin-bottom: 60px;
}

.medicio-about-title h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #57249d;
    margin: 0;
}

.medicio-line {
    width: 60px;
    height: 3px;
    background: #57249d;
    margin: 0 auto 15px;
    margin-top: 10px;
}

.medicio-about-title p {
    color: black;
    font-size: 20px;
}

.medicio-about-row {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.medicio-about-left {
    flex: 1;
}

.medicio-about-left img {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

.medicio-about-right {
    flex: 1;
}

.medicio-about-right h3 {
    color:  #57249d;
    font-size: 34px;
    margin-bottom: 20px;
}

.medicio-about-right p {
    color: black;
    line-height: 1.8;
    font-size: 18px;
}

.medicio-about-right ul {
    list-style: none;
    padding: 0;
}

.medicio-about-right ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    
    font-weight: bold;
}

.medicio-about-right ul li::before {
    content: "✓";
    color: #57249d;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.medicio-italic {
    font-style: italic;
    color: black;
}

/* Responsive */
@media (max-width: 992px) {
    .medicio-about-row {
        flex-direction: column;
    }

    .medicio-about-right {
        text-align: center;
    }

    .speciality-card {
        width: 100%;
        max-width: 350px;
    }
}