html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; 
    scroll-behavior: smooth;
}

* {
    box-sizing: inherit; 
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #f8f9fa;
    color: rgb(40, 56, 120);
    font-size: 1rem;
    border-bottom: 2px solid #ddd;
    margin-top: 0;
    font-family: Quicksand, sans-serif;
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    flex-wrap: wrap; 
}

.header img {
    height: 60px;
    max-width: 100px;
    object-fit: contain;
}

.header h4 {
    margin: 0;
    text-align: center;
    flex-grow: 1;
    font-size: 1.7rem; 
    padding-left: 100px; 
}


.header button {
    padding: 10px 15px;
    background-color: rgb(40, 56, 120);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.header button:hover {
    background-color: rgb(30, 46, 100);
}


@media (max-width: 768px) {
    .header {
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
        padding: 15px; 
    }

    .header h4 {
        font-size: 1.5rem; 
        margin-top: 10px; 
        padding-left: 20px; 

    }

    .header button {
        margin-top: 10px; 
    }
}

@media (max-width: 480px) {
    .header h4 {
        font-size: 1.3rem; 
    }

    .header button {
        padding: 8px 12px; 
        font-size: 0.9rem; 
    }
}

.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh; 
    width: 100%;
    overflow: hidden;
}

.background img {
    width: 100%;  
    height: 100%;  
    object-fit: cover; 
    position: absolute;  
    top: 0;
    left: 0;
}

.overlay {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.circle {
    background-color: rgba(0, 0, 139, 0.4);  
    width: 300px;  
    height: 300px;
    border-radius: 50%;
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 2rem;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.circle p {
    
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    color: white;
    line-height: 0.7;
}
.circle .line1 {
    margin-top: 75px ;
    margin-bottom: 45px ;
    font-size: 2.7rem; 
    font-weight: bold;
}
@media (max-width: 768px) {
    .container {
        height: 60vh; 
    }

    .circle {
        width: 200px;  
        height: 200px;
        font-size: 1.2rem;
    }
    .circle p {

        font-size: 1rem;
        line-height: 1;

    }
    .circle .line1 {
        margin-top: 35px ;
        margin-bottom: 15px ;

        font-size: 1.1rem; 
        font-weight: bold;
    }
}

@media (max-width: 480px) {
    .container {
        height: 50vh; 
    }

    .circle {
        width: 150px;  
        height: 150px;
        font-size: 1rem;
    }
    .circle p {
        font-size: 0.6rem;
    }
    .circle .line1 {
        font-size: 0.9rem; 

    }
    
}
.about-us {
    text-align: center;
    padding: 40px 20px;
    background-color: #ffffff;
    font-family: sans-serif;
}

.about-us h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgb(40, 56, 120);
    margin-bottom: 20px;
    position: relative;
}

.about-us h2::before,
.about-us h2::after {
    content: "";
    flex: 1;
    height: 2px;
    background-color: rgb(40, 56, 120);
    margin: 0 10px;
}


.cards-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    font-size: 0.9rem;
    color: #444444;
}

.card-content h3 {
    font-size: 1.2rem;
    color: rgb(40, 56, 120);
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.5;
    text-align: justify;
}

.arrow-container {
    display: block; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.first-line,
.second-line {
    display: grid;
    gap: 20px;
    justify-items: center;
    align-items: start;
    grid-template-columns: repeat(4, 1fr); 
}

.second-line {
    grid-template-columns: repeat(3, 1fr); 
}
.second-line .arrow-item:first-child {
    margin-left: 170px; /
}

.second-line .arrow-item:last-child {
    margin-right: 180px; 
}
.arrow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.arrow-item p {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
}

.arrow-round {
    position: relative;
    width: 120px;
    height: 120px;
    border: 13px solid rgb(40, 56, 120); 
    border-radius: 50%;
    border-right-color: transparent;
    transition: width 0.3s, height 0.3s; 
}

.arrow-round::after {
    content: "";
    position: absolute;
    border: 40px solid #ffffff; 
    top: -7px;
    left: 85px;
    border-bottom-color: rgb(40, 56, 120); 
    border-top-width: 0;
    border-right-width: 0;
    border-left-color: transparent;
}

.arrow-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: #333333;
}
.arrow-container h4{
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 70px;   
}

@media (max-width: 1200px) {
    .arrow-container {
        gap: 15px;
    }

    .arrow-round {
        width: 100px;
        height: 100px;
        border-width: 10px;
    }

    .arrow-text {
        font-size: 1.2rem;
    }
    .arrow-round::after {
        border-width: 1.6rem; 
        top: calc(-1.6rem - 1px);
        left: calc(100% - 4rem);
    }
}

