.about-page-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(150deg, #000000, #02010e);
    overflow: visible;
    font-family: 'Segoe UI', sans-serif;
    box-sizing: border-box;
    z-index: 1;
}

.about-page-wrapper::before {
    display: none;
}

#particle-box-background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background-color: rgba(255, 255, 255, 0.03);
}

body {
    overflow-x: hidden;
}

.about-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
    color: #222;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    align-items: center;
    gap: 1.5rem;
}

.about-section.row.left .about-image {
    order: 0;
}

.about-section.row.right .about-image {
    order: 1;
}

.about-section.row.right .about-text {
    order: 0;
}

.about-image {
    max-width: 600px;
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-image img {
    max-height: 550px;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.about-image .image-caption {
    text-align: center;
    font-style: italic;
    font-size: 0.9rem;
    color: #ffffff;
    margin-top: 0.5rem;
}

.about-text {
    flex: 1 1 500px;
    font-size: 1.425rem;
    line-height: 1.75;
    color: #ffffff;
    font-weight: bold;
}

.about-text-section1 {
    font-size: 1.125rem;
    line-height: 1.85;
}

.about-text ul {
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}

.about-text li {
    margin-bottom: 0.5rem;
}

.about-gallery {
    margin-top: 2.5rem;
    color: #fff;
    font-weight: bold;
}

.about-gallery h2 {
    text-align: center;
    font-weight: bold;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.gallery-grid figure {
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 1rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
}

.gallery-grid img {
    max-height: 90%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}


.gallery-grid figcaption {
    margin-top: 0.75rem;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.4;
    color: #ffffff;
    text-align: center;
    max-width: 100%;
    word-break: break-word;
    font-weight: bold;
}

@media (max-width: 768px) {
    .about-page-content {
        padding: 2rem 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .gallery-grid figure {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem 1rem;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .gallery-grid img {
        max-width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
}
/* Ensure links in About Page sections are visible */
.about-text a,
.about-gallery a {
    color: lightblue;
    text-decoration: none;
}

.about-text a:hover,
.about-gallery a:hover {
    color: #aee6ff; /* lighter on hover */
    text-decoration: underline;
}
