@font-face {
    font-family: "Heavy";
    src: url("../../assets/fonts/ObjectSans-Heavy.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "HeavySlanted";
    src: url("../../assets/fonts/ObjectSans-HeavySlanted.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Regular";
    src: url("../../assets/fonts/ObjectSans-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Slanted";
    src: url("../../assets/fonts/ObjectSans-Slanted.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Intro BlackCAPS";
    src: url("../../assets/fonts/IntroDemo-BlackCAPS.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Intro BlackInlineCAPS";
    src: url("../../assets/fonts/IntroDemo-BlackInlineCAPS.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Intro Cond-BlackCAPS";
    src: url("../../assets/fonts/IntroDemoCond-BlackCAPS.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Intro Cond-LightCAPS";
    src: url("../../assets/fonts/IntroDemoCond-LightCAPS.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

*{
    list-style-type: none;
    text-decoration: none;
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-family: 'Heavy', math, sans-serif;
}

body{
    background-color: #F7F7FA;
    overflow-x: hidden;
    box-sizing: border-box;
}

h1{
    font-size: clamp(24px, 3vw + 1rem, 62px);
    color: white;
    max-width: 866px;
}

h2{
    font-size: clamp(16px, 1vw + 1rem, 32px);
    color: white;
}

h3{
    font-size: clamp(20px, 2vw + 1rem, 48px);
    text-align: center;
}

h4{
    font-size: clamp(18px, 0.5vw + 1rem, 28px);
}

h5{
    color: black;
    font-size: clamp(16px, 0.2vw + 1rem, 28px);
}

h6{
    font-size: clamp(14px, 0.2vw + 1rem, 24px);
    color: #a3a3b2;
}

p,figcaption, input, textarea{
    font-size: clamp(14px, 1vw + 0.5rem, 20px);
    font-family: 'Regular';
}

p{
    color: #e9e9e9;
}

nav, section{
    max-width: 1600px;
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
}

header{
    justify-items: center;
    margin-bottom: 80px;

    nav, section .header_background, .header_info div{
        border-radius: 20px;

    }

    nav{
        height: 64px;
        background-color: #f5f5f5;
        box-shadow: 0px 0px 20px 0px #ccc;
        position: fixed;
        z-index: 1000;
        display: flex;
        justify-content: space-evenly;
        align-items: center;  
        top: 24px;
        width: calc(100% - 24px);
      
        img{
            max-width: 180px;
            margin-top: 15px;
        }

        .burger-menu{
            display: none;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 30px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1001;
            position: relative;

            span{
                width: 100%;
                height: 3px;
                background-color: #1c1c1f;
                border-radius: 3px;
                transition: all 0.3s ease;
            }

            &.active{
                span:nth-child(1){
                    transform: rotate(45deg) translate(8px, 8px);
                }
                span:nth-child(2){
                    opacity: 0;
                }
                span:nth-child(3){
                    transform: rotate(-45deg) translate(7px, -7px);
                }
            }
        }

        menu{
            display: flex;
            width: 100%;
            justify-content: space-evenly;
            align-items: center;
            
            li a{
                font-family: 'Regular';
                font-size: clamp(12px, 0.9vw + 0.5rem, 18px);  
                color: #1c1c1f;

                &:hover{
                    color: #5869ff;
                }
            }
        }
    }

    .bm-nav{
        display: none;

        menu.nav-menu{
            display: none;
        }
    }

    section{
        padding-top: 136px;

        .header_info{
            display: flex;
            flex-direction: row;
            gap: 36px;
            margin: 36px 0;
            box-sizing: border-box;

            div{
                background-color: #4e4e4e;
                width: 240px;
                height: 32px;
                border-radius: 12px;
                padding: 12px;
                border: 1px solid #cccccc21;
            }
        }

        .header_background{
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            background: linear-gradient(#2928288c), url(../../assets/img/background.jpg);
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            max-height: 1200px;
            height: calc(100vh - 176px);

            .header_background_left_info{
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: flex-start;
                gap: 36px;
                padding-left: 54px;
                padding-bottom: 24px;

                h2{
                    width: 640px;
                    color: #e9e9e9;
                }

                button{
                    background-color: #5869ff;
                    color: white;
                    border: none;
                    padding: 20px 32px;
                    font-size: clamp(14px, 1vw + 0.5rem, 20px);
                    border-radius: 12px;
                    transition: 0.4s;
                    cursor: pointer;

                    &:hover{
                        background-color: #2b3abd;
                    }
                }
            }

            .header_background_right_info{
                background-color: #cccccc77;
                height: 280px;
                width: 680px;
                transform: translate(0, 600px);
                border-radius: 20px 0 0 20px;
                background: rgba(255, 255, 255, 0.2);
                box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
                backdrop-filter: blur(5px);
                -webkit-backdrop-filter: blur(5px);
                border: 1px solid rgba(255, 255, 255, 0.055);
                padding: 54px;
                box-sizing: border-box;

                div{
                    display: flex;
                    flex-direction: column;
                    gap: 28px;
                }
            }
        }
    }
}

main{
    justify-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.program{
    display: flex;
    gap: 40px;
    margin-bottom: 80px;

    article{
        background-color: #ededf2;
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 32px;
        border-radius: 20px;
        box-shadow: 0px 0px 8px 0px #ccccccb0;
        position: relative;
        overflow: hidden;
        box-sizing: border-box;
        z-index: 1;

        &:nth-child(1){
            width: 60%;
            text-align: justify;
            z-index: 10;
        }

        &:nth-child(2){
            width: 40%;
            background-color: #5869ff;
            color: white;

            p{
                color: white;
                text-align: justify;
            }
        }

        div{
            display: flex;
            justify-content: space-between;
            flex-direction: column;
            z-index: 1;

            img{
                width: 28px;
                z-index: 10;
                position: relative;
                right: 25px;
                top: 10px;
            }

            .bl{
                background-color: #5869ff; 
                position: absolute;
                width: 200px;
                aspect-ratio: 1/1;
                border-radius: 125px;
                right: -42px;
                top: -64px;
            }
        }

        p{
            color: black;
        }
    }
}

.projects{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 80px;
    text-align: left;
    max-width: 1200px;

    h3{
        text-align: left;    
    }

    a{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        font-size: clamp(14px, 1vw + 0.5rem, 20px);
        background-color: #ededf2;
        border-radius: 20px;
        padding: 20px;    
        overflow: hidden;
        gap: 16px;
        cursor: pointer;
        transition: 0.4s;
        

        figure{
            display: flex;
            justify-content: space-between;
            align-items: center;

            h6{
                color: black;
                max-width: 400px;
            }

            img{
                max-width: 24px;
                background-color: white;
                padding: 4px;
                border-radius: 50px;
            }
        }

        p{
            color: black;
            max-width: 500px;
        }
    }

    a:hover{
        background-color: #e5e5e5;
    }

    & :nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
    & :nth-child(2) { grid-area: 2 / 2 / 3 / 3; }
    & :nth-child(3) { grid-area: 3 / 2 / 4 / 3; }
    & :nth-child(4) { grid-area: 4 / 2 / 5 / 3; }
    & :nth-child(5) { 
        grid-area: 2 / 1 / 6 / 2; 
        padding: 0;
        background-color: #1c1c1f;
        width: 100%;
        object-fit: cover;
        border-radius: 20px;
        height: 100%;
        max-height: 550px;
    }
    & :nth-child(6) { 
        grid-area: 1 / 2 / 2 / 3; 
    }

    & :nth-child(7) { 
        height: 50%;
        display: flex;
        align-items: center;
        justify-content: center;

        a{
            grid-area: 5 / 2 / 6 / 3; 
            background: none;
            border-radius: 20px;
            border: none;
            cursor: pointer;
            gap: 16px;

            flex-direction: row;
        }

        a:hover{
            background: none;

            h6{
                color: #4e4e4e;
            }
        }

        h6{
            color: rgb(0, 0, 0);
        }

    }
}

.learning{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1600px;
    width: 100%;
    height: 800px;
    margin-bottom: 80px;

    & :nth-child(1){
        right: 320px;
        top: 112px;
    }
    & :nth-child(2){
        left: 320px;
    }
    & :nth-child(3){
        top: 83px;
        left: 580px;
    }
    & :nth-child(5){
        bottom: 86px;
        right: 580px;
    }
    & :nth-child(6){
        left: 320px;
    }
    & :nth-child(7){
        right: 320px;
        bottom: 112px;
    }

    p{
        background-color: #5869ff;
        padding: 20px 20px 20px 80px;
        border-radius: 50px;
        max-width: 320px;
        position: relative;
        display: flex;
        align-items: center;
        list-style: none;

        &::before {
            content: "";
            position: absolute;
            left: 20px;
            width: 48px;  
            height: 28px;
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
        }

        &:nth-child(1)::before{
            background-image: url(../../assets/img/icon/learning_mark_1.png);
        }

        &:nth-child(2)::before{
            background-image: url(../../assets/img/icon/learning_mark_2.png);
        }

        &:nth-child(3)::before{
            background-image: url(../../assets/img/icon/learning_mark_3.png);
            height: 24px;
        }

        &:nth-child(5)::before{
            background-image: url(../../assets/img/icon/learning_mark_4.png);
            height: 24px;
        }

        &:nth-child(6)::before{
            background-image: url(../../assets/img/icon/learning_mark_5.png);
        }

        &:nth-child(7)::before{
            background-image: url(../../assets/img/icon/learning_mark_6.png);
        }
    }
}


.Advantages{
    height: 1000px;
    margin: 80px 0;

    p{
        font-size: clamp(16px, 0.5vw  + 0.8rem, 24px);
    }

    article{
        background: linear-gradient(#2928288c), url(../../assets/img/3847df12-47c1-4298-a3f7-ad714fb16c3c.jpeg);
        background-repeat: no-repeat;
        background-size: cover;
        height: 100%;
        border-radius: 20px;
        padding: 40px;
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        gap: 64px;

        div{
            text-align: center;
        }

        h3{
            margin-bottom: 20px;
        }

        ul{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            gap: 20px;    
            
            li{
                background-color: #1c1c1f;
                border-radius: 20px;
                padding: 20px;
                display: flex;
                font-size: clamp(16px, 1.2vw + 0.8rem, 24px);

                img{
                    aspect-ratio: 1/1;
                    background-color: #232323;
                    border-radius: 8px;
                    margin-right: 40px;
                    width: 66px;
                    height: 66px;
                    object-fit: none;     
                }
            }
            
            li:nth-child(1){
                grid-area: 1 / 1 / 2 / 2;
            }
            li:nth-child(2){
                grid-area: 1 / 2 / 2 / 3;               
            }
            li:nth-child(3){
                grid-area: 2 / 1 / 3 / 2;
            }
            li:nth-child(4){
                grid-area: 2 / 2 / 3 / 3;                
            }  
        }
    }
}

.partners{
    justify-items: center;
    margin-bottom: 80px;

    h3{
        margin-bottom: 96px;
    }

    div{
        display: flex;
        justify-content: center;
        gap: 40px;
        flex-wrap: wrap;

        figure{
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 100%;
            box-sizing: border-box;

            &:nth-child(2){
                margin-top: 50px;
            }

            &:nth-child(1) a,&:nth-child(3) a{
                max-width: 280px;
            }

            &:nth-child(3) a img{
                max-height: 160px;
            }

            &:nth-child(2) a{
                max-width: 320px;
            }

            &:nth-child(1) a:hover img{
                max-width: 240px;
                transition: 0.4s;
            }

            &:nth-child(3) a:hover img{
                max-height: 190px;
                transition: 0.4s;
            } 

            a{
                display: flex;
                align-items: center;
                justify-content: center;                
                margin-top: 50px;
                background-color: #ededf2;
                padding: 40px;
                border-radius: 50%;
                aspect-ratio: 1/1;
                width: 100%;
                box-sizing: border-box;

                img{
                    max-width: 100%;
                }
            }
        }

        figcaption{
            font-size: clamp(16px, 0.5vw + 1rem, 28px);
            max-width: 380px;
            text-align: center;
            color: black;   
            max-height: 105px;
            height: 100%;
        }
    }
}

.practice{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    margin: 80px 0;
    gap: 20px; 

    div { grid-area: 1 / 1 / 3 / 3; }
    p:nth-child(1) { grid-area: 1 / 3 / 2 / 4; }
    p:nth-child(2) { grid-area: 2 / 3 / 3 / 4; }
    p:nth-child(3) { grid-area: 3 / 1 / 4 / 2; }
    p:nth-child(4) { grid-area: 3 / 2 / 4 / 3; }
    p:nth-child(5) { grid-area: 3 / 3 / 4 / 4; }

    h3{
        text-align: left;
        width: 880px;
    }

    h4{
        margin-top: 18px; 
        color: #a3a3b2;
    }

    figure,a{
        background-color: #5869ff;
        border-radius: 20px;
        padding: 20px;
        display: flex;
        align-items: center;
        gap: 32px;
        box-sizing: border-box;
        position: relative;

        &:nth-child(3){
            width: 380px;
            left: 66px;

            img{
                filter: invert(100%);
                width: 48px;
            }
        }

        &:nth-child(7){
            right: -200px;
            width: 450px;
        }

        &:nth-child(4){
            width: 380px;

            img{
                width: 42px;
            }
        }

        &:nth-child(5){
            right: 80px;
            width: 640px;
        }  

        &:nth-child(6){
            width: 340px;
            right: 80px;
        }

        img{
            width: 32px;
        }
    }

    a:hover{
        background-color: #2b3abd;
        transition: 0.4s;
    }

    p{
        font-size: clamp(14px, 1vw + 0.5rem, 20px);
        color: white;
    }
}

.experts{
    max-width: none;
    background-color: #5869ff;
    justify-items: center;
    box-shadow: 0 0 100px 120px #5869ff;
    margin: 320px 0;

    article{
        max-width: 1320px;
        text-align: center;
        color: white;

        h3{
            margin-bottom: 20px;
        }

        h5{
            color: rgba(255, 255, 255, 0.5);
        }
    }
}


.entrance{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 80px;

    article{
        background-color: #ededf2;
        max-width: 420px;
        padding: 40px;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 32px;
        border-radius: 20px;
        height: 610px;
        box-sizing: border-box;

        ul{
            display: flex;
            flex-direction: column;
            gap: 32px;
        }
        
        p{
            color: black;
        }

        figure{
            display: flex;
            justify-content: space-between;
            align-items: baseline;
        }

        li{

            div{
                display: flex;
                flex-direction: row;
                justify-content: space-between;    
                border-bottom: 1px solid #ccc;
                padding-bottom: 12px; 

                p:nth-child(2){
                    color: #5869ff;
                }
            }
        }
    }

    article:nth-child(1) :nth-child(3){
        color: #a3a3b2;
    }

    article:nth-child(2) p, article:nth-child(3) li {
        list-style: none;
        padding-left: 30px;
        background-repeat: no-repeat;
        background-position: left center;
        background-size: 16px 16px;
    }

    article:nth-child(2) p {
        background-image: url(../../assets/img/icon/mark.png);

    }

    article:nth-child(3) li {
        background-image: url(../../assets/img/icon/mark_green.png);
    }

}

.achievements{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    padding: 0 20px;

    .achievements_slider{
        position: relative;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        gap: 20px;
        box-sizing: border-box;

        .achievements_slider_container{
            position: relative;
            flex: 1;
            min-width: 0;
            overflow: hidden;
        }

        .achievements_slide{
            display: flex;
            padding: 20px;
            border-radius: 20px;
            height: 534px;
            opacity: 0;
            visibility: hidden;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            transition: opacity 0.5s ease, visibility 0.5s ease;

            &.active{
                opacity: 1;
                visibility: visible;
                position: relative;
            }

            .achievements_left{
                width: 40%;
                min-width: 0;
                flex-shrink: 0;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                text-align: center;
                gap: 16px;
                box-sizing: border-box;

                h4{
                    background-color: #5869ff;
                    color: white;
                    padding: 16px;
                    aspect-ratio: 1/1;
                    border-radius: 50px;
                }

                h5{
                    max-width: 340px;
                    color: black;
                }
            }

            .achievements_border{
                width: 60%;
                min-width: 0;
                flex-shrink: 0;
                display: flex;
                flex-direction: column;
                overflow: hidden;
                border-radius: 28px;
            }
            
            .achievements_right{
                display: flex;
                flex-direction: column;
                width: 100%;
                min-width: 0;
                flex-shrink: 0;
                padding: 64px 8px 64px 64px;
                margin-right: 0;
                background-color: #ededf2;
                border-radius: 20px;
                box-sizing: border-box;
                overflow-y: auto;
                overflow-x: hidden;
                max-height: 100%;
                scrollbar-width: thin;
                scrollbar-color: #dfdfdf #ededf2;

                &::-webkit-scrollbar {
                    width: 8px;
                    -webkit-appearance: none;
                }

                &::-webkit-scrollbar-track {
                    background: #2a2a2f;
                    margin: 20px 0;
                    border-radius: 10px;
                }

                &::-webkit-scrollbar-thumb {
                    background: #5869ff;
                    border-radius: 10px;
                    transition: background 0.3s ease;
                    border: none;
                    min-height: 30px;
                }

                &::-webkit-scrollbar-thumb:hover {
                    background: #4a59e6;
                }

                &::-webkit-scrollbar-corner {
                    background: transparent;
                }

                .achievements_right_content{
                    display: flex;
                    flex-direction: column;
                    gap: 20px;
                    padding-right: 56px;

                    div{
                        border-radius: 20px;
                        padding: 20px;
                        background-color: #5869ff;
                        flex-shrink: 0;
                    }
                }

                h4{
                    font-size: clamp(16px, 1.2vw + 0.8rem, 24px);
                    color: white;
                    padding-bottom: 8px;
                }

                p{
                    font-size: clamp(14px, 1vw + 0.5rem, 20px);
                    color: #ebebeb;
                }
            }
        }

        .slider_btn{
            color: rgb(0, 0, 0);
            border: none;
            border-radius: 50%;
            font-size: 32px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s ease, transform 0.2s ease;
            flex-shrink: 0;
            z-index: 10;
            background: none;
            position: relative;

            img{
                width: 16px;
            }

            &:hover{
                transform: scale(1.1);
            }

            &:active{
                transform: scale(0.95);
            }

            &:disabled{
                opacity: 0.5;
                cursor: not-allowed;
                transform: none;
            }
        }
    }

    .achievements_dots{
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 20px;

        .dot{
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: #ccc;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;

            &:hover{
                background-color: #999;
                transform: scale(1.2);
            }

            &.active{
                background-color: #5869ff;
                transform: scale(1.2);
            }
        }
    }
}

.speakers{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;

    div{
        display: flex;
        justify-content: flex-end;
        gap: 20px;
    }

    article{
        background-color: #ededf2;
        border-radius: 20px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 80px;
        height: 740px;
        box-sizing: border-box;
        overflow: hidden;
        gap: 20px;

        .speakers_info{
            height: 100%;
            flex-direction: column;
            justify-content: space-between;
            align-items: flex-start;

            h5{
                background-color: #fff;
                padding: 16px;
                border-radius: 50px;
                box-shadow: -160px -60px 256px 192px #5869ff46;
            }

            p {
                font-size: clamp(16px, 0.5vw + 0.8rem, 24px);
                text-align: justify;
                white-space: pre-wrap;
                color: black;
            }

            div{
                display: flex;
                flex-direction: column;

                a{
                    display: flex;
                    align-items: center;
                    gap: 8px;

                    img{
                        width: 20px;
                        aspect-ratio: 1/1;
                        object-fit: contain;
                        align-content: center;
                        filter: invert(1);
                    }

                    &:hover p{
                        color: #6d6d6d;
                    }
                }
            }
        }

        .speakers_img{
            width: 290px;
            aspect-ratio: 1/1;
            border-radius: 80px;
            object-fit: cover;
            box-shadow: 8px -8px 256px 20px #00000045;
        }
    }

    button{
        width: 64px;
        aspect-ratio: 1/1;
        border-radius: 50px;
        background-color: #ededf2;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;

        img{
            width: 28px;
        }

        &:hover{
            background-color: #e5e5e5;
;
        }
    }
}

.speakers article {
    display: none;
}
.speakers article.active {
    display: flex;
}

.Program_manager{
    margin-bottom: 24px;

    h4{
        margin-bottom: 24px;
    }

    .Program_manager_info{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;

        img{
            object-fit: cover;
            border-radius: 20px;
            max-height: 435px;
            width: 100%;
        }

        article{
            background-color: #ededf2;
            display: flex;
            justify-content: space-between;
            border-radius: 20px;
            flex: 1;
            width: auto;
            padding: 24px;
            flex-direction: row-reverse;
            box-sizing: border-box;

            img{
                width: 290px;
                aspect-ratio: 3 / 4;
            }

            figure{
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                height: 100%;
            }

            figure img{
                width: 55px;
                object-fit: contain;
                border-radius: 0;
            }

            p{
                color: #a3a3b2;
                max-width: 400px;
                margin-top: 20px;
            }
        }
        

        .Program_manager_info_one_img{
            aspect-ratio: 16/9;
            margin-top: 20px;
        }  

        form{
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 20px;

            textarea, input{
                padding: 18px;
                outline: none;
                border: none;
                border-radius: 20px;
            }

            textarea{
                width: 100%;
                height: 100%;
                resize: none;
                box-sizing: border-box;
                min-height: 300px;
            }

            button{
                background-color: #1c1c1f;
                color: white;
                border: none;
                padding: 20px 32px;
                font-size: clamp(14px, 1vw + 0.5rem, 18px);
                border-radius: 12px;
                transition: 0.4s;
                cursor: pointer;

                &:hover{
                    background-color: black;
                }
            }
        }
    }
}

footer{
    justify-items: center;
    margin-bottom: 40px;

    section{
        max-width: 1600px;
        width: 100%;
        box-sizing: border-box;

        h4{
            margin-bottom: 24px;
        }

        h6{
            font-size: clamp(14px, 1vw + 0.5rem, 20px);
        }
        
        .social_links{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            grid-template-rows: repeat(2, 1fr);
            gap: 20px;
            width: 100%;
            box-sizing: border-box;

            .social_links_communication{
                background-color: #ededf2;
                width: 100%;
                max-width: 100%;
                border-radius: 20px;
                transition: 0.4s;
                box-sizing: border-box;
                padding: 24px;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                gap: 16px;
                min-width: 0;

                figure{
                    display: flex;
                    justify-content: space-between;
                    align-items: flex-end;

                    figcaption{
                        color: white;
                        font-size: clamp(18px, 1.5vw + 1rem, 28px);
                        font-family: Heavy;
                    }

                    img{
                        width: 32px;
                    }
                }

                &:nth-child(1){
                    grid-area: 1 / 1 / 2 / 2;
                    background-color: #1c1c1f;
                    aspect-ratio: 9/2;

                    &:hover{
                        background-color: #5869ff;
                    }
                }
                &:nth-child(2){
                    grid-area: 1 / 2 / 2 / 3;
                    background-color: #1c1c1f;

                    &:hover{
                        background-color: #5869ff;
                    }
                }
                &:nth-child(3){
                    grid-area: 2 / 1 / 3 / 3;

                    figcaption{
                        color: black;
                    } 
                    
                    &:hover{
                        background-color: #e5e5e5;
                    }
                }
            }
        }
    }
}


@media (max-width: 970px) {
  footer section {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  footer section .social_links {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  footer section .social_links .social_links_communication {
    grid-area: auto !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  footer section .social_links .social_links_communication:nth-child(1){
        max-height: 127px;
  }
}


.partners .partners__logos.is-4 figure figcaption{
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* === PRACTICE: 2 rows fix (override old nth-child shifts) === */
.practice{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 80px 0;
    align-items: stretch;
    grid-auto-flow: row;
}

.practice > div{
    grid-column: 1 / -1;
}

.practice h3{
    text-align: left;
    width: auto;
    max-width: 1000px;
}

.practice h4{
    margin-top: 18px;
    color: #a3a3b2;
}

.practice > figure,
.practice > a{
    background-color: #5869ff;
    border-radius: 20px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
    width: 100% !important;
    min-height: 110px;

    position: static !important;
    left: auto !important;
    right: auto !important;
}

/* размеры иконок - без инверта (чтобы не менять внешний вид) */
.practice > figure img{
    width: 32px;
    height: auto;
}

/* логотипы/картинки в ссылках (champion/sambo) */
.practice > a img{
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex: 0 0 auto;
}

.practice figcaption{
    display: flex;
    align-items: center;
}

.practice p{
    font-size: clamp(14px, 1vw + 0.5rem, 20px);
    color: white;
}

.practice a:hover{
    background-color: #2b3abd;
    transition: 0.4s;
}

@media (max-width: 1100px){
    .practice{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px){
    .practice{
        grid-template-columns: 1fr;
    }
}
