@media only screen and (min-width: 900px) {
    .hero {
        width: 100%;
        height: 100vh;
        display: flex;
    }
    
    .hero .left {
        width: 60%;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    
    .hero .right {
        width: 40%;
        height: 100vh;
        position: relative;
    }
    
    .hero .right img {
        width: 100%;
        height: 100vh;
        position: absolute;
        object-fit: cover;
        left: 0;
        top: 0;
    }
    
    .hero .gradient {
        width: 100%;
        height: 100vh;
        left: 0;
        top: 0;
        position: absolute;
        background-image: linear-gradient(90deg, var(--bg), rgba(255, 255, 255, 0.13));
    }
    
    .hero .left img {
        max-width: 350px;
        width: 60%;
        transform: translateX(-600px);
        animation: rollin 1s forwards;
        animation-delay: 200ms;
        /* outline: 1px solid grey; */
    }
    
    .as2 {
        animation: fadein 1s forwards;
        animation-delay: 1500ms;
        opacity: 0;
    }
    
    .as3 {
        animation: anim 1s forwards;
        animation-delay: 1500ms;
        opacity: 1;
        filter: blur(30px);
    }
    @keyframes anim {
        0% {
            opacity: 1;
            filter: blur(30px);
    
        }
        
    
        100% {
            opacity: 1;
            filter: blur(0px);
    
        }
    }
    
    
    @keyframes fadein {
        0% {
            opacity: 0;
    
        }
    
        100% {
            opacity: 1;
    
        }
    }
    
    
    @keyframes rollin {
        0% {
            transform: translateX(-600px) rotate(0deg);
    
        }
    
        100% {
            transform: translateX(0px) rotate(180deg);
    
        }
    }
    
    .left div {
        margin-top: 30px;
    }
    
    .cta1 {
        background-color: var(--blue);
        color: black;
        font-weight: 400;
    }
    
    .cta2 {
        border: 2px solid var(--blue);
        background-color: transparent;
    }
    
    .left button {
        width: 130px;
        height: 40px;
    }


    .gallery {
        width: 100%;
        height: auto;
        box-sizing: border-box;
        padding: 100px;
    }
    
    .top {
        width: 100%;
        line-height: 50px;
        font-size: 25px;
        /* letter-spacing: 4px; */
        color: var(--blue);
        font-weight: 500;
        height: 50px;
        /* display: flex; */
        align-items: center;
    }
    
    
    .list {
        width: 100%;
        height: 200px;
        margin-top: 10px;
        display: flex;
    }
    
    .list img {
        width: 15%;
        margin: 10px;
        aspect-ratio: 1/1;
        /* box-sizing: border-box; */
        border-radius: 10px;
        object-fit: cover;
    }
    
    
    .va {
        float: right;
        width: 120px;
        height: 35px;
        cursor: pointer;
        margin-top: 7px;
        background-color: rgba(128, 128, 128, 0.315);
    }
    
    .departments {
        width: 100%;
        height: auto;
        box-sizing: border-box;
        padding: 100px;
        padding-top: 0px;
    }
    
    .contact {
        width: 100%;
        height: auto;
        box-sizing: border-box;
        padding: 100px;
        padding-top: 0px;
    }
    
    .contact h1 {
        text-align: center;
    }
    
    .contact p {
        text-align: center;
        margin-top: 5px;
        color: var(--blue);
        font-size: 20px;
    }
    
    h1 {
        transition: 0.3s;
        cursor: default;
    }
    
    h1:hover {
        color: var(--blue);
    }
    
    .departments h1 {
        text-align: center;
    }
    
    .contact div {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100px;
    }
    
    .contact a {
        text-decoration: none;
    }
    
    .departments {
        padding-bottom: 0px;
        margin-bottom: 50px;
    }
    
    .contact button {
        width: 50px;
        height: 50px;
        border-radius: 5px;
        cursor: pointer;
        background-color: transparent;
        margin: 5px;
    }
    
    .contact {
        padding-top: 50px;
        padding-bottom: 50px;
        background-color: rgba(128, 128, 128, 0.041);
    }
    
    .contact button i {
        font-size: 30px;
        color: rgb(54, 54, 54);
    }
    
    .list2 {
        max-width: 790px;
        width: 90%;
        margin-left: 50%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-top: 10px;
        grid-column-gap: 10px;
        /* grid-gap: 15px; */
        transform: translateX(-50%);
    }
    
    .list2 .item {
        margin: 5px;
        width: 100%;
        height: 70px;
        padding: 10px;
        box-sizing: border-box;
        background-color: var(--bg);
        display: inline-block;
        border: 1px solid rgba(128, 128, 128, 0.247);
        border-radius: 5px;
        display: flex;
    }
    
    
    .il {
        width: 50px;
        line-height: 50px;
        text-align: center;
        font-size: 20px;
        color: var(--blue);
        height: 50px;
    }
    
    .list2 .item * {
        cursor: default;
    }
    
    .ir {
        width: calc(100% - 50px);
        height: 50px;
        overflow: hidden;
        position: relative;
    }
    
    .irt, .ird {
        position: absolute;
        width: 100%;
        height: 50px;
        left: 0;
        transition: 0.4s;
        line-height: 50px;
    }
    
    .list2 .item:hover .irt {
        top: -50px;
    }
    
    .list2 .item:hover .ird {
        top: -0px;
    }
    
    .list2 .item {
        transition: 0.4s;
        transform: translateY(0px);
    }
    
    .list2 .item:hover {
        background-color: rgba(255, 255, 255, 0.575);
        transform: translateY(-5px);
        border: 1px solid transparent;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
    }
    
    .irt {
        font-size: 20px;
        top: 0px;
        font-weight: 500;
        color: rgb(41, 41, 41);
    }
    
    .ird {
        top: 50px;
        font-size: 18px;
    
    }
    
}


@media only screen and (min-width: 200px) and (max-width: 900px) {
    .hero {
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
    }
    
    .hero .left {
        width: 100%;
        height: 100vh;
        box-sizing: border-box;
        padding: 10px;
        display: flex;
        padding-top: 100px;

        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .hero .left h1 {
        width: 100%;
        text-align: center;
        font-size: 24px;
    }
    
    .hero .right {
        width: 100%;
        height: 100vh;
        margin-top: 30px;
        position: relative;
    }
    
    .hero .right img {
        width: 100%;
        object-fit: cover;
        object-position: top center;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
    }
    
    .hero .gradient {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        position: absolute;
        background-image: linear-gradient(180deg, var(--bg), rgba(255, 255, 255, 0.13));
    }
    
    .hero .left img {
        max-width: 350px;
        width: 60%;
        transform: translateX(-600px);
        animation: rollin 1s forwards;
        animation-delay: 200ms;
        /* outline: 1px solid grey; */
    }
    
    .as2 {
        animation: fadein 1s forwards;
        animation-delay: 1500ms;
        opacity: 0;
    }
    
    .as3 {
        animation: anim 1s forwards;
        animation-delay: 1500ms;
        opacity: 1;
        filter: blur(30px);
    }
    @keyframes anim {
        0% {
            opacity: 1;
            filter: blur(30px);
    
        }
        
    
        100% {
            opacity: 1;
            filter: blur(0px);
    
        }
    }
    
    
    @keyframes fadein {
        0% {
            opacity: 0;
    
        }
    
        100% {
            opacity: 1;
    
        }
    }
    
    
    @keyframes rollin {
        0% {
            transform: translateX(-600px) rotate(0deg);
    
        }
    
        100% {
            transform: translateX(0px) rotate(180deg);
    
        }
    }
    
    .left div {
        margin-top: 30px;
    }
    
    .cta1 {
        background-color: var(--blue);
        color: black;
        font-weight: 400;
    }
    
    .cta2 {
        border: 2px solid var(--blue);
        background-color: transparent;
    }
    
    .left button {
        width: 130px;
        height: 40px;
    }


    .gallery {
        width: 100%;
        height: auto;
        box-sizing: border-box;
        padding: 20px;
    }
    
    .top {
        width: 100%;
        line-height: 50px;
        font-size: 25px;
        /* letter-spacing: 4px; */
        color: var(--blue);
        font-weight: 500;
        height: auto;
        /* display: flex; */
        align-items: center;
    }
    
    
    .list {
        width: 100%;
        height: auto;
        margin-top: 10px;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .list img {
        width: 200px;
        margin: 10px;
        aspect-ratio: 1/1;
        /* box-sizing: border-box; */
        border-radius: 10px;
        object-fit: cover;
    }
    
    
    .va {
        /* float: right; */
        width: 120px;
        height: 35px;
        cursor: pointer;
        margin-top: 7px;
        background-color: rgba(128, 128, 128, 0.315);
    }
    
    .departments {
        width: 100%;
        height: auto;
        box-sizing: border-box;
        padding: 10px;
        margin-top: 20px;
        padding-top: 0px;
    }
    
    .contact {
        width: 100%;
        height: auto;
        box-sizing: border-box;
        padding: 10px;
        padding-top: 0px;
    }
    
    .contact h1 {
        text-align: center;
    }
    
    .contact p {
        text-align: center;
        margin-top: 5px;
        color: var(--blue);
        font-size: 20px;
    }
    
    h1 {
        transition: 0.3s;
        cursor: default;
    }
    
    h1:hover {
        color: var(--blue);
    }
    
    .departments h1 {
        text-align: center;
    }
    
    .contact div {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100px;
    }
    
    .contact a {
        text-decoration: none;
    }
    
    .departments {
        padding-bottom: 0px;
        margin-bottom: 50px;
    }
    
    .contact button {
        width: 50px;
        height: 50px;
        border-radius: 5px;
        cursor: pointer;
        background-color: transparent;
        margin: 5px;
    }
    
    .contact {
        padding-top: 50px;
        padding-bottom: 50px;
        background-color: rgba(128, 128, 128, 0.041);
    }
    
    .contact button i {
        font-size: 30px;
        color: rgb(54, 54, 54);
    }
    
    .list2 {
        max-width: 790px;
        width: 90%;
        margin-left: 50%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        margin-top: 10px;
        grid-column-gap: 10px;
        /* grid-gap: 15px; */
        transform: translateX(-50%);
    }
    
    .list2 .item {
        margin: 5px;
        width: 100%;
        height: 70px;
        padding: 10px;
        box-sizing: border-box;
        background-color: var(--bg);
        display: inline-block;
        border: 1px solid rgba(128, 128, 128, 0.247);
        border-radius: 5px;
        display: flex;
    }
    
    
    .il {
        width: 50px;
        line-height: 50px;
        text-align: center;
        font-size: 20px;
        color: var(--blue);
        height: 50px;
    }
    
    .list2 .item * {
        cursor: default;
    }
    
    .ir {
        width: calc(100% - 50px);
        height: 50px;
        overflow: hidden;
        position: relative;
    }
    
    .irt, .ird {
        position: absolute;
        width: 100%;
        height: 50px;
        left: 0;
        transition: 0.4s;
    }
    
    .list2 .item:hover .irt {
        top: -50px;
    }
    
    .list2 .item:hover .ird {
        top: -0px;
    }
    
    .list2 .item {
        transition: 0.4s;
        transform: translateY(0px);
    }
    
    .list2 .item:hover {
        background-color: rgba(255, 255, 255, 0.575);
        transform: translateY(-5px);
        border: 1px solid transparent;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
    }
    
    .irt {
        font-size: 16px;
        top: 0px;
        font-weight: 500;
        line-height: 50px;

        color: rgb(41, 41, 41);
    }
    
    .ird {
        top: 50px;
        font-size: 14px;
        line-height: 25px;
    }
    
}

