.navigation-links2-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  flex-direction: row;
}
.navigation-links2-text1 {
  margin-left: var(--dl-space-space-twounits);
}
.navigation-links2-text2 {
  margin-left: var(--dl-space-space-twounits);
}
.navigation-links2-text3 {
  margin-left: var(--dl-space-space-twounits);
}
.navigation-links2-text4 {
  margin-left: var(--dl-space-space-twounits);
}
.navigation-links2-text5 {
  margin-left: var(--dl-space-space-twounits);
}
.navigation-links2-text6 {
  margin-left: var(--dl-space-space-twounits);
}






@keyframes gradientCycle {
    0%, 100% {background-position: 65% 0%}
    50% {background-position: 36% 100%}
}

/* Logo and Header Styles */
.header-logo-mobile {
  display: none;
}

@media (max-width: 768px) {
  .header-logo-mobile {
    display: block;
  }
}

/* Enhanced Button Interactions */
.button {
  transition: all 0.3s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 169, 255, 0.3);
}

.button:active {
  transform: translateY(0);
}

/* Touch-friendly navigation */
.navigation-links2-nav a {
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 4px;
}

.navigation-links2-nav a:hover {
  background-color: rgba(20, 169, 255, 0.1);
  transform: translateY(-1px);
}

/* Enhanced mobile menu */
.home-mobile-menu.is-active {
  animation: slideInFromTop 0.3s ease-out;
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.video-loading {
  animation: pulse 2s infinite;
}

/* Improved focus states for accessibility */
a:focus, button:focus {
  outline: 2px solid #14A9FF;
  outline-offset: 2px;
}

/* Better spacing for touch targets */
@media (max-width: 768px) {
  .navigation-links2-nav a {
    padding: 12px 16px;
    margin: 4px 0;
    display: block;
  }
  
  .button {
    min-height: 44px;
    padding: 12px 24px;
  }
}

/* Rounded Box Component */
.rounded-box {
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  margin: 10px;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  line-height: 1.6;
}

/* Video Container Styles */
.videos-container {
  max-width: 1200px;
  margin: 0 auto;
}

.video-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 560px; /* Match the original video size */
}

/* Force both videos to be exactly the same size */
.video-wrapper iframe,
.video-wrapper video {
  width: 560px;
  height: 315px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  object-fit: cover;
  display: block;
}

/* Ensure video element specifically has rounded corners */
.video-wrapper video {
  border-radius: 12px !important;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
}

/* Responsive adjustments for videos */
@media (max-width: 1200px) {
  .videos-container {
    gap: 15px !important;
  }
  
  .video-wrapper {
    max-width: 480px;
  }
  
  .video-wrapper iframe,
  .video-wrapper video {
    width: 480px;
    height: 270px;
    border-radius: 12px;
  }
}

@media (max-width: 1024px) {
  .video-wrapper {
    max-width: 400px;
  }
  
  .video-wrapper iframe,
  .video-wrapper video {
    width: 400px;
    height: 225px;
    border-radius: 12px;
  }
}

