:root{
    --main-color: #1763B4;
    --main-color-dark: #07223e;
    --second-color: #B40064;
    --second-color-dark: #5d0134;
    --third-color: #FA008E;
    --third-color-dark: #87054f;
    --bg-color: #E8EFF7;
}

body{
    background-color: white;
    font-family: Open Sans, serif;
    scroll-behavior: smooth;
}
body::-webkit-scrollbar {
    position: relative;
    width: 12px;
    border-radius: 2em;
    background-color: rgba(255, 255, 255, .93)
}

body::-webkit-scrollbar-track {
    border-radius: 2em;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    background-color: rgba(255, 255, 255, .93)
}

body::-webkit-scrollbar-thumb {
    border-radius: 2em;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .5);
    background-color: var(--main-color)
}
*{
    transition: all 0.5s ease-in-out 0s;
}
.mobile-menu{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.mobile-menu a{
    display: block;
    text-decoration: none;
    color: black;
    margin-bottom: 1em;
}

 .mobile-menu a.active:after {
     display: block;
    content: '';
    height: 2px;
    background-color: var(--second-color);
    text-decoration: underline;
    text-decoration-color: var(--second-color-dark);
}

 @media screen and (max-width: 991px) {


     .oraioziliNav .navbar-toggler{
        background-color: white;
     }

 }


#warningModal img {
    height: 250px;
    display: block;
    margin: .5em auto;
    aspect-ratio: 1/1;

}
#warningMessage{
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

#oraioziliHeader{
    font-family: Work Sans, serif;
    color: black;
    text-align: left;
    padding: 1em 0;
    background-color: white;
}
#oraioziliHeader .nav-link{
    font-family: Work Sans, serif;
    font-size: 19px;
    font-weight: 400;
    line-height:30px;
    text-align: left;

    background-color: unset;!important;
    color: black;
    padding: 0 .4em;
    animation: all 0.3s ease-in-out 0.2s;
}
#oraioziliHeader .nav-link.active:after{
    display: block;
    content: '';
    height: 2px;
    background-color: var(--second-color);
    text-decoration: underline;
    text-decoration-color: var(--second-color-dark);
}
#oraioziliHeader .nav-link:hover:after{
    display: block;
    content: '';

    height: 2px;
    background-color: var(--second-color);
    text-decoration: underline;
    text-decoration-color: var(--second-color-dark);
    animation: expandLine 0.8s ease; /* Use the defined animation */
}

@keyframes expandLine {
    0% {
        width: 0; /* Start with no width */
    }
    100% {
        width: 100%; /* Expand to full width */
    }
}

#hero{
    display: flex;
    justify-content: start;
    align-items: center;
    height: 95vh;
    background-color: var(--bg-color);
    background-image: url("../img/heroImage.jpg");
    background-position: 95%;
    background-size: cover;
    background-repeat: no-repeat;
}
.heroInner{
    width: 75%;
    margin: auto;
    text-align: left;
}

.heroTitle h2{
    color: var(--main-color);
    font-family: Open Sans, serif;
    font-size: 70px;
    font-weight: 800;
    line-height: 100px;
    text-align: left;
}
.heroTitle h2:after{
    display: block;
    content: "";
    width: 100px;
    height: 5px;
    background-color: var(--second-color);
}
.heroTitle h4{
    color: black;
    /*font-family: Work Sans, serif;*/
    font-size: 30px;
    font-weight: 400;
    line-height: 44.88px;
    text-align: left;
}
.heroForm{
    width: 70%;
    display: flex;
    justify-content: start;
    align-items: center;
    margin-top:1em;
    flex-wrap: wrap;
}
.heroForm input{
    padding: .5em 1em;
    background-color: white;
    border: none;
    margin: .5em ;
    border-radius: .3em;
}
.heroTitle button{
    min-width: 200px;
    background-color: transparent;
    display: block;
    margin: .5em ;
    padding: .8em 1em;
    font-size: 18px;
    width:fit-content;
    border: 1px solid var(--second-color);
    color: var(--second-color);

}
.heroTitle button:hover{
    background-color: var(--second-color);
    color: white;

}
@media screen and (max-width: 1110px){
    #hero{
        background-position:45%;
    }

}

