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


body{
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}


a{
    text-decoration: none  !important;
}

nav{
    display: flex;
    align-items: center;
    height: 90px;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul{
    list-style: none;
    display: flex;
    margin-left: 300px;
}

nav ul li{
    margin-right: 30px;
    font-size: 10px;
    font-weight: 600;
    line-height: 20px;
}

nav ul li a{
    color: #000;
    padding: 10px 1px;
}

nav ul li a:hover{
    background-color: red;
    color: white;
    border: 1px solid white;

}

nav img{
    width: 400px;
    height: auto;
    margin-left: 30px;
}

.entrybg{
    background-image: url('images/bgnew.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh; /* This will make the container at least the height of the viewport */
    transition: background-image 1s ease-in-out;
}

section{
    padding: 10px 250px;
    scroll-margin-top: 60px; /* Add scroll offset */
}


section h1{
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    margin-top: 40px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

section h1::before,
section h1::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid gray;
    margin: 0 10px;
}


section h4{
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 20px;
    margin-top: 80px;
    text-align: center;
    
}


section p{
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}


.aboutimg{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.aboutimg img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}


 #ACTIVITY{
    margin-top: 20px;
    background-color: #f4f4f4;
}


.flags{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
    margin-top: 50px;
}

.flags img{
    width: 100px;
    height: 100px;
    border-radius: 200px;
    object-fit: cover;
    transition: border 0.3s ease;
}

.flags a {
    text-decoration: none;
    color: inherit;
}

.flags a:hover {
    opacity: 0.7;
}

.flags img:hover {
    border: 2px solid white;
}

.flags img.active {
    border: 6px solid red;
}

.infocountry{
    margin-top: 70px;
}

.infocountry img{
    display: block;
    margin: 20px auto 0; /* Center image horizontally */
    width: 650px;
    height: 300px;
    object-fit: cover;
    margin-bottom: 40px;
}



#certification h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #333;
}

#certification h1::before,
#certification h1::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ccc;
    margin: 0 10px;
}

#certification p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    margin-bottom: 20px;
    color: #555;
}

.cert-cards {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    margin: 20px auto;
    max-width: 500px; /* Center the grid and limit its width */
}

.cert-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cert-card h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.cert-card ul {
    list-style-type: disc;
    padding-left: 20px;
}

.cert-card ul li {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 10px;
    color: #555;
}

.certification-images {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.certification-images img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.certification-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#gallery {
    padding: 40px 250px;
    background-color: #f9f9f9;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#gallery h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #333;
}

#gallery h1::before,
#gallery h1::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ccc;
    margin: 0 10px;
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    margin: 40px auto;
    max-width: 500px; /* Center the grid and limit its width */
}

.gallery-images img {
    width: 100%;
    height: 157.68px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.galery {
    padding: 20px 0;
    text-align: center;
}

.gallery-images #last{
    height: 157.68px;
}


#ASSOCIATIONS{
    background-color: #f4f4f4;
}



.map{
    margin-top: 40px;
    display: flex;
   justify-content: center;
   border: 1px solid gray;
}

.adres{
    background-color: #34383d;
    padding: 20px;
    margin-top: 20px;
    display: flex;

}


.adress{
   
    display: block;
    text-align: left;
    color: white;
    width: 100%;
}

hr{
    color: white;
    margin: 0 !important;
}

.adress p{
    text-align: left;
    padding-top: 50px;
    padding-left: 20px;
    color: #8c8f94;
}

.wp{
    color: white;
    font-size: 30px;
    padding-right: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: right;
    width: 700px;
    white-space: nowrap; /* Ensure text does not wrap */
}

footer{
    background-color: #34383d;
    color: #8c8f94;

    padding: 7px 0;
    text-align: center;
    font-size: 15px;
}

.dropdown {
    display: none;
    margin-left: auto;
    margin-right: 20px; /* Add margin to avoid touching the screen edge */
}

@media (max-width: 1260px) {
    nav ul{
        margin-left: 50px;
    }

    
nav ul li{
    font-size: 7px ;
    padding: 1px 1px;
}

  
    nav img{
        width: 250px;
    }
    section{
        padding: 10px 100px;
    }
    .aboutimg img {
        width: 150px;
        height: 150px;
    }
    .flags img{
        width: 80px;
        height: 80px;
    }
    .infocountry img{
        width: 500px;
        height: 250px;
    }
    .cert-card {
        width: 100%;
    }
    .certification-images img {
        width: 250px;
        height: 150px;
    }
    .gallery-images img {
        width: 100%;
        height: 100px;
    }
    .gallery-images #last{
        height: 100px;
    }
    .wp{
        width: 800px;
        font-size: 20px;
    }

    .adress p{
        font-size: 10px;
    }

    .adress h2{
        font-size: 20px;
    }

    footer p{
        font-size: 10px;
    }
}

@media (max-width: 780px){

    h1{
        font-size: 30px !important;
    }
    .firstnav{
        display: none;
    }

    .dropdown{
        display: block !important; 
        position: absolute;
        right: 20px; /* Ensure it stays on the right side */
    }

    nav img {
        margin-left: 20px; /* Adjust logo margin for better alignment */
    }

    .aboutimg img {
        width: 100px;
        height: 100px;
    }

    .flags img{
        width: 60px;
        height: 60px;
    }

    .flags h3{
        font-size: 7px;
        margin-top: 5px;
    }

    .infocountry img{
        width: 300px;
        height: 250px;
    }

  .harita{
    width: 1000px;
    height: 300px;
  }

  .wp{
    width: 100%;
    font-size: 15px;
    margin-left: 0;
    padding-right: 0;
    white-space: nowrap; /* Ensure text does not wrap */
}

.adress p{
    font-size: 8px;
    margin-top: -40px;
}

.adress h2{
    font-size: 16px;
}

footer p{
    font-size: 10px;
    padding: 5px 2px;
}



}







