/* ==========================================================================
   ABOUT US PAGE SPECIFIC STYLES
   ========================================================================== */

.about-page .container {
    box-sizing: border-box;
    margin-top: 40px;
}

.text-center {
    text-align: center;
}

/* --- About Hero Section --- */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

.about-hero-content {
    text-align: left;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

.about-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.15;
    margin: 15px 0 25px;
    font-weight: 700;
}

.about-hero-content p {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
}

.about-hero-graphic {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.about-hero-graphic img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    border-radius: 25px;
}

/* Extraneous Decorative Elements from Original File */
.glowing-hemisphere {
    position: absolute;
    bottom: -150px;
    right: 0;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    box-shadow: 0 0 150px rgba(139, 92, 246, 0.1);
    border-top: 1px dashed rgba(139, 92, 246, 0.4);
    z-index: 0;
    pointer-events: none;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.f-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.i-1 {
    top: 20%;
    left: 10%;
}

.i-2 {
    top: 5%;
    left: 35%;
}

.i-3 {
    top: 0%;
    left: 65%;
}

.i-4 {
    top: 15%;
    left: 90%;
}

.i-5 {
    top: 40%;
    left: 105%;
}

/* --- Why We Started --- */
.why-started {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.why-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.why-text p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.about-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.about-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* --- What We Believe --- */
.what-we-believe {
    padding: 100px 0;
}

.what-we-believe h2 {
    margin-bottom: 50px;
    font-size: 2rem;
    text-align: center;
}

.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}

.belief-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.belief-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--primary-light);
}

.belief-item p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

/* --- Our Perspective --- */
.our-perspective {
    padding: 100px 0;
}

.perspective-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.perspective-graphic {
    width: 100%;
    display: flex;
    justify-content: center;
}

.layered-planes {
    position: relative;
    height: 300px;
    width: 100%;
    max-width: 400px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.plane {
    position: absolute;
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(45, 212, 191, 0.1));
    border: 1px solid var(--primary);
    border-radius: 16px;
    transform: rotateX(60deg) rotateZ(-45deg);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.1);
}

.plane-1 {
    top: 0;
    left: 0;
    z-index: 4;
}

.plane-2 {
    top: 40px;
    left: 0;
    z-index: 3;
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.5);
}

.plane-3 {
    top: 80px;
    left: 0;
    z-index: 2;
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.3);
}

.plane-4 {
    top: 120px;
    left: 0;
    z-index: 1;
    background: rgba(139, 92, 246, 0.02);
    border-color: rgba(139, 92, 246, 0.1);
}

.perspective-content {
    display: flex;
    flex-direction: column;
}

.perspective-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.p-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    font-weight: 500;
}

.p-item i {
    color: var(--primary);
    font-size: 1.4rem;
    width: 30px;
    text-align: center;
}

/* --- How We Work --- */
.how-we-work {
    padding: 100px 0;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    align-items: stretch;
}

.work-step {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.work-step i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.work-step h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.work-step p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

/* --- Leadership --- */
.leadership {
    padding: 100px 0;
}

.leader-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.leader-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.leader-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--bg-surface-light);
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.leader-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.leader-info span {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.leader-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 25px 0;
    line-height: 1.6;
    flex-grow: 1;
}

.linkedin-link {
    color: var(--text-muted);
    font-size: 1.4rem;
    transition: color 0.3s;
    align-self: flex-start;
}

.linkedin-link:hover {
    color: var(--primary);
}

/* --- Future Building Section --- */
.future-building {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    align-items: center;
}

.future-content h2 {
    font-size: 2rem;
    margin: 15px 0;
    line-height: 1.3;
}

.future-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.future-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.t-step {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.t-step i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.t-step h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.t-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.t-connector {
    flex: 1;
    height: 1px;
    border-top: 2px dashed var(--border-color);
    margin-top: 30px;
    opacity: 0.7;
    min-width: 20px;
}

.m-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
}
.m-logo img{
    height: 60px;
}

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

/* 1200px - Large Laptops */
@media (max-width: 1200px) {

    .why-grid,
    .perspective-grid,
    .future-building {
        gap: 40px;
    }
}

/* 1024px - Tablets */
@media (max-width: 1024px) {
    .about-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 80px 0;
    }

    .about-hero-content {
        margin: 0 auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-hero-graphic img {
        max-width: 80%;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-text {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .why-text .icon-header {
        display: flex;
        justify-content: center;
    }

    .perspective-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .perspective-graphic {
        order: -1;
        margin-bottom: 40px;
    }

    .beliefs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .work-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .future-building {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .future-content {
        margin-bottom: 40px;
    }

    .future-timeline {
        flex-wrap: wrap;
        gap: 20px;
    }

    .t-connector {
        display: none;
    }

    .t-step {
        flex: 1 1 calc(50% - 20px);
        margin-bottom: 20px;
    }
}

/* 768px - Large Phones / Small Tablets */
@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0;
    }

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

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

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

    .perspective-list {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .future-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .t-step {
        display: grid;
        grid-template-columns: 60px 1fr;
        column-gap: 18px;
        align-items: center;
        text-align: left;
        width: 100%;
        margin-bottom: 32px;
    }

    .t-step i {
        grid-row: 1 / span 2;
        width: 60px;
        height: 60px;
        margin: 0;
        flex-shrink: 0;
    }

    .t-step h4 {
        margin: 0 0 6px;
        line-height: 1.2;
    }

    .t-step p {
        margin: 0;
        line-height: 1.5;
        max-width: 100%;
    }

    .t-connector {
        display: block;
        width: 2px;
        height: 30px;
        border-top: none;
        border-left: 2px dashed var(--border-color);
        margin: -30px 0 0 29px;
        /* Align centrally with the 60px icon above it */
        min-width: 0;
        padding-bottom: 30px;
    }

}

/* 576px - Mobile */
@media (max-width: 576px) {
    .why-cards {
        grid-template-columns: 1fr;
    }

    .beliefs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* 480px - Small Mobile Devices */
@media (max-width: 480px) {
    .about-hero-content h1 {
        font-size: 2.2rem;
    }

    .beliefs-grid,
    .work-grid,
    .leader-grid {
        grid-template-columns: 1fr;
    }

    .layered-planes {
        height: 250px;
    }

    .plane {
        height: 140px;
    }
}