@media screen and (max-width: 941px){
    #hero{
        height: 90vh;
        flex-direction: column;
        justify-content: flex-end;
        position: relative;
    }
    .heroInner {
        position: absolute;
        bottom: 1em;
        width: 98%;
        /*height: 100px;*/
    }

    .heroTitle h2{
        font-size: 50px;
        line-height: 50px;
    }
    .heroTitle h4{
        font-size: 25px;
        line-height: 30px;
    }
}
@media screen and (max-width: 555px){
    #hero{
        background-image: url("../img/heroImageMobile.jpg");
        height: 85vh;
       background-position: 60%;
    }
    .heroInner {
        bottom: 0;
        width: 90%;
        /*height: 100px;*/
    }
    .heroTitle h2{
        font-size: 25px;
        line-height: 32px;
    }
    .heroTitle h4{
        font-size:17px;
        line-height: 25px;
        margin: 0;
    }
    .heroForm{
        margin-top:.4em;
        width: 100%;
        padding: 0!important;
        /*background-color: red;*/
    }
    .heroForm input{
        width: 40%;
        margin: 0;
        margin-right: 5px;
        padding: .3em ;
    }
    .heroTitle button{
        display: block;
        font-size: 16px;
        margin: .5em .1em ;
        padding: .3em .6em;
        width: 40%;
        min-width: unset;
    }
}
@media screen and (max-width: 396px){
    #hero{
        background-position: 66%;
        background-blend-mode: darken;
        background-color: rgba(254, 255, 255, 0.83);
    }

    .heroTitle h2{
        font-size: 20px;
        line-height: 30px;
    }
    .heroTitle h4{
        width: 80%;
        font-size:16px;
        line-height: 20px;
    }

    .heroInner {
        position: absolute;
        bottom: 0;
        /*height: 100px;*/
    }
}
#achievements{
    padding: .5em;
    min-height: 250px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 75%;
    margin: 0 auto;
    background-color: var(--main-color);
}
.achievementCard{
    padding: 2em;
    color: white;
    text-align: center;
}
.achievementCard img{
    height: 80px;
    margin: 1em;
}
@media screen and (max-width: 976px){
    #achievements{
        width: 100%;
        min-height: 80px;
    }
    .achievementCard{
        padding: .5em;
    }

    .achievementCard h4{
        font-size: 18px;
    }
    .achievementCard img{
        height: 30px;
    }
}

@media screen and (max-width: 618px){
    .achievementCard h4{
    font-size: 16px;
    }
    .achievementCard img{
        height: 30px;
        aspect-ratio: 1/1;
    }
}

@media screen and (max-width: 416px){
    .achievementCard h4{
        font-size: 14px;
    }

}

#about{
    width: 85%;
    padding-top: 2em;
    margin: 1em auto;
    padding-bottom: 1.5em;
}
#about img{
    display: block;
    margin: .5em 0;

}

#about h2{
    font-size: 35px;
    font-weight: 700;
    line-height: 52px;
    text-align: left;
}
#about h2 span{
    color: var(--main-color);
}
#about p{

    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    text-align: left;
}



#about a{
    display: inline-block;
    font-size: 20px;
    line-height: 24px;
    color: var(--second-color);
    text-decoration: unset;
    min-width: 150px;
    padding: .5em;
    margin: 1em auto;
    border: 1px solid var(--second-color);
    transition: all 0.5s ease-in-out 0s;
}
#about a:hover{
    background-color: var(--second-color);
    color: white;
    transition: all 0.5s ease-in-out 0s;

}
@media screen and (max-width: 1286px){
    #about p{
        line-height: 23px;
    }
}
@media screen and (max-width: 991px){
    #about .col-lg-6{
        margin: 0;
        padding: 0;
    }
    #about img{
        max-height: 400px!important;
    }
}

@media screen and (max-width: 450px){
    #about h2{
        font-size: 19px;
        line-height: 25px;
    }
    #about p{

        font-size: 13px;
        font-weight: 600;
        line-height: 20px;
        text-align: left;
    }

    #about a{
        font-size: 17px;
        line-height: 22px;
        min-width: 130px;
        padding: .3em;
        margin: .7em auto;

    }
}


#blog a{
    font-size: 20px;
    line-height: 24px;
    color: var(--second-color);
    text-decoration: unset;
}


