:root {
    --primary-color: #1A3C5A; /* Deep Blue */
    --secondary-color: #F4A261; /* Soft Orange */
    --accent-color: #2A9D8F; /* Teal */
    --light-bg: #F8FAFC;
    --dark-bg: #1A3C5A;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

body [dir="rtl"]{
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
    direction: rtl;
    text-align: right;
}

body[data-bs-theme="dark"] {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* General Section Styling */
#about {
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Timeline Styling - Removed old conflicting styles */

/* Navbar Styles */
.navbar {
    padding: 1.2rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 59, 115, 0.1);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #003B73, #4FD1C5, #003B73);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(25px);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #003B73;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #003B73, #4FD1C5);
    transition: width 0.4s ease;
}

.navbar-brand:hover::after {
    width: 100%;
}

.navbar-brand:hover {
    color: #003B73;
    transform: translateY(-1px);
    text-shadow: 0 2px 4px rgba(0, 59, 115, 0.2);
}

.brand-logo {
    height: 45px;
    margin-right: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 59, 115, 0.2);
}

.navbar.scrolled .brand-logo {
    height: 38px;
    box-shadow: 0 2px 8px rgba(0, 59, 115, 0.3);
}

.navbar-brand:hover .brand-logo {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 59, 115, 0.3);
}

.nav-link {
    position: relative;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    color: #4A5568;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    margin: 0 0.25rem;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 59, 115, 0.1), rgba(79, 209, 197, 0.1));
    border-radius: 8px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #003B73, #4FD1C5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

.nav-link:hover::before {
    opacity: 0.1;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: #003B73;
    background: rgba(0, 59, 115, 0.05);
    transform: translateY(-1px);
}

.nav-link.active {
    color: #003B73;
    font-weight: 700;
}

.nav-link.active::before {
    opacity: 0.3;
}

/* Navbar Animation Enhancements */
.navbar-nav {
    animation: slideInFromRight 0.6s ease-out;
}

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

/* Staggered animation for nav items */
.nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-item:nth-child(4) { animation-delay: 0.4s; }
.nav-item:nth-child(5) { animation-delay: 0.5s; }
.nav-item:nth-child(6) { animation-delay: 0.6s; }
.nav-item:nth-child(7) { animation-delay: 0.7s; }

/* Enhanced Language Switcher Button */
#language-switcher {
    padding: 0.75rem 1.5rem;
    border: 2px solid #003B73;
    border-radius: 25px;
    font-weight: 700;
    color: #003B73;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 59, 115, 0.2);
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-left: 1rem;
}

#language-switcher::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

#language-switcher:hover::before {
    left: 100%;
}

#language-switcher:hover {
    background: linear-gradient(135deg, #003B73, #4FD1C5);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 59, 115, 0.4);
    border-color: transparent;
}

#language-switcher:active {
    transform: translateY(-1px) scale(1.02);
}

/* Enhanced Mobile Menu Toggle */
.navbar-toggler {
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(0, 59, 115, 0.1), rgba(79, 209, 197, 0.1));
    backdrop-filter: blur(10px);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 59, 115, 0.3);
}

.navbar-toggler:hover {
    background: linear-gradient(135deg, rgba(0, 59, 115, 0.2), rgba(79, 209, 197, 0.2));
    transform: scale(1.05);
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #003B73, #4FD1C5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #003B73, #4FD1C5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.navbar-toggler-icon::before {
    transform: translateY(-10px);
}

.navbar-toggler-icon::after {
    transform: translateY(10px);
}

