:root {
    --primary-color: #5b3cc4;
    --primary-dark: #4a2fb1;
    --secondary-color: #f5f7ff;
    --text-dark: #1a1a1a;
    --text-muted: #666;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", "Poppins", sans-serif;
}

body {
    background: var(--secondary-color);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ================= NAVBAR ================= */

header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar {
    width: 92%;
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

/* Search Bar */
.search-container {
    display: flex;
    align-items: center;
    background: rgba(240, 242, 245, 0.8);
    padding: 10px 18px;
    border-radius: 50px;
    width: 30%;
    margin: 0 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.search-container:focus-within {
    background: var(--white);
    border-color: rgba(91, 60, 196, 0.3);
    box-shadow: 0 4px 15px rgba(91, 60, 196, 0.1), inset 0 0 0 1px rgba(91, 60, 196, 0.2);
    width: 33%;
}

.search-container input {
    border: none;
    background: none;
    outline: none;
    padding: 5px 10px;
    width: 100%;
    font-size: 14px;
    color: var(--text-dark);
}

.search-container button {
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 14px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    background: rgba(91, 60, 196, 0.06);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    min-width: 240px;
    padding: 12px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    list-style: none;
    z-index: 1001;
    max-height: 550px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transform-origin: top left;
}

.dropdown-menu::-webkit-scrollbar {
    width: 5px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Sub-dropdown (2nd & 3rd Level Sub-bars) */
.sub-dropdown {
    position: relative;
}

.sub-dropdown>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-chevron {
    font-size: 11px;
    margin-left: 10px;
    transition: transform 0.2s ease;
}

.sub-dropdown-menu {
    position: absolute;
    top: -5px;
    left: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    list-style: none;
    z-index: 1002;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transform-origin: top left;
}

.sub-dropdown:hover>.sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.sub-dropdown:hover>a .sub-chevron {
    transform: translateX(3px);
}

.copyright {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}

.footer-credits {
    margin-top: 5px;
    font-size: 12px;
    opacity: 0.6;
    letter-spacing: 0.5px;
}

.dropdown-menu li a {
    padding: 10px 16px;
    font-size: 14px;
    display: block;
    border-radius: 8px;
    margin: 2px 8px;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: rgba(91, 60, 196, 0.06);
    color: var(--primary-color);
    padding-left: 20px;
}

.dropdown a i {
    font-size: 12px;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-btn {
    text-decoration: none;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    font-weight: 600;
    font-size: 15px;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(91, 60, 196, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 60, 196, 0.4);
    color: var(--white);
}

/* Mobile Menu Btn */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 30px;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ================= HERO SLIDER ================= */

.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 1;
    /* Force 4:1 aspect ratio */
    min-height: 250px;
    /* Ensure it doesn't get too small on mobile */
    overflow: hidden;
    background: #000;
}

.slider-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Text Overlay */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    z-index: 2;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: white;
    max-width: 700px;
    z-index: 10;
    text-align: left;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.slide.active .slide-content {
    opacity: 1;
    left: 10%;
}

.slide-content h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.slide-content p {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    margin-bottom: 35px;
    opacity: 0.9;
    font-weight: 500;
    max-width: 90%;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.btn-hero {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-hero.primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(91, 60, 196, 0.3);
}

.btn-hero.secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-hero:hover {
    transform: translateY(-5px);
    background: white;
    color: var(--primary-color);
}

/* Right Aligned Content */
.slide-content.content-right {
    left: auto;
    right: 8%;
    text-align: right;
}

.slide.active .slide-content.content-right {
    left: auto;
    right: 10%;
}

.slide-content.content-right .hero-cta {
    justify-content: flex-end;
}

/* Mirrored Gradient for Right Aligned Content */
.slide:has(.content-right)::after {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}

/* Center Aligned Content */
.slide-content.content-center {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 800px;
}

.slide.active .slide-content.content-center {
    left: 50%;
}

.slide-content.content-center .hero-cta {
    justify-content: center;
}

/* Darker Overlay for Centered Content */
.slide:has(.content-center)::after {
    background: rgba(0, 0, 0, 0.5);
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.nav-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.nav-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ================= IMPORTANT UPDATES ================= */

.important-updates {
    background: #fff;
    display: flex;
    align-items: center;
    box-shadow: #c8b9e4 0px 2px 5px 0px;
    height: 50px;
    overflow: hidden;
}

.update-label {
    background: var(--primary-color);
    color: white;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 25px;
    gap: 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.update-label::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 15px solid var(--primary-color);
}

.update-content {
    flex: 1;
    overflow: hidden;
    padding-left: 30px;
}

.update-content marquee {
    display: flex;
    align-items: center;
    height: 50px;
    font-size: 14px;
    font-weight: 500;
}

.update-content a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
    margin: 0 10px;
    font-weight: 600;
}

.update-content a:hover {
    color: var(--primary-color);
}

.update-content .separator {
    color: #ccc;
    font-weight: 300;
    margin: 0 10px;
}

@media (max-width: 600px) {
    .update-label span {
        display: none;
    }

    .update-label {
        padding: 0 15px;
    }
}

.shortcuts {
    padding: 70px 8%;
    text-align: center;
}

.shortcuts h2 {
    font-size: 38px;
    margin-bottom: 40px;
    color: #33217c;
}

.shortcut-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.shortcut-card {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    padding: 22px 28px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.shortcut-card::before {
    position: absolute;
    top: 0;
    margin-top: 45px;
    margin-left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.shortcut-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 30px rgba(99, 102, 241, 0.3);
    color: white;
}

.shortcut-card:hover::before {
    left: 100%;
}

.shortcut-card i,
.shortcut-card svg,
.shortcut-card .shortcut-img-box {
    width: 58px;
    height: 58px;
    min-width: 58px;
    font-size: 26px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shortcut-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.shortcut-card i svg,
.shortcut-card svg.lucide {
    width: 28px !important;
    height: 28px !important;
}

.shortcut-card:hover i,
.shortcut-card:hover svg,
.shortcut-card:hover .shortcut-img-box {
    background: white;
    color: #6366f1;
    transform: rotate(10deg);
}

.shortcut-card:hover img {
    filter: brightness(0) saturate(100%) invert(45%) sepia(87%) saturate(1476%) hue-rotate(213deg) brightness(98%) contrast(93%);
}

/* ================= FIND CLASS FILTER (MODERN) ================= */

.find-class-filter {
    padding: 100px 8% 70px;
    background: var(--secondary-color);
    position: relative;
}

.filter-container {
    max-width: 1100px;
    margin: auto;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(91, 60, 196, 0.1);
    border: 1px solid rgba(91, 60, 196, 0.05);
}

.filter-header {
    background: linear-gradient(135deg, #4a59d9, #7d43d1);
    padding: 25px;
    text-align: center;
}

.filter-header h2 {
    color: var(--white);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    /* Removed underline for more modern look */
    margin: 0;
}

.filter-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    margin: 10px auto 0;
    border-radius: 10px;
}

.filter-body {
    background: var(--white);
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 5px;
}

.filter-group select {
    padding: 14px 20px;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    background: #fcfcfc;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    outline: none;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    /* Custom arrow look */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.filter-group select:hover {
    border-color: #e0e0e0;
}

.filter-group select:focus {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(91, 60, 196, 0.05);
}

.find-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(91, 60, 196, 0.3);
}

.find-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 60, 196, 0.4);
}

/* Responsive Filter */
@media (max-width: 992px) {
    .filter-body {
        padding: 30px;
    }

    .filter-group {
        min-width: 45%;
    }

    .action-group {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .filter-group {
        min-width: 100%;
    }
}

/* ================= RECOMMENDED BOOKS & GUIDES SECTION ================= */

.books-section {
    width: 92%;
    max-width: 1300px;
    margin: 60px auto;
    padding: 20px 0;
}

.books-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.books-title-box {
    max-width: 650px;
}

.books-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4f46e5, #3730a3);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    margin-bottom: 12px;
}

.books-badge-tag i {
    font-size: 11px;
    color: #a5b4fc;
}

.books-title-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

.books-title-box p {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 6px;
}

.books-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.books-tabs::-webkit-scrollbar {
    display: none;
}

.book-tab-btn {
    background: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.book-tab-btn:hover {
    background: #f8fafc;
    color: var(--primary-color);
    border-color: rgba(91, 60, 196, 0.3);
}

.book-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(91, 60, 196, 0.3);
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 25px;
}

.book-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(91, 60, 196, 0.12);
    border-color: rgba(91, 60, 196, 0.25);
}

.book-cover-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px;
}

.book-cover-img {
    height: 100%;
    max-width: 85%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.book-card:hover .book-cover-img {
    transform: scale(1.06) rotate(-1deg);
}

.book-badge-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.book-badge-overlay.bestseller {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.book-badge-overlay.new {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.book-badge-overlay.top {
    background: #e0e7ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.book-badge-overlay.deal {
    background: #ffe4e6;
    color: #e11d48;
    border: 1px solid #fecdd3;
}

.book-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.book-category-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.book-title-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 4px;
    transition: var(--transition);
}

.book-card:hover .book-title-text {
    color: var(--primary-color);
}

.book-author-name {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.book-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    margin-bottom: 15px;
}

.stars-box {
    color: #f59e0b;
    display: flex;
    gap: 2px;
}

.rating-score {
    font-weight: 700;
    color: #1e293b;
}

.review-count {
    color: #94a3b8;
}

.book-price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}

.current-price {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.mrp-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}

.discount-tag {
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
    background: #dcfce7;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
}

.book-action-row {
    display: flex;
    gap: 10px;
}

.btn-book-buy {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    padding: 11px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(91, 60, 196, 0.2);
}

.btn-book-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(91, 60, 196, 0.35);
    color: #ffffff;
}

.btn-book-preview {
    background: #f1f5f9;
    color: #334155;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.btn-book-preview:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* ================= 3-BANNER HORIZONTAL SLIDING AD SECTION (DESIGNED IMAGE BANNERS) ================= */

.ad-slider-section {
    width: 98%;
    max-width: 1600px;
    margin: 30px auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.ad-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ad-slider-track {
    display: flex;
    width: 300%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ad-slide-banner {
    width: 33.3333%;
    flex: 0 0 33.3333%;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    height: 340px;
}

.ad-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.ad-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.ad-slide-banner:hover .ad-slide-img {
    transform: scale(1.02);
}

/* Slider Controls */
.ad-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.ad-slider-arrow:hover {
    background: #ffffff;
    color: #0f172a;
    transform: translateY(-50%) scale(1.1);
}

.ad-slider-arrow.prev {
    left: 20px;
}

.ad-slider-arrow.next {
    right: 20px;
}

.ad-slider-dots-box {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ad-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.ad-dot.active {
    width: 28px;
    border-radius: 10px;
    background: #ffffff;
}

/* ================= GOOGLE ADS DISPLAY SECTIONS ================= */

.google-ad-section {
    width: 92%;
    max-width: 1300px;
    margin: 40px auto;
    text-align: center;
}

.google-ad-container {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 16px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.google-ad-container:hover {
    border-color: rgba(91, 60, 196, 0.3);
    background: #ffffff;
}

.ad-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

.ad-slot-box {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.ad-placeholder-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.ad-placeholder-content i {
    font-size: 20px;
    color: var(--primary-color);
}

/* ================= FOOTER ================= */

footer {
    background: #1d1b3a;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.footer-content h2 {
    margin-bottom: 15px;
    font-size: 32px;
}

.footer-content p {
    margin-bottom: 20px;
    color: #ddd;
}

.footer-links {
    margin-bottom: 25px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #8c7cff;
}

.copyright {
    color: #bbb;
}

/* ================= LATEST ASSAM JOB NOTIFICATIONS SECTION ================= */

.jobs-section {
    width: 92%;
    max-width: 1300px;
    margin: 50px auto;
    padding: 20px 0;
}

.jobs-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.jobs-title-box {
    max-width: 650px;
}

.jobs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
    margin-bottom: 12px;
}

.jobs-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.jobs-title-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

.jobs-title-box p {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 6px;
}

.jobs-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.jobs-tabs::-webkit-scrollbar {
    display: none;
}

.job-tab-btn {
    background: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.job-tab-btn:hover {
    background: #f8fafc;
    color: var(--primary-color);
    border-color: rgba(91, 60, 196, 0.3);
}

.job-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(91, 60, 196, 0.3);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 25px;
}

.job-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #818cf8);
    opacity: 0;
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(91, 60, 196, 0.12);
    border-color: rgba(91, 60, 196, 0.25);
}

.job-card:hover::before {
    opacity: 1;
}

.job-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.dept-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.dept-pill i {
    color: var(--primary-color);
}

.status-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.new {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.status-badge.apply {
    background: #e0e7ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.status-badge.admit {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.status-badge.result {
    background: #fae8ff;
    color: #86198f;
    border: 1px solid #f5d0fe;
}

.job-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 6px;
    transition: var(--transition);
}

.job-card:hover .job-card-title {
    color: var(--primary-color);
}

.job-org-name {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: #f8fafc;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.meta-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-label i {
    font-size: 12px;
    color: var(--primary-color);
}

.meta-val {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.meta-val.urgent {
    color: #e11d48;
}

.job-card-actions {
    display: flex;
    gap: 10px;
}

.btn-job-apply {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    padding: 11px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(91, 60, 196, 0.2);
}

.btn-job-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(91, 60, 196, 0.35);
    color: #ffffff;
}

.btn-job-pdf {
    background: #f1f5f9;
    color: #334155;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
    text-decoration: none;
}

.btn-job-pdf:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* Alert Subscription Bar */
.job-alert-banner {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border-radius: 18px;
    padding: 25px 35px;
    margin-top: 35px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 10px 25px rgba(30, 27, 75, 0.25);
}

.job-alert-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.job-alert-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #818cf8;
    backdrop-filter: blur(5px);
}

.job-alert-text h3 {
    font-size: 18px;
    font-weight: 700;
}

.job-alert-text p {
    font-size: 14px;
    color: #c7d2fe;
    margin-top: 3px;
}

.job-alert-btns {
    display: flex;
    gap: 12px;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #1da851;
    color: white;
    transform: translateY(-2px);
}

.btn-telegram {
    background: #0088cc;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-telegram:hover {
    background: #006699;
    color: white;
    transform: translateY(-2px);
}

/* Modal Dialog */
.job-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.25s ease;
}

.job-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 680px;
    max-height: 88vh;
    border-radius: 24px;
    padding: 30px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.job-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.job-modal-close {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.job-modal-close:hover {
    background: #fee2e2;
    color: #dc2626;
}

.job-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.job-details-table th,
.job-details-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.job-details-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    width: 35%;
}

.job-details-table td {
    color: #1e293b;
    font-weight: 500;
}

.modal-action-btns {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-modal-primary {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(91, 60, 196, 0.25);
    transition: var(--transition);
}

.btn-modal-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(91, 60, 196, 0.35);
}

.btn-modal-secondary {
    background: #f1f5f9;
    color: #334155;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.btn-modal-secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
    .search-container {
        width: 25%;
    }

    .nav-links {
        gap: 15px;
    }
}

/* Mobile Responsive Navigation (<= 900px) */
.mobile-search-item {
    display: none;
}

@media (max-width: 900px) {
    header {
        position: sticky;
        top: 0;
        z-index: 10000 !important;
        background: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .navbar {
        width: 95%;
        padding: 10px 0;
    }

    .search-container {
        display: none;
    }

    .menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        cursor: pointer;
        z-index: 10002;
        position: relative;
    }

    .menu-btn span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--text-dark);
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .menu-btn.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
        background: var(--primary-color);
    }

    .menu-btn.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .menu-btn.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
        background: var(--primary-color);
    }

    /* Off-canvas Side Drawer Navigation (Crisp & Sharp) */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: #ffffff !important;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 75px 0 30px 0;
        gap: 0;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        z-index: 10001 !important;
        overflow-y: auto;
        overflow-x: hidden;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transform: translateZ(0);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-links a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 22px;
        font-size: 15px;
        font-weight: 600;
        color: #1e293b;
        width: 100%;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a:active,
    .nav-links a.active {
        background: #f8fafc;
        color: var(--primary-color);
    }

    /* Mobile Search inside Drawer */
    .mobile-search-item {
        display: block !important;
        padding: 15px 20px;
        border-bottom: 1px solid #e2e8f0;
        background: #f8fafc;
    }

    .mobile-search-form {
        display: flex;
        align-items: center;
        background: #ffffff;
        border: 1.5px solid #cbd5e1;
        border-radius: 50px;
        padding: 6px 14px;
        transition: border-color 0.2s ease;
    }

    .mobile-search-form:focus-within {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(91, 60, 196, 0.15);
    }

    .mobile-search-form input {
        border: none;
        outline: none;
        width: 100%;
        padding: 4px 8px;
        font-size: 14px;
        background: transparent;
    }

    .mobile-search-form button {
        border: none;
        background: none;
        color: var(--primary-color);
        cursor: pointer;
        font-size: 15px;
    }

    /* Dropdown Accordion in Mobile */
    .dropdown-menu,
    .sub-dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: #f8fafc !important;
        width: 100% !important;
        padding: 0 !important;
        display: none !important;
        max-height: none !important;
        border-left: 3px solid var(--primary-color) !important;
        border-radius: 0 !important;
    }

    .dropdown.open > .dropdown-menu,
    .sub-dropdown.open > .sub-dropdown-menu {
        display: block !important;
        animation: fadeInSubmenu 0.25s ease forwards;
    }

    @keyframes fadeInSubmenu {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .dropdown-menu li a {
        padding: 12px 22px 12px 34px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #475569 !important;
    }

    .sub-dropdown-menu li a {
        padding: 10px 22px 10px 46px !important;
        font-size: 13.5px !important;
        color: #64748b !important;
    }

    .dropdown > a .fa-chevron-down,
    .sub-dropdown > a .sub-chevron {
        transition: transform 0.3s ease;
    }

    .dropdown.open > a .fa-chevron-down {
        transform: rotate(180deg);
        color: var(--primary-color);
    }

    .sub-dropdown.open > a .sub-chevron {
        transform: rotate(90deg);
        color: var(--primary-color);
    }

    /* Crisp Dark Backdrop Overlay (Without Blur Bug) */
    .mobile-nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        z-index: 9998 !important;
    }

    .mobile-nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 600px) {

    .hero {
        height: auto;
        padding: 100px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .shortcuts h2,
    .classes-section h2,
    .books-section h2 {
        font-size: 30px;
    }

    .logo img {
        width: 140px;
    }
}
@media (min-width: 901px) {
    .hide-on-desktop {
        display: none !important;
    }
}
