html, body {
    overflow-x: hidden;
    width: 100%;
    text-align: justify;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background-color: #f6bed5 !important;
    color: #000 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    color: var(--primary);
    background: transparent;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}



/*** Navbar ***/
.fixed-top {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-bar {
    height: 55px; /* Balanced height */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background-color: #4d002f; /* Complementary color */
}

.navbar {
    /* background: linear-gradient(135deg, #730533, #a1445c); */
    border-bottom: 2px solid #4d002f; /* Darker border for contrast */
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107"; /* Font Awesome down-arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
    color: #fff; /* White color for arrow */
}

.navbar .navbar-nav .nav-link {
    margin-right: 20px; /* Clean margin */
    padding: 15px 20px; /* Adjusted padding */
    color: #f4f4f4; /* Light text color */
    font-weight: 500;
    text-transform: uppercase; /* Emphasize text */
    border-radius: 6px; /* Rounded corners for links */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #fff; /* White color for active and hover text */
    background-color: rgba(255, 255, 255, 0.1); /* Subtle background on hover */
    transform: translateY(-3px); /* Slight lift effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 5px; /* Reduced margin for mobile */
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        background: linear-gradient(135deg, #730533, #a1445c); /* Gradient background */
    }

    .navbar .navbar-nav .nav-link {
        padding: 12px 20px; /* Adjusted padding for mobile */
        color: #e1e1e1; /* Lighter color for mobile */
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: scaleY(0);
        transform-origin: top;
        transition: opacity 0.3s ease, transform 0.3s ease;
        opacity: 0;
        background: linear-gradient(135deg, #730533, #a1445c); /* Gradient for dropdown */
        border-radius: 8px; /* Rounded corners */
        border: 1px solid #4d002f; /* Subtle border */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: scaleY(1);
        visibility: visible;
        opacity: 1;
    }

    .navbar .dropdown-menu .dropdown-item {
        color: #f4f4f4; /* Light text color */
        padding: 10px 20px; /* Adjusted padding */
        border-bottom: 1px solid #4d002f; /* Divider for items */
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .navbar .dropdown-menu .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1); /* Subtle hover effect */
        color: #fff; /* White text color on hover */
    }
}

/*** Header ***/
.header {
    background: linear-gradient(135deg, #730533, #a1445c); /* Gradient background */
    color: #fff; /* White text color */
    padding: 50px 0; /* Enhanced padding */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Depth effect */
}

/*** Footer ***/
.footer {
    background: linear-gradient(135deg, #730533, #a1445c) !important; /* Gradient background */
    color: #fff !important; /* White text color */
    padding: 40px 0; /* Enhanced padding */
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3); /* Depth effect */
}

/*** Buttons ***/
.btn-primary {
    background: linear-gradient(135deg, #730533, #a1445c); /* Gradient background */
    border: none;
    color: #fff; /* White text color */
    padding: 12px 25px; /* Enhanced padding */
    border-radius: 6px; /* Rounded corners */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5c0032, #730533); /* Darker gradient on hover */
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

/*** Links ***/
a {
    color: #730533; /* Primary color */
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: #a1445c; /* Lighter shade for hover */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Subtle shadow effect */
}





/*** Navbar ***/
/* .fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
} */


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 29, 35, .8);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    /* background: linear-gradient(rgba(0, 29, 35, .8), rgba(0, 29, 35, .8)), url(../img/carousel-1.jpg) center center no-repeat; */
    background-color: #f6bed5;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Causes ***/
.causes-item .progress {
    height: 5px;
    border-radius: 0;
    overflow: visible;
}

.causes-item .progress .progress-bar {
    position: relative;
    overflow: visible;
    width: 0px;
    border-radius: 0;
    transition: 5s;
}

.causes-item .progress .progress-bar span {
    position: absolute;
    top: -7px;
    right: 0;
    width: 40px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--primary);
    color: #FFFFFF;
}

.causes-item .causes-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.causes-item:hover .causes-overlay {
    height: 100%;
    opacity: 1;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
}


/*** Donate ***/
.donate {
    background: rgba(0, 29, 35, .8);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
    color: var(--primary);
    border-color: var(--primary);
}


/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,0.5);
    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;
    color: rgba(255,255,255,0.5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.5);
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

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

.footer .copyright a {
    color: white;
    font-weight: 900;
}

.footer .copyright a:hover {
    color: #05732d !important;
    font-weight: 900 !important;

}

.logoContainer {
    text-align: center !important;
    /* Center align content */
  }

  .logoContainer img {
    display: inline-block;
    /* Make the image inline-block to center it properly */
    margin-right: 10px;
    /* Adjust the margin as needed */
    width: 100px;
    /* Adjust the width of the image */
    height: auto;
    /* Maintain aspect ratio */
  }

  .activities {
    font-family: "Noto Serif Tamil", serif;
    text-align: justify;

    padding: 20px;
  }

  .activities h4 {
    color: #333;
  }

  .activities p {
    margin-bottom: 10px;
  }

  .activities ol,
  .activities ul {
    list-style-type: none;
    padding-left: 20px;
  }

  .activities li {
    margin-bottom: 5px;
    text-align: justify;
    /* Add this line to justify the text */
  }

  .activities i.bi {
    margin-right: 5px;
    color: #58bc52;
    font-size: 25px;
  }

  .nav-bar {
    background-color: #730533;
    /* background: var(--bs-light); */
    border-bottom: 1px solid #e01130;
}
.navbar-toggler{
    border: 1px solid white;
}
/* .navbarHeader {
    background-color: #730533;
    
    border-bottom: 1px solid #e01130;
} */

.navbar .navbar-nav .nav-link {
    color: #ffffff !important;
    padding: 10px 12px;
    font-weight: 600;
    font-size: 17px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: hsl(63, 89%, 52%);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}
.schoolName{
    color: #ffffff;
}
.schoolPlace{
    color: #ffffff;
}
.schoolNameTamil{
    color: #ffffff;
}
.navbar-light .navbar-toggler {
     border-color: #FFF; 
}


@media only screen and (min-width: 300px) and (max-width: 389px) {
  
    .navbar-brand img {
        margin: 0px 88px;
    }
    .footerlogo{
        margin-left: 100px;
    /* margin-bottom: 38px; */
    margin-top: -70px;
    margin-bottom: 27px;
}
.schoolName{
    font-size: 17px;
}
.schoolNameTamil{
    font-size: 14px;
}
.schoolPlace{
    font-size: 17px;
}
    }
@media only screen and (min-width: 390px) and (max-width: 480px) {
  
    .navbar-brand img {
        margin: 0px 114px;
    }
    .footerlogo{
        margin-left: 100px;
    /* margin-bottom: 38px; */
    margin-top: -70px;
    margin-bottom: 27px;
}
.schoolName{
    font-size: 17px;
}
.schoolNameTamil{
    font-size: 14px;
}
.schoolPlace{
    font-size: 17px;
}
    }


/* For Tablets or iPad: 480px - 768px */
@media only screen and (min-width: 481px) and (max-width: 767px) {
    .navbar-brand img {
        margin: 0 155px;
    }
    .footerlogo{
        margin-left: 170px;
        margin-bottom: 30px;
        margin-top: -60px;
    }
    .schoolName{
        font-size: 17px;
        /* margin-left: -20px; */
    }
    .schoolNameTamil{
        font-size: 13px;
        /* margin-left: -20px; */
    }
    .schoolPlace{
        font-size: 17px;
        /* margin-left: -20px; */
    }
}

/* For Laptop or small-size screen: 768px -1024px */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .navbar-brand img {
        margin: 0 260px;

    }
    .footerlogo{
        margin-top: -50px;
        margin-bottom: 20px;
    }
    .schoolName{
        font-size: 23px;
    }
    .schoolNameTamil{
        font-size: 19px;
    }
    .schoolPlace{
        font-size: 23px;
    }
}

