/* CSS Variables for Golden Yellow Theme - Modern & Comfortable */
:root {
    /* Primary Golden Colors */
    --primary-navy: #ffe97f;
    --secondary-navy: #ffd93d;
    --light-navy: #ffed4a;
    --dark-navy: #000000;
    --accent-navy: #fbbf24;
    --bright-navy: #fef3c7;
    
    /* Palestinian Flag Colors - Golden Theme */
    --palestinian-red: #dc2626;
    --palestinian-green: #16a34a;
    --palestinian-black: #0f172a;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8fafc;
    --light-gray: #f1f5f9;
    --soft-gray: #e2e8f0;
    --medium-gray: #94a3b8;
    
    /* Text Colors */
    --text-dark: #1e293b;
    --text-light: #475569;
    --text-muted: #64748b;
    
    /* Shadow and Effects */
    --shadow: rgba(255, 233, 127, 0.2);
    --shadow-hover: rgba(255, 233, 127, 0.3);
    --shadow-focus: rgba(255, 233, 127, 0.4);
    
    /* Accent Colors - Golden Harmonized */
    --red-accent: #ef4444;
    --green-accent: #10b981;
    --blue-accent: #fbbf24;
    --purple-accent: #8b5cf6;
    --orange-accent: #f59e0b;
    
    /* Hover States */
    --hover-navy: #ffd93d;
    --hover-red: #f87171;
    --hover-green: #34d399;
    --hover-blue: #fbbf24;
    
    /* Legacy Compatibility (for yellow references) */
    --primary-yellow: var(--primary-navy);
    --accent-yellow: var(--accent-navy);
    --bright-yellow: var(--bright-navy);
    --dark-yellow: var(--dark-navy);
    --hover-yellow: var(--hover-navy);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--off-white);
    direction: rtl;
    margin: 0;
    padding: 0;
}

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

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #ffe97f, #ffd93d, #f59e0b);
    box-shadow: 0 4px 20px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-navy);
}

.main-navbar {
    padding: 1rem 0;
}

.main-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.main-content {
    padding-top: 90px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 90px);
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: var(--white);
    flex-shrink: 0;
}

.brand-info {
    flex-shrink: 0;
    min-width: max-content;
}

.brand-logo {
    width: 60px;
    height: 60px;
    margin-left: 15px;
    border-radius: 50%;
    padding: 2px;
    object-fit: cover;
}

.brand-logo-fallback {
    width: 50px;
    height: 50px;
    margin-left: 15px;
    border-radius: 50%;
    border: 2px solid var(--primary-yellow);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-yellow);
    font-size: 1.5rem;
}

.footer-logo-fallback {
    width: 60px;
    height: 60px;
    margin-left: 15px;
    border-radius: 50%;
    border: 2px solid var(--primary-yellow);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-yellow);
    font-size: 1.5rem;
}

.brand-info h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #000000;
    white-space: nowrap;
    min-width: max-content;
}

.brand-info span {
    font-size: 0.8rem;
    color: var(--dark-yellow);
    font-weight: 500;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.nav-item {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.nav-link.auth-link {
    background: var(--accent-navy);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(96, 165, 250, 0.3);
}

.nav-link.auth-link:hover {
    background: var(--hover-navy);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
}

.nav-link.register-link {
    background: var(--green-accent);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.nav-link.register-link:hover {
    background: var(--hover-green);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.nav-link.user-menu {
    background: var(--light-navy);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.nav-link.user-menu:hover {
    background: var(--hover-blue);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative;
    padding-right: 20px !important;
}

.dropdown-toggle i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 25px var(--shadow);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border: 1px solid var(--soft-gray);
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--light-gray);
    font-weight: 500;
}

.dropdown-link:hover {
    background: var(--bright-navy);
    color: var(--primary-navy);
    transform: translateX(-5px);
}

.dropdown-menu li:last-child .dropdown-link {
    border-bottom: none;
}

.dropdown-divider {
    margin: 8px 0;
    border: none;
    height: 1px;
    background: var(--soft-gray);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-brand {
        order: 1;
        width: 100%;
        justify-content: center;
    }
    
    .brand-text h1 {
        font-size: 1.6rem;
        white-space: nowrap;
        min-width: max-content;
    }
    
    .nav-menu {
        order: 2;
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 15px var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        gap: 0.5rem;
        border-top: 1px solid var(--soft-gray);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .hamburger {
        display: flex;
        order: 4;
        position: absolute;
        top: 1rem;
        left: 1rem;
    }
    
    /* Mobile Navigation Styles */
    .nav-menu.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-radius: 0 0 15px 15px;
        box-shadow: 0 8px 30px rgba(30, 58, 138, 0.2);
        padding: 20px;
        z-index: 999;
    }
    
    .dropdown-content {
        position: static !important;
        min-width: auto !important;
        box-shadow: none !important;
        border: 1px solid var(--bright-navy) !important;
        margin-top: 10px !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 15px !important;
    }
    
    .dropdown-section {
        margin-bottom: 15px;
    }
    
    .dropdown-section:last-child {
        margin-bottom: 0;
    }
    
    .main-content {
        padding-top: 100px;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-default-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-navy) 50%, var(--secondary-navy) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #ffffff !important;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-align: center;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #ffe97f, #ffd93d, #f59e0b);
    color:#000000;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--light-navy) 0%, var(--hover-navy) 100%);
    transform: translateY(-3px);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.hero-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.8);
    color: var(--palestinian-black);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav-btn:hover {
    background: var(--primary-yellow);
    transform: scale(1.1);
}

.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 4;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active {
    background: var(--primary-yellow);
}

.hero-indicator:hover {
    background: var(--primary-yellow);
}

/* Faculty Hero Section - Navy Blue Theme */
.faculty-hero {
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bright-navy), var(--off-white));
}

.faculty-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-navy)10, var(--light-navy)05);
    z-index: 1;
}

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

.faculty-hero-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.faculty-hero-icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.2);
    border: 4px solid var(--primary-navy);
    transition: all 0.3s ease;
}

.faculty-hero-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
}

.faculty-hero-icon img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.faculty-hero-icon i {
    font-size: 4rem;
    color: var(--primary-navy);
}

.faculty-hero-title {
    font-size: 3rem;
    color: var(--dark-navy);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faculty-hero-description {
    font-size: 1.3rem;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.faculty-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Faculty Hero Text Centered Style */
.faculty-hero-text-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
   
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 233, 127, 0.3);
}

.faculty-hero-text-centered .faculty-hero-title {
    font-size: 3.5rem;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background:white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faculty-hero-text-centered .faculty-hero-description {
    font-size: 1.4rem;
    color: white;
    line-height: 1.8;
    margin-bottom: 0;
    font-weight: 400;
}



/* Faculty Majors Section - Navy Blue Theme */
.faculty-majors-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--off-white), var(--bright-navy)15);
    position: relative;
}

.faculty-majors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-navy)02, transparent);
    z-index: 1;
}

.faculty-majors-section .container {
    position: relative;
    z-index: 2;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.majors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start; /* Prevent cards from stretching */
}

.major-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
    border: 2px solid var(--bright-navy);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible; /* Allow slide content to show */
    contain: layout; /* Isolate layout to prevent affecting other cards */
    height: fit-content; /* Ensure proper height calculation */
}

.major-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-navy), var(--secondary-navy), var(--accent-navy));
    z-index: 1;
}

.major-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.25);
    border-color: var(--primary-navy);
}

.major-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.major-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
}

.major-card:hover .major-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.major-name {
    color: var(--dark-navy);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
}

.major-content {
    position: relative;
    z-index: 2;
}

.gpa-requirement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bright-navy);
    border-radius: 10px;
    border-left: 4px solid var(--primary-navy);
}

.gpa-label {
    color: #000000;
    font-weight: 600;
    font-size: 0.95rem;
}

.gpa-value {
    color: #000000;
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    border: 2px solid var(--accent-navy);
}

.major-description {
    color: #000000;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.major-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(135deg, var(--accent-navy), var(--light-navy));
    color: #000000;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(96, 165, 250, 0.3);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
}

.majors-info {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15);
    border: 2px solid var(--bright-navy);
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-navy), var(--accent-navy));
    z-index: 1;
}

.info-card h4 {
    color: var(--dark-navy);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.info-card h4 i {
    color: var(--primary-navy);
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.info-card li {
    color:#000000;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bright-navy);
    position: relative;
    padding-left: 1.5rem;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-navy);
    font-weight: bold;
}

/* Responsive Design for Majors Section */
@media (max-width: 768px) {
    .majors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: start; /* Maintain proper alignment on mobile */
    }
    
    .major-card {
        padding: 1.5rem;
        height: fit-content; /* Maintain proper height on mobile */
        contain: layout; /* Isolate layout on mobile */
    }
    
    .major-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .major-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .gpa-requirement {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
}

/* Faculty Videos Section - Navy Blue Theme */
.faculty-videos-section {
    padding: 4rem 0;
    background: var(--white);
}

.faculty-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.video-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
    transition: all 0.3s ease;
    border: 2px solid var(--bright-navy);
    position: relative;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-navy)05, transparent);
    pointer-events: none;
    z-index: 1;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.25);
    border-color: var(--primary-navy);
}

.video-header {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    padding: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.video-header h3 {
    color:#000000;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
}

.video-header i {
    font-size: 1.5rem;
    color: var(--accent-navy);
}

.video-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.faculty-video {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    background: var(--light-gray);
    border: 2px solid var(--bright-navy);
}

.video-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--bright-navy), var(--white));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary-navy);
    color: var(--secondary-navy);
    text-align: center;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: linear-gradient(135deg, var(--accent-navy)20, var(--white));
    border-color: var(--secondary-navy);
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.video-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--secondary-navy);
    transition: all 0.3s ease;
    font-weight: 500;
}

.video-link:hover {
    color: var(--primary-navy);
    transform: scale(1.05);
}

/* Student Reviews Section - Navy Blue Theme */
.student-reviews-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bright-navy)30, var(--off-white));
    position: relative;
}

.student-reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-navy)03, transparent);
    z-index: 1;
}

.student-reviews-section .container {
    position: relative;
    z-index: 2;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
    border: 2px solid var(--bright-navy);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-navy)05, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.review-card:hover {
    border-color: var(--primary-navy);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.25);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.student-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-navy);
    transition: all 0.3s ease;
}

.student-photo:hover {
    border-color: var(--accent-navy);
    transform: scale(1.05);
}

.student-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    border: 2px solid var(--accent-navy);
    transition: all 0.3s ease;
}

.student-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.student-details h4 {
    color: var(--dark-navy);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.student-year {
    color: var(--secondary-navy);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.rating {
    display: flex;
    gap: 0.3rem;
    position: relative;
    z-index: 2;
}

.rating i {
    color: var(--palestinian-red);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.rating i:hover {
    transform: scale(1.2);
    color: var(--accent-navy);
}

.review-text {
    color: var(--secondary-navy);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
}

.review-video {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    margin-top: 1rem;
    border: 2px solid var(--bright-navy);
    position: relative;
    z-index: 2;
}

/* Floor Maps Section - Navy Blue Theme */
.floor-maps-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--white), var(--bright-navy)20);
    position: relative;
}

.floor-maps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-navy)02, transparent);
    z-index: 1;
}

.floor-maps-section .container {
    position: relative;
    z-index: 2;
}

.floor-maps-container {
    margin-top: 2rem;
}

.floor-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.floor-tab {
    padding: 1rem 2rem;
    background: var(--white);
    border: 2px solid var(--primary-navy);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.1);
}

.floor-tab:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.25);
}

.floor-tab.active {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    border-color: var(--accent-navy);
}

.floor-content {
    position: relative;
}

.floor-map {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.floor-map.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    width: 100%;
}

.floor-map-image {
    text-align: center;
}

.map-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.2);
    border: 3px solid var(--primary-navy);
    transition: all 0.3s ease;
}

.map-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.3);
}

.map-placeholder {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: linear-gradient(135deg, var(--bright-navy), var(--white));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary-navy);
    color: var(--secondary-navy);
    text-align: center;
    transition: all 0.3s ease;
    margin: 0 auto;
    font-size: 1rem;
    font-weight: 500;
}

.map-placeholder:hover {
    background: linear-gradient(135deg, var(--accent-navy)15, var(--white));
    border-color: var(--secondary-navy);
    transform: scale(1.01);
}

