body {
    margin: 0;
}

.upper-section {
    background-color: #2b7ffd;
    padding: 10px;
    text-align: center;
}

.logo {
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.navbar {
    text-align: right;
    font-size: 20PX;
    font-family: 'Inter Tight', sans-serif;
    overflow:auto;
    background-color: #08031a;
    position: sticky;
    top: 0;
    z-index: 100;
    padding-top: 10PX;
    padding-bottom: 10PX;
    opacity: 0.5;
}

.navbar a {
    float: left;
    display: block;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar a:hover {
    background-color: #066aff;
    color: black;
}

/* Added styles for content sections */
.content-section {
   
    background-color: #e0f0fa;
    border: 1px solid #e0f0fa;
}
/*-----------------------------------------*/
.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #08031a;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: rgb(255, 140, 0);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #066aff;
}
/*---------------------------------------------------------------*/
.containerabout {
    display: flex;
    justify-content: space-around;
   margin-left: 15%;
   margin-right: 20%;
   margin-top:-5% ;

}

.panelabout {
    font-family: 'Inter Tight', sans-serif;
    width: 200px; 
    background-color: #ffffff;
    padding-top: 80px;
    padding-right: 70px;
    padding-left: 70px;
    padding-bottom: 30px;
    text-align: center;
    border-radius: 8px;
    margin: 5px; /* Set a smaller margin or adjust as needed */
    box-shadow: 9px 9px 20px rgb(0, 57, 95);
}
.panelabout:hover{
    /*background-color: #6e93cc;*/
    color: #71A9F7;
    
}

/*---------------------------------------------------------------*/
.containervm {
    display: flex;
    justify-content: space-around;
margin-right: 5%;


}

.panelvm1 {
   
    font-family: 'Raleway', sans-serif;
    text-justify: auto;
    line-height: 50px;
    margin-left: 10%;
    width: 70%;

}
.panelvm2 {
    text-align: center;
}

.panelvm3 {
   
    font-family: 'Raleway', sans-serif;
    text-justify: auto;
    line-height: 50px;
    width: 70%;
    margin-right: 5%;

}


/*-------------------------------------------------------------------*/
.containerservices {
    display: flex;
    align-items: center;
    justify-content: center;
padding: 30px;
}

.main-grid-containerservices {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    max-width: 400px;
}

.side-panel-containerservices {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
}

.grid-itemservices {
border-radius: 20px;
    padding: 10px;
    border: 3px solid #ccc;
    color: #ffffff;
    font-family: 'Inter Tight', sans-serif;
    
}

.main-grid-containerservices :hover{
    background-color: rgb(255, 119, 0);
}
/*-----------------------------------------------------------------------------------------*/


/* Define the basic grid layout */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 400px);
  gap: 20px;
  padding: 20px;
}

/* Make iframes responsive within grid items */
.grid-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  overflow: hidden;
}

/* Responsive design: Adjust grid layout for smaller screens */
@media (max-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

.containerevents {
    font-family: Arial, sans-serif;
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat(2, 1fr);
}

.title-sectionevents {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.sectionevents {
    flex: 1;
    
    padding: 15px; 
    border-radius: 5px; 
   
}
.event{
background-color: #066aff;
color: #ffffff;
border-radius: 10px;
padding: 10px;
margin-bottom: 25px;
}
.news{
background-color: #ffffff;
color: #000000;
border-radius: 10px;
padding: 10px;
margin-bottom: 25px;
}
.event:hover{
    box-shadow: 9px 9px 30px rgb(0, 57, 95);
}
.news:hover{
    box-shadow: 9px 9px 30px rgb(0, 57, 95);
}


.event img,
.news img {
    max-width: 200px;
    margin-right: 20px;
}

.event .content,
.news .content {
    flex: 1;
}
/*------------------------------------------------------------------------------------------------*/

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}


.gallery-item {
    flex: 1 0 300px; 
    margin: 10px;
    overflow: hidden;
    position: relative; 
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease; 
}

.gallery-item:hover {
    transform: scale(1.05); 
}

.gallery-item:hover img {
    transform: scale(1.1); 
}


@media only screen and (max-width: 500px) {
    .containerabout {
        flex-direction: column;
        align-items: center;
    }

    .panelabout {
        width: 50%;
    } b
    .containervm{
        flex-direction: column;
        align-items: center;
    }

    .panelvm1 {
        width: 50%;
    }
    .panelvm2 {
        width: 90%;
    }
    .main-grid-containerservices {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .side-panel-containerservices {
        margin: 20px 0 0 0;
    }
    .gallery-item {
        flex: 1 0 100%; 
      }

}
/*-------------------------------------------------------------------------------------------*/

footer {
    text-align: center;
    background-color: #2b7ffd;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer h2 {
    font-family: 'Bayon', sans-serif;
    font-size: 24px;
    color: #FFFFFF;
}

footer p {
    margin: 5px 0;
    font-size: 16px;
    color: #FFFFFF;
}

footer p span {
    vertical-align: middle; 
    margin-right: 5px;
}

iframe {
    width: 100%;
    height: 400px;
    border: 0;
}


.slider-container {
    width: 100%;
    overflow: hidden;
   
  }

  .slider {    
    display: flex;
    transition: transform 0.5s ease-in-out;
   
  }