body {
    font-family: unset
}
a:focus {
    text-decoration: none;
    box-shadow: none!important;
}
html {
    scroll-behavior: smooth !important;
}

:is(#page,#page.drawers,#page.drawers div[role="main"],#page.drawers .main-inner):has(#landing-page) {
    padding: 0;
    margin: 0
}


#landing-page {
    text-align: center;
    color: #294070;
    width: 100%;
    padding-top: 120px
}

#landing-page header .top-ribbon {
    position: fixed;
    width: 100%;
    top: 100px;
    left: 0;
    padding: 0.5rem 0;
    background-color: white;
    z-index: 1
}

#landing-page header .top-ribbon picture.logo {
    mix-blend-mode: multiply
}

#landing-page header .content {
    background: linear-gradient(#FFFD), url(templates/assets/images/landing/bg-eksyxronismos-sxoleiwn.webp) no-repeat center /cover;
    text-align: center;
}

#landing-page .content .banner img {
    width: 100%;
}

#landing-page .content nav {
    display: flex;
    gap: var(--section-gap);
    justify-content: center;
    margin-block: 2rem;
}

#landing-page .content nav a.btn {
    flex-basis: 33%
}


#landing-page .container.intro {
    max-width: 800px;
    margin-block: 3rem
}

#landing-page .container.med {
    max-width: 649px
}

#landing-page .container.wide {
    max-width: 1400px
}

#landing-page .reference {
    display: flex;
    gap: var(--section-gap);
    justify-content: center;
    flex-wrap: wrap;
    margin-block: var(--section-gap)
}

#landing-page .reference .item {
    flex: 1 0 calc(33.333333% - var(--grid-space) * 2);
    padding: var(--section-gap);
    background-color: #FFF;
    border-radius: var(--radiusValue);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.15),
    0 20px 40px rgba(0, 0, 0, 0.1);
    color: black;
}

/*#landing-page .reference .item:hover {*/
/*    background-color: #FFF9;*/
/*    box-shadow: 0px 16px 8px -8px #0004;*/
/*    transition: background-color 0.25s, box-shadow 0.25s*/
/*}*/

#landing-page .reference .item :is(h2,h3,h4) {
    color: var(--primary)
}

#landing-page .reference .item .icon {
    display: grid;
    place-content: center;
    margin: 1rem auto;
    padding: 2rem;
    border-radius: 50%;
    background-color: var(--primary);
}

#landing-page .reference .item .icon.pedal {
    margin: 0;
    margin-right: var(--grid-space);
    background-color: var(--lightgrey);
    border-radius: 1rem;
    fill: var(--primary);
}

#landing-page .reference .item .icon.pedal + div {
    text-align: left
}

#landing-page .reference .item:has(.icon.pedal) {
    color: var(--primary)
}

#landing-page .reference .item .icon svg {
    width: 3rem;
    height: 3rem;
    fill: white
}

#landing-page .reference .item .icon.pedal svg {
    fill: var(--primary)
}

#landing-page .reference .item :is(h2,h3,h4) {
    color: var(--primary);
    margin: 0
}

#landing-page .reference .item p {
    margin: 0;
    opacity: 0.6
}

#landing-page .reference .item ul.bullets {
    list-style: none;
    text-align: left;
    padding-left: 2.5rem;
}

#landing-page .reference .item ul.bullets li {
    text-indent: -2.5rem;
    margin-block: 1rem;
    line-height: 1.15
}

#landing-page .reference .item ul.bullets li:has(a) {
    margin-bottom: -0.75rem;
}

#landing-page .reference .item ul.bullets li::before {
    content: '✓';
    margin-right: 1rem;
    padding: 0 0.25rem;
    border: 2px solid;
    border-radius: 50%;
}

#landing-page .reference .item ul.bullets li:has(a)::before {
    content: url({{themeurl}}/pix/frontpage/icon_linkin.svg?v=6);
    border: 0;
    vertical-align: middle
}

#landing-page .reference .item hr {
    height: 1px;
    border-top: 1px dotted var(--primary);
    box-shadow: none;
    margin-block: var(--grid-space);
    opacity: 0.75
}

#landing-page .reference.inverse .item {
    background-color: var(--primary);

    color: white;
}

#landing-page .reference.inverse .item:hover {
    background-color: rgb(from var(--primary) r g b / 0.75);
}

