﻿/* ==========================================
   BABUSPACE - ABOUT US
========================================== */

.about-container {
    width: min(1180px, 90%);
    margin: 0 auto;
}


/* ==========================================
   HERO
========================================== */

.about-hero {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient( 135deg, #f4fffd 0%, #ffffff 55%, #ecfaf7 100% );
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 100px 0;
}

.about-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #009688;
    margin-bottom: 22px;
}

.about-hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(46px, 6vw, 78px);
    line-height: 1.05;
    letter-spacing: -2px;
    color: #17252a;
    font-weight: 700;
}

    .about-hero h1 span {
        display: block;
        color: #009688;
    }

.about-hero p {
    max-width: 650px;
    margin-top: 28px;
    font-size: 19px;
    line-height: 1.8;
    color: #5b696d;
}


/* Decorative circles */

.about-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}

.about-shape-one {
    width: 420px;
    height: 420px;
    background: rgba(0, 150, 136, 0.08);
    right: -120px;
    top: -100px;
}

.about-shape-two {
    width: 260px;
    height: 260px;
    background: rgba(0, 150, 136, 0.06);
    right: 220px;
    bottom: -130px;
}


/* ==========================================
   SHARED HEADINGS
========================================== */

.about-section-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

    .about-section-heading span,
    .about-mission-content > span,
    .about-bottom-content > span {
        display: block;
        color: #009688;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2.5px;
        margin-bottom: 14px;
    }

    .about-section-heading h2,
    .about-mission-content h2,
    .about-bottom-content h2 {
        color: #17252a;
        font-size: clamp(34px, 4vw, 50px);
        line-height: 1.15;
        letter-spacing: -1px;
        font-weight: 700;
    }

    .about-section-heading.center {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

        .about-section-heading.center p {
            margin: 20px auto 0;
            max-width: 600px;
            color: #6b777a;
            line-height: 1.8;
        }


/* ==========================================
   OUR STORY
========================================== */

.about-story {
    padding: 110px 0;
    background: #ffffff;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 55px;
    align-items: center;
}

.about-story-main {
    font-size: 18px;
    line-height: 1.9;
    color: #5d696c;
}

    .about-story-main p + p {
        margin-top: 24px;
    }

.about-highlight {
    padding: 42px;
    border-radius: 24px;
    background: #f3fbf9;
    border: 1px solid #dcefeb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .about-highlight:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 50px rgba(20, 70, 65, 0.10);
    }

.about-highlight-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #009688;
    color: white;
    font-size: 26px;
    margin-bottom: 26px;
}

.about-highlight h3 {
    color: #17252a;
    font-size: 24px;
    margin-bottom: 12px;
}

.about-highlight p {
    color: #657275;
    line-height: 1.75;
}


/* ==========================================
   MISSION
========================================== */

.about-mission {
    padding: 20px 0 110px;
}

