/* Custom Bootstrap-Based About Page CSS */



/* Base Styles - Using Bootstrap defaults where possible */
body {
    font-family: 'Poppins', sans-serif; 
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Page Header */
.page-header {
    height: auto;
    min-height: auto;
    overflow: visible;
    width: 100%; 
    position: relative; 
    z-index: 1; 
}

/* About Content Title */
.display-3-css {
    font-size: 1.7rem;
    font-weight: 700;
    color: #212529;
    border-bottom: 2px solid #333;
    width: 100%;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    text-align: left;
    word-wrap: break-word;
    padding-top: 85px;
}

.about-text {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: stretch;
}

/* About Text Paragraphs */
.about-cont-p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
    text-align: justify;
}


/* Mission & Vision Section */
.mission-vision {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
    /* margin: 2rem 0; */
    width: 100%;
    flex-wrap: wrap;
}

.image-container-1, .image-container-2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 2rem;
    transition: transform 0.3s ease;
    min-width: 280px;
}

.image-container-1:hover, .image-container-2:hover {
    transform: translateY(-5px);
}

.left-image-desk {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.left-image-desk:hover {
    transform: scale(1.1);
}

.image-container-1 h2, .image-container-2 h2 {
    margin: 0 0 1rem;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    width: 100%;
}

.image-container-1 p, .image-container-2 p {
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    width: 100%;
    color: #555;
}

.image-container-1 h2 {
    color: #0AC3AA;
}

.image-container-2 h2 {
    color: #FF9934;
}

/* About Section with Image */
.about-section-img {
    background: #0AC3AA;
    width: 100%;
}

.sol-img {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
}

.sol-img img {
    width: 90%;
    max-width: 900px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .sol-img {
        margin-bottom: -17rem;
    }
}

/* Company Journey Section */
.company-journey {
    background-color: #0A92C3;
    padding: 4rem 0;
    width: 100%;
}

.journey-head {
    color: #FFFFFF;
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.journey {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    flex-wrap: wrap;
}

.journey-img {
    flex: 1;
    text-align: center;
    min-width: 280px;
}

.journey-img img {
    width: 100%;
    max-width: 450px;
    height: auto;
}

.journey-text {
    flex: 1;
    color: #ffffff;
    padding: 1rem;
    min-width: 280px;
}

.journey-text p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
}

/* Journey Icons Section */
.journey-icon {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0 15px;
}

.icon-plan {
    flex: 0 0 calc(25% - 20px);
    min-width: 200px;
    max-width: 250px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-plan:hover {
    transform: translateY(-5px);
}

.icon-responsive {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.icon-plan:hover .icon-responsive {
    transform: scale(1.1);
}

.journey-icon .icon-plan h5 {
    margin: 0.5rem 0 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    width: 100%;
}

/* Media Queries - Using Bootstrap's breakpoints */
@media (max-width: 1200px) {
    .display-3-css {
        font-size: 2.25rem;
    }
    
    .icon-plan {
        min-width: 180px;
        flex: 0 0 calc(33.333% - 20px); /* 3 columns */
    }
}

@media (max-width: 992px) {
    .display-3-css {
        font-size: 2rem;
        padding-top: 105px;
    }
    
    .mission-vision {
        gap: 20px;
        justify-content: center;
    }
    
    .image-container-1, .image-container-2 {
        padding: 1.5rem;
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
    
    .image-container-1 h2, .image-container-2 h2 {
        font-size: 1.5rem;
    }
    
    .journey {
        gap: 30px;
    }
    
    .journey-text, .journey-img {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .icon-plan {
        min-width: 160px;
        flex: 0 0 calc(50% - 20px);
    }
    .about-section-img{
        padding-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .display-3-css {
        font-size: 1.85rem;
        padding-bottom: 0.5rem;
        margin-bottom: 1rem;
        padding-top: 90px;
    }
    .about-section-img{
        padding-bottom: 250px;
    }
    
    .mission-vision {
        flex-direction: column;
        gap: 20px;
    }
    
    .image-container-1, .image-container-2 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .journey {
        flex-direction: column;
        gap: 20px;
    }
    
    .journey-img, .journey-text {
        width: 100%;
        max-width: 100%;
    }
    
    .journey-text {
        order: 1;
    }
    
    .journey-img {
        order: 2;
    }
    
    .journey-icon {
        gap: 15px;
    }
    
    .icon-plan {
        min-width: 150px;
        flex: 0 0 calc(50% - 15px);
        padding: 1.25rem;
    }
    
    .company-journey {
        padding: 3rem 0;
    }
    
    .journey-head {
        font-size: 1.85rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .display-3-css {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        padding-top: 93px;
    }
    .about-section-img{
        padding-bottom: 250px;
    }
    
    .about-cont-p {
        font-size: 0.95rem;
    }
    
    .image-container-1, .image-container-2 {
        padding: 1.25rem;
    }
    
    .image-container-1 h2, .image-container-2 h2 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
    
    .left-image-desk {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .journey-head {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .journey-text p {
        font-size: 0.95rem;
    }
    
    .company-journey {
        padding: 2.5rem 0;
    }
    
    .journey-icon {
        margin: 2.5rem auto;
    }
    
    .icon-plan {
        min-width: 140px;
        padding: 1rem;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .icon-responsive {
        width: 50px;
        height: 50px;
    }
    
    .journey-icon .icon-plan h5 {
        font-size: 1rem;
    }
}

@media (max-width: 375px) {
    .display-3-css {
        font-size: 1.4rem;
        padding-top: 90px;
    }
    
    .about-section-img{
        padding-bottom: 150px;
    }

    .left-image-desk {
        width: 70px;
        height: 70px;
    }
    
    .image-container-1 h2, .image-container-2 h2 {
        font-size: 1.3rem;
    }
    
    .image-container-1 p, .image-container-2 p {
        font-size: 0.9rem;
    }
    
    .journey-head {
        font-size: 1.4rem;
    }
    
    .journey-text p {
        font-size: 0.9rem;
    }
}