.map-placeholder span {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.map-placeholder small {
    font-size: 0.9rem;
    opacity: 0.7;
    display: block;
}

/* Enhanced Floor Maps Styles - Expanded Design */
.floor-tabs-wrapper {
    margin-bottom: 4rem;
    text-align: center;
}

.tabs-header {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    font-weight: 700;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-navy)10, var(--accent-navy)10);
    border-radius: 25px;
    border: 2px solid var(--primary-navy);
}

.tabs-header i {
    color: var(--accent-navy);
    font-size: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.floor-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Responsive Design for Floor Maps */
@media (max-width: 768px) {
    .floor-tabs {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .floor-tab {
        min-height: 100px;
    }
    
    .tab-content {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .tab-icon {
        width: 50px;
        height: 50px;
    }
    
    .tab-icon i {
        font-size: 1.5rem;
    }
    
    .tab-title {
        font-size: 1rem;
    }
    
    .tab-preview {
        font-size: 0.85rem;
    }
    
    .floor-content-wrapper {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .floor-title {
        font-size: 1.4rem;
    }
    
    .departments-title {
        font-size: 1.1rem;
    }
    
    .tabs-header {
        font-size: 1.1rem;
        padding: 1rem;
    }
    
    .floor-map-info {
        padding: 1.5rem;
    }
    
    .departments-section {
        padding: 1rem;
    }
}

.floor-tab {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: var(--white);
    border: 3px solid var(--light-gray);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    min-height: 140px;
    transform: translateY(0);
}

.floor-tab:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 233, 127, 0.25);
    border-color: var(--primary-navy);
    background: linear-gradient(135deg, var(--white), var(--bright-navy)30);
}

.floor-tab.active {
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-navy));
    color: var(--text-dark);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 60px rgba(255, 233, 127, 0.35);
    border-color: var(--accent-navy);
    border-width: 4px;
}

.floor-tab.active .tab-content {
    color: var(--text-dark);
}

.floor-tab.active .tab-icon {
    background: rgba(255, 255, 255, 0.3);
    color: var(--text-dark);
    transform: scale(1.1);
}

.floor-tab.active .tab-arrow i {
    color: var(--text-dark);
    transform: translateX(-8px) scale(1.2);
}

.tab-content {
    display: flex;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
    width: 100%;
}

.tab-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--bright-navy);
    border-radius: 20px;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tab-icon i {
    font-size: 2.5rem;
    color: var(--accent-navy);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.floor-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-navy);
    color: var(--text-dark);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    border: 3px solid var(--white);
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tab-info {
    flex: 1;
    text-align: right;
    padding-right: 0.5rem;
}

.tab-title {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    display: block;
    color: var(--text-dark);
    line-height: 1.3;
}

.tab-preview {
    font-size: 1rem;
    opacity: 0.8;
    color: var(--text-muted);
    line-height: 1.6;
    display: block;
    font-weight: 500;
}

.tab-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--off-white);
    border-radius: 50%;
    transition: all 0.4s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-arrow i {
    font-size: 0.9rem;
    color: var(--accent-navy);
    transition: all 0.3s ease;
}

.floor-content-wrapper {
    margin-top: 2rem;
    position: relative;
    min-height: 400px;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--white), var(--bright-navy)10);
    border-radius: 20px;
    border: 2px solid var(--light-gray);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Floor Maps Animation Enhancement */
.floor-map {
    position: relative;
}

.floor-map.active {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

/* Tab Active State Animation */
.floor-tab.active .tab-icon {
    animation: pulse 0.6s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Floor Tab Loading State */
.floor-tab.loading {
    pointer-events: none;
    opacity: 0.7;
}

.floor-tab.loading .tab-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: var(--accent-navy);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.floor-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
    width: 100%;
    min-height: 400px;
}

@media (max-width: 992px) {
    .floor-map-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.floor-map-image {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--primary-navy);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 500px;
}

.image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 17px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.zoom-btn {
    background: var(--primary-navy);
    color: var(--text-dark);
    border: none;
    padding: 16px 28px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.zoom-btn:hover {
    background: var(--accent-navy);
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.floor-map-info {
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
    width: 100%;
    height: fit-content;
}

.floor-map-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-navy);
}

.floor-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--primary-navy);
    position: relative;
}

.floor-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-navy);
}

.floor-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.floor-title i {
    color: var(--accent-navy);
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.floor-description {
    color: var(--text-light);
    font-size: 1.3rem;
    line-height: 1.8;
    font-weight: 500;
}

.departments-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bright-navy)15, var(--white));
    border-radius: 15px;
    border: 2px solid var(--primary-navy);
}

.departments-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.departments-title i {
    color: var(--green-accent);
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.departments-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.department-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.department-item:hover {
    transform: translateX(-3px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-navy);
    background: var(--bright-navy);
}

.department-item i {
    color: var(--green-accent);
    font-size: 1.2rem;
}

.department-item i {
    color: var(--green-accent);
    font-size: 0.9rem;
}

.departments-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    padding: 1rem;
    background: var(--off-white);
    border-radius: 8px;
    border-right: 4px solid var(--accent-navy);
}

.quick-access-info {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--accent-navy)10, var(--primary-navy)10);
    border-radius: 20px;
    border: 2px solid var(--accent-navy);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1.2rem 1.5rem;
    background: var(--white);
    border-radius: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
    border: 2px solid var(--primary-navy);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-item:hover {
    transform: translateX(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-navy);
}

.info-item i {
    color: var(--accent-navy);
    font-size: 1.3rem;
}

.floor-maps-info {
    margin-top: 4rem;
    text-align: center;
}

.floor-maps-info .info-card {
    background: linear-gradient(135deg, var(--white), var(--bright-navy)15);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.12);
    border: 3px solid var(--primary-navy);
    max-width: 1000px;
    margin: 0 auto;
    transition: all 0.4s ease;
}

.floor-maps-info .info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(30, 58, 138, 0.18);
    border-color: var(--accent-navy);
}

.floor-maps-info .info-card h4 {
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 2.2rem;
    font-weight: 800;
}

.floor-maps-info .info-card h4 i {
    color: var(--accent-navy);
    font-size: 2rem;
}

.floor-maps-info .info-card ul {
    list-style: none;
    padding: 0;
    text-align: right;
}

.floor-maps-info .info-card li {
    position: relative;
    padding: 0.5rem 0;
    padding-right: 2rem;
    color: var(--text-light);
    line-height: 1.6;
}

.floor-maps-info .info-card li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--green-accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.floor-map-info {
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.1);
    border: 1px solid var(--bright-navy);
}

.floor-map-info h3 {
    color: var(--dark-navy);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.floor-description {
    color: var(--secondary-navy);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.departments h4 {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.departments p {
    color: var(--secondary-navy);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Back to Faculties Section - Navy Blue Theme */
.back-to-faculties {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.back-to-faculties::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--accent-navy)20, transparent);
    z-index: 1;
}

.back-to-faculties-content {
    position: relative;
    z-index: 2;
}

.back-to-faculties-content h3 {
    color:#000000;

    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.back-to-faculties-content p {
    color: #000000;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.back-to-faculties .btn {
    background: var(--white);
    color: #000000;
    border: 2px solid var(--white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.back-to-faculties .btn:hover {
    background: transparent;
    color: #000000;
    border-color: var(--accent-navy);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* Faculty Guide Section */
.faculty-guide {
    padding: 4rem 0;
    background: var(--white);
}

.faculty-guide .section-title {
    color: var(--palestinian-black);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.faculty-guide .section-subtitle {
    color: #000000;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.faculty-nav {
    margin-bottom: 3rem;
}

.faculty-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.faculty-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--white);
    border: 3px solid var(--accent-navy);
    border-radius: 16px;
    box-shadow: 0 4px 12px var(--shadow), 0 0 0 1px rgba(96, 165, 250, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    min-height: 150px;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.faculty-tab:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow), 0 0 0 3px rgba(96, 165, 250, 0.4);
    border-color: var(--light-navy);
}

.faculty-tab.active {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow), 0 0 0 3px rgba(255, 215, 0, 0.6);
    border-color: var(--bright-yellow);
}

.faculty-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.faculty-tab:hover::before {
    opacity: 0.05;
}

.faculty-tab img {
    display: none;
}

.faculty-tab i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5rem;
    border-radius: 50%;
    backdrop-filter: blur(3px);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.faculty-tab.active i {
    color: var(--white);
    background: rgba(0, 0, 0, 0.7);
    border-color: var(--primary-yellow);
}

.faculty-tab span {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(3px);
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.faculty-tab.active span {
    color: var(--white);
    background: rgba(0, 0, 0, 0.7);
    border-color: var(--primary-yellow);
}

.faculty-content {
    position: relative;
}

.faculty-panel {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.faculty-panel.active {
    display: block;
}

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

.faculty-header {
    background: linear-gradient(135deg, var(--off-white), var(--white));
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow);
}

.faculty-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    opacity: 0.1;
    transform: skewX(-15deg);
    transform-origin: top right;
}

.faculty-title h4 {
    font-size: 2rem;
    color: var(--palestinian-black);
    margin-bottom: 1rem;
}

.faculty-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.faculty-details {
    display: grid;
    gap: 3rem;
}

.faculty-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px var(--shadow);
    border: 2px solid var(--off-white);
    transition: all 0.3s ease;
}

.video-section:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
}

.video-section h5 {
    color: var(--palestinian-black);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-section i {
    color: var(--primary-yellow);
}

.faculty-video {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    background: var(--text-light);
}

.video-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--off-white), var(--white));
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary-yellow);
    color: var(--text-light);
    text-align: center;
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

.video-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.video-link:hover {
    color: var(--primary-yellow);
    transform: scale(1.05);
}

.student-reviews {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary-yellow);
}

.student-reviews h5 {
    color: var(--palestinian-black);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.student-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-yellow);
}

.student-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--palestinian-black);
    font-size: 1.2rem;
}

.student-details h6 {
    color: var(--palestinian-black);
    margin-bottom: 0.2rem;
}

.student-year {
    color: var(--text-light);
    font-size: 0.9rem;
}

.rating {
    display: flex;
    gap: 0.2rem;
}

.rating i {
    color: var(--primary-yellow);
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-dark);
    line-height: 1.6;
    margin-top: 1rem;
}

.review-video {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    margin-top: 1rem;
}

.floor-maps {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--palestinian-green);
}

.floor-maps h5 {
    color: var(--palestinian-black);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floor-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.floor-tab {
    padding: 0.8rem 1.5rem;
    background: var(--off-white);
    border: 2px solid var(--palestinian-green);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
}

.floor-tab:hover {
    background: var(--palestinian-green);
    color: var(--white);
}

.floor-tab.active {
    background: var(--palestinian-green);
    color: var(--white);
}

.floor-content {
    position: relative;
}

.floor-map {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.floor-map.active {
    display: grid;
}

.floor-image {
    text-align: center;
}

.map-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow);
    border: 2px solid var(--palestinian-green);
}

.floor-info {
    padding: 1rem;
}

.floor-info h6 {
    color: var(--palestinian-black);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.floor-description {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.departments h7 {
    color: var(--palestinian-green);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.departments p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Faculty Guide Info */
.faculty-guide-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.guide-description {
    background: var(--off-white);
    padding: 3rem;
    border-radius: 15px;
    border: 3px solid var(--primary-yellow);
    text-align: center;
}

.guide-description h4 {
    color: var(--palestinian-black);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.guide-description p {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.guide-features {
    list-style: none;
    padding: 0;
    text-align: right;
}

.guide-features li {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guide-features i {
    color: var(--primary-yellow);
    font-size: 1.3rem;
    width: 25px;
    text-align: center;
}

.guide-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.faculty-preview-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px var(--shadow);
    border: 3px solid var(--primary-yellow);
    transition: all 0.3s ease;
    text-align: center;
}

.faculty-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.faculty-preview-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--palestinian-black);
    font-size: 1.5rem;
}

.faculty-preview-icon img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.faculty-preview-card h5 {
    color: var(--palestinian-black);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faculty-preview-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.faculty-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.faculty-stats span {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.faculty-stats i {
    color: var(--primary-yellow);
    font-size: 1rem;
}

/* Quick Services */
.quick-services {
    padding: 4rem 0;
    background: var(--off-white);
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-navy);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-navy), var(--light-navy));
    border-radius: 4px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 4px 6px var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow);
    border-color: var(--primary-yellow);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--palestinian-black);
    box-shadow: 0 4px 8px var(--shadow);
}

.service-card h4 {
    color: var(--palestinian-black);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    padding: 2rem;
}

.about-text p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.about-features {
    list-style: none;
    padding: 0;
}

