@font-face {
    font-family:Shonar Bangla Bold;
    src:url(../Shonarb.woff2);
    font-style:normal;
    font-weight:bold;
}
*{
    margin:0;
    padding:0;
}
body{
    text-decoration:none;
    font-family:roboto;
    font-size:15px;
    background-color: #f9fbff; /* Very light blue background for the overall site */
}
a {
    color: #0E86D4; /* Was #804427 */
}

p {
    font-size:15px;
    line-height:28px;
    text-align:justify;
    color: #656565;
    margin:0;
    text-shadow:none;
    font-family:roboto;
}
ul li{
    text-decoration:none;
    font-family:roboto;
    font-size:15px;
    text-shadow:none;
    margin:0;
}
ul {
    margin:0;
}

h1,h2,h3,h4,h5,h6 {
    padding:0px;
    margin:0px;
    text-align:left;
    font-weight:normal;
    text-shadow:none;
}

h2 {
    font-family: alegreya sc;
    font-size: 45px;
    margin-bottom: 30px;
    color: #055C9D; /* Was #752917 */
    font-weight: 700;
}

h4 {
    font-size: 30px;
    margin-bottom: 30px;
    font-family: oswald;
    color: #0E86D4; /* Was #497fa9 */
    font-weight: 500;
    text-shadow: 2px 2px 3px #00000040;
}

.right-content-area h4{
    margin:30px 0;
}

a{
    text-decoration:none !important;
}

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

h1 {
    font-family: roboto;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    word-spacing: 5px;
    letter-spacing: 4px;
    color: #055C9D; /* Was #9c243a */
    font-weight: 900;
}

h1 b{
    font-family: Alegreya sc;
    font-weight: 700;
    font-size: 30px;
    text-align: center;
    word-spacing: 5px;
    letter-spacing:4px;
    color: #003060; /* Was #863825 */
    text-shadow: 1px 1px 2px #2f130c82;
}

h1 span {
    font-family: Shonar Bangla Bold !important;
    font-weight: 900;
    font-size: 24px;
    text-align: center;
    word-spacing: 5px;
    letter-spacing: 0px;
    line-height: 1.7;
    color: #0E86D4; /* Was #aa0251 */
}

/* Navigation */
nav {
    width:100%;
    float:left;
    height:auto;
    background-color: #003060; /* Was #53291f */
    margin:0px;
    padding:0px;
    color:green;
    font-family:calibri;
    font-size:17px;
    line-height:28px;
    display:block;
    clear:both;
    min-height:30px;
    /*position:fixed;*/
    z-index:999;
}

nav i {
    padding:7px 10px;
}

nav ul li a {
    color:white;
    text-transform: uppercase;
}

nav ul li a {
    padding: 0 10px !important;
}

.nav-link{
    color:white;
}

.nav-link:focus, .nav-link:hover {
    color: #ececec;
}

.dropdown-divider {
    height: 0;
    margin: 0;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,.15);
}

/* Important Information Menu */
.sidenav a, .dropdown-btn {
    display: block;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
}

/* On mouse-over */
.sidenav a:hover, .dropdown-btn:hover {
    color: #f1f1f1;
}

/* Dropdown container */
.dropdown-container {
    display: none;
    background-color: #055C9D; /* Was #243b65 */
    padding-left: 8px;
}

nav ul li ul li a {
    padding: 5px 10px  !important;
}

nav ul li ul {
    background-color: #003060 !important; /* Was rgb(83, 41, 31) */
    border-radius:0 0 5px 5px;
    padding: 20px auto !important;
    width:250px !important;
}

.rm-toggle.rm-button.rm-show {
    margin: 0;
}

.rm-nav li a, .rm-menu-item a {
    color: white !important;
}

/* Footer */
.foot-bottom a{
    text-decoration:none;
    color: #0E86D4; /* Was #0a58ca */
}

.foot-bottom p{
    font-size:12px
}

.foot-bottom p span {
    color: #003060; /* Was #25526E */
}