#blog{
    background-color: var(--bg-color);
    padding: 5em 0;

}
#blog .container{
    width: 85%;
    margin: .5em auto;
}
#blog a{
    display: block;
    width: fit-content;
    margin:.5em auto;
}
#blog .card {
    min-height:420px;
}
#blog .card .card-body {
    position: relative;
}
#blog .card .card-body p {
    color: #545353;
    font-size: 15px;
    padding-top: .5em;
    position: absolute;
    bottom: 0;
}
#blog .card img{
    aspect-ratio: 1/1;
    max-height: 250px;
    object-fit: cover;
    transition: all 0.5s ease-in-out 0s;
}
#blog .card img:hover{
    transition: all 0.5s ease-in-out 0s;
}

@media screen and (max-width: 618px){

    #blog .card .card-body p {
        position: static;
    }
}


#contact{
    background-color: var(--bg-color);
    padding: 3em 0;
}

.contactContainer{
    position: relative;
    min-height: 400px;
    margin: .5em auto;
    width: 80%;
    background-color: white;
    box-shadow: 0px 24px 39px 0px #0000000D;
    border-radius: 1em;
    padding: 1em;
}
.contactContainer h4{
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    line-height: 59.04px;
}
.contactContainer h4:before{
    display: block;
    content: "ΕΠΙΚΟΙΝΩΝΙΑ";
    font-size: 18px;
    color: var(--main-color);
    text-transform: capitalize;
    height: 15px;
    margin: 1em auto;
}
.contactForm{
    width: 95%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /*background-color: red;*/
}
.contactForm #fullName,.contactForm  #emailContact{
    width: 48%;
    margin: .5em 0;
    padding: .5em;
    border-radius: .3em;
    background: #F6F6F6;
    border: none;
}
.contactForm #subject{
    width: 100%;
    margin: .5em 0;
    padding: .5em;
    border-radius: .3em;
    background: #F6F6F6;

    border: none;
}
.contactForm textarea{
    width: 100%;
    margin: .5em 0;
    padding: .5em;
    border-radius: .3em;
    background: #F6F6F6;
    border: none;
}
.contactForm button{
    background-color: transparent;
    width:fit-content;
    display: block;
    margin: .5em auto;
    padding: .5em;
    border-radius: .2em;
    border: 1px solid var(--second-color);
    color: var(--second-color);
}
.contactForm button:hover{
    background-color: var(--second-color);
    color: white;
}

.aboutPageHero#hero{
    height: 70vh;
    background-position: 95% 20% ;
}
@media screen and (max-width: 941px){
    .aboutPageHero#hero {
        background-position: 76% ;
    }

    .aboutPageHero#hero h2{
        font-size: 45px;
        line-height: 50px;
    }
    .aboutPageHero .heroInner{
        width: 85%;
        bottom: 2em;
    }


}
@media screen and (max-width: 470px){
    .aboutPageHero#hero {
        background-position: 66% ;
    }
    .aboutPageHero#hero h2{
        font-size: 35px;
        line-height: 40px;
    }
    .contactContainer{
        width: 95%;
    }
    .contactContainer h4{
        font-size: 25px;
        line-height: 50px;
    }
    .contactForm #fullName,.contactForm  #emailContact,
    .contactForm #subject,.contactForm textarea{
        width: 100%;
    }

}

#aboutBanner {
    background-color: var(--bg-color);
    padding: 1em 0;
    color: white;
    height: 302px;
    position: relative;

}
.aboutBannerContainer{
    width: 75%;
    margin: auto;
    display: flex;
    justify-content: start;
}
.aboutBannerContainer img {
    width:500px;
    height: 320px;
    position: absolute;
    top: -9em;
    object-fit: cover;
}

#aboutBanner h2{
    position: absolute;
    bottom: 1em;
    left: 0;
    right: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 42px;
    text-align: center;
    color: black!important;
}
#aboutBanner h2:before{
    display: inline-block;
    content: "";
    background-image: url("../img/quotes.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;

    width: 100px;
    height: 35px;
    /*background-color: var(--second-color);*/
    margin: 1em auto;
}
@media screen and (max-width: 941px){
    .aboutBannerContainer{
        width: 85%;
    }

    #aboutBanner{
        height: 400px;
    }
    .aboutBannerContainer img{
        top: -1em;
        width:300px;
        height: 220px;
    }
    #aboutBanner h2:before {
        height: 18px;
        display: block;
        position: relative;
        right: 8em;
        /*text-align: left;*/
    }
    #aboutBanner h2{
        text-align: center;
        font-size: 22px;
        line-height: 30px;
    }
}

