
@media (max-width: 992px) {


    
    .hero-description {
        /* max-width: 65%; */
    }

    .hero-cards .card {
        width: 150px;
    }

    .hero-cards {
    margin-top: -240px;
}


    
    .project {
        grid-template-columns: 1fr !important;
        direction: ltr !important;
        gap: 2.5rem;
        margin-bottom: 5rem;
    }

    .project > * {
        direction: ltr !important;
    }

    .project-visual {
    height: auto;
    min-height: unset;
}

    .certifications-section {
        padding: 4.5rem 2rem 3rem;
    }

    .cer-ti {
        margin-left: 0;
    }

    .cert-track {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .cert-strip::before,
    .cert-strip::after {
        width: 2rem;
    }

    .cert-tile {
        width: calc(100vw - 6.5rem);
    }



    .contact-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .fan-stage {
        min-height: 400px;
    }

    .fan-card {
        width: 175px;
    }

    .site-footer {
        padding: 1.75rem 2rem;
    }

    .pers-logo {
        width: 28%;
    }

    .footer-quote {
        margin-right: 6%;
    }
}




@media (max-width: 768px) {

    .cards {
        padding-top: 3rem;
        box-sizing: border-box;
    }

    .cards-container {
        flex-direction: column;
        gap: 1.1rem;
    }

    .cards-container .card {
        flex: none;
        width: 40vw;
        height: auto;
    }

    #card-1,
    #card-2,
    #card-3 {
        width: 40vw;
        height: auto;
    }

    .flip-card-back {
        gap: 0.3rem;
        padding: 0.6rem;
    }

    .card-title span {
        font-size: 0.6rem;
    }

    .card-copy {
        gap: 0.25rem;
    }

    .card-copy p {
        font-size: 0.62rem;
        line-height: 1.15;
        letter-spacing: 0.1px;
        overflow-wrap: break-word;
    }



    .site-nav {
        padding: 1rem 1.25rem;
    }

    .nav-year{
        display: none;
    }

    
    .hero {
        padding: 1rem 1.25rem;
        padding-top: 0;
        height: auto;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
    }

    .hero-divider {
         padding-top: 2rem;
        font-size: 1.5rem;
        word-spacing: 5px;
    }

    .hero-divider-right-text,
    .hero-divider-left-text {
        font-size: 0.7rem;
    }


    .hero-title-cont {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin: 1.5rem 0;
    }

    .hero-title {
        font-size: 16vw;
    }

    .hero-cards {
        height: auto;
        flex-shrink: 0;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }

    .hero-cards .card {
        width: 110px;
    }

    .hero-description {
        max-width: 70%;
        font-size: clamp(2.2rem, 5vw, 2.7rem);
    }

    
        .pip {

    font-size: 2.7rem;
    padding:1rem;

}

    .edu-facts {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    
    .projects-section {
        padding: 4rem 1.5rem;
    }

    .project-visual {
    height: auto;
    min-height: unset;
    font-size: 5rem;
}

    .certifications-section {
        padding: 4rem 1.5rem 2.5rem;
    }

    .cert-tile {
        width: calc(100vw - 5.5rem);
    }

    .cert-track {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .cert-strip::before,
    .cert-strip::after {
        width: 1.5rem;
    }

    .contact-section {
        padding: 6rem 1.5rem;
        padding-bottom: 13rem;
    }

    .fan-stage {
        min-height: 360px;
    }

    .fan-card {
        width: 145px;
    }

    .fan-card-icon {
        font-size: 2.2rem;
    }

    .fan-card-center {
        gap: 0.4rem;
    }

     .fan-card[data-card-index="0"] {

    width: 170px
}

    .site-footer {
        padding: 1.75rem 1.75rem;
    }

    .footer-top {
        /* margin-top: 1rem; */
        flex-direction: column;
        align-items: center;
        gap: 4rem;
        margin-bottom: 1.75rem;
    }

    .pers-logo {
        order: 1;
        width: 88%;

        margin: 0;
    }

    .footer-quote {
        order: 2;
        align-self: center;
        max-width: 100%;
        margin: 0;
        line-height: 1.6;
        text-align: center;
        margin-top: 3rem;
    }

    .footer-nav {
        display: none;
    }

    .footer-top-link {
        order: 3;
        align-self: center;
        margin-top: 0;
         margin-top: 3rem;
    }
}






@media (max-width: 576px) {


    .hero {
        padding: 0.5rem;
        padding-top: 0;
    }
    

    .hero-divider {
        font-size: 1rem;
        word-spacing: 3px;
        justify-content: space-around;
    }

    .hero-divider-left,
    .hero-divider-right {
        display: none;
    }

    .hero-divider-right-text,
    .hero-divider-left-text {
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 17vw;
    }

    .hero-cards {
        gap: 2rem;
        margin-top: -170px;
    }

    .hero-cards .card {
        width: 95px;
        
    }

    .hero-description {
        max-width: 70%;
        font-size: clamp(1.4rem, 5vw, 1.7rem);
    }

    .hero-tag {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .edu-year-num {
        font-size: 2rem;
    }


    .section-title {
        font-size: 2.5rem;
    }
    .project-visual {
    height: auto;
    min-height: unset;
}

    .certifications-section {
        padding: 3.5rem 1rem 2rem;
    }

    .cert-tile {
        width: calc(100vw - 4.5rem);
    }

    .cert-track {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .cert-strip::before,
    .cert-strip::after {
        width: 1rem;
    }

    .cert-lightbox {
        padding: 1rem;
    }

    .cert-lightbox-panel {
        padding: 2.25rem 1.25rem 1.5rem;
    }


    .contact-section {
        padding: 6rem 1rem;
        padding-bottom: 13rem;
    }

    .contact-title {
        font-size: 3.5rem;
    }

    .pip {

    font-size: 2.5rem;
    padding: 1rem;

}



    .fan-stage {
        min-height: 300px;
    }

    .fan-card {
        width: 115px;
        padding: 0.75rem;
        border-radius: var(--radius-md);
    }

    .fan-card-corner-val {
        font-size: 1.1rem;
    }

    .fan-card-icon {
        font-size: 1.8rem;
    }

    .fan-card-label {
        font-size: 0.85rem;
    }

    .fan-card-url {
        font-size: 0.6rem;
    }

    .fan-card-center {
        gap: 0.3rem;
    }

    .fan-intro-tagline {
        font-size: 1rem;
    }
     .fan-card[data-card-index="0"] {

    width: 135px
}

    .site-footer {
        padding: 1.5rem 1.25rem;
    }

    .footer-top {
        row-gap: 3rem;
        column-gap: 0.75rem;
    }

    .pers-logo {
        width: 88%;
    }

    .footer-quote {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .footer-divider {
        justify-content: space-around;
        font-size: 0.7rem;
        word-spacing: 3px;
    }

    .footer-divider-dots {
        display: none;
    }

}





@media (max-width: 360px) {

    .hero-divider {
        font-size: 0.8rem;
    }
    

    .hero-title {
        font-size: 17vw;
    }

    .hero-description {
        font-size: clamp(0.95rem, 5vw, 1.2rem);
    }

    .hero-cards .card {
        width: 80px;
    }

    .fan-card {
        width: 95px;
        padding: 0.6rem;
    }



    .fan-card-corner-val {
        font-size: 0.95rem;
    }

    .fan-card-icon {
        font-size: 1.5rem;
    }

    .fan-card-label {
        font-size: 0.75rem;
    }

    .fan-card-url {
        font-size: 0.55rem;
    }

    .fan-card-center {
        gap: 0.25rem;
    }
}
