.home-space {
    margin-top: 60px;
}

.head-space {
    margin-bottom: 30px;
}

.head-space1 {
    margin-bottom: 23px;
}

.testimonial {
    margin-top: 80px;
}

#FooterNavLink a,
#FooterPannelLink a {
    display: inline-block;
    padding: 0 5px;
    position: relative;
    white-space: nowrap;
}

.tamil #FooterNavLink a, .tamil
#FooterPannelLink a {
    font-size: 13.1px;
}

#FooterNavLink a:not(:last-child)::after,
#FooterPannelLink a:not(:last-child)::after {
    content: "|";
    margin-left: 5px;
    color: #000; /* change color as needed */
}

.add {
    display: flex;
    justify-content: start;
}

.Language-div button::after {
    display: none;
}

.Language-div .dropdown-menu {
    min-width: 100%;
}

.DevendraIlakkiyaMandramDiv {
    display: none;
}


@media(max-width:576px) {
    .coreDiv, .link-page {
        display: none !important;
    }

    .Language-div .dropdown-menu {
        left: -21px;
    }

    #language_button {
        color: transparent;
        font-size: 0px !important;
    }

        #language_button i {
            color: #000000;
            font-size: 20px;
        }

    .tamil #FooterPannelLink a.navreg:not(:last-child)::after, .tamil #FooterNavLink a.navAbout:not(:last-child)::after {
        display: none;
    }

    #FooterNavLink, #FooterPannelLink {
        text-align: center;
    }

        #FooterNavLink a, #FooterPannelLink a {
            text-align: center;
            color: #050000;
        }

            #FooterNavLink a:hover, #FooterPannelLink a:hover {
                color: #e90316;
            }

            #FooterNavLink a.navContact:not(:last-child)::after, #FooterPannelLink a.navdc:not(:last-child)::after, #FooterPannelLink a.navmatrilog:not(:last-child)::after {
                display: none;
            }

    .address-list {
        align-items: center;
        text-align: center;
    }

    .add {
        display: flex;
        justify-content: center;
    }

    .event .info {
        height: unset;
    }

    .testim .dots .dot {
        margin-top: 130px !important;
    }

    .heroaboutnew {
        width: 94% !important;
        margin-left: 70px !important;
        margin-right: 70px !important;
    }

    .heroaboutnew1 {
        width: 94% !important;
        margin-left: 70px !important;
        margin-right: 70px !important;
    }

    .heroaboutnew2 {
        width: 94% !important;
        margin-left: 12px !important;
        margin-right: 12px !important;
    }

    .contact-info-text span {
        color: #ffffff;
        font-size: 17px !important;
        display: inline-block;
        width: 100%;
    }

    .aboutheadingmargin {
        margin-top: 25px !important;
    }

    .hcntnt {
        padding: 0px;
    }

    .carous {
        position: relative;
        width: 100%;
        height: 150px;
        overflow: hidden;
        border-radius: 20px;
    }

    .carous-controls button {
        width: 35px;
        height: 35px;
        margin: 0px 10px 0px 10px;
        border-radius: 50px 50px;
        font-size: 24px;
        cursor: pointer;
        border: none;
    }

    .post-slide .post-content {
        padding: 25px 19px 25px 18px;
    }

    #home > div:nth-child(5) > div > div:nth-child(2) {
        margin-top: 25px !important;
    }

    .head-space {
        margin-bottom: 25px;
    }

    .event {
        background-color: #ffffff;
        color: #000000;
        min-height: 96px;
        margin: 21px 0px;
        /* transition: background-color 0.3s, color 0.3s; */
    }

    .footer {
        margin-top: 15px !important;
    }

    #\# > section.bsb-tpl-bg-alice-blue > div > div > div:nth-child(3) {
        margin-top: 10% !important;
    }

    .home-space {
        margin-top: 24px;
    }

    #\# {
        margin-top: 25px !important;
    }

        #\# > div:nth-child(1) > div > div.col-lg-6.col-md-12.col-sm-12.mb-4 {
            margin-top: 10% !important;
        }

        #\# > div.container.home-space > div > div.col-12 > div > h1 {
            margin-top: 20px !important;
        }

        #\# > div.container.home-space > div > div.col-lg-6.col-md-12.col-sm-12.text-center.heroabout.px-3 {
            margin-top: 10% !important;
        }

    .testimonial {
        margin-top: 20px !important;
    }

    #\# > div.container.mt-2 > div > div:nth-child(1) > div:nth-child(1) > h2 {
        margin-top: 5% !important;
    }

    .pt-120 {
        padding-top: 96px;
    }

    #\# > div.container.mt-2 > div > div:nth-child(2) {
        margin-top: 12% !important;
    }

    #\# > div:nth-child(3) > div > div:nth-child(2) {
        width: 100% !important;
        padding: 20px;
    }

    #\# > div:nth-child(3) > div > div:nth-child(3) {
        width: 100% !important;
        padding: 20px;
    }

    #\# > div:nth-child(3) > div > div:nth-child(4) {
        width: 100% !important;
        padding: 20px;
    }

    #home > div:nth-child(3) > div > div:nth-child(3) {
        margin-top: 18px !important;
    }

    #home > div:nth-child(3) > div > div:nth-child(4) {
        margin-top: 18px !important;
    }

    #home > div:nth-child(4) > div > div.col-lg-6.col-md-6.col-sm-12.mb-2 > div.head-space {
        margin-top: 10% !important;
    }

    h1 {
        font-size: 25px;
    }

    h2 {
        font-size: 25px;
    }

    .event .info .title {
        font-weight: bold;
        font-size: 16px;
    }

    .smbox {
        margin-top: 15px;
    }

    .testim .cont div p {
        color: #333;
        width: 100%;
        margin: -10px 0px 0px 0px;
    }

    .bigheading {
        font-size: 17px;
    }

    .tamil .bigheading {
        line-height: 26px;
        font-size: 15px;
    }

    .banner-overlay h1 {
        margin: 0;
        font-size: 20px;
    }

    .tamil .banner-overlay h1 {
        margin: 0;
        font-size: 15px;
    }

    .heading span {
        font-size: 14px;
    }

    .writeup {
        font-size: 16px;
    }

    .matriwryt {
        padding: 6px 7px;
    }

    .dspimag {
        margin-top: 25px;
    }

    .tamil .event .info .title {
        font-size: 14px;
    }

    .contact-info-item {
        height: auto;
    }

    p {
        font-size: 15px;
    }

    h5 {
        font-size: 15px;
    }

    .event-container {
        margin-bottom: 50px;
        margin-top: 30px;
    }

    .pdf-container {
        margin-top: 30px;
    }

    .testim .arrow {
        /*        top: 65%;*/
    }

    .mt-md-4 {
        margin-top: 15px;
    }

    .abtimg {
        margin-bottom: 28px;
    }

    .info-box {
        margin-top: 0px;
        margin-bottom: 10px;
    }

    .title2 {
        margin-top: 15px;
    }

    .title4 {
        margin-top: 35px;
    }

    .ft2 {
        margin-bottom: 15px;
    }

    .info-box {
        padding: 7px;
    }

    body > div:nth-child(3) > div:nth-child(4) > div > div:nth-child(1) > div.rect {
        height: 255px;
    }

    .testim {
        margin-top: 45%;
    }
}

