
        body {
            font-family: "Montserrat", sans-serif;
            background: linear-gradient(135deg, #2d1b4e 0%, #4a1a5c 25%, #6b2d7a 50%, #8b4298 75%, #b45bb8 100%) !important;
            background-attachment: scroll !important;
            background-size: cover !important;
            background-repeat: no-repeat !important;
            color: var(--text-white);
            line-height: 1.6;
            overflow-x: hidden;
            position: relative;
        }

        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.3);
            z-index: -1;
        }

        /* حل خاص لأجهزة iOS */
        @supports (-webkit-appearance: none) {
            body {
                background: linear-gradient(135deg, #2d1b4e 0%, #4a1a5c 25%, #6b2d7a 50%, #8b4298 75%, #b45bb8 100%) !important;
                background-attachment: scroll !important;
            }
        }

        /* حل نهائي قوي لمشكلة الآيفون */
        @supports (-webkit-touch-callout: none) {
            body {
                background: linear-gradient(135deg, #2d1b4e 0%, #4a1a5c 25%, #6b2d7a 50%, #8b4298 75%, #b45bb8 100%) !important;
                background-attachment: scroll !important;
            }
        }

        /* حل للأجهزة المحمولة */
        @media (max-width: 1024px) {
            body {
                background: linear-gradient(135deg, #2d1b4e 0%, #4a1a5c 25%, #6b2d7a 50%, #8b4298 75%, #b45bb8 100%) !important;
                background-size: 100% 100% !important;
                background-repeat: no-repeat !important;
                background-attachment: scroll !important;
            }
        }

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

        :root {
            --primary-bg: #000000;
            --secondary-bg: #1a0d2e;
            --accent-purple: #692c92;
            --text-white: #ffffff;
            --text-gray: #bdc3c7;
            --button-gray: #692c92;
            --dark-gray: #cccccc;
            --header-bg: rgba(105, 44, 146, 0.24);
        }

        body[dir="rtl"] {
            font-family: "Cairo", sans-serif;
            text-align: right;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(22, 10, 36, 0.88);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            z-index: 1000;
            padding: 15px 0;
            transition: all 0.3s ease;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
        }

        .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo img {
            height: 40px;
            width: auto;
            object-fit: contain;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 30px;
            align-items: center;
        }

        .nav-links a {
            color: var(--text-white);
            text-decoration: none;
            transition: color 0.3s ease;
            font-weight: 500;
        }

        .nav-links a:hover {
            color: var(--accent-purple);
        }

        /* .nav-links a.active {
            color: var(--accent-purple);
        } */

        .language-toggle {
            background: var(--text-white);
            border: none;
            color: var(--accent-purple);
            padding: 8px 15px;
            border-radius: 20px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .language-toggle:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
        }

        .mobile-menu {
            display: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--text-white);
        }

        .mobile-nav {
            display: none;
            position: fixed;
            top: 70px;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
            z-index: 999;
            padding: 20px;
            border-top: 1px solid rgba(105, 44, 146, 0.1);
        }

        .mobile-nav.active {
            display: block;
        }

        .mobile-nav ul {
            list-style: none;
            text-align: center;
        }

        .mobile-nav ul li {
            margin: 15px 0;
        }

        .mobile-nav ul li a {
            color: var(--text-white);
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
        }

        /* Hero Section — supports both .hero and .hero-section class names */
        .hero, .hero-section {
            position: relative;
            display: block;
            text-align: center;
            overflow: hidden;
            padding: 155px 20px 40px;
            margin: 0;
        }

        .hero::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(105, 44, 146, 0.05) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: float 20s linear infinite;
            opacity: 0.3;
        }

        @keyframes float {
            0% {
                transform: translate(-50%, -50%) rotate(0deg);
            }

            100% {
                transform: translate(-50%, -50%) rotate(360deg);
            }
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .hero-title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            color: var(--text-white);
            margin-bottom: 25px;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
            line-height: 1.3;
            animation: fadeInUp 1s ease-out;
        }

        .hero-subtitle {
            font-size: clamp(1.1rem, 2.5vw, 1.5rem);
            color: var(--text-gray);
            margin-bottom: 40px;
            line-height: 1.8;
            font-weight: 500;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
            animation: fadeInUp 1s ease-out 0.2s both;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Search Container */
        .search-container {
            max-width: 640px;
            margin: 0 auto 35px;
            position: relative;
            z-index: 2;
            animation: fadeInUp 1s ease-out 0.4s both;
        }

        .search-form {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            padding: 5px 6px 5px 18px;
            border-radius: 60px;
            border: 1.5px solid rgba(255, 255, 255, 0.18);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        body[dir="rtl"] .search-form {
            padding: 5px 18px 5px 6px;
        }

        .search-form:focus-within {
            background: rgba(255, 255, 255, 0.14);
            border-color: rgba(180, 91, 184, 0.7);
            box-shadow: 0 12px 35px rgba(105, 44, 146, 0.35), 0 0 0 3px rgba(180, 91, 184, 0.2);
        }

        .search-input-wrapper {
            flex: 1;
            min-width: 0;
            position: relative;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .search-input-icon {
            color: rgba(255, 255, 255, 0.6);
            font-size: 16px;
            flex-shrink: 0;
            pointer-events: none;
            transition: color 0.2s;
        }

        .search-form:focus-within .search-input-icon {
            color: #d8b4fe;
        }

        .search-input {
            flex: 1;
            min-width: 0;
            padding: 10px 4px;
            border: none;
            background: transparent;
            font-size: 15px;
            font-family: inherit;
            color: #ffffff;
            outline: none;
            box-sizing: border-box;
        }

        body[dir="rtl"] .search-input {
            text-align: right;
        }

        .search-input::placeholder {
            color: rgba(255, 255, 255, 0.55);
            font-weight: 400;
        }

        .search-clear-btn {
            background: rgba(255, 255, 255, 0.15);
            border: none;
            border-radius: 50%;
            width: 26px;
            height: 26px;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: rgba(255, 255, 255, 0.85);
            cursor: pointer;
            transition: all 0.2s;
            flex-shrink: 0;
            line-height: 1;
            margin: 0 4px;
        }

        .search-clear-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            color: #ffffff;
        }

        .search-btn {
            background: linear-gradient(135deg, #8b4298, #b45bb8);
            color: white;
            border: none;
            padding: 11px 26px;
            border-radius: 50px;
            cursor: pointer;
            font-weight: 700;
            font-size: 14px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-family: inherit;
            box-shadow: 0 4px 15px rgba(105, 44, 146, 0.35);
            flex-shrink: 0;
        }

        .search-btn:hover {
            background: linear-gradient(135deg, #9d4aa9, #c76bc9);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(105, 44, 146, 0.5);
        }

        /* Stats Section */
        .stats-section {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 30px;
            margin: 0 auto 60px;
            max-width: 800px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            animation: fadeInUp 1s ease-out 0.6s both;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 30px;
            text-align: center;
        }

        .stat-item {
            color: var(--text-white);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--accent-purple);
            margin-bottom: 8px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .stat-label {
            font-size: 1rem;
            opacity: 0.9;
            font-weight: 500;
        }

        /* Main Content */
        .main-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px 60px;
        }

        /* Search Results Info */
        .search-info {
            background: rgba(255, 255, 255, 0.95);
            color: #333;
            padding: 25px;
            border-radius: 20px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(105, 44, 146, 0.2);
            text-align: center;
            border: 2px solid rgba(105, 44, 146, 0.1);
            backdrop-filter: blur(10px);
            animation: slideInDown 0.5s ease-out;
        }

        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .search-info h3 {
            color: var(--accent-purple);
            margin-bottom: 10px;
            font-size: 20px;
            font-weight: 700;
        }

        .clear-search {
            color: var(--accent-purple);
            text-decoration: none;
            font-weight: 600;
            margin-top: 15px;
            padding: 10px 20px;
            border-radius: 25px;
            transition: all 0.3s ease;
            background: rgba(105, 44, 146, 0.1);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .clear-search:hover {
            background: rgba(105, 44, 146, 0.2);
            text-decoration: none;
            transform: translateY(-2px);
        }

        /* Blog Grid — fluid auto-fill minmax ensures 3 cols on desktop, 2 cols on tablet */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 380px));
            justify-content: center;
            gap: 30px;
            margin-bottom: 50px;
        }

        /* Blog Card */
        .blog-card {
            max-width: 420px;
            width: 100%;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 25px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(105, 44, 146, 0.15);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            border: 2px solid rgba(105, 44, 146, 0.1);
            position: relative;
            backdrop-filter: blur(20px);
            animation: fadeInUp 0.6s ease-out;
            animation-fill-mode: both;
        }

        .blog-card:nth-child(1) {
            animation-delay: 0.1s;
        }

        .blog-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .blog-card:nth-child(3) {
            animation-delay: 0.3s;
        }

        .blog-card:nth-child(4) {
            animation-delay: 0.4s;
        }

        .blog-card:nth-child(5) {
            animation-delay: 0.5s;
        }

        .blog-card:nth-child(6) {
            animation-delay: 0.6s;
        }

        .blog-card:nth-child(7) {
            animation-delay: 0.7s;
        }

        .blog-card:nth-child(8) {
            animation-delay: 0.8s;
        }

        .blog-card:nth-child(9) {
            animation-delay: 0.9s;
        }

        .blog-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(105, 44, 146, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .blog-card:hover::before {
            left: 0;
        }

        .blog-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 25px 60px rgba(105, 44, 146, 0.25);
            border-color: var(--accent-purple);
        }

        /* Blog Image */
        .blog-image {
            height: 220px;
            background: linear-gradient(45deg, var(--accent-purple), #b45bb8);
            position: relative;
            overflow: hidden;
        }

        .blog-image::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(105, 44, 146, 0.1), rgba(180, 91, 184, 0.1));
        }

        .blog-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: block;
        }

        .blog-card:hover .blog-image img {
            transform: scale(1.08);
        }

        /* Blog Content */
        .blog-content {
            padding: 30px 25px;
            color: #333;
            position: relative;
        }

        .blog-date-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: linear-gradient(135deg, var(--accent-purple), #b45bb8);
            color: white;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(105, 44, 146, 0.3);
        }

        .blog-title {
            font-size: 1.4rem;
            font-weight: 700;
            margin: 20px 0 15px;
            color: var(--accent-purple);
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color 0.3s ease;
        }

        .blog-card:hover .blog-title {
            color: #b45bb8;
        }

        .blog-excerpt {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
            font-size: 15px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .blog-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 20px;
            border-top: 1px solid rgba(105, 44, 146, 0.1);
            font-size: 14px;
        }

        .blog-author {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #888;
            font-weight: 500;
        }

        .blog-author i {
            color: var(--accent-purple);
            font-size: 12px;
        }

        .read-more {
            background: linear-gradient(135deg, var(--accent-purple), #b45bb8);
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 4px 15px rgba(105, 44, 146, 0.2);
        }

        .read-more:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(105, 44, 146, 0.4);
            text-decoration: none;
            color: white;
        }

        .read-more i {
            transition: transform 0.3s ease;
        }

        .read-more:hover i {
            transform: translateX(4px);
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 100px 20px;
            color: var(--text-white);
            animation: fadeInUp 0.8s ease-out;
        }

        .empty-state i {
            font-size: 5rem;
            margin-bottom: 30px;
            opacity: 0.6;
            color: var(--accent-purple);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 0.6;
            }

            50% {
                opacity: 1;
            }
        }

        .empty-state h3 {
            font-size: 2rem;
            margin-bottom: 20px;
            color: var(--text-white);
            font-weight: 700;
        }

        .empty-state p {
            font-size: 1.1rem;
            margin-bottom: 30px;
            opacity: 0.9;
            line-height: 1.6;
        }

        .empty-state a {
            color: var(--accent-purple);
            text-decoration: none;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.1);
            padding: 12px 24px;
            border-radius: 25px;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .empty-state a:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
            text-decoration: none;
        }

        /* Enhanced Pagination */
        .pagination-container {
            display: flex;
            justify-content: center;
            margin: 60px 0;
            animation: fadeInUp 0.8s ease-out;
        }

        .pagination {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(255, 255, 255, 0.95);
            padding: 20px 30px;
            border-radius: 50px;
            box-shadow: 0 15px 40px rgba(105, 44, 146, 0.2);
            border: 2px solid rgba(105, 44, 146, 0.1);
            backdrop-filter: blur(20px);
        }

        .pagination a,
        .pagination span {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            color: #555;
            position: relative;
            overflow: hidden;
        }

        .pagination a::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--accent-purple), #b45bb8);
            transform: scale(0);
            transition: transform 0.3s ease;
            border-radius: 50%;
        }

        .pagination a:hover::before {
            transform: scale(1);
        }

        .pagination a:hover {
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(105, 44, 146, 0.4);
        }

        .pagination a span,
        .pagination a i {
            position: relative;
            z-index: 2;
        }

        .pagination .current {
            background: linear-gradient(135deg, var(--accent-purple), #b45bb8);
            color: white;
            box-shadow: 0 6px 20px rgba(105, 44, 146, 0.3);
            transform: translateY(-2px);
        }

        .pagination .disabled {
            opacity: 0.4;
            pointer-events: none;
            color: #ccc;
        }

        .pagination .dots {
            color: #999;
            font-weight: bold;
            pointer-events: none;
        }

        /* Footer */
        .footer {
            background: rgba(26, 13, 46, 0.8);
            padding: 50px 0 25px;
            border-top: 1px solid rgba(105, 44, 146, 0.1);
            backdrop-filter: blur(10px);
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        [dir="rtl"] .footer-content {
            direction: rtl;
        }

        .footer-section h3 {
            font-size: 16px;
            margin-bottom: 15px;
            color: var(--accent-purple);
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 8px;
        }

        .footer-section ul li a {
            color: var(--text-gray);
            text-decoration: none;
            transition: color 0.3s ease;
            font-size: 13px;
        }

        .footer-section ul li a:hover {
            color: var(--text-white);
        }

        .footer-company-info {
            grid-column: 1;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .footer-logo img {
            height: 35px;
            width: auto;
            object-fit: contain;
        }

        .footer-logo-text {
            font-size: 20px;
            font-weight: bold;
            color: var(--accent-purple);
        }

        .footer-company-info .company-description {
            color: var(--text-gray);
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        [dir="rtl"] .footer-company-info .company-description {
            text-align: right;
            direction: rtl;
        }

        .footer-contact-info {
            margin-top: 20px;
        }

        .footer-contact-info p {
            color: var(--text-gray);
            font-size: 13px;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        [dir="rtl"] .footer-contact-info p {
            direction: rtl;
        }

        .footer-contact-info i {
            color: var(--accent-purple);
            width: 16px;
        }

        .working-hours {
            margin-top: 15px;
        }

        .working-hours h4 {
            color: var(--text-white);
            font-size: 14px;
            margin-bottom: 5px;
        }

        .working-hours p {
            color: var(--text-gray);
            font-size: 13px;
        }

        [dir="rtl"] .working-hours p {
            direction: rtl;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(105, 44, 146, 0.1);
            border: 1px solid rgba(105, 44, 146, 0.3);
            border-radius: 50%;
            color: var(--text-gray);
            font-size: 16px;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .social-links a:hover {
            background: var(--accent-purple);
            color: var(--text-white);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(105, 44, 146, 0.3);
        }

        .footer-bottom {
            border-top: 1px solid rgba(105, 44, 146, 0.1);
            padding-top: 20px;
            text-align: center;
        }

        .footer-bottom-left {
            color: var(--text-gray);
            font-size: 12px;
        }

        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        .floating {
            animation: float 4s ease-in-out infinite;
        }

        /* RESPONSIVE DESIGN */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .mobile-menu {
                display: block;
            }

            .hero, .hero-section {
                padding: 120px 15px 35px;
                min-height: auto;
            }

            .hero-title {
                font-size: 2.2rem;
            }

            .hero-subtitle {
                font-size: 1.1rem;
                margin-bottom: 25px;
            }

            .search-form {
                padding: 4px 6px 4px 14px;
            }

            body[dir="rtl"] .search-form {
                padding: 4px 14px 4px 6px;
            }

            .search-btn {
                padding: 10px 18px;
                font-size: 13px;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }

            .stat-number {
                font-size: 2rem;
            }

            .main-content {
                padding: 0 15px 40px;
            }

            .blog-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 360px));
                justify-content: center;
                gap: 22px;
            }

            .blog-content {
                padding: 25px 20px;
            }

            .blog-meta {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .pagination {
                padding: 15px 20px;
                gap: 8px;
                border-radius: 30px;
            }

            .pagination a,
            .pagination span {
                width: 40px;
                height: 40px;
                font-size: 14px;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .footer-company-info {
                grid-column: 1;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 2rem;
            }

            .hero-subtitle {
                font-size: 1rem;
            }

            .stats-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .stat-number {
                font-size: 1.8rem;
            }

            .blog-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .blog-image {
                height: 180px;
            }

            .pagination {
                flex-wrap: wrap;
                justify-content: center;
                gap: 5px;
            }

            .pagination a,
            .pagination span {
                width: 35px;
                height: 35px;
                font-size: 12px;
            }
        }

        /* Loading Animation */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
        }

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

        .btn.loading {
            pointer-events: none;
            opacity: 0.7;
        }

        .search-btn.loading {
            position: relative;
        }

        .search-btn.loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top: 2px solid white;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            animation: spin 1s linear infinite;
        }

        .search-btn.loading .fas {
            opacity: 0;
        }

        /* Dark Mode Support */
        @media (prefers-color-scheme: dark) {
            .blog-card {
                background: rgba(255, 255, 255, 0.98);
            }

            .search-info {
                background: rgba(255, 255, 255, 0.98);
            }

            .pagination {
                background: rgba(255, 255, 255, 0.98);
            }
        }
    
/* Custom additions for API dynamic rendering */
.skeleton-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    height: 380px;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

/* Load More Button */
.load-more-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--accent-purple), #b45bb8);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(105, 44, 146, 0.35);
    text-decoration: none;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(105, 44, 146, 0.5);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.load-more-btn i {
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: translateY(3px);
}

/* Empty State for Blog */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(168, 85, 247, 0.3);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    margin: 40px auto;
    max-width: 580px;
    width: 100%;
}

.empty-state-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-purple, #a855f7);
}

.empty-state-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.empty-state-desc {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 22px;
}

.empty-state-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    color: #fff;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.empty-state-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}