@media(max-width: 800px) {
    .divider {
        margin: 50px 0;
    }

    h1 {
        font-size: 40px;
    }

    p {
        font-size: 17px;
    }

    .hero {
        position: relative;
        padding-top: 7vh;
        min-height: 198vh;
        width: 100%;
        background: #000;
        z-index: 0;
    }

    .hero-container {
        flex-direction: column;
        padding: 10px;
        border-radius: 0px;
        min-height: 160vh;
    }

    .hero-container img {
        width: 100%;
        height: 45%;
        object-fit: cover;
        position: absolute;
        background: linear-gradient(180deg, #dbeaf900, #a4c2cb);
        top: 0;
        left: 0;
        opacity: 0.8;
        border-bottom-left-radius: 25px;
        border-bottom-right-radius: 25px;
        z-index: -3;
    }

    .hero-left {
        width: 100%;
        height: 100vh;
        gap: 60px;
        padding: 20px;
        display: flex;
        align-items: center;
        text-align: center;
    }

    .hero-title {
        align-items: center;
        width: 100%;
    }

    .tagline {
        background-color: rgba(255, 255, 255, 0.678);
        color: #000000d8;
        font-size: 1.1rem;
    }

    .tagline i {
        font-size: 2rem;
    }

    .active-indicator {
        width: 12px;
        height: 8px;
    }

    .titlewithbtn h1 {
        font-size: 2.8rem;
        width: 100%;
    }

    .titlewithbtn p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .titlewithbtn .lower-text {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 15px;
        background-color: #ffffffbb;
        border: none;
        border-radius: 25px;
        color: #000;
        cursor: pointer;
        font-size: 1rem;
        padding: 12px 24px;
        transition: background-color 0.3s ease;
        width: 100%;
        text-decoration: none;
        font-family: pj;
        font-weight: 600;

        &:hover {
            background-color: #1795a9;
            color: seashell;
        }


    }

    .stats-box {
        display: none;
    }

    .hero-right {
        width: 100%;
        margin-top: -100px;
        padding: 20px;
        position: static;
        gap: 20px;
        align-items: center;
    }

    .tags {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }

    .tags .tag {
        color: rgb(255, 255, 255);

    }

    .cardno {
        flex-direction: column;
        height: 65vh;
        gap: 10px;
        padding: 0px;
    }

    .card-left,
    .card-right {
        width: 100%;
        height: 40vh;
    }

    .card-right {
        height: 60vh;
    }

    .card-right img {
        position: absolute;
        bottom: 0;
        height: 100%;
        width: 100%;
        opacity: 1;
        z-index: 4;
    }

    .card-right h3 {
        position: absolute;
        margin-top: 0px;
    }

    .card-left {
        background: #161616de;
        padding-bottom: 40px;
    }

    .card-left .in-top-text {
        display: flex;
        width: 100%;
        justify-content: normal;
        align-items: center;
    }

    .insight {
        gap: 5px;
        padding-right: 0px;
    }

    .insightbtn {
        display: none
    }


    .card-left .in-middle-text {
        margin-top: 5px;
        display: flex;
        width: 100%;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
    }

    .in-middle-text h2 {
        font-size: 1.8rem;
        color: white;
    }

    .in-middle-text h2 span {
        color: #1795a9;
    }

    .in-middle-text p {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.838);
    }

    .in-bottom-text h2 {
        font-size: 1rem;
        font-weight: 600;
    }

    .in-bottom-text i {
        position: absolute;
        bottom: 5%;
        right: 5%;
        font-size: 30px;
    }



    .logo {
        min-width: calc((100% - 20px) / 2);
    }

    .logo-row:nth-child(2) {
        display: none;
    }

    .frustration-section {
        padding: 0 40px 40px 40px;
    }

    .frustration-section svg {
        display: none;

    }

    .max-text {
        font-size: 2.4rem !important;
    }

    .frustration-content h2 {
        font-size: 1.5rem;
        width: 100%;

    }

    .frustration-listsbox {
        flex-direction: column;
        align-items: center;
        padding-top: 65px;
    }

    .frustration-listsbox .frustration-box {
        width: 100%;
    }

    .instructor-container {
        flex-direction: column;
        padding: 10px 20px;
        height: auto;
    }

    .ins-pic {
        flex: none;
        width: 100%;
        height: auto;
    }

    .ins-pic img {
        height: auto;
        max-height: 300px;
    }

    .right-column {
        flex-direction: column;
    }

    .ins-bio,
    .ins-social {
        flex: none;
        width: 100%;
        height: auto;
    }

    .parent {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .parent div {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .md {
        border: 1px dashed rgba(81, 81, 81, 0.272);
    }

    .achievement svg {
        display: none;

    }

    .instructor-nav-buttons {
        bottom: 0px;
    }

    .ins-bio-name .signature {
        display: none;

    }

    .levitate-icon1 {
        position: absolute;
        top: 5%;
        right: 10%;
        font-size: 3rem;

    }

    .levitate-icon2 {
        position: absolute;
        top: 5%;
        left: 10%;
        font-size: 3rem;
    }

    .discover svg {
        display: none;
    }

    .discover-copy p {
        width: 100%;
    }

    .icon {
        width: 60px;
        height: 60px;
    }

    .icon#main-icon {
        width: 70px;
        height: 70px;
    }

    .icon i {
        font-size: 14px;
    }

    .icon:nth-child(1),
    .icon:nth-child(7) {
        display: none;
    }

    .icon:nth-child(2),
    .icon:nth-child(6) {
        width: 50px;
        height: 50px;
    }

    .download h1 {
        width: 100%;
    }

    .company-page {
        padding: 2em;
    }

    .contact-page {
        padding: 2em;
    }


    .stats-section {
        flex-direction: column;
        gap: 30px;
    }

    .instructor-highlight {
        flex-direction: column;
    }

    .instructor-img {
        width: 120px;
        height: 120px;
    }

    .instructor-text p {
        max-width: 90%;
    }


    .testimonial-section {
        flex-direction: column;
        min-height: auto;
        padding: 40px 15px;
        text-align: center;
    }

    .testimonial-heading {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .testimonial-heading h2 {
        font-size: 1.6rem;
        justify-content: center;
    }

    .testimonial-heading p {
        font-size: 1rem;
    }

    .slider {
        max-height: none;
        margin-top: 20px;
        width: 100%;
        border-radius: 15px;
    }

    .slide {
        padding: 20px;
    }

    .slide svg {
        display: none !important;
    }

    .slide p {
        font-size: 1.2rem;
    }

    .author {
        flex-direction: column;
        text-align: center;
    }

    .author img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    /* notes section */

    .notes-para .n-right {
        padding-top: 20px;
        width: 90%;
        color: rgba(255, 255, 255, 0.728);
        font-size: .8rem;
        align-self: flex-end;
        text-align: right;
        margin-right: 5px;
    }

    .subject-card {
        width: 100%;
        height: 300px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .subject-overlay {
        font-size: 18px;
    }

    /* test section */
    .test-para {
        padding: 0px;
    }

    .test-para p {
        width: 80%;
        font-size: .8rem;
    }

    .closing-text {
        font-size: 2rem;
        line-height: 1.4;
        text-align: justify;
    }

    .closing-text img {
        width: 30px;
        height: 30px;
        margin-left: 6px;
    }

    /* about section */

    .about-hero .context p {
        font-size: 2.8rem;
        line-height: 1.6;
        font-family: acid;
        text-align: left;
    }

    .about-hero .context h1 {
        text-align: center;
        font-size: 1.4rem;
        gap: 16px;
    }

    .rotate-me {

        width: 35px;
        height: 35px;
    }

    .about-hero {
        color: var(--color-brand-text);
        padding: 110px 5px 10px 5px;
        text-align: center;
    }

    .about-hero .context p {
        font-size: 2rem;
        line-height: 1.3;
        text-align: center;
    }

    .about-hero .context img {
        width: 70px;
        height: 35px;
    }

    .about-section {
        padding: 60px 20px;
    }

    .about-left h2 {
        font-size: 2rem;
        text-align: center;
    }

    .info-block h4 {
        font-size: 1rem;
    }

    .info-block p {
        font-size: 0.95rem;
    }

    .stat-box h2 {
        font-size: 36px;
    }

    .stat-box p {
        font-size: 16px;
    }

    .instructor-text p {
        font-size: 1rem;
        text-align: left;
    }

    .instructor-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    /* contact page */
    .contact-page .contact-copy p {
        width: 100%;
    }

    .contact-page .contact-header h1 {
        line-height: 60px;
        font-size: 50px;
        margin-top: 30px;
    }

    .contact {
        position: relative;
        padding-top: 0vh;
        height: 150vh;
        width: 100%;
        z-index: 1;
    }

    .contact-cards .container {
        flex-direction: column;
    }

    .contact-items {
        flex-direction: column;
    }

    .contact-img .imgg {
        border-radius: 20px;
        width: 100%;
        max-width: 1000px;
        aspect-ratio: 2 / 1;
        /* responsive ratio */
        cursor: none;

        /* 🔹 Percentage-based clip-path for scaling */
        clip-path: path("M 2%,0 L 98%,0 A 2%,2% 0,0,1 100%,2% L 100%,80% A 2%,2% 0,0,1 98%,84% L 65%,84% A 2%,2% 0,0,0 63%,88% L 63%,96% A 2%,2% 0,0,1 61%,100% L 2%,100% A 2%,2% 0,0,1 0,96% L 0,2% A 2%,2% 0,0,1 2%,0 Z");
    }

    .poly-text {
        width: 100%;
    }

    .poly-text h3 {
        font-size: 23px;
        padding-top: 175px;

    }
}


@media screen and (min-width: 806px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }

    /* Optional: Rotate arrow on hover (only desktop) */
    .dropdown:hover .arrow-icon {
        transform: rotate(180deg);
    }
}