
/* -------------------------- Index Style Start -------------------------- */

/* -------------------------- General Start -------------------------- */

body {
   color: rgb(45, 44, 44);
}

.bg-orange{
    background: #f07f01;
}

.official{
    color:white;
    letter-spacing:1px;
}


/*** Button ***/
.btn {
    font-family: "Calibri", sans-serif;
    font-weight: 600;
    transition: .5s;
}


/*** Section ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: #f07f01;
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Back to Top ***/
.scroll-to-top-btn {
    display: none; 
    position: fixed; 
    bottom: 20px; 
    right: 30px; 
    z-index: 99; 
    border: none; 
    outline: none; 
    background-color: #06A3DA;
    color: white; 
    cursor: pointer; 
    border-radius: 10px; 
    font-size: 30px; 
}

/* -------------------------- General End -------------------------- */


/* -------------------------- Navbar Start -------------------------- */

.navbar-dark .navbar-nav .nav-link {
    display: block;
    font-family: "Calibri", sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: normal;
    outline: none;
    transition: .5s;
    box-shadow: none;
    letter-spacing:.4px;
}

.sticky-top.navbar-dark .navbar-nav .nav-link{
    padding: 20px 0;
    font-size: 16px;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(165, 42, 42, 0.858);
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: #f07f01 !important;
    border-color: #f07f01 !important;
} 

.pos{
    margin-top: -20px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: rgb(45, 44, 44);
    }

    .official{
        color: rgb(45, 44, 44);
        letter-spacing:0;
        padding-left:70px;
        font-size:13px;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #f07f01;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

/* -------------------------- Navbar End -------------------------- */


/* -------------------------- Footer Start -------------------------- */

.footer .contact_info{
    font-size:16px; 
    color:white; 
    text-shadow: 2px 2px 4px #000000;
    cursor: pointer;
}

.footer .contact_info:hover {
    letter-spacing: 1px;
    color: #06A3DA;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
    color: white;
}

.footer .btn.btn-social:hover {
    color: #f07f01;
}

.footer .more{
    text-align: right;
    font-size:16px; 
    color:white; 
    text-shadow: 2px 2px 4px #000000;
    cursor: pointer;
}

.footer .more:hover {
    letter-spacing: 1px;
    color: #06A3DA;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 10px;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: white;
    margin-left: 500px;
}

@media (max-width: 767.98px) {
    .footer .contact_info{
        font-size:15px; 
        color:white; 
        text-shadow: 2px 2px 4px #000000;
        cursor: pointer;
    }
    
    .footer .copyright a {
        margin-left: 0;
    }
}

/* -------------------------- Footer End -------------------------- */


/*  -------------------  Sri Sannidhi Updates Start ----------------------  */

#sannidhi_updates table, td {
    border: 1px solid white;
    border-collapse: collapse;
    margin-left: 370px;
    margin-right: auto;
}
  
#sannidhi_updates td {
    padding: 7px;
}

@media screen and (max-width: 600px) {
    #sannidhi_updates table, td {
        margin-left: -8px;
        width:60%;
        height:300px;
    }
    
}
/*  -------------------  Sri Sannidhi Updates End ----------------------  */


/* -------------------------- New Feature Start -------------------------- */

#new_feature .animated-text {
    font-size: 25px;
    font-weight: bold;
    color: #06A3DA;
    position: relative;
    display: inline-block;
    padding: 10px 10px;
    animation: floatText 2.2s ease-in-out infinite;
    cursor:pointer;
}

/* TOP zig-zag */
#new_feature .animated-text::before,
#new_feature .animated-text::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 6px;
    background:
        repeating-linear-gradient(
            135deg,
            #f07f01 0,
            #f07f01 6px,
            transparent 6px,
            transparent 12px
        );
    background-size: 24px 6px;
    animation: zigzagMove 1.6s linear infinite;
}

/* position top & bottom */
#new_feature .animated-text::before {
    top: -2px;
}

#new_feature .animated-text::after {
    bottom: -2px;
}

/* zig-zag motion */
@keyframes zigzagMove {
    from { background-position: 0 0; }
    to   { background-position: 24px 0; }
}

/* floating text */
@keyframes floatText {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}


/* === Modal CSS === */
.modal {
    display: none; /* hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); /* dark overlay */
}

.modal-content {
    background-color: #111;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px rgba(79,195,255,0.7);
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Close button floating outside the modal */
.close-button {
    position: absolute;
    top: -15px;      /* move above the modal */
    right: -15px;    /* move outside right edge */
    background-color: #111; /* dark circle behind the X */
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(79,195,255,0.7);
    transition: 0.2s;
}

.close-button:hover {
    color: #4fc3ff;
    box-shadow: 0 0 15px rgba(79,195,255,1);
    transform: scale(1.1);
}

/* -------------------------- New Feature End -------------------------- */


/* -------------------------- About Start -------------------------- */

#about{
    margin-top: 10px;
}

#about .about-button {
    background-color: #f07f01;
    color: white;
    font-weight: bold;
    border: none;
    text-align: center;
    padding: 10px 20px;
    border-radius: 5px;
}

#about .about-button:hover{
    color:#3a2a17;
}


@media (max-width: 991.98px) {
    #about{
        margin-top: -10px;
    }

    #about img {
        margin-top:-70px;
    }
}


/* -------------------------- About End -------------------------- */


