 :root {
            --primary: #7e22ce;
            --primary-light: #a855f7;
            --primary-dark: #5b21b6;
            --accent-1: #f59e0b;
            --accent-2: #10b981;
            --accent-3: #3b82f6;
            --accent-4: #ef4444;
            --light: #f8fafc;
            --dark: #1e293b;
            --white: #ffffff;
            --radius-sm: 10px;
            --radius-md: 15px;
            --radius-lg: 25px;
            --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Nunito', sans-serif;
            background: linear-gradient(135deg, #f8f0ff, #f5f3ff);
            color: var(--dark);
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
        }
a{
    text-decoration:none;
}
        /* Navigation */
        .navbar {
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 5px 20px rgba(126, 34, 206, 0.1);
            backdrop-filter: blur(10px);
          
        }

        .navbar-brand {
            font-family: 'Poppins', sans-serif;
            font-weight: 800;
            font-size: 1.8rem;
            color: var(--primary) !important;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .navbar-brand span {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .navbar-brand i {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            border-radius: 50%;
            padding: 8px;
            font-size: 1.4rem;
        }

        .nav-link {
            color: var(--dark) !important;
            font-weight: 600;
            padding: 0.5rem 1rem !important;
            border-radius: var(--radius-sm);
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            border-radius: 2px;
            transition: all 0.3s ease;
        }
        .nav-link.active {
            width: 100%;
             color: var(--primary) !important;
        }
         .nav-link.active::after {
            width: 100%;
             color: var(--primary) !important;
             
        }
        .nav-link:hover::after, .nav-link:active::after {
            width: 70%;
        }

        .nav-link:hover, .nav-link:active {
            color: var(--primary) !important;
        }

        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, #f0e9ff, #eae6ff);
            padding: 6rem 0 5rem;
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -10%;
            width: 70%;
            height: 200%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><circle cx="50" cy="50" r="40" fill="rgba(126, 34, 206, 0.05)" /></svg>') no-repeat;
            transform: rotate(45deg);
            z-index: 0;
        }

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

        .hero-title {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-subtitle {
            font-size: 1.3rem;
            color: #4b5563;
            margin-bottom: 2rem;
            max-width: 600px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border: none;
            padding: 0.8rem 2rem;
            font-weight: 700;
            color: white;
            border-radius: 50px;
            box-shadow: 0 8px 20px rgba(126, 34, 206, 0.4);
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
            z-index: 1;
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -75%;
            width: 50%;
            height: 100%;
            background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(255,255,255,0.4), rgba(255,255,255,0.1));
            transform: skewX(-25deg);
            z-index: -1;
        }

        .btn-primary:hover::before {
            left: 130%;
            transition: all 0.75s ease-in-out;
        }

        .btn-primary:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 30px rgba(126, 34, 206, 0.6);
        }

        /* Section Styling */
        .section-title {
            position: relative;
            margin-bottom: 3rem;
            text-align: center;
            font-weight: 800;
            color: var(--primary);
        }

        .section-title::after {
            content: "";
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            border-radius: 2px;
        }

        /* Board Cards */
        .board-card {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all 0.4s ease;
            border: none;
            position: relative;
        }
        .board-card .card-content{
            background: white;
            padding: 12px;
            margin-bottom: :10px;

        }
        .board-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-hover);
        }

        