/* For Desktop or large-size screen: 1024px -1200px */
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
    .navbar-brand img {
        margin: 0 63px;
        /* Center the logo */
    }
    .footerlogo{
        margin-top: -50px;
        margin-bottom: 20px;
    }
    .schoolName{
        font-size: 23px;
    }
    .schoolNameTamil{
        font-size: 18px;
    }
    .schoolPlace{
        font-size: 23px;
    }
}

/* For Extra-large size device: 1200px and more */
@media only screen and (min-width: 1201px) {
    .navbar-brand img {
        margin: 0 100px;
        /* Center the logo */
    }
    .footerlogo{
        margin-top: -50px;
        margin-bottom: 20px;
    }
    
}
.dropdown-item{
    color: #797979;
    text-transform: capitalize;
    font-size: 16px;
    padding: 8px 10px 8px 20px;
    border-bottom: 1px solid #eee;
    margin: 0;
}

/* Main section styles */
.main {
    padding: 50px 0;
}

.main__btns {
    margin-bottom: 20px;
    
}






/* General Button Styling */
.Gallerybtn {
    display: inline-block;
    padding: 8px 16px; /* Reduced padding for smaller buttons */
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px; /* Minimum width to ensure buttons aren't too small */
}

/* Hover and Focus States */
.Gallerybtn:hover,
.Gallerybtn:focus {
    background-color: #e0e0e0;
    color: #0056b3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Active Button Styling */
.btn-active {
    background-color: #0056b3;
    color: #fff;
    border-color: #0056b3;
}

/* Button Group Layout */
.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px; /* Reduced gap between buttons */
    margin-top: 20px;
    margin-bottom: 20px;

}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .Gallerybtn {
       
        font-size: 14px; /* Smaller font size for mobile */
        padding: 10px 0; /* Adjusted padding for a compact look */
        /* min-width: auto;  */
    }

    .button-group {
        gap: 6px; /* Further reduced gap for compact mobile layout */
    }
}

@media (max-width: 480px) {
    .Gallerybtn {
        font-size: 12px; /* Even smaller font size on very small screens */
        padding: 10px 11px;
        min-width: auto; /* Remove minimum width constraint */
    }
}









.primary-btn {
    background-color: #e01130;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.primary-btn:hover {
    background-color: #b80922;
}

.primary-btn_active {
    background-color: #b80922;
}

.main__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    /* display: flex !important; */
}

.card:hover {
    transform: translateY(-5px);
}

