/* ============================================================
   ABOUT PAGE - ManjalKunkumam
   Uses root variables from app.css
   ============================================================ */

/* ---------- Page Heading ---------- */
.page-heading{
    background:linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding:3rem 1rem;
    text-align:center;
    color:var(--white);
}
.page-heading .eyebrow{
    display:inline-block;
    font-size:var(--font-size-sm);
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:2px;
    color:var(--secondary);
    margin-bottom:0.5rem;
}
.page-heading h1{
    font-family:var(--font-primary);
    font-size:var(--font-size-2xl);
    font-weight:var(--heading-weight);
    color:var(--white);
    margin-bottom:0.4rem;
}
.page-heading p{
    font-size:var(--font-size-base);
    color:rgba(255,255,255,0.85);
    max-width:600px;
    margin:0 auto;
}

/* ==========================
   SECTION 1: UNIQUE ABOUT
========================== */
.unique-about{
    padding:90px 6%;
    background:var(--bg);
    overflow:hidden;
}
.about-container{
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}
.about-tag{
    color:var(--primary);
    font-size:var(--font-size-xs);
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
}
.about-left h2{
    font-size:45px;
    line-height:1.2;
    color:var(--primary-dark);
    margin:20px 0;
    font-weight:var(--heading-weight);
}
.about-left h2 span{
    color:var(--secondary);
}
.about-left p{
    color:var(--text-light);
    font-size:var(--font-size-base);
    line-height:1.8;
}
.about-story{
    display:flex;
    gap:20px;
    margin:35px 0;
    background:var(--white);
    padding:20px;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,0.08);
}
.story-icon{
    width:55px;
    height:55px;
    min-width:55px;
    background:var(--primary);
    color:var(--white);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.2rem;
}
.about-btn{
    display:inline-flex;
    gap:10px;
    align-items:center;
    background:var(--primary);
    color:var(--white);
    padding:15px 30px;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
    font-size:var(--font-size-sm);
    transition:background .3s, transform .3s;
}
.about-btn:hover{
    background:var(--primary-dark);
    transform:translateY(-3px);
    color:var(--white);
}
.about-right{
    position:relative;
}
.about-image-card{
    width:420px;
    height:520px;
    margin:auto;
    border-radius:200px 200px 30px 30px;
    overflow:hidden;
    border:12px solid var(--white);
    box-shadow:0 20px 50px rgba(0,0,0,0.15);
}
.about-image-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.floating-card{
    position:absolute;
    background:var(--white);
    padding:18px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,0.12);
    display:flex;
    gap:15px;
    align-items:center;
}
.top-card{
    top:80px;
    left:-40px;
}
.bottom-card{
    right:-20px;
    bottom:80px;
    display:block;
}
.floating-card i{
    font-size:1.5rem;
    color:var(--primary);
}
.floating-card h5{
    font-size:var(--font-size-sm);
    font-weight:700;
    color:var(--dark);
    margin-bottom:2px;
}
.floating-card p{
    font-size:var(--font-size-xs);
    color:var(--text-muted);
}
.bottom-card h3{
    color:var(--primary);
    font-size:32px;
    font-weight:var(--heading-weight);
}
.bottom-card p{
    color:var(--text-muted);
    font-size:var(--font-size-sm);
}

/* ==========================
   SECTION 2: PREMIUM ABOUT
========================== */
.premium-about{
    background:var(--bg);
    padding:100px 6%;
    position:relative;
    overflow:hidden;
}
.about-title{
    text-align:center;
    max-width:750px;
    margin:auto;
}
.about-title span{
    color:var(--secondary);
    font-weight:700;
    letter-spacing:3px;
    font-size:var(--font-size-xs);
    text-transform:uppercase;
}
.about-title h1{
    font-size:48px;
    color:var(--primary-dark);
    margin:20px 0;
    font-weight:var(--heading-weight);
    line-height:1.2;
}
.about-title p{
    color:var(--text-light);
    font-size:var(--font-size-base);
}
.about-main{
    max-width:1200px;
    margin:70px auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}
.about-image{
    position:relative;
}
.about-image img{
    width:100%;
    height:520px;
    object-fit:cover;
    border-radius:220px 220px 30px 30px;
    border:12px solid var(--white);
    box-shadow:0 20px 50px rgba(0,0,0,0.1);
}
.experience-card{
    position:absolute;
    right:-20px;
    bottom:40px;
    background:var(--white);
    padding:25px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 15px 30px rgba(0,0,0,0.1);
}
.experience-card h2{
    font-size:45px;
    color:var(--primary);
    font-weight:var(--heading-weight);
}
.experience-card p{
    color:var(--text-muted);
    font-size:var(--font-size-sm);
}

