:root {
    --primary-blue: #0b45a3;
    --primary-orange: #dc2626; /* Red Theme */
    --primary-amber: #b91c1c;  /* Dark Red Accent */
    --dark-heading: #1e293b;
    --text-dark: #111111;
    --text-gray: #666666;
    --text-body: #475569;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --border-light: #e0e0e0;
    --border-color: #e2e8f0;
}

/* حاوية الشعار */
.logo-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden; /* لإخفاء اللمعة خارج حدود الشعار */
    border-radius: 8px; /* اختيارية لضمان حواف ناعمة */
}

/* الشعار الأساسي */
.site-logo {
    display: block;
    max-height: 70px; /* اضبط الارتفاع حسب تصميم الهيدر لديك */
    width: auto;
    transition: transform 0.3s ease;
}

/* طبقة اللمعة المضيئة */
.logo-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 100%;
    height: 200%;
    background: linear-gradient(
        60deg, 
        rgba(255, 255, 255, 0) 20%, 
        rgba(255, 255, 255, 0.75) 50%, 
        rgba(255, 255, 255, 0) 80%
    );
    transform: rotate(25deg);
    pointer-events: none;
    animation: logoShine 4s infinite ease-in-out;
}

/* حركة تمرير اللمعة */
@keyframes logoShine {
    0% {
        left: -150%;
    }
    20% {
        left: 150%; /* تمر اللمعة بسرعة في البداية */
    }
    100% {
        left: 150%; /* فترة توقف قبل إعادة الحركة لتجنب الإزعاج البصري */
    }
}

/* تأثير تفاعلي إضافي عند تحريك الماوس فوق الشعار */
.logo-wrapper:hover .site-logo {
    transform: scale(1.04);
}

.logo-wrapper:hover::after {
    animation: logoShineHover 0.8s ease-in-out;
}

@keyframes logoShineHover {
    0% { left: -150%; }
    100% { left: 150%; }
}


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

body {
    font-family: 'Plus Jakarta Sans', 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* --- Dust Overlay Effects --- */
.dust-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: 1000;
}

.dust {
    position: absolute;
    background: rgba(210, 170, 100, 0.35);
    border-radius: 50%;
    filter: blur(4px);
    animation: dustMove 3s ease-out forwards;
}

@keyframes dustMove {
    0% {
        transform: translateX(-150px) scale(0.5);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateX(120vw) scale(3);
        opacity: 0;
    }
}

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

/* --- 1. Top Header Brand --- */
.top-brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background-color: #ffffff;
}

.logo-area img {
    height: 75px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.slogan-area {
    text-align: right;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
}

/* --- 2. Navigation Bar --- */
.main-nav-bar {
    background-color: #ffffff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 8px 0;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 100;
}

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

.mobile-toggle-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-heading);
    cursor: pointer;
    padding: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 6px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 69, 163, 0.06);
    border-radius: 20px;
    transform: scale(0.85);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: -1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
    border-radius: 4px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.nav-links a:hover, .nav-links a.active, .nav-links a.active-link {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    transform: scale(1);
    opacity: 1;
}

.nav-links a:hover::after, .nav-links a.active::after, .nav-links a.active-link::after {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown Sub-menu */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 210px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 200;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.has-dropdown:hover > a i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    width: 100%;
    font-size: 0.82rem;
    color: var(--dark-heading);
    border-radius: 10px;
}

.dropdown-menu a::before,
.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: #fee2e2;
    color: var(--primary-orange);
    transform: translateX(4px);
}