.card__img {
    /* max-width: 100%; */
    border-radius: 8px;
}

.card__title {
    font-size: 1.2rem;
    margin: 10px 0;
}

.card__desc {
    color: #666;
}
.footerSectionStyle{
    background-color: #730533;
}





/* General Styles */
.parent {
    padding: 20px;
    background-color: #f5f5f5;
}

.stat-row.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.stat-item {
    text-align: center;
    flex: 1 1 calc(33.333% - 40px);
    box-sizing: border-box;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stat-item:hover {
    background-color: #e0e0e0;
    transition: background-color 0.3s ease;
}

.stat-icon {
    font-size: 3em; /* Adjust size as needed */
    color: #007bff; /* Change to your preferred color */
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.stat-title {
    font-size: 1.1em;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .stat-item {
        flex: 1 1 calc(50% - 40px);
    }
}

@media (max-width: 768px) {
    .stat-item {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 2em;
    }

    .stat-title {
        font-size: 1em;
    }

    .stat-icon {
        font-size: 2.5em; /* Slightly smaller icon on very small screens */
    }
}





/*** Events Start ***/
.event .tab-class .nav-item a.active {
    background-color: #730533 !important;
    color:#fff !important;
    border-color: #730533 !important;
}

.event .event-img .event-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(212, 167, 98, 0.7);
    border-radius: 8px;
    transition: 0.5s;
    opacity: 0;
    z-index: 1;
}

.event .event-img:hover .event-overlay {
    opacity: 1;
}

.border-primary{
    border-color: #730533 !important;
    color: #730533 !important;
}
















/* 

  .counters {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 50px 0;
    background-color: #ffffff;
}

.counter-box {
    background: #ffffff;
    border: 2px solid #eeeeee;
    border-radius: 10px;
    padding: 30px;
    width: 250px;
    margin: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.counter {
    font-size: 48px;
    color: #333333;
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.symbol {
    font-size: 24px;
    color: #007bff;
}

.label {
    font-size: 18px;
    color: #666666;
    margin-top: 10px;
    font-weight: 500;
}

.counter-box:hover .counter {
    color: #007bff;
} */







/* Section styling */
#toppersXllstd {
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 20px auto;
}


/* Section styling */
#toppersXstd {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Table styling */
.toppers-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.toppers-table:hover {
    transform: scale(1.02);
}

.toppers-table thead {
    background-color: #007bff;
    color: #fff;
}

.toppers-table th, .toppers-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.toppers-table th {
    font-size: 16px;
    font-weight: bold;
}

.toppers-table td {
    font-size: 14px;
}

/* Zebra striping for table rows */
.toppers-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.toppers-table tbody tr:hover {
    background-color: #e9e9e9;
}

/* Responsive table styling */
@media (max-width: 768px) {
    .toppers-table {
        font-size: 12px;
    }

    .toppers-table th, .toppers-table td {
        padding: 8px;
    }
}




#period {
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 20px auto;
}
.period-section {
    background-color: #e0f7fa;
    font-weight: bold;
}

.break {
    background-color: #ffeb3b;
    font-weight: bold;
    color: #000;
}

.break td {
    font-style: italic;
}


.rules-list {
    list-style-type: none;
    padding-left: 0;
}

.rules-list li {
    position: relative;
    padding-left: 30px;
    line-height: 1.8;

}

.rules-list li .securityIcon {
    position: absolute;
    left: 0;
    top: 0;
    color: #049e9f;
    /* Color of the security icon */
}





/* Staff Tabs */