/* AI Card */
.ai-card{
    background:var(--white);
    padding:35px;
    border-radius:35px;
    box-shadow:0 20px 50px rgba(0,0,0,0.06);
    text-align:center;
}
.ai-icon{
    font-size:50px;
    color:var(--primary);
    animation:pulse 1.5s infinite;
}
@keyframes pulse{
    50%{transform:scale(1.2);}
}
.ai-card h2{
    color:var(--primary);
    font-size:var(--font-size-xl);
    font-weight:var(--heading-weight);
    margin:10px 0;
}
.ai-card p{
    color:var(--text-light);
    font-size:var(--font-size-sm);
}
.match-score{
    font-size:55px;
    font-weight:800;
    color:var(--secondary);
    margin:20px;
}
.progress{
    height:15px;
    background:#eee;
    border-radius:30px;
    overflow:hidden;
}
.progress-bar{
    height:100%;
    width:0;
    background:linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    transition:2s;
    border-radius:30px;
}
.ai-card h4{
    color:var(--primary);
    margin-top:15px;
    font-size:var(--font-size-sm);
    font-weight:600;
}

/* Promise Cards */
.promise-box{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:30px;
}
.promise-card{
    background:rgba(255,255,255,0.7);
    backdrop-filter:blur(15px);
    padding:25px;
    border-radius:25px;
    text-align:center;
    transition:.4s;
    border:1px solid var(--border-light);
}
.promise-card:hover{
    transform:translateY(-10px);
    background:var(--white);
    box-shadow:0 15px 35px rgba(0,0,0,0.08);
}
.promise-card i{
    font-size:35px;
    color:var(--primary);
    margin-bottom:10px;
    display:block;
}
.promise-card h3{
    color:var(--primary);
    font-size:var(--font-size-md);
    font-weight:var(--heading-weight);
    margin-bottom:4px;
}
.promise-card p{
    color:var(--text-muted);
    font-size:var(--font-size-xs);
}

/* Stats */
.about-stats{
    max-width:1100px;
    margin:80px auto 0;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    background:var(--white);
    padding:40px;
    border-radius:40px;
    box-shadow:0 20px 50px rgba(0,0,0,0.06);
    text-align:center;
}
.about-stats h2{
    color:var(--primary);
    font-size:38px;
    font-weight:var(--heading-weight);
}
.about-stats p{
    color:var(--text-muted);
    font-size:var(--font-size-sm);
}

/* ==========================
   SECTION 3: JOURNEY
========================== */
.journey-section{
    padding:70px 6%;
    background:linear-gradient(180deg, var(--bg), var(--white));
    position:relative;
    overflow:hidden;
}
.journey-heading{
    max-width:650px;
    margin:auto;
    text-align:center;
    margin-bottom:60px;
}
.journey-heading span{
    color:var(--secondary);
    font-size:var(--font-size-xs);
    font-weight:700;
    letter-spacing:3px;
    text-transform:uppercase;
}
.journey-heading h2{
    margin:20px 0;
    font-size:38px;
    line-height:1.3;
    color:var(--primary-dark);
    font-weight:var(--heading-weight);
}
.journey-heading h2 span{
    display:block;
    color:var(--secondary);
    font-size:38px;
}
.journey-heading p{
    color:var(--text-light);
    line-height:1.9;
    font-size:var(--font-size-sm);
}

/* Timeline */
.timeline-wrapper{
    max-width:1200px;
    margin:auto;
    position:relative;
    padding:30px 0;
}
.timeline-line{
    position:absolute;
    left:50%;
    top:0;
    transform:translateX(-50%);
    width:6px;
    height:100%;
    border-radius:20px;
    background:linear-gradient(to bottom, var(--primary), var(--secondary), var(--primary));
}
.timeline-card{
    width:50%;
    position:relative;
    margin-bottom:60px;
}
.timeline-card.left{
    padding-right:70px;
}
.timeline-card.right{
    margin-left:50%;
    padding-left:70px;
}
.year-badge{
    position:absolute;
    top:35px;
    width:90px;
    height:90px;
    background:var(--primary);
    color:var(--white);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:18px;
    border:6px solid var(--white);
    box-shadow:0 12px 30px rgba(0,0,0,0.15);
    z-index:2;
    transition:.4s;
}
.timeline-card.left .year-badge{
    right:-45px;
}
.timeline-card.right .year-badge{
    left:-45px;
}
.timeline-content{
    background:var(--white);
    padding:25px;
    border-radius:22px;
    box-shadow:0 20px 45px rgba(0,0,0,0.08);
    transition:.4s;
    position:relative;
    overflow:hidden;
}
.timeline-content::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:6px;
    height:100%;
    background:var(--secondary);
}
.timeline-content:hover{
    transform:translateY(-12px);
    box-shadow:0 25px 60px rgba(0,0,0,0.12);
    border:1px solid rgba(212,160,23,0.35);
}
.timeline-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:rgba(243,156,18,0.1);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--primary);
    font-size:30px;
    margin-bottom:20px;
    transition:.4s;
}
.timeline-content:hover .timeline-icon{
    transform:rotate(10deg) scale(1.1);
}
.timeline-content h3{
    font-size:22px;
    color:var(--primary);
    margin-bottom:10px;
    font-weight:var(--heading-weight);
}
.timeline-content p{
    color:var(--text-light);
    line-height:1.7;
    font-size:var(--font-size-sm);
}

