
        :root {
            --primary-gold: #d4af37;
            --primary-dark: #1a1a1a;
            --secondary-gray: #f8f9fa;
            --accent-blue: #2c3e50;
            --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
            /* --gradient-gold: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); */
            --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
            --shadow-soft: 0 20px 60px rgba(0,0,0,0.15);
            --shadow-intense: 0 30px 80px rgba(0,0,0,0.3);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }

        /* Hero Section */
        .portfolio-hero {
            height: clamp(50vh, 60vh, 70vh);
            /* background: linear-gradient(135deg, rgba(26,26,26,0.3) 0%, rgba(44,62,80,0.4) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><defs><pattern id="tile" x="0" y="0" width="60" height="60" patternUnits="userSpaceOnUse"><rect width="60" height="60" fill="%23ffffff" stroke="%23e0e0e0" stroke-width="1.5" opacity="0.8"/><rect x="5" y="5" width="50" height="50" fill="%23f8f9fa" stroke="%23d0d0d0" stroke-width="0.5" opacity="0.6"/></pattern></defs><rect width="100%" height="100%" fill="url(%23tile)"/></svg>'); */
            /* background: linear-gradient(135deg, rgba(26,26,26,0.3) 0%, rgba(44,62,80,0.4) 100%),
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><defs><pattern id="tile1" x="0" y="0" width="60" height="60" patternUnits="userSpaceOnUse"><rect width="60" height="60" fill="%23ffffff" stroke="%23e0e0e0" stroke-width="1.5" opacity="0.8"/><rect x="5" y="5" width="50" height="50" fill="%23f8f9fa" stroke="%23d0d0d0" stroke-width="0.5" opacity="0.6"/></pattern></defs><rect width="100%" height="100%" fill="url(%23tile1)"/></svg>'); */
            background: linear-gradient(135deg, rgba(26,26,26,0.1), rgba(44,62,80,0.2)),
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="tile2" patternUnits="userSpaceOnUse" width="60" height="60"><rect width="60" height="60" fill="%23f4f4f4" stroke="%23cccccc" stroke-width="1"/><circle cx="30" cy="30" r="10" fill="%23dddddd" opacity="0.4"/></pattern></defs><rect width="100%" height="100%" fill="url(%23tile2)"/></svg>');
            /* background: linear-gradient(135deg, rgba(26,26,26,0.3), rgba(44,62,80,0.4)),
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><defs><pattern id="tile5" patternUnits="userSpaceOnUse" width="60" height="60"><circle cx="10" cy="10" r="3" fill="%23bbbbbb" opacity="0.6"/><circle cx="50" cy="10" r="3" fill="%23bbbbbb" opacity="0.6"/><circle cx="10" cy="50" r="3" fill="%23bbbbbb" opacity="0.6"/><circle cx="50" cy="50" r="3" fill="%23bbbbbb" opacity="0.6"/></pattern></defs><rect width="100%" height="100%" fill="url(%23tile5)"/></svg>'); */


            background-size: 120px 120px;
            background-position: center;
            background-repeat: repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            background-attachment: fixed;
        }

        .portfolio-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(212,175,55,0.05) 0%, rgba(0,0,0,0.1) 100%);
            z-index: 1;
        }

        /* .hero-content {
            text-align: center;
            color: rgb(251, 248, 248);
            z-index: 2;
            position: relative;
            padding: 0 1rem;
            max-width: 100%;
        } */

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 2rem 1rem;
            max-width: 100%;
            
            color: #ffffff;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);

            background: rgba(0, 0, 0, 0.4); /* برای برجسته‌سازی متن روی کاشی‌ها */
            backdrop-filter: blur(4px); /* ایجاد افکت شیشه‌ای */
            border-radius: 12px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            margin: auto;
            display: inline-block;
        }


        .hero-title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2.5rem, 6vw, 4rem);
            font-weight: 900;
            background: var(--gradient-gold);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
            text-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
            line-height: 1.1;
        }

        .hero-subtitle {
            font-size: clamp(1rem, 3vw, 1.3rem);
            margin-bottom: 2rem;
            opacity: 0.9;
            line-height: 1.4;
        }

        /* Filter Buttons */
        .filter-container {
            padding: clamp(2rem, 5vw, 4rem) 1rem 2rem;
            text-align: center;
        }

        .filter-btn {
            background: white;
            border: 2px solid rgba(212, 175, 55, 0.3);
            color: var(--primary-dark);
            padding: clamp(0.6rem, 2vw, 0.8rem) clamp(1.2rem, 4vw, 2rem);
            margin: 0.3rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: clamp(0.85rem, 2.5vw, 1rem);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            display: inline-block;
            cursor: pointer;
            user-select: none;
            -webkit-tap-highlight-color: transparent;
        }

        .filter-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--gradient-gold);
            transition: left 0.4s;
            z-index: -1;
        }

        .filter-btn:hover, .filter-btn.active {
            background: var(--gradient-gold);
            border-color: var(--primary-gold);
            color: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
        }

        .filter-btn:hover::before, .filter-btn.active::before {
            left: 0;
        }

        /* Portfolio Grid */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
            gap: clamp(1.5rem, 4vw, 3rem);
            padding: 2rem clamp(1rem, 3vw, 2rem);
            max-width: 1200px;
            margin: 0 auto;
        }

        .portfolio-item {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            width: 100%;
        }

        .portfolio-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px rgba(0,0,0,0.2);
        }

        .portfolio-media {
            height: clamp(250px, 50vw, 350px);
            position: relative;
            overflow: hidden;
        }

        .portfolio-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .portfolio-item:hover .portfolio-image {
            transform: scale(1.1);
        }

        .portfolio-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .portfolio-video:hover {
            filter: brightness(1.1);
        }

        /* Video Player Enhancements */
        .portfolio-video:focus {
            outline: 3px solid var(--primary-gold);
            outline-offset: 2px;
        }

        .video-container {
            position: relative;
            width: 100%;
            height: 100%;
            background: #000;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .video-controls-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent 0%, rgba(0,0,0,0.8) 100%);
            padding: 1rem;
            opacity: 0;
            transition: opacity 0.3s ease;
            display: flex;
            align-items: center;
            gap: 1rem;
            z-index: 10;
        }

        .portfolio-item:hover .video-controls-overlay {
            opacity: 1;
        }

        .video-play-btn {
            width: 40px;
            height: 40px;
            background: var(--gradient-gold);
            border: none;
            border-radius: 50%;
            color: var(--primary-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .video-play-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
        }

        .video-progress {
            flex: 1;
            height: 4px;
            background: rgba(255,255,255,0.3);
            border-radius: 2px;
            overflow: hidden;
            cursor: pointer;
        }

        .video-progress-bar {
            height: 100%;
            background: var(--gradient-gold);
            width: 0%;
            transition: width 0.1s ease;
        }

        .video-time {
            color: white;
            font-size: 0.9rem;
            font-weight: 500;
            min-width: 80px;
            text-align: right;
        }

        .video-volume-btn {
            width: 35px;
            height: 35px;
            background: rgba(255,255,255,0.2);
            border: none;
            border-radius: 50%;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .video-volume-btn:hover {
            background: rgba(255,255,255,0.3);
        }

        .video-fullscreen-btn {
            width: 35px;
            height: 35px;
            background: rgba(255,255,255,0.2);
            border: none;
            border-radius: 50%;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .video-fullscreen-btn:hover {
            background: rgba(255,255,255,0.3);
        }

        /* Video Loading State */
        .video-loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 1.2rem;
            z-index: 5;
        }

        .video-loading::after {
            content: '';
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: var(--primary-gold);
            animation: spin 1s ease-in-out infinite;
            margin-left: 10px;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Video Error State */
        .video-error {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            text-align: center;
            z-index: 5;
        }

        .video-error-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            opacity: 0.7;
        }

        .video-error-text {
            font-size: 1rem;
            opacity: 0.8;
        }

        .media-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%, rgba(212,175,55,0.3) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .portfolio-item:hover .media-overlay {
            opacity: 1;
        }

        .media-controls {
            display: flex;
            gap: clamp(0.5rem, 2vw, 1rem);
        }

        .media-btn {
            width: clamp(45px, 10vw, 60px);
            height: clamp(45px, 10vw, 60px);
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            text-decoration: none;
            font-size: clamp(1rem, 3vw, 1.2rem);
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }

        .media-btn:hover {
            background: var(--gradient-gold);
            border-color: var(--primary-gold);
            color: var(--primary-dark);
            transform: scale(1.1);
        }

        .media-btn.hidden {
            display: none !important;
        }

        .portfolio-info {
            padding: clamp(1.5rem, 4vw, 2.5rem);
        }

        .portfolio-title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(1.4rem, 4vw, 1.8rem);
            font-weight: 700;
            color: var(--primary-dark);
            margin-bottom: 0.5rem;
            line-height: 1.3;
        }

        .portfolio-category {
            color: var(--primary-gold);
            font-weight: 600;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 1rem;
        }

        .portfolio-description {
            color: #666;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            font-size: clamp(1rem, 2.8vw, 1.1rem);
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        /* Rating System */
        .rating-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid #eee;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .rating-stars {
            display: flex;
            gap: clamp(0.2rem, 1vw, 0.3rem);
        }

        .star {
            font-size: clamp(1.2rem, 3vw, 1.4rem);
            color: #ddd;
            cursor: pointer;
            transition: all 0.2s ease;
            -webkit-tap-highlight-color: transparent;
        }

        .star:hover,
        .star.active {
            color: var(--primary-gold);
            transform: scale(1.1);
        }

        .rating-count {
            font-size: clamp(0.9rem, 2.5vw, 1rem);
            color: #666;
            font-weight: 500;
        }

        /* Comments Section */
        .comments-section {
            margin-top: 1.5rem;
        }

        .comment-form {
            display: none;
            margin-top: 1.5rem;
            padding: clamp(1rem, 3vw, 1.5rem);
            background: #f8f9fa;
            border-radius: 15px;
        }

        .comment-input {
            width: 100%;
            border: 1px solid #ddd;
            border-radius: 10px;
            padding: clamp(0.8rem, 2.5vw, 1rem);
            resize: vertical;
            min-height: clamp(80px, 20vw, 100px);
            font-family: inherit;
            font-size: clamp(0.9rem, 2.5vw, 1rem);
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .comment-btn {
            background: var(--gradient-gold);
            border: none;
            color: var(--primary-dark);
            padding: clamp(0.6rem, 2vw, 0.8rem) clamp(1.5rem, 4vw, 2rem);
            border-radius: 25px;
            font-weight: 600;
            margin-top: 1rem;
            transition: all 0.3s ease;
            font-size: clamp(0.9rem, 2.5vw, 1rem);
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }

        .comment-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
        }

        .comments-list {
            margin-top: 1.5rem;
            max-height: calc(2 * (clamp(1rem, 3vw, 1.2rem) * 2 + clamp(0.85rem, 2.3vw, 0.95rem) * 3 + clamp(0.75rem, 2vw, 0.85rem) + 1rem + 4px));
            overflow-y: auto;
            overflow-x: hidden;
            scrollbar-width: thin;
            scrollbar-color: var(--primary-gold) #f1f1f1;
        }

        .comment {
            background: #f8f9fa;
            padding: clamp(1rem, 3vw, 1.2rem);
            border-radius: 12px;
            margin-bottom: 1rem;
            border-left: 4px solid var(--primary-gold);
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .comment-author {
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 0.5rem;
            font-size: clamp(0.9rem, 2.5vw, 1rem);
        }

        .comment-text {
            color: #666;
            font-size: clamp(0.85rem, 2.3vw, 0.95rem);
            line-height: 1.5;
            word-wrap: break-word;
            overflow-wrap: break-word;
            white-space: pre-wrap;
        }

        .comment-date {
            font-size: clamp(0.75rem, 2vw, 0.85rem);
            color: #999;
            margin-top: 0.5rem;
        }

        /* Action Buttons */
        .portfolio-actions {
            display: flex;
            gap: clamp(0.5rem, 2vw, 1rem);
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }

        .action-btn {
            flex: 1;
            min-width: 120px;
            padding: clamp(0.6rem, 2vw, 0.8rem);
            border: 2px solid #ddd;
            background: white;
            border-radius: 12px;
            font-size: clamp(0.9rem, 2.5vw, 1rem);
            font-weight: 500;
            transition: all 0.3s ease;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }

        .action-btn:hover {
            background: var(--primary-gold);
            border-color: var(--primary-gold);
            color: white;
            transform: translateY(-2px);
        }

        /* Modal for Fullscreen View */
        .modal-content {
            border-radius: 20px;
            border: none;
            overflow: hidden;
            max-width: 95vw;
            max-height: 95vh;
        }

        .modal-header {
            background: var(--gradient-gold);
            color: var(--primary-dark);
            border: none;
            padding: clamp(1rem, 3vw, 1.5rem);
        }

        .modal-body {
            padding: 0;
        }

        .modal-media {
            width: 100%;
            max-height: 70vh;
            object-fit: contain;
        }

        /* Mobile-Specific Optimizations */
        @media (max-width: 768px) {
            .portfolio-hero {
                background-attachment: scroll;
                background-size: 100px 100px;
            }
            
            .hero-content {
                padding: 0 1.5rem;
            }

            .portfolio-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
                padding: 1rem;
            }

            .filter-container {
                padding: 2rem 1rem 1.5rem;
            }

            .filter-btn {
                display: inline-block;
                margin: 0.2rem;
                touch-action: manipulation;
            }

            .portfolio-media {
                height: 250px;
            }

            .media-controls {
                gap: 0.8rem;
            }

            .media-btn {
                width: 50px;
                height: 50px;
                font-size: 1.1rem;
            }

            .rating-container {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.8rem;
            }

            .portfolio-actions {
                flex-direction: column;
                gap: 0.8rem;
            }

            .action-btn {
                min-width: unset;
            }

            .comments-list {
                max-height: calc(2 * (2.5rem + 1.8rem + 0.8rem + 1rem));
                padding-right: 0.5rem;
            }

            .comment {
                margin-bottom: 0.8rem;
            }

            /* Mobile Video Controls */
            .video-controls-overlay {
                padding: 0.8rem;
                gap: 0.8rem;
            }

            .video-play-btn {
                width: 35px;
                height: 35px;
                font-size: 0.9rem;
            }

            .video-time {
                font-size: 0.8rem;
                min-width: 70px;
            }

            .video-volume-btn,
            .video-fullscreen-btn {
                width: 30px;
                height: 30px;
                font-size: 0.8rem;
            }
        }

        /* Extra Small Devices */
        @media (max-width: 480px) {
            body {
                font-size: 14px;
            }

            .portfolio-hero {
                height: 50vh;
                background-size: 80px 80px;
            }

            .hero-title {
                font-size: 2.2rem;
                margin-bottom: 0.8rem;
            }

            .hero-subtitle {
                font-size: 1rem;
                margin-bottom: 1.5rem;
            }

            .filter-container {
                padding: 1.5rem 0.8rem 1rem;
            }

            .filter-btn {
                padding: 0.5rem 1rem;
                font-size: 0.8rem;
                margin: 0.15rem;
            }

            .portfolio-grid {
                padding: 0.8rem;
                gap: 1.5rem;
            }

            .portfolio-info {
                padding: 1.2rem;
            }

            .portfolio-title {
                font-size: 1.3rem;
            }

            .portfolio-description {
                font-size: 0.95rem;
            }

            .comment-form {
                padding: 1rem;
            }

            .comment-input {
                padding: 0.7rem;
                min-height: 70px;
                font-size: 0.9rem;
            }

            .comment-btn {
                padding: 0.6rem 1.2rem;
                font-size: 0.9rem;
            }

            .comment {
                padding: 0.9rem;
            }

            .comments-list {
                max-height: calc(2 * (2rem + 1.5rem + 0.7rem + 0.8rem));
            }

            /* Extra Small Video Controls */
            .video-controls-overlay {
                padding: 0.6rem;
                gap: 0.6rem;
            }

            .video-play-btn {
                width: 30px;
                height: 30px;
                font-size: 0.8rem;
            }

            .video-time {
                font-size: 0.75rem;
                min-width: 60px;
            }

            .video-volume-btn,
            .video-fullscreen-btn {
                width: 25px;
                height: 25px;
                font-size: 0.7rem;
            }
        }

        /* Large Screens */
        @media (min-width: 1200px) {
            .portfolio-grid {
                grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
                max-width: 1400px;
            }
        }

        /* Custom Scrollbar for Desktop and Mobile */
        .comments-list::-webkit-scrollbar {
            width: 4px;
        }

        .comments-list::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .comments-list::-webkit-scrollbar-thumb {
            background: var(--primary-gold);
            border-radius: 10px;
        }

        .comments-list::-webkit-scrollbar-thumb:hover {
            background: #b8941f;
        }

        /* Touch-friendly improvements */
        @media (hover: none) and (pointer: coarse) {
            .filter-btn:hover,
            .media-btn:hover,
            .action-btn:hover,
            .comment-btn:hover {
                transform: none;
            }
            
            .portfolio-item:hover {
                transform: none;
                box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            }
            
            .portfolio-item:hover .portfolio-image {
                transform: none;
            }
            
            .media-overlay {
                opacity: 0.3;
            }
            
            .portfolio-item:active .media-overlay {
                opacity: 1;
            }
        }

        /* High contrast mode support */
        @media (prefers-contrast: high) {
            .filter-btn {
                border-width: 3px;
            }
            
            .comment {
                border-left-width: 6px;
            }
        }

        /* Reduced motion support */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* Print styles */
        @media print {
            .media-overlay,
            .media-controls,
            .portfolio-actions,
            .comment-form {
                display: none !important;
            }
            
            .portfolio-item {
                break-inside: avoid;
                box-shadow: none;
                border: 1px solid #ddd;
            }
        }





    .pagination-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
    padding: 10px;
}

.pagination-btn {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.pagination-btn:hover {
    background-color: #e9ecef;
}

.pagination-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.pagination-number {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    cursor: pointer;
    background-color: white;
    font-size: 15px;
}

.pagination-number.active {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.pagination-info {
    margin: 0 15px;
    color: #6c757d;
    font-size: 15px;
    text-align: center;
}

/* ✅ Media query for tablets and smaller screens */
@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        gap: 10px;
    }

    .pagination-btn {
        padding: 6px 12px;
        font-size: 14px;
    }

    .pagination-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .pagination-info {
        margin: 5px 0;
        font-size: 14px;
    }
}

/* ✅ Media query for small mobile screens */
@media (max-width: 480px) {
    .pagination-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .pagination-btn {
        font-size: 13px;
        padding: 5px 10px;
    }

    .pagination-info {
        font-size: 13px;
    }
}
       
