/*TOP NAVIGATION*/

*{

    box-sizing: border-box;
    font-family: Lato;
}

html, body{

    margin: 0;
    padding: 0;
    overflow-x:hidden ;
}

body {
    background: url('images/omar-flores-oAvD_1dPvGo-unsplash.jpg') no-repeat center center fixed;
    background-size: cover;
}

.logo_img {
    /*margin-top: -150px;*/
    width: 170px;
    height: 170px;
    /*top: 35%;*/
    left: 7%;
    margin-top: 10px;
     
   
}

.hidden {
    opacity: 0;
    pointer-events: none; /* Ensure the logo is not clickable when hidden */
}


/*navigation bar*/

/*
#logo_list {
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background-color: #f8f9fa;
    transition: background-color 0.5s; /* Add smooth transition */
  
    .navigation-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 30px;
        font-weight: 800;
        position: fixed;
        width: 100%;
        height: 100px;
        top: 0;
        z-index: 9999;
        background-color: #f0f0f0; 
    }
    
    .navigation-logo-img img {
        height: 140px;
            width: auto;
        object-fit: cover;

    }
    
    .navigation-links {
        display: flex;
        align-items: center;
        gap: 50px;
    }
    
    .navigation-links ul {
        display: flex;
        list-style-type: none;
        padding: 0;
        margin: 0;
        gap:15px;
    }
    
    .navigation-links ul li {
        margin-left: 20px;
        position: relative; 
    }
    
    .navigation-links ul li a {
        text-decoration: none;
        color: #000; 
        font-weight: 700;
    }
    
    .navigation-links ul li a:hover {
        color: #001465; 
    }
    
    .navigation-links .dropdown-content {
        display: none;
        position: absolute;
        top: 100%; 
        left: 0; 
        background-color: #fff;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
    }
    
    .navigation-links .dropdown-content a {
        color: #000; 
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    
    .navigation-links .dropdown-content a:hover {
        background-color: #ddd; 
    }
    
    .navigation-links .dropdown:hover .dropdown-content {
        display: block;
    }
    
    .navigation-links button {
        border: none;
        background-color: #001465;
        color: white;
        font-weight: 700;
        border-radius: 8px;
        padding: 10px 20px; 
        cursor: pointer;
    }
    
    /* Burger Menu */
    .burger-menu {
        display: none; 
        flex-direction: column;
        cursor: pointer;
        
    }

    .mobile-menu {
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
    }
    
    .mobile-menu.show {
        transform: translateX(0);
    }
    
    
    .burger-bar {
        width: 25px;
        height: 5px;
        background-color: #001465;
        margin: 3px 0;
    }
    
    /* Mobile menu */
    .mobile-menu {
        display: none; 
        position: absolute;
        top: 80px; 
        right: 0;
        background-color: #f0f0f0; 
        width: 100%;
        z-index: 9999;
    }
    
    .mobile-menu ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu ul li {
        border-bottom: 1px solid #ddd;
    }
    
    .mobile-menu ul li a {
        display: block;
        padding: 10px 20px;
        text-decoration: none;
        color: #000;
        font-weight: 700;
    }
    
    .mobile-menu ul li a:hover {
        background-color: #ddd;
    }
    
    .mobile-menu .contact-button {
        width: 100%;
        border: none;
        background-color: #001465;
        color: white;
        font-weight: 700;
        border-radius: 8px;
        padding: 10px;
        text-align: center;
        cursor: pointer;
    }

    .dropdown-content {
        display: none;
    }
    
    
    .dropdown-content a {
        color: #000;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    
   
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    /* Responsive styles */
    @media (max-width: 768px) {
        .navigation-links {
            display: none; 
        }
    
        .burger-menu {
            display: flex; 
        }
    
        .mobile-menu {
            display: none; 
        }
    
        .mobile-menu.show {
            display: block; 
        }
    }
    
    @media (max-width: 480px) {
        .navigation-logo-img img {
            height: 80px;
            width: auto;
        }
    
        .navigation-links button {
            padding: 8px 16px; 
        }
    }

  .top_nav {
    transition: opacity 0.5s; /* Add smooth transition */
}


  .top_nav .logo_list ul{

    font-size: 0.9em;
    font-weight: bolder;
}

.top_nav ul{
    padding-right: 5%;
    float: right;
    padding-top: 1%;
}

.top_nav a{
    display: inline-block;
    padding: .5em;
    font-size: 1.2em;
    font-family: Corbel;
    color: white;
    text-decoration: none;
}

.top_nav .logo_list a:hover{
    color: rgb(134, 137, 137);
    font-weight: bolder;
}

  .top_nav .logo_list a{
    color: rgb(7, 0, 71);
  }

.nav {
    height: 50px; /* replace 50px with the actual height of your navigation bar */
    position: relative; /* ensure that the dropdown list is positioned relative to the navigation bar */
  }
  
  .dropdown-content {
    position: absolute; /* position the dropdown list absolutely relative to the navigation bar */
    top: 100%; /* position the dropdown list below the navigation bar */
    left: 0; /* align the dropdown list with the left edge of the navigation bar */
    display: none;
  }

  .dropdown-content2 {
    position: absolute; /* position the dropdown list absolutely relative to the navigation bar */
    top: 100%; /* position the dropdown list below the navigation bar */
    left: 0; /* align the dropdown list with the left edge of the navigation bar */
    display: none;
  }


.about_us_drop_down {
    position: relative;
    display: inline-block;
  }

  .services_drop_down {
    position: relative;
    display: inline-block;
  }


.dropdown-content a {
    background-color:  white;
    color: black;
    font-size: 14px;
    padding: 4px 8px;
    text-decoration: none;
    display: block;
  }

.dropdown-content a:hover {background-color: rgb(157, 9, 9);
    color: white;
}

.about_us_drop_down:hover .dropdown-content {display: block;}

.dropdown-content2 a {
    background-color:  white;
    color: black;
    font-size: 14px;
    padding: 4px 8px;
    text-decoration: none;
    display: block;
  }

.dropdown-content2 a:hover {background-color: rgb(7, 0, 71);
    color: white;
}

.services_drop_down:hover .dropdown-content2 {display: block;}

#contact_button{
    background-color:rgb(7, 0, 71);
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bolder;
}

#contact_button:hover{

    background-color: white;
    color: rgb(94, 91, 90);

}

