/* =========================
   VARIABLES (extended)
========================= */
:root {
    --black: #0a0a0a;
    --main-bg: #f8f8f8;
    --white: #ffffff;
    --header-color: #111111;
    --accent: #22c59f;
    --text-light: #666666;
    --border-light: #eaeaea;

    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 2rem;
    --fs-display: clamp(2.2rem, 5vw, 3.5rem);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--main-bg);
    color: var(--black);
    font-family: "Inter", system-ui, sans-serif;
    line-height: 1.7;
}

/* =========================
   HERO SECTION
========================= */
.about-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: var(--fs-display);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: var(--fs-xl);
    color: var(--text-light);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.08));
}

/* =========================
   SECTIONS
========================= */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.mission-section {
    background: white;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.mission-section h2 {
    text-align: center;
    font-size: var(--fs-3xl);
    margin-bottom: 2rem;
}

.mission-section p {
    max-width: 850px;
    margin: 0 auto 1.5rem;
    text-align: center;
    line-height: 1.8;
    color: var(--text-light);
    font-size:1.08rem;
}

.mission-section p:last-child {
    margin-bottom: 0;
}

/* Team Section */
.team-section .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: var(--fs-3xl);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: var(--fs-lg);
}

/* Profiles Grid */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

/* =========================
   PROFILE CARDS
========================= */
.profile-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    padding: 48px 32px;
    text-align: center;
    transition: all .3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,.04);

    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.profile-center {
    margin: 40px auto 0;
}


.profile-avatar {
    width: 128px;
    height: 128px;
    margin: 0 auto 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f2f2f2;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.profile-role {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(34, 197, 159, 0.12);
    color: var(--accent);
    border-radius: 9999px;
    font-size: var(--fs-sm);
    font-weight: 600;
}

.profile-specialization {
    margin: 16px 0 20px;
    color: var(--text-light);
    font-size: var(--fs-sm);
}

.profile-bio {
    color: #444;
    line-height: 1.65;
    text-align: justify;
}

.badge {
    display: inline-block;
    color: var(--accent);
    background: var(--black);
    padding: 8px 20px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}


/* =========================
   COMPANY STORY
========================= */

.company-story{
    background: #fff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.story-grid{
    display:grid;
    grid-template-columns:340px 1fr;
    gap:70px;
    align-items:start;
}

.story-title{
    position:sticky;
    top:120px;
}

.story-title h2{
    font-size:2.4rem;
    line-height:1.2;
    margin-top:16px;
    
}

.story-content{
    max-width:760px;
    text-align:justify;
}

.story-content p{
    margin-bottom:28px;
    font-size:1.08rem;
    color:#555;
    line-height:1.9;
}

.story-content strong{
    color:var(--black);
}


/* Responsive */

@media (max-width:900px){

    .story-grid{
        grid-template-columns:1fr;
        gap:40px;
    }

    .story-title{
        position:static;
        text-align:center;
    }

    .story-content{
        max-width:100%;
    }

}

@media (max-width: 768px) {

    .about-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 80px 20px 60px;
    }
    
    .profiles-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .profile-card {
        padding: 40px 24px;
        max-width: 600px;
    }

    .profile-center {
        margin-top: 28px;
    }

    .profile-bio {
        text-align: left;
    }
}

@media (max-width:480px){

    .section-container{
        padding:50px 16px;
    }

    .about-hero{
        padding:60px 16px 50px;
        gap:2rem;
    }

    .hero-content h1{
        font-size:2rem;
    }

    .lead{
        font-size:1rem;
    }

   .profiles-grid {
        gap: 20px;
    }

    .profile-card {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .profile-center {
        margin-top: 20px;
    }

    .profile-avatar {
        width: 96px;
        height: 96px;
        margin-bottom: 20px;
    }

    .profile-card h3 {
        font-size: 1.3rem;
    }

    .mission-section p,
    .story-content p{
        font-size:1rem;
        line-height:1.8;
    }

    .story-title h2{
        font-size:2rem;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .profiles-grid {
        grid-template-columns: repeat(2, minmax(340px, 420px));
        justify-content: center;
        gap: 40px;
    }

    .profile-center {
        grid-column: 1 / -1;
        justify-self: center;
    }
}