.about-features li {
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-features i {
    color: var(--palestinian-green);
    font-size: 1.2rem;
}

.about-image {
    text-align: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px var(--shadow);
    border: 3px solid var(--white);
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--palestinian-black);
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: var(--palestinian-black);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Martyrs Section - New Modern Design */
.martyrs-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.martyrs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,215,0,0.1)"/></svg>') repeat;
    background-size: 50px 50px;
    opacity: 0.3;
}

.martyrs-section .container {
    position: relative;
    z-index: 2;
}

.martyrs-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.martyrs-section .section-title {
    color: var(--primary-yellow);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.martyrs-section .section-title i {
    color: var(--palestinian-red);
    font-size: 2.5rem;
}

.martyrs-section .section-subtitle {
    color: #000000;
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.martyrs-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.martyr-card-modern {
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.martyr-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--palestinian-red), var(--primary-yellow), var(--palestinian-red));
    border-radius: 20px 20px 0 0;
}

.martyr-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255,215,0,0.2);
    border-color: var(--primary-yellow);
}

.martyr-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-yellow);
    color: var(--palestinian-black);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(255,215,0,0.4);
}

.martyr-photo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.martyr-photo-modern {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-yellow);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.martyr-photo-modern:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(255,215,0,0.4);
}

.martyr-photo-placeholder-modern {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--palestinian-red), var(--red-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 auto;
    border: 4px solid var(--primary-yellow);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.martyr-content {
    text-align: center;
}

.martyr-name-modern {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.martyr-details-modern {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.martyr-date-modern,
.martyr-age,
.martyr-faculty {
    background: rgba(255,215,0,0.1);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,215,0,0.3);
}

.martyr-date-modern i,
.martyr-age i,
.martyr-faculty i {
    color: var(--primary-yellow);
}

.martyr-bio-modern {
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-style: italic;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-yellow);
}

.martyr-quote-modern {
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    color: var(--palestinian-black);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 600;
    position: relative;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.martyr-quote-modern i {
    position: absolute;
    top: 10px;
    right: 15px;
    opacity: 0.6;
}

.martyr-years-since {
    color: var(--primary-yellow);
    font-size: 0.9rem;
    opacity: 0.8;
}

.no-martyrs-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    border: 2px dashed rgba(255,215,0,0.3);
}

.no-martyrs-message i {
    font-size: 4rem;
    color: var(--palestinian-red);
    margin-bottom: 1.5rem;
}

.no-martyrs-message h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-martyrs-message p {
    color: var(--white);
    opacity: 0.7;
}

.section-actions-modern {
    text-align: center;
    margin-top: 4rem;
}

.btn-view-all-martyrs {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    color: var(--palestinian-black);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255,215,0,0.3);
}

.btn-view-all-martyrs:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,215,0,0.4);
    background: linear-gradient(135deg, var(--accent-yellow), var(--primary-yellow));
}

.btn-view-all-martyrs i:last-child {
    transition: transform 0.3s ease;
}

.btn-view-all-martyrs:hover i:last-child {
    transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .martyrs-section .section-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .martyrs-cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .martyr-card-modern {
        padding: 2rem;
    }
    
    .martyr-details-modern {
        flex-direction: column;
        gap: 10px;
    }
    
    .martyr-photo-modern,
    .martyr-photo-placeholder-modern {
        width: 100px;
        height: 100px;
    }
}

/* تحسينات إضافية لقسم الشهداء */
.martyrs-section .container {
    max-width: 1300px;
}

.martyr-card-modern {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.martyr-card-modern .martyr-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.martyr-details-modern {
    margin: 1rem 0;
}

.martyr-bio-modern {
    min-height: 60px;
    display: flex;
    align-items: center;
    text-align: center;
}

.martyr-card-modern:hover .martyr-photo-modern {
    transform: scale(1.1);
}

.martyr-card-modern:hover .martyr-badge {
    transform: rotate(360deg);
}

.martyr-badge {
    transition: transform 0.5s ease;
}

/* News Section */
.news {
    padding: 4rem 0;
    background: white;
}

.news .section-title {
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.12);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffe97f, #ffd93d, #f59e0b);
    z-index: 1;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 233, 127, 0.4);
    border-color: rgba(255, 233, 127, 0.6);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffe97f, #ffd93d);
    color: #1e293b;
    padding: 8px 12px;
    text-align: center;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 233, 127, 0.4);
    z-index: 2;
    min-width: 60px;
}

.news-date .day {
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.news-date .month {
    font-size: 0.7rem;
    opacity: 0.9;
    margin-top: 2px;
}

.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: right;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.news-category {
    background: linear-gradient(135deg, #ffe97f, #ffd93d);
    color: #1e293b;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
}

.news-location {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-location i {
    color: #ffe97f;
}

.news-content h4 {
    color: #f59e0b;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: right;
}

.news-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
    flex: 1;
    text-align: right;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.read-more {
    background: linear-gradient(135deg, #ffe97f, #ffd93d);
    color: #1e293b;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 233, 127, 0.4);
}

.read-more:hover {
    background: linear-gradient(135deg, #ffd93d, #f59e0b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 233, 127, 0.6);
}

.news-stats {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #64748b;
}

.news-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-stats i {
    color: #ffe97f;
}

.read-more {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-yellow);
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-yellow);
    width: 50px;
    text-align: center;
}

.contact-item h4 {
    color: var(--palestinian-black);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid var(--primary-yellow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--primary-yellow);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--palestinian-black) 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
    border-top: 5px solid var(--accent-navy);
    position: relative;
    width: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin-left: 15px;
    border-radius: 50%;
    border: 2px solid var(--accent-navy);
    background: var(--white);
    padding: 2px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.footer-text h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-text p {
    color: var(--accent-navy);
    font-size: 0.9rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-yellow);
    color: var(--palestinian-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-yellow);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--text-light);
    color: var(--white);
    font-size: 0.9rem;
}

/* Page Layout Fix for Footer - حل شامل ونهائي */
html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.header {
    flex-shrink: 0;
}

.main-content {
    flex: 1 0 auto; /* يتمدد لملء المساحة المتاحة */
    margin-top: 90px; /* مساحة للهيدر الثابت */
    padding-bottom: 30px; /* مساحة إضافية قبل الفوتر */
}

.content-wrapper {
    width: 100%;
    min-height: calc(100vh - 250px); /* يضمن ملء الشاشة */
}

.footer {
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
    position: relative;
    clear: both;
}

/* حل نهائي لمشكلة الفوتر */
.page-wrapper::after {
    content: "";
    flex: 1 0 auto;
    min-height: 50px;
}

/* ضمان عدم تداخل أي عنصر مع الفوتر */
.section-modern {
    margin-bottom: 2rem;
}

/* إعدادات إضافية للأمان */
body, html {
    overflow-x: hidden;
}

.page-wrapper {
    overflow-x: hidden;
}

/* منع أي مشاكل في الـ flexbox */
.main-content, .content-wrapper {
    flex-basis: auto;
}

/* CSS إضافي للتأكد من عمل النظام */
.page-wrapper {
    background-color: var(--off-white);
}

.footer {
    bottom: 0;
    left: 0;
    right: 0;
}

/* إصلاح شامل للفوتر */
.page-wrapper {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

.main-content {
    flex: 1 !important;
}

/* إصلاح مشكلة تداخل المحتوى مع الفوتر */
.section-modern {
    margin-bottom: 2rem; /* مساحة طبيعية */
}

/* إعادة تعيين z-index للعناصر المشكوك فيها */
.card-modern, .experience-card-enhanced {
    z-index: 1;
    position: relative;
}

/* منع العناصر من الهروب خارج الحدود */
.container {
    overflow: visible;
    position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .main-content {
        padding-top: 50px;
        min-height: calc(100vh - 50px);
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        right: -100%;
        width: 100%;
        height: calc(100vh - 100%);
        background: var(--palestinian-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-navigation {
        padding: 0 1rem;
    }
    
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-indicators {
        bottom: 1rem;
    }
    
    .hero-indicator {
        width: 10px;
        height: 10px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

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

    .news-card {
        flex-direction: column;
        text-align: center;
    }

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

    .martyr-card {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Faculty Guide Mobile Styles */
    .faculty-tabs {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.5rem;
    }

    .faculty-tab {
        padding: 1.5rem 0.5rem;
        min-width: 160px;
        min-height: 120px;
    }

    .faculty-tab i {
        font-size: 2rem;
        width: 50px;
        height: 50px;
        margin-bottom: 0.3rem;
        background: rgba(0, 0, 0, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .faculty-tab span {
        font-size: 0.95rem;
        padding: 0.4rem 0.8rem;
        line-height: 1.3;
        background: rgba(0, 0, 0, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.3);
        font-weight: 600;
    }

    .faculty-videos {
        grid-template-columns: 1fr;
    }

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

    .floor-map {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .floor-tabs {
        justify-content: center;
    }

    .floor-tab {
        width: 100%;
        text-align: center;
    }

    /* Faculty Detail Mobile Styles */
    .faculty-hero {
        padding: 6rem 0 3rem;
    }

    .faculty-hero-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .faculty-hero-icon {
        width: 120px;
        height: 120px;
    }

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

    .faculty-hero-description {
        font-size: 1.1rem;
        color: #000000;
    }

    .faculty-videos-grid {
        grid-template-columns: 1fr;
    }

    .video-card {
        margin-bottom: 1.5rem;
    }

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

    .floor-map {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .floor-tabs {
        flex-direction: column;
        align-items: center;
    }

    .floor-tab {
        width: 100%;
        text-align: center;
    }

    /* Faculty Guide Info Mobile Styles */
    .faculty-guide-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .guide-description {
        padding: 2rem;
    }

    .guide-description h4 {
        font-size: 1.5rem;
    }

    .guide-preview {
        grid-template-columns: 1fr;
    }

    .faculty-preview-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .brand-text h1 {
        font-size: 1.4rem;
        white-space: nowrap;
        min-width: max-content;
    }

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

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .news-card,
    .contact-form,
    .martyr-card {
        padding: 1.5rem;
    }

    .faculty-guide .section-title {
        font-size: 2rem;
    }

    .faculty-tab {
        min-width: 80px;
        padding: 0.8rem 0.3rem;
    }

    .faculty-tab i {
        font-size: 1.5rem;
    }

    .faculty-title h4 {
        font-size: 1.5rem;
    }

    .video-section {
        padding: 1.5rem;
    }

    .student-reviews,
    .floor-maps {
        padding: 1.5rem;
    }

    /* Faculty Detail Mobile Styles */
    .faculty-hero-title {
        font-size: 1.8rem;
    }

    .faculty-hero-description {
        font-size: 1rem;
        color: #000000;
    }

    .faculty-hero-icon {
        width: 100px;
        height: 100px;
    }

    .faculty-hero-icon img {
        width: 70px;
        height: 70px;
    }

    .faculty-hero-icon i {
        font-size: 3rem;
    }

    .video-header h3 {
        font-size: 1.1rem;
    }

    .faculty-video {
        height: 200px;
    }

    .video-placeholder {
        height: 200px;
    }

    .back-to-faculties-content h3 {
        color: #000 !important;;

        font-size: 2rem;
    }

    .back-to-faculties-content p {
        font-size: 1rem;
        color: #000 !important;;

    }

    /* Faculty Guide Info Mobile Styles */
    .guide-description h4 {
        font-size: 1.3rem;
    }

    .guide-description p {
        font-size: 1rem;
    }

    .guide-features li {
        font-size: 1rem;
    }

    .faculty-preview-card {
        padding: 1rem;
    }

    .faculty-preview-card h5 {
        font-size: 1.1rem;
    }

    .faculty-preview-card p {
        font-size: 0.9rem;
    }

    .faculty-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .faculty-stats span {
        font-size: 0.85rem;
    }
}

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

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

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-yellow);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-yellow);
}

/* Common Problems Section */
.common-problems {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--off-white) 0%, #f0f8ff 100%);
    position: relative;
}

.common-problems::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23FFD700" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23228B22" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="%23DC143C" opacity="0.1"/><circle cx="10" cy="60" r="1" fill="%23FFD700" opacity="0.1"/><circle cx="90" cy="30" r="1" fill="%23228B22" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 1;
}

.common-problems .container {
    position: relative;
    z-index: 2;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--green-accent));
    border-radius: 20px 20px 0 0;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-yellow);
}

.problem-card:nth-child(1) .problem-icon {
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
}

.problem-card:nth-child(2) .problem-icon {
    background: linear-gradient(135deg, var(--green-accent), var(--palestinian-green));
}

.problem-card:nth-child(3) .problem-icon {
    background: linear-gradient(135deg, var(--red-accent), var(--palestinian-red));
}

.problem-card:nth-child(4) .problem-icon {
    background: linear-gradient(135deg, var(--dark-yellow), var(--accent-yellow));
}

.problem-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.problem-card:hover .problem-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.problem-card h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
}

.problem-card h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-yellow);
}

