@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding: 0px 0px 10px 0px;
    transition: .5s;
    z-index: 100;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

nav .logo {
    float: left;
    background: #fff;
}

nav .logo img {
    height: 94px;
    transition: .5s;
    padding: 12px;
}

nav ul {
    float: right;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    list-style: none;
}

nav.white {
    background: rgb(255, 255, 255);
    z-index: 10000;
}

nav ul li a {
    line-height: 80px;
    color: #3312a4;
    ;
    padding: 3px 12px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
}

nav ul li a:hover {
    color: #fff;
    background: #3312a4;
}

.sec1 {
    width: 100%;
    height: 100vh;
    background: url(../image/maxresdefault.jpg);
    background-size: cover;
}

.responsive-bar {
    display: none;
}

nav ul li:hover>.secondUl {
    display: inline !important;
    top: 80px;
}

@media (max-width:1286px) {
    nav ul li:hover>.secondUl {
        position: relative !important;
        width: 100% !important;
    }
    .responsive-bar {
        display: block;
        width: 100%;
        height: 75px;
        position: fixed;
        top: 0;
        left: 0;
        padding: 5px 20px;
        box-sizing: border-box;
        z-index: 1000000;
        background: rgb(255, 255, 255);
    }
    .responsive-bar .logo img {
        float: left;
        height: 66px;
    }
    .responsive-bar .menu img {
        float: right;
        margin: 29px 11px 0px 11px;
        padding: 0;
        width: 40px;
        height: 30px;
        cursor: pointer;
        filter: invert(1);
    }
    nav,
    nav.white {
        background: #ffffff;
        height: 100px;
        padding: 0;
        /* z-index: 0; */
    }
    nav .logo {
        display: none;
    }
    nav ul {
        position: absolute;
        width: 100%;
        top: 75px;
        left: 0;
        background: #fff;
        float: none;
        display: none;
    }
    nav ul.active {
        display: block;
    }
    nav ul li {
        width: 100%;
    }
    nav ul li a {
        display: block;
        padding: 0;
        width: 100%;
        text-align: center;
        /* line-height: 30px !important; */
        line-height: 45px;
    }
    section {
        margin-top: 6pc;
    }
}


/* section design */

.maincardsdetail {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cards img {
    height: 250px;
    width: 200px;
}

.cards {
    height: 250px;
    overflow: hidden;
    margin: 12px;
}

.cards:hover {
    cursor: pointer;
    box-shadow: -1px 1px 10px 3px rgb(51 18 164 / 69%);
}

.cards:hover .intro {
    height: 500px;
    display: block;
}

.cards:hover img {
    transform: scale(1.1) rotate(-3deg);
}

.intro {
    height: 100px;
    width: 200px;
    padding: 6px;
    box-sizing: border-box;
    position: relative;
    bottom: 0px;
    background: rgba(255, 255, 255, 0.83);
    color: rgb(39, 41, 202);
    text-align: center;
}

.intro h1 {
    font-size: 23px;
    /* visibility: hidden; */
    /* opacity: 0; */
    margin-bottom: 22px;
}

.cards:hover .intro {
    bottom: 100px;
    transition: 0.3s;
}

.mainCard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.btn2 {
    color: red;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid red;
}

.thirdHeading {
    text-align: center;
    padding-top: 5pc;
}

.thirdHeading p {
    display: block;
    margin: 0 auto;
    width: 95%;
}

.thirdRow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 4pc;
}

.contentCard {
    width: 350px;
    text-align: center;
    margin: 23px;
    padding: 23px;
}

.contentCard:hover {
    transition: all 0.3s ease-out;
    box-shadow: -4px 2px 27px -1px rgb(51 66 155 / 44%);
}

.contentCard img {
    margin-bottom: 25px;
}

.contentHead h5 {
    color: red;
}

.contentHead p {}

.icons-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* border: 2px solid #8a3e97; */
    padding: 12px;
    margin: 13px;
    /* width: 18pc;
    height: 18pc; */
}

.icons:hover {
    box-shadow: -4px 2px 27px -1px rgb(51 66 155 / 44%);
}

.icons img {
    width: 37%;
    margin-bottom: 7px;
}

