* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body,
html {
  font-family: "Poppins", sans-serif;
  height: 100%;
  font-weight: 600;
  flex-direction: column;
}

a {
  color: #fca311;
  transition: 0.3s;
}

a:hover,
a:active,
a:focus {
  color: #14213d;
  outline: none;
  text-decoration: none;
}

.btn:focus {
  box-shadow: none;
}

.wrapper {
  position: relative;
  width: 100%;
  background: #d5d5d5;
}
.back-to-top {
  position: fixed;
  display: none;
  background: #fca311;
  color: #1f386e;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 22px;
  border-radius: 50%;
  right: 20px;
  bottom: 20px;
  transition: background 0.5s;
  z-index: 9;
}

.back-to-top:hover {
  color: #fca311;
  background: #14213d;
}

.back-to-top i {
  padding-top: 10px;
}

.btn {
  transition: 0.3s;
}



/**********************************/
/********** Top Bar CSS ***********/
/**********************************/
.top-bar {
  height: 90px;
  background: #0c1f31;
  padding: 0px;
}

.top-bar .logo {
  padding: 15px 0;
  text-align: left;
}

.top-bar .logo img {
  max-height: 60px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.top-bar-icon {
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #fff;
}

.top-bar-text {
  padding-left: 15px;
  color: #fff;
}

.top-bar-text h3,
.top-bar-text p {
  width: 200px;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.top-bar .logo span#asedata{
  display: block;
  color: white;
  margin-top: -20px;
  margin-left: 15%;
}

@media screen and (max-width: 1130px) {
  .top-bar .logo h2 {
    font-size: 1.8rem;
  }
}
@media screen and (max-width: 1060px) {
  .top-bar .logo h2 {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 991px) {
  .top-bar .logo span#asedata{
    display: block;
    color: white;
    margin-top: -20px;
    margin-left: 6%;
  }
}
@media screen and (max-width: 840px) {
  .top-bar .logo span#asedata{
    margin-left: 7%;
  }
}
@media screen and (max-width: 650px) {
  .top-bar .logo span#asedata{
    margin-left: 9%;
  }
}
@media screen and (max-width: 550px) {
  .top-bar .logo span#asedata{
    margin-left: 10%;
  }
}
@media screen and (max-width: 500px) {
  .top-bar .logo span#asedata{
    margin-left: 14%;
  }
}
@media screen and (max-width: 430px) {
  .top-bar .logo h2 {
    font-size: 1.5rem;
  }
}


/* General Navbar Styling */
/* Navbar Styling */
/* Navigation Bar */
.nav-bar {
  position: relative;
  transition: 0.3s;
  background: #e5e5e5;
  z-index: 998;
}

.nav-bar.nav-sticky {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 1366px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.nav-bar .navbar {
  background: #e5e5e5 !important;
}

.navbar-nav {
  margin-left: 0;
}

.navbar-dark .navbar-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 40px;
  font-size: 14px;
  font-weight: 500;
  color: #14213d;
  text-decoration: none;
}

.navbar-nav .nav-link img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  filter: brightness(0);
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #fca311;
  text-decoration: underline;
  text-decoration-color: #fca311;
}

