.hero {
    min-height: 300px;
    padding: 45px 0;
    background:
            linear-gradient(90deg, rgba(238,247,255,1) 0%, rgba(238,247,255,0.8) 45%, rgba(238,247,255,0.2) 100%),
            url("https://images.unsplash.com/photo-1582750433449-648ed127bb54?q=80&w=1600") center/cover;
}

.breadcrumb {
    color: var(--blue);
    font-size: 14px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 54px;
    margin: 0 0 16px;
    color: #123d86;
}

.hero p {
    max-width: 460px;
    font-size: 18px;
    line-height: 1.7;
}

.main {
    margin-top: -52px;
}

.search-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 15px 40px rgba(30, 70, 120, 0.14);
}

.field {
    position: relative;
    flex: 0 1 540px;
    max-width: 100%;
    min-width: 260px;
}

.field input,
.search-box select,
.filters select {
    width: 100%;
    height: 50px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 16px;
    color: var(--text);
    background: white;
    font-size: 15px;
}

.field i {
    position: absolute;
    right: 16px;
    top: 17px;
    color: var(--blue);
    pointer-events: none;
}

.clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    border: none;
    background: #edf5ff;
    color: var(--blue);
    border-radius: 10px;
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.filters-toggle-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    border: none;
    background: var(--blue);
    color: #fff;
    border-radius: 10px;
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.filters-mobile-header {
    display: none;
}

.filters-overlay {
    display: none;
}

.content-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 36px;
    margin-top: 34px;
}

.filters {
    background: white;
    border: 1px solid #e7eef8;
    border-radius: 14px;
    padding: 22px;
    align-self: start;
    box-shadow: 0 12px 30px rgba(20, 60, 110, 0.06);
    min-width: 0;
}

.filters h3 {
    margin-top: 0;
}

.filter-group {
    border-bottom: 1px solid #e8eef7;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.filter-group.is-hidden {
    display: none;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-group h4 {
    margin-bottom: 14px;
}

.filter-group label {
    display: block;
    margin-bottom: 13px;
    color: var(--muted);
    font-size: 14px;
}

.filter-group input {
    margin-right: 8px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.section-head h2 {
    font-size: 18px;
}

.view-buttons {
    display: flex;
    gap: 8px;
}

.view-buttons button {
    border: 1px solid var(--border);
    background: white;
    color: var(--blue);
    border-radius: 6px;
    width: 36px;
    height: 36px;
}

.view-buttons .active {
    background: var(--blue);
    color: white;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.doctors-empty {
    background: #fff;
    border: 1px solid #e3ebf7;
    border-radius: 12px;
    color: #60739b;
    font-weight: 700;
    padding: 28px;
    text-align: center;
}

.doctor-card {
    background: #fff;
    border: 1px solid #e3ebf7;
    border-radius: 12px;
    overflow: hidden;
    transition: all .25s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(16,53,111,.12);
}

.doctor-card img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    display: block;
    background: #f5f8fc;

}

.doctor-info {
    padding: 18px;
}

.doctor-info h3 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: #0b4db8;
}

.doctor-info p {
    margin: 0 0 8px;
    color: #60739b;
    font-size: 14px;
    line-height: 1.5;
}

.department {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #60739b;
}

.department i {
    color: #0057d9;
    margin-right: 0;
}

.profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0057d9;
    font-weight: 700;
    text-decoration: none;
    font-size: 12px;
}

.profile-link:hover {
    color: #003fa5;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 42px 0 20px;
}

