/* Custom styles for SSSC website - Exact Replica */

body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #4a6fa3; /* Base blue for the background */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.08) 6%, transparent 6%, transparent 12%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.08) 6%, transparent 6%, transparent 12%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 8%, transparent 8%, transparent 16%); /* Multiple layers for varied circles */
    background-size: 150px 150px, 150px 150px, 150px 150px;
    background-repeat: repeat;
}

.container {
    max-width: 100vw; /* Adjusted container width to better fit the original */
}

/* Header styles */
header {
    background-color: #c1c9d3;
    padding: 0;
}
.logo-left{
    position: absolute;
    height: 36px;
}
header .top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    max-width: 100%;
}

header .logo-left img{
    position: relative;
    top: 1px;
    left: 195px;
}
header .logo-right img {
    max-height: 96px;
    position: relative;
    right: 162px;

}

header .title-text {
    flex-grow: 1;
    color: #2f57a1;
    margin-left: 105px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
}
.logo-right{
    height: 36px;
}


/* Navigation styles */
.main-nav {
    background-color: #c1c9d3;
    padding: 0;
    columns: #2f57a1;
    max-width: 88%;
}

.main-nav .container {
    display: flex;
    justify-content: flex-end;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    height: 38px;
    align-items: center;

}

.main-nav li {
    margin-left: 15px;

}

.main-nav a {
    color: #2f57a1;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    padding: 0 8px;
    display: flex;
    align-items: center;
    height: 100%;
    transition: background-color 0.3s ease;
}

.main-nav a:hover {
    background-color: #1a4a7e;
}
.notice{
    max-width: 70%;
    margin: 0% 15%;
}

/* Main Content Area */
main {
    padding: 20px 0;
    background-color: transparent;
    position: relative;
}

main .container {

    background-image:
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.08) 6%, transparent 6%, transparent 12%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.08) 6%, transparent 6%, transparent 12%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 8%, transparent 8%, transparent 16%); /* Multiple layers for varied circles */
    background-size: 150px 150px, 150px 150px, 150px 150px;
    background-repeat: repeat;
}

.card {
    border: 1px solid #c0c0c0;
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card-header {
    background-color: #d1d9e2;
    color: #1a4a7e;
    font-weight: bold;
    font-size: 1.1em;
    padding: 8px 15px;
    border-bottom: 1px solid #c0c0c0;
}

.card-body {
    padding: 15px;
}

.list-group-item {
    border: none;
    padding: 6px 0;
    background-color: transparent;
    font-size: 0.9em;
}

.list-group-item a {
    color: #1a4a7e;
    text-decoration: none;
}

.list-group-item a:hover {
    text-decoration: underline;
}

.list-group-item .notice-date {
    font-size: 0.75em;
    color: #777;
}

/* Image Slider */
.image-slider {
    width: 70%;
    height: 250px;
    margin: 0% 15%;
    overflow: hidden;
    position: relative;
    border: none;
    border-radius: 5px;


}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    width: calc(100% * (6 / 3)); /* 6 items (4 unique + 2 clones) shown 3 at a time */
}

.slider-item {
    min-width: 17.33%;
    height: 100%;
    display: flex;

    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 12px;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #b0c4de;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.slider-nav-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 5px;
    z-index: 10;
}

.slider-arrow {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 1.5em;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    user-select: none;
}

.slider-arrow:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.8);
}
.noticebox{
    padding: 2.5rem;
}
/* Notice Banner */
.notice-banner {
    background-color: #c1c9d3;
    color: #240101;

    margin-bottom: 6px;

    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    font-size: 0.95em;
    max-width: 100%;
}
.tablewidth{
    max-width: 80%
}

.scroll-up {
    height: 200px;
    overflow: hidden;
    position: relative;
  }
  .scroll-up ul {
    position: absolute;
    width: 100%;
    animation: scrollUp 10s linear infinite;
  }
  @keyframes scrollUp {
    0%   { top: 100%; }
    100% { top: -100%; }
  }

/* Footer styles */
footer {
    background-color: #1a4a7e;
    color: #ffffff;
    padding: 15px 0;
    font-size: 0.85em;
}

footer .container {
    display: flex;
    padding: 0px 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.footercontainer{
    max-width: 70%;
    margin: 0% 15%
}

footer .footer-section {
    /* width: 23%; */
    margin-bottom: 10px;
}

footer h5 {
    color: #ffffff;
    font-size: 1em;
    margin-bottom: 8px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li a {
    color: #ffffff;
    text-decoration: none;
}

footer ul li a:hover {
    text-decoration: underline;
}

footer .copyright-info {
    width: 100%;
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 10px;
    font-size: 0.8em;
}

@media screen and (min-width: 1000px) and (max-width: 1200px){
    header .logo-left img{
        position: relative;
        top: 1px;
        left: 140px;
    }
    header .logo-right img {
        max-height: 96px;
        position: relative;
        right: 140px;

    }
}

@media screen and (min-width: 700px) and (max-width: 1024px){

/* Header styles */



header .logo-left img{
    position: relative;
    top: 1px;
    left: 20px;
}
header .logo-right img {
    max-height: 96px;
    position: relative;
    right: 20px;

}
.notice{
    max-width: 80%;
    margin: 0% 10%;
}
.image-slider {
    width: 80%;
    height: 250px;
    margin: 0% 10%;

}



}

@media screen and (min-width: 500px) and (max-width: 700px){

    /* Header styles */



    header .logo-left img{
        position: relative;
        top: 1px;
        left: 2px;
    }
    header .logo-right img {
        max-height: 96px;
        position: relative;
        right: 2px;

    }
    .notice{
        max-width: 98%;
        margin: 0% 2%;
    }
    .image-slider {
        width: 98%;
        height: 250px;
        margin: 0% 2%;

    }
    .noticebox{
        padding: 2px;
    }
    header .title-text {
        flex-grow: 1;

        margin-left: 105px;
        font-size: 10px;
        font-weight: bold;
        text-align: center;
        line-height: 1.3;
    }
    .main-nav {
        background-color: #c1c9d3;
        padding: 0;

        max-width: 100%;
        font-size: 11px;
    }
    .tablewidth{
        max-width: 90%
    }


    }


@media screen and (min-width: 300px) and (max-width: 500px){

    /* Header styles */



    header .logo-left img{
        position: relative;
        top: 1px;
        left: 2px;
        width: 40px;
    }
    header .logo-right img {
        max-height: 96px;
        position: relative;
        right: 2px;
        width: 80px;

    }
    .notice{
        max-width: 98%;
        margin: 0% 2%;
        font-size: 12px;
        display: flex;
    }
    .notice1{
        flex-direction: column;
    }
    .image-slider {
        width: 98%;
        height: 150px;
        margin: 0% 2%;

    }
    .noticebox{
        padding: 2px;

    }
    .text-xl {
        font-size: 10px;
    }
    .gap-6 {
        gap: 0px;
    }
    header .title-text {
        flex-grow: 1;
        color: blue;
        margin-left: 50px;
        font-size: 8px;
        font-weight: bold;
        text-align: center;
        line-height: 1.3;
    }
    .main-nav {
        background-color: #c1c9d3;
        padding: 0;
        columns: blue;
        max-width: 100%;
        font-size: 9px;
    }
    .tablewidth{
        max-width: 100%
    }
    .footercontainer{
        max-width: 100%;
        margin: 0% 0%
    }

 }