.phone {
  color: #14213d;
  border: 2px solid #fca311;
  border-radius: 20px;
  padding: 5px 10px;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.btn-call span {
  padding: 2px;
}

.btn-call:hover {
  color: #fca311;
  background: #1f386e;
  border-color: #1f386e;
  border-radius: 5px;
}

.pp1:hover {
  color: #fca311;
}

/* Hide MENU brand on large screens */
@media (min-width: 992px) {
  .navbar-brand {
    display: none !important;
  }
}

/* Responsive Mobile Styling */
@media (max-width: 991.98px) {
  .nav-bar .navbar {
    padding: 15px;
  }

  .nav-bar .nav-link {
    padding: 8px 15px;
    margin-right: 0;
  }

  .phone {
    display: none !important;
  }

  .navbar-nav {
    width: 100%;
  }

  .nav-item {
    text-align: left;
  }
}

.navbar-dark .navbar-brand {
  color: black;
}



/* ----------------------------*/
/**********************************/
/**********************************/

.container-main {
  background: #14213d;
  width: 100%;
  text-align: center;
  padding: 50px;
  margin-bottom: -45px;
  box-shadow: 1px 1px 20px 1px gray;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #e5e5e5;
  font-weight: 700;
}

.top_content {
  padding: 10px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.top_content h3 {
  font-size: 18px;
  margin-right: 15px;
}

/* Labels styling */
label {
  cursor: pointer;
  font-size: 16px;
  padding: 10px 20px;
  background: #fca311;
  color: #14213d;
  border-radius: 10px;
  transition: 0.3s;
  font-weight: 600;
  white-space: nowrap; /* Prevents text from wrapping */
}

label:hover {
  color: #000;
  background: #fff;
  box-shadow: 1px 1px 5px 1px black;
}

/* Make labels responsive */
@media (max-width: 768px) {
  .top_content {
      align-items: center;
      gap: 5px;
  }

  label {
      font-size: 20px;
      padding: 12px 12px; /* Reduce padding */
  }
}

@media (max-width: 620px) {
  label {
      font-size: 18px; /* Even smaller font size for very small screens */
      padding: 12px 12px;
  }
}
@media (max-width: 575px) {
  label {
      font-size: 15px; /* Even smaller font size for very small screens */
      padding: 12px 12px;
  }
}
@media (max-width: 480px) {
  label {
      font-size: 14px; /* Even smaller font size for very small screens */
      padding: 10px 12px;
  }
}
@media (max-width: 460px) {
  label {
      font-size: 13px; /* Even smaller font size for very small screens */
      padding: 10px 12px;
  }
}
@media (max-width: 440px) {
  label {
      font-size: 12px; /* Even smaller font size for very small screens */
      padding: 10px 12px;
  }
}
@media (max-width: 420px) {
  label {
      font-size: 10px; /* Even smaller font size for very small screens */
      padding: 9px 12px;
  }
}
@media (max-width: 360px) {
  label {
      font-size: 8px; /* Even smaller font size for very small screens */
      padding: 9px 12px;
  }
}
.photo_gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}



.image-container {
  position: relative;
  width: inherit;
  height: inherit;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.8s ease, opacity 0.8s ease;
  animation: cont 2s ease-in-out;
}

@keyframes cont {
  from {
    opacity: 0;
    scale: 0;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    scale: 1;
    filter: blur(0);
  }
}

.image-container img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.overlay-text {
  position: absolute;
  bottom: 0;
  background: #fca211d5;
  color: #14213d;
  width: 95%;
  text-align: center;
  padding: 10px;
  font-size: 16px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  z-index: 9999;
}

.image-container:hover .overlay-text {
  opacity: 1;
  transform: translateY(0);
}

.overlay-text-completed {
  position: absolute;
  bottom: 0;
  background: #14213dab;
  color: #fca311;
  width: 100%;
  height: 100%;
  text-align: center;
  align-content: center;
  padding: 10px;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  z-index: 9999;
}

.image-container:hover .overlay-text-completed {
  opacity: 1;
  transform: translateY(0);
}

.image-container h2{
  font-size: 22px;
}
.photo_gallery img {
  width: 280px; /* Set a fixed width */
  height: 300px; /* Set a fixed height */
  object-fit: cover; /* Ensures images fill the box without distortion */
  border-radius: 10px;
  transition: transform 0.3s ease;
  opacity: 1; /* Images are now visible by default */
  transform: translateX(0); /* Images are in their original position */
  
}
.photo_gallery img:hover{
  transition: 0.3s;
  border: 3px solid #fca311;
  filter: drop-shadow(2px );
}

.pic_team,
.pic_current,
.pic_completed {
  display: none; /* Initially hide all specific categories */
}

#check1:checked ~ .container-main .photo_gallery div { /* Show all divs when "ALL" is checked */
  display: block;
}

#check2:checked ~ .container-main .photo_gallery .pic_team {
  display: block;
}

#check3:checked ~ .container-main .photo_gallery .pic_current {
  display: block;
}

#check4:checked ~ .container-main .photo_gallery .pic_completed {
  display: block;
}


/* Filtering logic using radio inputs */
input {
  display: none;
}
@media (max-width: 670px) {
  .photo_gallery img {
    width: 95%; /* Set a fixed width */
    height: 95%; /* Set a fixed height */    
  }
  .photo_gallery {
    display: block;
    flex-wrap: wrap;
    gap: 0%;
    margin-top: 30px;
    justify-content: center;
  }
  .image-container img {
    margin-top: 10%;
  }
}  

/* Responsive Design */
@media (max-width: 600px) {
  .photo_gallery div {
      flex: 1 1 100%;
      max-width: 100%;
  }
}

/* Add styles for the lightbox popup */
/* Lightbox Popup */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
}

.lightbox img {
  max-width: 80%;
  max-height: 70vh;
  border-radius: 8px;
}

.lightbox .close-btn {
  position: absolute;
  top: 15px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.lightbox .prev-btn,
.lightbox .next-btn {
  position: absolute;
  top: 50%;
  font-size: 30px;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
}

.lightbox .prev-btn {
  left: 20px;
}
.lightbox .next-btn {
  right: 20px;
}

.lightbox .prev-btn:hover,
.lightbox .next-btn:hover {
  background: gray;
  transition: 0.3s;
}

/* Image Slider inside Popup */
.lightbox .image-slider {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px;
  background: #222;
  border-radius: 10px;
  margin-top: 10px;
  width: 80%;
  justify-content: left;
}

.lightbox .image-slider img {
  width: 80px;
  height: 60px;
  margin: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 5px;
}

.lightbox .image-slider img:hover {
  transform: scale(1.1);
}

.lightbox .image-slider::-webkit-scrollbar {
  height: 8px;
}

.lightbox .image-slider::-webkit-scrollbar-thumb {
  background: #fca311;
  border-radius: 5px;
}





.footer h2{
  font-size: 30px;
}

.footer a#contact{
  font-size: 16px;
}
.footer a#contact:hover{
  font-size: 17px;
}