
/* Contact section start */

#Contact_informetion {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px 0px 50px 0px;
}

.card-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
    justify-content: center;
}

.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 400px;
    padding: 20px;
    /* text-align: center; */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-title svg {
    width: 70px;
    height: 70px;
}

.card-title svg path {
    fill: red;
}

.card-title a {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none;
}

.contract_card_heading {
    font-size: 25px;
    font-weight: 700;
    padding: 20px 0px;
}

.card-description {
    font-size: 16px;
    line-height: 26px;
    color: black !important;
    font-weight: 400;
}

.card:focus-within {
    outline: 3px solid black;
    border-radius: 8px;
    outline-offset: 5px;
}

.card-title a:focus {
    outline: 2px solid black;
    border-radius: 4px;
    outline-offset: 5px;
}

.card-description {
    font-size: 1em;
    color: #666;
}

/* Contact section end */

/* contact_ Info Start */
.contact_location_item h3 {
    padding: 0px 0px 20px 0px;
    font-size: 30px;
}

.contact_location_item p {
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
    padding: 0px 0px 10px 0px;
}

.contact_location_item img {
    padding: 0px 0px 28px 0px;
}

.contract_form_item h3 {
    text-align: center;
    padding: 0px 0px 20px 0px;
    font-size: 30px;
}

.form_group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 400;
    color: #3333337b;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.form_group button {
    padding: 10px 20px;
    background-color: var(--btn-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: 0.5s;
}

.form_group button:hover {
    background-color: var(--color-1);
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact_location_item h3,
    .contract_form_item h3 {
        font-size: 22px;
    }

    .contact_location_item p {
        font-size: 14px;
        line-height: 26px;
    }

    .form_group button {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .contact_location_item,
    .contract_form_item {
        margin-bottom: 30px;
    }

    .contact_location_item h3,
    .contract_form_item h3 {
        font-size: 20px;
        text-align: center;
    }

    .contact_location_item p {
        font-size: 14px;
        text-align: justify;
        line-height: 24px;
    }

    .contact_location_item img {
        padding: 0;
    }

    .form_group button {
        width: 100%;
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .contact_location_item p {
        font-size: 13px;
    }

    .form_group button {
        padding: 8px 15px;
    }
}

/* contact_ Info End */

/* Map start */
.map_wrapper iframe {
    padding: 0;
    margin: -5px;
}

/* Map end */

/* dhaka medical footer start */
#medical_footer_items {
    padding: 50px 0px 40px 0px;
    background: var(--btn-bg);
}

.Container {
    width: 100%;
    max-width: 1140px;
    margin: auto;
    padding: 0 15px;
}

.short_text h4 {
    font-weight: 600;
    font-size: 22px;
    color: var(--background-color);
}

.medical_all_item {
    padding: 0px 15px;
}

.under_lines {
    width: 245px;
    height: 2.5px;
    background: var(--background-color);
}

.medical_footer_text {
    padding: 5px 0px 0px 0px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer_list_1 li,
.footer_list_2 li {
    padding: 15px 0px 0px 0px;
    list-style-type: none;
}

.footer_list_1 a,
.footer_list_2 a {
    font-size: 16px;
    text-decoration: none;
    color: var(--background-color);
    font-weight: 400;
    transition: 0.5s;
}

.footer_list_1 a:hover,
.footer_list_2 a:hover {
    color: var(--btn-color);
}

.footer_social_item {
    display: flex;
}

.footer_social_item .icon {
    align-items: center;
    justify-content: center;
    display: flex;
    width: 40px;
    height: 40px;
    border: 1px solid #575ea8;
    font-size: 16px;
    border-radius: 50%;
    margin: 0px 10px 0px 0px;
    transition: 0.5s;
}

.footer_social_item .icon:hover {
    background: #6b6d79;
}

.footer_contact_item {
    display: flex;
    padding: 14px 0px 0px 0px;
}

.medical_footer_contact_icon,
.medical_footer_location_icon {
    font-size: 38px;
}

.medical_footer_contact_text {
    padding: 0px 0px 0px 20px;
}

.callname_heading a {
    font-size: 18px !important;
}

.medical_footer_contact_callnamebar a,
.medical_footer_contact_faxnamebar a,
.medical_footer_location_text a {
    font-size: 14px;
    text-decoration: none;
    color: var(--background-color);
}

.medical_footer_location_text {
    padding-left: 28px !important;
}

.medical_footer_contact_text a:hover,
.medical_footer_location_text a:hover {
    color: var(--background-color);
}

.madical_collage_location {
    margin: 18px 0px 0px 0px;
}

.madical_collage_location iframe {
    width: 100%;
    height: 250px;
}

@media screen and (max-width: 770px) {
    .medical_all_item {
        margin: 20px 0px;
    }

    .medical_footer_text {
        display: block;
        padding: 0 !important;
    }
}

@media screen and (max-width: 576px) {
    .Container {
        padding: 0 10px;
    }

    .medical_footer_contact_item,
    .footer_social_item {
        justify-content: center;
    }

    .medical_footer_contact_icon,
    .medical_footer_location_icon {
        font-size: 28px;
    }

    .callname_heading a {
        font-size: 16px !important;
    }

    .madical_collage_location iframe {
        height: 200px;
    }
}

/* dhaka medical footer end */

/* dhaka medical copyright start */
#medical_copyright_items {
    background: var(--btn-color);
    text-align: center;
}

.medical_copyright_item {
    padding: 16px 0px;
}

.medical_copyright_item a {
    font-weight: 600;
    text-decoration: none;
    color: var(--background-color);
}

.medical_copyright_item a:hover {
    color: var(--background-color);
}

/* dhaka medical copyright end */

/* Back To Top button start */

#back_to_top {
    padding: 20px;
}

#backToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.5s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

#backToTopBtn:hover {
    background: linear-gradient(45deg, #2575fc, #6a11cb);
    transform: rotate(360deg) scale(1.1);
}

#backToTopBtn span {
    color: white;
    font-size: 24px;
    transition: all 0.5s ease;
}

/* Pulsating Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }

    70% {
        box-shadow: 0 0 20px 20px rgba(102, 126, 234, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* Back To Top button end */
