/* ==========================================
   PROJECT PAGES STYLING
   ========================================== */

   .logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Project Header */
.project-header {
    padding: 8rem 2rem 6rem 2rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.safe-route-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.legal-aid-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.project-header-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.project-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.8s ease;
}

.project-intro {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.meta-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Project Overview */
.project-overview {
    background: var(--light-bg);
    padding: 5rem 2rem;
}

.overview-container {
    max-width: 1000px;
    margin: 0 auto;
}

.overview-content h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.overview-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.overview-item {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.overview-item h4 {
    color: var(--primary-color);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.overview-item p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Screens Gallery */
.screens-gallery {
    padding: 5rem 2rem;
    background: white;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-container h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    text-align: center;
}

.gallery-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.screen-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.screen-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.screen-number {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    z-index: 2;
}

.screen-placeholder {
    width: 100%;
    aspect-ratio: 375 / 812;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-svg {
    width: 100%;
    height: 100%;
}

.screen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screen-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.screen-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.screen-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Features Section */
.project-features {
    background: var(--light-bg);
    padding: 5rem 2rem;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-container h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    text-align: center;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Design Process */
.design-process {
    background: white;
    padding: 5rem 2rem;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
}

.process-container h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 12px;
    position: relative;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.step:hover {
    background: linear-gradient(135deg, var(--light-bg), rgba(99, 102, 241, 0.05));
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Project CTA */
.project-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-container p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .project-title {
        font-size: 2.2rem;
    }

    .project-intro {
        font-size: 1rem;
    }

    .project-header {
        padding: 4rem 1rem 3rem 1rem;
        margin-top: 60px;
    }

    .screens-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .project-meta {
        gap: 0.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}