body{
    font-family: Arial;
    margin:0;
    background: linear-gradient(300deg,#0b0f18,#1d2841,#0b0f18);
    background-image: url("../images/galaxy4.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /*background: linear-gradient(300deg,#0b0f18,#1d2841,#0b0f18);*/
    background-image: url("../images/galaxy4.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(12, 15, 24, 0.8);
    z-index: 10;
}

.logo{
    display: inline-block;
}

.logo a {
    margin-top: 15px;
    margin-bottom: 15px;
    text-decoration: none;
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    position: relative;
    display: inline-block;
    color: #b0b8bf;
}

.logo :hover{
    color: rgb(244, 122, 32);
}

nav a{
    margin-left: 24px;
    text-decoration: none;
    color: #d8e4ee;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

nav a:hover{
    color: rgb(244, 122, 32);
}

.hero{
    color: white;
    width: 100%;
    padding: 220px 0px 0 0;
    text-align: center;
    box-sizing: border-box;
}

.hero p{
    color: white;
}

.page-hero{
    padding: 120px 20px 80px;
    text-align: center;

    color: white;
}

.hero-caroussel{
    position: relative;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 80px 0px 60px 0;
}

.caroussel-track{
    position: relative;
    margin-top: 200px;
    width: 100%;
    height: 100%;
}

.slide{
    position: absolute;
    width: 280px;
    height: 180px;

    object-fit: cover;
    border-radius: 12px;

    left: 50%;
    right: 50%;

    transition: all 0.6s ease;
}

.center{
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 5;
}

.left1{
    transform: translate(-170%, -50%) scale(0.8);
    opacity: 0.7;
    z-index: 4;
}

.right1{
    transform: translate(70%, -50%) scale(0.8);
    opacity: 0.7;
    z-index: 4;
}

.left2{
    transform: translate(-280%, -50%) scale(0.6);
    opacity: 0.3;
    z-index: 3;
}

.right2{
    transform: translate(180%, -50%) scale(0.6);
    opacity: 0.3;
    z-index: 3;
}

.hidden{
    opacity: 0;
    pointer-events: none;
}

.CMS{
    text-align: center;
    color: white;
    font-size: larger;
    margin-top: 500;
}
/*
.slide.left{
    transform: translate(-150%, -50%) scale(0.8);
    opacity: 0.5;
    z-index: 1;
}

.slide.center{
transform: translate(-50%, -50%) scale(1);
opacity: 1;
z-index: 3;
}

.slide.right{
transform: translate(50%, -50%) scale(0.8);
opacity: 0.5;
z-index: 1;
}

.slide.left,.slide.right{
    filter: blur(2px);
}
*/
.buttons{
    margin-top: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary{
    text-decoration: none;
    background: #e56a00;
    padding: 15px 25px;
    margin-right: 10px;
    color: white;
}

.primary:hover{    
    background-color: #dce5ec;
    color: #0b0f18;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.secondary{
    text-decoration: none;
    background-color: #dce5ec;
    border: none;
    padding: 15px 25px;
    margin-left: 10px;
    color: #0b0f18;
}

.secondary:hover{
    background-color: #0b0f18;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

section:not(.hero){
    position: relative;
    background: rgba(12, 16, 27, 0.45);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border-radius: 25px;
    margin: 60px auto;
    width: 70%;
}

section h2,a{
    margin-top: 0px;
    margin-bottom: 50px;
    text-decoration: none;
    color: white;
    text-align: center;
    
}

.sectiona:hover{
    color: rgb(244, 122, 32);
    
}


section::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    box-shadow: inset 0 5px 15px -10px rgba(29, 40, 65, 10);
}

.services{
    padding: 40px 20px;
    text-align: center;
}

.grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 50px;
    max-width: 1300px;
    margin: auto;
}

.card{
    background: linear-gradient(20deg,#858c96,#d9dce7,#9ca4b1);
    padding: 40px 30px;
    border-radius: 12px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);

    cursor: pointer;
    transition: 0.3s;

    flex-direction: column;
    justify-content: flex-start;
    min-height: 100px;
}

.card h3{
    
    margin-bottom: 8px;
    font-size: 18px;
}

.card p{
    font-size: 15px;
}

.technologies{
    padding: 50px 20px;
    text-align: center;
}

.tech-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
    margin-top: 40px;
}

.tech{
    background: linear-gradient(70deg,#858c96,#d9dce7,#d9dce7,#9ca4b1);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 120px;
    transition: 0.3s;
}

.tech img{
    width: 130px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.formation{
    padding: 50px 20px;
}

.modal {    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: url("../images/galaxy7.png");
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index:  1000;
}

.modal.active{
    opacity: 1;
    visibility: visible;
}

.modal-content{
background: #d5dee4;
border-radius: 12px;

max-width: 600px;
width: 90%;
max-height: 90vh;
overflow-y: auto;



text-align: left;

}

.modal-header{
    background-image: url("../images/galaxy7.png");
    background: linear-gradient(300deg,#0b0f18,#1d2841,#0b0f18);

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
    padding: 30px 0 30px 0px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.modal-header h3{
    margin: 0;
    font-size: 20px;
    color:white;
}

.modal-header .close{
    font-size: 28px;
    font-weight: bold;
    color: #4a6572;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-header .close:hover{
    color: #f47a20;
}

.modal-section p{
    font-size: 15px;
    line-height: 1.4;
    color: #2f3e46;
    margin: 15px 45px 10px 40px;
}

.modal-section h4{
    margin: 15px 0 8px 40px;
    color: #4a6572;
    font-size: 18px;
    text-align: left;
}

.modal-section ul{
    list-style: disc inside;
    padding-left: 20px;
    margin: 15px 0px 8px 25px;
    color: #555;
}

.modal-content ul li{
    margin-left: 25px;
    margin-bottom: 8px;
}

.divider{
    height: 1px;
    background: #ffffff;
    margin: 15px 0;
}

.modal-content .modal-btn:hover{
    background: #3b515c;
}

.modal-content img.modal-icon{
    display: block;
    margin: 0 auto 15px auto;
    width: 70px;
    height: auto;
}

@keyframes fadeIn {
    from{
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.course{

    text-decoration: none;
    color: #0b0f18;
    background: linear-gradient(70deg,#858c96,#d9dce7,#d9dce7,#9ca4b1);
    padding: 10px 40px 20px 40px;
    border-radius: 12px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);

    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.projects{
    padding: 50px 20px;
    text-align: center;
    
}

.project{
    text-decoration: none;
    color: #0b0f18;
    background: linear-gradient(70deg,#858c96,#d9dce7,#d9dce7,#9ca4b1);
    padding: 10px 40px 20px 40px;
    border-radius: 12px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);

    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.card,.course,.project,.tech{
    line-height: 1.6;
    transition: all 0.3s ease;
}

.card:hover, .course:hover, .project:hover, .tech:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

footer{
    text-align: center;
    padding: 30px;
    background-image: url("../images/galaxy8.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}