#landing-page .reference.inverse .item .icon {
    background-color: white;
}

#landing-page .reference.inverse .item .icon svg {
    fill: var(--primary)
}

#landing-page .reference.inverse .item :is(h2,h3,h4) {
    color: white;
}

#landing-page .reference.inverse .item hr {
    border-color: white;
}

#landing-page :is(header,section) .content {
    padding-block: 4rem !important
}

#landing-page #future-schools .content {
    background: linear-gradient(#EEFD), url(templates/assets/images/landing/bg-sxoleia-tou-mellontos.webp) no-repeat center /cover;
    text-align: center;
}

#landing-page #kaleduscope-platforms .content {
    background: linear-gradient(#fffe), url(templates/assets/images/landing/bg-platformes-tou-kaleduscope.webp) no-repeat center /cover;
    text-align: center;
}

#landing-page #additional-digital-services .content {
    /*background: linear-gradient(#fffd), url(templates/assets/images/landing/bg-epipleon-psifiakes-ypiresies.webp) no-repeat center /cover;*/
    background: #ecf0f9;
    text-align: center;
}

#landing-page #guides .reference .item {
    background-color: #f8f9fd
}

#landing-page #contact .content {
    background-color: #ecf0f9;
    color: var(--primary)
}

#landing-page #contact .content hr {
    height: 1px;
    border-top: 1px dotted var(--primary);
    box-shadow: none;
    margin-block: var(--grid-space);
    opacity: 0.75
}

#landing-page #contact .content svg {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    fill: var(--primary);
}

#landing-page #contact label, input, textarea {
    display: block;
    width: 100%;
}

#landing-page #contact label {
    margin-top: 1rem;
    margin-bottom: 0.5rem
}

#landing-page #contact input, textarea {
    padding: var(--grid-space);
    border-radius: var(--radiusValue);
    border: 1px solid #999
}

#landing-page #contact button {
    margin-top: 1rem
}

#landing-page #contact :is(input,textarea)::placeholder {
    color: #CCC
}

#landing-page footer p {
    margin-block: 0.5rem;
    line-height: 1.25
}

#landing-page footer a {
    color: inherit
}

#landing-page i[class*='fa-'] {
    font-size: 66%
}

@media (max-width: 1024px) {
    #landing-page header .top-ribbon .container {
        justify-content: center;
        gap: 2rem
    }

    #landing-page header .top-ribbon picture.logo:nth-of-type(1) {
        display: none
    }

    #landing-page .reference .item {
        max-width: 360px
    }
}

@media (max-width: 767px) {
    #landing-page {
        padding-top: 80px
    }

    #landing-page header .top-ribbon {
        top: 110px
    }

    #landing-page header .top-ribbon .container {
        gap: 0 2rem
    }

    #landing-page header .top-ribbon img {
        height: 3.5rem
    }

    #landing-page .reference .item {
        flex: 1 0 calc(50% - var(--grid-space) * 2);
    }

    #landing-page footer.container > div {
        flex-direction: column;
    }

    #landing-page footer.container > div > * {
        width: 360px !important;
        justify-content: space-between;
        text-align: center;
    }
}

@media (max-width: 640px) {
    #landing-page .reference .item {
        flex: 1 0 100%;
    }

    #landing-page .reference .item ul.bullets {
        width: 225px;
        margin-inline: auto
    }

    #landing-page #contact .content .container {
        flex-direction: column;
    }

    #landing-page #contact .content .container > * {
        flex-basis: 100%;
        min-width: 345px !important;
        margin-inline: auto
    }
}

/* Video container styles */
#landing-page .container.med {
    display: flex;
    position: relative;
}

#landing-page .container.med .banner {
    position: absolute;
}

#landing-page .container.med {
    position: relative;
    width: 100%;
    max-width: 700px; /* adjust as needed */
    aspect-ratio: 2/1;
    overflow: hidden;
}

/* Video styles */
#video-trigger {
    transition: opacity 0.5s ease, transform 0.3s ease;
    cursor: pointer;
}

#video-trigger.hidden {
    opacity: 0;
    pointer-events: none;
}

#video-trigger:hover {
    transform: scale(0.8);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.video-container::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.video-container.active {
    opacity: 1;
    pointer-events: auto;
}

#intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* keeps aspect ratio */
    display: block;
}