.problem-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.problem-card .btn {
    background: var(--primary-yellow);
    color: var(--text-dark);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.problem-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.problem-card .btn:hover::before {
    left: 100%;
}

.problem-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.problem-card .btn.btn-success {
    background: var(--green-accent);
    color: white;
}

.problem-card .btn.btn-success:hover {
    background: var(--palestinian-green);
}

/* Responsive Design for Common Problems */
@media (max-width: 768px) {
    .common-problems {
        padding: 60px 0;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .problem-card {
        padding: 1.5rem;
    }
    
    .problem-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .problem-card h4 {
        font-size: 1.1rem;
    }
    
    .problem-card p {
        font-size: 0.9rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.problem-card {
    animation: fadeInUp 0.6s ease-out;
}

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

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

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

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

/* Student Services Portal Styles */
.student-services {
    padding: 60px 0;
    background: var(--off-white);
    border-top: 3px solid var(--primary-yellow);
}

.student-services .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.student-services .section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.student-services .section-title i {
    color: var(--primary-yellow);
    font-size: 2rem;
}

.student-services .section-subtitle {
    font-size: 1.1rem;
    color: #000000;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section Styles */
.services-section {
    margin-bottom: 50px;
}

.services-section-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-yellow);
}

.services-section-title i {
    color: var(--primary-yellow);
    font-size: 1.5rem;
}

/* Quick Links Grid */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.quick-link-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.quick-link-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--white);
}

.quick-link-content h5 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.quick-link-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-yellow);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-service:hover {
    background: var(--accent-yellow);
    transform: translateY(-2px);
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-navy);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Schedule Styles */
.schedule-selector {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.faculty-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.faculty-tab-btn {
    padding: 12px 20px;
    border: 2px solid var(--primary-yellow);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.faculty-tab-btn.active {
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.faculty-tab-btn:hover {
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.schedule-count {
    background: var(--red-accent);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-right: 8px;
}

.schedule-actions {
    display: flex;
    gap: 10px;
}

.schedule-display {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px var(--shadow);
}

.schedule-loading {
    text-align: center;
    padding: 50px;
    color: var(--text-light);
}

.schedule-loading i {
    font-size: 2rem;
    color: var(--primary-yellow);
    margin-bottom: 10px;
}

/* Official Forms Grid */
.official-forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.official-form-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.official-form-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.form-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.form-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.form-info h5 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 8px;
}

.form-type {
    background: var(--green-accent);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: var(--palestinian-red);
    color: var(--white);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--red-accent);
    transform: translateY(-2px);
}

.form-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.download-count {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-stats .featured-badge {
    position: static;
    background: var(--primary-yellow);
    color: var(--text-dark);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* Recent Services List */
.recent-services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
    transition: all 0.3s ease;
}

.recent-service-item:hover {
    background: var(--off-white);
    transform: translateX(-5px);
}

.recent-service-item .service-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-dark);
}

.recent-service-item .service-info h6 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 500;
}

.recent-service-item .service-info small {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Help Section */
.help-section {
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    border-radius: 15px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.help-content h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-content p {
    color: var(--text-dark);
    font-size: 1rem;
    opacity: 0.8;
}

.help-actions {
    display: flex;
    gap: 15px;
}

.btn-help {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--text-dark);
    color: var(--white);
    text-decoration: none;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-help:hover {
    background: var(--palestinian-black);
    transform: translateY(-2px);
}

/* No Services Message */
.no-services {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.no-services i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.no-services p {
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .student-services .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .official-forms-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-selector {
        flex-direction: column;
        align-items: stretch;
    }
    
    .faculty-tabs {
        justify-content: center;
    }
    
    .schedule-actions {
        justify-content: center;
    }
    
    .help-section {
        flex-direction: column;
        text-align: center;
    }
    
    .help-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-help {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .student-services {
        padding: 40px 0;
    }
    
    .services-section-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .quick-link-card,
    .official-form-card {
        padding: 20px;
    }
} 

/* About Section Styles */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--off-white), var(--white));
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="flag-pattern" patternUnits="userSpaceOnUse" width="100" height="100"><rect width="100" height="25" fill="%23000000" opacity="0.02"/><rect y="25" width="100" height="25" fill="%23FFFFFF" opacity="0.02"/><rect y="50" width="100" height="25" fill="%23007A3D" opacity="0.02"/><rect y="75" width="100" height="25" fill="%23CE1126" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23flag-pattern)"/></svg>');
    z-index: -1;
}

/* About Hero Section */
.about-hero {
    position: relative;
    text-align: center;
    margin-bottom: 80px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-hero-image,
.about-hero-video,
.about-hero-background {
    position: relative;
    height: 400px;
    overflow: hidden;
}

/* خلفية افتراضية عندما لا توجد صورة أو فيديو */
.about-hero-background {
    background: linear-gradient(135deg, 
        var(--primary-navy), 
        var(--secondary-navy), 
        var(--accent-navy)
    );
}

.about-hero-image img,
.about-hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6), 
        rgba(0, 122, 61, 0.4), 
        rgba(206, 17, 38, 0.4)
    );
}

.about-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    text-align: center;
    z-index: 10;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out;
}

.about-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Palestine Flag Animation */
.palestine-flag {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.flag-section {
    width: 60px;
    height: 8px;
    animation: flagWave 2s ease-in-out infinite;
}

.flag-black {
    background-color: var(--palestinian-black);
    animation-delay: 0s;
}

.flag-white {
    background-color: var(--white);
    animation-delay: 0.1s;
}

.flag-green {
    background-color: var(--palestinian-green);
    animation-delay: 0.2s;
}

.flag-red {
    background-color: var(--palestinian-red);
    animation-delay: 0.3s;
}

@keyframes flagWave {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(1.2);
    }
}

/* About Content */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: justify;
}

.about-history {
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    margin-top: 30px;
}

.about-history h4 {
    color: var(--palestinian-black);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.about-history h4 i {
    margin-left: 10px;
    color: var(--palestinian-red);
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 40px;
    background: linear-gradient(#ffe97f, #ffe97f 0%, #ffd93d 50%, #ffed4a 100%);
    border-radius: 15px;
    color: var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1;
}

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

/* Mission and Goals Section */
.mission-goals-section {
    margin-bottom: 80px;
}

.mission-section,
.goals-section {
    margin-bottom: 60px;
}

.mission-grid,
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mission-card,
.goal-card {
    background: white !important;
    color: white !important;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.mission-card::before,
.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffe97f, #ffd93d, #f59e0b);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.mission-card:hover,
.goal-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 233, 127, 0.4);
    border-color: rgba(255, 233, 127, 0.6);
}

/* Different golden gradients for variety */
.mission-card:nth-child(1),
.goal-card:nth-child(1) {
    background: linear-gradient(135deg, #ffe97f, #ffd93d) !important;
}

.mission-card:nth-child(2),
.goal-card:nth-child(2) {
    background: linear-gradient(135deg, #ffd93d, #f59e0b) !important;
}

.mission-card:nth-child(3),
.goal-card:nth-child(3) {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
}

.mission-card:nth-child(4),
.goal-card:nth-child(4) {
    background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
}

.mission-icon,
.goal-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon,
.goal-card:hover .goal-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
}

.mission-icon i,
.goal-icon i {
    font-size: 1.8rem;
    color: white !important;
}

.mission-content h4,
.goal-content h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: white !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mission-content p,
.goal-content p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1rem;
}

/* Activities Gallery */
.activities-gallery {
    margin-bottom: 80px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.activity-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.activity-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.25);
    border-color: rgba(30, 58, 138, 0.3);
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6, #1e40af);
    z-index: 1;
}

.activity-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.05);
}

.activity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 58, 138, 0.7), 
        rgba(59, 130, 246, 0.4)
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.activity-card:hover .activity-overlay {
    opacity: 1;
}

.activity-type {
    background:linear-gradient(135deg, #ffe97f, #ffd93d);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
    backdrop-filter: blur(10px);
}

.activity-date {
    background: linear-gradient(135deg, #ffe97f, #ffd93d);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    align-self: flex-end;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
    backdrop-filter: blur(10px);
}

.activity-content {
    padding: 25px;
}

.activity-content h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #000000;
    font-weight: 700;
}

.activity-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
}

.activity-location,
.activity-participants {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 0.95rem;
}

.activity-location i,
.activity-participants i {
    margin-left: 8px;
    color: 135deg, #ffe97f, #ffd93d, #f59e0b;
}

/* Team Section */
.team-section {
    margin-bottom: 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffe97f, #ffd93d, #f59e0b);
    animation: shimmer 3s ease-in-out infinite;
}

.team-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 233, 127, 0.4);
    border-color: rgba(255, 233, 127, 0.6);
}

.team-photo {
    width: 130px;
    height: 130px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffe97f;
    box-shadow: 0 8px 25px rgba(255, 233, 127, 0.4);
    transition: all 0.3s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 233, 127, 0.6);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffe97f, #ffd93d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    font-size: 2.2rem;
}

.team-info h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #f59e0b;
    font-weight: 700;
}

.team-info .position {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffe97f, #ffd93d);
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(255, 233, 127, 0.4);
}

.team-info .position-desc,
.team-info .faculty,
.team-info .major {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.member-quote {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 15px;
    border-right: 4px solid #1e3a8a;
    position: relative;
}

.member-quote i {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #1e3a8a;
    font-size: 1.4rem;
}

.member-quote p {
    font-style: italic;
    color: #64748b;
    margin-right: 25px;
    line-height: 1.6;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 45px;
    height: 45px;
    background:linear-gradient(135deg, #ffe97f, #ffd93d);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.social-link:hover {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 18px rgba(30, 58, 138, 0.4);
}

/* Social Media Section */
.social-media-section {
    margin-bottom: 40px;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.social-platform-link {
    display: flex;
    align-items: center;
    padding: 25px;
    background: var(--white);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-platform-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffe97f, #ffd93d, #f59e0b);
}

.social-platform-link:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 233, 127, 0.3);
    border-color: rgba(255, 233, 127, 0.5);
}

.social-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffe97f, #ffd93d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    box-shadow: 0 4px 15px rgba(255, 233, 127, 0.4);
    transition: all 0.3s ease;
}

.social-platform-link:hover .social-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 233, 127, 0.6);
}

.social-icon i {
    font-size: 1.5rem;
    color: #1e293b;
}

.social-info h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #f59e0b;
    font-weight: 700;
}