/* -------------------------- Service Start -------------------------- */

#services{
    margin-top: -80px;
}

.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .service-item {
        position: relative;
        height: 480px;
        padding: 0 30px;
        transition: .5s;
    }

    .service-item p {
         padding: 0 2px;
    }
}

/* -------------------------- Service End -------------------------- */


/* -------------------------- Publication Start -------------------------- */

#publication{
    margin-top: 110px;
}

#publication .publication_bkgd {
    background: linear-gradient(rgba(245, 218, 190, 0.888), #96c8da), url(../images/bkgd.jpg) left bottom;
    background-size: auto;
    box-shadow: 0 6px 8px 0 rgba(150, 149, 149, 0.4), 0 8px 20px 0 rgba(0, 0, 0, 0.25);
}

#publication .cont_margin{
    margin-top: 50px;
}

#publication .button {
    background-color: #f07f01;
    color: white;
    font-weight: bold;
    border: none;
    text-align: center;
    padding: 10px 20px;
    border-radius: 5px;
}

#publication .button:hover{
    color:#3a2a17;
}

@media screen and (max-width: 600px) {
    #publication{
        margin-top: -60px;
    }

    #publication .cont_margin{
        margin-top: -10px;
}
}

/* -------------------------- Publication End -------------------------- */


/* -------------------------- Thaniyan Start -------------------------- */

#thaniyan .img_size{
    width: 200px; 
    height: 250px;
    border-radius: 5%;
    box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.4), 0 8px 20px 0 rgba(0, 0, 0, 0.25);
}

#thaniyan .lang_name{
    color: #f07f01;
    font-size: 21px;
}


@media screen and (max-width: 600px) {
    #thaniyan{
     margin-top: -60px;
    }
    
    #thaniyan .img_size{
        width: 200px; 
        height: 250px;
    }
}

/* -------------------------- Thaniyan End -------------------------- */


/* -------------------------- Magazine Start -------------------------- */

#magazine{
    margin-top: -70px;
}

#magazine .magazine_qrcode{
    margin-top: -250px;
    margin-left: 450px;
}

@media screen and (max-width: 600px) {
    #magazine{
        margin-top: -60px;
    }

    #magazine .magazine_qrcode{
        margin-top: 1px;
        margin-left: 30px;
    }
}

/* -------------------------- Magazine End -------------------------- */


/* ------------------------ Events Start ------------------------ */

#events img{
    width: 100px; 
    height: 120px;
}

#events .details {
    font-size: 16px;
    color: rgb(45, 44, 44);
    height: 120px;
    width: 90%;
}

#events .details:hover {
  color: #06A3DA;
}

@media screen and (max-width: 600px) {
   #events img{
        width: 80px; 
        height: 120px;
    }
    
    #events .details {
        height: 120px;
        font-size: 14px;
    }
}

/* ------------------------ Events End ------------------------ */


/*  -------------------  Event Details Start ----------------------  */

#event_details table, td {
    border: 1px solid white;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
}
  
#event_details .frame_size {
    width:450px;
    height:250px;
}

#event_details .img_size{
    width: 200px; 
    height: 230px;
}


@media screen and (max-width: 600px) {
    #event_details .frame_size {
        width:300px;
        height:250px;
    }

    #event_details .img_size{
        width: 440px; 
        height: 530px;
    }
}

/*  -------------------  Event Details End ----------------------  */


/*  -------------------  Our Branches Start ----------------------  */

#branches .searchInput {
    margin-bottom: 10px;
    padding: 4px;
    width: 20%;
    box-sizing: border-box;
    color: rgb(45, 44, 44);
    font-size: 15px;
}

#branches table {
    width: 100%;
    border-collapse: collapse;
}

#branches .dataTable td,
#branches .dataTable th {
    border: 1px solid #ddd;
    padding: 8px;
    font-size: 15px;
    color: rgb(45, 44, 44);
}

#branches .dataTable th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    color: rgb(45, 44, 44);
    background-color:#D3D3D3;
}

#branches .dataTable tr:nth-child(even) {
    background-color: #EEF9FF;
}

#branches .noMatch {
    color: red;
    margin-top: 2.5rem;
    margin-left: 17rem;
    font-size: 14px;
}

@media screen and (max-width: 600px) {
        #branches .searchInput {
        margin-bottom: 10px;
        padding: 4px;
        width: 50%;
        box-sizing: border-box;
    }
}

/*  -----------------------  Our Branches End -------------------------  */


/*  -------------------  Brindavanam Start ----------------------  */

#brindavanam .row{
    width: 100%;
    padding-left: 70px;
}

#brindavanam .column {
    border: .7px solid #9f9f9f;
    font-size: 14px;
    color: rgb(45, 44, 44);
    letter-spacing:1px;
    text-transform:uppercase;
    text-align: center;
    width: 30.33%;
    padding: 20px;
}

#brindavanam a:link, a:visited {
    color: rgb(45, 44, 44);
    background-color: transparent;
    text-decoration: none;
}


@media screen and (max-width: 600px) {
    #brindavanam .row{
        width: 100%;
        padding-left: 5px;
    }
    
    #brindavanam .column {
        width: 100%;
        padding: 20px;
        letter-spacing: normal;
        text-align: center;
    }
}

/*  -----------------------  Brindavanam End -------------------------  */


/* -------------------------- Index Style End -------------------------- */