/*
 * About Page Styling
 * Comprehensive styling for the about page with modern design
 * and Sentam theme integration
 */

.page_about {
    background-color: white;
    padding: 0 0 0.5rem 0;
    min-height: calc(100vh - 150px);
    margin-top: 0;
    max-width: 1200px;
    margin: 0 auto;

    #main-content {
        margin-top: 0;
        padding-top: 0;
    }

    .page-header {
        background: white;
        color: teal;
        padding: 1rem 0;
        margin-bottom: 1rem;
        text-align: left;

        h1 {
            color: teal;
            font-family: 'Quattrocento', serif;
            font-weight: 700;
            font-size: 1.5rem;
            margin: 0;
        }
    }

    .about-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 0.5rem;
        background: white;
    }

    section {
        margin-bottom: 2rem;
        padding: 1rem 0;

        h2 {
            color: #2c5aa0;
            font-family: 'Quattrocento', serif;
            font-weight: 700;
            font-size: 1.8rem;
            margin-bottom: 1rem;
            text-align: center;

            i {
                margin-right: 0.5rem;
                color: #28a745;
            }
        }
    }

    .mission-vision-section {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 2rem;
    }

    .mission-card,
    .vision-card {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        height: 100%;
        transition: transform 0.3s ease, box-shadow 0.3s ease;

        &:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
        }

        h2 {
            color: #2c5aa0;
            font-size: 1.4rem;
            margin-bottom: 1rem;
            text-align: left;
        }

        p {
            color: #555;
            line-height: 1.6;
            margin: 0;
        }
    }

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

    .value-item {
        background: #f8f9fa;
        padding: 1rem;
        border-radius: 8px;
        border-left: 4px solid #28a745;
        transition: all 0.3s ease;

        &:hover {
            background: white;
            box-shadow: 0 4px 15px rgba(44, 90, 160, 0.1);
            transform: translateY(-2px);
        }

        h3 {
            color: #2c5aa0;
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        p {
            color: #666;
            line-height: 1.5;
            margin: 0;
        }
    }

    .journals-section {
        background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
        border-radius: 12px;
        padding: 1rem;
    }

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

    .journal-card {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;

        &:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
        }

        h3 {
            color: #2c5aa0;
            font-size: 1.3rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .journal-description {
            color: #666;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .journal-focus {
            background: #e8f5e8;
            padding: 0.75rem;
            border-radius: 4px;
            font-size: 0.9rem;
            color: #2c5aa0;
        }
    }

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

    .standard-item {
        background: #fff3cd;
        padding: 1rem;
        border-radius: 8px;
        border-left: 4px solid #ffc107;
        transition: all 0.3s ease;

        &:hover {
            background: white;
            box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
            transform: translateY(-2px);
        }

        h3 {
            color: #856404;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        p {
            color: #856404;
            line-height: 1.5;
            margin: 0;
            font-size: 0.9rem;
        }
    }

    .team-section {
        background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
        border-radius: 12px;
        padding: 1rem;
    }

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

    .team-member {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        text-align: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;

        &:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(156, 39, 176, 0.15);
        }

        h3 {
            color: #2c5aa0;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .role {
            color: #9c27b0;
            font-weight: 500;
            margin: 0;
            font-size: 0.9rem;
        }
    }

    .stats-section {
        background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
        border-radius: 12px;
        padding: 1rem;
    }

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

    .stat-item {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        text-align: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;

        &:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(76, 175, 80, 0.15);
        }
    }

    .stat-number {
        font-size: 2.5rem;
        font-weight: 700;
        color: #2c5aa0;
        margin-bottom: 0.5rem;
    }

    .stat-label {
        color: #666;
        font-weight: 500;
        font-size: 0.9rem;
    }

    .contact-section {
        background: white;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        padding: 1rem;
    }

    .contact-info {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        margin-top: 1rem;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 8px;
        transition: all 0.3s ease;

        &:hover {
            background: white;
            box-shadow: 0 4px 15px rgba(44, 90, 160, 0.1);
            transform: translateY(-2px);
        }

        i {
            font-size: 1.5rem;
            color: #2c5aa0;
            min-width: 30px;
        }

        div {
            flex: 1;
        }

        strong {
            color: #2c5aa0;
            font-weight: 600;
        }

        a {
            color: #2c5aa0;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;

            &:hover {
                color: #1e3f6b;
                text-decoration: underline;
            }
        }
    }

    .cmp_breadcrumbs {
        margin: 0 0 1rem 0;
        display: flex;
        justify-content: center;

        .breadcrumb {
            background: transparent;
            padding: 0.5rem 0;
            margin: 0;
            border: none;
            font-size: 1rem;
            max-width: 1200px;
            width: 100%;
            display: flex;
            justify-content: flex-start;

            > li {
                color: #666;
            }

            > li + li:before {
                content: " / ";
                color: #999;
                padding: 0 0.5rem;
            }

            a {
                color: #2c5aa0;
                text-decoration: none;
                font-weight: 500;
                transition: color 0.3s ease;

                &:hover {
                    color: #1e3f6b;
                    text-decoration: underline;
                }
            }

            > .active {
                color: #333;
                font-weight: 600;
            }
        }
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .page_about {
        padding: 0 0 1rem 0;

        .about-content {
            padding: 0 1rem;
            margin: 0 0.5rem;
        }

        section {
            margin-bottom: 2rem;
            padding: 1rem 0;
        }

        .values-grid,
        .journals-grid,
        .standards-grid,
        .team-grid,
        .stats-grid,
        .contact-info {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .mission-vision-section,
        .journals-section,
        .team-section,
        .stats-section {
            padding: 1rem;
        }

        .stat-number {
            font-size: 2rem;
        }

        .contact-item {
            flex-direction: column;
            text-align: center;
            gap: 0.5rem;
        }
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .page_about {
        .about-content {
            max-width: 90%;
            padding: 0 1rem;
        }

        .values-grid,
        .journals-grid,
        .standards-grid,
        .team-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .stats-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

/* Large screen enhancements */
@media (min-width: 1200px) {
    .page_about {
        .about-content {
            max-width: 1200px;
            padding: 0 1rem;
        }
    }
}