.nav-pills .nav-link {
    background-color: #fff;
    color: #730533;
    border: 1px solid #ddd;
    border-radius: 0;
    margin-bottom: 5px;
}
.nav-pills .nav-link.active {
    background-color: #730533;
    color: #fff;
}
.tab-content {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-top: 20px;
}
.table thead {
    background-color: #730533;
    color: #fff;
}
.table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
.table tbody tr:hover {
    background-color: #e9e9e9;
}


  
.card-container-alt {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card-alt {
    background-color: #fff;
    border-radius: 10px;
    border-left: 5px solid #007bff;
    padding: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card-alt:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-header-alt {
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.card-title-alt {
    margin: 0;
    font-size: 1.5em;
    color: #007bff;
}

.card-content-alt {
    font-size: 1em;
    color: #444;
}

.card-text-alt {
    margin-bottom: 15px;
    font-weight: 500;
}

.card-list-alt {
    padding-left: 20px;
}

.card-list-alt li {
    margin-bottom: 10px;
    font-weight: 400;
}

.large-icon {
    width: 120px;
    height: 120px;
    font-size: 80px;
    color: #730533; /* Initial icon color */
    transition: color 0.3s ease; /* Smooth transition for hover */
}

.large-icon:hover {
    color: #f6bed5; /* Icon color on hover */
}


/* gallery style */
.nav-bar {
    background-color: #730533;
    border-bottom: 1px solid #e01130;
}

.navbar-toggler {
    border: 1px solid white;
}

.navbar .navbar-nav .nav-link {
    color: #ffffff !important;
    padding: 10px 12px;
    font-weight: 600;
    font-size: 17px;
    transition: 0.5s;
}


.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

.schoolName {
    color: #ffffff;
}

.schoolPlace {
    color: #ffffff;
}
/* lab stylw */
/* .lab-container {
    width: 90%;
    margin: 40px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 40px;
    color: #2c3e50;
    text-align: center;
    font-weight: bold;
    margin-bottom: 50px;
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.lab-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lab-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.lab-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.lab-image.physics {
    background-image: url('images/physics-lab.jpg');
}

.lab-image.chemistry {
    background-image: url('images/chemistry-lab.jpg');
}

.lab-image.biology {
    background-image: url('images/biology-lab.jpg');
}

.lab-image.computer {
    background-image: url('img/computer-lab.jpg');
}

.lab-content {
    padding: 20px;
    text-align: center;
}

.lab-content h2 {
    font-size: 24px;
    color: #34495e;
    margin-bottom: 15px;
    font-weight: bold;
}

.lab-content p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
} */
/* librart style */
.library-container {
    width: 90%;
    margin: 40px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 36px;
    color: #2c3e50;
    text-align: center;
    font-weight: bold;
    margin-bottom: 50px;
}

.library-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.library-image {
    flex: 1;
    height: 300px;
    background-image: url('images/library-pattukottai.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}

.library-description {
    flex: 2;
    padding: 20px;
}

.library-description h2 {
    font-size: 28px;
    color: #34495e;
    margin-bottom: 20px;
    font-weight: bold;
}

.library-description p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .library-content {
        flex-direction: column;
    }

    .library-image {
        height: 200px;
    }
}
/* sports style */
.sports-container {
    width: 85%;
    margin: 50px auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

h1 {
    font-size: 36px;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.sports-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.sports-image {
    flex: 1;
    height: 300px;
    background-image: url('images/sports-facilities.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.sports-description {
    flex: 2;
    padding: 20px;
}

.sports-description h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 20px;
    font-weight: bold;
}

.sports-description p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .sports-content {
        flex-direction: column;
    }

    .sports-image {
        height: 250px;
    }
}

/* transport style */
.transportation-container {
    width: 80%;
    margin: 40px auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.transportation-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.transportation-image {
    flex: 1;
    height: 550px;
    background-image: url('/img/transport/1.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.transportation-description {
    flex: 2;
    padding: 20px;
}

.transportation-description h2 {
    font-size: 24px;
    color: #444;
    margin-bottom: 20px;
}

.transportation-description p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}


@media (max-width: 768px) {
    .transportation-content {
        flex-direction: column;
    }

    .transportation-image {
        height: 200px;
    }
}
.navbarToggleStyle{
    color:#05732d !important;
}
.phone{
    color: rgb(157, 154, 151);
}






/*  topper section */


/* Section */
.halfYearlyExam-section {
    text-align: center;
    padding: 20px;
  }
  
  .halfYearlyExam-title {
    font-size: 2.5rem;
    color: #333;
  }
  
  .halfYearlyExam-subtitle {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 20px;
  }
  
  /* Grid Container */
  .halfYearlyExam-gridContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
  }
  
  @media (max-width: 768px) {
    /* Mobile View: Show only 1 image per page */
    .halfYearlyExam-gridContainer {
      grid-template-columns: 1fr;
    }
  }
  
  /* Card Styling */
  .halfYearlyExam-card {
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .halfYearlyExam-card:hover {
    transform: scale(1.05);
  }
  
  .halfYearlyExam-card img {
    width: 100%;
    height: auto;
  }
  
 /* Pagination */
.halfYearlyExam-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
  }
  
  .halfYearlyExam-paginationBtn {
    padding: 10px 20px;
    font-size: 1.5rem;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  /* Button Colors */
  .halfYearlyExam-paginationBtn:not(:disabled):hover {
    background-color: #b34a8f;
  }
  
  .halfYearlyExam-paginationBtn {
    background-color: #ae579b;
  }
  
  /* Disabled Button Style */
  .halfYearlyExam-paginationBtn:disabled {
    background-color: #5751b5;
    cursor: not-allowed;
  }
  
  .halfYearlyExam-pageInfo {
    font-size: 1rem;
    color: #333;
  }
  
  /* Font Awesome for Pagination Icons */
  .fas {
    font-size: 1.5rem;
  }




  /* Conter Section */


  /* Counter Section */
.pamhssCounter {
    padding: 40px 0;
    text-align: center;
    background: #f5f5f5; /* Light gray background for the whole section */
  }
  
  /* Container */
  .pamhssCounter-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  /* Counter Item */
  .pamhssCounter-item {
    background: linear-gradient(135deg, #ae579b, #b34a8f, #5751b5); /* Light gradient background */
    border-radius: 10px;
    padding: 20px;
    width: 220px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease; /* Only background color will change on hover */
  }
  
  /* Hover Effect */
  .pamhssCounter-item:hover {
    background: linear-gradient(135deg, #5751b5, #b34a8f, #ae579b); /* Reverse gradient on hover */
  }
  
  /* Icon Styling */
  .pamhssCounter-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #fff; /* Icon color */
    transition: color 0.3s ease; /* Icon color change on hover */
  }
  
  /* Counter Values */
  .pamhssCounter-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff; /* Counter value text color */
    margin-bottom: 10px;
    transition: color 0.3s ease; /* Text color change on hover */
  }
  
  /* Labels */
  .pamhssCounter-label {
    font-size: 1.2rem;
    color: #fff; /* Label text color */
    transition: color 0.3s ease; /* Text color change on hover */
  }
  
  /* Hover Text and Icon Color Change */
  .pamhssCounter-item:hover .pamhssCounter-icon,
  .pamhssCounter-item:hover .pamhssCounter-value,
  .pamhssCounter-item:hover .pamhssCounter-label {
    color: #f5f5f5; /* Change text and icon color to light when hovering */
  }
  
  /* Media Query for Mobile View */
  @media (max-width: 768px) {
    .pamhssCounter-container {
      flex-direction: column;
    }
  
    .pamhssCounter-item {
      width: 90%;
      margin: 10px 0;
    }
  }
  

  /* Participate */



  /* Participate Competition Section */
.participateCompetition {
    padding: 40px 0;
    background: linear-gradient(to right, #ae579b, #b34a8f, #5751b5);
    color: white;
    text-align: center;
  }
  
  .participateCompetition-container {
    width: 80%;
    margin: 0 auto;
  }
  
  .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #dd25a3;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Add shadow for text contrast */
  }
  
  /* Event Item */
  .participateCompetition-item {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, 0.1); /* Transparent white background for the item */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out; /* Subtle animation for item */
  }
  
  .participateCompetition-item.active {
    display: flex; /* Only show the active item */
  }
  
  /* Image */
  .participateCompetition-image {
    width: 45%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
  }
  
  /* Details Section */
  .participateCompetition-details {
    width: 50%;
    text-align: justify; /* Justify text alignment */
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Add semi-transparent background for contrast */
    border-radius: 10px;
  }
  
  .participateCompetition-title {
    font-size: 1.6rem; /* Smaller font size for mobile */
    font-weight: bold;
    color: #ffeb3b; /* Yellow color for highlighting the title */
    line-height: 1.4;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* Subtle shadow for text readability */
  }
  
  .participateCompetition-description {
    font-size: 1rem; /* Smaller font size for description */
    color: #ffffff;
    line-height: 1.6;
    margin-top: 10px;
    letter-spacing: 0; /* Ensure no letter spacing/gap */
  }
  
  /* Add hover effect for the details */
  .participateCompetition-item:hover .participateCompetition-title {
    color: #fdd835; /* Lighter yellow for hover effect */
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.8); /* Glowing effect on hover */
  }
  
  .participateCompetition-description strong {
    font-size: 1.1rem; /* Slightly larger font size for emphasis */
  }
  
  /* Pagination Controls */
  .pagination-controls {
    margin-top: 20px;
  }
  
  .pagination-btn {
    background-color: #5751b5;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    margin: 0 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .pagination-btn:hover {
    background-color: #b34a8f;
  }
  
  /* Responsive for Mobile */
  @media screen and (max-width: 768px) {
    .participateCompetition-item {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .participateCompetition-image {
      width: 80%;
      height: 400px;
      margin-bottom: 20px;
    }
  
    .participateCompetition-details {
      width: 100%;
    }
  
    .section-title {
      font-size: 1.8rem; /* Smaller title font for mobile */
    }
  
    .participateCompetition-title {
      font-size: 1.4rem; /* Smaller title font for mobile */
    }
  
    .participateCompetition-description {
      font-size: 0.9rem; /* Even smaller font for descriptions on mobile */
    }
  
    .pagination-btn {
      font-size: 0.9rem; /* Smaller pagination button text on mobile */
      padding: 8px 16px;
    }
  }
  








  

/* General Styles */
.topBannerSection {
    width: 100%;
    /* background-image: linear-gradient(to right, #a3b4f7, #c6a3f7, #a3d7f7); */
    /* background-image: linear-gradient(to bottom right, cornsilk, #fff8dc); */
    background-image: linear-gradient(to bottom right, #530649, #530649);
border-bottom: 1px solid white;
    padding: 20px 0;
    font-family: "Inria Sans", system-ui, sans-serif;
}

.topBannerInside {
    padding: 10px 20px;
}

/* Flexbox for responsive alignment */
.headerSection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logotitle {
    width: 15vw;
    /* Responsive to viewport */
    height: auto;
    font-family: "Inria Sans", system-ui, sans-serif;
}

.titleSection {
    text-align: center;
    line-height: 1.4;
    margin: 0 auto;
}

/* Typography */
.collegeName,
.collegePlace {
    color: rgb(225 13 138);
    /* Wheat color */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    /* Text shadow for readability */
    font-family: "Inria Sans", system-ui, sans-serif;
    font-weight: 700;
}

.collegeNameTamil {
    color: rgb(225 13 138);
    /* Wheat color */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    /* Text shadow for readability */
    font-family: "Inria Sans", system-ui, sans-serif;
    font-weight: 700;
}
.schoolCodelayout {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.school-code, .aishe-code {
    font-size: 20px;
    color: #28a745;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
}

.school-code:hover, .aishe-code:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .school-code, .aishe-code {
        font-size: 16px; /* Smaller font size for mobile */
    }
}
@media (max-width: 565px) {
    .school-code, .aishe-code {
        font-size: 16px; /* Smaller font size for mobile */
    }
}
@media (max-width: 480px) {
    .school-code, .aishe-code {
        font-size: 14px; /* Smaller font size for mobile */
    }
}
@media (max-width: 365px) {
    .school-code, .aishe-code {
        font-size: 12px; /* Smaller font size for mobile */
    }
}



/* Extra Large Screens (Desktops and larger) */
@media (min-width: 1200px) {
    .collegeName {
        font-size: 27px;
    }

    .collegeNameTamil {
        font-size: 25px;
    }

    .collegePlace {
        font-size: 27px;
    }

    .logotitle {
        width: 12vw;
        margin-left: 115px;
    }
}

/* Large Screens (Laptops) */
@media (min-width: 992px) and (max-width: 1199px) {
    .collegeName {
        font-size: 22px;
    }

    .collegeNameTamil {
        font-size: 20px;
    }

    .collegePlace {
        font-size: 22px;
    }

    .logotitle {
        width: 14vw;
        margin-left: 60px;
    }
}

/* Medium Screens (Tablets) */
@media (min-width: 768px) and (max-width: 991px) {
    .collegeName {
        font-size: 16px;
    }

    .collegeNameTamil {
        font-size: 15px;
    }

    .collegePlace {
        font-size: 17px;
    }

    .logotitle {
        width: 18vw;
        /* Logo size adjusts */
    }
}

/* Small Screens (Phones) */
@media (min-width: 576px) and (max-width: 767px) {
    .headerSection {
        flex-direction: column;
        /* Stack elements vertically */
        text-align: center;
    }

    .collegeName {
        font-size: 19px;
    }

    .collegeNameTamil {
        font-size: 17px;
    }

    .collegePlace {
        font-size: 17px;
    }

    .logotitle {
        width: 25vw;
        /* Logo for mobile phones */
        margin-bottom: 20px;
    }
}

/* 450px to 575px (Large Mobile Devices) */
/* @media (min-width: 450px) and (max-width: 575px) {
    .headerSection {
        flex-direction: column;
        text-align: center;
    }
    
    .collegeName {
        font-size: 15.6px;
    }
    .collegeNameTamil {
        font-size: 15.7px;
    }

    .collegePlace {
        font-size: 18px;
    }
    
    .logotitle {
        width: 28vw; 
        margin-bottom: 20px;
    }
} */




/* @media (max-width: 460px) {
    .collegeName {
        font-size: 15px !important;
    }
    .collegeNameTamil {
        font-size: 14px !important;
    }
} */
/* 575px Screens */
@media (max-width: 575px) {
    .collegeName {
        font-size: 19px;
    }

    .collegeNameTamil {
        font-size: 17px;
    }

    .collegePlace {
        font-size: 18px;
    }

    .logotitle {
        width: 30vw;
        margin-left: 186px;
        margin-bottom: 20px;
    }
}

/* @media (max-width: 340px) {
    .collegeName {
        font-size: 11px !important;
    }
    .collegeNameTamil {
        font-size: 10px !important;
    }
} */


/* 540px Screens */
@media (max-width: 540px) {
    .collegeName {
        font-size: 18px;
    }

    .collegeNameTamil {
        font-size: 16px;
    }

    .collegePlace {
        font-size: 18px;
    }

    .logotitle {
        width: 30vw;
        margin-left: 160px;
        margin-bottom: 20px;
    }
}





/* 1024px Screens */
/* @media (max-width: 1024px) {
 
    .collegeNameTamil{
        font-size: 21.3px;
    }
} */



/* 450px Screens */
@media (max-width: 450px) {
    .collegeName {
        font-size: 13px;
    }

    .collegeNameTamil {
        font-size: 13px;
    }

    .collegePlace {
        font-size: 14px;
    }

    .logotitle {
        width: 30vw;
        margin-left: 132px;
        margin-bottom: 20px;
    }
}

/* 412px Screens (Small Phones) 13.4px*/

@media (max-width: 412px) {
    .collegeName {
        font-size: 13px;
    }

    .collegeNameTamil {
        font-size: 12px;
    }

    .collegePlace {
        font-size: 12px;
    }

    .logotitle {
        width: 35vw;
        margin-left: 115px;
    }
}

/* 390px Screens (Small Phones) 13.4px*/

@media (max-width: 390px) {
    .collegeName {
        font-size: 12px;
    }

    .collegeNameTamil {
        font-size: 11px;
    }

    .collegePlace {
        font-size: 12px;
    }

    .logotitle {
        width: 35vw;
        margin-left: 100px;
    }
}

/* 375px Screens (Small Phones) 13.4px*/
@media (max-width: 370px) {
    .collegeName {
        font-size: 12px;
    }

    .collegeNameTamil {
        font-size: 11.6px;
    }

    .collegePlace {
        font-size: 12px;
    }

    .logotitle {
        width: 35vw;
        margin-left: 100px;
    }
}

/* 412px Screens (Small Phones) 13.4px*/

@media (max-width: 360px) {
    .collegeName {
        font-size: 11px;
    }

    .collegeNameTamil {
        font-size: 11px;
    }

    .collegePlace {
        font-size: 12px;
    }

    .logotitle {
        width: 35vw;
        margin-left: 100px;
    }
}

/* Extra Small Screens (below 350px) */
@media (max-width: 350px) {
    .collegeName {
        font-size: 12px;
    }

    .collegeNameTamil {
        font-size: 27px;
    }

    .collegePlace {
        font-size: 11px;
    }

    .logotitle {
        width: 38vw;
    }
}

/* Extra Small Screens (below 344px) */
@media (max-width: 345px) {
    .collegeName {
        font-size: 11px;
    }

    .collegeNameTamil {
        font-size: 10px;
    }

    .collegePlace {
        font-size: 11px;
    }

    .logotitle {
        width: 38vw;
        margin-left: 88px;
    }
}





@media (max-width: 300px) {
    .collegeName {
        font-size: 10px;
    }

    .collegeNameTamil {
        font-size: 9px;
    }
}







/*---------------------------------------------------- */
/*----------------------------------------------------*/
/* Home Banner Area css
============================================================================================ */
.home_banner_area {
    z-index: 1;
    /* min-height: 500px; */
    position: relative;
    /* background: url(../img/banner/home-banner.jpg) no-repeat center; */
    background-size: cover;
}

.home_banner_area .banner_inner {
    position: absolute;
    top: 40%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
}

@media (max-width: 991px) {
    .home_banner_area .banner_inner {
        top: 50%;
    }
}

.home_banner_area .banner_inner .banner_content h2 {
    font-size: 48px;
    font-weight: 500;
}

.home_banner_area .banner_inner .banner_content p {
    font-size: 20px;
    color: #002347;
    font-weight: 500;
}

.blog_banner {
    min-height: 780px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-bottom: 0px;
}

.blog_banner .banner_inner {
    background: #04091e;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 780px;
    z-index: 1;
}

.blog_banner .banner_inner .overlay {
    background: url(../img/banner/banner-2.jpg) no-repeat center center;
    opacity: 0.5;
    height: 125%;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    z-index: -1;
}

.blog_banner .banner_inner .blog_b_text {
    max-width: 700px;
    margin: auto;
    color: #fff;
    margin-top: 40px;
}

.blog_banner .banner_inner .blog_b_text h2 {
    font-size: 60px;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    line-height: 66px;
    margin-bottom: 15px;
}

.blog_banner .banner_inner .blog_b_text p {
    font-size: 16px;
    margin-bottom: 35px;
}

.blog_banner .banner_inner .blog_b_text #ffffff_bg_btn {
    line-height: 42px;
    padding: 0px 45px;
}

.banner_area {
    position: relative;
    background: url(../img/banner/banner.jpg) no-repeat center center;
    z-index: 1;
    min-height: 392px;
    padding-top: 0 !important;
}

.banner_area .banner_inner {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 392px;
    z-index: 1;
}

.banner_area .banner_inner .overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 35, 71, 0.8);
}

.banner_area .banner_inner .banner_content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.banner_area .banner_inner .banner_content h2 {
    color: #fff;
    font-size: 45px;
    margin-bottom: 0px;
}

.banner_area .banner_inner .banner_content .page_link {
    display: inline-block;
    padding: 7px 20px;
}

.banner_area .banner_inner .banner_content .page_link a {
    font-size: 15px;
    color: #fff;
    font-family: "Roboto", sans-serif;
    margin-right: 20px;
    position: relative;
    text-transform: capitalize;
}

.banner_area .banner_inner .banner_content .page_link a:before {
    content: "/";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.banner_area .banner_inner .banner_content .page_link a:last-child {
    margin-right: 0px;
}

.banner_area .banner_inner .banner_content .page_link a:last-child:before {
    display: none;
}

/* End Home Banner Area css
  ============================================================================================ */




/*** Footer Start ***/
.footer {
    /* background-image: linear-gradient(to right, #a3b4f7, #c6a3f7, #a3d7f7); */

    background-image: linear-gradient(to bottom right, cornsilk, #fff8dc);

}

.footer .footer-item a {
    line-height: 30px;
    color:#f2f4fa;
    transition: 0.5s;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: #c5d911;
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}


.foot{
    color: #c5d911 !important;
}

/*** copyright end ***/

/* 




/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-primary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-light {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-light:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-primary);
    color: var(--bs-light) !important;
}

.btn-hover {
    transition: 0.5s;
}

.btn-hover:hover {
    color: var(--bs-secondary) !important;
}



/* CopyRight Section */
.copyRightsSection {
    background-color: #2c3e50 !important;
    padding: 20px 0 !important;
    border-top: 2px solid #f39c12 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.copyright-item {
    /* white-space: nowrap !important; */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #ffffff !important;
    text-align: center !important;
}

.copyRightsSection a {
    color: #f39c12 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important, transform 0.3s ease !important, letter-spacing 0.3s ease !important;
}

.copyRightsSection a:hover {
    color: #e67e22 !important;
    text-decoration: underline !important;
    transform: scale(1.05) !important;
    letter-spacing: 1px !important;
}

.company-name {
    text-transform: uppercase !important;
    font-weight: bold !important;
}

.copyRightsSection i {
    color: #f39c12 !important;
    font-size: 1.2em !important;
}

@media (max-width: 768px) {
    .copyRightsSection {
        text-align: center !important;
    }
}




/* School time */

.school-time {
    color: #e71593;
    /* Set your desired color for the text */
    font-weight: bold;
    /* Optional: to make it stand out */
    transition: color 0.3s ease;
    /* Smooth transition for hover effect */
}

.school-time i {
    color: #e71593;
    transition: color 0.3s ease;
}

.school-time:hover {
    color: #e573c3;
    /* Color change on hover */
}

.school-time:hover i {
    color: #ffcc00;
    /* Icon color change on hover */
}




/*** Navbar ***/
.navbar-light {
    font-family: "Inria Sans", system-ui;
    position: relative;
    padding: 35px 15px;
    color: var(--bs-white) !important;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: .5s;
    background-color: #530649;
    border-bottom: 1px solid white !important;
}

.navbar-nav .nav-link {
    font-family: "Inria Sans", system-ui;
    position: relative;
    padding: 35px 15px;
    color: var(--bs-white) !important;
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;

}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
    color: var(--bs-dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-white) !important;
}

.navbar-light .navbar-brand h1 {
    color: var(--bs-white);
}

.sticky-top.navbar-light .navbar-brand h1 {
    color: var(--bs-primary);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: linear-gradient(to right, #2ecc71, #3498db);
    /* Choose your preferred gradient */

    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background-image: linear-gradient(to right, #a3b4f7, #c6a3f7, #a3d7f7);

    }

    .navbar-light .navbar-brand h1 {
        color: var(--bs-primary);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid wheat;
        color: wheat;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        color: white !important;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--bs-primary) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 0;
        bottom: -1px;
        left: 0;
        background: var(--bs-primary);
        transition: .5s;
        z-index: -1;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        height: calc(100% + 1px);
        left: 1px;
    }

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

/*** Carousel Hero Header Start ***/
.carousel-header .carousel-control-prev,
.carousel-header .carousel-control-next {
    background: transparent;
}

.carousel-header .carousel-control-prev .carousel-control-prev-icon {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 25px 30px;
    border-top-left-radius: 0;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 50px;
    background-size: 60% 60%;
}

.carousel-header .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    padding: 25px 30px;
    border-top-left-radius: 50px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 0;
    background-size: 60% 60%;

}

.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li {
    opacity: 0;
}

.carousel-header .carousel-inner .carousel-item {
    position: relative;
    min-height: 100vh
}

.carousel-header .carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-header .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0.5));
    background-size: cover;
}

@media (max-width: 768px) {

    .carousel-header .carousel-inner .carousel-item img,
    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        height: 700px;
        margin-top: -100px;
    }

    .carousel-header {
        height: 700px !important;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        opacity: 0;
    }

    .search-bar {
        margin-top: -100px;
        transition: 0.5s;
    }
}

