html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
}

header > .navbar:first-of-type {
    padding-block: .75rem;
    background: #fff;
    border-bottom: 1px solid rgba(23, 35, 60, .07);
}

header > .navbar:first-of-type .logo {
    width: auto;
    max-height: 76px;
}

header > .navbar:nth-of-type(2) {
    padding-block: .35rem;
    background-color: var(--bs-primary) !important;
    box-shadow: 0 .5rem 1.5rem rgba(23, 35, 60, .10);
}

header > .navbar:nth-of-type(2) .nav-link {
    color: rgba(255, 255, 255, .8);
    font-weight: 600;
}

header > .navbar:nth-of-type(2) .nav-link:hover {
    color: #fff;
}

header > .navbar:nth-of-type(2) .navbar-brand .nav-item:first-child .nav-link {
    padding-inline: 1rem;
    border-radius: 999px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .10);
}

header > .navbar:nth-of-type(2) .navbar-brand .nav-item:first-child .nav-link:hover {
    background: rgba(255, 255, 255, .18);
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.accordion-button {
    background-color: var(--bs-light);
}

.validation-summary-errors ul {
    margin-bottom: 0;
}

dl > dd > dl > dt {
    font-weight: normal;
    border-bottom-style: dotted !important;
    border-bottom-width: 1px !important;
    display: flex;
    align-items: flex-end;
}

dl > div.row > dd > dl > dt, dl > div.row > dd > dl > dd {
    font-weight: normal;
}

dl > dd > dl > dd {
    display: flex;
    align-items: flex-end;
}

.striped dt, .striped dd {
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
}

.striped-even > .row:nth-child(even) {
    background-color: var(--bs-light);
}

.striped-odd > .row:nth-child(odd) {
    background-color: var(--bs-light);
}

.input-group-text {
    font-family: monospace;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-header .remove-btn {
    margin-right: 5px;
    margin-left: 5px;
    order: 1;
}

.editable {
    min-height: 10rem;
}

.hover-card:hover {
    background-color: #f8f9fa; /* light gray */
    box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.1); /* subtle glow */
    cursor: pointer;
}

.option-group .input-group > .input-group-text {
    opacity: 0.75;
    border: none;
    background-color: transparent;
    font-family: revert;
    min-width: 3rem;
}

.option-group .row > .input-group-text {
    border: none;
    background-color: transparent;
    font-family: revert;
}





/* Μικρά, σύγχρονα bullets-εικονίδια */
.icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: grid;
    place-items: center; /* κεντράρισμα του icon */
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: inset 0 0 0 1px rgba(13, 110, 253, .08);
}

/* Διακριτικό hover lift για τις κάρτες */
.hover-lift {
    transition: transform .2s ease, box-shadow .2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 .8rem 1.6rem rgba(0,0,0,.12);
}






