﻿main {
    overflow: hidden;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr;
    height: 600px;
    width: 100%;
    background: #eff4ff;
    overflow: hidden;
}

.about-hero-img {
    position: relative;
    overflow: hidden;
}

    .about-hero-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        clip-path: path('M0,0 H1000 V1000 H0 C0 700, 100 400, 0 0 Z');
        opacity: 0;
        animation: fadeIn 2s ease forwards;
    }

.about-hero-text {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeInFromBottom 2s ease forwards;
    opacity: 0;
}

    .about-hero-text h1 {
        font-weight: 700;
        font-size: 2.8rem;
        text-align: left;
        color: #101828;
        line-height: 1.25;
        margin-bottom: 1.25rem;
        letter-spacing: -0.02em;
    }

    .about-hero-text h2 {
        text-align: left;
        font-weight: 400;
        font-size: 1.2rem;
        color: #475569;
        line-height: 1.6;
    }

.container {
    margin: 0 auto;
    max-width: 1400px;
    padding: 10px;
    font-family: 'Nunito', sans-serif;
}

    .container h2 {
        text-align: center;
    }

    .container h3 {
        margin-top: 15px;
    }

.founders-year {
    margin-top: 10px;
}

.rm-faded-logo-bg {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.rm-faded-background-logo {
    position: absolute;
    left: 23%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: auto;
    opacity: 1;
    fill: #e3ebff;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.02);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInFromBottom {
    from {
        opacity: 0;
        transform: translateY(5%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Story Section */
.about-story {
    padding: 4rem 0;
    position: relative;
    background-color: #ffffff;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

    .story-content h2 {
        text-align: center;
        font-size: 3rem;
        margin-bottom: 2rem;
        line-height: 1.3;
        color: #101828;
        font-family: 'Nunito', sans-serif;
    }

    .story-content h3 {
        display: none;
    }

.story-text {
    font-size: 1.2rem;
    line-height: 1.4;
    color: #475569;
    font-family: 'Nunito', sans-serif;
}

    .story-text p {
        margin-bottom: 1.5rem;
        break-inside: avoid;
    }

.nz-fern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.03;
}

    .nz-fern svg {
        width: 110%;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scaleX(-1);
        fill: #000;
    }


/* Founders Section */
.about-founders {
    background-color: #f8faff;
    padding: 4rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

    .about-founders h2 {
        text-align: center;
        font-size: 3rem;
        margin-bottom: 2.5rem;
        line-height: 1.3;
        color: #101828;
        font-family: 'Nunito', sans-serif;
    }

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.founder-card {
    background: #ffffff;
    border: 1px solid #dde5f5;
    border-radius: 6px;
    padding: 2rem 2.25rem;
}

    .founder-card h3 {
        font-size: 1.3rem;
        font-weight: 700;
        color: #101828;
        margin-bottom: 0.25rem;
        font-family: 'Nunito', sans-serif;
    }

.founder-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #155dee;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.founder-card p:last-child {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    font-family: 'Nunito', sans-serif;
}

.founders-year {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #64748b;
    font-family: 'Nunito', sans-serif;
}


/* Values Section */
.about-values {
    background: linear-gradient(to bottom, #ffffff, #eff4ff);
    padding: 4rem 0 0 0;
    display: flex;
    justify-content: center;
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.value-item svg {
    width: 60px;
    fill: #155dee;
}

.about-values h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.3;
    color: #101828;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
}

.value-item {
    background: #eff4ff;
    border: 1px solid #155dee;
    border-radius: 5px;
    padding: 2rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

    .value-item h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        text-align: center;
        color: #101828;
    }

    .value-item p {
        color: #344054;
        line-height: 1.6;
        text-align: center;
    }


/* Responsive tweaks */
@media (max-width: 1200px) {
    .story-content {
        padding: 0 10px;
    }

    .story-text {
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .nz-fern {
        width: 1000px;
        height: 1000px;
    }

    .story-content h3 {
        display: block;
        text-align: center;
        margin-bottom: 2rem;
        line-height: 1.3;
        color: #101828;
        font-family: 'Nunito', sans-serif;
    }

    .story-content h2 {
        margin-bottom: 0;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .about-hero-img {
        order: 1;
        height: 400px;
    }

        .about-hero-img img {
            height: 100%;
            clip-path: none;
        }

    .about-hero-text {
        display: none;
    }

        .about-hero-text h1 {
            font-size: 2.2rem;
        }

        .about-hero-text h2 {
            font-size: 1.1rem;
        }

    .rm-faded-background-logo {
        width: 500px;
    }

    .founders-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
}

@media (max-width: 1240px) {
    .value-item h3 {
        font-size: 1.1rem;
    }

    .value-item p {
        font-size: 0.95rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
}

@media (max-width: 700px) {
    .story-content h2,
    .about-values h2,
    .about-founders h2 {
        font-size: 2.2rem;
    }
}


/* //////////////////////////////////// */
/* FOOTER SOCIAL MEDIA */
/* //////////////////////////////////// */

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #155dee;
        transition: all 0.3s ease;
    }

        .footer-social a:hover {
            background-color: #163cc4;
            transform: scale(120%);
        }

    .footer-social svg {
        width: 20px;
        height: 20px;
        fill: #101828;
        transition: fill 0.3s ease;
    }

    .footer-social a:hover svg {
        fill: #fff;
    }

@media (max-width: 768px) {
    .footer-social {
        gap: 15px;
    }

        .footer-social a {
            width: 35px;
            height: 35px;
        }

        .footer-social svg {
            width: 18px;
            height: 18px;
        }
}
