/* Hero Section */
.project-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.project-hero .overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 20px;
}

.project-hero h1 {
    font-size: 2.8rem;
    font-weight: bold;
}

.project-hero p {
    font-size: 1.2rem;
    max-width: 800px;
}

.project-intro {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
}

.project-intro .container {
    max-width: 800px;
    margin: auto;
}

.project-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #333;
}

.project-intro p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    margin-top: 20px;
}

/* Two-Column Layout (Challenges & Approach) */
.project-details {
    margin: 60px auto;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    padding: 20px;
    margin: auto;
}

.text-content {
    width: 50%;
    padding: 20px;
}

.text-content h2 {
    font-size: 2rem;
    color: #FFEEF2
}

.text-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #FFEEF2
}
.text-content ul {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #FFEEF2
}
.image-content {
    width: 50%;
    text-align: center;
}

.image-content img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Reverse order for alternate sections */
.reverse {
    flex-direction: row-reverse;
}

/* Results Section */
.project-results {
    background: #f8f8f8;
    padding: 50px 20px;
    text-align: center;
}

.project-results h2 {
    font-size: 2.5rem;
    color: #fff;
}

.project-results p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
    color: #444;
}

/* Back Button */
.back-button {
    display: inline-block;
    margin: 30px auto;
    padding: 12px 25px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.back-button:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }
    
    .text-content, .image-content {
        width: 100%;
    }
}

