﻿.home-project-heading {
  text-align: center;
  margin-bottom: 30px;
}

.home-project-heading h2 {
  font-size: 32px;
  font-weight: 700;
  color: #00293f;
  margin-bottom: 8px;
}

.home-project-heading p {
  font-size: 15px;                                                                         
  color: #666;
}


@media (max-width: 768px) {
  .home-project-heading h2 {
    font-size: 26px;
  }
}



.home-project-section {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  overflow: hidden;
}



.project-tabs {
  text-align: center;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 25px;
  border: 1px solid #00293f;
  background: #fff;
  color: #00293f;
  font-weight: 600;
  cursor: pointer;
  margin: 0 6px;
}

.tab-btn.active {
  background: #00293f;
  color: #fff;
}



.slider-wrapper {
  overflow: hidden;
}

.slider {
  display: none;
  flex-wrap: nowrap;               
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.slider.active {
  display: flex;
}


.slider::-webkit-scrollbar {
  display: none;
}



.project-wrap {
  flex: 0 0 32%;                   
  min-width: 32%;
  text-align: center;
}





.home-project-section .project-card {
  height: 500px;              
  overflow: hidden;
  border-radius: 18px;
  padding: 0;
  border: 1px solid #00293f33;
  background: #fff;
}

.home-project-section .project-card img {
  width: 100%;
  height: 100% !important;    
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .home-project-section .project-card {
    height: 400px;
  }
}


.status.outside {
  display: inline-block;
  margin: 14px auto 6px;
  padding: 6px 18px;
  background: #e9eef1;
  color: #00293f;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.project-title {
  margin: 6px 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #00293f;
}

.project-location {
  font-size: 14px;
  color: #666;
}



.slider-arrows {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.slider-arrows .nav {
  width: 46px;
  height: 46px;
  background: #00293f;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.25s ease;
}

.slider-arrows .nav:hover {
  background: #014b72;
  transform: translateY(-2px);
}

.slider-arrows .nav:active {
  transform: scale(0.95);
}




@media (max-width: 1024px) {
  .project-wrap {
    flex: 0 0 48%;
    min-width: 48%;
  }
}


@media (max-width: 768px) {
  .project-wrap {
    flex: 0 0 85%;
    min-width: 85%;
  }

  .project-card img {
    height: 220px;
  }
}



.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
}

.modal-content {
  background: #ffffff;
  width: 420px;
  max-width: 90%;
  margin: 80px auto;
  padding: 20px;
  border-radius: 16px;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}