/* Global */ 
:root { 
    --primary-red: #D51317;
    --primary-yellow-10: #FAC51C;
    --primary-yellow-20: #F0B905;
    --primary-yellow-30: #DCAA04;

    --Grayscale-100: #F8F8F8;
    --Grayscale-200: #EFEFEF;
    --Grayscale-300: #DCDCDC;
    --Grayscale-400: #C5C5C5;
    --Grayscale-500: #8C8C8C;
    --Grayscale-600: #4B4B4E;
    --Grayscale-700: #2E2E2E;
    
    --typography-black-10: #2E2E2E;
    --typography-gray-10: #4B4B4E;
    --typography-gray-11: #8C8C8C;
    --typography-white-10: #ffffff;

    --Accent-Success-Light: #E7F8E5;
    --Accent-Success-Dark: #2D8F3A;

    --Accent-Error-Dark: #D51317;
    --Accent-Error-Light: #FFEBED;

    --Accent-Warning-Dark: #DE5C00;
    --Accent-Warning-Light: #FEF8F3;

    --Accent-Info-Dark: #1565C0;
    --Accent-Info-Light: #F5FAFD;

    --K2B-Split-Complementary-green: #13D68B;
    --K2B-Square-Blue: #1326D6;
    --K2B-Triad-Blue: #138DD6;
    
}
/* Headers */
.typographyH1 {
    font-family: "CFAstyStd-Bold";
    font-weight: unset;
    font-size: 52px;
    line-height:  60px;
    letter-spacing:  0%;
}
.typographyH2 {
    font-family: "CFAstyStd-Bold";
    font-weight: unset;
    font-size: 36px;
    line-height:  44px;
    letter-spacing:  0%
}
.typographyH3 {
    font-family: "CFAstyStd-Bold";
    font-weight: unset;
    font-size: 30px;
    line-height:  38px;
    letter-spacing:  0%;
}
.typographyH4 {
    font-family: "CFAstyStd-Medium";
    font-weight: unset;
    font-size: 24px;
    line-height:  28px;
    letter-spacing:  0%;
}
.typographyH5 {
    font-family: "CFAstyStd-Bold";
    font-weight: unset;
    font-size: 20px;
    line-height:  24px;
    letter-spacing: 0% 
}
/* Subtitles */
.subtitle-xl-medium {
    font-family: "CFAstyStd-Medium";
    font-weight: unset;
    font-size: 20px;
    line-height:  24px;
    letter-spacing: 0%;
}
.subtitle-xl-book {
    font-family: "CFAstyStd-Book";
    font-weight: unset;
    font-size: 20px;
    line-height:  24px;
    letter-spacing: 0%;
}
.subtitle-l-medium {
    font-family: "CFAstyStd-Medium";
    font-weight: unset;
    font-size: 16px;
    line-height:  20px;
    letter-spacing: 0%;
}   
.subtitle-l-book {
    font-family: "CFAstyStd-Book";
    font-weight: unset;
    font-size: 16px;
    line-height:  20px;
    letter-spacing: 0%;
}
.subtitle-m-medium {
    font-family: "CFAstyStd-Medium";
    font-weight: unset;
    font-size: 14px;
    line-height:  20px;
    letter-spacing: 0%;
}
.subtitle-m-book {
    font-family: "CFAstyStd-Book";
    font-weight: unset;
    font-size: 14px;
    line-height:  20px;
    letter-spacing: 0%;
}
.subtitle-m-Bold {
    font-family: "CFAstyStd-Bold";
    font-weight: unset;
    font-size: 14px;
    line-height:  20px;
    letter-spacing: 0%;
}
/* Labels */
.label-m {
    font-family: "CFAstyStd-Book";
    font-weight: unset;
    font-size: 12px;
    line-height:  100%px;
    letter-spacing: 0%;
}
.label-s {
    font-family: "CFAstyStd-Medium";
    font-weight: unset;
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 0%;
}
/* Body */
.body-l-book {
    font-family: "CFAstyStd-Book";
    font-weight: unset;
    font-size: 16px;
    line-height:  24px;
    letter-spacing: 0%;
}
.body-l-medium {
    font-family: "CFAstyStd-Medium";
    font-weight: unset;
    font-size: 16px;
    line-height:  24px;
    letter-spacing: 0%;
}
.body-l-bold {
    font-family: "CFAstyStd-Bold";
    font-weight: unset;
    font-size: 16px;
    line-height:  24px;
    letter-spacing: 0%;
}
.body-m-book {
    font-family: "CFAstyStd-Book";
    font-weight: unset;
    font-size: 14px;
    line-height:  20px;
    letter-spacing: 0%;
}
.body-m-medium {
    font-family: "CFAstyStd-Medium";
    font-weight: unset;
    font-size: 14px;
    line-height:  20px;
    letter-spacing: 0%;
}
.body-m-bold {
    font-family: "CFAstyStd-Bold";
    font-weight: unset;
    font-size: 14px;
    line-height:  20px;
    letter-spacing: 0%;
}
.body-s-book {
    font-family: "CFAstyStd-Book";
    font-weight: unset;
    font-size: 12px;
    line-height:  16px;
    letter-spacing: 0%;
}
.body-s-medium {
    font-family: "CFAstyStd-Medium";
    font-weight: unset;
    font-size: 12px;
    line-height:  16px;
    letter-spacing: 0%;
}

