@charset "UTF-8";

/* ==========================================================================
   Header Phone & Contact Button Styles
   ========================================================================== */

/* Common Tel Nav styling */
.telnav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    color: #1b2273;
    line-height: 1.1;
    text-align: left;
    background-color: #fff;
    border-radius: 10px;
    height: 44px;
    width: auto;
    min-width: 190px;
}

.telnav-icon {
    width: 28px;
    flex-shrink: 0;
}

.telnav-icon svg,
.telnav-icon img {
    width: 100%;
    height: auto;
    display: block;
}

.telnav-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.telnav-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.telnav-hours {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/* Adjustments for fixed header / PC Navigation */
#medicalf-header .telnav {
    margin-top: 0;
    display: inline-flex;
    vertical-align: middle;
}

#medicalf-header .toptel {
    padding: 0 5px;
    margin-right: 0px !important;
    margin-left: 0px !important;
    margin-top: -14px;
    width: auto;
}

#medicalf-header .toptel a {
    display: flex;
    align-items: center;
    height: 100%;
    padding-right: 0 !important;
}

/* Contact Button styling */
.contactnav {
    width: 161px;
    height: 44px;
    background-color: #1b2273;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -ms-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.contactnav:hover {
    background-color: #2e379b;
}

.contactnav-icon {
    width: 24px;
    flex-shrink: 0;
}

.contactnav-icon img {
    width: 100%;
    height: auto;
    display: block;
}

.contactnav-text {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Media Queries for Tablet/Small PC */
@media screen and (max-width: 1200px) {
    .telnav {
        min-width: 170px;
        gap: 6px;
        padding: 0 8px;
    }

    .telnav-number {
        font-size: 19px;
    }

    .telnav-hours {
        font-size: 9px;
    }

    .telnav-icon {
        width: 28px;
    }
}

/* Drawer / Mobile Menu specific adjustments */
.drw__inner .telnav {
    justify-content: center;
    margin: 0 auto;
    max-width: 260px;
    color: #1b2273;
    background-color: #fff;
}

.drw__inner .contactnav {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Home Page Contact Section */
.home-contact-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
    margin: 30px auto;
    width: 100%;
    max-width: 900px;
}

.home-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: auto;
    background: linear-gradient(to bottom, #ffb326, #ffa500);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 20px;
    text-align: center;
}

.home-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #fff;
    text-decoration: none;
}

.home-info-panel {
    flex: 1.5;
    background-color: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333;
    text-align: left;
}

.home-info-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.home-info-row:last-child {
    margin-bottom: 0;
}

.home-info-icon {
    width: 40px;
    flex-shrink: 0;
    margin-top: 5px;
}

.home-info-icon img {
    width: 100%;
    height: auto;
}

.home-info-content {
    flex-grow: 1;
}

.home-info-tel {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    display: block;
    color: #1b2273;
}

.home-info-fax {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.home-info-fax span {
    font-size: 16px;
    font-weight: 700;
    color: #666;
}

.home-info-hours {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.home-info-hours dt {
    color: #666;
    font-weight: 700;
}

.home-info-hours dd {
    margin: 0;
}

@media screen and (max-width: 768px) {
    .home-contact-container {
        flex-direction: column;
    }

    .home-contact-btn {
        font-size: 24px;
        height: 100px;
    }

    .home-info-tel {
        font-size: 32px;
    }

    .home-info-fax {
        font-size: 22px;
    }

    .home-info-hours {
        font-size: 14px;
    }

    .home-info-icon {
        width: 30px;
    }
}