.about-mission-card {
    background: linear-gradient( 135deg, #062f2c, #075e57 );
    color: white;
    border-radius: 32px;
    padding: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.about-mission-content {
    max-width: 680px;
    position: relative;
    z-index: 2;
}

    .about-mission-content > span {
        color: #65e6d8;
    }

    .about-mission-content h2 {
        color: white;
        margin-bottom: 24px;
    }

    .about-mission-content p {
        color: rgba(255,255,255,0.76);
        max-width: 620px;
        line-height: 1.9;
        font-size: 17px;
    }

.about-mission-icon {
    font-size: 150px;
    color: rgba(255,255,255,0.08);
    transform: rotate(-12deg);
}


/* ==========================================
   FEATURES
========================================== */

.about-offer {
    background: #f8faf9;
    padding: 80px 0;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.about-feature-card {
    background: #ffffff;
    padding: 42px 34px;
    border-radius: 22px;
    border: 1px solid #e7eeee;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .about-feature-card:hover {
        transform: translateY(-8px);
        border-color: #b8ded9;
        box-shadow: 0 22px 50px rgba(21, 67, 63, 0.10);
    }

.about-feature-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #e6f7f4;
    color: #00897b;
    font-size: 25px;
    margin-bottom: 27px;
}

.about-feature-card h3 {
    font-size: 22px;
    color: #17252a;
    margin-bottom: 15px;
}

.about-feature-card p {
    color: #687579;
    line-height: 1.8;
}

/* ==========================================
   MEET BABU
========================================== */

.about-babu {
    padding: 60px 0;
    background: #f8faf9;
}

.about-babu-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    min-height: 430px;
    padding: 65px 70px;
    background: linear-gradient( 135deg, #f1fbf9 0%, #e5f8f5 100% );
    border: 1px solid #d9efeb;
    border-radius: 32px;
}


/* ==========================================
   BABU TEXT
========================================== */

.about-babu-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.about-babu-label {
    display: block;
    margin-bottom: 16px;
    color: #009688;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.about-babu-content h2 {
    margin: 0 0 24px;
    max-width: 550px;
    color: #17252a;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
}

.about-babu-content p {
    max-width: 570px;
    margin: 0;
    color: #637174;
    font-size: 17px;
    line-height: 1.85;
}

    .about-babu-content p + p {
        margin-top: 16px;
    }


/* ==========================================
   BABU IMAGE
========================================== */

.about-babu-visual {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-babu-image {
    position: relative;
    z-index: 2;
    width: min(360px, 100%);
    height: auto;
    object-fit: contain;
    filter: drop-shadow( 0 18px 24px rgba(20, 80, 74, 0.12) );
}

.about-babu-circle {
    position: absolute;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    background: rgba(0, 150, 136, 0.08);
}

.about-babu-visual::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: 20px;
    top: 20px;
    border-radius: 50%;
    background: rgba(0, 150, 136, 0.08);
}

.about-babu-visual::after {
    content: "";
    position: absolute;
    width: 45px;
    height: 45px;
    left: 35px;
    bottom: 25px;
    border-radius: 50%;
    background: rgba(0, 150, 136, 0.12);
}


/* ==========================================
   MEET BABU - RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .about-babu-card {
        grid-template-columns: 1fr;
        padding: 55px 40px 25px;
        text-align: center;
    }

    .about-babu-content {
        margin: 0 auto;
    }

        .about-babu-content h2,
        .about-babu-content p {
            margin-left: auto;
            margin-right: auto;
        }

    .about-babu-visual {
        margin-top: 25px;
        min-height: 320px;
    }

    .about-babu-image {
        width: 300px;
    }
}


@media (max-width: 600px) {

    .about-babu {
        padding: 75px 0;
    }

    .about-babu-card {
        padding: 45px 24px 20px;
        border-radius: 24px;
    }

    .about-babu-content h2 {
        font-size: 34px;
    }

    .about-babu-content p {
        font-size: 16px;
    }

    .about-babu-image {
        width: 260px;
    }

    .about-babu-circle {
        width: 240px;
        height: 240px;
    }
}

/* ==========================================
   BOTTOM
========================================== */

.about-bottom {
    padding: 115px 0;
    text-align: center;
    background: #ffffff;
}

.about-bottom-content {
    max-width: 750px;
    margin: 0 auto;
}

    .about-bottom-content p {
        font-size: 18px;
        color: #687579;
        line-height: 1.8;
        max-width: 600px;
        margin: 22px auto 0;
    }


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 900px) {

    .about-hero {
        min-height: auto;
    }

    .about-hero-content {
        padding: 80px 0;
    }

    .about-story-grid {
        grid-template-columns: 1fr;
    }

    .about-feature-grid {
        grid-template-columns: 1fr;
    }

    .about-mission-card {
        padding: 50px 35px;
    }

    .about-mission-icon {
        display: none;
    }
}


@media (max-width: 600px) {

    .about-hero h1 {
        font-size: 43px;
        letter-spacing: -1px;
    }

    .about-hero p {
        font-size: 17px;
    }

    .about-story,
    .about-offer,
    .about-bottom {
        padding: 75px 0;
    }

    .about-mission {
        padding-bottom: 75px;
    }

    .about-mission-card {
        border-radius: 22px;
        padding: 40px 25px;
    }
}

/* ==========================================
   SUBTLE BACKGROUND CIRCLE ANIMATION
========================================== */

@keyframes floatCircleOne {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-8px, 10px);
    }

    50% {
        transform: translate(10px, -12px);
    }

    75% {
        transform: translate(-6px, 8px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes floatCircleTwo {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(12px, -8px);
    }

    50% {
        transform: translate(-10px, 14px);
    }

    75% {
        transform: translate(8px, -6px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.about-shape-one {
    animation: floatCircleOne 10s ease-in-out infinite;
}

.about-shape-two {
    animation: floatCircleTwo 13s ease-in-out infinite;
}

@keyframes floatCircleOne {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(6px, -8px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes floatCircleTwo {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-7px, 9px);
    }

    100% {
        transform: translate(0, 0);
    }
}