@media screen and (max-width: 430px){
    .aboutBannerContainer img{
        height: 260px;
        width:340px;
    }

}

@media screen and (max-width: 390px){
    #aboutBanner{
        padding: 0;
    }
    .aboutBannerContainer{
        width: 85%;
        padding: 0;
        margin: 0 auto;
    }

    .aboutBannerContainer img{

        position: unset;
        aspect-ratio: 1/1;
    }
    #aboutBanner h2{
        font-size: 16px;
        line-height: 30px;
    }
    #aboutBanner h2:before {
        height: 17px;
        display: block;
        position: relative;
        right: 7em;
        /*text-align: left;*/
    }

}
#infos{
    width: 85%;
    margin: .2em auto;
    padding:2em 0;
}

#infos img{
    display: block;
    border-radius: .2em;
}
#infos h2{
    font-size: 35px;
    font-weight: 700;
    line-height: 52px;
    text-align: left;
}
#infos h2 span{
    color: var(--second-color);
}
#infos p{
    font-size: 19px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: .5em;
}
@media screen and (max-width: 878px){
    #infos .col-lg-6{
        margin: 0;
        padding: 0;
    }
    #infos p{
        font-size: 16px;
        line-height: 23px;
    }
}

@media screen and (max-width: 620px) {
    #infos h2 {
        font-size: 25px;
        line-height: 34px;
    }
    #infos p {
        font-size: 14px;
    }
}
@media screen and (max-width: 430px){
    #infos h2 {
        font-size: 21px;
        line-height: 30px;
    }
}
.copyright{
    background-color: var(--bg-color);
    padding: 1em 0;
    color: white;
    text-align: center;

}
.copyright p{
    color: gray;

}
.copyright a{
    font-weight: 700;
    color:var(--second-color);
    text-decoration: unset;

}
#cookie-consent-banner{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #3084de;
    color: white;
    padding: .5em;
    text-align: center;
    z-index: 1000;
}
#cookie-consent-banner button{
    color: black;
    background-color: white;
    border-radius: .2em;
    border: none;
}
.socialLine{
    background-color: var(--main-color);
    padding: .5em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.socialLine i{
    font-size: 20px;

}
.socialLine a{
    text-decoration: unset;
    color: white;
}
.socialLine a:hover{
    color: var(--third-color);

}
.socialSecond{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.socialSecond a{
    margin: 0 .7em;
}
.socialMediaDiv{
    width: 99%;
    margin: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}
.socialMediaDiv a{
    text-decoration: unset;
    color: black;
}
.socialItem{
    min-width: 180px;
    margin: .5em;
    /*background-color: var(--main-color);*/
    color: black;
    padding: .5em .3em;
    text-align: center;
    border-radius: .5em;
}
.socialItem i{

    text-align: center;
    font-size: 18px;
    margin: 0;
    padding: 0;
}
.socialItem p{
    margin: 0;
    padding: 0;
}
.socialSecond.socialNav{
    display: none
}
@media screen and  (max-width: 991px) {

    .socialLine .socialFirst{
        padding: 0;
        margin: 0;
        width: 100% !important;
        display: flex;

        justify-content: space-between;
    }
    .socialLine .socialSecond{
        display: none;
    }
    .socialSecond.socialNav{
        display: flex;!important;
    }
    .socialSecond.socialNav a{
        margin: 0 1em;
    }
    .socialSecond.socialNav i{
        color: var(--main-color);
        font-size: 25px;

    }
    .socialSecond.socialNav a{
        text-decoration: unset;
        color: white;
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.fade-up.fade-up-active {
    opacity: 1;
    transform: translateY(0);
}

.fade-left, .fade-right {
    opacity: 0;
    transition: opacity 2.5s ease;
}

.fade-left.fade-left-active {
    opacity: 1;
    animation: fadeLeftAnimation 1s ease;
}

.fade-right.fade-right-active {
    opacity: 1;
    animation: fadeRightAnimation 1s ease;
}

@keyframes fadeLeftAnimation {
    from {
        transform: translateX(-50px);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fadeRightAnimation {
    from {
        transform: translateX(50px);
    }
    to {
        transform: translateX(0);
    }
}