.social-info p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .about-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .mission-grid,
    .goals-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
    }
    
    .palestine-flag {
        margin-top: 20px;
    }
    
    .flag-section {
        width: 40px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-hero {
        margin-bottom: 60px;
    }
    
    .about-hero-image,
    .about-hero-video {
        height: 300px;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
    }
    
    .mission-card,
    .goal-card,
    .team-card {
        padding: 20px;
    }
    
    .activity-content {
        padding: 20px;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
} 

/* Enhanced News Styles */
.news-image {
    position: relative;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.breaking-badge,
.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.breaking-badge {
    background: #dc2626;
    color: white;
}

.featured-badge {
    background: #1e3a8a;
    color: white;
    top: 50px;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.news-category {
    background: var(--palestinian-green);
    color: var(--white);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.news-location {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.news-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.news-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-section-footer {
    text-align: center;
    margin-top: 3rem;
}

.news-section-footer .btn {
    background: linear-gradient(135deg, #ffe97f, #ffd93d);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.news-section-footer .btn:hover {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.no-news {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    border: 2px dashed rgba(30, 58, 138, 0.3);
}

.no-news i {
    font-size: 4rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.no-news p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* News Detail Page */
.news-detail-container {
    padding: 2rem 0;
}

.breadcrumb {
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: var(--primary-yellow);
    text-decoration: none;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--text-light);
}

.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 600;
}

.news-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.news-header {
    margin-bottom: 2rem;
}

.news-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.breaking-badge {
    background: var(--red-accent);
    color: var(--white);
}

.badge.featured-badge {
    background: var(--primary-navy);
    color: var(--white);
    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.3);
}

.badge.category-badge {
    background: var(--palestinian-green);
    color: var(--white);
}

.news-title {
    font-size: 2.5rem;
    color: var(--palestinian-black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.news-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-meta > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-main-image {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
}

.news-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.news-content {
    margin: 2rem 0;
}

.news-description .lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.news-full-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.news-gallery {
    margin: 3rem 0;
}

.news-gallery h3 {
    color: var(--palestinian-black);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.news-video {
    margin: 3rem 0;
}

.news-video h3 {
    color: var(--palestinian-black);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.video-embed,
.video-player {
    border-radius: 15px;
    overflow: hidden;
}

.video-embed iframe,
.video-player video {
    width: 100%;
    height: 400px;
}

.event-details {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.event-details h3 {
    color: var(--palestinian-black);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.event-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.event-item i {
    color: var(--primary-yellow);
}

.news-share {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 2px solid var(--primary-yellow);
}

.news-share h4 {
    color: var(--palestinian-black);
    margin-bottom: 1rem;
    text-align: center;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
    color: var(--white);
}

.share-btn.twitter {
    background: #1da1f2;
    color: var(--white);
}

.share-btn.whatsapp {
    background: #25d366;
    color: var(--white);
}

.share-btn.telegram {
    background: #0088cc;
    color: var(--white);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* News Sidebar */
.news-sidebar {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    width: fit-content;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    color: var(--palestinian-black);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary-yellow);
    padding-bottom: 0.5rem;
}

.breaking-news-item,
.related-news-item,
.featured-news-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.breaking-news-item:last-child,
.related-news-item:last-child,
.featured-news-item:last-child {
    border-bottom: none;
}

.breaking-news-img,
.related-news-img,
.featured-news-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.breaking-news-content h4,
.related-news-content h4,
.featured-news-content h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.breaking-news-content h4 a,
.related-news-content h4 a,
.featured-news-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
}

.breaking-news-content h4 a:hover,
.related-news-content h4 a:hover,
.featured-news-content h4 a:hover {
    color: var(--primary-yellow);
}

.breaking-news-date,
.related-news-date,
.featured-news-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* News List Page */
.news-list-container {
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--palestinian-black);
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.2rem;
}

.breaking-news-ticker {
    background: var(--red-accent);
    color: var(--white);
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ticker-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
}

.ticker-items {
    display: flex;
    gap: 2rem;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ticker-item a {
    color: var(--white);
    text-decoration: none;
    white-space: nowrap;
}

.ticker-item a:hover {
    text-decoration: underline;
}

.news-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.news-filters {
    margin-bottom: 2rem;
}

.news-filters h3 {
    color: var(--palestinian-black);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--primary-yellow);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-yellow);
    color: var(--palestinian-black);
    transform: translateY(-2px);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--primary-yellow);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--primary-yellow);
    color: var(--palestinian-black);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--primary-yellow);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.pagination-number:hover,
.pagination-current {
    background: var(--primary-yellow);
    color: var(--palestinian-black);
}

.pagination-current {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-yellow);
    color: var(--palestinian-black);
    border: 2px solid var(--primary-yellow);
    border-radius: 50%;
    font-weight: 600;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.search-form input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid var(--primary-yellow);
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.search-form button {
    padding: 0.8rem 1.2rem;
    background: var(--primary-yellow);
    color: var(--palestinian-black);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: var(--accent-yellow);
}

.quick-links {
    list-style: none;
}

.quick-links li {
    margin-bottom: 0.5rem;
}

.quick-links a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.quick-links a:hover {
    background: var(--primary-yellow);
    color: var(--palestinian-black);
}

/* Responsive Design for News */
@media (max-width: 768px) {
    .news-detail-content,
    .news-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-title {
        font-size: 1.8rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-btn {
        justify-content: center;
    }
    
    .pagination {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination-numbers {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Authentication Styles */
.student-dashboard-preview {
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.welcome-message {
    text-align: center;
    margin-bottom: 25px;
}

.welcome-message h4 {
    color: var(--palestinian-black);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.welcome-message p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.dashboard-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.dashboard-card {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: var(--text-dark);
}

.dashboard-card i {
    font-size: 2rem;
    color: var(--primary-yellow);
    margin-bottom: 10px;
}

.dashboard-card span {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
}

.auth-invitation {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.2);
    position: relative;
    overflow: hidden;
}

.auth-invitation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.auth-invitation > * {
    position: relative;
    z-index: 2;
}

.auth-message {
    margin-bottom: 25px;
}

.auth-message i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.auth-message h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #000000 !important;
    
}

.auth-message p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #000000 !important;

}

.auth-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-buttons .btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.auth-buttons .btn-primary {
    background: var(--primary-yellow);
    color:#000000;
}

.auth-buttons .btn-primary:hover {
    background: var(--accent-yellow);
    transform: translateY(-2px);
}

.auth-buttons .btn-secondary {
    background: transparent;
    color: black;
    border-color: var(--white);
}

.auth-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--palestinian-red);
}

@media (max-width: 768px) {
    .dashboard-quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .auth-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .auth-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ================================================
   Modern News Section Styles
   ================================================ */

.news-section-modern {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.news-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(30,58,138,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(30,58,138,0.03)"/><circle cx="75" cy="25" r="1" fill="rgba(30,58,138,0.03)"/><circle cx="25" cy="75" r="1" fill="rgba(30,58,138,0.03)"/></pattern></defs><rect width="100" height="100" fill="url("#grain#grain")"/></svg>');
    pointer-events: none;
}

.news-header-modern {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.news-title-main {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #000000, #000000, #000000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.news-title-main i {
    color: #1e3a8a;
    -webkit-text-fill-color: 135deg, #ffe97f, #ffd93d, #f59e0b;
}

.section-divider-news {
    width: 100px;
    height: 5px;
    background: linear-gradient(135deg, #ffe97f, #ffd93d, #f59e0b);
    margin: 0 auto 25px;
    border-radius: 3px;
    animation: shimmer 3s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

.news-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.news-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-card-modern {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.news-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ffe97f, #ffd93d, #f59e0b);
    animation: shimmer 3s ease-in-out infinite;
}

.news-card-modern:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(30, 58, 138, 0.25);
    border-color: rgba(30, 58, 138, 0.2);
}

.news-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card-modern:hover .news-image-modern {
    transform: scale(1.1);
}

.news-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
}

.news-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.news-badge.breaking-modern {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    animation: pulse 2s infinite;
}

.news-badge.featured-modern {
    background: linear-gradient(135deg, #ffe97f, #ffd93d);
    color: #1e293b;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.news-placeholder-modern {
    height: 220px;
    background: linear-gradient(135deg, #ffe97f, #ffd93d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    font-size: 3rem;
}

.news-content-modern {
    padding: 30px;
    position: relative;
    text-align: right;
    direction: rtl;
}

.news-date-modern {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ffe97f, #ffd93d);
    color: #1e293b;
    padding: 12px 18px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(255, 233, 127, 0.4);
    min-width: 70px;
    z-index: 10;
}

.day-modern {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

.month-modern {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 2px;
}

.news-category-modern {
    display: inline-block;
    background: linear-gradient(135deg, #ffe97f, #ffd93d);
    color: #1e293b;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title-modern {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-description-modern {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-location-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 25px;
    font-weight: 500;
    direction: rtl;
}

.news-location-modern i {
    color: #1e3a8a;
}

.news-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid #f1f5f9;
}

.news-read-more {
    background: linear-gradient(135deg, #ffe97f, #ffd93d, #f59e0b);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.news-read-more:hover {
    background: linear-gradient(135deg, #ffe97f, #ffd93d, #f59e0b);
    color: white;
    transform: translateX(-5px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.news-stats-modern {
    display: flex;
    align-items: center;
    gap: 15px;
}

.views-modern {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.views-modern i {
    color: #1e3a8a;
}

.news-section-actions {
    text-align: center;
    margin-top: 60px;
}

.news-view-all-btn {
    background: linear-gradient(135deg, #ffe97f, #ffd93d, #f59e0b);
    color: white;
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.25);
    border: 3px solid transparent;
}

.news-view-all-btn:hover {
    background: linear-gradient(135deg, #ffe97f, #ffd93d, #f59e0b);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.35);
    border-color: rgba(255, 255, 255, 0.2);
}

.no-news-modern {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.12);
    max-width: 600px;
    margin: 0 auto;
}

.no-news-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ffe97f, #ffd93d, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 3rem;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.3);
}

.no-news-modern h4 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.no-news-modern p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .news-section-modern {
        padding: 60px 0;
    }
    
    .news-grid-modern {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .news-title-main {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .news-content-modern {
        padding: 25px 20px;
    }
    
    .news-date-modern {
        top: 15px;
        left: 15px;
        padding: 10px 15px;
        min-width: 60px;
    }
    
    .day-modern {
        font-size: 1.2rem;
    }
    
    .month-modern {
        font-size: 0.8rem;
    }
    
    .news-title-modern {
        font-size: 1.2rem;
    }
    
    .news-description-modern {
        font-size: 0.95rem;
    }
    
    .news-footer-modern {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .news-read-more {
        justify-content: center;
    }
    
    .news-view-all-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .no-news-modern {
        padding: 60px 30px;
    }
    
    .no-news-icon {
                 width: 100px;
         height: 100px;
         font-size: 2.5rem;
     }
 }

/* ================================================
   Modern Search Bar Styles
   ================================================ */

.services-search-bar {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.12);
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.services-search-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6, #1e40af);
    animation: shimmer 3s ease-in-out infinite;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.search-container:hover {
    border-color: #3b82f6;
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.25);
    transform: translateY(-2px);
}

.search-container:focus-within {
    border-color: #1e3a8a;
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.3);
    transform: translateY(-4px);
}

#services-search {
    width: 100%;
    padding: 18px 25px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.1rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
    color: #1e293b;
    text-align: right;
    direction: rtl;
}

#services-search::placeholder {
    color: #64748b;
    font-weight: 400;
    opacity: 0.8;
}

#services-search:focus::placeholder {
    opacity: 0.5;
}

#search-services-btn {
    padding: 18px 25px;
    background: linear-gradient(135deg, #ffe97f, #ffd93d);
    border: none;
    border-radius: 0 18px 18px 0;
    color: #1e293b;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#search-services-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#search-services-btn:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.4);
}

#search-services-btn:hover::before {
    left: 100%;
}

#search-services-btn:active {
    transform: scale(0.98);
}

#search-services-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

#search-services-btn:hover i {
    transform: scale(1.1);
}

/* Search bar with icon on left for LTR text */
.search-container.ltr-search {
    flex-direction: row-reverse;
}

.search-container.ltr-search #search-services-btn {
    border-radius: 18px 0 0 18px;
}

.search-container.ltr-search #services-search {
    text-align: left;
    direction: ltr;
}

/* Enhanced search bar with suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.15);
    border: 2px solid #e2e8f0;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-suggestion-item {
    padding: 15px 25px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: right;
    direction: rtl;
}

.search-suggestion-item:hover {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #1e3a8a;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item i {
    color: #3b82f6;
    margin-left: 10px;
    width: 20px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .services-search-bar {
        padding: 25px 20px;
        margin: 30px 0;
    }
    
    .search-container {
        max-width: 100%;
    }
    
    #services-search {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    #search-services-btn {
        padding: 15px 20px;
        min-width: 60px;
    }
    
         #search-services-btn i {
         font-size: 1.1rem;
     }
 }

/* ================================================
   Global Page Styles & Base Template Improvements
   ================================================ */

/* Enhanced page container */
.main-content {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(30,58,138,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(30,58,138,0.03)"/><circle cx="75" cy="25" r="1" fill="rgba(30,58,138,0.03)"/><circle cx="25" cy="75" r="1" fill="rgba(30,58,138,0.03)"/></pattern></defs><rect width="100" height="100" fill="url("#grain#grain")"/></svg>');
    pointer-events: none;
}

/* Universal section styling */
.section-modern {
    padding: 80px 0;
    position: relative;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title-modern {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #000000, #000000, #000000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title-modern i {
    color: #000000;
    -webkit-text-fill-color: #000000;
}

.section-divider-modern {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #000000, #ffd93d, #f59e0b);
    margin: 0 auto 25px;
    border-radius: 3px;
    
    box-shadow: 0 2px 8px rgba(255, 233, 127, 0.4);
}

.section-subtitle-modern {
    font-size: 1.3rem;
    color: #64748b;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Universal card styling */
.card-modern {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 233, 127, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffe97f, #ffd93d, #f59e0b);
    
}

.card-modern:hover {
   
    box-shadow: 0 30px 60px rgba(255, 233, 127, 0.35);
    border-color: rgba(255, 233, 127, 0.4);
}

.card-content-modern {
    padding: 30px;
    text-align: right;
    direction: rtl;
}

/* Universal button styling */
.btn-modern {
    background: linear-gradient(135deg, #ffe97f, #ffd93d);
    color: #1e293b;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(255, 233, 127, 0.4);
}

.btn-modern:hover {
    background: linear-gradient(135deg, #ffd93d, #f59e0b);
    color: #1e293b;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 233, 127, 0.6);
}

.btn-modern.btn-secondary {
    background: linear-gradient(135deg, #64748b, #94a3b8);
}

.btn-modern.btn-secondary:hover {
    background: linear-gradient(135deg, #475569, #64748b);
}

.btn-modern.btn-success {
    background: linear-gradient(135deg, #059669, #10b981);
}

.btn-modern.btn-success:hover {
    background: linear-gradient(135deg, #047857, #059669);
}

.btn-modern.btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.btn-modern.btn-danger:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
}

/* Universal form styling */
.form-modern {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.12);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.form-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6, #1e40af);
   
}

.form-group-modern {
    margin-bottom: 25px;
}

.form-label-modern {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    display: block;
    font-size: 1rem;
}

.form-control-modern {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: #1e293b;
    text-align: right;
    direction: rtl;
}

.form-control-modern:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: white;
    outline: none;
}

.form-control-modern:hover {
    border-color: #60a5fa;
}

/* Universal grid layout */
.grid-modern {
    display: grid;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-modern.cols-1 {
    grid-template-columns: 1fr;
}

.grid-modern.cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-modern.cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-modern.cols-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Universal alert styling */
.alert-modern {
    padding: 20px 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.alert-modern.alert-success {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #065f46;
    border: 2px solid #a7f3d0;
}

.alert-modern.alert-info {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1e40af;
    border: 2px solid #93c5fd;
}

.alert-modern.alert-warning {
    background: linear-gradient(135deg, #fffbeb, #fed7aa);
    color: #92400e;
    border: 2px solid #fcd34d;
}

.alert-modern.alert-danger {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    color: #991b1b;
    border: 2px solid #f87171;
}

/* Universal badge styling */
.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-modern.badge-primary {
    background :linear-gradient(135deg, #ffe97f, #ffd93d);
    color: white;
}

.badge-modern.badge-success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
}

.badge-modern.badge-warning {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: white;
}

.badge-modern.badge-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

/* Enhanced page breadcrumbs */
.breadcrumb-modern {
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.1);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb-modern a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-modern a:hover {
    color: #1e40af;
}

.breadcrumb-modern .separator {
    color: #94a3b8;
}

.breadcrumb-modern .current {
    color: #1e293b;
    font-weight: 600;
}

/* Universal loading state */
.loading-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
}

.spinner-modern {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Universal empty state */
.empty-state-modern {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.12);
    max-width: 600px;
    margin: 0 auto;
}

.empty-icon-modern {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ffe97f, #ffd93d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 3rem;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.3);
}

.empty-state-modern h3 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.empty-state-modern p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Mobile responsiveness for all components */
@media (max-width: 768px) {
    .section-modern {
        padding: 60px 0;
    }
    
    .section-title-modern {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .card-content-modern {
        padding: 25px 20px;
    }
    
    .form-modern {
        padding: 30px 25px;
    }
    
    .grid-modern.cols-2,
    .grid-modern.cols-3,
    .grid-modern.cols-4 {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .btn-modern {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .empty-state-modern {
        padding: 60px 30px;
    }
    
    .empty-icon-modern {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}

/* Transfer Requirements Styles */
.transfer-requirements-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-navy);
}

.transfer-btn {
    background: linear-gradient(135deg, var(--accent-navy), var(--primary-navy));
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(30, 58, 138, 0.2);
    position: relative;
    overflow: hidden;
}

.transfer-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.transfer-btn:hover {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.4);
}

.transfer-btn:hover:before {
    left: 100%;
}

.transfer-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.3);
}

.major-name-english {
    font-size: 1rem;
    color: rgba(51, 65, 85, 0.8);
    margin-top: 0.5rem;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.4;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(219, 234, 254, 0.12));
    padding: 6px 12px;
    border-radius: 8px;
    border-left: 3px solid rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.major-name-english:hover {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.12), rgba(219, 234, 254, 0.18));
    border-left-color: rgba(30, 58, 138, 0.5);
    transform: translateX(2px);
    color: rgba(30, 58, 138, 0.9);
}

/* Mobile responsive styles for major name english */
@media (max-width: 768px) {
    .major-name-english {
        font-size: 0.95rem;
        padding: 5px 10px;
        margin-top: 0.4rem;
        letter-spacing: 0.2px;
    }
}

@media (max-width: 480px) {
    .major-name-english {
        font-size: 0.9rem;
        padding: 4px 8px;
        margin-top: 0.3rem;
    }
}

.career-info {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--bright-navy), rgba(219, 234, 254, 0.5));
    border-radius: 8px;
    border-left: 4px solid var(--primary-navy);
}

.career-info h5 {
    color: #000000;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.career-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}
/* Transfer Requirements Slide Styles */
.transfer-slide-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: linear-gradient(135deg, #f8faff, #e3f2fd);
    margin-top: 0;
    border-radius: 0 0 12px 12px;
    opacity: 0;
    transform: translateY(-15px);
    border: 2px solid transparent;
    position: relative;
    z-index: 10; /* Ensure slide content appears above other elements */
    width: 100%;
    box-sizing: border-box;
}

.transfer-slide-content.active {
    max-height: 1000px;
    margin-top: 1rem;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.2);
    border-color: var(--accent-navy);
}

.transfer-slide-header {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: white;
    padding: 1rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.transfer-slide-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.transfer-slide-header h6 {
    margin: 0;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.transfer-slide-body {
    padding: 0;
    background: white;
}

.requirement-section-slide {
    background: white;
    border-radius: 0;
    padding: 1.5rem;
    margin-bottom: 0;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    transition: all 0.3s ease;
}

.requirement-section-slide:hover {
    background: #fafbff;
}

.requirement-section-slide:last-child {
    border-bottom: none;
}

.requirement-section-slide h6 {
    color: var(--primary-navy);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-navy);
}

.requirement-section-slide h6 i {
    font-size: 1.2rem;
    color: white;
    background: var(--primary-navy);
    padding: 0.5rem;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

.requirement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.requirement-item-slide {
    background: linear-gradient(135deg, var(--bright-navy), #f8faff);
    padding: 1.25rem;
    border-radius: 12px;
    border: 2px solid rgba(30, 58, 138, 0.08);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.requirement-item-slide:hover {
    border-color: var(--accent-navy);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.15);
    background: white;
}

.requirement-item-slide strong {
    color: var(--dark-navy);
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requirement-item-slide span {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-navy);
    display: block;
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
}

.courses-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.course-item {
    background: linear-gradient(135deg, var(--bright-navy), #f8faff);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 2px solid rgba(30, 58, 138, 0.08);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.course-item:hover {
    border-color: var(--accent-navy);
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
}

.course-item i {
    flex-shrink: 0;
    font-size: 1.1rem;
    background: white;
    padding: 0.4rem;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.2);
}

.chevron-icon {
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

.chevron-icon.rotated {
    transform: rotate(180deg);
}

.text-primary {
    color: var(--primary-navy) !important;
}

.text-success {
    color: #28a745 !important;
}



/* Responsive adjustments for transfer requirements */
@media (max-width: 768px) {
    .transfer-slide-content {
        border-radius: 0 0 8px 8px;
        margin-top: 0.75rem;
    }
    
    .transfer-slide-header {
        padding: 1rem;
    }
    
    .transfer-slide-header h6 {
        font-size: 1rem;
        gap: 0.5rem;
    }
    
    .transfer-slide-header h6 i {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .requirement-section-slide {
        padding: 1.25rem;
    }
    
    .requirement-section-slide h6 {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        gap: 0.5rem;
    }
    
    .requirement-section-slide h6 i {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .requirement-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .requirement-item-slide {
        padding: 1rem;
    }
    
    .requirement-item-slide strong {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .requirement-item-slide span {
        font-size: 1.1rem;
        padding: 0.4rem;
    }
    
    .courses-list {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .course-item {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
        gap: 0.6rem;
    }
    
    .course-item i {
        padding: 0.35rem;
        font-size: 1rem;
    }
    
    .transfer-btn {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        justify-content: center;
    }
}

/* ==============================================
   SIMPLE NAVIGATION STYLES - BRAND NEW SYSTEM
   ============================================== */

/* Keyframe Animations */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Simple Navigation Menu */
.simple-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 1.5rem;
}

.simple-nav-menu li {
    position: relative;
}

.simple-nav-link {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 18px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
}

.simple-nav-link i.fa-chevron-down {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.8rem;
    margin-left: 4px;
}

.simple-nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #000000;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.simple-nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.simple-nav-link.auth-link {
    background: rgba(255, 255, 255, 0.1);
    color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.simple-nav-link.auth-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #000000;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.15);
}

.simple-nav-link.register-link {
    background: linear-gradient(135deg, var(--accent-navy), #4f46e5);
    color: #ffffff;
    border: 1px solid var(--accent-navy);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.simple-nav-link.register-link:hover {
    background: linear-gradient(135deg, #4f46e5, var(--accent-navy));
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(79, 70, 229, 0.4);
}

/* Simple Dropdown Styles */
.simple-dropdown {
    position: relative;
}

/* Ensure navbar container can handle dropdowns */
.navbar .container {
    position: relative;
    overflow: visible;
}

.navbar {
    overflow: visible;
    position: relative;
    z-index: 1000;
}

.header {
    position: relative;
    z-index: 1000;
    overflow: visible;
}

/* Additional positioning fixes */
.simple-nav-menu {
    position: relative;
    z-index: 100;
}

.simple-dropdown {
    position: relative;
    z-index: 100;
}

/* لجعل القائمة قابلة للتمرير عند الطول الكبير */
.simple-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    z-index: 9999;
    max-height: 300px; /* يمكنك زيادتها حسب الطول المطلوب */
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 6px;
    display: grid !important; /* لأنك تستخدم grid */
    visibility: visible !important;
    opacity: 1 !important;
}

/* لضمان عدم حجب القائمة */
header, .navbar, .simple-dropdown {
    overflow: visible !important;
}


/* Ensure proper positioning context */
.simple-dropdown {
    position: relative !important;
}

/* Specific positioning fixes for user dropdown */
.simple-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    width: 700px !important;
    max-width: 95vw !important;
    box-shadow: 0 25px 80px rgba(30, 58, 138, 0.2), 0 15px 35px rgba(0, 0, 0, 0.15) !important;
    border-radius: 20px !important;
    z-index: 99999 !important;
    padding: 35px !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    backdrop-filter: blur(15px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.simple-dropdown-menu[style*="block"],
.simple-dropdown-menu[style="display: block;"] {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) scale(1) !important;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 50% !important;
}

/* Force display for dropdown menus */
.simple-dropdown.active .simple-dropdown-menu,
.simple-dropdown .simple-dropdown-menu[style="display: block;"] {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) scale(1) !important;
}

/* Debug style to ensure visibility */
#dropdownMenu[style*="block"],
#userDropdownMenu[style*="block"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: absolute !important;
}

#dropdownMenu[style*="block"] {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    top: calc(100% + 10px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

#userDropdownMenu[style*="block"] {
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    transform: translateX(0) !important;
}

.simple-user-menu {
    min-width: 250px !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    left: auto !important;
    right: 0 !important;
    transform: translateX(0) translateY(-10px) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    padding: 20px !important;
    top: 100% !important;
    position: absolute !important;
}

.simple-user-menu[style*="block"],
.simple-user-menu[style="display: block;"] {
    transform: translateX(0) translateY(0) !important;
    display: block !important;
    grid-template-columns: 1fr !important;
    position: absolute !important;
    top: 100% !important;
    left: auto !important;
    right: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-user-menu a {
    padding: 15px 20px !important;
    margin-bottom: 6px !important;
    border-radius: 12px !important;
    font-weight: 500 !important;
    border: 1px solid transparent !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: block !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
}

.simple-user-menu a:hover {
    background: linear-gradient(135deg, var(--bright-navy), rgba(30, 58, 138, 0.05)) !important;
    transform: translateX(3px) !important;
    border-color: rgba(30, 58, 138, 0.1) !important;
}

.simple-user-menu hr {
    margin: 12px 0 !important;
    border: none !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.3), transparent) !important;
}

.simple-dropdown-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 28px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
    min-height: 230px;
    display: flex;
    flex-direction: column;
}

.simple-dropdown-section:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
}

.simple-dropdown-section h4 {
    color: var(--primary-navy);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding: 0 0 10px 0;
    border-bottom: 3px solid var(--accent-navy);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.simple-dropdown-section h4::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-navy);
    border-radius: 50%;
    flex-shrink: 0;
}

.simple-dropdown-section a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--dark-navy);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.simple-dropdown-section a:hover {
    background: linear-gradient(135deg, var(--bright-navy), rgba(30, 58, 138, 0.05));
    color: var(--primary-navy);
    text-decoration: none;
    transform: translateX(5px);
    border-color: rgba(30, 58, 138, 0.1);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.1);
}

.simple-dropdown-section a i {
    color: var(--primary-navy);
    width: 20px;
    height: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.simple-dropdown-section a:hover i {
    background: var(--primary-navy);
    color: white;
    transform: scale(1.1);
}

/* Simple Hamburger */
.simple-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.simple-hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.simple-hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.simple-hamburger.active {
    background: rgba(255, 255, 255, 0.25);
}

.simple-hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background: #ef4444;
}

.simple-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.simple-hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background: #ef4444;
}

/* Tablet and small desktop adjustments */
@media (max-width: 1024px) {
    .simple-dropdown-menu {
        width: 600px;
        max-width: 90vw;
    }
}

@media (max-width: 900px) {
    .simple-dropdown-menu {
        width: 90vw !important;
        max-width: 90vw !important;
        left: 5vw !important;
        right: 5vw !important;
        transform: translateX(0) translateY(-15px) scale(0.95) !important;
        padding: 25px !important;
    }
    
    .simple-dropdown-menu[style*="block"],
    .simple-dropdown-menu[style="display: block;"] {
        transform: translateX(0) translateY(0) scale(1) !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .simple-user-menu {
        left: auto !important;
        right: 5vw !important;
        width: 300px !important;
        max-width: 90vw !important;
        position: absolute !important;
        top: 100% !important;
        transform: translateX(0) translateY(0) !important;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .simple-nav-menu {
        position: fixed;
        top: 183px;
        left: -100%;
        width: 100%;
        height: calc(90vh - 80px);
        background: linear-gradient(135deg, var(--primary-navy) 0%, #ffc107 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 2rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
        backdrop-filter: blur(20px);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
    }
}

    .simple-nav-menu.mobile-active {
        left: 0;
    }

    .simple-nav-menu li {
        margin-bottom: 0.5rem;
        transform: translateX(-50px);
        opacity: 0;
        animation: slideInFromLeft 0.6s ease forwards;
    }

    .simple-nav-menu.mobile-active li {
        transform: translateX(0);
        opacity: 1;
    }

    .simple-nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .simple-nav-menu li:nth-child(2) { animation-delay: 0.2s; }
    .simple-nav-menu li:nth-child(3) { animation-delay: 0.3s; }
    .simple-nav-menu li:nth-child(4) { animation-delay: 0.4s; }
    .simple-nav-menu li:nth-child(5) { animation-delay: 0.5s; }
    .simple-nav-menu li:nth-child(6) { animation-delay: 0.6s; }

    .simple-nav-link {
        padding: 18px 24px;
        font-size: 1.1rem;
        justify-content: flex-start;
        margin-bottom: 8px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        /* Enhanced mobile touch support */
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        touch-action: manipulation !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        -khtml-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
        cursor: pointer !important;
    }

    .simple-nav-link:hover,
    .simple-nav-link:active,
    .simple-nav-link:focus {
        background: rgba(255, 255, 255, 0.2);
        transform: translateX(10px);
        box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
    }

    /* Mobile dropdown styles */
    .simple-dropdown-menu {
        position: static !important;
        min-width: auto !important;
        width: 100% !important;
        box-shadow: none !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        margin-top: 10px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 15px !important;
        border-radius: 15px !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    .simple-dropdown-menu[style*="block"],
    .simple-dropdown-menu[style="display: block;"] {
        display: block !important;
        grid-template-columns: 1fr !important;
        position: static !important;
        transform: none !important;
        width: 100% !important;
        max-width: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .simple-dropdown-section {
        margin-bottom: 15px;
        background: rgba(255, 255, 255, 0.9) !important;
        border-radius: 10px !important;
        padding: 15px !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
    }

    .simple-dropdown-section:last-child {
        margin-bottom: 0;
    }

    .simple-dropdown-section h4 {
        color: var(--dark-navy) !important;
        font-size: 1rem !important;
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
        border-bottom: 2px solid var(--accent-navy) !important;
    }

    .simple-dropdown-section a {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        touch-action: manipulation !important;
        padding: 12px 16px !important;
        margin-bottom: 5px !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.7) !important;
        color: var(--dark-navy) !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
    }

    .simple-dropdown-section a:hover,
    .simple-dropdown-section a:active,
    .simple-dropdown-section a:focus {
        background: var(--bright-navy) !important;
        color: var(--primary-navy) !important;
        transform: translateX(5px) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    .simple-dropdown-section a i {
        margin-left: 8px !important;
        color: var(--primary-navy) !important;
        background: rgba(255, 233, 127, 0.2) !important;
        padding: 6px !important;
        border-radius: 6px !important;
        width: 28px !important;
        height: 28px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .simple-hamburger {
        display: flex;
    }

    /* Fix for mobile dropdown positioning conflicts */
    #dropdownMenu,
    #userDropdownMenu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        max-width: none !important;
    }

    /* Specific styling for user dropdown on mobile */
    #userDropdownMenu {
        background: rgba(255, 255, 255, 0.98) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        border-radius: 15px !important;
        padding: 20px !important;
        margin-top: 10px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    }

    #userDropdownMenu a {
        display: flex !important;
        align-items: center !important;
        padding: 15px 20px !important;
        margin-bottom: 8px !important;
        background: rgba(255, 255, 255, 0.8) !important;
        border-radius: 10px !important;
        color: var(--dark-navy) !important;
        text-decoration: none !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        transition: all 0.3s ease !important;
        min-height: 50px !important;
        touch-action: manipulation !important;
    }

    #userDropdownMenu a:hover,
    #userDropdownMenu a:active,
    #userDropdownMenu a:focus {
        background: var(--bright-navy) !important;
        color: var(--primary-navy) !important;
        transform: translateX(5px) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    #userDropdownMenu a i {
        margin-left: 10px !important;
        color: var(--primary-navy) !important;
        background: rgba(255, 233, 127, 0.3) !important;
        padding: 8px !important;
        border-radius: 8px !important;
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    #userDropdownMenu hr {
        margin: 15px 0 !important;
        border: none !important;
        height: 1px !important;
        background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent) !important;
    }

    /* Ensure proper visibility on mobile */
    .simple-dropdown-menu[style*="display: block"],
    #userDropdownMenu[style*="display: block"] {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: static !important;
        transform: none !important;
    }

    /* Force visibility for user dropdown specifically */
    .simple-user-menu[style*="display: block"] {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: static !important;
        width: 100% !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .simple-dropdown-menu {
        width: 95vw !important;
        left: 2.5vw !important;
        right: 2.5vw !important;
        padding: 20px !important;
        border-radius: 15px !important;
        gap: 20px !important;
    }
    
    .simple-dropdown-menu[style*="block"],
    .simple-dropdown-menu[style="display: block;"] {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }
    
    .simple-dropdown-section {
        min-height: auto !important;
        padding: 22px !important;
    }
}

/* Dropdown Menu Styles */

/* ===== DROPDOWN POSITIONING FIXES ===== */

/* Specific positioning fixes for user dropdown */
#userDropdown {
    position: relative !important;
}

#userDropdown .simple-dropdown-menu {
    right: 0 !important;
    left: auto !important;
    top: calc(100% + 8px) !important;
    transform: none !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 350px !important;
    padding: 25px !important;
    white-space: nowrap !important;
}

/* Services dropdown positioning */
#servicesDropdown {
    position: relative !important;
}

#servicesDropdown .simple-dropdown-menu {
    left: 50% !important;
    right: auto !important;
    top: calc(100% + 10px) !important;
    transform: translateX(-50%) !important;
    width: 432px !important;
    max-width: 95vw !important;
}

/* Force visibility when displayed */
#dropdownMenu[style*="display: block"],
#userDropdownMenu[style*="display: block"] {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure dropdowns don't overflow containers */
.navbar, .header {
    overflow: visible !important;
}

.simple-nav-menu {
    overflow: visible !important;
}

/* Mission and Goals Combined Section - Compact Style */
.mission-goals-combined-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    margin: 30px 0;
}

.mission-goals-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.mission-goal-card-compact {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(107, 159, 219, 0.08);
    border: 1px solid rgba(107, 159, 219, 0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 160px;
}

.mission-goal-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(107, 159, 219, 0.15);
    border-color: rgba(107, 159, 219, 0.25);
}

.card-icon-compact {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(107, 159, 219, 0.2);
}

.card-icon-compact i {
    font-size: 22px;
    color: var(--white);
}

.card-content-compact h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-content-compact p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.card-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, rgba(107, 159, 219, 0.9) 0%, rgba(90, 139, 199, 0.9) 100%);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mission-goals-grid-compact {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .mission-goal-card-compact {
        padding: 16px;
        min-height: 140px;
    }
    
    .card-icon-compact {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    .card-icon-compact i {
        font-size: 20px;
    }
    
    .card-content-compact h5 {
        font-size: 15px;
    }
    
    .card-content-compact p {
        font-size: 12px;
    }
}

/* ====== STUDENT COHORTS SECTION STYLES ====== */
.student-cohorts-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.cohorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.cohort-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.cohort-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.15);
}

.cohort-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.cohort-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cohort-title i {
    color: var(--primary-navy);
    font-size: 1.3rem;
}

.cohort-name {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-style: italic;
}

.cohort-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
}

.cohort-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    background: #f8fafc;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.cohort-meta i {
    color: var(--primary-navy);
    font-size: 0.8rem;
}

