/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #033067;
    margin: 0;
    padding: 0;
    margin-top: 5%;
}

/* Navbar Code  */
.nav-item.dropdown {
    position: relative;
  }
  
  .nav-link.dropdown-toggle::after {
    display: none; /* Hides default Bootstrap arrow */
  }
  
  /* Prevent dropdown from exceeding the viewport */
  .dropdown-menu {
    display: flex;
    flex-direction: row; /* Arrange items in a row */
    white-space: nowrap; /* Prevent items from wrapping into the next line */
    overflow-x: auto; /* Add horizontal scroll if the content overflows */
    max-width: 100vw; /* Ensure dropdown doesn't exceed the viewport width */
    position: absolute;
    top: 100%; /* Align dropdown just below the menu */
    left:0; /* Align dropdown to the left */
    z-index: 1000; /* Ensure the dropdown appears above other elements */
  }
  
  /* Style the dropdown items */
  .dropdown-item {
    flex: 0 0 auto; /* Prevent flex items from shrinking */
    padding: 10px;
    box-sizing: border-box;
    display: inline-block; /* Ensure items are inline */
  }
  
  /* Optional: Add smooth scrolling */
  .dropdown-menu::-webkit-scrollbar {
    height: 8px; /* Customize scrollbar height */
  }
  
  .dropdown-menu::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3); /* Customize scrollbar color */
    border-radius: 10px;
  }

  .col-md-6 h2{
    font-family: Arial, sans-serif;
    color: #DDF903;
  }
  
  /* Display on hover */
  .nav-item:hover .dropdown-menu {
    display: flex;
    opacity: 1;
    visibility: visible;
    width: auto;
    top: 100%;
    left: -50%;
  }
  
  /* Each dropdown column is now a row */
  .dropdown-column {
    padding: 10px;
    box-sizing: border-box;
  }
  .logo-img {
    width: 50px;
    height: auto;
  }
  .dropdown-header {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
    color: #333;
  }
  
  .dropdown-item {
    display: block;
    padding: 5px 10px;
    clear: both;
    font-weight: 400;
    
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
  }
  
  .dropdown-item:hover {
    color: black;
    font-weight: bold;
  }
  
  /* Custom dropdown for the 'Consulting' menu */
  .custom-dropdown .custom-menu {
    display: none;
    position: absolute;
    background-color: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
     left: 71%;
      top: 40px;
      left: -12%;
      width: max-content;
      text-align: center;
  }
  
  .custom-dropdown:hover .custom-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  
  /* Custom menu items */
  .custom-menu .custom-item {
    padding: 8px 16px;
    display: block;
    text-decoration: none;
  }
  
  .custom-menu .custom-item:hover {
    color: black;
    font-weight: bold;
  }
  
  /* Ensure dropdowns don't overlap or stack awkwardly */
  .nav-item {
    position: relative;
  }
  
  .nav-item .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -150px;
    z-index: 1;
    width: auto;
  }
  
  
  
  
  /* Clear floats */
  .dropdown-menu::after,
  .dropdown-menu::before {
    content: "";
    display: table;
    clear: both;
  }
  
  
  
  /* Navbar styles */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: white;
  }
  .nav-links {
    list-style: none;
    display: flex;
  }
  /* Basic styling */
  .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
  }
  .nav-links li {
    position: relative;
  }
  .nav-links a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    color: white;
  }
  
  .nav-links li {
    margin: 0px 17px;
      left: 0;
  }
  /* Basic navbar styling */
  .navbar {
    
    padding: 0px;
  }
  
  .navbar ul {
    list-style-type: none;
    margin-left: -1%;
  }
  
  .navbar ul li {
    display: inline-block;
    position: relative;
  }
  
  .navbar ul li a { 
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    margin-left: -9%;
    color: #000 !important;
  }
  
  
  
  

  
  .img-fluid1 {
    max-width: 57%;
    height: auto;
    margin-top:2%;
}
  
