@charset "utf-8";
.team_row {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.team_col {
  padding: 5px; /* 2px gap total (1px each side) */
  width: 16.6666%; /* 100% / 6 columns */
  box-sizing: border-box;
}

/*.team_thumb {
  position: relative;
  overflow: hidden;
}*/

    .servicedetailfirst-section {
     padding: 80px 0 20px 0;
      background-color: #fff;
    }
  .servicedetail-section {
     padding: 2px 0;
      background-color: #fff;
    }

    .servicedetail-img {
      max-width: 100%;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .servicedetail-section {
     padding: 0px 0;
      background-color: #fff;
    }
    .servicedetail-content h2 {
   font-size: 2rem;
		padding-top: 0;
      margin-bottom: 10px;
    }
  .servicedetail-content p {
      font-size: 1.1rem;
      color: #444;
      line-height: 1.7;
    }

    .small-image {
      max-width: 100%;
      max-height: 250px;
      border-radius: 8px;
      object-fit: cover;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .image-column {
      text-align: center;
		padding: 0px;
		padding-bottom: 20px;
    }
    

    .btn-learn-more {
      margin-top: 20px;
      padding: 10px 24px;
      background-color: #007bff;
      color: white;
      text-decoration: none;
      border-radius: 5px;
      display: inline-block;
    }

.team_collast {
 padding: 2px; /* 2px gap total (1px each side) */
  width: 155px; /* 100% / 6 columns */
  box-sizing: border-box;

}
.teamdetail-header {
      text-align: center;
      margin-bottom: 40px;
    }
    .profile-card {
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 6px;
      padding: 20px;
      margin-bottom: 30px;
      box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
      overflow: hidden;
      display: flex;
      align-items: flex-start;
    }
    .profile-card img {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 20px;
    }
    .profile-info {
      flex: 1;
    }
    .profile-info h3 {
      margin-top: 0;
      margin-bottom: 5px;
      font-size: 24px;
      color: #007BFF;
    }
    .profile-info .role {
      font-size: 16px;
      color: #555;
      margin-bottom: 15px;
    }
    .profile-info .bio {
      font-size: 12px;
      line-height: 1.5;
      color: #666;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
      .profile-card img {
        margin: 0 0 15px 0;
      }
      .profile-info h3, .profile-info .role, .profile-info .bio {
        text-align: center;
      }
    }
.achievements-row {
  display: flex;
  /* makes the boxes align in a row and stretch height */
  gap: 20px; /* space between boxes, optional */
}

/* Container makes the boxes equal height using flex */
.achievements-row {
  display: flex;
  gap: 20px; /* space between boxes */
}

/* The boxes themselves */
.achievement-box {
  flex: 1;
  background-color: #007BFF; /* blue color, adjust as needed */
  color: #ffffff;
  padding: 20px;
  border: 1px solid #0056b3;
  box-sizing: border-box;
  /* ensure equal height by default since flex container */
  /* optionally set a min-height if desired */
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertically center content if less text */
  /* hidden initially for animation */
  opacity: 0;
}

/* Animation classes */
.animate {
  animation-fill-mode: forwards;
  /* ensure it stays after animation */
}

/* keyframes for fadeInUp (fade + slight upward motion) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* apply animation */
.fadeInUp {
  animation-name: fadeInUp;
  animation-duration: 0.8s;
  /* optional easing */
  animation-timing-function: ease-out;
}
.team_description{
	height: 58px; overflow: hidden;}
.team_description h4,h5 {
  margin-top: 0;
	font-size: 11px;
	margin-bottom: 4px;
}
.team_description h5 {
  margin-top: 0;
margin-bottom: 4px;
	font-size: 9.5px;
}
.team_thumb img {
  width: 100%;
  display: block;
}

.team_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 10px;
  text-align: center;
}

.team_thumb:hover .team_overlay {
  opacity: 1;
}

.overlay-text {
  font-size: 14px;
	text-align: center;
	color: rgba(239,20,23,1.00);
	align-content: center;
	padding: 30px;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  
}

.team_description {
  text-align: center;
  padding: 10px 0 0;
}

.social_icon {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
}

.social_icon li a {
  color: white;
  font-size: 16px;
}

   .containerwork {
    display: flex;
    gap: 20px; /* space between sections */
    padding: 20px;
  }

  .horizontal-gallery {
    display: flex;
    overflow-x:hidden;
    gap: 0;                        /* no space between items */
    padding: 10px 0;
    white-space: nowrap;
}

.gallery-item {
    flex: 0 0 auto;
    width: 154px;                  /* adjust if needed */
    margin-right: 0;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 140px;                 /* FIX: ensures images appear */
    object-fit: cover;             /* maintains crop without distortion */
    display: block;
    background: #222;              /* prevents empty area flash */
}

.gallery-text a {
    color: #fff;
    background: #333;
    display: block;
    padding: 8px 0;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.gallery-text a:hover {
    background: #000;
}
.horizontal-gallerywork {
 display: flex;
    justify-content: space-between; /* distributes items evenly */
    flex-wrap: nowrap;
    padding: 10px 0;
}


.gallery-itemwork {
  flex: 0 0 24%; /* 4 items in one row, small margin */
    box-sizing: border-box;
}

.gallery-itemwork img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}
	/* fllet*/
.table-row {
    width: 100%;
}

.table-row .cell {
    width: 16.66666666666667% ;      /* 6 columns */
    float: left;
    border-right: 1px solid #777;
    border-bottom: 1px solid #777;
    box-sizing: border-box;
    text-align: center;
}

.table-row .cell:last-child {
    border-right: none;
}

.table-row .cell a {
    display: block;
    padding: 10px 10px;
    color: #fff;
    text-decoration: none;
    background: #5f5c5c;
}

.table-row .cell a:hover {
    background: #777;
}

/* Clear floats */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Mobile */
@media (max-width: 768px) {
    .table-row .cell {
        width: 50%;
    }
}

/* Adjust headers to avoid double borders */
.fleet-header {
    border: none;
    border-bottom: 1px solid #777;
}

.fleet-subheader {
    border-left: none;
    border-right: none;
}