.navbar-toggler[aria-expanded="true"] {
    background: linear-gradient(135deg, #003B73, #4FD1C5);
    transform: scale(1.1);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    background: white;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    background: white;
}

/* Enhanced Mobile Menu Items */
@media (max-width: 991.98px) {
    body {
        padding-top: 75px;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 1.5rem;
        border-radius: 15px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        margin-top: 1rem;
        backdrop-filter: blur(20px);
        border: 1px solid rgba(0, 59, 115, 0.1);
    }

    .nav-item {
        margin: 0.75rem 0;
    }

    .nav-link {
        padding: 1rem 1.25rem;
        border-radius: 10px;
        margin: 0.25rem 0;
        font-size: 1rem;
        font-weight: 600;
    }

    .nav-link:hover {
        background: rgba(0, 59, 115, 0.08);
        color: #003B73;
        transform: translateX(3px);
    }

    .nav-link.active {
        background: linear-gradient(135deg, rgba(0, 59, 115, 0.15), rgba(79, 209, 197, 0.15));
        color: #003B73;
    }

    #language-switcher {
        margin-top: 1.5rem;
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .brand-logo {
        height: 40px;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .brand-logo {
        height: 35px;
        margin-right: 0.75rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    #language-switcher {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    #back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

/* Dark Mode Support */
[data-bs-theme="dark"] .navbar {
    background: rgba(17, 24, 39, 0.95);
}

[data-bs-theme="dark"] .navbar.scrolled {
    background: rgba(17, 24, 39, 0.98);
}

[data-bs-theme="dark"] .navbar-brand {
    color: #FFFFFF;
}

/* [data-bs-theme="dark"] .nav-link {
    color: #E5E7EB;
} */

/* [data-bs-theme="dark"] .nav-link:hover,
[data-bs-theme="dark"] .nav-link.active {
    color: #FFFFFF;
} */

[data-bs-theme="dark"] #language-switcher {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

[data-bs-theme="dark"] #language-switcher:hover {
    background: #FFFFFF;
    color: #003B73;
}

[data-bs-theme="dark"] .navbar-toggler-icon,
[data-bs-theme="dark"] .navbar-toggler-icon::before,
[data-bs-theme="dark"] .navbar-toggler-icon::after {
    background-color: #FFFFFF;
}

[data-bs-theme="dark"] .navbar-collapse {
    background: rgba(17, 24, 39, 0.98);
}

[data-bs-theme="dark"] .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Alternative: Show full image without cropping */
.hero-slide.full-image {
    background-size: contain;
    background-color: #f8f9fa;
    background-position: center center;
}

/* Ensure images maintain quality */
.hero-slide {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: optimize-quality;
}

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

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 59, 115, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 400;
    line-height: 1.4;
}

.hero-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-controls button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-controls button:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Hero Section Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-content {
        padding: 30px 15px;
        margin: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .hero-controls {
        bottom: 20px;
    }
    
    .hero-controls button {
        width: 35px;
        height: 35px;
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 60vh;
    }
    
    .hero-content {
        padding: 20px 10px;
        margin: 0 5px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
}

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

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-light);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 162, 97, 0.3);
}

