
.project-title {
  position: absolute;
  bottom: 50px;
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Project Info */
.project-info {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 5px;
}

.info-box {
  padding: 15px;
}

.info-box h5 {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.info-box p {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.section-title-center {
    color: var(--dark-blue);
    font-size: 1.8rem;
    font-weight: 700;
    padding-bottom: 10px;
    text-align: center;
}

/* Section Title */
.section-title {
  color: var(--dark-blue);
  font-size: 1.8rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

/* .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
} */

/* Project Description */
.description-content {
  font-size: 1rem;
  line-height: 1.8;
}

.description-content p {
  margin-bottom: 1.2rem;
}

/* Project Gallery */
.project-slider {
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--primary-color);
}

/* Related Projects */
.project-card {
  position: relative;
  margin-bottom: 30px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.project-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
}

.project-card-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.btn-view-details {
  display: inline-block;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid white;
  padding: 5px 15px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.btn-view-details:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}


.social-icons a:hover {
  background-color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {


  .project-title {
      font-size: 2rem;
  }

  .project-slider {
      height: 400px;
  }
}

@media (max-width: 768px) {

  .project-title {
      font-size: 1.5rem;
      bottom: 30px;
  }

  .project-info {
      padding: 15px;
  }

  .info-box {
      margin-bottom: 15px;
  }

  .project-slider {
      height: 300px;
  }
}

@media (max-width: 576px) {


  .section-title {
      font-size: 1.5rem;
  }

  .project-card img {
      height: 200px;
  }
}

/* Project Info Section */
.project-info-section {
    position: relative;
    margin-bottom: 50px;
}


.project-info-container {
    background-color: white;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: -60px;
    position: relative;
    z-index: 3;
}

.info-box {
    padding: 30px;
    height: 100%;
    border-right: 1px solid #eee;
}

.col-md-3:last-child .info-box {
    border-right: none;
}

.info-title {
    color: #e67e00;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
}

.info-content {
    color: #666;
    font-size: 14px;
}

.info-content p {
    margin-bottom: 8px;
}

.info-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .project-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .project-background {
        height: 200px;
    }

    .project-title h2 {
        font-size: 24px;
    }

    .info-box {
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .col-md-3:last-child .info-box {
        border-bottom: none;
    }

    .project-info-container {
        margin-top: -30px;
    }
}

@media (max-width: 576px) {
    .project-title h2 {
        font-size: 20px;
    }

    .info-title {
        font-size: 16px;
    }

    .info-content {
        font-size: 13px;
    }
}

.swiper-slide {
    /* position: relative; */
    overflow: hidden;
    /* box-shadow: 0 3px 10px rgba(0,0,0,0.1); */
    cursor: pointer;
}

/* Image Viewer Popup */
.image-viewer-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1500;
    display: none;
}

.image-viewer-container {
    display: flex;
    height: 100%;
}

/* Main Image Container */
.main-image-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-image-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    max-width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
}

.image-watermark {
    position: absolute;
    width: 800px;
}

/* Image Caption */
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 14px;
}

/* Navigation Controls */
.nav-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
}

.image-counter {
    font-size: 14px;
    color: #fff;
}

.control-buttons {
    display: flex;
    gap: 15px;
}

.control-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.control-btn:hover {
    color: #f7941d;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    width: 40px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: background 0.3s;
    z-index: 10;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

/* Thumbnails Sidebar */
.thumbnails-sidebar {
    width: 250px;
    height: 100%;
    background-color: #1a1a1a;
    overflow-y: auto;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    align-content: start;
}

.thumbnail {
    position: relative;
    cursor: pointer;
    height: 0;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.thumbnail:hover img {
    transform: scale(1.05);
}

.thumbnail.active {
    border: 2px solid #f7941d;
}

/* Loading Spinner */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #f7941d;
    animation: spin 1s ease-in-out infinite;
    display: none;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .thumbnails-sidebar {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .image-viewer-container {
        flex-direction: column;
    }

    .thumbnails-sidebar {
        width: 100%;
        height: 120px;
        grid-template-columns: repeat(6, 1fr);
        overflow-x: auto;
        overflow-y: hidden;
    }

    .main-image {
        max-height: calc(100vh - 270px);
    }
}

@media (max-width: 576px) {

    .thumbnails-sidebar {
        grid-template-columns: repeat(4, 1fr);
    }
}