@media (max-width: 998px) and (min-width:541px) {

    h2 {
        font-size: 26px;
    }

    .mt-md-4 {
        margin-top: 15px;
    }

    .ft2 {
        margin-bottom: 20px;
    }



    .md-mt-5 {
        margin-top: 35px;
    }

    .smbox {
        margin-top: 20px;
    }

    .banner-overlay h1 {
        margin: 0;
        font-size: 35px;
    }

    .hcntnt {
        padding: 20px 0px;
    }

    .writeup {
        font-size: 18px;
    }

    .card {
        height: 175px;
    }

    .event-container {
        /*        height: 28vh;*/
        margin-bottom: 50px;
        margin-top: 30px;
    }

    .pdf-container {
        /*        height: 28vh;*/
        margin-top: 30px;
    }

    h5 {
        font-size: 15px;
    }

    p {
        font-size: 16px;
    }

    .abtimg {
        margin-bottom: 28px;
    }

    .dspimag {
        margin-top: 35px;
    }

    .info-box {
        margin-bottom: 15px;
    }

    .tamil .edutxt1 {
        line-height: 21px;
    }

    .edutxt1 {
        line-height: 23px;
    }

    .tamil .matritxt1 {
        line-height: 23px;
    }

    .matritxt1 {
        line-height: 23px;
    }

    .contact-info-item {
        height: auto;
    }
}

/*.founderimg {
    width: 90%;
}*/

.matriwryt {
    padding: 20px 50px;
    background-color: rgba(255, 255, 255, 0.678);
    border-radius: 15px;
    border: 1px solid rgb(233, 233, 233);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .matriwryt:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }


/*-------------------------------------------------------------------------------*/

.tabmobileview {
    display: none;
}

.custom-container {
    display: block;
}

.custom-container {
    display: block;
}

.tabmobileview {
    display: none;
}

@media (max-width: 1200px) {
    .info-box .number h1 {
        font-size: 30px;
    }
}

@media (max-width: 991px) {
    .custom-container {
        display: none;
    }

    .tabmobileview {
        display: block;
    }

    .head-space {
        display: block;
    }

    .custom-container .row {
        display: none;
    }

    .testim .dots .dot {
        margin-top: 65px;
    }

    .DevendraIlakkiyaMandramDiv {
        display: block;
    }

    .DevendraIlakkiyaMandramtext {
        font-weight: 800;
        text-align: center;
    }
}

@media(max-width:766px) {
    .testim .wrap {
        position: relative;
        width: 100%;
        padding: 0px 0px;
        margin: auto;
    }

    .testim .dots .dot {
        margin-top: 83px
    }

    .testim .cont div p {
        width: 100%;
    }

    .edulist1 span, .edulist31 span:nth-of-type(2) {
        margin-bottom: 15px;
    }

    .edulist21 {
        margin-top: 15px;
    }
}


@media (min-width: 991px) {
    .event-container {
        height: 75vh;
    }

    .pdf-container {
        height: 75vh;
    }
}

@media (width:1024px) {
    .tamil .navbar-nav .nav-item a {
        font-size: 10.9px;
    }

    .navbar-nav .nav-item a {
        font-size: 14px;
    }
}
