:root {
    --primary:          #206A3C; /* υπάρχον ISK green */
    --primary-hover:    #18542F;
    --primary-light:    #E4EFE8;

    --accent:           #8CB93E; /* υπάρχον light green */

    --secondary:        #269CD7; /* blue ήδη χρησιμοποιείται */
    --secondary-hover:  #1E7EAF;

    --background:       #F7F9F8;
    --surface:          #FFFFFF;

    --text:             #2D3530;
    --text-muted:       #626B65;
    --border:           #DCE4DF;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: Arial, sans-serif;
}

a {
    color: var(--primary);
}

.public-topbar {
    background: var(--primary-hover);
    color: #fff;
    font-size: .875rem;
    padding: .55rem 0;
}

.topbar-link {
    color: #fff;
    text-decoration: none;
}

.public-header {
    background: #fff;
}

.brand-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.brand-title {
    color: var(--primary);
    font-size: 1.45rem;
    font-weight: 700;
}

.brand-subtitle {
    color: var(--text-muted);
    font-size: .9rem;
}

.public-navbar {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.public-navbar .nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 1rem .8rem;
}

.public-navbar .nav-link:hover,
.public-navbar .nav-link.active {
    color: var(--primary);
}

.public-navbar .nav-link.active {
    box-shadow: inset 0 -3px var(--primary);
}

.hero-section {
    background:
        linear-gradient(
            120deg,
            #ffffff 0%,
            #f2f8f4 60%,
            #ddece2 100%
        );
}

.min-vh-50 {
    min-height: 480px;
}

.hero-label,
.section-kicker {
    color: var(--primary);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .12em;
}

.hero-title {
    color: var(--text);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
}

.hero-text {
    color: var(--text-muted);
    max-width: 650px;
    font-size: 1.15rem;
}

.hero-symbol {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(33, 114, 61, .08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-hover);
    --bs-btn-hover-border-color: var(--primary-hover);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
}

.doctor-search-section {
    margin-top: -45px;
    position: relative;
    z-index: 5;
}

.doctor-search-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .08);
}

.section-padding {
    padding: 5rem 0;
}

.service-card {
    height: 100%;
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: .9rem;
    padding: 2rem;
    color: var(--text);
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.service-card:hover {
    color: var(--text);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.service-icon {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-muted);
}

.service-more,
.section-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.news-section {
    background: #fff;
}

.featured-news {
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
}

.featured-news-placeholder {
    height: 300px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
}

.news-category {
    color: var(--primary);
    font-size: .75rem;
    font-weight: 700;
}

.news-date {
    color: var(--text-muted);
    font-size: .875rem;
}

.news-list-item {
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--border);
}

.news-list-item h4 {
    margin: .5rem 0;
    font-size: 1.15rem;
}

.news-list-item a {
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
}

.audience-card {
    min-height: 310px;
    padding: 3rem;
    border-radius: 1rem;
}

.audience-card.doctor {
    background: var(--primary);
    color: #fff;
}

.audience-card.citizen {
    background: var(--primary-light);
}

.audience-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.public-footer {
    background: var(--primary-hover);
    color: rgba(255,255,255,.85);
}

.public-footer h4,
.public-footer h5 {
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: .6rem;
}

.footer-links a,
.footer-bottom a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: #fff;
}

.footer-contact div {
    margin-bottom: .65rem;
}

.footer-contact i {
    width: 25px;
}

.footer-bottom {
    font-size: .85rem;
}

.footer-bottom a {
    margin-left: 1rem;
}

@media (max-width: 991.98px) {
    .doctor-search-section {
        margin-top: 0;
    }

    .hero-section {
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-section .d-flex {
        justify-content: center;
    }

    .public-navbar .nav-link.active {
        box-shadow: none;
    }
}

/* =========================================================
   HOME
========================================================= */

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 7rem;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(140, 185, 62, .18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f4f8f5 55%,
            #e4efe8 100%
        );
}

.hero-kicker,
.section-kicker {
    display: block;
    margin-bottom: .75rem;
    color: var(--primary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.hero-title {
    max-width: 750px;
    margin: 0;
    color: var(--text);
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.08;
}

.hero-text {
    max-width: 680px;
    margin-top: 1.5rem;
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
}


/* Featured hero announcement */

.hero-feature-card {
    position: relative;
    padding: 2.5rem;
    overflow: hidden;
    background: var(--primary);
    border-radius: 1.25rem;
    color: #fff;
    box-shadow: 0 20px 50px rgba(32, 106, 60, .18);
}

.hero-feature-card::after {
    position: absolute;
    right: -45px;
    bottom: -70px;
    width: 180px;
    height: 180px;
    background: var(--accent);
    border-radius: 50%;
    opacity: .25;
    content: "";
}

.hero-feature-label {
    margin-bottom: 1.5rem;
    color: #dcefc3;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.hero-feature-date {
    margin-bottom: .5rem;
    color: rgba(255,255,255,.7);
    font-size: .85rem;
}

.hero-feature-card h2 {
    position: relative;
    z-index: 1;
    font-size: 1.6rem;
    line-height: 1.35;
}

.hero-feature-card p {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,.8);
}

.hero-feature-card a {
    position: relative;
    z-index: 1;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}


/* =========================================================
   QUICK ACCESS
========================================================= */

.quick-access {
    position: relative;
    z-index: 5;
    margin-top: -3rem;
}

.quick-access-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: 0 15px 40px rgba(0,0,0,.07);
}

