
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden; 
}



body.page1 {
    margin: 0; 
    padding: 0;
    padding-top: 70px; 
    box-sizing: border-box;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    background-color: #1e3547;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin: 0; 
    border: none; 
    box-shadow: none; 

}


body.page1 {
    padding-top: 70px; 
    background-color: #1e3547; 
    
}


body.page1 .page1-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #1e3547; 
    

}


body.page1 .page1-item {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); 
    border-top: 1px solid rgba(255, 255, 255, 0.2); 
    
}

body.page1 .page1-item:nth-child(odd) {
    flex-direction: row; 
}

body.page1 .page1-item:nth-child(even) {
    flex-direction: row-reverse; 
}


.page1-text {
    flex: 1;
    background-color: #0d2538;
    padding: 40px;
    border-radius: 0 8px 8px 0; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #fff;
    position: relative; 

}


body.page1 .page1-item:nth-child(even) .page1-text {
    border-radius: 8px 0 0 8px; 
}



.page1-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: bold;
    color: #fff;
    position: relative; 
    display: inline-block; 
}

.page1-text h3::after {
    content: "";
    display: block;
    width: 100%; 
    height: 2px;
    background-color: #52b3e4;
    position: absolute;
    bottom: -5px; 
    left: 0;
}

.page1-text p {
    font-size: 1rem;
    line-height: 1.5;
    color: #d1d1d1;
}

.page1-image-container {
    flex: 1;
    display: flex;
    justify-content: center; 
    align-items: center; 
    padding: 20px 0; 
    background-color: #1e3547; 
}

.page1-image {
    width: 95%; 
    height: auto; 
    max-height: 300px; 
    object-fit: cover; 
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /*igetsolution bébé*/
}



@media (max-width: 768px) {
    body.page1 .page1-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%; 
        margin: 20px 0; 
        padding: 20px 0; 
        text-align: center; 
    }

    body.page1 .page1-text {
        order: 1; 
        width: 90%; 
        margin-bottom: 15px; 
        padding: 15px; 
        background-color: #0d2538; 
        border-radius: 8px; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }

    body.page1 .page1-image-container {
        order: 2; 
        width: 100%; 
        display: flex;
        justify-content: center; 
        margin-top: 15px; 
    }

    body.page1 .page1-image {
        max-width: 90%; 
        height: auto; 
        border-radius: 8px; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }

    
    body.page1 .page1-item:nth-child(even),
    body.page1 .page1-item:nth-child(odd) {
        flex-direction: column; 
    }
}


.page1-text {
    background: linear-gradient(135deg, #0d2538, #1e3547);
}
.page1-item {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.page1-item:nth-child(even) {
    border-top: 2px dashed rgba(255, 255, 255, 0.1);
}
.page1-image {
    transition: transform 0.5s ease;
}

.page1-image:hover {
    transform: scale(1.05);
}


.page1-text h3 {
    transition: color 0.3s ease;
}

.page1-text h3:hover {
    color: #52b3e4; 
}
.contact-method i {
    color: white; 
    font-size: 1.5rem; 
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-method i:hover {
    color: #52b3e4; 
    transform: scale(1.2); 
}
.contact-method h4 {
    color: white; 
    margin-top: 10px;
    transition: color 0.3s ease;
}

.contact-method h4:hover {
    color: #52b3e4; 
}
.contact-method a {
    color: #d1d1d1; 
    text-decoration: none; 
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent; 
}

.contact-method a:hover {
    color: #52b3e4; 
    border-bottom: 1px solid #52b3e4; 
}
.contact-method {
    text-align: center;
    margin-bottom: 20px; 
}

.contact-method span {
    color: #d1d1d1; 
    font-size: 0.9rem; 
}
.contact-method span {
    color: #d1d1d1; 
    font-size: 0.9rem; 
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-method span:hover {
    color: #52b3e4; 
    transform: scale(1.05); 
}


.back-to-top {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}
html, body {
    overflow: visible !important;
    position: static !important;
}