.top_nav, .logo_list {
    transition: top 0.5s;
}

.hidden {
    visibility: hidden;
    transition: visibility 0.5s;
}


/* Adjustments to fit the slideshow under the navigation bar */
.top_nav {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; 
    margin: 80px auto;
}

.slideshow-container {
    margin-top: 50px; /* Adjust to match the height of your navigation bar */
}

/* Other styles for your navigation bar */
/* Add your styles here */

.numbertext {
    position: absolute;
    top: 40%;
    left: 30%;
    color: white;
    font-size: 50px; /* Adjust font size as needed */
    /* background-color: rgba(0, 0, 0, 0.5); Semi-transparent background */
    padding: 6px 18px; /* Add padding to the numbertext */
    width: 50%;
    height: 100%;
}

/*The column section*/

.column-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 200px; /* Adjust margin as needed */
}

.column {
    width: 200px; /* Adjust width as needed */
    height: 200px;
    margin: 0 50px; /* Adjust margin between columns as needed */
    padding: 20px;
    background-color: rgb(0, 11, 58);
    border-radius: 10px;
}
    

.column h2 {
    font-size: 20px; /* Adjust font size as needed */
    margin-bottom: 10px; /* Add spacing between heading and content */
    color: rgb(7, 3, 66);
}

.column p {
    font-size: 16px; /* Adjust font size as needed */
    margin-bottom: 20px; /* Add spacing between paragraphs */
    color: rgb(7, 3, 66);
}

@media screen and (max-width: 768px) {
    .column-container {
        flex-direction: column; /* Change to column layout */
        width: 900px;
        margin-top: 200px; /* Adjust margin as needed */
        margin-left: -250px;
    }
    
    .column-container .column {
        width:400px;
        margin: 20px auto; /* Add margin for spacing */
        height: 200px;
    }
}

/*Media queries*/
/* Hamburger menu bar */
/* Styles for burger menu icon */
/* Styles for logo video */
    /* Styles for burger menu icon */
    
    
    

    @media screen and (max-width: 768px) {

        .logo_img{
            margin-left: 60px;
            margin-top: -80px;
            width: 250px;
            height: 250px;
        }


        #logo_list{
            background-color: #00146d00;
        }
    
        /* Additional styles for showing navigation menu */
        #menuItems {
            position: absolute;
            top: 50px; /* Adjust as needed */
            left: 0;
            background-color: white;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for dropdown effect */
            display: none; /* Hide menu items by default */
        }
    
        #menuItems.show {
            display: block; /* Show menu items */
        }
    
        #menuItems li {
            padding: 10px;
            border-bottom: 1px solid #ccc; /* Optional: Add border between menu items */
        }
    
        #menuItems li:last-child {
            border-bottom: none; /* Remove border from last menu item */
        }
    }

