/* About Page Hero Section */
.hero-overlay{
    background-image: url(../img/bg/bg5.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}
.hero-overlay img{
    width: 110vw;
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}
.hero-content{
    color: var(--light);
}
.btn-secondary {
    color: var(--light);
}
.shape-2 {
    background: var(--brand-green);
}
/* End of Services Page Hero Section */

/* About Page Main Content */
/* ================================= */
.about-main{
    margin-top: 0;
    display: grid;
}

/* ----------------------- */
.container p{
    font-size: 18px;
    max-width: 1100px;
    margin: 0 auto;
    font-weight: 300;
}
.container{
    padding: 30px 20px;
    border-radius: 0;
}

/* --- Mission/Vision --- */
#Our-Story{
    padding: 40px 20px;
}
.our-story{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.content{
    text-align: start;
    border-radius: 8px;
    padding: 20px;
}
.content h2{
    margin: 0 0 15px 0;
    font-size: 30px;
    font-weight: 600;
}
.content p{
    font-size: 16px;
    font-weight: 300;
}
.our-story img{
    height: 100%;
    width: 100%;
}
.about-img{
    height: 80vh;
    overflow: hidden;
    border-radius: 40px 40px 40px 0;
}
.about-img:nth-child(1){
    border-radius: 40px 0 40px 40px;
}

/* --- Our Edge: (Why Choose Us) --- */
.our-edge{
    padding: 40px 20px;
    display: grid;
    gap: 15px;
}
.edge-card{
    height: 100px;
    width: 58%;
    padding: 10px 12px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    text-align: end;
    background: var(--secondary);
    border-radius: 100px;
    border: solid 1px var(--primary);
}
.edge-card:nth-child(odd){
    text-align: start;
    margin: 0 0 0 auto;
    flex-direction: row;
    background: var(--primary);
    color: var(--light);
    border: solid 1px var(--secondary);
}
.edge-icon{
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
}
.edge-card:nth-child(odd) .edge-icon{
    color: var(--secondary);
}
.edge-card i{
    font-size: 40px;
    width: 75px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.edge-content{
    padding: 5px;
    line-height: 22px;
}
.edge-card h3{
    background: transparent;
    border: none;
    color: inherit;
    text-align: inherit;
    padding: 0;
    margin: 0;
}
.edge-card p{
    font-size: 14px;
    margin: 0;
}

/* --- Our Approach --- */
#Our-Approach{
    padding: 80px 20px;
    border: solid 1px var(--primary);
    background: var(--primary);
    color: var(--light);
}
#Our-Approach h2{
    border-bottom: solid 2px var(--secondary);
}
.approach-steps {
    padding: 10px;
    border: solid 1px var(--primary);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.approach-card {
    background: var(--bgopacity);
    border-radius: 45px 0 45px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: start;
    padding: 15px;
}
.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.step-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--light);
    border-radius: 50%;
}
.approach-card h3 {
    background: transparent;
    border: none;
    text-align: inherit;
    color: var(--bgcol);
    padding: 0;
    margin: 10px 0 5px 5px;
    font-size: 18px;
    font-weight: 600;
}
.approach-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 5px 0 5px 5px;
    color: var(--brand-b);
    font-weight: 400;
}

/* --- Our Technology --- */
#Our-Technology{
    padding: 80px 20px;
}
.technology-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 20px;
    padding: 40px 20px;
}
.tech-card{
    display: flex;
    justify-content: center;
    align-items: center;
}
.tech-card img{
    width: 60px;
}

/* ================================== */
/* ========= Tablet Styles ========== */
@media (max-width: 1024px) {
    .hero-overlay img{
        width: 200vw;
    }
    .about-img{
        height: 40vh;
    }
    .approach-steps{
        max-width: 720px;
        margin: 20px auto;
        display: flex;
        overflow: scroll;
    }
    .approach-card{
        min-width: 190px;
    }
    .approach-card:hover {
        transform: translateX(-5px);
    }
}
/* ========== Mobile Styles ========== */
@media (max-width: 600px) {
    .hero-overlay img{
        width: 280vw;
    }
    .our-story{
        grid-template-columns: 1fr;
    }
    .vision{
        display: flex;
        flex-direction: column-reverse;
    }
    .content{
        padding: 20px 0;
    }
    .about-img{
        height: 30vh;
    }
    .our-edge{
        padding: 40px 0;
    }
    .edge-card{
        width: 100%;
    }
    .edge-card h3{
        margin-bottom: 5px;
    }
    .edge-card p{
        line-height: 14px;
    }
    .approach-steps{
        max-width: 300px;
    }
    .tech-card img{
        width: 40px;
    }
}
/* ==== ==== */