.foot-bottom {
    border-top: 1px solid #00000026;
    padding-top: 16px;
    padding-bottom: 16px;
    background-color: #f0f8ff; /* Was #e8e8e8 */
}

.scrollup {
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #003060; /* Was #53291f */
    color: white;
    text-align: center;
}

.scrollup i{
    padding-top: 15px;
}

.head-top {
    background-color: #003060; /* Was #53291f */
    color:white;
    font-weight: bold;
    padding: 5px;
}

.head-top p{
    color:white;
    text-align:left;
    font-size: 14px;
}

.head-top i{
    color:white;
    font-size: 25px;
    margin-left:7px;
    float:right;
}

header{
    background-color:white;
}

.head-bottom{
    background-image: linear-gradient(14deg, #fff 40%, #e7e7e7); /* Kept original */
    padding: 10px 0;
}

/* Library Main Elements */
.library-heading{
    color: white;
    text-align: left;
    font-size: 14px;
    line-height: 28px;
    margin: 0;
    text-shadow: none;
    font-family: roboto;
    word-spacing: 0px;
    letter-spacing: 0px;
    font-weight: 700;
}

.library-nav .rm-nav li a, .library-nav .rm-menu-item a {
    color: #003060 !important; /* Was #863825 */
    font-size: 14px;
    padding: 0 10px !important;
    font-weight: 700;
}

.library-nav{
    background-color: #fff0 !important;
    box-shadow:0px 5px 7px -4px #0000 !important;
    padding: 5px 0 0;
    display:flex;
    justify-content:end;
}

.flelibm{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;  
}

.lib-hed2 {
    font-family: roboto;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    word-spacing: 5px;
    letter-spacing: 4px;
    color: #055C9D; /* Was #9c243a */
    font-weight: 900;
    margin-bottom: 0px;
    margin-top: 10px;
}

.lib-hed2 b{
    font-family: Alegreya sc;
    font-weight: 700;
    font-size: 30px;
    text-align: center;
    word-spacing: 5px;
    letter-spacing:4px;
    color: #0E86D4; /* Was #863825 */
    text-shadow: 1px 1px 2px #2f130c82;
}

/* Library Button & Search - ENHANCED */
.libbutn {
    padding: 16px 40px;
    background: linear-gradient(45deg, #166534, #22c55e, #86efac);
    background-size: 200% 200%;
    color: white;
    margin: 30px auto;
    display: inline-block;
    text-align: center;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.5px;
    text-shadow: none;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.25);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: gradientAnimation 5s ease infinite;
}

.libbutn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.6s ease;
    z-index: -1;
    transform: skewX(-25deg);
}

.libbutn:hover:before {
    left: 100%;
}

.libbutn:after {
    content: "→";
    position: absolute;
    right: 25px;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-5px);
}

.libbutn:hover {
    color: white;
    transform: translateY(-5px);
    padding-right: 55px;
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.libbutn:hover:after {
    opacity: 1;
    transform: translateX(0);
}

.libbutn b {
    position: relative;
    z-index: 2;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* KOHA Section - ENHANCED WITH BACKGROUND IMAGE */
.koha {
    padding: 80px 0;
    background-image: url('https://www.garhbetacollege.ac.in/library/images/2-min.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin-top: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 48, 96, 0.3);
    position: relative;
    overflow: hidden;
}

.koha:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 48, 96, 0.85) 0%, rgba(5, 92, 157, 0.75) 50%, rgba(14, 134, 212, 0.65) 100%);
    z-index: 1;
}

.koha:after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -150px;
    right: -150px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.koha .container {
    position: relative;
    z-index: 3;
}

.koha h2 {
    font-family: roboto;
    font-size: 36px;
    margin: 10px auto 35px;
    color: white;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
}

.koha h2:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #68BBE3, #A5D8FF);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.koha label {
    color: white;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.koha input, .koha select {
    padding: 12px 18px;
    border-radius: 8px; 
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.koha input:focus, .koha select:focus {
    border-color: #68BBE3;
    box-shadow: 0 5px 20px rgba(104, 187, 227, 0.4);
    outline: none;
    background: white;
}

#masthead_search {
    width: 160px;
    margin: 0 10px;
}

