/* Banner behind the logo */
.cardiologo {
    background-color: #0d6efd; /* medical blue */
    padding: 16px 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Logo sizing inside the banner */
.cardiologo img {
    max-width: 140px;
    height: auto;
    display: block;
}

/* Standalone logo (no banner) */
.cardiologo-img {
    max-width: 140px; /* better for your wide logo */
    height: auto;
    display: block;
}

/* Slider Heading font size */
.cardiohero-title-small {
    font-size: 28px !important;   /* adjust as needed */
    line-height: 1.3 !important;
    font-weight: 600;             /* optional */
}

/* Second style for font size*/
.cardiohero-title-small-two {
    font-size: 18px !important;   /* adjust as needed */
    line-height: 1.3 !important;
    font-weight: 600;             /* optional */
}

/* Third style for font size*/
.cardiohero-title-small-three {
    font-size: 13px !important;   /* adjust as needed */
    line-height: 1.3 !important;
    font-weight: 600;             /* optional */
    color: #ffffff;
}

/* Text Justify alignment */
.cardiotext-justify p {
    text-align: justify;
}


/* Paragraphs */
.cardioabout-text p {
    text-align: justify;
    font-size: 18px !important;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #333;
}

/* Lists */
.cardioabout-text ul,
.cardioabout-text li {
    text-align: justify;
    font-size: 18px !important;
    line-height: 1.7;
    color: #333;
}

.cardioabout-list {
    margin-left: 20px;
    margin-bottom: 1.5rem;
}

.cardioabout-list li {
    margin-bottom: 0.6rem;
}

/* Legal Page Styling */
.cardiolegal-title {
    font-size: 32px;
    font-weight: 700;
    color: #0d6efd;
}

.cardiolegal-subtitle {
    font-size: 16px;
    color: #666;
}

.cardiolegal-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
}

.cardiolegal-card p {
    text-align: justify;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: #333;
}

.cardiolegal-heading {
    font-size: 20px;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 0.6rem;
}


/* Contact Page Styling */
.cardiocontact-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #1000ea;
}

.cardiocontact-text {
    font-size: 17px;
    color: #444;
    line-height: 1.6;
}

.cardiocontact-email {
    font-size: 20px;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
}

.cardiocontact-email:hover {
    text-decoration: underline;
}

.cardiocontact-icon i {
    display: inline-block;
}