.pagination a,
.pagination button {
    min-width: 40px;
    height: 40px;
    padding: 0 13px;
    border: 1px solid #dce7f6;
    background: #fff;
    color: #0057d9;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.pagination a:hover,
.pagination button:hover {
    background: #edf5ff;
    border-color: #bcd4f5;
    transform: translateY(-2px);
}

.pagination .active {
    background: #0057d9;
    color: #fff;
    border-color: #0057d9;
    box-shadow: 0 8px 20px rgba(0, 87, 217, 0.22);
}

.pagination span {
    min-width: 32px;
    height: 40px;
    color: #6c7fa3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.pagination a:first-child,
.pagination a:last-child,
.pagination button:first-child,
.pagination button:last-child {
    border-radius: 50%;
    width: 40px;
    padding: 0;
}

.cta {
    margin: 40px 0 20px;
    background: #eaf4ff;
    border-radius: 16px;
    padding: 26px 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta > div {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.cta i {
    font-size: 34px;
    background: var(--blue);
    color: white;
    padding: 18px;
    border-radius: 50%;
}

.cta h3,
.cta p {
    margin: 0;
}

@media (max-width: 1180px) {
    .doctors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 950px) {
    .container {
        width: min(100% - 32px, 1180px);
    }
    .hero {
        min-height: 260px;
        padding: 36px 0 72px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        max-width: 620px;
    }

    .main {
        margin-top: -42px;
    }
    .search-box {
        max-width: 100%;
    }
    .content-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .filters-toggle-btn {
        display: inline-flex;
    }

    .filters {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1300;
        width: 340px;
        max-width: 88vw;
        height: 100vh;
        margin: 0;
        overflow-y: auto;
        border-radius: 0;
        transition: right 0.3s ease;
        display: block;
    }

    .filters.is-open {
        right: 0;
    }

    .filters-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: -22px -22px 20px;
        padding: 18px 22px;
        border-bottom: 1px solid #e8eef7;
    }

    .filters-mobile-header h3 {
        margin: 0;
    }

    .filters-close {
        border: none;
        background: none;
        font-size: 20px;
        color: var(--muted);
        cursor: pointer;
    }

    .filters-overlay.is-open {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1200;
        background: rgba(16, 40, 80, 0.45);
    }
}

@media (max-width: 700px) {
    .hero {
        min-height: 240px;
        padding: 30px 0 82px;
        background:
                linear-gradient(90deg, rgba(238,247,255,1) 0%, rgba(238,247,255,0.92) 100%),
                url("https://images.unsplash.com/photo-1582750433449-648ed127bb54?q=80&w=1600") center/cover;
    }

    .breadcrumb {
        margin-bottom: 16px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.55;
    }

    .search-box {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 12px;
    }

    .field {
        width: 100%;
        min-width: 0;
        flex-basis: auto;
    }

    .clear-btn {
        width: 100%;
    }

    .filters-toggle-btn {
        width: 100%;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .doctor-card img {
        height: 260px;
        object-fit: scale-down;
    }

    .pagination {
        justify-content: center;
    }

    .cta {
        flex-direction: column;
        align-items: stretch;
        padding: 22px;
    }

    .cta > div {
        align-items: flex-start;
    }

    .cta .btn {
        width: 100%;
    }
}

@media (max-width: 460px) {
    .btn {
        border-radius: 12px;
        padding: 13px 20px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .main {
        margin-top: -50px;
    }

    .field input,
    .search-box select,
    .filters select,
    .clear-btn {
        height: 46px;
        min-height: 46px;
    }

    .doctor-card img {
        height: 190px;
        object-fit: scale-down;
    }

    .cta > div {
        flex-direction: column;
        gap: 14px;
    }

    .cta i {
        font-size: 26px;
        padding: 14px;
    }
}



.doctor-info h3{
    margin:0 0 8px;
    font-size:20px;
    color:#0b3f91;
    font-weight:800;
}

.doctor-specialty{
    margin:0 0 12px;
    color:#64748b;
    font-size:14px;
    font-weight:600;
}

.doctor-rank{
    display:flex;
    align-items:center;
    gap:8px;

    margin-bottom:8px;

    color:#0b3f91;
    font-size:14px;
    font-weight:700;
}

.doctor-rank i{
    color:#0b3f91;
}

.department{
    display:flex;
    align-items:center;
    gap:8px;

    margin-bottom:16px;

    color:#475569;
    font-size:14px;
}

.department i{
    color:#0b3f91;
}

.filter-group.eidikotita {
    max-height: 400px;
    overflow-y: scroll;
    overflow-x: hidden;
}









.doctors-filters-actions{
    display:flex;
    gap:12px;
    margin-top:24px;
}

.filter-submit,
.filter-reset{
    height:48px;
    padding:0 24px;

    border-radius:12px;

    font-size:15px;
    font-weight:700;

    text-decoration:none;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    transition:.25s ease;
}



.filter-submit{
    border:none;

    background:#0b4dbb;
    color:#fff;
}

.filter-submit:hover{
    background:#083d95;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(11,77,187,.25);
}

.filter-reset{
    border:1px solid #d9e3f4;

    background:#fff;
    color:#475569;
}

.filter-reset:hover{
    background:#f8fafc;
    border-color:#0b4dbb;
    color:#0b4dbb;
}


.filter-submit,
.filter-reset{
    gap:10px;
}


.doctors-filters-actions{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:24px;
}

.filter-submit,
.filter-reset{
    width:100%;
    height:50px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    border-radius:12px;

    font-size:15px;
    font-weight:700;

    text-decoration:none;
    cursor:pointer;

    transition:.25s ease;
}

.filter-submit{
    border:none;
    background:#0b4dbb;
    color:#fff;
}

.filter-submit:hover{
    background:#083d95;
    transform:translateY(-2px);
}

.filter-reset{
    border:1px solid #dbe7f6;
    background:#fff;
    color:#475569;
}

.filter-reset:hover{
    border-color:#0b4dbb;
    color:#0b4dbb;
    background:#f8fbff;
}

