.cohort-description {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid var(--primary-navy);
}

.cohort-description p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Featured Links */
.featured-links {
    margin-bottom: 25px;
}

.featured-links h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-links i {
    color: #f59e0b;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.featured-link {
    display: block;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: white;
    padding: 20px 15px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.featured-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.featured-link:hover::before {
    left: 100%;
}

.featured-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 233, 127, 0.3);
    color: white;
}

.link-icon {
    text-align: center;
    margin-bottom: 12px;
}

.link-icon i {
    font-size: 1.8rem;
    opacity: 0.9;
}

.link-content h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
}

.link-content p {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.4;
}

.link-type {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    display: block;
    text-align: center;
    font-weight: 500;
}

/* Regular Links */
.regular-links h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.regular-links i {
    color: var(--primary-navy);
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.regular-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.regular-link:hover {
    background: var(--primary-navy);
    color: white;
    transform: translateX(5px);
    border-color: var(--primary-navy);
}

.regular-link i {
    font-size: 1.1rem;
    color: var(--primary-navy);
    width: 20px;
    text-align: center;
}

.regular-link:hover i {
    color: white;
}

.regular-link span {
    flex: 1;
    font-weight: 500;
}

.regular-link .link-type {
    background: #e2e8f0;
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
}

.regular-link:hover .link-type {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* No Links State */
.no-links {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 15px;
    border: 2px dashed #e2e8f0;
}

.no-links i {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.no-links p {
    color: var(--text-muted);
    margin: 0;
    font-style: italic;
}

/* Cohort Footer */
.cohort-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.links-count {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.links-count i {
    color: var(--primary-navy);
}

/* Cohorts Info */
.cohorts-info {
    max-width: 800px;
    margin: 0 auto;
}

.cohorts-info .info-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.08);
    border-left: 5px solid var(--primary-navy);
}

.cohorts-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cohorts-info h4 i {
    color: var(--primary-navy);
}

.cohorts-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cohorts-info li {
    padding: 10px 0;
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.cohorts-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--green-accent);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cohorts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cohort-card {
        padding: 20px;
    }
    
    .cohort-title {
        font-size: 1.3rem;
    }
    
    .cohort-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-link {
        padding: 15px;
    }
    
    .regular-link {
        padding: 10px 12px;
    }
    
    .cohorts-info .info-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .student-cohorts-section {
        padding: 50px 0;
    }
    
    .cohort-card {
        padding: 15px;
    }
    
    .cohort-title {
        font-size: 1.2rem;
    }
    
    .featured-link {
        padding: 12px;
    }
}


/* ====================================
   About Section - New Simple Design
   ==================================== */

.about-section-new {
    background: var(--off-white);
    padding: 80px 0;
    direction: rtl;
}

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

.about-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
    background: #000000;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.about-main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.about-image-section {
    order: 2;
}