.board-card .card-img-overlay{
    background-color: white;
}
        .board-img::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(126, 34, 206, 0.1), rgba(168, 85, 247, 0.1));
            z-index: 1;
        }

        .board-img i {
            font-size: 4rem;
            z-index: 2;
        }

        .cbse .board-img {
            
           
        }

        .cbse .board-img i {
            color: var(--accent-3);
        }

        .icse .board-img {
           
        }

        .icse .board-img i {
            color: var(--accent-2);
        }

        .state .board-img {
            
        }

        .state .board-img i {
            color: var(--accent-1);
        }

        .competitive .board-img {
          
        }

        .competitive .board-img i {
            color: var(--accent-4);
        }

        .board-title {
            color: var(--primary);
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .board-desc {
            color: #64748b;
            font-size: 0.95rem;
        }

        /* Stats Section */
        .stats-section {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            padding: 4rem 0;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .stats-section::before {
            content: '';
            position: absolute;
            top: -50px;
            right: -50px;
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }

        .stats-section::after {
            content: '';
            position: absolute;
            bottom: -80px;
            left: -80px;
            width: 300px;
            height: 300px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }

        .stat-item {
            text-align: center;
            padding: 1.5rem;
            border-radius: var(--radius-md);
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(5px);
            transition: all 0.3s ease;
            z-index: 2;
            position: relative;
        }

        .stat-item:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.2);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        /* Features Section */
        .feature-section {
            background: linear-gradient(135deg, #f8f0ff, #f5f3ff);
          margin-top:16px;
           margin-bottom:16px;
        }

        .feature-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: 2.5rem 1.5rem;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            height: 100%;
            text-align: center;
            border: 1px solid #f1f5f9;
        }

        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
        }

        .feature-icon {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            display: inline-flex;
            width: 80px;
            height: 80px;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .feature-1 .feature-icon {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.3));
            color: var(--accent-3);
        }

        .feature-2 .feature-icon {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.3));
            color: var(--accent-2);
        }

        .feature-3 .feature-icon {
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.3));
            color: var(--accent-1);
        }

        .feature-4 .feature-icon {
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.3));
            color: var(--accent-4);
        }

        .feature-title {
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .feature-desc {
            color: #64748b;
        }

        /* Resource Cards */
        .resource-card {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            height: 100%;
            position: relative;
        }

        .resource-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
        }

        .resource-badge {
           
            padding: 0.2rem 0.6rem;
            border-radius: 20px;
            font-weight: 500;
            font-size: 12px;
            z-index: 10;
            width:auto;
        }

        .badge-textbook {
            background: linear-gradient(135deg, var(--accent-3), #2563eb);
            color: white;
        }

        .badge-pyqb {
            background: linear-gradient(135deg, var(--accent-2), #059669);
            color: white;
        }

        .badge-sample {
            background: linear-gradient(135deg, var(--accent-1), #d97706);
            color: white;
        }

        .badge-exam {
            background: linear-gradient(135deg, var(--accent-4), #dc2626);
            color: white;
        }

        .resource-img {
            height: 220px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            position: relative;
            overflow: hidden;
        }

        .resource-img::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(126, 34, 206, 0.1), rgba(168, 85, 247, 0.1));
            z-index: 1;
        }

        .resource-img i {
            font-size: 4.5rem;
            z-index: 2;
        }

        .resource-1 .resource-img {
            background: linear-gradient(135deg, #dbeafe, #bfdbfe);
        }

        .resource-1 .resource-img i {
            color: var(--accent-3);
        }

        .resource-2 .resource-img {
            background: linear-gradient(135deg, #dcfce7, #bbf7d0);
        }

        .resource-2 .resource-img i {
            color: var(--accent-2);
        }

        .resource-3 .resource-img {
            background: linear-gradient(135deg, #fef3c7, #fde68a);
        }

        .resource-3 .resource-img i {
            color: var(--accent-1);
        }

        .resource-4 .resource-img {
            background: linear-gradient(135deg, #fee2e2, #fecaca);
        }

        .resource-4 .resource-img i {
            color: var(--accent-4);
        }

        .resource-info {
            padding: 1.5rem;
        }

        .resource-title {
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }

        .resource-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #64748b;
            font-size: 0.9rem;
        }

        .resource-desc {
            color: #64748b;
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
        }



 

        /* Footer */
        .footer {
            background: linear-gradient(135deg, var(--primary-dark), #4c1d95);
            color: white;
            padding: 4rem 0 2rem;
        }

        .footer-title {
            font-weight: 700;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.8rem;
        }

        .footer-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-light), #c4b5fd);
            border-radius: 2px;
        }

        .footer-links {
            list-style: none;
            padding: 0;
        }

        .footer-links li {
            margin-bottom: 0.7rem;
        }

        .footer-links a {
            color: #e0e7ff;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 1.5rem;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background-color: var(--primary-light);
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 2rem;
            margin-top: 3rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #c7d2fe;
            font-size: 0.9rem;
        }

        /* Animation Classes */
        .animate-pop-in {
            animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        }

        @keyframes popIn {
            0% { transform: scale(0.9); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }


        .search-section {
            background: white;
            border-radius: 12px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
            padding: 20px;
            position: relative;
            z-index: 10;
        }

        .search-container {
            position: relative;
        }

        .search-results {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border-radius: 0 0 8px 8px;
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
            z-index: 100;
            display: none;
        }

        .search-results .list-group-item {
            border: none;
            border-bottom: 1px solid #f1f1f1;
            cursor: pointer;
            transition: all 0.2s;
        }

        .search-results .list-group-item:hover {
            background-color: #f8f5ff;
        }

        .filter-btn {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            border: none;
            padding: 10px;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s;
        }

        .filter-btn:hover {
            transform: translateY(-2px);
            color: white;
            box-shadow: 0 5px 15px rgba(126, 34, 206, 0.4);
        }
          .view-toggle {
            background: white;
            border-radius: 8px;
            padding: 2px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .view-toggle-btn {
            background: transparent;
            border: none;
            color: #adb5bd;
            font-size: 1.2rem;
            padding: 5px 10px;
        }

        .view-toggle-btn.active {
            color: var(--primary);
        }

        .resource-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            height: 100%;
        }

        .resource-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(126, 34, 206, 0.15);
        }

      
        .badge-textbook {
            background: linear-gradient(135deg, var(--accent-3), #2563eb);
            color: white;
        }

        .badge-pyqb {
            background: linear-gradient(135deg, var(--accent-2), #059669);
            color: white;
        }

        .badge-sample {
            background: linear-gradient(135deg, var(--accent-1), #d97706);
            color: white;
        }

        .badge-exam {
            background: linear-gradient(135deg, var(--accent-4), #dc2626);
            color: white;
        }

        .cover-image {
            height: 140px;
            background: linear-gradient(135deg, #e0d6ff, #d1c2ff);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cover-image i {
            font-size: 36px;
            color: var(--primary);
            opacity: 0.8;
        }

        .resource-details {
            padding: 12px;
        }

        .resource-title {
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 10px;
            
            overflow: hidden;
        }

        .resource-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 15px;
        }

        .meta-chip {
            background: transparent;
            border-radius: 0px;
            padding: 0px;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 2px;
        }
            .search-container {
              position: relative;
              max-width: 600px;
              margin: 0 auto;
            }

            .input-group .form-control.styled-input {
              border-left: none;
              border-right: none;
              border-radius: 0;
              box-shadow: none;
              padding: 8px;
              border-top: 2px solid var(--primary);
              border-bottom: 2px solid var(--primary);
            }
            .input-group-text {
                  background-color: #fff;
                  border: 2px solid var(--primary);
                  border-right: 0;
                  border-radius: 8px 0 0 8px;
                }

                .input-group .btn {
                  border-radius: 0 8px 8px 0;
                  padding: 0 16px;
                }
        .resource-description {
            color: #64748b;
            margin-bottom: 8px;
            overflow: hidden;
        }

        .download-btn {
            width: 100%;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            border: none;
            padding: 10px;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
        }

        .download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(126, 34, 206, 0.4);
        }

        .btn-download {
            background: linear-gradient(135deg, var(--accent-2), #059669);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .btn-buy {
            background: linear-gradient(135deg, var(--accent-1), #d97706);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .btn-cdn {
            background: linear-gradient(135deg, var(--accent-3), blue);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-download:hover, .btn-buy:hover, .btn-cdn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }
        .outline-btn {
            
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
            padding: 10px;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s;
        }

        .outline-btn:hover {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(126, 34, 206, 0.4);
            border-color: transparent;
        }


        /* List view */
        .list-view .resource-card {
            display: flex;
            flex-direction: row;
        }

        .list-view .cover-image {
            width: 120px;
            height: auto;
            border-radius: 12px 0 0 12px;
        }

        .list-view .resource-details {
            flex: 1;
        }

        .list-view .resource-title {
            height: auto;
        }

        .list-view .resource-description {
            height: auto;
        }

        .modal-header {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
        }
        .select2-container {
            z-index: 1055; /* Bootstrap modal z-index is 1050 */
        }

        .select2-container--open {
            z-index: 1060;
        }

        .modal {
            overflow: visible !important;
        }

        .filter-modal .form-label {
            font-weight: 600;
            color: var(--dark);
        }

        .select2-container--default .select2-selection--single {
            display: none;
            height: 45px;
            border-radius: 8px;
            border: 1px solid #ced4da;
            padding: 10px;
        }

        .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 43px;
        }

        .chip {
            display: inline-flex;
            align-items: center;
            background: #f3f0ff;
            border-radius: 20px;
            padding: 5px 12px;
            margin: 3px;
            font-size: 0.9rem;
        }

        .chip i {
            margin-left: 5px;
            cursor: pointer;
        }
        .back-btn {
                display: inline-flex
            ;
                align-items: center;
                gap: 5px;
                margin-bottom: 1.5rem;
                color: var(--primary);
                text-decoration: none;
                font-weight: 600;
            }
            .page-title {
                position: relative;
                margin-bottom: 2.5rem;
                color: var(--primary);
            }
            .breadcrumb {
                padding: 0px;
                text-decoration: none;
                font-weight: 600;
            }
        .breadcrumb-item a {
            color: var(--primary);
            text-decoration: none;
        }
        .class-grid {
              
        }
                .class-card {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 50px;
            background: linear-gradient(135deg, #f0e9ff, #eae6ff);
            border-radius: var(--radius-md);
            font-weight: 700;
            font-size: 1.2rem;
            color: var(--primary);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .class-card:hover {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            transform: translateY(-5px);
        }
                .subject-card {
            display: flex;
            align-items: center;
            padding: 1.2rem;
            background: white;
            border-radius: var(--radius-md);
            margin-bottom: 1rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .subject-card:hover {
            transform: translateX(5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            border-left: 4px solid var(--primary);
        }

        .subject-icon {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            margin-right: 1rem;
            font-size: 1.5rem;
        }

        .subject-info {
            flex-grow: 1;
        }

        .subject-title {
            font-weight: 700;
            margin-bottom: 0.2rem;
            color: var(--dark);
        }

        .subject-desc {
            color: #64748b;
            font-size: 0.9rem;
        }
  .document-card {
            background: white;
            border-radius: var(--radius-md);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .document-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .document-header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }

        .document-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            margin-right: 1rem;
            background: rgba(126, 34, 206, 0.1);
            color: var(--primary);
        }

        .document-title {
            font-weight: 700;
            margin: 0;
            color: var(--dark);
        }

        .document-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #64748b;
            font-size: 0.9rem;
        }

     .document-header {
            background: linear-gradient(135deg, #7e22ce, #5b21b6);
            color: white;
            padding: 40px 0;
            border-radius: 0 0 30px 30px;
            margin-bottom: 40px;
        }

        .document-container {
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            margin-bottom: 40px;
        }

        .document-viewer {
            background: #f8f5ff;
            min-height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .document-preview {
            background: white;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 30px;
            border-radius: 12px;
        }

        .document-preview img {
            max-width: 90%;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .document-details {
            padding: 12px;
        }

        .document-title {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--primary-dark);
            margin-bottom: 15px;
        }

        .document-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 30px;
        }
     

        .document-description {
            color: #64748b;
            line-height: 1.8;
            margin-bottom: 30px;
            font-size: 1.1rem;
        }

        .action-buttons {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }
            .mission-section {
                padding-top: 3rem;
                padding-bottom: 80px;
                background: white;
            }
            .mission-content {
            display: flex;
            align-items: center;
            gap: 50px;
        }
        .values-section {
                padding-bottom: 3rem;
                padding-top: 80px;
                background: linear-gradient(135deg, #f8f0ff, #f5f3ff);
            }
        .value-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: 30px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            height: 100%;
            text-align: center;
            margin-bottom: 30px;
        }
        
        .value-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }
        
        .value-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            color: var(--primary);
        }
        
        .value-title {
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--primary);
        }
                .contact-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: 40px;
            box-shadow: var(--shadow);
            height: 100%;
        }
        
        .contact-info {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
        }
        
        .contact-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            margin-right: 20px;
            flex-shrink: 0;
        }
        
        .contact-details h4 {
            margin-bottom: 5px;
            color: var(--primary);
        }
        
        .contact-form .form-control {
            border-radius: var(--radius-sm);
            padding: 12px 15px;
            margin-bottom: 20px;
            border: 1px solid #e2e8f0;
        }
        
        .contact-form textarea.form-control {
            height: 150px;
        }
        
        .contact-form .btn {
            width: 100%;
        }
        
        /* Terms Content */
        .terms-container {
           
            margin: 3rem auto;
            padding: 2rem;
            background: white;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
        }

        .terms-section {
            margin-bottom: 2.5rem;
        }

        .terms-section h2 {
            color: var(--primary);
            margin-bottom: 1.2rem;
            padding-bottom: 0.8rem;
            border-bottom: 2px solid #e9d5ff;
        }

        .terms-section h3 {
            color: var(--primary-dark);
            margin: 1.5rem 0 0.8rem;
        }

        .highlight-box {
            background: #f5f3ff;
            border-left: 4px solid var(--primary);
            padding: 1.5rem;
            border-radius: var(--radius-sm);
            margin: 1.5rem 0;
        }

        .highlight-box i {
            color: var(--primary);
            margin-right: 10px;
        }

        .policy-points {
            margin-left: 1.5rem;
        }

        .policy-points li {
            margin-bottom: 0.8rem;
        }

        .icon-list {
            list-style: none;
            padding: 0;
        }

        .icon-list li {
            margin-bottom: 1rem;
            display: flex;
            align-items: flex-start;
        }

        .icon-list i {
            color: var(--primary);
            font-size: 1.2rem;
            margin-right: 15px;
            margin-top: 5px;
        }
  .privacy-container {
           
            margin: 3rem auto;
            padding: 2rem;
            background: white;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
        }

        .privacy-section {
            margin-bottom: 2.5rem;
        }

        .privacy-section h2 {
            color: var(--primary);
            margin-bottom: 1.2rem;
            padding-bottom: 0.8rem;
            border-bottom: 2px solid #e9d5ff;
        }

        .privacy-section h3 {
            color: var(--primary-dark);
            margin: 1.5rem 0 0.8rem;
        }

        .privacy-highlight {
            background: #f5f3ff;
            border-left: 4px solid var(--primary);
            padding: 1.5rem;
            border-radius: var(--radius-sm);
            margin: 1.5rem 0;
        }

        .privacy-highlight i {
            color: var(--primary);
            margin-right: 10px;
        }

        .privacy-points {
            margin-left: 1.5rem;
        }

        .privacy-points li {
            margin-bottom: 0.8rem;
        }

        .privacy-icon-list {
            list-style: none;
            padding: 0;
        }

        .privacy-icon-list li {
            margin-bottom: 1rem;
            display: flex;
            align-items: flex-start;
        }

        .privacy-icon-list i {
            color: var(--primary);
            font-size: 1.2rem;
            margin-right: 15px;
            margin-top: 5px;
        }

        .privacy-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            border-radius: var(--radius-sm);
            overflow: hidden;
            box-shadow: 0 0 10px rgba(0,0,0,0.05);
        }

        .privacy-table th {
            background-color: var(--primary);
            color: white;
            padding: 12px 15px;
            text-align: left;
        }

        .privacy-table td {
            padding: 12px 15px;
            border-bottom: 1px solid #e2e8f0;
        }

        .privacy-table tr:nth-child(even) {
            background-color: #f9fafb;
        }

        .privacy-table tr:hover {
            background-color: #f3f4f6;
        }

        .modal-zoom {
          display: none;
          position: fixed;
          z-index: 10000;
          padding-top: 60px;
          left: 0;
          top: 0;
          width: 100%;
          height: 100%;
          overflow: auto;
          background-color: rgba(0,0,0,0.8);
        }

        /* Modal Image */
        .modal-zoom img {
          margin: auto;
          display: block;
          max-width: 90%;
          max-height: 90%;
          border-radius: 8px;
          transition: transform 0.3s ease;
        }

        /* Close Button */
        .modal-zoom .close {
          position: absolute;
          top: 30px;
          right: 40px;
          color: #fff;
          font-size: 40px;
          font-weight: bold;
          cursor: pointer;
        }
        /* Responsive Adjustments */

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
           
             .document-container {
                flex-direction: column;
            }
            
            .document-viewer {
                min-height: 300px;
            }
            
            .document-preview {
                width: 90%;
                min-height: 150px;
            }
            .document-preview img {
                width: auto;
                max-width:100%;
                height: 150px;
            }
            .document-title {
                font-size: 1.8rem;
            }
            
            .action-buttons {
                flex-direction: column;
            }
            
            .btn-download, .btn-buy, .btn-cdn {
                width: 100%;
                justify-content: center;
            }
        }
        
        @media (max-width: 576px) {
            .resource-title{
                margin-top: 8px;
            }
            .resource-description{
                display: none;
            }
            .navbar-brand {
                font-size: 1.5rem;
            }
            
            .stat-number {
                font-size: 2rem;
            }
        }

        /* custom-fonts.css */

body {
  font-size: 0.875rem; /* smaller than Bootstrap default (1rem = 16px) */
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

h1 { font-size: 1.5rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.125rem; }
h4 { font-size: 1rem; }
h5 { font-size: 0.95rem; }
h6 { font-size: 0.875rem; }

p, li, a, span, label {
  font-size: 0.875rem;
}