@media (max-width: 768px) {
  .videos-container {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: center;
  }
  
  .video-wrapper {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
  }
  
  .video-wrapper iframe,
  .video-wrapper video {
    width: 100%;
    height: 56.25vw; /* Maintain 16:9 aspect ratio */
    max-height: 315px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .video-wrapper iframe,
  .video-wrapper video {
    width: 100%;
    height: 56.25vw; /* Maintain 16:9 aspect ratio */
    max-height: 250px;
    border-radius: 8px; /* Slightly smaller radius on very small screens */
  }
}



@media(max-width: 767px) {
  .navigation-links2-nav {
    align-items: flex-start;
    flex-direction: column;
  }
  .navigation-links2-text {
    margin-bottom: var(--dl-space-space-unit);
  }
  .navigation-links2-text1 {
    margin-left: 0;
    margin-bottom: var(--dl-space-space-unit);
  }
  .navigation-links2-text2 {
    margin-left: 0;
    margin-bottom: var(--dl-space-space-unit);
  }
  .navigation-links2-text3 {
    margin-left: 0;
    margin-bottom: var(--dl-space-space-unit);
  }
  .navigation-links2-text4 {
    margin-left: 0;
    margin-bottom: var(--dl-space-space-unit);
  }
  .navigation-links2-text5 {
    margin-left: 0;
    margin-bottom: var(--dl-space-space-unit);
  }
  .navigation-links2-text6 {
    margin-left: 0;
    margin-bottom: var(--dl-space-space-unit);
  }
}

.home-container {
  width: 100%;
  display: flex;
  overflow: auto;
  min-height: 100vh;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
}
.home-header {
    display: flex;  /* Aligns items in a row and allows better control */
    align-items: center;  /* Vertically centers the content */
    height: 100px;  /* Limiting the header height */
}

.header-logo {
    height: auto;  /* Adjust height to fit the header */
    width: 200px;   /* Set a specific width or use auto to maintain aspect ratio */
    vertical-align: middle;  /* Aligns the image vertically with the text in the links */
    margin-right: 100px;  /* Adds some space between the logo and the first link */
}
.home-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  flex-direction: row;
}
.home-burger-menu {
  display: none;
}
.home-icon {
  width: var(--dl-size-size-xsmall);
  height: var(--dl-size-size-xsmall);
  display: flex;
}
.home-mobile-menu {
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  display: none;
  padding: 32px;
  z-index: 100;
  position: absolute;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
}
.home-nav1 {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.home-container01 {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: var(--dl-space-space-threeunits);
  justify-content: space-between;
}
.home-close-mobile-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 30px; /* Increased from 10px to 30px */
  left: 10px;
  z-index: 1001; /* Ensure it's above the burger menu */
}
.home-icon02 {
  width: var(--dl-size-size-xsmall);
  height: var(--dl-size-size-xsmall);
}
.home-hero {
    width: 100%;
    display: flex;
    padding: var(--dl-space-space-threeunits);
    min-height: 80vh;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(314deg, #3ea5db, #164fba, #5e8de5, #33b3ea);
    background-size: 800% 800%;
    animation: gradientCycle 8s ease infinite;
}
.home-container02 {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.home-image {
  width: auto;
  height: auto;
  align-self: flex-start;
  object-fit: cover;
}
.home-text {
  color: #ffffff;
  font-size: 3rem;
  align-self: flex-start;
}
.home-text07 {
  color: #ffffff;
  align-self: center;
  margin-top: var(--dl-space-space-twounits);
  text-align: center;
  padding-left: var(--dl-space-space-threeunits);
  margin-bottom: var(--dl-space-space-twounits);
  padding-right: var(--dl-space-space-threeunits);
}
.home-container03 {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.home-container04 {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  display: flex;
  align-self: center;
  align-items: flex-start;
  justify-content: center;
}
.home-container05 {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  display: flex;
  position: relative;
  align-items: flex-start;
  justify-content: center;
}
.home-container06 {
  display: flex;
  position: relative;
  align-items: center;
  flex-direction: column;
}
.home-container07 {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.home-container08 {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.home-image1 {
  width: auto;
  height: auto;
  object-fit: cover;
}
.home-banner {
  width: 100%;
  display: flex;
  padding: var(--dl-space-space-threeunits);
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
}
.home-text13 {
  color: #ffffff;
  font-size: 3rem;
  text-align: center;
}
.home-text14 {
  color: #fdfdfd;
  max-width: var(--dl-size-size-maxwidth);
  margin-top: var(--dl-space-space-twounits);
  text-align: center;
  margin-bottom: var(--dl-space-space-twounits);
}
.home-container09 {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.home-button {
  transition: 0.3s;
  padding-top: var(--dl-space-space-unit);
  padding-left: var(--dl-space-space-twounits);
  padding-right: var(--dl-space-space-twounits);
  padding-bottom: var(--dl-space-space-unit);
}
.home-button:hover {
  transform: scale(1.02);
}
.home-button1 {
  color: var(--dl-color-gray-white);
  transition: 0.3s;
  padding-top: var(--dl-space-space-unit);
  padding-left: var(--dl-space-space-twounits);
  margin-bottom: var(--dl-space-space-unit);
  padding-right: var(--dl-space-space-twounits);
  padding-bottom: var(--dl-space-space-unit);
  background-color: var(--dl-color-gray-black);
}
.home-button1:hover {
  transform: scale(1.02);
}
.home-text15 {
  color: #ffffff;
  font-size: 50px;
  font-style: normal;
  font-weight: 600;
}
.home-footer {
  width: 100%;
  display: flex;
  max-width: var(--dl-size-size-maxwidth);
  align-items: center;
  padding-top: var(--dl-space-space-twounits);
  padding-left: var(--dl-space-space-threeunits);
  padding-right: var(--dl-space-space-threeunits);
  padding-bottom: var(--dl-space-space-twounits);
  justify-content: space-between;
}
.home-icon-group {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
}
.home-icon04 {
  width: var(--dl-size-size-xsmall);
  height: var(--dl-size-size-xsmall);
  margin-right: var(--dl-space-space-twounits);
}
.home-icon06 {
  width: var(--dl-size-size-xsmall);
  height: var(--dl-size-size-xsmall);
  margin-right: var(--dl-space-space-twounits);
}
.home-icon08 {
  width: var(--dl-size-size-xsmall);
  height: var(--dl-size-size-xsmall);
  margin-right: var(--dl-space-space-twounits);
}
.home-icon10 {
  width: var(--dl-size-size-xsmall);
  height: var(--dl-size-size-xsmall);
}
@media(max-width: 1600px) {
  .home-hero {
    width: 100%;
  }
  .home-image {
    width: 235px;
    height: 210px;
  }
  .home-text {
    color: #ffffff;
  }
  .home-text07 {
    color: #ffffff;
  }
  .home-text13 {
    color: #ffffff;
    font-size: 3rem;
  }
  .home-text14 {
    color: #ffffff;
  }
  .home-button1 {
    color: var(--dl-color-gray-white);
    background-color: var(--dl-color-gray-black);
  }
  .home-text15 {
    color: #f3f3f3;
    font-size: 50px;
    font-style: normal;
    margin-top: var(--dl-space-space-unit);
    font-weight: 600;
  }
  .home-icon06 {
    width: 23px;
    height: 20px;
    margin-right: var(--dl-space-space-twounits);
  }
}
@media(max-width: 1200px) {
  .home-image1 {
    width: 772px;
    height: 342px;
  }
  .home-button {
    width: auto;
  }
  .home-text15 {
    color: #ffffff;
    font-size: 50px;
    font-style: normal;
    margin-top: var(--dl-space-space-unit);
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
  }
}
@media(max-width: 991px) {
  .home-nav {
    position: relative;
  }
  .home-hero {
    flex-direction: column;
  }
  .home-text {
    font-size: 3rem;
    text-align: left;
  }
  .home-text07 {
    margin: var(--dl-space-space-twounits);
    padding: var(--dl-space-space-halfunit);
    align-self: center;
    text-align: center;
  }
  .home-container06 {
    align-items: center;
    margin-right: 0px;
    margin-bottom: var(--dl-space-space-twounits);
  }
  .home-button {
    width: 990px;
    padding-top: var(--dl-space-space-halfunit);
    border-width: 0px;
    border-radius: 0px;
    padding-bottom: var(--dl-space-space-halfunit);
  }
  .home-button1 {
    width: 990px;
    padding-top: var(--dl-space-space-halfunit);
    border-width: 0px;
    border-radius: 0px;
    padding-bottom: var(--dl-space-space-halfunit);
  }
  .home-text15 {
    font-style: normal;
    margin-top: var(--dl-space-space-unit);
    font-weight: 600;
  }
}
@media(max-width: 767px) {
  .home-header {
    padding-left: var(--dl-space-space-twounits);
    padding-right: var(--dl-space-space-twounits);
  }
  .home-nav {
    display: none;
  }
.home-burger-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute; /* Add positioning context */
    top: 10px; /* Adjust top spacing */
    left: 10px; /* Position it from the left side of the viewport */
    z-index: 1000; /* Make sure it's above other content */
}
  .home-mobile-menu {
    width: 96px;
    height: 297px;
    display: none;
    border-bottom-right-radius: 10px;
  }
  .home-hero {
    padding-left: var(--dl-space-space-twounits);
    padding-right: var(--dl-space-space-twounits);
  }
  .home-text07 {
    margin: var(--dl-space-space-twounits);
    padding: var(--dl-space-space-unit);
    align-self: center;
    text-align: left;
  }
  .home-banner {
    padding-left: var(--dl-space-space-twounits);
    padding-right: var(--dl-space-space-twounits);
  }
  .home-text14 {
    padding-left: var(--dl-space-space-unit);
    padding-right: var(--dl-space-space-unit);
  }
  .home-button {
    width: 766px;
    align-self: center;
    margin-left: 0px;
    border-width: 0px;
    margin-right: 0px;
    border-radius: 0px;
  }
  .home-button1 {
    width: 766px;
    border-radius: 0px;
  }
  .home-text15 {
    margin-top: var(--dl-space-space-unit);
  }
  .home-footer {
    padding-left: var(--dl-space-space-twounits);
    padding-right: var(--dl-space-space-twounits);
  }
  .home-text16 {
    text-align: center;
    margin-left: var(--dl-space-space-unit);
    margin-right: var(--dl-space-space-unit);
  }
}
@media(max-width: 479px) {
  .home-header {
    padding: var(--dl-space-space-unit);
  }
  .home-nav {
    display: none;
  }
  .home-mobile-menu {
    width: 119px;
    height: 297px;
    display: none;
    padding: 16px;
  }
  .home-hero {
    padding-top: var(--dl-space-space-twounits);
    padding-left: var(--dl-space-space-unit);
    padding-right: var(--dl-space-space-unit);
    padding-bottom: var(--dl-space-space-twounits);
  }
  .home-image {
    top: 51px;
    left: 4px;
    width: 188px;
    height: 193px;
    position: absolute;
  }
  .home-text {
    width: 330px;
    height: 118px;
    font-size: 1rem;
    align-self: flex-start;
    margin-top: 0px;
    text-align: right;
    margin-bottom: 3px;
  }
  .home-text07 {
    align-self: center;
  }
  .home-container04 {
    position: relative;
  }
  .home-container06 {
    top: 0px;
    left: 0px;
    position: absolute;
    align-self: center;
  }
  .home-image1 {
    width: 445px;
    height: 205px;
  }
  .home-banner {
    padding-top: var(--dl-space-space-twounits);
    padding-left: var(--dl-space-space-unit);
    padding-right: var(--dl-space-space-unit);
    padding-bottom: var(--dl-space-space-twounits);
  }
  .home-text14 {
    color: #e4e4e4;
  }
  .home-button {
    width: 478px;
    margin-top: var(--dl-space-space-unit);
    margin-left: 0px;
    border-width: 0px;
    border-radius: 0px;
  }
  .home-button1 {
    width: 478px;
    border-radius: 0px;
    padding-right: var(--dl-space-space-unit);
  }
  .home-text15 {
    color: #ffffff;
    text-align: center;
  }
  .home-footer {
    padding: var(--dl-space-space-unit);
    flex-direction: column;
  }
  .home-text16 {
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: var(--dl-space-space-unit);
  }
}

/* Hide the mobile menu by default */
.home-mobile-menu {
    display: none;
}

/* Show the mobile menu when 'is-active' class is added */
.home-mobile-menu.is-active {
    display: block;
}

/* Add additional styling for the mobile menu here */

.menu-text {
    /* Add your styling here */
    margin-left: 10px; /* Adjust as needed */
    vertical-align: middle; /* Align with the icon */
    /* Other styling */
}

.grid-container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* One larger column for the big image, and one smaller */
    grid-template-rows: repeat(3, 1fr); /* Three rows for smaller images */
    gap: 7px;
    width: 100%;
    max-width: 750px;
}

.grid-image {
    width: 100%;
    height: 100%; /* Adjusted to fill the container */
    object-fit: cover;
}

.grid-smallimage {
    width: ;
    height: 100%; /* Adjusted to fill the container */
    object-fit: cover;
}

.large-image {
    grid-column: 1 / 2; /* Occupies the first column */
    grid-row: 1 / 4; /* Spans all three rows vertically */
}


/* Media query for screens smaller than 600px */
@media (max-width: 600px) {
  .grid-container {
      grid-template-columns: 1fr; /* only one column */
      grid-template-rows: auto auto auto auto; /* four rows */
  }
}

.header-logo-mobile {
  display: none; /* Ensures it's hidden on larger screens */
  width: 200px; /* Set the width as required */
  margin: 10px auto; /* Center the logo horizontally */
}

/* Show the logo only on screens smaller than 600px */
@media (max-width: 600px) {
  .header-logo-mobile {
      display: block; /* Only show on small screens */
  }
}


@media (max-width: 600px) {
    .home-burger-menu {
        justify-content: flex-start; /* Align items to the start of the flex container, i.e., left side */
        left: 10px; /* Ensure it stays on the left */
    }
}


.team-section {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.team-member {
  width: 20%; /* Adjust based on how many members per row you want */
  position: relative;
  text-align: center;
  margin: 10px;
  margin-bottom: 50px; /* Increased bottom margin to prevent overlap */
}

.member-image {
  position: relative;
  overflow: hidden;
  width: 100%; /* Ensures the image container fits the parent */
  min-height: 300px; /* Minimum height for images */
}

.member-image img {
  width: 100%; /* Ensures the image stretches to cover the container width */
  height: 100%; /* Ensures the image stretches to cover the container height */
  object-fit: cover; /* Ensures the image covers the space without distortion */
  transition: transform 0.5s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7); /* Black background with opacity */
  color: white;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.overlay p {
  margin: 0; /* Removes default paragraph margin */
}

.member-image:hover .overlay {
  visibility: visible;
  opacity: 1;
  bottom: 0; /* Ensures overlay grows downward with content */
}

.member-image:hover img {
  transform: scale(1.1); /* Optional: Scales the image on hover */
}

.team-member h3,
.team-member p {
  color: white; /* Sets the text color to white for names and descriptions */
}

.teamhome-hero {
  width: 100%;
  display: flex;
  padding: var(--dl-space-space-threeunits);
  min-height: 80vh;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background-image: radial-gradient(circle at left top, rgb(30 31 29) 0.00%, rgb(37 67 91) 54.00%);
}

@media (max-width: 768px) {
  .team-member {
    width: 100%; 
  }
}