.about-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-main-image:hover {
    transform: scale(1.02);
}

.about-default-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.about-default-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="flag-pattern" patternUnits="userSpaceOnUse" width="100" height="100"><rect width="100" height="25" fill="%23000000" opacity="0.1"/><rect y="25" width="100" height="25" fill="%23FFFFFF" opacity="0.1"/><rect y="50" width="100" height="25" fill="%23007A3D" opacity="0.1"/><rect y="75" width="100" height="25" fill="%23CE1126" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23flag-pattern)"/></svg>');
    opacity: 0.3;
}

.default-image-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    position: relative;
}

.default-image-content i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.default-image-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.default-image-content p {
    font-size: 1rem;
    opacity: 0.8;
    margin: 0;
}

.about-text-section {
    order: 1;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.about-history {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    border-right: 4px solid var(--primary-navy);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.about-history h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-history h3 i {
    color: var(--primary-navy);
}

.history-content {
    color: var(--text-light);
    line-height: 1.7;
}

/* إحصائيات الحركة */
.about-stats-section {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-stats-section h3 {
    text-align: center;
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.about-stats-section h3 i {
    color: var(--primary-navy);
}

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

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    border-radius: 15px;
    color: var(--white);
    transition: transform 0.3s ease;
}

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

.stat-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

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

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

/* رسائل وأهداف */
.missions-goals-section {
    margin-bottom: 60px;
}

.missions-goals-section h3 {
    text-align: center;
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.missions-goals-section h3 i {
    color: var(--primary-navy);
}

.missions-goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.mission-goal-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.card-type {
    background: var(--light-gray);
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.mission-goal-card h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.mission-goal-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* أعضاء الفريق */
.team-section {
    margin-bottom: 60px;
}

.team-section h3 {
    text-align: center;
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.team-section h3 i {
    color: var(--primary-navy);
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.member-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.member-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--primary-navy);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
    font-size: 2rem;
}

.member-info h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.member-position {
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 10px;
}

.member-faculty,
.member-major {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.member-quote {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    position: relative;
}

.member-quote i {
    color: var(--primary-navy);
    position: absolute;
    top: 10px;
    right: 10px;
}

.member-quote p {
    font-style: italic;
    color: var(--text-dark);
    margin: 0;
    font-size: 0.9rem;
}

.member-contact {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.contact-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.contact-link:hover {
    background: var(--secondary-navy);
    color: var(--white);
}

/* معرض الأنشطة */
.activities-section h3 {
    text-align: center;
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.activities-section h3 i {
    color: var(--primary-navy);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.activity-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.activity-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: black;
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.activity-content {
    padding: 20px;
}

.activity-content h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.activity-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.activity-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.activity-details span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.activity-details i {
    color: var(--primary-navy);
}

/* المحتوى الافتراضي */
.about-default .about-features {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.about-default .about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.about-default .about-features i {
    color: var(--primary-navy);
    font-size: 1.2rem;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .about-main-title {
        font-size: 2rem;
        color: #000000;
    }
    
    .about-main-content {
        gap: 30px;
    }
    
    .about-main-image {
        height: 250px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .missions-goals-grid {
        grid-template-columns: 1fr;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats-section,
    .about-history {
        padding: 20px;
    }
}

@media (min-width: 769px) {
    .about-main-content {
        grid-template-columns: 2fr 1fr;
        align-items: center;
        gap: 50px;
    }
    
    .about-text-section {
        order: 1;
        padding-left: 20px;
    }
    
    .about-image-section {
        order: 2;
    }
}

@media (min-width: 1200px) {
    .about-main-content {
        grid-template-columns: 3fr 2fr;
        gap: 60px;
    }
    
    .about-text-section {
        padding-left: 40px;
    }
}

/* ====== FACULTY COMMITTEE SECTION STYLES ====== */
.faculty-committee-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-gray) 100%);
    position: relative;
}

.faculty-committee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-navy), var(--accent-navy), var(--primary-navy));
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.committee-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.committee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-navy), var(--accent-navy));
    opacity: 0.8;
}

.committee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 233, 127, 0.3);
    border-color: var(--primary-navy);
}

.committee-card.primary-contact {
    border: 2px solid var(--primary-navy);
    background: linear-gradient(135deg, var(--white) 0%, #fffcf0 100%);
}

.committee-card.primary-contact::before {
    height: 6px;
    background: linear-gradient(90deg, var(--primary-navy), var(--accent-navy), var(--primary-navy));
}

.primary-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(45deg, var(--primary-navy), var(--accent-navy));
    color: var(--text-dark);
    padding: 8px 15px;
    border-radius: 0 18px 0 15px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(255, 233, 127, 0.4);
}

.primary-badge i {
    font-size: 0.9rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.committee-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.committee-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-navy));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(255, 233, 127, 0.3);
    transition: transform 0.3s ease;
}