#translControl1 {
    margin: 0 10px;
}

#searchForm_type {
    margin: 0 10px;
}

#searchForm_lookfor {
    margin: 0 10px;
    width: 628px;
}

.offscreen {
    margin: 0 10px;
}

.form-control {
    padding: .375rem .75rem !important;
}

/* Submit buttons in koha section */
.koha button[type="submit"], .koha input[type="submit"] {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.koha button[type="submit"]:hover, .koha input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    background: linear-gradient(45deg, #16a34a, #15803d);
}

#masthead_search {
    width: 160px;
    margin: 0 10px;
    border-radius: 6px;
}

#translControl1 {
    margin: 0 10px;
    border-radius: 6px;
}

#searchForm_type {
    padding: 10px 15px;
    margin: 0 10px;
    border-radius: 6px;
}

#searchForm_lookfor {
    margin: 0 10px;
    padding: 10px 15px;
    border-radius: 50px;
    border: none;
    width: 628px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.offscreen {
    margin: 0 10px;
}

.form-control {
    padding: .375rem .75rem !important;
}

/* Library About Section - ENHANCED */
.library-about {
    padding: 70px 0;
    position: relative;
    background: linear-gradient(to bottom, #f9fbff, white);
}

.library-about:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239CC6F4' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.library-about h6 {
    color: #0E86D4; /* Was #ae8300 */
}

.library-about h2 {
    font-family: alegreya sc;
    font-size: 35px;
    margin: 15px 0;
    color: #055C9D; /* Was #752917 */
    font-weight: 700;
    position: relative;
}

.library-about h2:after {
    content: "";
    position: absolute;
    width: 70px;
    height: 3px;
    background: #68BBE3;
    bottom: -10px;
    left: 0;
}

/* Member Card */
.member {
    background-size: cover !important;
    height: 238px;
    margin-top: 20px !important;
    box-shadow: 2px 2px 15px 0px rgba(0, 48, 96, 0.2); /* Was #0000008a */
    padding: 13px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #fff 100%);
    transition: all 0.3s ease;
}

.member:hover {
    transform: translateY(-5px);
    box-shadow: 2px 2px 20px 0px rgba(0, 48, 96, 0.25);
}

.member h3 {
    font-size: 22px;
    margin-left: 15px;
    margin-bottom: 0;
    color: #055C9D; /* Was #752917 */
    text-shadow: 1px 1px 2px;
    letter-spacing: 2px;
}

.member img {
    width: 40px;
    margin: 12px 0;
}

.member table {
    width: 100%;
}

.member td {
    font-size: 12px;
    padding: 5px 0;
}

.omub {
    font-size: 13px;
    text-align: center;
    padding: 5px 0;
    color: #003060; /* Was #5e2e23 */
    background: rgba(104, 187, 227, 0.1);
    border-radius: 5px;
}

/* Library Counter - ENHANCED */
.library-counter {
    padding: 70px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #fff 100%);
    position: relative;
}

.library-counter:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239CC6F4' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.library-counter p {
    font-size: 30px;
    margin: 20px 65px !important;
    font-weight: 700;
    color: #003060; /* Was #53291f */
}

.library-counter img {
    width: 50px;
    margin: 0px 30px;
    transition: all 0.3s ease;
}

.library-counter img:hover {
    transform: translateY(-5px);
}

.library-counter h6 {
    text-align: center;
    margin-top: 5px;
    color: #055C9D;
    font-weight: 600;
}

.library-counter .col-md-2 {
    transition: all 0.3s ease;
}

/* Enhanced Library Hero Section */
.library-hero {
    background: linear-gradient(135deg, #001122 0%, #003060 25%, #055C9D 75%, #0E86D4 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    margin: 40px 15px;
    box-shadow: 0 25px 50px rgba(0, 48, 96, 0.3);
}

/* Background Pattern */
.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 100px 100px;
    opacity: 0.3;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-60px) translateY(-60px); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    padding: 20px 0;
}

/* Award Badge */
.award-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #003060;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    animation: badgeGlow 2s ease-in-out infinite alternate;
}