/* Cards */
.feature-card, .degree-card, .tuition-card, .team-card {
    background-color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover, .degree-card:hover, .tuition-card:hover, .team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover i {
    transform: scale(1.1);
}

.degree-img, .team-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

/* Accordion */
.accordion-button {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.filiere-item {
    background-color: var(--light-bg);
    padding: 0.75rem 1.25rem;
    border-left: 4px solid var(--secondary-color);
    border-radius: 4px;
}

/* Tables */
.table {
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.table thead {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.table th {
    padding: 1rem;
    font-weight: 600;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
}

/* Partnerships */
.partner-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

/* Contact */
.contact-info, #contact-form {
    background-color: #FFFFFF;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 0;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Back to Top */
/* Body padding for fixed navbar */
body {
    padding-top: 80px;
}

/* Enhanced Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    background: linear-gradient(135deg, #003B73, #4FD1C5);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 59, 115, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    cursor: pointer;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

#back-to-top:hover {
    background: linear-gradient(135deg, #4FD1C5, #003B73);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 59, 115, 0.4);
}

#back-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

#back-to-top.show {
    display: flex;
    animation: slideInUp 0.4s ease-out;
}

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

/* Vision & Mission Section */
.vision-mission {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8fafc, #fff);
    position: relative;
    overflow: hidden;
}

.vision-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #4FD1C5, #003B73);
}

.vm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.vm-block {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.vm-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.vm-title {
    background: linear-gradient(135deg, #003B73, #1A5F7A);
    color: #fff;
    font-size: 2rem;
    margin: 0;
    padding: 2rem;
    text-align: center;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.vm-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #4FD1C5;
    border-radius: 2px;
}

.vm-content {
    padding: 2.5rem;
    height: 100%;
}

.vm-text {
    color: #2D3748;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.mission-item {
    position: relative;
    padding-left: 2.5rem;
    color: #2D3748;
    font-size: 1.1rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

[dir="rtl"] .mission-item {
    padding-left: 0;
    padding-right: 2.5rem;
}

.mission-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 20px;
    height: 20px;
    background-color: #E6F4F3;
    border-radius: 50%;
    transition: all 0.3s ease;
}

[dir="rtl"] .mission-item::before {
    left: auto;
    right: 0;
}

.mission-item::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 0.5rem;
    color: #2A9D8F;
    font-size: 0.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

[dir="rtl"] .mission-item::after {
    left: auto;
    right: 5px;
}

.mission-item:hover::before {
    transform: scale(1.1);
    background-color: #2A9D8F;
}

.mission-item:hover::after {
    color: #fff;
}

.vm-icon {
    font-size: 3rem;
    color: #003B73;
    margin-bottom: 1.5rem;
    opacity: 0.1;
    position: absolute;
    top: 2rem;
    right: 2rem;
    transition: all 0.3s ease;
}

[dir="rtl"] .vm-icon {
    right: auto;
    left: 2rem;
}

.vm-block:hover .vm-icon {
    transform: scale(1.1) rotate(10deg);
    opacity: 0.15;
}

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

    .vm-title {
        font-size: 1.75rem;
        padding: 1.5rem;
    }

    .vm-content {
        padding: 2rem;
    }

    .vm-text {
        font-size: 1.1rem;
    }

    .mission-item {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .vision-mission {
        padding: 4rem 0;
    }

    .vm-title {
        font-size: 1.5rem;
    }

    .vm-content {
        padding: 1.5rem;
    }
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .vm-block {
        padding: 1.5rem;
    }
    
    .vm-title {
        font-size: 1.8rem;
    }
    
    .mission-item {
        font-size: 0.95rem;
    }
}

.about-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #fff, #f8fafc);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #003B73, #4FD1C5);
}

.about-title {
    font-size: 2.5rem;
    color: #003B73;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-weight: 600;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #4FD1C5;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text-content {
    padding-right: 2rem;
}

[dir="rtl"] .about-text-content {
    padding-right: 0;
    padding-left: 2rem;
}

.about-text {
    color: #4A5568;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-highlight {
    font-size: 1.4rem;
    color: #003B73;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 4px solid #4FD1C5;
}

[dir="rtl"] .about-highlight {
    padding-left: 0;
    padding-right: 1.5rem;
    border-left: none;
    border-right: 4px solid #4FD1C5;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background: #E6F4F3;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #2A9D8F;
    font-size: 1.2rem;
    flex-shrink: 0;
}

[dir="rtl"] .about-feature-icon {
    margin-right: 0;
    margin-left: 1rem;
}

.about-feature-text {
    color: #2D3748;
    font-size: 1.1rem;
    margin: 0;
}

.about-image-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
}

.about-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
}

.about-image-wrapper:first-child {
    grid-column: 1 / -1;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transform: scale(1.01);
    transition: transform 0.6s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 59, 115, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.about-image-wrapper:hover .about-image-overlay {
    opacity: 1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #003B73;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #4A5568;
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text-content {
        padding-right: 0;
        order: 2;
    }

    [dir="rtl"] .about-text-content {
        padding-left: 0;
    }

    .about-image-container {
        order: 1;
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .about-image-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-image-wrapper:first-child {
        grid-column: 1;
    }
}

/* Enhanced History Section */
.history-section {
    padding: 6rem 0;
    background: #f8fafc;
    position: relative;
}

.history-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #003B73;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.history-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #003B73, #4FD1C5);
    border-radius: 2px;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* RTL (Arabic) Timeline Layout */
[dir="rtl"] .timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

[dir="rtl"] .timeline-item:nth-child(even) {
    flex-direction: row;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: #003B73;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 59, 115, 0.2);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.timeline-dot:hover {
    transform: scale(1.2);
    background: #4FD1C5;
}

.timeline-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 59, 115, 0.1);
    flex: 1;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #003B73, #4FD1C5);
    border-radius: 12px 0 0 12px;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 700;
    color: #003B73;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-year::before {
    content: '';
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #003B73, #4FD1C5);
    border-radius: 1px;
}

.timeline-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #4A5568;
    margin: 0;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline {
        gap: 2rem;
    }
    
    .timeline-item {
        flex-direction: column !important;
        text-align: center;
        gap: 1rem;
    }
    
    .timeline-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .timeline-year {
        justify-content: center;
        font-size: 1.5rem;
    }
    
    .timeline-text {
        font-size: 0.95rem;
    }
}

/* Partnerships Section */
.partnerships-section {
    background: linear-gradient(to bottom, #fff, #f8fafc);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.partnerships-title {
    font-size: 2.5rem;
    color: #003B73;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-weight: 600;
}

.partnerships-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #4FD1C5;
    border-radius: 2px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.partner-card {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #003B73, #4FD1C5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

.partner-logo-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8fafc;
    padding: 2rem;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo-wrapper {
    transform: scale(1.05);
}

.partner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-name {
    font-size: 1.25rem;
    color: #003B73;
    margin: 1rem 0;
    font-weight: 600;
}

.partner-description {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    color: #2A9D8F;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.partner-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

[dir="rtl"] .partner-link i {
    margin-left: 0;
    margin-right: 0.5rem;
    transform: scaleX(-1);
}

.partner-link:hover {
    color: #003B73;
}

.partner-link:hover i {
    transform: translateX(5px);
}

[dir="rtl"] .partner-link:hover i {
    transform: translateX(-5px) scaleX(-1);
}

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

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        padding: 0 1rem;
    }

    .partner-logo-wrapper {
        width: 150px;
        height: 150px;
    }
}

.why-us-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #003B73, #4FD1C5);
}

.why-us-title {
    font-size: 2.5rem;
    color: #003B73;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-weight: 600;
}

.why-us-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #4FD1C5;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #003B73, #4FD1C5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

[dir="rtl"] .feature-card::before {
    transform-origin: right;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #E6F4F3;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #003B73, #4FD1C5);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover .feature-icon-wrapper::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2rem;
    color: #2A9D8F;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: #FFFFFF;
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.5rem;
    color: #003B73;
    margin: 1rem 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-description {
    color: #4A5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
    color: #2A9D8F;
}

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

@media (max-width: 768px) {
    .why-us-section {
        padding: 4rem 0;
    }

    .why-us-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

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

    .feature-card {
        padding: 2rem;
    }

    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .feature-icon {
        font-size: 1.5rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-description {
        font-size: 1rem;
    }
}

/* Degrees Section */
.degrees-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.degrees-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #003B73, #4FD1C5);
}

.degrees-title {
    font-size: 2.5rem;
    color: #003B73;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-weight: 600;
}

.degrees-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #4FD1C5;
    border-radius: 2px;
}

.degrees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.degree-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.degree-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #003B73, #4FD1C5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

[dir="rtl"] .degree-card::before {
    transform-origin: right;
}

.degree-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.degree-card:hover::before {
    transform: scaleX(1);
}

.degree-img-wrapper {
    width: 120px;
    height: 120px;
    background: #E6F4F3;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.degree-img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #003B73, #4FD1C5);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.degree-card:hover .degree-img-wrapper::before {
    opacity: 1;
}

.degree-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.degree-card:hover .degree-img {
    transform: scale(1.1);
}

.degree-title {
    font-size: 1.5rem;
    color: #003B73;
    margin: 1rem 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.degree-description {
    color: #4A5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

.degree-card:hover .degree-title {
    color: #2A9D8F;
}

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

@media (max-width: 768px) {
    .degrees-section {
        padding: 4rem 0;
    }

    .degrees-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

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

    .degree-card {
        padding: 2rem;
    }

    .degree-img-wrapper {
        width: 100px;
        height: 100px;
    }

    .degree-img {
        width: 60px;
        height: 60px;
    }

    .degree-title {
        font-size: 1.25rem;
    }

    .degree-description {
        font-size: 1rem;
    }
}

/* Faculties Section */
.faculties-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.faculties-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #003B73, #4FD1C5);
}

.faculties-title {
    font-size: 2.5rem;
    color: #003B73;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-weight: 600;
}

.faculties-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #4FD1C5;
    border-radius: 2px;
}

.faculties-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faculty-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faculty-item {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.faculty-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.faculty-header {
    background: linear-gradient(135deg, #003B73, #1A5F7A);
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.faculty-header:hover {
    background: linear-gradient(135deg, #1A5F7A, #003B73);
}

.faculty-title {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faculty-title i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faculty-item.active .faculty-title i {
    transform: rotate(180deg);
}

.faculty-content {
    padding: 2rem;
    background: #FFFFFF;
}

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

.field-item {
    background: #E6F4F3;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: #003B73;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.field-item:hover {
    background: #4FD1C5;
    color: #FFFFFF;
    transform: translateY(-3px);
}

.field-item i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .faculties-section {
        padding: 4rem 0;
    }

    .faculties-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .faculty-header {
        padding: 1.25rem 1.5rem;
    }

    .faculty-title {
        font-size: 1.25rem;
    }

    .faculty-content {
        padding: 1.5rem;
    }

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

/* Admissions Section */
.admissions-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.admissions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #003B73, #4FD1C5);
}

.admissions-title {
    font-size: 2.5rem;
    color: #003B73;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-weight: 600;
}

.admissions-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #4FD1C5;
    border-radius: 2px;
}

.tuition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.tuition-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tuition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #003B73, #4FD1C5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

[dir="rtl"] .tuition-card::before {
    transform-origin: right;
}

.tuition-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.tuition-card:hover::before {
    transform: scaleX(1);
}

.tuition-card h3 {
    font-size: 1.5rem;
    color: #003B73;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tuition-card p {
    color: #4A5568;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.tuition-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.5rem;
}

.tuition-table thead th {
    background: #E6F4F3;
    color: #003B73;
    padding: 1rem;
    font-weight: 600;
    text-align: left;
    border-radius: 8px 8px 0 0;
}

[dir="rtl"] .tuition-table thead th {
    text-align: right;
}

.tuition-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #E2E8F0;
    color: #4A5568;
}

.tuition-table tbody tr:last-child td {
    border-bottom: none;
}

.tuition-table tbody tr:hover {
    background-color: #F8FAFC;
}

.tuition-amount {
    font-weight: 600;
    color: #2A9D8F;
}

@media (max-width: 768px) {
    .admissions-section {
        padding: 4rem 0;
    }

    .admissions-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

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

    .tuition-card {
        padding: 2rem;
    }

    .tuition-table thead th,
    .tuition-table tbody td {
        padding: 0.75rem;
    }
}

/* Management Team Section */
.management-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.management-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #003B73, #4FD1C5);
}

.management-title {
    font-size: 2.5rem;
    color: #003B73;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-weight: 600;
}

.management-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #4FD1C5;
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #003B73, #4FD1C5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

[dir="rtl"] .team-card::before {
    transform-origin: right;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-img-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #E6F4F3;
    transition: all 0.3s ease;
}

.team-card:hover .team-img-wrapper {
    border-color: #4FD1C5;
    transform: scale(1.05);
}

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

.team-card:hover .team-img {
    transform: scale(1.1);
}

.team-name {
    font-size: 1.5rem;
    color: #003B73;
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}

.team-position {
    color: #4FD1C5;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E6F4F3;
    border-radius: 50%;
    color: #003B73;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: #4FD1C5;
    color: #FFFFFF;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .management-section {
        padding: 4rem 0;
    }

    .management-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

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

    .team-card {
        padding: 2rem;
    }

    .team-img-wrapper {
        width: 120px;
        height: 120px;
    }
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #003B73, #4FD1C5);
}

.contact-title {
    font-size: 2.5rem;
    color: #003B73;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-weight: 600;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #4FD1C5;
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-form-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #003B73, #4FD1C5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

[dir="rtl"] .contact-form-card::before {
    transform-origin: right;
}

.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-form-card:hover::before {
    transform: scaleX(1);
}

.form-label {
    color: #003B73;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #E6F4F3;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #4FD1C5;
    box-shadow: 0 0 0 0.2rem rgba(79, 209, 197, 0.25);
}

.contact-info-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #003B73, #4FD1C5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

[dir="rtl"] .contact-info-card::before {
    transform-origin: right;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #F8FAFC;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: #E6F4F3;
    transform: translateX(5px);
}

[dir="rtl"] .contact-info-item:hover {
    transform: translateX(-5px);
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4FD1C5;
    color: #FFFFFF;
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 1.2rem;
}

[dir="rtl"] .contact-info-icon {
    margin-right: 0;
    margin-left: 1rem;
}

.contact-info-text {
    color: #003B73;
    font-weight: 500;
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.btn-submit {
    background: linear-gradient(135deg, #003B73, #4FD1C5);
    color: #FFFFFF;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0;
    }

    .contact-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

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

    .contact-form-card,
    .contact-info-card {
        padding: 2rem;
    }

    .contact-info-item {
        padding: 0.75rem;
    }
}

/* Activities Section */
.activities-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.activities-title {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.activities-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.activity-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.activity-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.activity-content {
    padding: 20px;
}

.activity-title {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.activity-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.activity-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.activity-link:hover {
    color: #2980b9;
}

.activity-link i {
    transition: transform 0.3s ease;
}

.activity-link:hover i {
    transform: translateX(5px);
}

.activities-cta {
    text-align: center;
    margin-top: 40px;
}

.activities-cta .btn-primary {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activities-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.no-activities {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.error-message {
    text-align: center;
    color: #e74c3c;
    font-size: 1.2rem;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .activities-section {
        padding: 60px 0;
    }
    
    .activities-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .activity-img-wrapper {
        height: 180px;
    }
}

/* Activity Details Section */
.activity-details-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.activity-details-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-details-img-wrapper {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.activity-details-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-details-date {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-details-content {
    padding: 40px;
}

.activity-details-title {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.activity-details-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.activity-details-meta {
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activity-details-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.activity-details-share span {
    color: #666;
    font-weight: 500;
}

.social-share {
    color: #3498db;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-share:hover {
    color: #2980b9;
}

@media (max-width: 768px) {
    .activity-details-section {
        padding: 40px 0;
    }
    
    .activity-details-img-wrapper {
        height: 300px;
    }
    
    .activity-details-content {
        padding: 20px;
    }
    
    .activity-details-title {
        font-size: 2rem;
    }
    
    .activity-details-description {
        font-size: 1rem;
    }
}

/* Activities Page */
.activities-page {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.activities-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.activities-page-title {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.activities-page-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    margin: 15px auto 0;
    border-radius: 2px;
}

.activities-page-subtitle {
    color: #666;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.activities-pagination {
    margin-top: 50px;
}

.activities-pagination .pagination {
    gap: 10px;
}

.activities-pagination .page-link {
    color: #3498db;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.activities-pagination .page-link:hover {
    background-color: #3498db;
    color: white;
}

.activities-pagination .page-item.active .page-link {
    background: linear-gradient(90deg, #3498db, #2ecc71);
    color: white;
    border: none;
}

@media (max-width: 768px) {
    .activities-page {
        padding: 40px 0;
    }
    
    .activities-page-title {
        font-size: 2rem;
    }
    
    .activities-page-subtitle {
        font-size: 1rem;
    }
    
    .activities-pagination .page-link {
        padding: 6px 12px;
    }
}