.project-detail-page {
    padding-top: 2rem;
}

.project-header {
    margin-bottom: 3rem;
}

.project-header h1 {
    font-size: 1.5rem;
    font-style: normal;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    line-height: .4;
}

.custom-line {
    position: relative; /* Required for pseudo-element positioning */
    display: inline-block; /* Prevents pseudo-elements from spanning full width */
    padding: 0 1em; /* Add padding to the heading for spacing */
  }
  
  .custom-line::before,
  .custom-line::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100%;
    height: 1px; /* Adjust line thickness */
    background-color: #ccc; /* Adjust line color */
  }
  
  .custom-line::before {
    left: -100%; /* Position the line to the left */
    transform: translateY(-50%); /* Center vertically */
  }
  
  .custom-line::after {
    right: -100%; /* Position the line to the right */
    transform: translateY(-50%); /* Center vertically */
  }

/* Projects grid styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    grid-auto-rows: 10px;
    max-width: 1800px;
    margin: 0 auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Project card styles */
.project-card {
    position: relative;
    cursor: pointer;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Add staggered delay for each card */
.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }
.project-card:nth-child(7) { animation-delay: 0.7s; }
.project-card:nth-child(8) { animation-delay: 0.8s; }
.project-card:nth-child(9) { animation-delay: 0.9s; }

.project-card .position-relative {
    position: relative;
    width: 100%;
    display: block;
}

.project-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    vertical-align: bottom;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
}

/* Lightbox styles */
.modal-content.bg-black {
    background-color: rgba(0, 0, 0, 0.95) !important;
}

.lightbox-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* Navbar highlight contact */
.highlight-contact {
    background-color: #212529;
    color: white !important;
    border-radius: 20px;
    padding: 8px 20px !important;
    transition: all 0.3s ease;
}

.highlight-contact:hover {
    background-color: #343a40;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
} 