@media (max-width: 800px) {
    .arrow-container {
        grid-template-columns: 1fr; 
        grid-template-rows: auto; 
        gap: 15px;
    }

    .arrow-round {
        width: 80px;
        height: 80px;
        border-width: 8px;
    }

    .arrow-round::after {
        border-width: 1.2rem; 
        top: calc(-1.2rem - 1px);
        left: calc(100% - 3rem);
    }

    .arrow-text {
        font-size: 1rem;
    }

    .arrow-item p {
        font-size: 0.9rem; 
    }

    .arrow-alone {
        grid-column: 1; 
        grid-row: auto; 
        padding-top: 20px;
    }
}

@media (max-width: 500px) {
    .arrow-round {
        width: 60px;
        height: 60px;
        border-width: 6px;
    }

    .arrow-text {
        font-size: 0.9rem;
    }

    .arrow-item p {
        font-size: 0.8rem;
    }

    .arrow-alone {
        padding-top: 10px;
    }

    .arrow-round::after {
        border-width: 1rem; 
        top: calc(-1rem - 1px);
        left: calc(100% - 2.5rem);
    }
}



.valeo-info {
    display: flex;
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    margin-top: 40px; 
    padding: 20px; 
    background-color: rgb(40, 56, 120);
    border-radius: 8px; 
}

.valeo-logo {
    width: 100px; 
    height: auto; 
}

.valeo-text {
    font-size: 1.2rem; 
    color: white; 
    text-align: left; 
}


@media (max-width: 600px) {
    .valeo-info p {
        font-size: 1rem; 
    }
    
    .valeo-logo {
        max-width: 100px; 
    }
}

.contact-us {
    padding: 10px;
    background-color: #f0f0f0;
    text-align: center;
    font-family: Arial, sans-serif;
}

.contact-us h2 {
    font-size: 2rem;
    color: rgb(40, 56, 120);
    margin-bottom: 20px;
}

.contact-us p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.contact-form {
    margin-top: 20px;
    text-align: left;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    width: 90%; 
}

.contact-form label {
    display: flex;
    align-items: center;
    width: 150px;
    margin-right: 10px;
    font-size: 1rem;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
}

.contact-form .form-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
}

.contact-form textarea {
    height: 100px;
    resize: vertical;
}

.contact-form .form-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px; 
    width: 100%; 
}

.contact-form .form-buttons button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: rgb(40, 56, 120);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form .form-buttons button:hover {
    background-color: rgb(30, 46, 100);
}

.contact-form .form-buttons a {
    font-size: 0.9rem;
    color: rgb(40, 56, 120);
    text-decoration: none;
    cursor: pointer;
}

.contact-form .form-buttons a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-form {
        width: 85%;
    }
    .contact-form .form-group {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-form .form-buttons {
        flex-direction: column;
        justify-content: space-between;
        gap: 10px;
    }
    .contact-form .form-buttons button {
        width: 100%; 
    }
}

@media (max-width: 480px) {
    .contact-form {
        width: 95%; 
    }
    .contact-form label {
        font-size: 0.9rem;
    }
    .contact-form input,
    .contact-form textarea {
        font-size: 0.9rem;
    }
}


@media (max-width: 768px) {
    .card-bg {
        width: 250px;
        height: 180px;
    }

    .card-overlay h3 {
        font-size: 1.2rem;
    }

    .card-overlay p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .card-bg {
        width: 200px;
        height: 150px;
    }

    .card-overlay h3 {
        font-size: 1rem;
    }

    .card-overlay p {
        font-size: 0.8rem;
    }
}
.footer {
    background-color: #00274d; 
    color: white;
    padding: 20px 40px; 
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.footer-content {
    display: flex;
    width: 100%; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    align-items: center; 
}

.footer-text {
    text-align: center; 
    flex: 1; 
    padding-left: 150px; 
}

.footer-links {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
    align-items: flex-start; 
    padding-left: 20px; 
}

.footer-links a {
    color: #ffffff; 
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center; 
    gap: 8px; 
}

.footer-links a:hover {
    color: #87ceeb; 
}

.icon {
    width: 20px; 
    height: 20px;
}

@media (max-width: 768px) {
    .footer {
        padding: 20px 15px; 
    }

    .footer-content {
        flex-direction: column;
        align-items: center; 
    }

    .footer-links {
        align-items: center; 
        padding-left: 0; 
    }
    .footer-text {
        padding-left: 50px; 
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 15px 10px; 
    }

    .footer-links {
        gap: 8px; 
    }
    .footer-text {
        padding-left: 20px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
    border-radius: 10px;

}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}










