/* ==========================================
   ABOUT PAGE
   IshtiaqAli.com
   ========================================== */

/*==========================================
  HERO
==========================================*/

.about-hero {
    padding: clamp(7rem, 12vw, 10rem) 0 6rem;
    text-align: center;
}

.about-hero .section-label {
    margin-bottom: 1rem;
}

.about-hero h1 {
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.about-hero .section-description {
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.about-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/*==========================================
  INTRODUCTION
==========================================*/

.about-introduction {
    background: var(--surface);
    padding: var(--section-padding);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 5rem;
    align-items: center;
}

.about-photo {
    position: relative;
}

.about-photo img {
    width: 100%;
    border-radius: var(--radius-xl);
    display: block;
    box-shadow: var(--shadow-xl);
}

.about-name {
    margin-top: 2rem;
}

.about-name h3 {
    margin-bottom: .4rem;
}

.about-name p {
    color: var(--text-muted);
}

.about-story h2 {
    margin-bottom: 1.5rem;
}

.about-story p {
    margin-bottom: 1.5rem;
    max-width: 700px;
}

.about-quote {
    margin-top: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary);
}

.about-quote p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: .5rem;
}

.about-quote span {
    color: var(--text-muted);
}

/*==========================================
  TIMELINE
==========================================*/

.about-timeline {
    background: var(--background-secondary);
    padding: var(--section-padding);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 4rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 8px;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    border: 5px solid var(--background-secondary);
}

.timeline-year {
    font-size: .9rem;
    color: var(--primary);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.timeline-item h3 {
    margin-bottom: .75rem;
}

.timeline-item p {
    color: var(--text-muted);
}

/*==========================================
  HIGHLIGHTS
==========================================*/

.about-highlights {
    padding: var(--section-padding);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2rem;
}

.highlight-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: .3s;
}

.highlight-card:hover {
    transform: translateY(-6px);
}

.highlight-card h3 {
    margin-bottom: .8rem;
}

.highlight-card p {
    color: var(--text-muted);
}

/*==========================================
  EXPERTISE
==========================================*/

.about-tech-stack {
    background: var(--background-secondary);
    padding: var(--section-padding);
}

.tech-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 5rem;
    align-items: start;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1.5rem;
}

.stat-box {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem,5vw,3rem);
    font-weight: 700;
    margin-bottom: .5rem;
}

.stat-label {
    color: var(--text-muted);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-tags span {
    padding: .8rem 1.2rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: .95rem;
    transition: .3s;
}

.tech-tags span:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

/*==========================================
  PHILOSOPHY
==========================================*/

.about-philosophy {
    padding: 8rem 0;
    text-align: center;
}

.about-philosophy blockquote {
    max-width: 900px;
    margin: 0 auto 2rem;
    font-size: clamp(2rem,5vw,3.8rem);
    line-height: 1.2;
    font-weight: 600;
}

.about-philosophy p {
    max-width: 700px;
    margin: auto;
    color: var(--text-muted);
}

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

@media (max-width:1024px){

    .about-intro-grid,
    .tech-layout{
        grid-template-columns:1fr;
        gap:3rem;
    }

    .highlights-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:768px){

    .about-hero{
        padding-top:6rem;
    }

    .highlights-grid,
    .stats-grid{
        grid-template-columns:1fr;
    }

    .timeline-item{
        padding-left:55px;
    }

}

@media (max-width:576px){

    .about-actions{
        flex-direction:column;
        align-items:center;
    }

    .about-photo{
        max-width:320px;
        margin:auto;
    }

    .about-philosophy blockquote{
        font-size:2rem;
    }

}

.about-description{

font-size:1.18rem;

line-height:1.8;

margin: 0 auto;

padding: 40px;

}

.about-experience{
    padding: 8rem 0;
    position: relative;
}

.about-experience .container{
    max-width: 1100px;
}

.about-experience .section-heading{
    max-width: 760px;
    margin-bottom: 5rem;
}

.about-experience .section-heading h2{

    margin-bottom:1.5rem;

    line-height:1.05;

    letter-spacing:-0.03em;

}

.about-experience .section-description{

    max-width:620px;

    color:var(--text-secondary);

}

.career-timeline{

    display:flex;

    flex-direction:column;

    gap:4rem;

    margin-top:5rem;

}



.career-item{

    display:grid;

    grid-template-columns:140px 1fr;

    gap:3rem;

    padding-bottom:3rem;

    border-bottom:1px solid var(--border-color);
	position:relative;

}

.career-item:last-child{

    border-bottom:none;

}


.career-year{

    font-size:2.75rem;

    font-weight:800;

    line-height:1;

    color:rgba(120,120,140,.22);

    letter-spacing:-0.04em;

    position:sticky;

    top:140px;

}

.career-content h3{

    margin-bottom:1rem;

    font-size:2rem;

    line-height:1.1;

}

.career-content p{

    max-width:650px;

    font-size:1.05rem;

    color:var(--text-secondary);

    line-height:1.8;

}


.career-item{

    transition:.35s ease;

}

.career-item:hover{

    transform:translateX(10px);

}

.career-item:hover .career-year{

    color:var(--primary);

}

.career-item:hover h3{

    color:var(--primary);

}


.career-item::before{

    content:"";

    position:absolute;

    left:120px;

    top:22px;

    width:12px;

    height:12px;

    border-radius:50%;

    background:var(--primary);

    box-shadow:0 0 0 8px rgba(108,99,255,.08);

}

.career-item{

    position:relative;

    padding:2.5rem 0;

}

.career-item::after{

    content:"";

    position:absolute;

    left:220px;

    right:0;

    bottom:0;

    height:1px;

    background:var(--border-color);

}

.career-item:last-child::after{

    display:none;

}

.career-content h3{

font-size:2rem;

line-height:1.1;

margin-bottom:1rem;

}

.career-item:hover{

padding-left:18px;

}

.career-item:hover h3{

color:var(--primary);

}

.career-item:hover .career-year{

transform:translateX(-6px);

opacity:.35;

}