@charset "UTF-8";

/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Sticky Outer Container */
.sticky-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Logo and Name Container */
.name_and_logo_container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: linear-gradient(to right, 
            rgb(148, 148, 212) 2%,  
            white 20%,            
            white 80%,            
            rgb(148, 148, 212) 98%);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
/*     padding: 10px 0; */
}

/* Navigation Bar */
.navbar {
    width: 100%;
    background: linear-gradient(to right, white 2%, rgb(163, 163, 231) 35%, rgb(163, 163, 231) 65%, white 98%);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Navigation Container */
.nav-container {
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 10px 20px;
}

/* Navigation Menu */
.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

/* Navigation Items */
.navbar ul li {
    margin: 0 15px;
}

/* Navigation Links */
.navbar ul li a {
    text-decoration: none;
    color: rgb(51, 51, 122);
    font-size: 18px;
    font-weight: bold;
    padding: 5px 10px;
    transition: all 0.3s ease-in-out;
    display: block;
}

/* Hover Effect */
.navbar ul li a:hover {
    background-color: rgb(51, 51, 122);
    color: white;
    border-radius: 5px;
}


/* Responsive Image */
.for_default {
    max-width: 100%;
    height: auto;
    mix-blend-mode: multiply;
    object-fit: contain;
}

.menu-toggle {
    display: none; /* Hide it on desktop */
}


/* Main Container */
.container {
    width: 100%;
    background: linear-gradient(to right, 
    rgb(148, 148, 212) ,  
    rgb(239, 216, 216) ,            
    rgb(148, 148, 212) );
    padding: 10px;
     /* animation: fadeIn 0.8s ease-out;  */
}
.sub-container{
    width: 50%;
    margin: auto;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 30px;
    position: relative;
    padding-bottom: 15px;
}

.header h1 {
    font-size: 2.0rem;
    color: #2c3e50;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}



/* Table Styles */
.table-container {
    overflow-x: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: white;
    /* transform: translateY(0); */
    transition: box-shadow 0.3s ease; 
}

.table-container:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgb(238, 247, 243);
    border-radius: 12px;
    overflow: hidden;
}

thead {
    background: linear-gradient(90deg, #3498db, #9b59b6);
    color: white;
}

th {
    padding: 13px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

td {
    padding: 15px 20px;
    font-size: large;
    text-align: center;
    border-bottom: 1px solid #f1f1f1;
    color: #383737;

}

tr:last-child td {
    border-bottom: none;
}

tbody tr {
    transition: all 0.3s ease;
}

tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

tbody tr:hover td {
    color: #2c3e50;
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}



/* Footer */
.footer {
    width: 100%;
    background: linear-gradient(to right, 
            rgb(0, 0, 0),  /* Dark blue fades out quickly */
            rgb(64, 62, 62) ,          
            rgb(0,0,0)   /* Dark blue appears only at the right edge */
        );
    color: #ffffff; /* White text */
    padding: 20px 0; /* Add padding */
    text-align: center; /* Center-align content */
}

/* Footer Content */
.footer-content {
    display: flex;
    justify-content: space-between; /* Space out copyright, links, and arrow */
    align-items: center; /* Vertically center items */
    max-width: 1200px; /* Limit width for large screens */
    margin: 0 auto; /* Center the footer content */
    padding: 0 20px; /* Add padding */
}

/* Copyright */
.copyright p {
    font-size: 14px;
    margin: 0; /* Remove default margin */
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 20px; /* Space between links */
}

.footer-links a {
    color: #ffffff; /* White text */
    text-decoration: none; /* Remove underline */
    font-size: 14px;
    transition: color 0.3s ease; /* Smooth hover effect */
}

.footer-links a:hover {
    color: #08f8f8; /* Red text on hover */
}

/* Back-to-Top Link */
.back-to-top {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    color: #ffffff; /* White text */
    background-color: #0d1dfc;
    text-decoration: none; /* Remove underline */
    font-size: 20px; /* Larger size */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth hover effect */
}

.back-to-top:hover {
    color: #ff6b6b; /* Red text on hover */
    transform: translateY(-5px); /* Lift effect */
}

/* Responsive Navigation for Tablets */
@media screen and (max-width: 1024px) {
    .navbar{
        position: relative;
    }
    
    .nav-container {
        flex-direction: column; 
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center; 
        width: 100%;
    }

    .navbar ul li {
        margin: 5px 10px;
        text-align: center;
    }

    .navbar ul li a {
        font-size: 16px;
        padding: 8px 12px;
    }
    
    .header h1{
        font-size: 20px;
    }

    td{
        font-size: 18px;
    }
    .sub-container{
        width: 90%;
    }

    .footer-links {
        gap: 10px; /* Reduce space between links */
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
    }
    
    /* Copyright */
    .copyright p {
        font-size: 12px;
    }

    /* Footer Links */
    .footer-links {
        gap: 15px; /* Space between links */
    }

    .footer-links a {
        font-size: 12px;
    }

}



/* Responsive Navigation for Mobile */
@media screen and (max-width: 768px) {
    .navbar {
        position: relative;
    }

    .nav-container {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 15px 20px;
        position: relative;
    }

    .menu-toggle {
        display: block;
        font-size: 28px;
        color: rgb(51, 51, 122);
        cursor: pointer;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .navbar ul {
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        flex-direction: column;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        padding: 0;
        margin: 0;
        display: none;
        background: white;
    }

    /* Show menu when active */
    .navbar ul.active {
        display: flex;
    }

    .navbar ul li {
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 10px;
        margin: 1px;
        border-radius: 5px;
        background: linear-gradient(to top, rgb(186, 186, 236) 2%, white 35%, white 65%, rgb(186, 186, 236) 98%);
    }

    .navbar ul li a {
        width: 100%;
        height: 100%;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header h1{
        font-size: 14px;
    }

    td{
        font-size: 15px;
    
    }
    .sub-container{
        width: 98%;
    }


    .footer-content {
        gap: 5px; /* Reduce space between copyright and links */
    }

    .footer-links {
        flex-direction: column; /* Stack links vertically */
        gap: 5px; /* Reduce space between links */
    }

    .footer-content {
        display: block;
        flex-direction: row;
        justify-content: space-between; /* Space out copyright, links, and arrow */
        align-items: center; /* Vertically center items */
    }

     /* Copyright */
     .copyright p {
        font-size: 12px;
    }

    .footer-links {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .footer-links a {
        font-size: 12px;
        margin-top: 6px;
    }

}