.committee-card:hover .committee-icon {
    transform: rotate(360deg) scale(1.1);
}

.committee-info {
    flex: 1;
}

.member-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.member-position {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0 0 8px 0;
    font-weight: 500;
}

.committee-type {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-navy), var(--accent-navy));
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 8px 5px 0;
}

.member-department {
    display: inline-block;
    background: var(--light-gray);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.committee-contact {
    margin: 20px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px;
    background: var(--off-white);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--bright-navy);
    transform: translateX(5px);
}

.contact-item i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-navy);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
    min-width: 80px;
}

.contact-value {
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--accent-navy);
}

a.contact-value:hover {
    text-decoration: underline;
}

.committee-description,
.committee-notes {
    margin-top: 20px;
    padding: 15px;
    background: var(--off-white);
    border-radius: 12px;
    border-right: 4px solid var(--primary-navy);
}

.committee-description h5,
.committee-notes h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.committee-description h5 i,
.committee-notes h5 i {
    color: var(--accent-navy);
}

.committee-description p,
.committee-notes p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.committee-info .info-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-right: 5px solid var(--primary-navy);
}

.committee-info .info-card h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.committee-info .info-card h4 i {
    color: var(--accent-navy);
    font-size: 1.1rem;
}

.committee-info .info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.committee-info .info-card li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.95rem;
    position: relative;
    padding-right: 20px;
}

.committee-info .info-card li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--green-accent);
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .committee-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .committee-card {
        padding: 20px;
        margin: 0 10px;
    }
    
    .committee-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .committee-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .member-name {
        font-size: 1.2rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        text-align: right;
    }
    
    .contact-label {
        min-width: auto;
    }
    
    .primary-badge {
        position: static;
        margin-bottom: 15px;
        border-radius: 15px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .faculty-committee-section {
        padding: 40px 0;
    }
    
    .committee-card {
        padding: 15px;
        margin: 0 5px;
    }
    
    .committee-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .member-name {
        font-size: 1.1rem;
    }
    
    .contact-item {
        padding: 8px;
    }
}

/* Faculty Hero Text Centered - Mobile Responsive */
@media (max-width: 768px) {
    .faculty-hero-text-centered {
        margin: 0 15px;
        padding: 1.5rem;
        max-width: calc(100% - 30px);
    }
    
    .faculty-hero-text-centered .faculty-hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .faculty-hero-text-centered .faculty-hero-description {
        font-size: 1.2rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .faculty-hero-text-centered {
        margin: 0 10px;
        padding: 1rem;
        max-width: calc(100% - 20px);
    }
    
    .faculty-hero-text-centered .faculty-hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .faculty-hero-text-centered .faculty-hero-description {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    /* Floor Maps - Mobile Responsive */
    .tabs-header {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 1.5rem;
    }
    
    .tabs-header i {
        font-size: 1.3rem;
    }
    
    .floor-tabs {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
    }
    
    .floor-tab {
        min-height: 80px;
    }
    
    .tab-content {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .tab-icon {
        width: 50px;
        height: 50px;
    }
    
    .tab-icon i {
        font-size: 1.5rem;
    }
    
    .floor-number {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        top: -6px;
        right: -6px;
    }
    
    .tab-title {
        font-size: 1rem;
    }
    
    .tab-preview {
        font-size: 0.8rem;
    }
    
    .tab-arrow {
        width: 25px;
        height: 25px;
    }
    
    .floor-map-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .floor-map-info {
        padding: 1.5rem;
    }
    
    .floor-title {
        font-size: 1.5rem;
    }
    
    .departments-title {
        font-size: 1.1rem;
    }
    
    .quick-access-info {
        justify-content: center;
    }
    
    .info-item {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .floor-maps-info .info-card {
        padding: 1.5rem;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .tabs-header {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .floor-tabs {
        max-width: 100%;
        margin: 0 10px;
    }
    
    .floor-tab {
        min-height: 70px;
    }
    
    .tab-content {
        padding: 0.8rem;
        gap: 0.6rem;
    }
    
    .tab-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    
    .tab-icon i {
        font-size: 1.2rem;
    }
    
    .floor-number {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
        top: -5px;
        right: -5px;
    }
    
    .tab-info {
        text-align: center;
    }
    
    .tab-title {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .tab-preview {
        font-size: 0.75rem;
        opacity: 0.7;
    }
    
    .tab-arrow {
        width: 20px;
        height: 20px;
    }
    
    .tab-arrow i {
        font-size: 0.8rem;
    }
    
    .floor-map-info {
        padding: 1rem;
    }
    
    .floor-title {
        font-size: 1.3rem;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .departments-title {
        font-size: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .quick-access-info {
        flex-direction: column;
        align-items: center;
    }
    
    .info-item {
        width: 100%;
        justify-content: center;
    }
    
    .floor-maps-info .info-card {
        padding: 1rem;
        margin: 0 5px;
    }
    
    .floor-maps-info .info-card h4 {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 5px;
    }
}

/* ===============================================
   NEW SIMPLE NAVBAR STYLES (No Animations)
   =============================================== */

/* Override existing navbar styles */
.main-navbar .navbar-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-navbar .nav-item {
    color: #000000;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
   
}

.main-navbar .nav-item:hover {
    background: #2d2d2d;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.main-navbar .auth-btn {
    background: var(--primary-navy);
    color: var(--text-dark);
    font-weight: 600;
}

.main-navbar .register-btn {
    background: var(--palestinian-green);
    color: var(--white);
}

.main-navbar .register-btn:hover {
    background: var(--hover-green);
    color: var(--white);
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--soft-gray);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    z-index: 1001;
    display: none;
    padding: 1rem;
}

.dropdown-content.user-dropdown {
    min-width: 200px;
}

.dropdown-section {
    margin-bottom: 1rem;
}

.dropdown-section:last-child {
    margin-bottom: 0;
}

.dropdown-section h4 {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid var(--primary-navy);
    font-weight: 600;
}

.dropdown-section a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    border-radius: 4px;
}

.dropdown-section a:hover {
    color: var(--primary-navy);
    background: var(--light-gray);
    padding-left: 0.5rem;
}

.dropdown-section a i {
    margin-left: 0.5rem;
    width: 16px;
    color: var(--primary-navy);
}

.dropdown-content hr {
    border: none;
    height: 1px;
    background: var(--soft-gray);
    margin: 0.5rem 0;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.mobile-toggle:hover {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Styles */
@media (max-width: 992px) {
    .main-navbar .container {
        flex-wrap: wrap;
        position: relative;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
        padding: 1rem;
        background: var(--white);
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        border: 1px solid var(--soft-gray);
    }
    
    .navbar-menu.mobile-active {
        display: flex;
    }
    
    .navbar-menu li {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .navbar-menu .nav-item {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        border-radius: 6px;
        display: block;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0.5rem 1rem;
        background: var(--light-gray);
        margin-top: 0.5rem;
        border-radius: 6px;
        width: 100%;
    }
    
    .nav-dropdown .dropdown-toggle i {
        display: none;
    }
    
    .dropdown-section {
        margin-bottom: 0.75rem;
    }
    
    .dropdown-section a {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .main-navbar .container {
        padding: 0 15px;
    }
    
    .brand-info h1 {
        font-size: 1.2rem;
    }
    
    .brand-info span {
        font-size: 0.7rem;
    }
    
    .brand-logo {
        width: 45px;
        height: 45px;
        margin-left: 10px;
    }
}

@media (max-width: 576px) {
    .main-navbar {
        padding: 0.75rem 0;
    }
    
    .main-content {
        padding-top: 80px;
    }
    
    .brand-info h1 {
        font-size: 1rem;
    }
    
    .brand-info span {
        display: none;
    }
    
    .navbar-menu {
        padding: 0.75rem;
    }
    
    .nav-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}