.quick-access-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.6rem;
    border-right: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: background .2s ease;
}

.quick-access-item:last-child {
    border-right: 0;
}

.quick-access-item:hover {
    background: var(--primary-light);
    color: var(--text);
}

.quick-access-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: .75rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.quick-access-item strong,
.quick-access-item span {
    display: block;
}

.quick-access-item span {
    margin-top: .2rem;
    color: var(--text-muted);
    font-size: .8rem;
}


/* =========================================================
   SECTIONS
========================================================= */

.home-section {
    padding: 5.5rem 0;
}

.section-soft {
    background: #f1f6f3;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    margin: 0;
    color: var(--text);
    font-size: 2rem;
    font-weight: 700;
}

.section-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}


/* =========================================================
   NEWS
========================================================= */

.featured-article {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1rem;
}

.featured-article-image {
    position: relative;
}

.article-image-placeholder {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            var(--primary-light),
            #f4f8f5
        );
    color: var(--primary);
    font-size: 4rem;
}

.article-category {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    padding: .4rem .75rem;
    background: var(--primary);
    border-radius: 2rem;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
}

.featured-article-body {
    padding: 2rem;
}

.featured-article-body h3 {
    margin: .7rem 0 1rem;
    font-size: 1.55rem;
}

.featured-article-body p {
    color: var(--text-muted);
}

.article-date {
    color: var(--text-muted);
    font-size: .8rem;
}

.article-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.latest-news {
    height: 100%;
    padding: 0 2rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1rem;
}

.latest-news-item {
    position: relative;
    padding: 1.55rem 2rem 1.55rem 0;
    border-bottom: 1px solid var(--border);
}

.latest-news-item:last-child {
    border-bottom: 0;
}

.latest-news-item h3 {
    margin: .4rem 0 0;
    font-size: 1.05rem;
    line-height: 1.45;
}

.latest-news-item h3 a {
    color: var(--text);
    text-decoration: none;
}

.latest-news-item > i {
    position: absolute;
    right: 0;
    top: 50%;
    color: var(--primary);
}


/* =========================================================
   INFORMATION CARDS
========================================================= */

.info-card {
    display: flex;
    flex-direction: column;
    min-height: 290px;
    height: 100%;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1rem;
    color: var(--text);
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.info-card:hover {
    color: var(--text);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.07);
}

.info-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: var(--primary-light);
    border-radius: .8rem;
    color: var(--primary);
    font-size: 1.4rem;
}

.info-card-label {
    color: var(--primary);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.info-card h3 {
    margin: .6rem 0 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.info-card > span {
    margin-top: auto;
    color: var(--primary);
    font-size: .9rem;
    font-weight: 600;
}


/* =========================================================
   ACTIVITIES
========================================================= */

.activity-card {
    display: block;
    height: 100%;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1rem;
    color: var(--text);
    text-decoration: none;
}

.activity-icon {
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 2rem;
}

.activity-card h3 {
    font-size: 1.3rem;
}

.activity-card p {
    color: var(--text-muted);
}

.activity-card span {
    color: var(--primary);
    font-weight: 600;
}


/* =========================================================
   MEMBER CTA
========================================================= */

.member-cta {
    padding: 4rem 0;
    background: var(--primary);
    color: #fff;
}

.member-cta-kicker {
    display: block;
    margin-bottom: .6rem;
    color: #cfe7b0;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.member-cta h2 {
    margin-bottom: .75rem;
    font-weight: 700;
}

.member-cta p {
    max-width: 750px;
    margin-bottom: 0;
    color: rgba(255,255,255,.8);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .home-hero {
        padding: 4rem 0 6rem;
    }

    .quick-access-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-access-item:nth-child(2) {
        border-right: 0;
    }

    .quick-access-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

}

@media (max-width: 575.98px) {

    .home-hero {
        padding-top: 3rem;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .quick-access {
        margin-top: -2rem;
    }

    .quick-access-wrapper {
        grid-template-columns: 1fr;
    }

    .quick-access-item {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .quick-access-item:last-child {
        border-bottom: 0;
    }

    .section-header {
        align-items: start;
        flex-direction: column;
    }

    .home-section {
        padding: 4rem 0;
    }

}

/* =========================================================
   INSTITUTIONAL LINKS
========================================================= */

.institutional-links {
    background: #fff;
}

.institutional-links-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;

    padding: 2rem 0;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.institutional-link {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 70px;
    padding: 0 1.5rem;

    text-decoration: none;

    transition:
        opacity .2s ease,
        transform .2s ease;
}

.institutional-link img {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 100px;

    object-fit: contain;
}

.institutional-link:hover {
    opacity: .8;
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {

    .institutional-links-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

}

@media (max-width: 575.98px) {

    .institutional-links-wrapper {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .institutional-link {
        min-height: 55px;
    }

    .institutional-link img {
        max-height: 48px;
    }

}