﻿/* About Us Header Section */
.aboutpg-header-section {
    background-image: url('/images/home/feature-bg-1024x403.jpg'); /* Correct relative path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; /* Ensure no tiling */
    padding: 50px 20px; /* Adjust padding for spacing */
    color: #fff;
    text-align: center;
    height: 30vh;
}


.aboutpg-header-overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    Dark teal overlay z-index: 1;
}

.aboutpg-header-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

    .aboutpg-header-content h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin: 0;
    }

    .aboutpg-header-content p {
        margin-top: 10px;
        font-size: 1rem;
    }

.aboutpg-breadcrumb-link {
    color: white;
    text-decoration: none;
}

    .aboutpg-breadcrumb-link:hover {
        text-decoration: underline;
    }

.aboutpg-breadcrumb-divider {
    margin: 0 5px;
    font-weight: bold;
}

.aboutpg-breadcrumb-current {
    color: #ddd;
}

/* About Us Main Content */
.aboutpg-main-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.aboutpg-container {
    max-width: 1200px;
    margin: 0 auto;
}

.aboutpg-intro h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.aboutpg-intro p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.aboutpg-details h3 {
    font-size: 1.5rem;
    color: #0056b3;
    margin-top: 30px;
}

.aboutpg-details p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.aboutpg-details ul {
    list-style: disc;
    padding-left: 20px;
    color: #555;
}

    .aboutpg-details ul li {
        margin-bottom: 10px;
    }

/* About Us Section Styling */
.aboutpg-why-choose-us {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.aboutpg-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    gap: 20px;
    align-items: center;
}

.aboutpg-text {
    flex: 1 1 50%;
    max-width: 600px;
}

    .aboutpg-text h1 {
        font-size: 2.5rem;
        color: #18587C;
        margin-bottom: 10px;
    }

    .aboutpg-text h2 {
        font-size: 1.8rem;
        color: #18587C;
        margin-bottom: 20px;
    }

    .aboutpg-text p {
        font-size: 1rem;
        color: #18587C;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .aboutpg-text ol {
        list-style: decimal;
        padding-left: 20px;
        color: #18587C;
    }

        .aboutpg-text ol li {
            margin-bottom: 15px;
            font-size: 1rem;
            line-height: 1.5;
        }

            .aboutpg-text ol li strong {
                color: #18587C;
            }

.aboutpg-image {
    flex: 1 1 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .aboutpg-image img {
        width: 100%;
        max-width: 500px;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        object-fit: cover;
    }
@media (max-width: 768px) {
    .aboutpg-container {
        flex-direction: column;
        align-items: center;
    }

    .aboutpg-text, .aboutpg-image {
        flex: 1 1 100%;
        max-width: 100%;
    }

        .aboutpg-text ol {
            text-align: left;
        }

        .aboutpg-image img {
            max-width: 90%;
            margin-top: 20px;
        }
}