.button-container {
    display: flex;
    position: relative;
    justify-content: center;
    margin: 16px 0 16px 0;
}
.button-primary-lg-light {
    color: var(--typography-black-10);
    display: flex;
    padding: 16px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    text-decoration: none;

    border-radius: 8px;
    background: var(--primary-yellow-10);  

    text-align: center;
    transition: background-color 100ms linear;

    /* Subtitle/XL/Medium */
    font-family: CFAstyStd-Medium;
    font-size: 18px; /* 20px; */
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 120% */

}
.button-primary-m-light {
    color: var(--typography-black-10);
    display: flex;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    text-decoration: none;

    border-radius: 8px;
    background: var(--primary-yellow-10);  

    text-align: center;

    /* Subtitle/XL/Medium */
    font-family: CFAstyStd-Medium;
    font-size: 16px; /* 20px; */
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 120% */

}
.button-primary-lg-light:hover, .button-primary-m-light:hover{
    background: var(--primary-yellow-20);
}
.button-primary-lg-light:active, .button-primary-m-light:active{
    background: var(--primary-yellow-30);
}
.button-secondary-m-black{
    color: var(--typography-white-10);
    display: flex;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    text-decoration: none;

    border-radius: 8px;
    background: var(--Grayscale-700);  

    text-align: center;
    transition: background-color 100ms linear;

    /* Subtitle/XL/Medium */
    font-family: CFAstyStd-Medium;
    font-size: 16px; /* 20px; */
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 120% */
}
.button-secondary-m-black img{
    filter: brightness(0) invert(1);
}
.button-secondary-m-black:hover,.button-secondary-m-black:active{
    background: var(--Grayscale-600);
}
.button-tertiary-m-gray {
    color: var(--typography-black-10);
    display: flex;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    text-decoration: none;

    border-radius: 8px;
    background: var(--Grayscale-300);  

    text-align: center;
    transition: background-color 100ms linear;

    /* Subtitle/XL/Medium */
    font-family: CFAstyStd-Medium;
    font-size: 16px; /* 20px; */
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 120% */

}
.button-tertiary-m-gray:hover{
    background: var(--Grayscale-400);
}
.button-tertiary-m-gray:active{
    background: var(--Grayscale-500);
}
.button-stroke-m-white {
    color: var(--typography-black-10);
    display: flex;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    text-decoration: none;

    border-radius: 8px;
    border: 1px solid var(--Grayscale-700, #2E2E2E);

    text-align: center;
    transition: background-color 100ms linear;

    /* Subtitle/XL/Medium */
    font-family: CFAstyStd-Medium;
    font-size: 16px; /* 20px; */
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 120% */

}
.button-stroke-m-white:hover{
    border: 1px solid var(--Grayscale-700, #2E2E2E);
    background: var(--Grayscale-200, #EFEFEF);
}
.button-stroke-m-white:active{
    border: 1px solid var(--Grayscale-700, #2E2E2E);
    background: var(--Grayscale-300, #DCDCDC);
}
.no-button .button {
    display: none;
}

.clearfix::after {
    display: block;
    content: "";
    clear: both;
}

.balloon {
    display: flex;
    padding: 30px;
    margin: 20px 20px 0 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 20px;
    background: #DA2128;
    box-shadow: 3px 3px 2px 0px rgba(0, 0, 0, 0.25);

    /* Text */
    color: var(--Accent-Success-Light);
    font-family: "CFAstyStd-Medium";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}
.balloon.gradiant{
    background: var(--degrade, linear-gradient(90deg, #DA2128 15%, #ED1C24 46%, #8F3092 77%, #6F4099 100%));
}
.balloon-button {
    justify-content: space-between;
    padding: 8px 64px;
    gap: 16px;
}

/* Blog Styles */
.blog {
    width: 100%;
    max-width: 1540px;
    gap: 20px;
    padding: 32px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border-radius: 16px;
}
.blog.section-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}
.blog.section-title img {
    height: 55px;
}
.blog .posts {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 16px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    overflow: hidden;
}
.blog-card {
    width: 360px;
    height: 250px;
    background-color: #ffffff;
    box-shadow: 6px 6px 20px #00000026;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border-radius: 16px;
    transition: 0.3s ease-in-out;
}
.blog-card img{
    border-radius: 16px 16px 0 0;
}
.blog-card .body-l-bold{
    padding: 10px;
}

/* Swiper Styles */
.swiper {
    width: 100%;
    max-width: 1540px;
    /* height: 300px; */
    margin: auto;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 250px; */
}

.swiper-button-next,
.swiper-button-prev{
    background: white !important;
    color: #000 !important;
    border-radius: 90px !important;
    height: 48px !important;
    width: 48px !important;
    margin-top: -48px !important;
    filter: drop-shadow(0px 1px 6px rgba(0, 0, 0, 0.24));
}
.swiper-button-next:after,
.swiper-button-prev:after{
    font-size: large !important;
    font-weight: 700 !important;
}

/* Why Kotsovolos styles */
.why-kotsovolos {
    /*background: url(https://assets.kotsovolos.gr/landing-pages/programma-epidotisis/icons/building.png)no-repeat;
    background-size: cover; /* Ensures the image covers the whole div */
    background-position: center;
    display: flex;
    max-width: 1540px;
    padding: 32px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-radius: 16px;

    /* display: none; */
}

/* .title {
    color: var(--typography-black-10);
    text-align: center;
} */

.why-kotsovolos .item-container {
    display: flex;
    padding: 16px 0px;
    align-items: flex-start;
    align-content: flex-start;
    gap: 20px;
    align-self: stretch;
    flex-wrap: wrap;
}

.why-kotsovolos .item-container .item {
    display: flex;
    /*height: 340px;
    min-width: 240px;*/
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    flex: 1 0 0;
    /*max-width: 354px;*/
    max-width :calc( 50% - 16px )
}

.why-kotsovolos .item-container .item h5{
    margin: 0px;
}

.why-kotsovolos .item-container .item .polygon {
    position: relative;
    width: 155.885px;
    height: 170px;
    align-items: center;
    justify-content: center;
}

.why-kotsovolos .item-container .item .polygon img {
    width: 100%;
    height: auto;
}

.why-kotsovolos .item-container .item .polygon .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Κεντράρισμα */
    width: 50px;
    /* Μπορείς να το προσαρμόσεις */
    height: auto;
}

.why-kotsovolos .item-container .item .details {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    text-align: center;
    gap: 16px;
}

.why-kotsovolos h5{
    color: var(--Primary-Red, #D51317);
}
/* Fix so that it limits the img only on the landing page */
.landing div img {
    max-width: 100%;
}

/* General slayout styles */
.container-horizontal{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.container-vertical{
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Brands styles */
.brands {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    text-align: center;
}

.brand-cards {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    width: 100%;
    flex: 0 0 auto;
    position: relative;
    align-self: stretch;
    flex-wrap: wrap;
}

.top-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-decoration: none;
    color: var(--typography-black-10);
}
.top-brand .logo-container {
    display: flex;
    width: 124px;
    height: 124px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    border-radius: 62px;
    background: var(--Grayscale-300);
    transition: background 0.3s ease-in-out;
}
.top-brand:hover .logo-container{
    background: #ffffff;
}
.top-brand .logo-container img {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

/* Responsive styles */
@media screen and (max-width: 780px) {
    .button-primary-lg-light {
        font-size: 16px;
        text-align: left;
    }

    .typographyH2 {
        font-size: 30px;
        line-height:  34px;
    }
    .typographyH3 {
        font-size: 26px;
        line-height:  30px;
    }
    .desktop{
        display: none;
    }
    .mobile{
        display: flex;
    }    
    .container-horizontal{
        flex-direction: column;
    }

    /* Blog styles */
    .blog {
        display: flex;
        padding: 16px 10px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        align-self: stretch;
    }
    .blog .posts {
        display: flex;
        padding: 0px 16px;
        align-items: center;
        gap: 16px;
        align-self: stretch;
        overflow: auto;
        width:unset;
    }
    .blog .blog-card {
        min-width: 275px;
    }

    /* Why Kotsovolos */
    .why-kotsovolos .item-container .item .polygon {
        width: 116px;
        height: 128px;
    }
    .why-kotsovolos .subtitle {
        display: none;
    }
    .why-kotsovolos .item-container .item .details .item-text {
        display: none;
    }
}

@media (min-width: 780px){
    .desktop{
        display: flex;
    }
    .mobile{
        display: none;
    }
}

@media (max-width: 768px), (min-width: 1540px) {
    .swiper {
        max-width: 100%;
    }
}