/* Styles for menu items */
#menuItems {
    position: absolute;
    top: 10px; /* Adjust as needed */
    right: 0;
    
}

/*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for dropdown effect */*/

#menuItems.show {
    display: block; /* Show menu items */
}

#menuItems li {
    padding: 10px;
    border-bottom: 1px solid #ccc; /* Optional: Add border between menu items */
}

#menuItems li:last-child {
    border-bottom: none; /* Remove border from last menu item */
}



/* ABOUT US SECTION */

#about_us {
    padding-left: 7%;
    padding-bottom: 5%;
    background-color: rgb(4, 0, 89);
   
    padding-top: 7%;
}

.about_header {
    padding-top: 3%;
    font-size: 300%;
    font-weight: bolder;
    color: white;
    
}

.about_header_services {
    padding-top: 2%;
    font-size: 300%;
    font-weight: bolder;
    color: rgb(27, 30, 84);
    margin-left: 90px;
}

.about_us_info {
    margin-top: 5px;
    font-size: 120%;
    width: 80%;
    color: white;
}

.about_content {
    display: flex;
    justify-content: space-between;
}

.about_text {
    width: 100%;
}

.about_image img {
    margin-top: -90px;
    max-width: 60%;
    height: auto;
    margin-right: -950px;
}

@media screen and (max-width: 768px) {

    #about_us{
        margin-top: 50%;
    }

    .about_content {
        display: flex;
        flex-direction: column; /* Change to column layout */
    }

    .about_image,
    .about_text {
        width: 100%; /* Make both sections take full width */
        margin: 0; /* Reset margins */
        text-align: center;
    }

    .about_image img {
        display: block; /* Ensure image takes full width */
        max-width: 90%; /* Ensure image doesn't exceed its container */
        height: auto;
        margin-bottom: 10px; /* Add some spacing between image and text */
        margin-top: 10%;
    }

    .about_header {
        font-size: 200%;
        font-weight: bolder;
        margin-top: 10%;
        /* margin-left: 80px; */
        text-align: left;
    }

    .about_header_services {
        font-size: 200%;
        font-weight: bolder;
    }

    #about_us p{
        font-size: 20px;
        text-align: left;
        width: 90%;
    }

}


.capabilities{
    background-color: rgb(4, 0, 89);
    margin-top: -40px;
}

.capabilities h1{
    margin-top: -70px;
    margin-left: 90px;
}

@media screen and (max-width: 768px){
    .capabilities{
        margin-top: 50px;

    }
    .about_header h1 {
text-align: center;
    }
    .capabilities p{
        font-size: 20px;
        width: 90%;
        margin-left: 5%;
    }
}



/* our services section */

.four-columns {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 80px;
    margin-bottom: 80px;
    background-color: white;

}

.column {
    width: calc(18% - 13px);
    height: 250px;
    margin: 10px;
    text-align: center;
}

.column img {
    width: 100%;
    height: 60%;
}

.column p {
    margin-bottom: 10px;
    color: white;
    font-size: 20px;
}

.column a {
    display: inline-block;
    background-color:  #007bff;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.column a:hover {
    background-color: #202020;
}

@media screen and (max-width: 768px) {
    .four-columns {
        display: flex;
        flex-direction: column;
        align-items: center; /* Center-align items */
    }

    .column {
        width: 80%; /* Adjust the width as needed */
        margin: 20px auto; /* Add margin for spacing */
    }

    .about_header_services{
       margin-left: 40px;
       font-size: 30px;
    }

}


    /* SCROLL EFFECTS */

    .slide-in {
        opacity: 0;
        transform: translateY(100px);
        transition: opacity 0.5s ease-out, transform 0.8s ease-out;
    }
    
    .slide-in.active {
        opacity: 1;
        transform: translateY(0);
    }

   /* CSS for Initial Hidden State */
.picture-grid .grid-item {
    opacity: 0;
    transform: translateX(-50px); /* Initial position outside the viewport */
    transition: opacity 0.5s, transform 0.5s;
} 

/* CSS for Slide-in Animation (Active State) */
.picture-grid .grid-item.active {
    opacity: 1;
    transform: translateX(0); /* Slide in from the left */
}
    
 
/* FOOTER STYLE */

/* Footer */
footer {
    background-color: #f8f9fa; /* Background color */
    padding: 20px 0; /* Padding */
    color: #333; /* Text color */
    text-align: center; /* Center align text */
    width: 100%; /* Fit entire screen width */
}

