header {
    z-index: 1000;
}

.container {
    max-width: 1200px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    width: 50px;
    height: 4px;
    background-color: #007bff;
    display: block;
    margin: 0.5rem auto 0;
}

.section-description {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.project {
    margin-bottom: 1.5rem;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.project-header {
    background-color: #f8f9fa;
    padding: 1rem;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #007bff;
}

.project-header p {
    margin: 0;
    font-size: 1rem;
    color: #666;
}
        .project-info {
            display: none;
        }
        #projects {
            padding-top: 100px; /* Adjust this value based on your header's height */
        }
        .project-title {
            cursor: pointer;
            position: relative;
            padding-right: 30px; /* Space for the indicator */
        }
        .project-title .indicator {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.5em;
        }
        .carousel-inner img {
            width: 100%;
            height: 400px;
            object-fit: contain;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            padding: 20px;
            transition: transform 0.3s ease;
        }
        
        .carousel-inner img:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }
        
        .carousel-inner {
            border-radius: 8px;
            overflow: hidden;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            padding: 10px;
            border: none;
        }
        
        /* Alternative professional backgrounds for different projects */
        .carousel-inner.ai-gradient {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }
        
        .carousel-inner.tech-gradient {
            background: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%);
        }
        
        .carousel-inner.modern-gradient {
            background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
        }
        
        /* Responsive image heights */
        @media (max-width: 768px) {
            .carousel-inner img {
                height: 250px;
            }
        }
        
        @media (min-width: 769px) and (max-width: 1024px) {
            .carousel-inner img {
                height: 350px;
            }
        }
        
        @media (min-width: 1025px) {
            .carousel-inner img {
                height: 450px;
            }
        }
        .carousel-control-prev,
        .carousel-control-next {
            width: 6%;
            height: 60px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            opacity: 0.9;
            transition: opacity 0.3s ease;
        }
        
        .carousel-control-prev:hover,
        .carousel-control-next:hover {
            opacity: 1;
        }
        footer {
            background-color: #343a40;
            color: #fff;
            padding: 20px 0;
        }
        footer .contact-info a {
            color: #fff;
            text-decoration: none;
            margin: 0 10px;
        }
        footer .contact-info a:hover {
            text-decoration: underline;
        }
        footer .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* Button styles */
.btn {
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 20px;
}

.btn:hover {
    background-color: #333;
}



/* Modal styles */
.modal {
    display: none; /* Hide modal by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    max-width: 400px; /* Adjust max-width as needed */
    width: 90%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-content h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.modal-content a {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background-color: #000;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-content a + a {
    margin-top: 10px; /* Add space between buttons */
}

.modal-content a:hover {
    background-color: #333;
}

/* Additional carousel improvements */
.carousel {
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    border: none;
}

.carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.1) 100%);
    opacity: 0.3;
    z-index: 1;
    border-radius: 15px;
    pointer-events: none;
}

.carousel-item {
    text-align: center;
    background: transparent;
    position: relative;
    overflow: hidden;
    border: none;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% {
        transform: rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: rotate(180deg);
        opacity: 0.05;
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(52, 58, 64, 0.8);
    border-radius: 8px;
    padding: 12px;
    width: 44px;
    height: 44px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(52, 58, 64, 0.95);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transform: scale(1.05);
    border-color: rgba(255,255,255,0.3);
}

/* Project info styling improvements */
.project-info {
    padding: 20px;
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
}

.project-item {
    margin-bottom: 30px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.project-title {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 20px;
    border-radius: 0;
}

/* Alternative professional backgrounds for variety */
.project-item:nth-child(odd) .project-title {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.project-item:nth-child(even) .project-title {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.project-item:last-child .project-title {
    background: linear-gradient(135deg, #5d4e75 0%, #6c5b7b 100%);
}

.project-title h4 {
    color: white;
    margin: 0;
    font-weight: 600;
}

.project-title p {
    color: rgba(255,255,255,0.9);
    margin: 5px 0 0 0;
}

.project-title .indicator {
    color: white;
}

/* Status badges and enhanced project titles */
.project-title-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-right: 60px; /* More space for the + indicator */
}

.project-info-left {
    flex: 1;
    min-width: 200px;
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.status-live {
    background: linear-gradient(135deg, #28a745, #34ce57);
    color: white;
}

.status-coming-soon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.quick-download-btn {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.quick-download-btn:hover {
    background: linear-gradient(135deg, #5a6268, #343a40);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

.quick-download-btn:disabled {
    background: linear-gradient(135deg, #adb5bd, #868e96);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 6px rgba(173, 181, 189, 0.2);
}

.project-title {
    cursor: pointer;
    position: relative;
    padding-right: 50px; /* Increased space for the indicator */
}

.project-title .indicator {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: white;
    z-index: 10;
}

.project-title h4 {
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3em;
}

.project-title p {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .project-title-enhanced {
        flex-direction: column;
        align-items: flex-start;
        padding-right: 40px;
    }
    
    .project-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .project-title {
        padding-right: 35px;
    }
    
    .project-title .indicator {
        right: 10px;
        font-size: 1em;
    }
}