.award-badge i {
    margin-right: 8px;
    font-size: 16px;
}

@keyframes badgeGlow {
    0% { box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3); }
    100% { box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5); }
}

/* Hero Title */
.hero-title {
    font-family: 'Alegreya SC', serif;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    position: relative;
}

.hero-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #68BBE3, #A5D8FF);
    border-radius: 2px;
    animation: lineExpand 3s ease-in-out infinite;
}

@keyframes lineExpand {
    0%, 100% { width: 80px; }
    50% { width: 120px; }
}

/* Winner Info */
.winner-info {
    margin-bottom: 25px;
}

.winner-name {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    color: #68BBE3;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

.winner-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.course, .student-id {
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Hero Description */
.hero-description {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 90%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    animation: counterPulse 2s ease-in-out infinite;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

@keyframes counterPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Hero Button */
.hero-btn {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
}

.hero-btn i {
    margin-right: 8px;
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.image-frame {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    padding: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.winner-photo {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.image-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,48,96,0.6));
    backdrop-filter: blur(10px);
    border-radius: 0 0 15px 15px;
    padding: 15px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.image-frame:hover .image-overlay {
    transform: translateY(0);
}

.achievement-badge {
    display: flex;
    align-items: center;
    color: #FFD700;
    font-weight: 600;
    font-size: 14px;
}

.achievement-badge i {
    margin-right: 8px;
    font-size: 16px;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(104,187,227,0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #68BBE3;
    font-size: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.float-1 {
    top: 10%;
    right: 15%;
    animation: float1 4s ease-in-out infinite;
}

.float-2 {
    top: 60%;
    right: 5%;
    animation: float2 5s ease-in-out infinite;
}

.float-3 {
    top: 30%;
    left: 5%;
    animation: float3 6s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateX(0px) rotate(0deg); }
    50% { transform: translateX(-15px) rotate(-180deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-10px) translateX(10px) rotate(90deg); }
}

/* Hero Decorations */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -200px;
    animation: rotate 20s linear infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -150px;
    animation: rotate 15s linear infinite reverse;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .library-hero {
        padding: 60px 0 80px;
        margin: 20px 10px;
        border-radius: 20px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .winner-name {
        font-size: 24px;
    }
    
    .hero-stats {
        gap: 20px;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .winner-details {
        justify-content: center;
    }
    
    .float-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .image-frame {
        max-width: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-description {
        max-width: 100%;
        text-align: center;
    }
    
    .floating-elements {
        display: none;
    }
}

/* Student Section & Logo Section */
.student-section {
    padding: 70px 0;
    background-color: #fff;
    position: relative;
}

.student-section:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239CC6F4' fill-opacity='0.05'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.student-section h2 {
    font-family: ariel;
    font-size: 35px;
    margin-bottom: 40px;
    position: relative;
    color: #055C9D;
    z-index: 1;
}

.student-section h2::before {
    content: '';
    width: 337px;
    border-top: 1px solid #68BBE3; /* Was current color */
    position: absolute;
    height: 2px;
    top: 19px;
    left: 0px;
}

.student-section h2::after {
    content: '';
    width: 337px;
    border-top: 1px solid #68BBE3; /* Was current color */
    position: absolute;
    height: 2px;
    top: 21px;
    right: 0px;
}

.boxd {
    width: 90%;
    margin: 15px auto;
    box-shadow: 0px 4px 15px 2px rgba(0, 48, 96, 0.15); /* Was rgba(0, 0, 0, 0.29) */
    border-radius: 20px;
    margin-bottom: 22px;
    transition: all 0.3s ease;
    overflow: hidden;
    background: #fff;
    z-index: 1;
}

.boxd:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px 2px rgba(0, 48, 96, 0.2); /* Was rgba(0, 0, 0, 0.29) */
}

.student-section {
    padding: 50px 0;
}

.liblogo img {
    width: 180px;
    margin: 18px;
    transition: all 0.3s ease;
    filter: grayscale(30%);
}

.liblogo img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.liblogo h4{
    font-size: 18px;
    color: #055C9D; /* Was #5d1909 */
    text-shadow: none;
}

/* Rabindra Section - ENHANCED */
.rabindra {
    background-image: url(../images/02.jpg); /* Kept original background */
    background-size: cover;
    padding-top: 70px;
    padding-bottom: 20px;
    position: relative;
}

.rabindra:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.85);
}

.rabindra .container {
    position: relative;
    z-index: 1;
}

.rabindra p {
    font-size: 17px;
    line-height: 28px;
    text-align: justify;
    color: #003060; /* Was #5c1b1b */
    margin: 0;
    text-shadow: none;
    font-family: roboto;
    font-weight: 700;
    padding-top: 80px;
    position: relative;
}

.rabindra p:before {
    content: "";
    font-size: 120px;
    color: rgba(0, 48, 96, 0.1);
    position: absolute;
    top: 0;
    left: -40px;
    font-family: Georgia, serif;
    line-height: 1;
}

.rabindra .text-riht {
    padding-top: 50px !Important;
}

.rabindra img {
    position: relative;
    z-index: 1;
    border-radius: 10px;
}

/* Buttons & Interactive Elements */
.btn-style-one:hover {
    color: #003060; /* Was #53291f */
    border: 1px solid #003060; /* Was #53291f */
    background: #ffffff;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    text-decoration: none;
}

.btn-style-one {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 27px;
    padding: 4px 36px;
    background: #003060; /* Was #53291f */
    border: 1px solid #003060; /* Was #53291f */
    display: inline-block;
    text-transform: uppercase;
    font-family: "Source Sans Pro", sans-serif;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border-radius: .25rem;
}

.butgrass {
    padding: 10px 75px !important;
    background-color: #003060; /* Was #53291f */
    border: none;
    border-radius: 100px;
    height: 50px;
    color: white;
    font-size: 15px;
    padding: 10px;
    margin-top: 10px;
}

/* Welcome Box */
.welcome-box {
    width: 95%;
    text-align: center;
    background-color: white;
    border-radius: 10px 10px 0 0;
    box-shadow: 1px -1px 10px 0px rgba(0, 48, 96, 0.3); /* Was #00000061 */
}

.welbox-img {
    width: 100%;
    height: 220px;
    border-radius: 10px 10px 0 0;
}

.welbox-mid {
    padding: 15px;
    box-shadow: 0px -7px 12px -3px rgba(0, 48, 96, 0.2); /* Was #0000003b */
}

.welcome-box button {
    border-radius: 0px 0px 10px 10px;
    background-color: #003060; /* Was #53291f */
    border: none;
    height: 50px;
    color: white;
    font-size: 15px;
    padding: 10px;
    width: 100%;
}

/* Event Box */
.event-box2 {
    display: grid;
    grid-template-columns: 20% 80%;
    grid-row-gap: 0px;
    grid-column-gap: 0px;
}

.event-date {
    text-align: center;
    padding: 4px;
}

.event-date h5 {
    font-weight: 900 !important;
    color: #003060; /* Was #53291f */
    line-height: 1.2;
    font-family: "Roboto", sans-serif;
    font-size: 1.25rem;
    margin: 0;
}

.hafl-content-area {
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    background-color: #FFF;
    -webkit-box-shadow: 0px 12px 5px -5px rgba(0, 48, 96, 0.5); /* Was rgba(82,82,82,1) */
    -moz-box-shadow: 0px 12px 5px -5px rgba(0, 48, 96, 0.5); /* Was rgba(82,82,82,1) */
    box-shadow: 0px 12px 5px -5px rgba(0, 48, 96, 0.5); /* Was rgba(82,82,82,1) */
    padding: 10px;
    margin-top: 35px;
    box-shadow: 1px -1px 10px 0px rgba(0, 48, 96, 0.3); /* Was #00000061 */
}

.hafl-content-area h2 {
    background-color: #003060; /* Was #53291f */
    color: white;
    padding: 7px 0px;
    margin-top: -45px;
    margin-bottom: 12px;
    z-index: 9999;
    -webkit-box-shadow: 0px 12px 5px -5px rgba(0, 48, 96, 0.5); /* Was rgba(82,82,82,1) */
    -moz-box-shadow: 0px 12px 5px -5px rgba(0, 48, 96, 0.5); /* Was rgba(82,82,82,1) */
    box-shadow: 0px 12px 5px -5px rgba(0, 48, 96, 0.5); /* Was rgba(82,82,82,1) */
    font-size: 20px !important;
    text-align: center;
    text-transform: uppercase;
    font-weight: normal;
    font-family: Georgia, "Times New Roman", Times, serif;
    line-height: 1.2;
}

/* Inner Content Page - ENHANCED */
.innner-content {
    padding-top: 40px;
    padding-bottom: 80px;
    background-image: url(../images/bjcc.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    position: relative;
}

.innner-content:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(249, 251, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    z-index: 0;
}

.innner-content .container {
    position: relative;
    z-index: 1;
}

/* Left Menu & Navigation */
.left-menu h2 {
    font-size: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 3px #00000061;
    color: #003060; /* Was #53291f */
    font-family: oswald;
}

.right-content-area h2 {
    font-size: 40px;
    font-weight: 900;
    text-shadow: 2px 2px 3px #00000061;
    color: #003060; /* Was #53291f */
    font-family: algerya sc;
    text-decoration: underline;
    margin-bottom: 35px;
}

.lisst {
    background-image: linear-gradient(to right, #003060, #055C9D) !important; /* Was #42190f,#6c3c01 */
}

.left-menu p {
    font-size: 15px;
    text-align: left;
    color: white;
    font-weight: 700;
    margin-top: 2px;
}

.left-menu .active-side {
    background-image: linear-gradient(to right, #0E86D4, #68BBE3); /* Was gold/orange gradient */
}

.left-menu .active-side p {
    color: #003060 !important; /* Was #5c5b59 */
}

/* Inner Content Headings */
.innner-content h3 {
    color: #055C9D; /* Was #a81445 */
    font-family: oswald;
    font-size: 22px;
    border-left: 4px solid #055C9D; /* Was implicitly #a81445 */
    padding-left: 10px;
    background: #f4f2edba;
    padding: 10px;
    margin-bottom: 45px;
}

.newh4 {
    font-weight: 900;
    color: #055C9D !important; /* Was #215fa2 */
    font-family: Alegreya SC !important;
    line-height: 1;
    font-size: 26px !important;
    margin-top: 30px;
    text-shadow: 2px 2px 3px #00000040;
    letter-spacing: 4px;
    text-decoration-line: underline;
    box-shadow: 0px 0px 10px 0 rgba(0, 48, 96, 0.3); /* Was #70a4b98f */
    padding: 15px !important;
    padding-top: 6px !important;
    background: #ffffff87;
    margin-bottom: 50px;
}

/* Tables */
.right-content-area th {
    border-right: 1px #041e5b black !important;
    border-bottom: 1px #041e5b black;
    padding: 10px;
    background-color: #003060; /* Was #53291f */
    color: white;
    box-shadow: 0px 0px 0px 1px #e4e4e4;
}

.right-content-area td {
    border-right: 1px solid #003060; /* Was #53291f */
    border-bottom: 1px solid #003060; /* Was #53291f */
    padding: 10px;
    background-color: #cecccc5e;
}

.right-content-area table {
    caption-side: bottom;
    border-collapse: collapse;
    border-top: 1px solid #003060 !important; /* Was #53291f */
    border-left: 1px solid #003060 !important; /* Was #53291f */
    width: 100%;
}

/* Tab Panels */
.tabset > input[type="radio"] {
    position: absolute;
    left: -200vw;
}

.tabset .tab-panel {
    display: none;
}

.tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
.tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
.tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
.tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
.tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
    display: block;
}

.tabset > label:hover,
.tabset > input:focus + label {
    color: #055C9D; /* Was #06c */
}

.tabset > label:hover::after,
.tabset > input:focus + label::after,
.tabset > input:checked + label::after {
    background: #055C9D; /* Was #06c */
}

.tabset > input:checked + label {
    border-color: #ccc;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
}

.tab-panel {
    padding: 30px 0;
    border-top: 1px solid #ccc;
}

.tabset {
    max-width: 65em;
}

.tabset > label {
    position: relative;
    display: inline-block;
    padding: 9px 1.24%;
    -webkit-padding: 9px 3.65%;
    border: none;
    cursor: pointer;
    font-weight: 600;
    margin-top: 0;
}

.tab-panel {
    padding: 15px !important;
    box-shadow: 0px 0px 15px -7px;
    border-radius: 10px;
    background-image: linear-gradient(#f2f2f2, white, #f0f8ff); /* Last color was #f2f2f2, now light blue */
    width: 547px;
}

.tabset.box-corner.wow.fadeInRight {
    display: flex;
    flex-wrap: wrap;
}

.tabset > input:checked + label {
    border-color: none;
    border-bottom: none;
    margin-bottom: 0;
    background-color: #A5D8FF; /* Was #ececec */
    border-radius: 10px 10px 0 0;
}

.tabset > label:hover, .tabset > input:focus + label {
    color: #055C9D; /* Was #06c */
    background: #A5D8FF; /* Was #ececec */
    border-radius: 10px 10px 0 0;
}

.new-btn {
    background-color: #0E86D4; /* Was #0087ff */
    padding: 7px 25px;
    border-radius: 4px;
    border: none;
    color: white;
    font-weight: 700;
    font-family: roboto;
    margin-bottom: 10px;
}

.head-top p{
    color: white;
}

.tabset{
    margin-top: 15px;
}

label{
    color: #055C9D; /* Was #346484 */
}

.tabset.box-corner {
    width: 576px;
}

/* Link Boxes */
.lnkbx1, .lnkbx6, .lnkbx7, .lnkbx9 {
    background: #003060; /* Was #53291f */
    padding: 19px 0;
    border: 3px solid white;
}

.lnkbx2, .lnkbx4, .lnkbx10 {
    background: #055C9D; /* Was #b0693d */
    padding: 19px 0;
    border: 3px solid white;
}

.lnkbx3, .lnkbx5, .lnkbx8 {
    background: #0E86D4; /* Was #b1987a */
    padding: 19px 0;
    border: 3px solid white;
}

.lnkbx11 {
    background: #68BBE3; /* Was #ecc701 */
    padding: 19px 0;
    border: 3px solid white;
}

.lnkbx12 {
    background: #A5D8FF; /* Was #b0693d */
    padding: 19px 0;
    border: 3px solid white;
}

.icon-box {
    box-shadow: 0 0px 17px 0px rgba(0, 48, 96, 0.3); /* Was #0000008f */
    margin-top: 5px;
}

.link-box img {
    width: 80px;
    margin: 0px 20px;
}

.link-box h5{
    color: white;
    margin: 7px 15px;
    text-transform: uppercase;
    font-size: 15px;
}

/* Accordion */
.accordion-button {
    background-image: linear-gradient(45deg, #003060 0%, #055C9D 100%); /* Was #53291f 0%, #c43a30 100% */
    color: #FFF;
    font-size: 20px;
    font-weight: bold;
}

.accordion-body ul li::before {
    font-family: 'FontAwesome';
    content: '\f14b';
    margin: 0 15px 0 10px;
    color: #003060; /* Was #53291f */
    float: left;
    font-size: 20px;
}

/* Button Tab Menu */
.button-tab-menu {
    float: left;
    display: block;
    clear: both;
    padding: 8% 5%;
    margin-bottom: 10px;
    width: 100%;
    -webkit-box-shadow: 0px 4px 10px 2px rgba(0, 48, 96, 0.1); /* Was rgba(0, 0, 0, 0.1) */
    box-shadow: 0px 4px 10px 2px rgba(0, 48, 96, 0.1); /* Was rgba(0, 0, 0, 0.1) */
    border-radius: 20px;
    position: relative;
    transition: 0.5s;
}

.button-tab-menu:after {
    content: "\f3aa"; 
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    position: absolute;
    font-size: 26px;
    color: #003060; /* Was #53291f */
    bottom: 10%;
    right: 10%;
    z-index: 1;
    transition: 0.5s;
    text-shadow: #333 0px 1px 3px;
}

.button-tab-menu:hover:after {
    color: #0E86D4; /* Was #ed461e */
    bottom: 15.5%;
    right: 7.5%;
    text-shadow: #eaeaea 0px 1px 2px;
}

.button-tab-menu:before {
    background-image: linear-gradient(to right, #003060 0%, #055C9D 100%); /* Was gradient */
    content: "";
    inset: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease-in-out;
    z-index: -1;
    border-radius: 20px;
}

.button-tab-menu h2 a {
    position: relative;
    z-index: 99;
    padding: 1px 10px;
    font-size: 20px;
    line-height: 34px !important;
    text-align: center;
    color: #055C9D; /* Was #ed461e */
    transition: 0.5s;
    border: none !important;
    text-shadow: #999 0px 1px 2px;
}

.button-tab-menu:hover h2 a {
    color: #FFF;
    text-shadow: 3px 7px 6px rgba(149,149,149,0.6);
    text-decoration: none !important;
}

.button-tab-menu:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Animation keyframes */
@keyframes mymove {
    0%   {background: #001830;}
    25%   {background: #0E86D4;}
    50%   {background: #003060;}
    75%   {background: #0E86D4;}
    100%   {background: #001830;}
}

.admissionflash {
    animation: mymove 0.8s infinite linear;
    padding: 10px 25px;
    font-size: 20px;
    border-radius: 20px;
    color: white;
    font-weight: 700;
    box-shadow: 0px 0px 10px 0 #00000057;
    word-spacing: 3px;
    letter-spacing: 1px;
}

.blink_me {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.dspno a{
    color: #f5deb300;
}

/* Other misc elements */
#submit {
    background-color: #055C9D; /* Was #0e9352 */
    color: white;
    font-weight: 700;
}

.read-more {
    padding: 10px 15px;
    color: #FFF;
    font-weight: bold;
    background: linear-gradient(to bottom, #003060, #055C9D); /* Was red gradient */
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px; /* future proofing */
    -khtml-border-radius: 10px; /* for old Konqueror browsers */
    transition: 0.5s;
}

.seminar-button, .publication-button {
    background-color: #055C9D; /* Was #1983a4 */
    padding: 6px 8.5px;
    margin: 2px 3.4px 0px 0px;
    color: white;
    border-radius: 8px;
    text-shadow: 1px 1px 3px #ffffff5e;
}

.bottom-content-tab {
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    line-height: 55px;
    padding: 20px 0;
    background-image: url(../images/borderframe.png);
    background-size: 114%;
    background-position: center;
    color: #055C9D !important; /* Was #ED213A */
    text-shadow: #999 0px 3px 5px;
}

.bottom-content-tab h1, .bottom-content-tab h1 span {
    text-align: center;
    font-size: 40px;
    color: #055C9D !important; /* Was #ED213A */
    text-shadow: #999 0px 3px 5px;
    margin: 0;
}

/* Banner Enhancements */
.banner {
    padding-top: 15px;
}

.banner img {
    display: block;
    width: 100%;
    height: 385px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
}

.owl-carousel {
    border-radius: 10px;
    overflow: hidden;
}

/* Updated Top Menu */
.top-menu {
    display: inline-flex;
}

.top-menu li {
    padding-left: 20px;
}

.top-menu li a {
    color: white;
    transition: all 0.3s ease;
    position: relative;
}

.top-menu li a:hover {
    color: #68BBE3;
}

.top-menu li a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #68BBE3;
    transition: all 0.3s ease;
}

.top-menu li a:hover:after {
    width: 100%;
}

.head-top a {
    color: white;
}

/* Improved Banner */
.owl-carousel.owl-two.owl-loaded.owl-drag {
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 48, 96, 0.1);
    border-radius: 15px;
}

/*** Keep all other CSS that doesn't involve content areas and backgrounds unchanged ***/
