@font-face {
    src: url("../font/OpenSans-Light.ttf");
    font-family: 'OpenSans-Light';
}

@font-face {
    src: url("../font/OpenSans-Medium.ttf");
    font-family: 'OpenSans-Medium';
}

@font-face {
    src: url("../font/OpenSans-Regular.ttf");
    font-family: 'OpenSans-Regular';
}

@font-face {
    src: url("../font/OpenSans-SemiBold.ttf");
    font-family: 'OpenSans-SemiBold';
}

@font-face {
    src: url("../font/OpenSans-Bold.ttf");
    font-family: 'OpenSans-Bold';
}



/* Header */

.HeaderNavBar {
    width: 100%;
    position: sticky;
    z-index: 5;
    top: 0%;
}

.NavLinks {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    list-style-type: none;
    font-size: 18px;
    font-weight: 300;
    line-height: 23px;
    color: #000;
    font-family: 'OpenSans-Light';
    margin: 0%;
    padding: 0%;
}

.SideBarIcon {
    font-size: 23px;
}

.NavLogoLink {
    width: 4.2vw;
    display: inline-block;
    display: flex;
    justify-content: center;
    align-items: center;
}

.NavLogo {
    width: 100%;
}

.NavBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 27px;
}

.NavLink {
    color: #000;
    text-decoration: none;
}

.NavLink:hover {
    color: #cc1723;
    text-decoration: underline;
    cursor: pointer;
}

.SideBarIcon:hover {
    color: #000;
    text-decoration: none;
}

/* Department */

