@font-face {
    font-family: machina;
    src: url(./assets/n.woff2);
}

@font-face {
    font-family: man;
    src: url(./assets/m.woff2);
}

:root {
    --orange: #cd5427;
    --black: #000000;
    --white: #ffffff;
    --panel: #0c0c0c;
    --border: #302c2a;
    --muted: #a5a5a5;
    --text-soft: #d7d7d7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: machina;
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: var(--black);
}

main {
    padding: 15px;
    min-height: 100vh;
}

.site-nav {
    height: 10%;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    height: 35px;
    cursor: pointer;
}

.nav-links {
    color: var(--muted);
    font-family: man;
    display: flex;
    gap: 30px;
    font-size: 15px;
    background-color: var(--panel);
    padding: 15px 25px;
    border-radius: 5px;
    border-right: 1px solid rgb(156, 156, 156);
    border-left: 1px solid rgb(156, 156, 156);
}

.nav-link {
    height: 20px;
    overflow: hidden;
    cursor: pointer;
}

.nav-link span {
    display: block;
    font-family: man;
    transition: transform 0.3s ease;
}

.nav-link:hover span {
    transform: translateY(-20px);
}

.nav-link span:first-child {
    color: var(--muted);
}

.nav-link span:nth-child(2) {
    color: var(--orange);
}

