body {
    scroll-behavior: smooth;
}

.hero {
    padding: 120px 2rem 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
}

.hero-top {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 500;
}


.hero-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--text-primary);
}

.hero-middle {
    margin-bottom: 1.5rem;
}

.hero-middle h1 {
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc-text {
    max-width: 600px;
}

.hero-btns {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}


.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--accent-light) 1px, transparent 1px), linear-gradient(90deg, var(--accent-light) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
}

.team {
    padding: 5rem 2rem;
    background-color: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.team .svg-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.team-content {
    width: 100%;
    max-width: 1200px;
    z-index: 2;
}


.team h2 {
    font-size: 2.25rem;
    font-weight: 800;
}

.section-tag {
    display: inline-block;
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.3);
    color: var(--accent-primary);
    padding: 0.35rem 0.9rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    z-index: 2;
}

.team-side {
    max-width: 400px;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.team-bio-title {
    position: relative;
    font-size: 13px;
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
}

.team-bio-name {
    font-size: 25px;
    text-align: center;
}

.team-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 150px;
    height: 150px;
    border-radius: 10px;
    border: 1px solid var(--accent-primary);
    margin-bottom: 10px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-middle {
    margin-top: 4rem;
    z-index: 2;
}

.team-cards {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-cards-top {
    display: flex;
    gap: 2rem;
}

.team-cards-top .team-card {
    width: 50%;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 500px;
}

.team-bio-text {
    text-align: center;
}

.team-bio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    max-width: 500px;
    width: 500px;
    flex-grow: 1;
    background-color: var(--bg-primary);
}

.team-contact {
    display: flex;
    gap: 12px;
    align-items: center;
}

.team-contect-link {
    border: 2px solid var(--border-color);
    min-width: 35px;
    max-width: 35px;
    height: 35px;
    gap: 10px;
    padding: 5px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    text-decoration: none;
    transition: max-width .5s ease, border-color .4s ease;
    overflow: hidden;
}

.team-contect-link svg {
    min-width: 20px;
    min-height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-contact-link-text {
    text-wrap: nowrap;
    color: var(--text-secondary);
    font-size: 14px;
}

.team-contect-link:hover {
    max-width: 300px;
    border-color: var(--accent-primary);
}

.team-contect-link:hover .team-contact-link-text {
    max-width: 300px;
}

.team-bio-title::before {
    content: '';
    width: 30px;
    height: 2px;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translate(-50%, 0%);
    background-color: var(--accent-primary);
}

.team-end {
    width: 100%;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    z-index: 2;
    justify-content: center;
}

.team-middle {
    padding-bottom: 2rem;
    border-bottom: 1.5px solid var(--border-color);
    z-index: 2;
}

.mission-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 5rem;
}

.mission {
    padding: 5rem 2rem;
    background-color: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.mission-hero h2 {
    font-size: 2.25rem;
    font-weight: 800;
}

.mission-hero-content {
    z-index: 2;
}

.mission-hero-content ol {
    font-weight: bold;
    margin: 1rem 1rem;
    list-style-position: inside;
}

.mission-hero {
    z-index: 2;
}

.mission-side {
    width: 100%;
    min-width: 500px;
    border: 1px solid var(--border-color);
    background-color: white;
    z-index: 2;
    border-radius: 4px;
}

.mission-side-item {
    padding: 15px 20px;
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mission-side-item:hover .mission-side-item-num {
    background-color: var(--accent-light);
    color: var(--accent-primary);
    font-weight: bold;
}

.mission-side-item:last-child {
    border-bottom: none;
}

.mission-side-item-num {
    border: 1px solid var(--border-color);
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    transition: background-color .4s ease, color .4s ease;
}

.mission-side-content h3 {
    font-weight: 500;
    font-size: 17px;
    z-index: 2;
}

.mission-side-content p {
    font-size: 14px;
    z-index: 2;
}

.mission-hero-btn {
    margin-top: 2rem;
}


.pm-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
}

@keyframes pm-float {
    to {
        transform: translate(15px, 20px) scale(1.08);
    }
}

.pm1 {
    width: 400px;
    height: 400px;
    background: #bfdbfe;
    top: -80px;
    left: -80px;
    animation: pm-float 9s ease-in-out infinite alternate;
}

.pm2 {
    width: 350px;
    height: 350px;
    background: #ddd6fe;
    top: 30px;
    right: -60px;
    animation: pm-float 11s ease-in-out infinite alternate-reverse;
}

.pm3 {
    width: 250px;
    height: 250px;
    background: #fbcfe8;
    bottom: -60px;
    left: 35%;
    animation: pm-float 7s ease-in-out infinite alternate;
}



@media (max-width: 1100px) {
    .team-bio {
        width: 300px;
    }

    .team-cards-top {
        gap: 4rem;
    }
}

@media (max-width: 1060px) {
    .mission-content {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 980px) {
    .team-top {
        width: 100%;
        flex-direction: column;
        align-items: baseline;
    }
}

@media (max-width: 730px) {
    .team-cards-top {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .team-bio {
        width: 100%;
        max-width: none;
    }

    .team-card {
        max-width: none;
    }

    .team-cards-top .team-card {
        width: 90%;
    }
}

@media (max-width: 560px) {
    .mission-side {
        min-width: 0;
    }
    .mission-hero-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 440px) {
    .hero-btns {
        flex-direction: column;

    }

    .hero-btns .btn {
        text-align: center;
    }
}

@media (max-width: 395px) {
    .hero-top {
        width: 100%;
        align-items: baseline;
        flex-direction: column;
    }

    .hero-dot {
        display: none;
    }
}