@import 'global.css';
/*ABOUT HERO*/
#about-hero{
    text-align: center;
    margin: 5rem 0;
}
#about-hero h1{
    font: var(--h1);
    color: var(--text-color);
}
#about-hero p{
    font: var(--h3);
    color: var(--text-muted);
}
/*****
ABOUT
******/

.about-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap:5rem;
    background: var(--bg);
    border-radius: 0.5rem;
}
.about-text{
    flex: 1;
    padding: 3rem;
}
.about-text h2{
    margin-bottom: 1rem;
    font: var(--h2);
    color: var(--text-color);
}
.about-text p{
    margin-top: 0.25rem;
    font:var(--p1);
    color: var(--text-color)
}
.image-placeholder img{
    max-height: 500px;
    background: transparent;
}
/*JOURNEY*/
#journey {
    margin: 5rem 0;
}
#journey h2{
    font: var(--h1);
    color: var(--text-color);
    margin: 2rem 0;
    text-align: center;
}
.timeline{
   padding: 2rem;
}
.timeline-item{
    background: var(--bg);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    border: 2px solid var(--primary);
}
.timeline-date{
    font: var(--h3);
    color: var(--secondary);
    margin-bottom: 0.5rem;
}
.timeline-item h3{
    font: var(--h2);
    color: var(--text-color);
}
.timeline-item p{
    font: var(--p1);
    color: var(--text-muted);
    margin-top: 0.5rem;
}
/*CREDENTIALS*/
#credentials{
    margin: 5rem 0;
    text-align: center;
}

#credentials h2{
    font: var(--h1);
    color: var(--text-color);
    margin: 2rem 0;
}
.credentials-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}
.credential{
    background: var(--bg);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 2px solid var(--primary);
}
.credential h3{
    font: var(--h2);
    color: var(--text-color);
}
.credential p{
    font: var(--p1);
    color: var(--text-muted);
    margin-top: 0.5rem;
}
/*****
STATS
******/
#stats{
    background: var(--primary);
    opacity: 0.9;
    color: var(--bg-dark);
    text-align: center;
    padding: 1rem;
}
.stats-grid{
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
}
.stat-number{
    font: var(--h1);
}
.stat-label{
    font: var(--p1);
}

/*PHILOSOPHY*/
#philosophy{
    width: 80%;
    margin: 5rem auto;
    padding: 2rem 0;
}
.philosophy-items{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

#philosophy h2{
    font: var(--h1);
    color: var(--text-color);
    margin: 2rem 0;
    text-align: center;
}

.philosophy-item{
    background: var(--bg);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--bg-light);
    transition: border-color 0.2s;
}
.philosophy-item:hover{
    border: 1px solid var(--primary);
}

.philosophy-item h3{
    font: var(--h2);
    color: var(--primary);
}
.philosophy-item p{
    font: var(--p1);
    color: var(--text-muted);
    margin-top: 0.5rem;
}
@media (max-width:500px) {
    .credentials-grid{display: block;}
    .credential{
        width: 80%;
        margin: 0 auto 2rem auto;
    }
    .philosophy-items{display: block;}
    .philosophy-item{
        width: 80%;
        margin: 0 auto 2rem auto;
    }
    .stats-grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap:1rem;
    }
}

