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

body {
    font-family: 'Droid Arabic Naskh', 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #07080A;
    color: #ffffff;
    overflow-x: hidden;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6, p, span, div, a, button, input, select, textarea {
    font-family: 'Droid Arabic Naskh', 'Cairo', sans-serif;
}

.container_header {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 12px;
    max-width: 1232px;
    width: 100%;
    height: 76px;
    background: linear-gradient(93.78deg, rgba(17, 18, 20, 0.75) 4.87%, rgba(12, 13, 15, 0.9) 75.88%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0px 1px 1px 1px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2.5px);
    border-radius: 16px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
    font-family: 'Droid Arabic Naskh', 'Cairo', sans-serif;
}

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

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-content {
    display: grid;
    grid-template-columns: 0.8fr 2fr 1.2fr;
    align-items: center;
    gap: 20px;
}

.nav-left {
    padding-left: 250px;
    display: flex;
    justify-content: flex-start;
}

.nav-center {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    font-size: 17px;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #4facfe;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-right: 20px;
}

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

.logo img {
    width: 50px;
    height: 50px;
    order: 2;
}

.logo-text {
    text-align: right;
    order: 1;
}

.logo-title {
    font-family: 'Droid Arabic Naskh', 'Cairo', serif;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
}

.logo-subtitle {
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    color: #aaaaaa;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Droid Arabic Naskh', 'Cairo', sans-serif;
}

.language-selector:hover {
    transform: scale(1.05);
}

.hero-title img {
    filter: brightness(0) invert(1) brightness(1.2);
}

.globe-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/******************** Hero Section **********************/
.hero {
    padding: 200px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    background-color: #07080A;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.manuscript-title {
    text-align: center;
    position: relative;
    z-index: 2;
}

.manuscript-title img {
    width: 650px;
    filter: brightness(0) invert(1);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 507px;
    bottom: 0;
    background-image: url('/img/university/main_section.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #07080A;
    opacity: 0.5;
}

.gradient-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #4facfe, #00f2fe, transparent);
    animation: lineFloat 4s ease-in-out infinite;
}

.gradient-line:nth-child(1) { animation-delay: 0s; }
.gradient-line:nth-child(2) { animation-delay: 0.5s; }
.gradient-line:nth-child(3) { animation-delay: 1s; }
.gradient-line:nth-child(4) { animation-delay: 1.5s; }
.gradient-line:nth-child(5) { animation-delay: 2s; }

@keyframes lineFloat {
    0%, 100% {
        transform: translateY(0) scaleY(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) scaleY(1.2);
        opacity: 0.6;
    }
}

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

/* Search Container */
.search-container {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px;
    gap: 28px;
    isolation: isolate;
    position: relative;
    width: 1200px;
    max-width: 95%;
    height: auto;
    min-height: 204px;
    background: #141414;
    border: 1px solid #1A1A1A;
    box-shadow: 0px 333px 133px rgba(0, 0, 0, 0.02),
    0px 187px 112px rgba(0, 0, 0, 0.08),
    0px 83px 83px rgba(0, 0, 0, 0.14),
    0px 21px 46px rgba(0, 0, 0, 0.16);
    border-radius: 24px;
    animation: fadeInUp 1s ease-out 0.3s both;
    z-index: 2;
}

.search-box {
    display: flex;
    gap: 15px;
    width: 100%;
    align-items: center;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: #1A1A1A;
    border: 1px solid #2A2A2A;
    border-radius: 12px;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    background: #2A2A2A;
    border-color: #4facfe;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.3);
    transform: translateY(-2px);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: 'Droid Arabic Naskh', 'Cairo', sans-serif;
    font-size: 16px;
    padding: 18px 15px;
    outline: none;
}

.search-input::placeholder {
    color: #666666;
    font-family: 'Droid Arabic Naskh', 'Cairo', sans-serif;
}

.search-icon {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
}

.search-icon:hover {
    transform: scale(1.2) rotate(10deg);
}

.filter-btn {
    background: #1A1A1A;
    border: 1px solid #2A2A2A;
    border-radius: 12px;
    color: #FFFFFF;
    padding: 12px 24px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #2A2A2A;
    transform: translateY(-2px);
}

.search-filters {
    display: flex;
    gap: 15px;
    width: 100%;
    align-items: center;
}

.filter-select_tile {
    flex: 0 0 auto;
    width: 180px;
    background: #1A1A1A;
    border: 1px solid #2A2A2A;
    border-radius: 12px;
    color: #FFFFFF;
    padding: 12px 16px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.filter-select_tile:hover {
    background: #2A2A2A;
    border-color: #4facfe;
}

.filter-select_tile option {
    background: #141414;
    color: #FFFFFF;
}

.filter-select {
    flex: 1;
    background: #1A1A1A;
    border: 1px solid #2A2A2A;
    border-radius: 12px;
    color: #ffffff;
    padding: 12px 16px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.filter-select:hover {
    border-color: #4facfe;
}

.filter-select option {
    background: #ffffff;
    color: #000000;
}

.search-btn {
    flex: 1;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    color: #000000;
    padding: 12px 48px;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(200, 200, 200, 0.3);
    transition: all 0.3s ease;
}

.search-btn:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(200, 200, 200, 0.5);
}

/***************************** Knowledge Section *********************************/
.knowledge-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 24px;
    gap: 40px;
    isolation: isolate;
    width: 100%;
    max-width: 1920px;
    min-height: 710px;
    background: #050505;
    background-image: url('/img/university/Ribbon.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    flex: none;
    align-self: stretch;
    flex-grow: 0;
    z-index: 4;
    margin: 0 auto;
}

.section-title {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);

    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.knowledge-section .container {
    width: 100%;
    max-width: 1440px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.knowledge-card {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0px;
    gap: 16px;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    width: 230px;
    height: 184.56px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.knowledge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 130px;
    background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
    pointer-events: none;
    border-radius: 12px 12px 0 0;
    transition: opacity 0.5s ease;
}

.knowledge-card:hover::before {
    opacity: 0.3;
}

.knowledge-card img {
    width: 230px;
    height: 130px;
    border-radius: 12px;
    object-fit: cover;
    flex: none;
    order: 0;
    flex-grow: 0;
    z-index: 1;
    transition: filter 0.5s ease;
}

.knowledge-card:hover img {
    filter: brightness(1.2) contrast(1.1);
}

.card-content-top {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 10px;
}

.card-title-top {
    font-family: 'Tajawal', 'Cairo', serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
    color: #a2a2a2;
    padding: 5px 12px;
    border-radius: 6px;
}

.card-content {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 10px;
}

.card-icon {
    font-size: 32px;
    margin-bottom: 8px;
    display: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.card-title {
    font-family: 'Tajawal', 'Cairo', serif;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 3px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.card-subtitle {
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/**************************** Stats Section ***********************************************/
.stats-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #000000 0%, #0a1929 40%, #1a2332 60%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 800px 400px at 50% 50%, rgba(26, 58, 96, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    top: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(135deg, rgba(30, 90, 150, 0.3) 0%, rgba(20, 70, 120, 0.2) 40%, rgba(10, 50, 100, 0.1) 70%, transparent 100%);

    pointer-events: none;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats-title {
    font-family: 'Droid Arabic Naskh', 'Cairo', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.stats-subtitle {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    color: #888888;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    min-height: 180px;
    transition: transform 0.3s ease;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 95px;
    height: 95px;
    margin: 0 0 25px 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
}

.stat-number {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-align: center;
}

.stat-label {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    color: #999999;
    font-weight: 400;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-title {
        font-size: 32px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-card {
        min-height: 160px;
    }
}
/*************************************** Contributors Section **************************************/
.contributors-section {
    padding: 70px 0;
    background: #000;
    overflow: hidden;
}

.section-title {
    color: #fff;
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.contributors-wrapper {
    width: 100%;
    padding-top: 15px;
    max-width: 1200px;
    height: 100px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.contributors-slider {
    position: relative;
    height: 100%;
}

.contributor-card {
    width: 288px;
    height: 80px;
    position: absolute;
    padding: 17px 29px 7px 85px;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    transition: transform 0.3s
    ease, background 0.3s
    ease;
    cursor: pointer;
    flex-direction: row;
}

.logo_university {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px; /* Changed from margin-left to margin-right */
}

.logo_university img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
}

.contributor-card:hover {
    transform: translateY(-5px);
    background: #1a1a1a;
}

.contributor-card.paused {
    opacity: 0.7;
}
.slider-progress {
    width: 212px;
    height: 12px;
    background: #222;
    margin: 30px auto 0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.progress-line {
    width: 100%;
    height: 100%;
    background: #333;
}

.progress-active {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background:#ffffff;
    border-radius: 12px;
    transition: left 0.1s linear;
}

/***************************** Responsive Design ******************************************/
@media (max-width: 1400px) {
    .contributor-card {
        min-width: 320px;
        width: 320px;
    }
}

@media (max-width: 1200px) {
    .contributor-card {
        min-width: 300px;
        width: 300px;
        padding: 20px 28px;
    }

    .contributor-name {
        font-size: 18px;
    }

    .contributor-icon {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .contributors-slider-wrapper {
        gap: 15px;
    }

    .contributor-card {
        min-width: 260px;
        width: 260px;
        height: 85px;
        padding: 18px 24px;
    }

    .contributor-icon {
        font-size: 38px;
    }

    .contributor-name {
        font-size: 16px;
    }

    .slider-arrow {
        width: 42px;
        height: 42px;
    }

    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }

    .dot-line {
        width: 30px;
        height: 3px;
    }

    .dot-line.active {
        width: 45px;
    }
}

@media (max-width: 480px) {
    .contributors-slider-wrapper {
        padding: 0 10px;
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
    }
}


/*********************** Footer ************************************************/
/*********************** Footer ************************************************/
.footer {
    background: #050505;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .container {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Links Section - Full Width on Top */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.footer-links h3 {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    font-size: 20px;
    margin-bottom: 0;
    color: #ffffff;
    text-align: center;
}

.footer-links-container {
    display: flex;
    gap: 230px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaaaaa;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.footer-links a:hover {
    color: #4facfe;
}

/* Newsletter Section - Full Width Below Links */
.footer-content {
    width: 100%;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter-wrapper {
    display: flex;
    gap: 646px;
    align-items: center;
}

.newsletter-description {
    color: #aaaaaa;
    font-size: 14px;
    max-width: 300px;
    line-height: 1.6;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    text-align: right;
}

.title_footer_text {
    color: #d9d9d9;

}

.footer-newsletter {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    min-width: 250px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #4facfe;
}

.newsletter-btn {
    background: #ffff;
    border: none;
    color: #000000;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s
    ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #bdbdbd;
    font-family: 'Droid Arabic Naskh', 'Cairo', sans-serif;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-newsletter-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .newsletter-description {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-links-container {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    .footer-newsletter {
        flex-direction: column;
    }

    .newsletter-input {
        min-width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-newsletter-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .newsletter-description {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-links-container {
        gap: 15px;
    }

    .footer-newsletter {
        flex-direction: column;
    }

    .newsletter-input {
        min-width: 100%;
    }
}


/*************************** Responsive Design ********************/
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-links-container {
        gap: 15px;
    }

    .footer-newsletter {
        flex-direction: column;
    }

    .newsletter-input {
        min-width: 100%;
    }
}
/************************************ Responsive Design ************************************/
@media (max-width: 768px) {
    .nav-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nav-center {
        display: none;
    }

    .nav-left,
    .nav-right {
        justify-content: center;
    }

    .hero {
        padding: 150px 0 100px;
    }

    .hero .container {
        gap: 40px;
    }

    .manuscript-title img {
        width: 100%;
        max-width: 400px;
    }

    .search-container {
        width: 90%;
        height: auto;
        padding: 20px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-filters {
        flex-direction: column;
    }

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

    .knowledge-card {
        width: 100%;
        height: 150px;
    }

    .knowledge-card img {
        width: 100%;
        height: 100px;
    }

    .knowledge-card::before {
        height: 100px;
    }

    .card-content-top {
        top: 10px;
    }

    .card-content {
        bottom: 10px;
    }

    .card-title, .card-title-top {
        font-size: 14px;
    }

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

    .contributors-slider {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #07080A;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00f2fe 0%, #4facfe 100%);
}