/* Scroll Reveal Animation */
.reveal{
    opacity:0;
    transform:translateY(80px);
    transition:1s ease;
}
.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* Floating Hearts */
.floating-heart{
    position:absolute;
    bottom:0;
    color:var(--primary);
    opacity:0.3;
    animation:floatUp 8s linear forwards;
    pointer-events:none;
    z-index:0;
}
@keyframes floatUp{
    0%{transform:translateY(0) rotate(0deg);opacity:0.3;}
    100%{transform:translateY(-500px) rotate(360deg);opacity:0;}
}

/* Background Decorations */
.journey-section::before{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    border-radius:50%;
    background:rgba(212,160,23,0.08);
    top:-100px;
    left:-100px;
    filter:blur(20px);
}
.journey-section::after{
    content:"";
    position:absolute;
    width:300px;
    height:300px;
    border-radius:50%;
    background:rgba(122,15,25,0.06);
    right:-100px;
    bottom:-100px;
    filter:blur(30px);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large Tablet */
@media(max-width:1024px){
    .about-container,
    .about-main{
        grid-template-columns:1fr;
        gap:40px;
    }
    .about-left{
        text-align:center;
    }
    .about-image-card{
        width:360px;
        height:450px;
    }
    .about-image{
        max-width:500px;
        margin:auto;
    }
    .about-image img{
        height:450px;
    }
    .floating-card{
        transform:scale(0.9);
    }
    .top-card{left:0;}
    .bottom-card{right:0;}
    .about-title h1{
        font-size:40px;
    }
}

/* Tablet */
@media(max-width:768px){
    .unique-about{
        padding:60px 5%;
    }
    .about-container{
        display:flex;
        flex-direction:column;
    }
    .about-left{
        text-align:center;
    }
    .about-left h2{
        font-size:30px;
        line-height:1.3;
    }
    .about-left p{
        font-size:14px;
    }
    .about-story{
        text-align:left;
        padding:15px;
    }
    .about-btn{
        padding:12px 25px;
    }
    .about-image-card{
        width:280px;
        height:350px;
    }
    .floating-card{
        display:none;
    }

    /* Premium About */
    .premium-about{
        padding:60px 5%;
    }
    .about-title h1{
        font-size:30px;
        line-height:1.3;
    }
    .about-title p{
        font-size:14px;
    }
    .about-main{
        display:flex;
        flex-direction:column;
        margin:40px auto;
    }
    .about-image img{
        height:350px;
        border-radius:150px 150px 25px 25px;
    }
    .experience-card{
        right:0;
        bottom:20px;
        padding:15px;
    }
    .experience-card h2{
        font-size:30px;
    }
    .ai-card{
        padding:25px;
    }
    .match-score{
        font-size:40px;
    }
    .promise-box{
        grid-template-columns:1fr;
        gap:15px;
    }
    .promise-card{
        padding:20px;
    }
    .about-stats{
        grid-template-columns:repeat(2,1fr);
        padding:25px;
        gap:25px;
        margin-top:40px;
    }
    .about-stats h2{
        font-size:28px;
    }
    .about-stats p{
        font-size:13px;
    }

    /* Journey */
    .journey-section{
        padding:70px 20px;
    }
    .journey-heading{
        margin-bottom:50px;
    }
    .journey-heading h2,
    .journey-heading h2 span{
        font-size:30px;
    }
    .journey-heading p{
        font-size:14px;
    }
    .timeline-line{
        left:28px;
        width:4px;
    }
    .timeline-card{
        width:100%;
        padding-left:75px !important;
        padding-right:0 !important;
        margin-bottom:45px;
    }
    .year-badge{
        width:58px;
        height:58px;
        left:0 !important;
        font-size:13px;
        border-width:4px;
    }
    .timeline-content{
        padding:20px;
        border-radius:20px;
    }
    .timeline-content h3{
        font-size:20px;
    }
    .timeline-content p{
        font-size:13px;
        line-height:1.7;
    }
    .timeline-icon{
        width:55px;
        height:55px;
        font-size:22px;
    }
}

/* Small Mobile */
@media(max-width:480px){
    .page-heading h1{
        font-size:var(--font-size-lg);
    }
    .about-title h1{
        font-size:26px;
    }
    .about-left h2{
        font-size:26px;
    }
    .about-image-card{
        width:240px;
        height:320px;
    }
    .about-image img{
        height:320px;
    }
    .about-story{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }
    .story-icon{
        width:50px;
        height:50px;
        min-width:50px;
    }
    .about-stats{
        grid-template-columns:1fr;
    }
    .ai-icon{
        font-size:40px;
    }
    .promise-card h3{
        font-size:18px;
    }
    .journey-heading h2,
    .journey-heading h2 span{
        font-size:24px;
    }
    .timeline-content{
        padding:18px;
    }
    .timeline-content h3{
        font-size:18px;
    }
    .timeline-content p{
        font-size:12px;
    }
    .timeline-icon{
        width:48px;
        height:48px;
        font-size:20px;
    }
    .year-badge{
        width:50px;
        height:50px;
        font-size:11px;
    }
}