.img-fluid {
  max-width: 67%;
  height: auto;}
  
  
  
  
  
  

/* Header */
header {
    background-color: #282828;
    color: white;
    padding: 30px 0;
}

/* Team Photo */
.team-photo {
    max-width: 100%; /* Full width for mobile */
    height: auto;
    border-radius: 10px;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

/* Content Section */
.description {
    font-size: 1.1rem;
    color: white;
    line-height: 1.6;
    margin-top: 15px;
}

/* Video Section */
.video-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mt-2 {
    margin-top: .5rem !important;
    color: white;
}

/* Footer */
.footer {
    background-color: #000;
    color: white;
}
.video-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* Allow videos to wrap on smaller screens */
}

.video-row video {
    width: 40%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 4%;
}

@media (max-width: 768px) { /* For tablets and smaller devices */
    .video-row {
        justify-content: center; /* Center videos */
        gap: 5px; /* Reduce gap between videos */
    }

    .video-row video {
        width: 80%; /* Make videos larger for better visibility */
        margin-bottom: 3%;
    }
}

@media (max-width: 480px) { /* For mobile devices */
    .video-row {
        flex-direction: column; /* Stack videos vertically */
        justify-content: center;
        gap: 10px;
    }

    .video-row video {
        width: 100%; /* Full width for small screens */
        margin-bottom: 5%;
    }
}



/* Responsive Design */
@media (max-width: 768px) {
    .text-md-start {
        text-align: center !important; /* Center text on small screens */
    }

    .video-box video {
        width: 100%; /* Full width video for mobile */
    }
}

/* Footer code  */
/* footer  */
.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  
  .footer-section {
    text-align: start;
    margin-left: 3%;
  }
  
  .footer-logo {
    width: 60px;
    height: auto;
  }
  
  .footer-section h6 {
    color: red;
    /* margin-left: -41%; */
  }
  
  .footer-section p, .footer-section a {
    color: black;
    text-decoration: none;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section ul li a {
    color: black;
    text-decoration: none;
  }
  
  .footer-bottom-text {
    text-align:start;
    padding-top: 20px;
    border-top: 1px solid #444;
    background-color: white;
  }
  
  .footer-bottom {
    margin-left: -19px;
    margin-bottom: -25px;
    padding-top: 20px;
    background-color: white;
  }
  
  .social-icons {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  

  .span{
    color: red;
  }
  .social-icons img {
    width: 30px;
  }
  .footer-bottom-text p{
    color: #000;
    margin-left: 4%;
  }
   /* Footer styles */
.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  
  .footer-section {
    min-width: 200px;
  }
  
  /* .footer-section h3 {
    color: #fff200;
    margin-bottom: 10px;
  } */
  
  .footer-section ul {
    list-style: none;
    padding: 0;
    /* text-align: start; */
  }
  
  .footer-section ul li {
    margin-bottom: 8px;
  }
  
  .footer-section ul li a {
    color: black;
    text-decoration: none;
  }
  
  .footer-section-1{
    position: absolute;
    left: 1%;
    margin-top: 13%;
    }
  .footer-section-1{
    color:red;
  }
  .footer-section ul li a:hover {
    font-weight: bold;
  } 
  .footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: white;
  }
  .social-icons {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .social-icons img {
    width: 30px;
  }
  
  

  @media screen and (max-width: 768px) {
    .footer-section-1 {
        position: relative;
        left: 0;
        margin-top: 5%;
        width: 100%;
        padding: 10px;
        }
        .footer-container {
            flex-direction: column;
            align-items: center;
          }

        .footer-container {
            flex-direction: column;
            align-items: center;
          }
          .social-icons {
            gap: 5px; /* Reduce gap between icons */
          }
        
          .social-icons img {
            width: 25px; /* Reduce the size of the icons on mobile for better layout */
          }
   }