.nav-link.is-active span:first-child {
    color: var(--white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sign-btn {
    height: 40px;
    padding: 0 12px;
    color: var(--white);
    background-color: transparent;
    border: none;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sign-btn span {
    height: 40px;
    line-height: 40px;
    display: block;
    transition: transform 0.3s ease;
}

.sign-btn:hover {
    background-color: var(--orange);
}

.sign-btn:hover span {
    transform: translateY(-40px);
}

.menu-icon {
    color: var(--white);
    display: none;
    font-size: 20px;
}

#hero {
    min-height: 85vh;
    background-image: url(./assets/bg.svg);
    background-size: cover;
    padding: 100px 5%;
}

.hero-content {
    color: var(--white);
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.hero-content > span {
    color: var(--orange);
    font-size: 20px;
}

.hero-title {
    width: 100%;
    max-width: 1000px;
    text-align: center;
}

.hero-title > span {
    color: var(--white);
    font-size: clamp(40px, 6vw, 63px);
    line-height: 80px;
}

.title-highlight {
    border: 2px solid var(--orange);
    padding: 0 10px;
    background-color: rgba(205, 84, 39, 0.2);
    position: relative;
}

.corner {
    position: absolute;
    height: 8px;
    width: 8px;
    background: var(--white);
    border-radius: 50%;
}

.corner-tl {
    top: -6px;
    left: -6px;
}

.corner-tr {
    top: -6px;
    right: -6px;
}

.corner-bl {
    bottom: -6px;
    left: -6px;
}

.corner-br {
    right: -6px;
    bottom: -6px;
}

.hero-content p {
    width: 70%;
    color: var(--text-soft);
    font-family: man;
    font-size: 25px;
    text-align: center;
}

.student-proof {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avatar-stack {
    display: flex;
}

.avatar-stack div {
    height: 30px;
    width: 30px;
    margin-left: -10px;
    background-color: var(--white);
    background-size: cover;
    border: 2px solid var(--black);
    border-radius: 50%;
}

.avatar-stack div:nth-child(1) {
    background-image: url(./assets/s1.webp);
}

.avatar-stack div:nth-child(2) {
    background-image: url(./assets/s2.webp);
}

.avatar-stack div:nth-child(3) {
    background-image: url(./assets/s3.webp);
}

.avatar-stack div:nth-child(4) {
    background-image: url(./assets/s4.webp);
}

.student-proof h2 {
    color: var(--orange);
    font-family: man;
    font-size: 15px;
}

.student-proof span {
    color: var(--text-soft);
    font-family: man;
    font-size: 15px;
}

.hero-content button {
    background: linear-gradient(96.76deg, rgb(232, 96, 46) 5.3%, rgb(52, 14, 0) 234.66%);
    padding: 15px 40px;
    color: var(--white);
    font-family: man;
    font-weight: 1000;
    font-size: 16px;
    border: none;
    border-radius: 10px;
}

#stats {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.stats-grid {
    width: 75vw;
    min-height: 80vh;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "youtube learner video"
        "job job video";
    gap: 14px;
    border-radius: 15px;
    backdrop-filter: blur(20px);
    box-shadow:
        rgba(0, 0, 0, 0.05) 0 4px 7px 0,
        rgba(0, 0, 0, 0.1) 0 4px 4px 0,
        rgba(0, 0, 0, 0.05) 0 4px 4px 0,
        rgb(48, 44, 42) 0 1px 68.7px 0 inset;
}

.stat-card,
.job-card,
.video-card {
    border: 0.54px solid var(--border);
    border-radius: 10px;
}

.video-card{
    opacity: 0.5;
}

.stat-card {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.youtube-card {
    grid-area: youtube;
}

.learner-card {
    grid-area: learner;
}

.stat-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.learner-card .stat-head {
    gap: 5px;
}

.stat-head img {
    height: 60px;
}

.stat-head h1 {
    color: var(--orange);
    font-family: man;
}

.stat-star {
    font-size: 45px;
}

.stat-card p {
    color: var(--white);
    font-family: man;
}

.stat-box p {
    font-weight: 100;
}

.job-card {
    grid-area: job;
    padding: 10px;
    color: var(--white);
    font-family: man;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
}

.job-title-row {
    display: flex;
    gap: 20px;
    font-family: man;
    flex-wrap: wrap;
}

.job-title-row .avatar-stack {
    padding-top: 8px;
}

.job-title-row .avatar-stack div {
    width: 40px;
    height: 40px;
}

.job-card h1 {
    font-size: clamp(20px, 3vw, 40px);
}

.job-arrow {
    width: fit-content;
    padding: 2px 15px 2px 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 25px;
    border: 2px solid var(--orange);
    border-radius: 30px;
}

.video-card {
    grid-area: video;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}

.video-cta {
    height: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.video-cta h1 {
    font-family: man;
    font-size: 35px;
    font-weight: 400;
    line-height: 30px;
}

.video-cta button {
    color: var(--orange);
    font-family: man;
    font-size: 20px;
    font-weight: 500;
    background: transparent;
    border: 0.54px solid var(--border);
    padding: 10px 20px;
    border-radius: 10px;
    backdrop-filter: blur(20px);
    box-shadow:
        rgba(0, 0, 0, 0.05) 0 4px 7px 0,
        rgba(0, 0, 0, 0.1) 0 4px 4px 0,
        rgba(0, 0, 0, 0.05) 0 4px 4px 0,
        rgb(25, 23, 22) 0 1px 68.7px 0 inset;
}

#brands {
    width: 100%;
    margin-top: 10%;
    overflow: hidden;
}

#brands img {
    height: 67px;
    flex-shrink: 0;
}

.logo-marquee {
    width: max-content;
}

.logo-track {
    display: flex;
    align-items: center;
    animation: marquee 10s linear infinite;
}

.logo-track img {
    margin-right: 150px;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

#impact {
    width: 100%;
    height: 100%;
    padding: 30px;
}

.section-heading {
    color: var(--white);
    text-align: center;
    margin-top: 10%;
    padding: 30px;
}

.section-heading span {
    color: #827f7e;
    border: 1px solid var(--orange);
    padding: 0 15px;
    background-color: rgba(205, 84, 39, 0.2);
}

.section-heading h1 {
    font-family: man;
    font-size: 45px;
}

.impact-cards {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
    flex-wrap: wrap;
}

.impact-card {
    height: 400px;
    width: 300px;
    padding: 15px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background-size: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.impact-card:hover {
    filter: grayscale(0%);
}

.campus-card {
    background-image: url(./assets/c1.webp);
}

.seminar-card {
    margin-top: 60px;
    background-image: url(./assets/c2.webp);
}

.meetup-card {
    background-image: url(./assets/c3.webp);
}

.outing-card {
    margin-top: 60px;
    background-image: url(./assets/c4.webp);
}

.card-shade {
    width: 100%;
    height: 0%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(205, 84, 39, 0.95), transparent);
    transition: all 0.5s ease;
}

.impact-card:hover .card-shade {
    height: 60%;
}

.card-meta,
.card-icon {
    position: relative;
    z-index: 5;
}

.card-badge {
    width: 80px;
    height: 25px;
    color: var(--white);
    background-color: var(--orange);
    font-family: man;
    gap: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border-radius: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.card-badge p {
    font-family: man;
}

.wide-badge {
    width: 100px;
}

.impact-card:hover .card-badge {
    opacity: 1;
}

.card-icon {
    transition: all 0.3s ease;
}

.impact-card:hover .card-icon {
    transform: rotate(45deg);
}

.card-icon .ri-arrow-right-up-long-line {
    height: 50px;
    width: 50px;
    color: var(--white);
    background-color: var(--panel);
    font-size: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: right;
}

.card-copy {
    color: var(--white);
    font-family: man;
    position: absolute;
    left: 20px;
    bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
    z-index: 5;
}

.card-copy h2,
.card-copy p {
    font-family: man;
}

.impact-card:hover .card-copy {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1000px) {
    .menu-icon {
        display: block;
        font-size: 30px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }
}

@media (max-width: 900px) {
    #stats {
        height: auto;
    }

    .stats-grid {
        width: 100%;
        height: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "youtube learner"
            "job job"
            "video video";
    }

    .stats-grid > div {
        min-height: 250px;
    }
}