.footer-content {
    display: flex; /* Use flexbox for layout */
    justify-content: center; /* Center align columns */
    width: 100%; /* Fit entire screen width */
  
}

.footer-column {
    flex: 1; /* Equal width for columns */
    padding: 0 20px; /* Padding */
}

.footer-column h3 {
    font-size: 18px; /* Heading font size */
    margin-bottom: 10px; /* Margin bottom for heading */
}

.footer-column img{
    width: 65%;
    height: 65%;
}

.footer-column p {
    font-size: 14px; /* Paragraph font size */
    line-height: 1; /* Line height */
    text-align: center;
}

.footer-column ul {
    list-style: none; /* Remove default list styles */
    padding: 0; /* Remove padding */
}

.footer-column ul li {
    margin-bottom: 5px; /* Margin bottom for list items */
    
}

.footer-column ul li a {
    text-align: center;
    color: #333; /* Link color */
    text-decoration: none; /* Remove underline */
}

.footer-bottom{
    margin-bottom: 5px;
 margin-top: 5px;
 }
 
.footer-bottom {
    margin-top: 70px; /* Margin top */
    margin-bottom: 30px;
    font-size: 12px; /* Font size */
    width: 100%; /* Fit entire screen width */
}

/* Media query for screens smaller than 768px */
@media screen and (max-width: 768px) {
    .footer-content {
        display: flex;
        flex-direction: column; /* Arrange items in a single column */
        align-items: center; /* Center-align items */
        text-align: center; /* Center-align text */
    }

    .footer-column {
        margin-bottom: 20px; /* Add margin between columns */
    }

    .footer-bottom{
        margin-top: 10px;
        font-size: 15px;
    }
}


/* Add this CSS to your existing styles */

.slideshow-container {
    position: relative;
    max-width: 1500px; /* Adjust as needed */
    height: 600px;
    margin: 0 auto;
}

.mySlides {
    display: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.5s;
}

.mySlides .overlay {
    opacity: 1;
}

.text {
    color: white;
    text-align: center;
}

.text h2{
    font-size: 50px;
}

@media screen and (max-width: 768px){
    .text h2{
        font-size: 30PX;
    }
}

.text p{
    font-size: 20px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.mySlides img {
    width: 100%;
    height: 600px;
}

.fade-in {
    animation-name: fadeIn;
    animation-duration: 500s;
    animation-fill-mode: forwards;
}

.fade-out {
    animation-name: fadeOut;
    animation-duration: 500s;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}





.image-gallery {
    display: flex;
    flex-wrap: wrap;
}

.image-container {
    flex: 1;
    margin: 0;
    padding: 0;
    text-align: center;
}

.image-container img {
    width: 100%;
    height: 70%;
}

.caption {
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
    .image-gallery {
        display: block; /* Display images in a single column */
    }

    .image-container {
        width: 100%; /* Make each image-container take full width */
        margin-bottom: 20px; /* Add some spacing between each image */
    }

    .image-container img {
        width: 100%; /* Ensure images take full width */
        height: auto; /* Allow images to scale proportionally */
    }

    .caption {
        margin-top: 0px;
        font-size: 20px;
        background-color: #00146597;
        color: white;
    }
}






@media screen and (max-width: 768px) {
    .text h2 {
        font-size: 30px;
    }

    .text p {
        font-size: 20px;
    }

    .mySlides img {
        height: auto; /* Ensure images scale proportionally */
    }
}



@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 20px;
    }

    .footer-bottom {
        margin-top: 10px;
        font-size: 15px;
    }
}



@media screen and (max-width: 768px) {
    .column-container {
        flex-direction: column;
        margin-top: 50%;
    }

    .column {
        width: 80%;
        margin: 20px auto;
    }

    .about_header_services {
        margin-left: 40px;
        font-size: 30px;
    }
}

/* Slideshow Section */

/* Slideshow Section */

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 560px; /* Increased the height by 10% */
    overflow: hidden;
}

.slideshow-container img {
    width: 100%;
    height: 140%; /* Ensure the image fits the increased section size */
    object-fit: cover;
}

.numbertext {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    text-align: center;
    width: 80%;
}

/* Media Queries for Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .numbertext {
        font-size: 18px;
        width: 90%;
        top: 95%; /* Adjusted top position for mobile */
    }

    .slideshow-container img {
        height: 600px; /* Adjust image size for mobile */
    }
}

@media screen and (max-width: 480px) {
    .numbertext {
        font-size: 16px;
        padding: 8px 16px;
        top: 90%;
    }
}