/*** Carousel Hero Header End ***/



/* Modal*/

/* Custom modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
}

.closeModal {
    position: absolute;
    top: 7px;
    right: 40px;
    color: #14d952;
    font-size: 50px;
    cursor: pointer;
    font-weight: 900;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 90%;
    }
}




.marqueeTopNav {
    top: -50%;
    transform: translateY(-20%);
    z-index: 1;
}

@media (max-width: 1024px) {
    .marqueeTopNav {
        top: -40%;
        transform: translateY(-15%);
    }
    .newsletter-header{
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .marqueeTopNav {
        top: -30%;
        transform: translateY(40%);
    }
    .newsletter-header{
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .marqueeTopNav {
        top: -20%;
        transform: translateY(42%);
    }
    .newsletter-header{
        margin-top: 15px;
        font-size: 25px;
    }
}



.schoolCodelayout {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.school-code, .aishe-code {
    font-size: 20px;
    color: #28a745;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
}

.school-code:hover, .aishe-code:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .school-code, .aishe-code {
        font-size: 16px; /* Smaller font size for mobile */
    }
}
@media (max-width: 565px) {
    .school-code, .aishe-code {
        font-size: 16px; /* Smaller font size for mobile */
    }
}
@media (max-width: 480px) {
    .school-code, .aishe-code {
        font-size: 14px; /* Smaller font size for mobile */
    }
}
@media (max-width: 365px) {
    .school-code, .aishe-code {
        font-size: 12px; /* Smaller font size for mobile */
    }
}





.video-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: pointer;
    /* Change cursor on hover */
    border-radius: 8px;
    /* Rounded corners */
    transition: background-color 0.3s;
    /* Smooth transitions */
    background-color: transparent;
    /* Initial background color */
}

.video-thumbnail:hover {
    background-color: rgba(0, 0, 139, 0.8) !important;
    /* Dark blue background on hover */
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s !important;
    /* Smooth zoom effect */
}

.video-thumbnail:hover img {
    transform: scale(1.05) !important;
    /* Zoom effect on hover */
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    color: white;
    background-color: #ff0000;
    /* YouTube red */
    border-radius: 5px;
    /* Adjusted for square corners */
    width: 60px;
    /* Fixed width for square */
    height: 60px;
    /* Fixed height for square */
    display: flex;
    /* Use flexbox for centering */
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */
    cursor: pointer;
    transition: background-color 0.3s;
}


.play-button:hover {
    background-color: #cc0000;
    /* Darker red on hover */
}