.footer {
    /* background-color: #ff0080; */
    color: white;
    padding-top: 7.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
    margin-top: 4rem;
}

.footer::after {
    content: '';
    position: absolute;
    translate: transform(-50%, -50%);
    width: 150vw;
    height: 800px;
    overflow: hidden;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: -1;
    top: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    /* justify-content: center; */
    /* align-items: center; */
    width: 100%;
    /* max-width: 1200px; */
    padding-bottom: 20px;
    text-align: left;
}

.footer-container .hospital-info-container {
    grid-column: span 6 / span 6;
}

.footer-container .footer-links1 {
    grid-column: span 2 / span 2;
}

.footer-container .footer-links2 {
    grid-column: span 2 / span 2;
}

.footer-container .office-hours {
    grid-column: span 2 / span 2;
}

.footer-section {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    text-align: start;
    /* justify-content: center; */
}

.hospital-info-container {
    align-items: center;
}

.footer-section .hospital-info {
    display: flex;
    flex-direction: column;
}

.footer-section .hospital-info h2 {
    font-size: 45px;
    /* margin-bottom: 10px; */
    font-weight: bold;
}

.footer-section .hospital-info p {
    font-size: 22px;
    max-width: 400px;
    margin-bottom: 5px;
}

.footer-section h3 {
    font-size: 25px;
    font-weight: semi-bold;
    text-align: start;
}

.footer-section ul {
    font-size: 18px;
    font-weight: 400;
    list-style: none;
    padding-left: 5px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #000;
}

.hospital-info {
    flex: 2;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.office-hours {
    flex: 1;
}

.heading-footer {
    font-weight: 600;
}

.heading-footer span {
    font-weight: 400;
}

.footer-bottom {
    background-color: #111;
    color: #aaa;
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap-reverse;
    font-size: 0.9em;
    text-align: center;
}

.footer .designby {
    padding: 15px 0;
}

.footer .designby a {
    color: #fff;
    font-weight: semi-bold;
    font-size: 20px;
}

.footer-bottom p {
    margin: 5px;
    color: #fff;
    font-weight: semi-bold;
    font-size: 20px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons i {
    font-size: 35px;
    color: #fff;
    /* background-color: #fff; */

}

.social-icons .icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    padding: 10px;
    text-align: center;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    transition: background-color 0.3s;
}

.social-icons .icon:hover {
    background-color: #222;
}

@media screen and (max-width: 900px) {
    .footer-container .hospital-info-container {
        grid-column: span 12 / span 12;
        margin-bottom: 3rem;
    }

    .footer-container .footer-links1 {
        grid-column: span 4 / span 4;
        justify-content: center;
    }

    .footer-container .footer-links2 {
        justify-content: center;
        grid-column: span 4 / span 4;
    }

    .footer-container .office-hours {
        grid-column: span 4 / span 4;
        align-items: center;
        /* justify-content: center; */
    }

}

@media screen and (max-width: 600px) {
    .footer {
        padding-top: 6rem;
    }

    .footer::after {
        width: 180vw;
    }

    .footer-container .hospital-info-container {
        grid-column: span 12 / span 12;
        margin-bottom: 1rem;
    }

    .footer-container .hospital-info-container h2 {
        font-size: 33px;
    }

    .footer-container .hospital-info-container p {
        font-size: 18px;
    }

    .footer-container .footer-links1 {
        grid-column: span 6 / span 6;
        justify-content: start;
        padding-left: 3rem;
    }

    .footer-container .footer-links2 {
        grid-column: span 6 / span 6;
    }

    .footer-container .office-hours {
        grid-column: span 12 / span 12;
        margin-top: 1rem;
        align-items: start;
        padding-left: 3rem;
        /* justify-content: center; */
    }

    .footer-section h3 {
        font-size: 20px;
    }

    .footer .designby {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer .designby a {
        font-size: 16px;
        text-align: center;
    }

    .footer-bottom {
        align-items: center;
        justify-content: center;
    }

    .footer-bottom p {
        font-size: 18px;
        row-gap: 15px;
    }
}

@media screen and (max-width: 450px) {
    .footer {
        padding-top: 4rem;
    }

    .footer::after {
        width: 250vw;
    }

    .footer-container {
        padding: 0 5%;
    }

    .footer-container .hospital-info-container {
        align-items: center;
        justify-content: center;
    }

    .footer-container .hospital-info-container h2 {
        font-size: 30px;
    }

    .footer-container .hospital-info-container p {
        font-size: 16px;
    }

    .footer-container .footer-links1 {
        padding-left: 0rem;
    }

    .footer-container .footer-links2 {
        justify-content: start;
    }

    .footer-container .office-hours {
        align-items: start;
        padding-left: 0rem;
    }

    .footer-section h3 {
        font-size: 18px;
    }

    .footer .designby {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer .designby a {
        font-size: 15px;
        text-align: center;
    }

    .footer-bottom {
        align-items: center;
        justify-content: center;
    }

    .footer-bottom p {
        font-size: 14px;
        row-gap: 15px;
    }
}