body {
    background-image: url("../assets/landing-bg.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.Department {
    width: 100%;
    height: 93vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.DepartmentHeading {
    font-size: 48px;
    line-height: 65px;
    font-family: 'OpenSans-SemiBold', Arial, Helvetica, sans-serif;
    font-weight: 600;
    text-align: center;
    color: black;
    margin: 0%;
}

.DepartmentPara {
    font-size: 24px;
    line-height: 33px;
    font-weight: 300;
    font-family: 'OpenSans-Light';
    color: #000;
    text-align: center;
    margin: 0%;
    width: 78%;
}

.DepartmentContent {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-top: 63px;
    margin-bottom: 60px;
}

.NavLinkParent {
    cursor: pointer;
}

/* SideBar */

.ListLink {
    text-decoration: none;
    color: #000;
}

.ListContainer {
    color: #000;
    list-style-type: none;
    margin: 0%;
    padding: 0%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5px;
    overflow: hidden;
    transition: all 0.5s;
    max-height: 0px;
}

.ListHeading {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    font-family: 'OpenSans-Bold' sans-serif;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.ListOneBox {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 5px;
}

.ListLink:hover {
    color: #d31521;
}

.RotateIcon {
    transition: all 0.5s;
}

.LinksInSideBar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.SideBar {
    height: 100%;
    width: 300px;
    position: fixed;
    top: 0;
    right: 0;
    padding: 20px;
    z-index: 15;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.237);
    background-color: #fff;
    transition: all 0.3s;
    transform: translateX(110%);
}

.CancleBtn {
    width: 100%;
    text-align: right;
    font-weight: 700;
    font-size: 25px;
}

.CrossBtn {
    text-align: center;
    display: inline-block;
    width: 30px;
    margin-right: 20px;
    cursor: pointer;
}

.screen {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 9;
    display: none;
}

.ServiceHeading {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    font-family: 'OpenSans-Light';
    color: #000;
    margin: 0;
    position: relative;
}

.ServiceHeading::before {
    content: '';
    position: absolute;
    width: 7vw;
    height: 0px;
    border: 0.1px solid rgba(54, 52, 52, 0.694);
    top: 55%;
    left: -8vw;
}

.ServiceHeading::after {
    content: '';
    position: absolute;
    width: 7vw;
    height: 0px;
    border: 0.1px solid rgba(54, 52, 52, 0.694);
    top: 55%;
    left: 5vw;
}

.ServicePara {
    text-align: center;
    font-size: 21px;
    margin: 0;
}

.ServiceContent {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    display: none;
}

.Canter {
    width: 234px;
    position: relative;
    height: 205px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: ShakAnimation 1.7s ease 0s infinite normal;
}

.CenterImageLink {
    display: inline-block;
    width: 100%;
    height: 100%;
    transition: all 0.3s;
    position: absolute;
}

.CenterImage {
    width: 100%;
    height: 100%;
}

.HoverEffectMainDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
}

.DepaBox {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.AncherLink {
    opacity: 0%;
}

.Canter:hover .AncherLink {
    opacity: 100%;
}

.Canter:hover .CenterImageLink:nth-child(1) {
    top: -240px;
    z-index: 2;
}

.Canter:hover .CenterImageLink:nth-child(2) {
    top: -121px;
    left: 213px;
    z-index: 3;
}

.Canter:hover .CenterImageLink:nth-child(3) {
    top: 120px;
    left: 213px;
    z-index: 4;
}

.Canter:hover .CenterImageLink:nth-child(4) {
    top: 241px;
    left: 0px;
    z-index: 5;
}

.Canter:hover .CenterImageLink:nth-child(5) {
    top: 120px;
    left: -213px;
    z-index: 6;
}

.Canter:hover .CenterImageLink:nth-child(6) {
    top: -121px;
    left: -213px;
    z-index: 7;
}

.Canter:hover .CenterImageLink:nth-child(7) {
    z-index: 1;
    box-sizing: content-box;
    padding: 240px;
}

@keyframes ShakAnimation {
    0% {
        transform: translate(0, 0);
    }

    1.78571% {
        transform: translate(5px, 0);
    }

    3.57143% {
        transform: translate(0, 0);
    }

    5.35714% {
        transform: translate(5px, 0);
    }

    7.14286% {
        transform: translate(0, 0);
    }

    8.92857% {
        transform: translate(5px, 0);
    }

    10.7143% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(0, 0);
    }
}

.upparIcon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.GifPhoto {
    width: 74px;
    transform: rotateX(180deg);
    opacity: 0.5;
}

.WatchContentHeading {
    font-size: 19px;
    line-height: 25px;
    font-weight: 400;
    font-family: 'OpenSans-Medium' Arial, Helvetica, sans-serif;
    text-align: center;
    color: #626262;
}

.WatchContent {
    position: relative;
    bottom: 0;
}

.WatchService {
    margin-top: -7vh;
}

.ClickHereBtn {
    position: absolute;
    pointer-events: none;
    z-index: 11;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #414040;
    color: white;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 15px;
    text-align: center;
    transform: scale(0);
    transition: all 0.3s;
}


@media only screen and (max-width: 1400px) {
    .Canter {
        width: 130px;
        height: 120px;
    }

    .Canter:hover .CenterImageLink:nth-child(1) {
        top: -135px;
    }

    .Canter:hover .CenterImageLink:nth-child(2) {
        top: -65px;
        left: 117px;
    }

    .Canter:hover .CenterImageLink:nth-child(3) {
        top: 60px;
        left: 117px;
    }

    .Canter:hover .CenterImageLink:nth-child(4) {
        top: 135px;
        left: 0px;
    }

    .Canter:hover .CenterImageLink:nth-child(5) {
        top: 60px;
        left: -117px;
    }

    .Canter:hover .CenterImageLink:nth-child(6) {
        top: -65px;
        left: -117px;
    }

    .Canter:hover .CenterImageLink:nth-child(7) {
        padding: 130px;
    }

    .DepartmentHeading {
        font-size: 30px;
        line-height: 40px;
    }

    .DepartmentPara {
        font-size: 18px;
        line-height: 27px;
    }

    .DepartmentContent {
        gap: 15px;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .ServiceHeading::after {
        width: 9vw;
        left: 7vw;
    }

    .ServiceHeading::before {
        width: 9vw;
        left: -11vw;
    }

    .ServicePara {
        text-align: center;
        font-size: 17px;
        margin: 0;
    }
}

@media only screen and (max-width: 1200px) {
    .HoverEffectMainDiv {
        margin-top: 40px;
        top: 35%;
    }

    .Department {
        width: 100%;
        height: 80vh;
    }

    .ServiceHeading::after {
        width: 11vw;
        left: 8vw;
    }

    .ServiceHeading::before {
        width: 11vw;
        left: -13vw;
    }
}

@media only screen and (max-width: 992px) {
    .DepartmentPara {
        width: 100%;
    }

    .ServiceHeading::after {
        width: 13vw;
        left: 10vw;
    }

    .ServiceHeading::before {
        width: 13vw;
        left: -16vw;
    }

    .DepartmentHeading {
        font-size: 30px;
        line-height: 40px;
    }

    .DepartmentPara {
        font-size: 16px;
        line-height: 25px;
    }

    .Canter {
        width: 140px;
        height: 130px;
    }

    .Canter:hover .CenterImageLink:nth-child(1) {
        top: -150px;
    }

    .Canter:hover .CenterImageLink:nth-child(2) {
        top: -71px;
        left: 131px;
    }

    .Canter:hover .CenterImageLink:nth-child(3) {
        top: 77px;
        left: 131px;
    }

    .Canter:hover .CenterImageLink:nth-child(4) {
        top: 157px;
        left: 0px;
    }

    .Canter:hover .CenterImageLink:nth-child(5) {
        top: 77px;
        left: -131px;
    }

    .Canter:hover .CenterImageLink:nth-child(6) {
        top: -71px;
        left: -131px;
    }

    .HoverEffectMainDiv {
        margin-top: 15px;
        top: 35%;
    }

    .DepartmentContent {
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .Department {
        width: 100%;
        height: 85vh;
    }

    .NavLinks {
        font-size: 15px;
        line-height: 23px;
    }

    .NavLogoLink {
        width: 8.2vw;
    }

    .SideBarIcon {
        font-size: 20px;
    }

    .NavBar {
        padding: 15px 10px;
    }

    .ListHeading {
        font-size: 14px;
        gap: 8px;
    }

    .LinksInSideBar {
        gap: 7px;
    }

    .CancleBtn {
        font-size: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .ServiceHeading::before {
        width: 13vw;
        left: -17vw;
    }

    .ServiceHeading::after {
        width: 13vw;
        left: 13vw;
    }
}

@media only screen and (max-width: 576px) {
    .ServiceHeading::before {
        width: 16vw;
        left: -22vw;
    }

    body {
        overflow-x: hidden;
    }

    .ServiceHeading::after {
        width: 16vw;
        left: 18vw;
    }

    .Canter {
        width: 110px;
        height: 99px;
    }

    .Canter:hover .CenterImageLink:nth-child(1) {
        top: -110px;
    }

    .Canter:hover .CenterImageLink:nth-child(2) {
        top: -52px;
        left: 92px;
    }

    .Canter:hover .CenterImageLink:nth-child(3) {
        top: 60px;
        left: 90px;
    }

    .Canter:hover .CenterImageLink:nth-child(4) {
        top: 117px;
        left: 0px;
    }

    .Canter:hover .CenterImageLink:nth-child(5) {
        top: 60px;
        left: -90px;
    }

    .Canter:hover .CenterImageLink:nth-child(6) {
        top: -52px;
        left: -92px;
    }

    .WatchContentHeading {
        font-size: 15px;
        line-height: 20px;
    }

    .GifPhoto {
        width: 50px;
    }
    
    .ServiceContent {
        padding-top: 50px;
    }

    .NavLogoLink {
        width: 15vw;
    }

    .NavLinks {
        gap: 15px;
    }
}

@media only screen and (max-width: 400px) {
    .ServiceHeading::before {
        width: 23vw;
        left: -32vw;
    }

    .ServiceHeading::after {
        width: 23vw;
        left: unset;
        right: -31vw;
    }

    .HoverEffectMainDiv {
        margin-top: 100px;
        top: 35%;
    }
}