.counter {
    font-size: 2.5rem;
    font-weight: 600;
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main span {
    font-size: 2.5rem;
    font-weight: 600;
}

.icons h3 {
    font-weight: 500;
    font-size: 23px;
    text-align: center;
}


/* .msg-container{
    display: flex;
    justify-content: center;
   
    align-items: center;
    overflow: hidden;
}
#slider{
    display: inline-flex;
}
.msg-col{
    width: 600px;
}
.controller{
    width: 1px ;
    height: 320px;
    display: block;
    background: #c0c0c0;
    position: relative;
    top: 55%;
    right: 50px;
    transform: translateY(-50%);
}
#line1,#line2,#line3{
    height: 80px;
    width: 10px;
    cursor: pointer;
    transform: translateX(-50%);
}
#active{
    width: 5px;
    height: 80px;
    border-radius: 16px;
    background: #fff;
    position: relative;
    top: 0;
    transform: translateX(-50%);
} */

.main-image-gallery {
    margin: 1.5rem
}

.main-image-gallery h2 {
    text-align: center;
}

.main-image-gallery .secton-image-gallery {}

.main-image-gallery .secton-image-gallery .flex-image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.main-image-gallery .secton-image-gallery .flex-image-gallery .image {
    width: 300px;
    height: 300px;
    margin: 2rem
}

.main-image-gallery .secton-image-gallery .flex-image-gallery .image img {
    width: 100%;
    height: 100%;
}

.contactInfo {
    /* position: absolute;
  top: 40px; */
    width: 350px;
    height: calc(100% - 80px);
    background: #381da9;
    ;
    z-index: 1;
    padding: 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.contactInfo h2 {
    color: white;
    font-size: 24px;
    font-weight: 500;
}

.contactInfo ul.info {
    position: relative;
    margin: 20px 0;
    padding: 0;
}

.contactInfo ul.info li {
    position: relative;
    list-style: none;
    display: flex;
    align-items: flex-start;
    margin: 20px 0;
    cursor: pointer;
}

.contactInfo ul.info li span:nth-child(1) {
    width: 30px;
    min-width: 30px;
}

.contactInfo ul.info li span:nth-child(1) img {
    max-width: 100%;
    filter: invert(1);
}

.contactInfo ul.info li span:nth-child(2) {
    color: #fff;
    margin-left: 10px;
    font-weight: 300;
    text-align: start;
}

.contactInfo ul.sci3 {
    position: relative;
    display: flex;
}

.contactInfo ul.sci3 li {
    list-style: none;
    margin-right: 15px;
}

.contactInfo ul.sci3 li a {
    text-decoration: none;
}

.contactInfo ul.sci3 li a img {
    filter: invert(1);
}

.mapImage img {
    width: 400px;
}


/* footer design */

footer {
    position: relative;
    width: 100%;
    height: auto;
    padding: 50px 100px;
    background: #381da9;
}

footer .container4 {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
}

footer .container4 .sec h2 {
    position: relative;
    color: #fff;
    font-weight: 500;
    margin-bottom: 15px;
}

footer .container4 .sec h2::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #ff3b3b;
}

.sec ul li a {
    color: #fff;
    text-decoration: none;
}

.sec ul li {
    list-style: none;
}

.sec ul {
    padding: 0;
}

.sci2 {
    margin-top: 20px;
    display: grid;
}

.sci2 li {
    list-style: none;
}

.sci2 li a {
    display: inline-block;
    width: 48px;
    height: 48px;
    background: #1d038b;
    display: grid;
    align-items: center;
    justify-content: center;
}

.aboutus img {
    background: white;
    padding: 12px;
    width: 7pc;
}

.sci2 li:hover a {
    color: #ff3838;
    background: white !important;
}

.sci2 {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 50px);
}

.copyright {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    background: #1d038b;
    color: white;
    text-align: center;
    flex-wrap: wrap;
}

nav {
    margin: 0px 550px;
}

@media only screen and (max-width: 1500px) {
    nav {
        margin: 0px;
    }
}


/* card responsive */

@media (max-width:412px) {
    .box-container {
        padding: 19px 0px;
    }
    .box-container .box {
        margin: 7px 0px;
    }
}


/* footer responsive */

@media (max-width:1052px) {
    footer {
        padding: 40px;
    }
    footer .container4 {
        grid-template-columns: repeat(2, 1fr);
    }
    nav {
        margin: 0px;
    }
}

@media (max-width:656px) {
    footer .container4 {
        grid-template-columns: repeat(1, 1fr);
    }
}