/* Home page */
.home-hero {
    color: #17233c;
    background: linear-gradient(135deg, #f5f9ff 0%, #e8f2ff 100%);
    box-shadow: 0 1.25rem 3rem rgba(27, 67, 119, .10);
}
.home-hero-content { max-width: 760px; }
.home-hero-eyebrow { color: var(--bs-primary); font-weight: 700; letter-spacing: .02em; }
.home-hero-media { min-height: 420px; }
.home-hero-media img { object-fit: cover; object-position: 60% center; }
.home-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(25, 70, 120, .14); }
.home-step { display: flex; align-items: center; gap: .75rem; }
.home-step strong { font-size: .9rem; line-height: 1.25; }
.home-stats { display: grid; grid-template-columns: repeat(2, 1fr); background: #17233c; color: #fff; overflow: hidden; }
.home-stat { padding: 1.35rem 2rem; text-align: center; }
.home-stat + .home-stat { border-left: 1px solid rgba(255, 255, 255, .18); }
.home-stat strong { display: block; color: #73b4ff; font-size: 1.75rem; line-height: 1.1; }
.home-stat span { display: block; margin-top: .35rem; color: rgba(255, 255, 255, .82); }
.home-section-title { color: #17233c; font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 700; }

.home-requests {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: .25rem .15rem 1rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(13, 110, 253, .45) transparent;
    scrollbar-width: thin;
}

.home-request-slide {
    flex: 0 0 calc((100% - 2rem) / 3);
    min-width: 0;
    scroll-snap-align: start;
}

.home-request-slide .home-request-card {
    height: 100%;
}

.home-request-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(23, 35, 60, .10);
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%) !important;
    box-shadow: 0 .5rem 1.5rem rgba(23, 35, 60, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-request-card::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), #73ad69);
}

.home-request-card:hover { transform: translateY(-3px); box-shadow: 0 .9rem 2rem rgba(23, 35, 60, .11); }

.home-request-card-link {
    color: inherit;
    text-decoration: none;
}

.home-request-card-link:hover { color: inherit; }

.home-request-card-link:focus-visible {
    outline: 3px solid rgba(13, 110, 253, .3);
    outline-offset: 3px;
}

.home-request-open-icon {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    place-items: center;
    border-radius: 50%;
    color: #667085;
    background: #f2f4f7;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.home-request-card:hover .home-request-open-icon,
.home-request-card:focus-visible .home-request-open-icon {
    color: #fff;
    background: var(--bs-primary);
    transform: translate(2px, -2px);
}

.home-request-category {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    max-width: 100%;
    padding: .42rem .75rem;
    border: 1px solid rgba(13, 110, 253, .12);
    border-radius: 999px;
    color: #285d9c;
    background: #edf5ff;
    font-size: .78rem;
    font-weight: 650;
    line-height: 1.2;
}

.home-request-title {
    color: #17233c;
    font-weight: 700;
    line-height: 1.25;
}

.home-request-route {
    padding: 1rem;
    border: 1px solid rgba(23, 35, 60, .08);
    border-radius: 1rem;
    background: #f7faff;
}

.home-request-stop {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: start;
    gap: .75rem;
}

.home-request-stop > .min-w-0 { min-width: 0; }

.home-request-marker {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    color: var(--bs-primary);
    background: var(--bs-primary-bg-subtle);
    font-size: .9rem;
}

.home-request-marker-delivery {
    color: #287a52;
    background: #e6f4eb;
}

.home-request-route-line {
    width: 2px;
    height: 1.15rem;
    margin: .2rem 0 .2rem calc(1rem - 1px);
    background: linear-gradient(var(--bs-primary-bg-subtle), #c9e7d4);
}

.home-request-label {
    display: block;
    margin-bottom: .15rem;
    color: #667085;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-request-place {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: .4rem;
    color: #17233c;
    font-size: .98rem;
}

.home-request-place strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-request-flag {
    width: 20px;
    height: 14px;
    flex: 0 0 auto;
    border-radius: 2px;
    object-fit: cover;
}

.home-request-region {
    display: block;
    overflow: hidden;
    margin-top: .1rem;
    color: #667085;
    font-size: .8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-request-actions {
    margin-top: 1rem !important;
    border-top: 1px solid rgba(23, 35, 60, .08);
}

.home-request-cta {
    display: inline-flex;
    align-items: center;
    padding: .55rem .9rem;
    border-radius: 999px;
    color: #fff;
    background: var(--bs-primary);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

main:has(.home-hero) {
    font-family: "Segoe UI", Arial, sans-serif;
}

main:has(.home-hero) h1,
main:has(.home-hero) h2,
main:has(.home-hero) h3,
main:has(.home-hero) h4,
main:has(.home-hero) h5 {
    font-family: "Segoe UI", Arial, sans-serif;
    letter-spacing: -.025em;
}

.home-benefits {
    position: relative;
}

.home-benefits::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 calc(50% - 50vw);
    background: #f7f9fc;
}

.section-kicker {
    color: var(--bs-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.home-benefit-card {
    min-height: 0;
    padding: 1.75rem;
    border: 1px solid rgba(23, 35, 60, .08);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 .45rem 1.4rem rgba(23, 35, 60, .05);
}

.home-benefit-card-wide { grid-column: auto; }
.home-benefit-card h3 { color: #17233c; font-size: 1.15rem; font-weight: 750; }
.home-benefit-card p { font-size: .96rem; line-height: 1.65; }

.home-audience-card,
.home-environment-card {
    border: 1px solid rgba(23, 35, 60, .08) !important;
    box-shadow: 0 .65rem 1.75rem rgba(23, 35, 60, .07);
}

.home-audience-card h3,
.home-environment-card h3 {
    color: #17233c;
    font-weight: 600;
}

.home-audience-card-primary {
    background: linear-gradient(145deg, #fff 35%, #eef6ff 100%);
    border-color: rgba(13, 110, 253, .18) !important;
}

.home-audience-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: center;
    gap: clamp(2rem, 7vw, 6rem);
}

.home-audience-visual {
    display: grid;
    width: 240px;
    min-height: 220px;
    place-items: center;
}

.home-audience-visual img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.audience-icon {
    display: inline-grid;
    width: 54px;
    height: 54px;
    place-items: center;
    flex: 0 0 54px;
    border-radius: 17px;
    color: var(--bs-primary);
    background: var(--bs-primary-bg-subtle);
    font-size: 1.4rem;
    box-shadow: inset 0 0 0 1px rgba(13, 110, 253, .08);
}

.audience-icon-success { color: #287a52; background: #e8f5ee; }
.home-environment-card { background: #fbfdfb; }
.home-environment-card img { aspect-ratio: 1; object-fit: cover; }

.home-benefits > .row > .col-lg-7,
.home-benefits > .row > .col-lg-5 {
    width: 100%;
}

.home-benefits .vstack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem !important;
}

.home-benefits .home-environment-card {
    grid-column: 1 / -1;
}

.home-benefits .home-environment-card .card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(2rem, 7vw, 6rem);
}

.home-environment-copy {
    max-width: 780px;
}

.home-environment-visual {
    display: grid;
    width: 240px;
    min-height: 220px;
    place-items: center;
}

.home-environment-visual img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

/* Σταθερό ύψος & σωστό crop του carousel */
.hero-carousel .carousel-item {
    position: relative;
    height: 340px;
}

@media (min-width: 992px) {
    .hero-carousel .carousel-item {
        height: 420px;
    }
}

.hero-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Διακριτικό λευκό gradient για να “γράφει” η λεζάντα */
.hero-gradient {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(90deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 20%);*/
}

/* Λεζάντα χωρίς negative margins */
.hero-caption {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    text-align: left;
}

/* Κουμπιά καρουζέλ πιο κομψά */
.carousel-control-prev, .carousel-control-next {
    width: 3rem;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.25));
}

/* Κάρτες βημάτων */
.step-card .card-body {
    padding: 1rem 1.25rem;
}

.step-badge {
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: var(--bs-primary);
    flex: 0 0 42px;
}

/* Band με στατιστικά */
.stats-band {
    background: var(--bs-primary-bg-subtle);
}

.stat-number {
    font-weight: 800;
    font-size: 1.15em;
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    header > .navbar:first-of-type .logo { max-height: 62px; }
    .home-hero-media { min-height: 300px; }
    .home-request-slide { flex-basis: calc((100% - 1rem) / 2); }
}

@media (max-width: 767.98px) {
    .home-steps { grid-template-columns: 1fr; }
    .home-hero-media { min-height: 240px; }
    .home-stats { grid-template-columns: 1fr; }
    .home-stat + .home-stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
    .home-benefit-grid { grid-template-columns: 1fr; }
    .home-benefit-card-wide { grid-column: auto; }
    .home-benefits .vstack { grid-template-columns: 1fr; }
    .home-benefits .home-environment-card { grid-column: auto; }
    .home-audience-layout { grid-template-columns: 1fr; }
    .home-audience-visual { width: 100%; min-height: 180px; }
    .home-benefits .home-environment-card .card-body { display: block; }
    .home-environment-visual { width: 100%; min-height: 190px; margin-top: 1.5rem; place-items: center; }
    .home-request-slide { flex-basis: min(88%, 25rem); }
}




/* Stacked table για < lg */
@media (max-width: 991.98px) {
    .table-stacked thead {
        display: none;
    }

    .table-stacked tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--bs-border-color);
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: 0 .25rem .75rem rgba(0,0,0,.05);
    }

    .table-stacked tbody td,
    .table-stacked tbody th {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: .75rem 1rem;
    }

    .table-stacked tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--bs-secondary-color);
        margin-right: 1rem;
    }

    .table-stacked tbody td:last-child {
        justify-content: flex-end;
    }
}

/* Προαιρετικό: εικονίδια/σημαίες μέσα στα κελιά */
.table-stacked img.flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}