.dropdown-menu a i {
    font-size: 0.8rem;
    color: var(--primary-orange);
    width: 16px;
    text-align: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.social-icons {
    display: flex;
    gap: 12px;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.social-icons i {
    cursor: pointer;
    transition: all 0.25s ease;
}

.social-icons i:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.search-trigger, .lang-selector {
    color: var(--text-gray);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- 3. Hero Slider Area --- */
.hero-slider-section {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.slider-main-display {
    width: 100%;
    height: 520px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

#camels-canvas-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

#camels-canvas-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.foreground-sand {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to top, rgba(210, 166, 121, 0.45), transparent);
    z-index: 5;
    pointer-events: none;
}

/* Portal Glass Card */
.portal-text-card {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 440px;
    z-index: 6;
    background: rgba(15, 23, 42, 0.55); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 30px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(220, 38, 38, 0.25);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 30px;
    color: #fca5a5;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.portal-glass-body h2 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.portal-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    transition: all 0.3s ease;
}

.portal-cta-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.highlight-gold { color: #fef08a; font-weight: 700; }
.highlight-glow { color: #60a5fa; font-weight: 700; }

.slider-arrow {
    position: absolute;
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1.0rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
}

.arrow-left { left: -22px; }
.arrow-right { right: -22px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 7;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #ffffff;
    width: 26px;
    border-radius: 10px;
}

/* --- 4. Section Titles & Grids --- */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-heading);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-grid-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.about-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 36px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.08);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover::before {
    opacity: 1;
}

.about-card .card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-amber);
    background-color: #fee2e2;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-heading);
    margin-bottom: 14px;
}

.about-card p {
    line-height: 1.7;
    color: var(--text-body);
    font-size: 0.98rem;
}

.about-card.full-width {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    border: none;
    padding: 44px 36px;
    text-align: center;
}

.about-card.full-width h3 {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.about-card.full-width p {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-card.full-width .card-badge {
    background: rgba(220, 38, 38, 0.25);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Explore Topics Section */
.explore-topics-section {
    display: flex;
    gap: 30px;
    background: var(--card-bg);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    align-items: center;
    margin-bottom: 50px;
}

.section-side-title {
    flex: 0 0 220px;
}

.main-title {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--dark-heading);
}

.deg-icon {
    display: inline-flex;
    align-items: center;
    color: var(--primary-orange);
    font-weight: 800;
}

.topics-grid-scroll {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.topic-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 220px; 
    padding: 20px;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.topic-card .card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.4s ease;
}

.topic-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.topic-card span {
    position: relative;
    z-index: 2;
}

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

.topic-card:hover .card-img {
    transform: scale(1.12); 
}

/* Mission & Vision Section */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.info-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.info-card .card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-amber);
    background-color: #fee2e2;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.info-card p {
    line-height: 1.6;
    color: var(--dark-heading);
    font-weight: 500;
}

/* Resources Page Layout Styles */
.page-header {
    margin-bottom: 35px;
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-heading);
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.page-header p {
    margin-top: 10px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.resources-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
    background-clip: padding-box;
}

.resource-box {
    background-color: #ffffff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.3s ease;
    position: relative;
}

.resource-box:hover {
    background-color: #fafafa;
}

.dot-bg {
    background-image: radial-gradient(#cbd5e1 1.2px, transparent 1.2px);
    background-size: 16px 16px;
}

.resource-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.resource-header i.icon-head {
    font-size: 1.5rem;
    color: var(--primary-orange);
}

.resource-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-heading);
}

.resource-desc {
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.resource-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-links-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.resource-links-list a i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.resource-links-list a:hover {
    color: var(--primary-orange);
    transform: translateX(4px);
}

.resource-links-list a:hover i {
    transform: translateX(3px);
}

.resource-visual {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
}

.visual-card-stack {
    position: relative;
    width: 120px;
    height: 110px;
}

.visual-card-stack .v-card {
    position: absolute;
    width: 80px;
    height: 100px;
    border-radius: 8px;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.v-card-1 {
    top: 0;
    left: 20px;
    transform: rotate(-8deg);
    z-index: 1;
}

.v-card-2 {
    top: 5px;
    left: 35px;
    transform: rotate(5deg);
    z-index: 2;
}

.v-card-lines {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
}

.v-card-red {
    height: 16px;
    background: #ef4444;
    border-radius: 3px;
}

.v-card-amber {
    height: 10px;
    background: #f59e0b;
    border-radius: 3px;
}

.pillars-svg-wrapper {
    width: 140px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.pillars-roof {
    width: 0; 
    height: 0; 
    border-left: 55px solid transparent;
    border-right: 55px solid transparent;
    border-bottom: 25px solid #eab308;
    margin-bottom: 5px;
}

.pillars-columns {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}

.pillar-bar {
    width: 14px;
    height: 55px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.pillars-base {
    width: 110px;
    height: 6px;
    background-color: var(--primary-orange);
    border-radius: 3px;
}

.peace-img-container {
    width: 100%;
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

.peace-img-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- 5. Footer Area --- */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 40px 0 25px 0;
    margin-top: 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.footer-logo img {
    height: 55px;
    width: auto;
    display: block;
}

.footer-slogan {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    max-width: 650px;
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 5px;
}

.footer-social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-gray);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social-btn:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    width: 100%;
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* --- Responsive & Mobile Media Queries --- */

@media (max-width: 1024px) {
    .portal-text-card {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        width: 100%;
        margin-top: 15px;
        background: rgba(15, 23, 42, 0.85);
        z-index: 10;
    }
    .hero-slider-section {
        flex-direction: column;
    }
    .slider-main-display {
        height: 380px;
    }
    .arrow-left { left: 10px; }
    .arrow-right { right: 10px; }
    .about-grid-section {
        grid-template-columns: 1fr;
    }
    .topics-grid-scroll {
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 868px) {
    .top-brand-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .slogan-area {
        text-align: center;
        font-size: 1rem;
    }

    .mobile-toggle-btn {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding-top: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 12px;
        border-radius: 8px;
    }

    .has-dropdown:hover .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f1f5f9;
        padding-left: 15px;
    }

    .explore-topics-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }

    .topics-grid-scroll {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .info-cards-grid, .resources-grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #navLinks {
        display: none;
    }
  
    #navLinks.active {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .portal-text-card {
        padding: 18px 15px;
        margin-top: 10px;
        border-radius: 14px;
        background: rgba(15, 23, 42, 0.92);
    }

    .portal-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    .portal-glass-body h2 {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .portal-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 0.82rem;
    }

@media (max-width: 768px) {
    .mobile-toggle-btn {
        display: block; /* إظهار زر الهامبرغر */
    }

    .nav-links {
        display: none; /* إخفاء القائمة افتراضياً */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 15px 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex; /* إظهار القائمة عند التفعيل */
    }
}
    
}