* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: bold;
}

.logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #667eea;
    flex-shrink: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

nav ul li a:hover {
    opacity: 0.8;
}



/* Make sure content is not hidden by fixed header */
.header-spacer {
    height: 80px; /* adjust if your header height is different */
}

.project-detail-main {
    background-color: #f5f7fb;
    min-height: 100vh;
}

.project-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
    color: #111827;
}


.project-detail-image {
    margin: 1.5rem 0;
    text-align: center;
}

.project-detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Breadcrumb / back link */
.project-breadcrumb {
    margin-bottom: 1rem;
}

.project-breadcrumb a {
    font-size: 0.9rem;
    color: #0e7490;
    text-decoration: none;
}

.project-breadcrumb a:hover {
    text-decoration: underline;
}

/* Article */
.project-detail {
    background: white;
    border-radius: 10px;
    padding: 2rem 2.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.project-detail-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 0.75rem;
    color: #0f172a;
    text-align: justify;
}

.project-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.project-detail-summary {
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.project-detail-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 1.5rem 0;
}

/* Full body text */
.project-detail-body {
    font-size: 1rem;
    color: #111827;
    line-height: 1.8;
}

.project-detail-body p {
    margin-bottom: 1rem;
}

/* Optional: style headings inside body (if you use HTML in body) */
.project-detail-body h2 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-detail-body h3 {
    font-size: 1.15rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Footer Styles */
footer {
    background:linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #fdc50e;
    /* color: black; */
}

.footer-section p,
.footer-section ul {
    color: white;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: gainsboro;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .project-detail-container {
        padding: 1.5rem 1rem 3rem;
    }

    .project-detail {
        padding: 1.5rem 1.25rem;
    }

    .project-detail-title {
        font-size: 1.6rem;
    }
}
