
    .custom-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}


    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    .header {
        width: 100%;
        background: #fff;
        border-bottom: 1px solid #ddd;
        /* font-family: Arial, sans-serif; */
    }

    .header-container {
        max-width: 100%;
        margin: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        flex-wrap: nowrap;
    }

    /* Logo section */
    .logo-section {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .logo {
        height: 50px;
        width: auto;
    }

   
.header .logo-section .brand-title {
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    margin: 0 !important;
}



    /* Navigation */
    .nav-section {
        display: flex;
        align-items: center;
        gap: 25px;
        flex-wrap: wrap;
    }

    .nav-list {
        list-style: none;
        display: flex;
        gap: 20px;
    }

    .nav-list li {
        position: relative;
    }

    .nav-list a {
        text-decoration: none;
        color: #00797a;
        font-weight: 600;
        padding: 8px;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .nav-list a:hover {
        background-color: #d7ddde;
        border-radius: 10px;
    }

    .arrow {
        font-size: 12px;
    }

    /* Dropdown container */
    .dropdown {
        position: relative;
    }

    /* Dropdown menu */
    .dropdown-menu {
        display: none;
        position: absolute;
        top: 120%;
        left: 0;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        list-style: none;
        padding: 5px 0;
        min-width: 200px;
        z-index: 1000;
        overflow: hidden;
    }

    /* Each item */
    .dropdown-menu li a {
        display: block;
        padding: 10px 15px;
        color: #00797a;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    /* Hover effect */
    .dropdown-menu li a:hover {
        background: #00797a;
        color: #fff;
    }

    /* Active (open) state */
    .dropdown.active .dropdown-menu {
        display: block;
    }

    .profile-section {
        position: relative;
        display: inline-block;
    }

    .profile-dropdown {
        display: none;
        position: absolute;
        top: 120%;
        right: 0;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 10px;
        min-width: 150px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .profile-dropdown a {
        display: block;
        padding: 8px 12px;
        color: #00797a;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .profile-dropdown a:hover {
        background: #00797a;
        color: #fff;
        border-radius: 4px;
    }


    /* Profile section */
    .profile-section {
        position: relative;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .profile-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        overflow: hidden;
    }

    .profile-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .profile-dropdown {
        display: none;
        position: absolute;
        top: 50px;
        right: 0;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        min-width: 120px;
        z-index: 1000;
    }

    .profile-dropdown a {
        display: block;
        padding: 10px 15px;
        text-decoration: none;
        color: #00797a;
        font-weight: 600;
        white-space: nowrap;
    }

    .hero-section {
        position: relative;
        width: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-image-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 0;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* ensures it covers the div without distortion */
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(2, 91, 92, 0.85);
        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
        color: white;
        padding: 0 20px;
        max-width: 800px;
    }

    .hero-title {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 15px;
        color: #fff;
    }

    /* Responsive adjustments */
    @media (max-width: 992px) {
        .hero-title {
            font-size: 28px;
        }

        .hero-subtitle {
            font-size: 14px;
        }

        .banner-scrolling {
            max-width: 400px;
            height: 30px;
            bottom: -30px;
        }

        .scrolling-text {
            font-size: 13px;
        }
    }

    @media (max-width: 768px) {
        .hero-title {
            font-size: 24px;
        }

        .hero-subtitle {
            font-size: 12px;
        }

        .banner-scrolling {
            max-width: 300px;
            height: 28px;
            bottom: -28px;
        }

        .scrolling-text {
            font-size: 12px;
        }
    }

    @media (max-width: 480px) {
        .hero-title {
            font-size: 25px;
        }

        .hero-subtitle {
            font-size: 15px;
        }

        .banner-scrolling {
            max-width: 220px;
            height: 25px;
            bottom: -25px;
        }

        .scrolling-text {
            font-size: 10px;
        }
    }

    .search-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 700px;
        margin: 15px auto;
    }

    .search-form {
        display: flex;
        align-items: center;
        width: 100%;
        background: #a35b26;
        /* brown background like image */
        padding: 8px;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .search-select {
        padding: 10px 15px;
        border: none;
        outline: none;
        background-color: #fff;
        border-radius: 5px;
        font-size: 15px;
        color: #333;
        min-width: 160px;
        margin-right: 8px;
        /* ✅ This creates the gap between dropdown and input */
    }

    .search-input {
        /* flex: 1; */
        width: 69%;
        padding: 10px 15px;
        border: none;
        outline: none;
        font-size: 15px;
        color: #333;
        background-color: #fff;
        border-radius: 5px;
    }

    .search-button {
        background-color: transparent;
        border: none;
        color: #0b7f83;
        cursor: pointer;
        font-size: 18px;
        margin-left: -38px;
        /* keeps icon inside white box at right edge */
        transition: transform 0.2s ease;
    }

    .search-button:hover {
        transform: scale(1.15);
    }


    /* Scrolling banner */
    .banner-scrolling {
        position: absolute;
        bottom: -37px;
        /* distance below banner */
        left: 50%;
        /* center horizontally */
        transform: translateX(-50%);
        width: 90%;
        /* responsive width */
        max-width: 600px;
        overflow: hidden;
        height: 35px;
        border-radius: 4px;
        padding: 5px 10px;
        display: flex;
        align-items: center;

    }

    .scrolling-text {
        white-space: nowrap;
        display: inline-block;
        color: white;
        font-size: 14px;
        cursor: pointer;
        animation: scroll-text 8s linear infinite;
    }

    .library-section {
        background-color: #e9fffb;
        border: 1px solid #d7f4f1;
        border-radius: 8px;
        padding: 50px;
        width: 100%;
    }

    /* Top Stats Section */
    .stats-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 40px;
    }

    .stat-card {
        flex: 1;
        min-width: 150px;
        text-align: center;
        color: #fff;
        border-radius: 6px;
        padding: 18px;
        transition: all 0.35s ease;
        cursor: pointer;
        transform-origin: center;
    }

    /* Hover effect: lift + glow + scale */
    .stat-card:hover {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        background: linear-gradient(135deg, #00c6ff, #00797a);
    }

    
    .stat-number {
        font-size: 28px;
        font-weight: 800;
        transition: transform 0.3s ease;
    }

   
    .stat-card:hover .stat-number {
        transform: scale(1.1);
    }

    .stat-label {
        font-size: 13px;
        opacity: 0.95;
        transition: color 0.3s ease;
    }

    /* Make label brighter on hover */
    .stat-card:hover .stat-label {
        opacity: 1;
    }

    .stat-number {
        transition: transform 0.2s ease;
    }

    .stat-card:hover .stat-number {
        transform: scale(1.1);
    }


    /* HELINET Quick Links */
    .helinet-box {
        background-color: #e9fffb;
        border: 1px solid #d0ebe7;
        border-radius: 6px;
        padding: 25px;
    }

    .helinet-container {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 25px;
    }

    .helinet-card {
        background-color: #f6fbfa;
        border: 1px solid #e0f0ed;
        border-radius: 10px;
        padding: 20px 18px;
        text-align: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

    .helinet-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .helinet-icon {
        width: 60px !important;
        height: 60px !important;
        margin: 0 auto 12px auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: transform 0.3s ease !important;
    }

    .helinet-icon:hover {
        transform: scale(1.1) rotate(5deg) !important;
    }

    .helinet-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        transition: transform 0.3s ease-in-out !important;
    }

    .helinet-card:hover .helinet-img {
        transform: scale(1.15) !important;
    }

    .helinet-title {
        font-size: 18px;
        font-weight: 700;
        color: #e65300;
        margin-bottom: 15px;
    }

    .helinet-list {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: left;
    }

    .helinet-list li {
        position: relative;
        padding-left: 15px;
        margin-bottom: 7px;
        font-size: 14px;
    }

    .helinet-list li::before {
        content: "•";
        color: #0b7f83;
        position: absolute;
        left: 0;
    }

    .helinet-list a {
        color: #0b7f83;
        text-decoration: none;
    }

    .helinet-list a:hover {
        text-decoration: underline;
        color: #000;
        font-weight: bold;
    }

    .library-section {
        background-color: #e9fffb;
        border: 1px solid #d7f4f1;
        border-radius: 8px;
        padding: 40px;
        max-width: 1600px;
        margin: auto;
        overflow: visible !important;
    }

    .section-title {
        font-size: 26px;
        font-weight: 800;
        color: #0b7f83;
        margin-bottom: 25px;
    }

    /* Carousel Container */
    .textbook-carousel {
        display: flex;
        overflow-x: hidden;
        /* hide scrollbar */
        scroll-behavior: smooth;
        gap: 25px;
        transition: all 0.5s ease;
    }

    .textbook-card {
        background-color: #fff;
        border-radius: 10px;
        flex: 0 0 240px;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        cursor: pointer;
        padding: 15px;
    }

    .textbook-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    }

    .textbook-card img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .textbook-card h3 {
        font-size: 16px;
        font-weight: 700;
        color: #0b7f83;
        margin-bottom: 6px;
    }

    .textbook-card p {
        font-size: 14px;
        color: #555;
    }

    .textbook-card h3 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2em;
        max-height: 2.4em;
        margin: 8px 0 4px 0;
    }

    /* Dots Navigation */
    .carousel-dots {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-top: 20px !important;
        gap: 8px !important;
        padding: 15px 0 !important;
        min-height: 40px !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 100 !important;
        position: relative !important;
    }

    .dot {
        height: 12px !important;
        width: 12px !important;
        background-color: #b7e4e0 !important;
        border-radius: 50% !important;
        transition: background-color 0.3s ease !important;
        cursor: pointer !important;
        display: inline-block !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        border: 2px solid #b7e4e0 !important;
        box-sizing: border-box !important;
    }

    .dot:hover {
        background-color: #8dd7d4 !important;
        border-color: #0b7f83 !important;
    }

    .dot.active {
        background-color: #0b7f83 !important;
        border-color: #0b7f83 !important;
    }


    /* Responsive */
    @media (max-width: 1200px) {
        .helinet-container {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 768px) {
        .stats-row {
            flex-wrap: wrap;
            justify-content: center;
        }

        .helinet-container {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 480px) {
        .helinet-container {
            grid-template-columns: 1fr;
        }
    }

    @keyframes scroll-text {
        0% {
            transform: translateX(100%);
        }

        100% {
            transform: translateX(-100%);
        }
    }


    /* Responsive */
    @media (max-width: 992px) {
        .header-container {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }

        .nav-list {
            flex-direction: column;
            gap: 10px;
            width: 100%;
        }

        .nav-section {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }
    }

  

    .menu-btn {
        display: none;
    }

    .menu-btn a {
        display: inline-block;
        padding: 6px 8px;
    }

    .menu-btn .bar1,
    .menu-btn .bar2,
    .menu-btn .bar3 {
        display: block;
        width: 20px;
        height: 2px;
        background: #0b7f83;
        margin: 5px 0;
        transition: 0.3s;
    }

    .responsive-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        background: #fff;
        z-index: 1100;
        padding: 70px 20px 20px 20px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
        max-height: 100vh;
        overflow-y: auto;
    }

    .responsive-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .responsive-menu li {
        padding: 12px 0;
        display: block;
        margin-bottom: 12px;
        border-bottom: none;
    }

   
    .responsive-menu li:last-child {
        margin-bottom: 0;
    }

    .responsive-menu a {
        color: #00797a !important;
        text-decoration: none;
        font-weight: 600;
        display: block;
    }


    .responsive-menu .loaderFun,
    .responsive-menu .checkauth,
    .responsive-menu .closeMenu {
        display: block !important;
        margin-bottom: 0px;
    }

    .responsive-menu li:last-child {
        margin-bottom: 0;
    }

    .responsive-menu.open {
        display: block;
    }

    .no-scroll {
        overflow: hidden;
    }

    @media (max-width: 992px) {
        .nav-section nav {
            display: none;
        }

        .menu-btn {
            display: block;
            position: absolute;
            top: 18px;
            right: 56px;
            z-index: 1200;
        }

        .header-container {
            position: relative;
        }

        .profile-section {
            position: absolute;
            top: 17px;
            right: 7px;
            z-index: 1200;
        }

        .side-logo {
            display: none;
        }

        /* Dropdown-like responsive menu styling (matches .dropdown-menu) */
        .responsive-menu {
            position: fixed;
            top: 56px;
            right: 10px;
            left: auto;
            width: 200px;
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            padding: 15px 15px;
            z-index: 1300;
            height: 50vh;
        }

        .responsive-menu ul {
            max-height: 70vh;
            overflow-y: auto;
        }

        .responsive-menu li {
            padding: 0;
            border-bottom: none;
        }

        .responsive-menu li a {
            display: block;
            padding: 10px 15px;
            color: #00797a !important;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .responsive-menu li a:hover {
            background-color: #00797a;
            color: #fff !important;
        }
    }

    /* Search form responsiveness */
    @media (max-width: 768px) {
        .search-form {
            flex-wrap: wrap;
        }

        .search-select {
            width: 100%;
            margin-right: 0;
            margin-bottom: 8px;
        }

        .search-input {
            width: 100%;
        }

        .search-button {
            margin-left: -38px;
        }
    }

    /* Fix hero/banner spacing on mobile */
    .hero-section {
        margin: 0;
        height: 60vh;
    }

    .main-banner {
        margin: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .banner-img img {
        width: 100%;
        height: auto;
    }

    /* Flagship Textbooks responsive sizing */
    @media (max-width: 992px) {
        .textbook-card {
            flex: 0 0 45%;
        }

        .textbook-card img {
            height: 260px;
        }
    }

    @media (max-width: 768px) {
        .textbook-card {
            flex: 0 0 70%;
        }

        .textbook-card img {
            height: 220px;
        }
    }

    @media (max-width: 480px) {
        .textbook-card {
            flex: 0 0 85%;
        }

        .textbook-card img {
            height: 200px;
        }
    }
 

.side-logo img {
    max-height: 30px;
    width: auto;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    z-index: 99999999;
    line-height: 2.6;
    background: #fff;
    color: #000;
    padding-top: 60px;
    /* padding-left: 15px; */
    box-shadow: 0px 0px 5px 0px #6d6666;
}
 
.library-search-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.15);
    padding: 1rem;
    border: 1px solid rgba(44, 62, 80, 0.1);
    transition: all 0.3s ease;
  }
 
  .library-search-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.2);
  }
 .search-header {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.5rem 0.8rem;
    border: 1px solid #dcdfe3;
    position: relative;
  }
 
  .search-header .icon {
    color: #2C3E50;
    font-size: 1.3rem;
  }
 
  .search-header .search-input {
    border: none;
    outline: none;
    flex: 1;
    margin: 0 10px;
    background: transparent;
    font-size: 15px;
    color: #2C3E50;
  }
 
  .search-header .search-input::placeholder {
    color: #999;
  }
 
  .search-header .search-icon {
    color: #2C3E50;
    opacity: 0.7;
    font-size: 1rem;
  }
 
  .library-list {
    display: none;
    /* position: absolute; */
    padding: 15px;
    z-index: 5;
    top: 110%;
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.15);
    z-index: 10;
    animation: fadeIn 0.2s ease-in-out;
  }
 
  .library-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
  }
 
  .library-item{
    color: #000;
  }
 
  .library-item:hover {
    background: linear-gradient(90deg, #2C3E50 0%, #4CA1AF 100%) !important;
    color: white;
    transform: translateX(4px);
  }
 
  .library-item:hover small {
    color: rgba(255, 255, 255, 0.7);
  }
 
  .library-item small {
    color: #6c757d;
    font-size: 13px;
  }
 
  .library-item i {
    opacity: 0.4;
    transition: opacity 0.2s;
  }
 
  .library-item:hover i {
    opacity: 1;
  }
 