

body {
    font-family: Lato;
    color: #114465;
}

/* Doctor Search Styles */
.doctor-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.badge-pcp {
    background-color: #ffc107 !important;
    color: #000 !important;
    font-weight: bold;
}

.badge-specialist {
    background-color: #28a745 !important;
    color: #fff !important;
    font-weight: bold;
}

.badge-ancillary {
    background-color: #17a2b8 !important;
    color: #fff !important;
    font-weight: bold;
}

.doctor-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.search-form {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.doctor-modal .modal-content {
    border-radius: 10px;
    border: none;
}

.doctor-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.doctor-modal .modal-body {
    padding-top: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .doctor-photo {
        width: 80px;
        height: 80px;
    }
    
    .search-form {
        margin: 0 15px;
    }
}
#mainNav .navbar-nav li.nav-item a.nav-link {
    color: #114465;
}
#mainNav .navbar-nav li.nav-item a.nav-link:active, #mainNav .navbar-nav li.nav-item a.nav-link:focus {
    color: #4BA9EA;
}
#mainNav .navbar-nav li.nav-item a.nav-link:hover {
    color: #4BA9EA;
}
#mainNav .navbar-toggler {
    background-color: #114465 !important;
    margin-right: .6rem;
}
a {
    color: inherit;
}
a:hover, a:focus, a:active {
    color: #4BA9EA;
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
}
header {
    background-image: url(../assets/img/header-img.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;
    min-height: 750px;
}
.site-logo {
    width: 44%;
}
#why h1 {
    font-size: 4rem;
}
.section-about {
    background-image: url(../assets/img/statement-bg.jpg);
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
    height: 65vh;
    min-height: 516px;
}
.section-about h3, #doctor-search h3, #doctor-search p {
    line-height: 1.4;
    color: #114465;
}
.section-telehealth {
    text-align: center;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 3rem;
}
.our-team {
    padding: 0;
    text-align: center;
}
.our-partner {
    background-image: url(../assets/img/ally-img.jpg);
    background-size: cover;
    background-position: center center;
}
.our-partner .partner-icon {
    width: 75%;
}
.our-partner .partner-icon.too-high {
    max-height: 103px;
    width: auto;
}
.left-border {
    border-left: 1px solid #4BA9EA;
    padding-left: 1.4rem;
}
.left-white-border {
    border-left: 1px solid #fff;
    padding-left: 1.4rem;
}
.carousel-control-prev {
    left: -5rem;
}
.carousel-control-prev-icon {
    background-image: url(../assets/img/left-arrow.png);
    width: 20px;
    height: 57px;
}
.carousel-control-next {
    right: -5rem;
}
.carousel-control-next-icon {
    background-image: url(../assets/img/right-arrow.png);
    width: 20px;
    height: 57px;
}
.section-contact {
    background-color: #043F5F;
    color: #fff;
}
.btn-secondary {
    background-color: #4BA9EA;
    border: 0;
}
.btn-secondary:active, .btn-secondary:focus, .btn-secondary:hover {
    background-color: #043F5F;
}
#sendMessageButton:hover, #sendMessageButton:active, #sendMessageButton:focus {
    background-color: #4BA9EA;
}
.floating-label-form-group-with-focus label {
    color: inherit;
}
.modal-header .close {
    color: #E8E8E8;
}
.close:not(:disabled):not(.disabled):focus, .close:not(:disabled):not(.disabled):hover {
    color: grey;
}
@media screen and (max-width:992px) {
    #mainNav {
        padding-top: .4rem;
        padding-bottom: .4rem;
    }
    #mainNav .navbar-nav li.nav-item a.nav-link.active {
        color: #4BA9EA;
    }
    section#value {
        padding: 3rem 0;
    }
    .site-logo {
        width: 30%;
    }
    header {
        height: 100vh;
        min-height: inherit;
        background-image: url(../assets/img/header-img-mobile.png);
    }
    #why h1 {
        font-size: 2rem;
        line-height: 2.4rem;
    }
    .our-partner .partner-icon {
        width: 100%;
    }
    .our-partner .partner-icon.too-high { 
        max-height: 36px;
    }
    .section-about {
        min-height: inherit;
    }
    .section-about.cn {
        min-height: 65vh;
        height: auto;
    }
    .section-contact {
        padding: 3rem 0;
    }
    .our-team img.img-fluid {
        width: 75%;
    }
}
@media screen and (min-width: 992px) {
    #mainNav {
        padding-top: .8rem;
        padding-bottom: .8rem;
    }
    #mainNav.navbar-shrink {
        padding-top: .1rem;
        padding-bottom: .1rem;
    }
    #mainNav .navbar-nav>li.nav-item>a.nav-link.active, #mainNav .navbar-nav>li.nav-item>a.nav-link.active:active, #mainNav .navbar-nav>li.nav-item>a.nav-link.active:focus, #mainNav .navbar-nav>li.nav-item>a.nav-link.active:hover {
        background: none;
        color: #4BA9EA;
    }

    .modal-lg, .modal-xl {
        max-width: 860px;
    }
}

/* Enhanced Pagination Styles */
.pagination .page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    margin: 0 2px;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination .page-link:hover {
    color: #0056b3;
    background-color: #e9ecef;
    border-color: #adb5bd;
    text-decoration: none;
}

.pagination .page-item.active .page-link {
    background-color: #114465;
    border-color: #114465;
    color: white;
    font-weight: bold;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.pagination .page-link i {
    font-size: 0.875rem;
    margin: 0 2px;
}

/* Results summary styling */
.results-summary {
    font-size: 0.9rem;
    color: #6c757d;
}

.results-summary .text-muted {
    font-size: 0.9rem;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
    }
    
    .pagination .page-link {
        padding: 0.375rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .pagination .page-link i {
        font-size: 0.75rem;
    }
}

/* Pagination container spacing */
.pagination-container {
    margin: 2rem 0;
}

/* Enhanced hover effects */
.pagination .page-item:not(.disabled):not(.active) .page-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Active page emphasis */
.pagination .page-item.active .page-link {
    box-shadow: 0 2px 4px rgba(17, 68, 101, 0.3);
}

/* First/Last page button styling */
.pagination .page-link[title="第一页"],
.pagination .page-link[title="最后一页"] {
    font-weight: bold;
}

/* Ellipsis styling */
.pagination .page-item.disabled .page-link {
    font-weight: bold;
    color: #6c757d;
}