* {
    margin: 0;
    padding: 0;
  
}

body {
 
    font-family: 'Trebuchet MS', Arial, sans-serif;
}

a{
    text-decoration: none;
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
    /* background-color: red; */
  }
  
  .hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: rgb(73,48,56);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }
  
  .hover-underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }



  /*nav bar*/

nav {
    background: whitesmoke;
    top: 0;
    margin-top: 0;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.navbar-brand {
    margin-left: 20px;
    
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: 1.5rem;
    text-decoration: none;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
   
}

nav ul li {
    margin-right: 1px;
    justify-self: start;

}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    display: block;
    color: black;
    text-decoration: none;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    padding: 15px;
    margin-left: 50px;
}
.button-contact{
    background-color: #176385;
    border-radius: 10px;
    margin-right: 100px;
    color: white;
}
/* repsponsive menu*/

@media screen and (max-width: 768px) {
    .nav-list {
    
        display: none;
        flex-direction: column;
        align-items: center;
        background: whitesmoke;
        position: absolute;
        top: 80px;      
        width: 100%;
        
   
    }
    .nav-list.active {  
       
        padding-bottom: 25px;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .nav-list li {

        padding-right: 35px;
        margin-top: 10px;
        text-align: center;
    }
    .menu-toggle {
        display: block;
        cursor: pointer;
        margin-right: 20px; /* Adjust this margin as needed */
    }
    .bar {
        width: 25px;
        height: 3px;
        background-color: black;
        margin: 5px 0;
    }
    .button-contact{
        background-color: #176385;
        border-radius: 10px;
        margin-left: 150px;
        width: 20%;
        color: white;
    }
}


/*Home screen*/

.container-home {
    background: linear-gradient(to top, white, rgb(228, 224, 224));
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-between;
    padding: 50px;
}



.container-home-left{
    padding: 50px;
    margin: 50px;
    flex-direction: column;
    justify-items: center;
}
.container-home-left .container{
    display: flex;
    justify-content: center;
}
.container-home-left .contact{
    text-decoration: none;
    margin-top: 50px;
    width: 90px;
    padding: 10px;
    font-size: 25px;
    font-weight: 600;
    color: white;
    background-color: #176385;
    border-radius: 10px;
}
.container-home-left .contact .txt{
    text-decoration: none;
    color: white;
}
.presentation-home {
    font-size: 40px;
    font-weight: 600;
    color: black;
}

.presentation-home-nom {
    font-size: 40px;
    font-weight: 600;
    color: #176385;
}

.container-home-right{
    width: 420px;
    height: 400px;
    margin: 50px;
}



/* Responsive Home screen*/

/* Your existing styles */


/* Media query for smaller screens */
@media screen and (max-width: 767px) {
    .container-home {

        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .container-home-left {
  
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        margin: 10px 0;
        text-align: center;
    }

    .container-home-right {
    
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 200px;
        height: 200px;
        margin: 20px 0;
    }
}




.container-services{
    margin-top: 160px;
    display: flex;
    justify-content: center;
    padding: 50px;
}

.container-services .title{
    display: flex;
    justify-content: center;
    font-size: 30px;
    font-weight: 600;
    color: black;

}

/* responsive title*/

@media screen and (max-width: 768px) {
    .container-services {
        margin-top: 15px;
    
    }

    .container-services .title {

        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 28px;
    }

}


/* cards services*/

.container-cards{
    display: flex;
    justify-content: center;
}

.container-cards .card{
  
    margin: 30px;
    width: 400px;
    height: 300px;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    box-shadow: 2px 2px 2px 3px rgba(0, 0, 0, 0.1);
}


.container-cards .header {
    justify-content: center;
    display: flex;
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
    width: 300px; 
}
.container-cards .text{
    justify-content: center;
    text-align: center;
    display: flex;
    margin: 25px;
}
.container-cards .card:hover{
    transition: all 0.2s;
    transform: scale(1.03);
    box-shadow: 2px 2px 2px 5px rgba(0, 0, 0, 0.1);
}


/* responsive cards */
/* Your existing styles */

/* Media query for tablet and larger screens */
@media screen and (min-width: 768px) {
    .container-cards {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 30px;
    }

    .container-cards .card {
        margin: 20px;
        width: calc(33.33% - 40px); /* Distribute cards in a row with some spacing */
        max-width: 400px; /* Limit maximum width */
    }

    .container-cards .header {
        font-size: 18px;
        width: 100%; /* Adjust as needed */
    }
}

/* Media query for smaller screens */
@media screen and (max-width: 767px) {
    .container-cards {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .container-cards .card {
        margin: 15px;
        width: 100%; /* Take up full width of the container */
        max-width: 100%; /* Ensure it's not larger than the screen width */
    }

    .container-cards .header {
        font-size: 16px;
        width: 100%; /* Adjust as needed */
    }
}


.container-quote{
    margin-top: 150px;
    background-color: #176385;
    display: flex;
    justify-content: center;
  
    padding-top: 100px;
    padding-bottom: 100px;

}

.container-quote .container{
    display: flex;
    justify-content: center;

}

.container-quote .text{
    font-size: 40px;
    font-weight: 600;
    color: white;
}
.container-quote .trait{
    margin: 20px;
    width: 150px;
    height: 5px;
    background-color: white;
}


/* responsive quote*/
/* Your existing styles */

/* Media query for tablet and larger screens */
@media screen and (min-width: 768px) {
    .container-quote {
        margin-top: 120px;
        padding: 50px 0;
    }

    .container-quote .text {
        font-size: 36px;
    }

    .container-quote .trait {
        margin: 15px;
        width: 100px;
        height: 4px;
    }
}

/* Media query for smaller screens */
@media screen and (max-width: 767px) {
    .container-quote {
        margin-top: 80px;
        padding: 30px 0;
        text-align: center;
    }

    .container-quote .text {
        font-size: 28px;
    }

    .container-quote .trait {
        margin: 10px;
        width: 80px;
        height: 3px;
    }
}


.container-about{

    display: flex;
    justify-content: center;
    padding: 100px;
}


.container-about .container{

    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    height: 300px;
}

.names{
    margin-top: 15px;
    font-size: 25px;
    font-weight: 600;
    color: #176385;
}

.container-about .container-middle{
  
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 500px;
    height: 300px;
}
.container-middle .title{
    margin-top: 15px;
    font-size: 30px;
    font-weight: 600;
    color: #176385;
}

.container-middle .text {
    display: flex;
    justify-content: center;
    margin: 20px;
    font-size: 20px;
    font-weight: 600;
    color: black;
    margin-top: 20px;
}

.container-about .img1{

    width: 200px;
    height: 200px;
    border-radius: 150px;
  
}
.container-about .img2{

    width: 175px;
    height: 200px;
    border-radius: 200px;
}

/* reponsive about*/
/* Your existing styles */

/* Media query for tablet and larger screens */
@media screen and (min-width: 768px) {
    .container-about {
        padding: 80px;
    }

    .container-about .container {
        width: 250px;
        height: 250px;
    }

    .names {
        margin-top: 10px;
        font-size: 22px;
    }

    .container-about .container-middle {
        width: 400px;
        height: 300px;
    }

    .container-middle .title {
        margin-top: 10px;
        font-size: 24px;
    }

    .container-middle .text {
        font-size: 18px;
    }

}

/* Media query for smaller screens */
@media screen and (max-width: 767px) {
    .container-about {
        flex-direction: column;
        align-items: center;
        padding: 60px 20px;
    }

    .container-about .container {
        width: 200px;
        height: 200px;
    }

    .names {
        margin-top: 5px;
        font-size: 20px;
    }

    .container-about .container-middle {
        width: 100%;
        height: auto;
        margin-bottom: 30px;
    }

    .container-middle .title {
        margin-bottom: 20px;
        margin-top: 100px;
        font-size: 22px;
    }

    .container-middle .text {
        font-size: 16px;
    }

}



.container-contact{

    margin-top: 150px;
    display: flex;
    justify-content: center;
}
.container-contact .card{
    padding: 20px;
    margin: 30px;
    width: 250px;
    height: 200px;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    box-shadow: 2px 2px 2px 3px rgba(0, 0, 0, 0.1);
}

.container-contact .card .header {
  background-color: #176385;
  border-radius: 20px;
}

.container-contact .card:hover{
    transition: all 0.2s;
    transform: scale(1.03);
    box-shadow: 2px 2px 2px 5px rgba(0, 0, 0, 0.1);
}
.contact{
    margin-top: 30px;
    font-size: 20px;
    font-weight: 600;
    color: black;
}

/* Your existing styles */

/* Media query for tablet and larger screens */
@media screen and (min-width: 768px) {
    .container-contact {
        margin-top: 120px;
        padding: 30px;
        flex-wrap: wrap;
    }

    .container-contact .card {
        margin: 20px;
        width: calc(50% - 40px); /* Distribute cards in two columns with spacing */
        max-width: 250px; /* Limit maximum width */
    }

    .container-contact .contact {
        font-size: 18px;
    }
}

/* Media query for smaller screens */
@media screen and (max-width: 767px) {
    .container-contact {
        margin-top: 80px;
        padding: 20px;
        flex-direction: column;
        align-items: center;
    }

    .container-contact .card {
        margin: 15px;
        width: 60%; /* Take up full width of the container */
        max-width: 100%; /* Ensure it's not larger than the screen width */
    }

    .container-contact .contact {
        font-size: 16px;
    }
}
