/* ================================================================================
   TABLE OF CONTENTS - Al-Zahraa University Website Styles (Organized)
   ================================================================================

   █ 1. BASE & GLOBAL STYLES
      ├─ 1.1  CSS Variables (Colors, Shadows)
      ├─ 1.2  Bootstrap Overrides
      ├─ 1.3  Typography & Body
      └─ 1.4  Global Utilities (Swiper, Dropdown)

   █ 2. HEADER & NAVIGATION
      ├─ 2.1  Top Bar
      ├─ 2.2  Logo Section
      ├─ 2.3  Main Navbar
      ├─ 2.4  Dropdown Menus
      ├─ 2.5  Language Switcher
      └─ 2.6  Mobile Menu & Offcanvas

   █ 3. HERO & BANNERS
      ├─ 3.1  Hero Section (Swiper)
      ├─ 3.2  Breadcrumbs
      └─ 3.3  Statistics Section

   █ 4. CONTENT SECTIONS
      ├─ 4.1  President/Dean Message
      ├─ 4.2  Vision & Mission
      ├─ 4.3  Quick Links
      └─ 4.4  Programs Section

   █ 5. COLLEGES & DEPARTMENTS
      ├─ 5.1  College Cards
      ├─ 5.2  Enhanced Colleges Section
      ├─ 5.3  College Information Tabs
      └─ 5.4  Administrative Units

   █ 6. FACULTY & TEACHERS
      ├─ 6.1  Faculty Section & Cards
      ├─ 6.2  Faculty Swiper
      ├─ 6.3  Teachers Section
      ├─ 6.4  Faculty Datatable
      └─ 6.5  Academic Profile

   █ 7. NEWS & BLOG
      ├─ 7.1  Blog Cards
      ├─ 7.2  Article Section
      ├─ 7.3  News Swiper
      ├─ 7.4  Sidebar (Posts, Categories, Tags)
      ├─ 7.5  Related Posts
      └─ 7.6  Featured Posts

   █ 8. GALLERIES & MEDIA
      ├─ 8.1  Gallery Section
      ├─ 8.2  Gallery Categories
      ├─ 8.3  Gallery Swiper
      ├─ 8.4  Video Gallery
      ├─ 8.5  University Intro Video
      └─ 8.6  Fancybox Customization

   █ 9. RANKINGS & ACHIEVEMENTS
      ├─ 9.1  Rankings Section
      ├─ 9.2  Rankings Swiper
      └─ 9.3  Achievements Showcase

   █ 10. CONTACT & FORMS
      ├─ 10.1 Contact Section
      ├─ 10.2 Contact Cards & Info
      ├─ 10.3 Contact Forms
      ├─ 10.4 Map Integration
      └─ 10.5 Quick Contact Bar

   █ 11. FOOTER
      ├─ 11.1 Footer Layout & Widgets
      ├─ 11.2 Footer Links
      ├─ 11.3 Social Media
      └─ 11.4 Interactive Elements

   █ 12. SPECIAL FEATURES
      ├─ 12.1 Partner Universities
      ├─ 12.2 Conferences
      ├─ 12.3 Student Activities
      ├─ 12.4 Ministry News
      ├─ 12.5 Mobile App Section
      └─ 12.6 Live Stream Banner

   █ 13. UI COMPONENTS
      ├─ 13.1 Pagination
      ├─ 13.2 Modals
      ├─ 13.3 Cookie Consent
      ├─ 13.4 Scroll to Top
      ├─ 13.5 Share Buttons
      └─ 13.6 Search Modal

   █ 14. RTL & RESPONSIVE
      ├─ 14.1 RTL Specific Styles
      └─ 14.2 Responsive Breakpoints

   NOTE: Dean's Message Section moved to college.css
   ================================================================================ */

:root {
    --primary-color: #116967;
    --secondary-color: #323A45;
    --primary-hover: #0e5655;
    --secondary-hover: #272e37;
    --primary-light: rgba(17, 105, 103, 0.1);
    --secondary-light: rgba(50, 58, 69, 0.1);
    --primary-rgb: 17, 105, 103;
    --secondary-rgb: 50, 58, 69;
    --primary-shadow: rgba(17, 105, 103, 0.3);
    --secondary-shadow: rgba(50, 58, 69, 0.3);
    --accent-color: #3498db;
}

.text-pre-wrap {
    white-space: pre-wrap;
}

/* Override Bootstrap Primary Colors */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-secondary {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: var(--secondary-hover) !important;
    border-color: var(--secondary-hover) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Override Links */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-hover);
}

/* Override Form Controls */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem var(--primary-light);
}

/* Override Navs */
.nav-link.active,
.nav-pills .nav-link.active {
    /* background-color: var(--primary-color) !important; */
    color: white !important;
}

.page-link {
    color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Override Checkboxes and Radios */
.form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    padding-bottom: 46px;
    background: url(../img/Background.png) #ffffff;
    /* text-align: right; */
}

/* ==============================================================================
   Global Utilities & Helper Classes
   ============================================================================== */

/* Swiper Global Styles */
.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
}

/* Dropdown Global Styles */
.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

/* ==============================================================================
   Modern Top Bar Styles - Enhanced & Light
   ============================================================================== */
.modern-top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    padding: 10px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.modern-top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    pointer-events: none;
}

/* Hide modern-top-bar on mobile devices */
@media (max-width: 767px) {
    .modern-top-bar {
        display: none;
    }
}

/* ==============================================================================
   President Message Section Styles
   ============================================================================== */
.president-message-section {
    background-color: #fff;
    position: relative;
}

.president-image img {
    max-width: 300px;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.president-image:hover img {
    transform: scale(1.02);
}

/* Smaller size for administrative unit manager image */
.manager-image-wrapper {
    display: inline-block;
    position: relative;
}

.manager-image-wrapper img {
    max-width: 200px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

.manager-image-wrapper .president-info .president-name {
    font-size: 1.4rem;
}

.manager-image-wrapper .president-info .president-title {
    font-size: 1rem;
}

/* Center aligned manager section styles */
.president-message-section .text-center .president-image {
    display: inline-block;
}

.president-message-section .text-center .manager-image-wrapper {
    margin: 0 auto;
}

@media (max-width: 991px) {
    .manager-image-wrapper img {
        max-width: 220px;
    }
}

@media (max-width: 767px) {
    .manager-image-wrapper img {
        max-width: 200px;
    }
}

@media (max-width: 575px) {
    .manager-image-wrapper img {
        max-width: 180px;
    }
}

.president-info {
    margin-top: 15px;
}

.president-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.president-title {
    color: #666;
    font-size: 18px;
}

/* Manager Profile Button Styles */
.president-info .btn-outline-primary {
    position: relative;
    overflow: hidden;
    border-width: 2px;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    background: white;
    box-shadow: 0 4px 15px rgba(17, 105, 103, 0.15);
    z-index: 1;
}

.president-info .btn-outline-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.president-info .btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.president-info .btn-outline-primary:hover::before {
    left: 0;
}

.president-info .btn-outline-primary:hover {
    color: white !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(17, 105, 103, 0.35);
}

.president-info .btn-outline-primary:active::after {
    width: 200px;
    height: 200px;
    transition: width 0s, height 0s;
}

.president-info .btn-outline-primary:hover i {
    transform: scale(1.15) rotate(360deg);
    transition: transform 0.5s ease;
}

.president-info .btn-outline-primary i {
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}

.president-info .btn-outline-primary span {
    position: relative;
    z-index: 1;
}

.president-message {
    /* background-color: #f9f9f9; */
    border-radius: 10px;
    padding: 25px;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); */
    position: relative;
}

.president-message::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -22px;
    right: 20px;
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.1);
}

/* Center aligned manager message styles */
.president-message-section .text-center + .president-message,
.president-message-section .col-lg-8 .president-message {
    margin-top: 30px;
    text-align: center;
}

.president-message-section .col-lg-8 .president-message .message-excerpt,
.president-message-section .col-lg-8 .president-message .message-hidden {
    text-align: justify;
}

.president-message-section .col-lg-8 .president-message .read-more-btn {
    display: inline-flex;
    margin: 0 auto;
}

.message-content {
    position: relative;
    z-index: 1;
}

.message-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.message-hidden p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

/* Enhanced Read More Button Styles */
.read-more-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 30px;
    border-radius: 50px;
    border-width: 2px;
    font-weight: 600;
    font-size: 1rem;
    background: white;
    box-shadow: 0 4px 20px rgba(17, 105, 103, 0.2);
    z-index: 1;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: width 0.5s ease, height 0.5s ease, top 0.5s ease, left 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.read-more-btn:hover::before {
    width: 300px;
    height: 300px;
}

.read-more-btn:hover {
    color: white !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 35px rgba(17, 105, 103, 0.4);
}

.read-more-btn i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 8px;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.read-more-btn span {
    position: relative;
    z-index: 1;
}

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

.read-more-btn:active::before {
    width: 400px;
    height: 400px;
    transition: width 0s, height 0s;
}

.read-more-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white !important;
    border-color: var(--primary-color) !important;
}

.read-more-btn.active::before {
    width: 300px;
    height: 300px;
}

.read-more-btn.active i {
    transform: rotate(180deg);
}

.read-more-btn.active:hover i {
    transform: rotate(180deg) translateX(3px);
}

/* Pulse Effect on Active State */
@keyframes button-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(17, 105, 103, 0.2);
    }
    50% {
        box-shadow: 0 8px 30px rgba(17, 105, 103, 0.4);
    }
    100% {
        box-shadow: 0 4px 20px rgba(17, 105, 103, 0.2);
    }
}

.read-more-btn:focus,
.president-info .btn-outline-primary:focus {
    outline: none;
    animation: button-pulse 1.5s ease-in-out;
}

@media (max-width: 991px) {
    .president-image {
        margin-bottom: 30px;
    }

    .president-message {
        margin-top: 20px;
    }

    .president-info .btn-outline-primary {
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    .read-more-btn {
        padding: 11px 28px;
        font-size: 0.95rem;
    }
}

@media (max-width: 767px) {
    .president-info .btn-outline-primary {
        padding: 9px 20px;
        font-size: 0.88rem;
    }

    .read-more-btn {
        padding: 10px 25px;
        font-size: 0.92rem;
    }
}

@media (max-width: 575px) {
    .president-info .btn-outline-primary {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .president-info .btn-outline-primary i {
        font-size: 0.9rem;
    }

    .read-more-btn {
        padding: 9px 22px;
        font-size: 0.9rem;
    }

    .read-more-btn i {
        font-size: 0.85rem;
        margin-right: 6px;
    }
}

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

.contact-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
}

.contact-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.contact-link i {
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-link:hover i {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Teaching Staff Link Styles */
.teaching-staff-link {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 18px !important;
    font-weight: 600;
}

.teaching-staff-link:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4);
}

.teaching-staff-link i {
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    font-size: 1rem;
}

.teaching-staff-link:hover i {
    background: transparent !important;
    color: white !important;
    transform: scale(1.15);
}

.top-social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.social-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link i {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .contact-links span {
        display: none;
    }

    .contact-link {
        gap: 0;
        padding: 6px 10px;
    }

    .contact-link i {
        margin: 0;
        width: 28px;
        height: 28px;
    }

    /* Teaching Staff Link Mobile */
    .teaching-staff-link {
        padding: 6px 10px !important;
    }

    .teaching-staff-link span {
        display: none;
    }

    .teaching-staff-link i {
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
    }

    .top-social-links {
        gap: 6px;
    }

    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* RTL specific adjustments */
.navbar-nav {
    padding-right: 0;
    padding-left: 0;
}

.ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

.nav-link::after {
    /* right: 0; */
    left: auto;
}

/* ==============================================================================
   Modern Hero Section
   ============================================================================== */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.hero-swiper {
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 10s ease;
}

.swiper-slide-active .hero-image {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    color: #fff;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.5s ease;
}

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

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

.hero-button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 50px;
    background: #126966;
    border: none;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background: #357abd;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-pagination {
    position: absolute;
    bottom: 30px !important;
    z-index: 3;
}

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.5;
}

.hero-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color);
}

/* ==============================================================================
   Statistics Section
   ============================================================================== */
.stats {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
}

.counter {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ==============================================================================
   Programs Section
   ============================================================================== */
.program-card {
    border: none;
    transition: transform 0.3s;
}

.program-card:hover {
    transform: translateY(-10px);
}

/* ==============================================================================
   Programs Section Image Styles
   ============================================================================== */
.program-card .card-img-top {
    height: 250px;
    /* ارتفاع ثابت لجميع الصور */
    object-fit: cover;
    /* لضمان تغطية كاملة للمساحة */
    width: 100%;
}

.program-card {
    height: 100%;
    /* لجعل جميع البطاقات بنفس الارتفاع */
    display: flex;
    flex-direction: column;
}

.program-card .card-body {
    flex: 1;
    /* لضمان محاذاة متناسقة للمحتوى */
}

/* ==============================================================================
   Testimonials
   ============================================================================== */
.testimonial-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 20px;
}

/* ==============================================================================
   Campus Map
   ============================================================================== */
.campus-map {
    height: 400px;
    background: #eee;
}

/* Social Feed */
.social-feed {
    background: #f8f9fa;
    padding: 80px 0;
}

/* Custom Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

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

/* ==============================================================================
   Modern Navbar Styles - Enhanced & Clean
   ============================================================================== */
.navbar {
    padding: 0;
    transition: all 0.3s ease;
    position: sticky;
    top: -1px;
    z-index: 1000;
    min-height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.navbar-nav {
    align-items: stretch;
    height: 100%;
}

.nav-item {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-link {
    position: relative;
    padding: 20px 20px !important;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

.nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border-bottom-color: white;
}

.nav-link i.fa-chevron-down {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .nav-link i.fa-chevron-down,
.nav-link:hover i.fa-chevron-down {
    transform: rotate(180deg);
}

/* ==============================================================================
   Social Media Links Styles
   ============================================================================== */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links .facebook {
    background: #1877f2;
}

.social-links .twitter,
.social-links .x-twitter {
    background: #000000;
}

.social-links .twitter:hover,
.social-links .x-twitter:hover {
    background: #1a1a1a;
}

.social-links .instagram {
    background: #e4405f;
}

.social-links .linkedin {
    background: #0077b5;
}

.social-links .youtube {
    background: #ff0000;
}

.social-links a:hover {
    transform: translateY(-5px);
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

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

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: var(--secondary-color);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--secondary-color);
}

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

.university-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: white;
    line-height: 1.3;
}

/* ==============================================================================
   Partner Universities Styles
   ============================================================================== */
.partner-universities {
    padding: 60px 0;
    background: #f8f9fa;
}

.partner-slider {
    padding: 20px 0;
}

.partner-card {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
}

.partner-card:hover {
    transform: translateY(-10px);
}

.partner-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
}

.partner-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

/* Updated partner-name in Modern Hero Section */
.partner-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--secondary-color);
}

/* ==============================================================================
   New Partner Universities Cards Section
   ============================================================================== */
.partner-cards-section {
    padding: 80px 0;
    background: #fff;
}

.partner-card-link {
    display: block;
    text-decoration: none;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.partner-card-wrapper {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.partner-card-link:hover .partner-card-wrapper {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.partner-card-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.partner-card-link:hover .partner-card-logo {
    transform: scale(1.1);
}

.partner-card-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 991.98px) {
    .partner-card-logo {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 767.98px) {
    .partner-card-wrapper {
        padding: 20px;
    }
}

/* ==============================================================================
   News Slideshow Styles
   ============================================================================== */
.news-section {
    background-color: #f8f9fa;
}

/* .carousel-item {
    padding: 20px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    background-color: rgba(0, 0, 0, 0.2);
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 5px;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    background-color: var(--primary-color);
    width: 12px;
    height: 12px;
    border-radius: 50%;
} */

.news-section .badge {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* ==============================================================================
   Gallery Section Styles
   ============================================================================== */
.gallery-section {
    padding: 80px 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    grid-auto-rows: auto;
    gap: 15px;
    padding: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-title {
    font-size: 1rem;
    margin-bottom: 5px;
}

.gallery-date {
    font-size: 0.8rem;
    opacity: 0.8;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Lightbox styles */
.modal-content {
    /* background: transparent; */
    border: none;
}

.modal-body {
    padding: 0;
}

.modal-body img {
    width: 43%;
    border-radius: 10px;
}

/* ==============================================================================
   Faculty Section Styles
   ============================================================================== */
.faculty-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faculty-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.faculty-image {
    position: relative;
    padding-top: 100%;
    /* تغيير من 125% إلى 100% لجعل الصورة مربعة */
    overflow: hidden;
}

.faculty-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.faculty-info {
    position: relative;
    padding: 15px;
    /* تقليل التباعد الداخلي */
    background: white;
    text-align: center;
}

.faculty-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.faculty-title {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.faculty-specs {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
    /* تقليل الهامش السفلي */
}

.faculty-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.faculty-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faculty-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.section-title {
    position: relative;
    margin-bottom: 50px;
}

/* .section-title:after {
    content: "";
    width: 30px;
    height: 90px;
    background-color: #1169670f;
    border-radius: 15px;
    position: absolute;
    transform: rotate(55deg);
    margin-top: -22px;
    margin-right: -55px;
    z-index: -1;
    animation-name: title-effect-animation;
    animation-delay: 1.2s;
    animation-duration: 1.2s;
    right: 88px;
    left: 0;
    margin-left: auto;
    margin-right: auto;
}

.section-title:before {
    content: "";
    width: 30px;
    height: 90px;
    background-color: #1169670f;
    border-radius: 15px;
    position: absolute;
    transform: rotate(55deg);
    margin-top: -22px;
    margin-right: -55px;
    z-index: -1;
    animation-name: title-effect-animation;
    animation-delay: 1.2s;
    animation-duration: 1.2s;
    right: 0;
    left: 88px;
    margin-left: auto;
    margin-right: auto;
} */

/* ==============================================================================
   Language Switcher Styles
   ============================================================================== */
.lang-switch {
    display: flex;
    align-items: center;
    margin-right: 20px;
    position: relative;
}

.lang-switch a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.lang-switch a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-switch i {
    font-size: 0.8rem;
}

/* ==============================================================================
   Faculty Swiper Styles
   ============================================================================== */
.faculty-swiper {
    padding: 20px 0;
}

.faculty-swiper .swiper-slide {
    height: auto;
}

.faculty-navigation {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faculty-navigation:hover {
    background: var(--primary-color);
    color: white;
}

.faculty-navigation::after {
    font-size: 1.2rem;
}

.faculty-swiper .swiper-button-prev {
    left: -5px;
}

.faculty-swiper .swiper-button-next {
    right: -5px;
}

.faculty-pagination {
    position: relative;
    width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    bottom: 0;
}

.faculty-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.5;
    margin: 0 4px;
}

.faculty-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color);
}

.faculty-swiper {
    padding-bottom: 50px;
    /* Add space for pagination */
    position: relative;
}

/* ==============================================================================
   Updated Faculty Swiper Styles
   ============================================================================== */
.faculty-swiper-container {
    position: relative;
    padding: 20px 40px;
}

.faculty-swiper {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.faculty-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.faculty-navigation.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.faculty-navigation:hover:not(.swiper-button-disabled) {
    background: var(--secondary-color);
}

.faculty-swiper .swiper-button-prev {
    left: 0;
}

.faculty-swiper .swiper-button-next {
    right: 0;
    left: 10px;
    right: auto;
}

.faculty-swiper .swiper-pagination {
    position: relative;
    bottom: 25px;
    width: 100%;
}

/* ==============================================================================
   Modern Dropdown Menu Styles - Clean & Elegant
   ============================================================================== */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: auto;
    left: 0;
    margin: 0;
    padding: 10px 0;
    background: white;
    border: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 300px;
    width: auto;
    max-width: 450px;
    border-top: 3px solid var(--primary-color);
}

[dir="rtl"] .dropdown-menu {
    right: 0;
    left: auto;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    position: absolute;
    top: -10px;
    right: auto;
    left: 100%;
    margin: 0;
    margin-left: 2px;
    /* border-radius: 12px; */
    border-top: 3px solid var(--secondary-color);
    min-width: 280px;
    width: auto;
    max-width: 420px;
}

[dir="rtl"] .dropdown-submenu>.dropdown-menu {
    right: 100%;
    left: auto;
    margin-right: 2px;
    margin-left: 0;
}

.dropdown-item {
    padding: 15px 26px;
    color: var(--secondary-color) !important;
    font-weight: 600;
    font-size: 16.5px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 3px solid transparent;
    white-space: nowrap;
    line-height: 1.6;
    min-height: 50px;
}

[dir="ltr"] .dropdown-item {
    border-right: none;
    border-left: 3px solid transparent;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(17, 105, 103, 0.08) 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

[dir="ltr"] .dropdown-item::before {
    right: auto;
    left: 0;
    background: linear-gradient(270deg, transparent 0%, rgba(17, 105, 103, 0.08) 100%);
}

.dropdown-item:hover {
    color: var(--primary-color) !important;
    background: rgba(17, 105, 103, 0.05);
    border-right-color: var(--primary-color);
    padding-right: 32px;
}

[dir="ltr"] .dropdown-item:hover {
    border-left-color: var(--primary-color);
    border-right-color: transparent;
    padding-left: 32px;
    padding-right: 26px;
}

.dropdown-item:hover::before {
    width: 100%;
}

.dropdown-item i.fa-chevron-down {
    margin-right: auto;
    font-size: 12px;
    color: var(--primary-color);
    transform: rotate(-90deg);
    flex-shrink: 0;
}

[dir="ltr"] .dropdown-item i.fa-chevron-down {
    margin-right: 0;
    margin-left: auto;
    transform: rotate(90deg);
}

/* Dropdown Toggle Icons */
.dropdown-toggle::after {
    display: none;
}

/* Make dropdown menus display on hover */
.dropdown:hover>.dropdown-menu,
.dropdown-submenu:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-submenu:hover>.dropdown-menu {
    transform: translateY(0) translateX(0);
}

/* Hover Animation */
.dropdown-menu {
    animation: fadeInDropdown 0.4s ease;
}

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

/* Submenu Indicator */
.dropdown-submenu > .dropdown-item::after {
    content: '\f053';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 18px;
    font-size: 12px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

[dir="ltr"] .dropdown-submenu > .dropdown-item::after {
    content: '\f054';
    left: auto;
    right: 18px;
}

.dropdown-submenu:hover > .dropdown-item::after {
    color: var(--secondary-color);
    transform: translateX(-2px);
}

[dir="ltr"] .dropdown-submenu:hover > .dropdown-item::after {
    transform: translateX(2px);
}

/* Navbar Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-nav {
        display: none;
    }
}

@media (min-width: 992px) {
    .navbar-nav {
        display: flex !important;
    }
}

/* Navbar Shadow on Scroll */
.navbar.scrolled {
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.2);
    /* animation: slideDown 0.3s ease; */
}

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

/* Active Dropdown Item */
.dropdown-item.active {
    color: white !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-right-color: transparent;
}

[dir="ltr"] .dropdown-item.active {
    border-left-color: transparent;
}

/* Dropdown Divider */
.dropdown-divider {
    margin: 8px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Improved Hover States */
.nav-item.dropdown:hover .nav-link {
    background: rgba(255, 255, 255, 0.12);
}

/* Smooth Transitions */
.dropdown-menu,
.dropdown-item,
.nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus States for Accessibility */
.nav-link:focus,
.dropdown-item:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Prevent Text Selection */
.nav-link,
.dropdown-item {
    user-select: none;
    -webkit-user-select: none;
}

/* Micro-interactions and Enhancements */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, white, transparent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    opacity: 0;
}

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

/* Badge for New Items */
.nav-item .badge-new {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: pulse-badge 2s infinite;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

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

/* Improved Container Spacing */
.navbar .container {
    position: relative;
}

/* Navbar Brand Enhancement for Mobile */
.university-name-mobile a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.university-name-mobile a:hover h6 {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Loading Indicator */
.navbar-loading {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, transparent, white, transparent);
    animation: loading 2s infinite;
}

@keyframes loading {
    0% {
        width: 0%;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
    100% {
        width: 0%;
        left: 100%;
    }
}

/* Dropdown Menu Item Icons */
.dropdown-item i:not(.fa-chevron-down) {
    margin-left: 12px;
    color: var(--primary-color);
    font-size: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

[dir="ltr"] .dropdown-item i:not(.fa-chevron-down) {
    margin-left: 0;
    margin-right: 12px;
}

.dropdown-item:hover i:not(.fa-chevron-down) {
    transform: translateX(-3px) scale(1.1);
    color: var(--secondary-color);
}

[dir="ltr"] .dropdown-item:hover i:not(.fa-chevron-down) {
    transform: translateX(3px) scale(1.1);
}

/* Navbar Toggle Button Enhancement */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
}


/* Responsive Navbar Adjustments */
@media (max-width: 1199.98px) {
    .nav-link {
        padding: 18px 16px !important;
        font-size: 16px;
    }

    .dropdown-menu {
        min-width: 280px;
        max-width: 400px;
    }

    .dropdown-item {
        font-size: 16px;
        padding: 14px 24px;
    }

    .dropdown-submenu>.dropdown-menu {
        min-width: 260px;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 55px;
    }

    .university-name-mobile h6 {
        font-size: 14px;
    }

    /* Mobile dropdown positioning */
    .dropdown-submenu>.dropdown-menu {
        position: static;
        margin: 0;
        margin-right: 15px;
        box-shadow: none;
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.03);
    }

    [dir="ltr"] .dropdown-submenu>.dropdown-menu {
        margin-left: 15px;
        margin-right: 0;
    }
}

@media (max-width: 575.98px) {
    .university-name-mobile h6 {
        font-size: 13px;
    }

    .navbar-toggler {
        padding: 6px 10px;
    }

    .dropdown-item {
        padding: 12px 20px;
        font-size: 15px;
    }

    .dropdown-menu {
        min-width: 240px;
    }
}

/* Print Styles */
@media print {
    .navbar {
        display: none !important;
    }
}

/* Dropdown Menu Header (for special items) */
.dropdown-header {
    padding: 12px 24px;
    font-size: 12px;
    color: #999;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Dropdown Item with Description */
.dropdown-item-text {
    padding: 12px 24px;
    color: #666;
    font-size: 13px;
}

/* Multi-level Dropdown Depth Indicator - Improved Font Size */
.dropdown-submenu .dropdown-item {
    font-size: 16px;
    padding: 14px 26px;
}

.dropdown-submenu .dropdown-submenu .dropdown-item {
    font-size: 15.5px;
    padding: 13px 26px;
    padding-right: 32px;
}

[dir="ltr"] .dropdown-submenu .dropdown-submenu .dropdown-item {
    padding-left: 32px;
    padding-right: 26px;
}

/* Navbar Backdrop Blur Effect */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

/* Navbar Bottom Border */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    opacity: 0.5;
}

/* Dropdown Menu Simplified */

/* Navbar Container Max Width */
@media (min-width: 1400px) {
    .navbar .container {
        max-width: 1320px;
    }
}

/* Prevent Any Overflow Issues */
.navbar,
.navbar-collapse,
.navbar-nav,
.nav-item,
.dropdown,
.dropdown-submenu {
    overflow: visible !important;
}

.dropdown-menu,
.dropdown-submenu > .dropdown-menu {
    overflow: visible !important;
    max-height: none !important;
}

/* Fix Container Overflow */
.navbar .container {
    overflow: visible;
}

body {
    overflow-x: hidden;
}

/* Hover Sound/Visual Feedback */
.nav-link:active,
.dropdown-item:active {
    transform: scale(0.98);
}

/* Dropdown Item Separator - Simplified */
.dropdown-item + .dropdown-item {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* Keyboard Navigation Highlight */
.dropdown-item:focus-visible {
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.1) 0%, rgba(50, 58, 69, 0.1) 100%);
    border-right-color: var(--primary-color);
}

[dir="ltr"] .dropdown-item:focus-visible {
    border-left-color: var(--primary-color);
    border-right-color: transparent;
}

/* Navbar Elevation Levels */
.navbar {
    isolation: isolate;
}

.dropdown-menu {
    z-index: 1001;
}

.dropdown-submenu > .dropdown-menu {
    z-index: 1002;
}

/* Mobile Safe Area Padding */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
}

/* Dark Mode Support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Keep current light theme for now */
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .nav-link,
    .dropdown-item,
    .dropdown-menu,
    .navbar {
        transition: none !important;
        animation: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .nav-link {
        border: 1px solid currentColor;
    }

    .dropdown-menu {
        border: 2px solid var(--primary-color);
    }
}

/* ==============================================================================
   Logo Section Styles - Modern & Light
   ============================================================================== */
.top-logo-section {
    background: #ffffff;
    background: url(../img/Background.png) #ffffff;
    padding: 25px 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(17, 105, 103, 0.08);
    position: relative;
    overflow: hidden;
}

.top-logo-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 30%, var(--secondary-color) 70%, transparent 100%);
    opacity: 0.4;
}

.top-logo-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(17, 105, 103, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

[dir="ltr"] .top-logo-section::after {
    right: auto;
    left: -100px;
}

.logo-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.main-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.main-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.03) 0%, rgba(50, 58, 69, 0.03) 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-logo:hover::before {
    opacity: 1;
}

.main-logo img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.12));
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.main-logo:hover img {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 5px 12px rgba(17, 105, 103, 0.25));
}

.logo-text {
    border-right: 3px solid transparent;
    border-image: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-image-slice: 1;
    padding-right: 25px;
    position: relative;
}

.logo-text::before {
    content: '';
    position: absolute;
    right: -3px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0.4;
}

[dir="ltr"] .logo-text {
    border-right: 0;
    padding-right: 0;
    border-left: 3px solid transparent;
    padding-left: 25px;
}

[dir="ltr"] .logo-text::before {
    right: auto;
    left: -3px;
}

.logo-title {
    font-size: 1.85rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(17, 105, 103, 0.08);
    transition: all 0.3s ease;
}

.main-logo:hover .logo-title {
    color: var(--secondary-color);
}

.logo-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 8px 0 0 0;
    font-weight: 500;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.main-logo:hover .logo-subtitle {
    opacity: 1;
    color: var(--primary-color);
}

.logo-contact {
    display: flex;
    gap: 30px;
    padding: 18px 25px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(17, 105, 103, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.logo-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(17, 105, 103, 0.04), transparent);
    transition: left 0.8s ease;
}

.logo-contact:hover {
    box-shadow: 0 6px 25px rgba(17, 105, 103, 0.12);
    border-color: rgba(17, 105, 103, 0.15);
}

.logo-contact:hover::before {
    left: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.05) 0%, rgba(50, 58, 69, 0.05) 100%);
    transform: translateY(-1px);
}

.contact-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, rgba(17, 105, 103, 0.2) 50%, transparent 100%);
}

.contact-item i {
    font-size: 1.6rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.08) 0%, rgba(50, 58, 69, 0.08) 100%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(17, 105, 103, 0.15);
    box-shadow: 0 2px 8px rgba(17, 105, 103, 0.1);
}

.contact-item:hover i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: translateY(-3px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 6px 16px rgba(17, 105, 103, 0.25);
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.contact-value {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.contact-item:hover .contact-value {
    color: var(--secondary-color);
    transform: translateX(-2px);
}

[dir="ltr"] .contact-item:hover .contact-value {
    transform: translateX(2px);
}

@media (max-width: 1200px) {
    .logo-contact {
        gap: 20px;
        padding: 16px 20px;
    }

    .contact-item i {
        width: 46px;
        height: 46px;
        font-size: 1.5rem;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-value {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .logo-container {
        grid-template-columns: auto 1fr;
    }

    .logo-contact {
        display: none;
    }
}

@media (max-width: 576px) {
    .logo-title {
        font-size: 1.4rem;
    }

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

    .main-logo {
        padding: 8px;
    }

    .main-logo img {
        height: 70px;
    }

    .logo-text {
        padding-right: 18px;
    }

    [dir="ltr"] .logo-text {
        padding-left: 18px;
    }
}

.modern-breadcrumbs {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    margin-bottom: 30px;
}

.breadcrumbs-content {
    text-align: center;
    color: white;
}

/* ==============================================================================
   Vision Mission Section Styles
   ============================================================================== */
.vision-mission {
    padding: 5rem 0;
    background: #fff;
}

.vision-box {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.vision-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #0e6f6b1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.vision-box:hover .vision-icon {
    background: #0e6f6b1a;
    transform: scale(1.1);
}

.vision-icon i {
    font-size: 2rem;
    color: #0e6f6bd1;
}

.vision-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.vision-text {
    color: #666;
    line-height: 1.6;
}

.goals-list {
    margin-top: 3rem;
}

.goal-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: #fff;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.goal-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.goal-icon {
    width: 60px;
    height: 60px;
    background: #0e6f6b1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.goal-icon i {
    font-size: 1.5rem;
    color: #0e6f6bd1;
}

.goal-content {
    flex: 1;
}

.goal-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.goal-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

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

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

    .quick-link-card,
    .vision-box {
        margin-bottom: 1.5rem;
    }

    .goal-item {
        flex-direction: column;
        text-align: center;
    }

    .goal-icon {
        margin: 0 auto 1rem;
    }
}

/* ==============================================================================
   Contact Section Styles
   ============================================================================== */
.contact-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.contact-info-card {
    padding: 30px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(14, 111, 107, 0.1);
}

/* ==============================================================================
   Updated Contact Section Styles
   ============================================================================== */
.map-container {
    height: 450px;
    width: 100%;
    margin: 0;
    background: #eee;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

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

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-form button {
    background: var(--secondary-color);
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ==============================================================================
   Blog Section Styles
   ============================================================================== */
.blog-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.blog-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.blog-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--secondary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--primary-color);
}

.blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

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

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

.blog-author img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-author-name {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.blog-date {
    font-size: 0.85rem;
    color: #888;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-hover);
    transform: translateX(5px);
}

[dir="rtl"] .read-more:hover {
    transform: translateX(-5px);
}


/* ==============================================================================
   Article Section Styles
   ============================================================================== */
.article-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.article-main {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
}

.article-image {
    border-radius: 15px;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==============================================================================
   Sidebar Styles (Enhanced)
   ============================================================================== */
.sidebar-widget {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.widget-title {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid transparent;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%) bottom/60% 3px no-repeat;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title::before {
    content: '';
    width: 6px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 3px;
}

.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-item:hover {
    transform: translateX(-5px);
}

[dir="ltr"] .recent-post-item:hover {
    transform: translateX(5px);
}

.recent-post-image {
    width: 95px;
    min-width: 95px;
    max-width: 95px;
    height: 95px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.recent-post-item:hover .recent-post-image img {
    transform: scale(1.1);
}

.recent-post-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.3) 0%, transparent 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.recent-post-item:hover .recent-post-image::after {
    opacity: 1;
}

.recent-post-info h6 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    transition: color 0.3s ease;
}

.recent-post-item:hover .recent-post-info h6 {
    color: var(--primary-color);
}

.recent-post-date {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.recent-post-date i {
    color: var(--primary-color);
    font-size: 12px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.category-item:last-child {
    margin-bottom: 0;
}

.category-item:hover {
    background: var(--primary-light);
    transform: translateX(-5px);
}

[dir="ltr"] .category-item:hover {
    transform: translateX(5px);
}

.category-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-item a::before {
    content: '\f07b';
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    color: var(--primary-color);
    font-size: 14px;
}

.category-item a:hover {
    color: var(--primary-color);
}

.category-count {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    min-width: 35px;
    text-align: center;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud-collapsed {
    max-height: 120px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.tag-cloud-expanded {
    max-height: 1000px;
}

.tag-item {
    background: #f8f9fa;
    color: var(--secondary-color);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tag-item::before {
    content: '#';
    color: var(--primary-color);
    font-weight: 700;
}

.tag-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 105, 103, 0.3);
}

.tag-item:hover::before {
    color: white;
}

.show-all-tags-btn {
    width: 100%;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.show-all-tags-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 105, 103, 0.3);
}

.show-all-tags-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* ...Videos Section Styles... */

.videos-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.video-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

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

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button i {
    color: #fff;
    font-size: 1.5rem;
}

.video-card:hover .play-button {
    background: #4a90e2;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-content {
    padding: 1.5rem;
}

.video-category {
    display: inline-block;
    background: #4a90e2;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.video-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    height: 3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: #666;
}

.video-meta span {
    display: flex;
    align-items: center;
}

.video-meta span i {
    margin-left: 0.5rem;
    color: #4a90e2;
}

.video-modal .modal-content {
    background: #111;
    border: none;
}

.video-modal .modal-header {
    border-bottom: 1px solid #333;
    padding: 1rem 1.5rem;
}

.video-modal .modal-title {
    color: #fff;
    font-size: 1.2rem;
}

.video-modal .btn-close {
    color: #fff;
    opacity: 0.8;
    filter: invert(1) brightness(100%);
}

.video-modal .modal-body {
    padding: 0;
}

/* Make sure videos are responsive */
.video-modal .modal-body iframe,
.video-modal .modal-body video {
    display: block;
    border: none;
}

.video-modal .modal-body iframe {
    width: 100%;
    height: 100%;
}

.video-modal .modal-body video {
    width: 100%;
    height: 100%;
}

/* ==============================================================================
   Cookie Consent Styles
   ============================================================================== */

.cookie-consent {
    position: fixed;
    bottom: -100%;
    right: 0;
    left: 0;
    background: rgba(33, 37, 41, 0.95);
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: bottom 0.5s ease;
}

.cookie-consent.active {
    bottom: 0;
}

.cookie-consent .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    font-size: 0.95rem;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accept-cookies {
    background: var(--secondary-color);
    color: white;
}

.accept-cookies:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.reject-cookies {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.reject-cookies:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.cookie-settings {
    color: var(--secondary-color);
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    margin: 0 10px;
}

.cookie-settings:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .cookie-consent .container {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}






.scroll-to-top {
    position: fixed;
    bottom: -60px;
    /* Start position off-screen */
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    border: 0;
}

.scroll-to-top.active {
    bottom: 20px;
    /* Visible position */
    opacity: 1;
}

.scroll-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Add RTL-specific styles */
[dir="rtl"] .scroll-to-top {
    right: 20px;
    left: auto;
}

/* Add RTL/LTR-specific styles */
[dir="ltr"] .scroll-to-top {
    left: 20px;
    right: auto;
}

.share-buttons {
    display: flex;
    gap: 10px;
    margin: 30px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-button:hover {
    transform: translateY(-3px);
    color: white;
}

.share-button i {
    font-size: 1.1rem;
}

.share-button.facebook {
    background: #1877f2;
}

.share-button.twitter,
.share-button.x-twitter {
    background: #000000;
}

.share-button.twitter:hover,
.share-button.x-twitter:hover {
    background: #1a1a1a;
}

.share-button .x-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

.share-button.whatsapp {
    background: #25d366;
}

.share-button.telegram {
    background: #0088cc;
}

.share-button.linkedin {
    background: #0077b5;
}

.share-button.copy-link {
    background: var(--primary-color);
}

.share-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-right: 5px;
}

@media (max-width: 768px) {
    .share-button span:not(.share-count) {
        display: none;
    }

    .share-button {
        padding: 8px 15px;
    }
}



.visit-number {
    font-weight: 600;
}





.related-post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.related-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    z-index: 10;
}

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

.related-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(17, 105, 103, 0.18);
}

.related-post-image {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.related-post-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.4) 0%, rgba(50, 58, 69, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.related-post-card:hover .related-post-image::after {
    opacity: 1;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.related-post-content {
    padding: 20px;
    position: relative;
}

.related-post-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.1) 0%, rgba(50, 58, 69, 0.1) 100%);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.related-post-category::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;
}

.related-post-card:hover .related-post-category {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 105, 103, 0.3);
}

.related-post-card:hover .related-post-category::before {
    left: 100%;
}

.related-post-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
    color: #2c3e50;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 76px;
}

.related-post-card:hover .related-post-title {
    color: var(--primary-color);
}

.related-post-date {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.related-post-date i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Decorative Corner Accent */
.related-post-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 50px 50px;
    border-color: transparent transparent rgba(17, 105, 103, 0.05) transparent;
    transition: all 0.4s ease;
}

[dir="ltr"] .related-post-card::after {
    right: auto;
    left: 0;
    border-width: 0 50px 50px 0;
}

.related-post-card:hover::after {
    width: 80px;
    height: 80px;
    border-color: transparent transparent rgba(17, 105, 103, 0.12) transparent;
}

[dir="ltr"] .related-post-card:hover::after {
    border-color: transparent rgba(17, 105, 103, 0.12) transparent transparent;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .related-post-content {
        padding: 18px;
    }

    .related-post-title {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .related-post-image {
        padding-top: 70%;
    }

    .related-post-content {
        padding: 16px;
    }

    .related-post-title {
        font-size: 0.95rem;
        min-height: 2.8em;
    }

    .related-post-category {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
}

@media (max-width: 575.98px) {
    .related-post-image {
        padding-top: 75%;
    }

    .related-post-content {
        padding: 15px;
    }

    .related-post-title {
        font-size: 0.9rem;
        min-height: 2.5em;
    }

    .related-post-date {
        font-size: 0.8rem;
    }
}



.search-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 15px;
}

.search-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}



.search-input-group {
    position: relative;
    margin-bottom: 30px;
}

.search-input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(14, 111, 107, 0.1);
}

.search-submit {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.search-suggestions {
    text-align: right;
}

.search-suggestions h6 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-tags a {
    background: #f0f0f0;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.suggestion-tags a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .search-input {
        font-size: 1rem;
        padding: 12px 50px 12px 15px;
    }

    .search-submit {
        width: 38px;
        height: 38px;
    }
}






.article-gallery {
    margin: 30px 0;
}

.gallery-attachment {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.attachment-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: opacity 0.3s ease;
}

.gallery-attachment:hover .attachment-overlay {
    opacity: 1;
}

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

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

.attachment-actions a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.gallery-attachment:hover .attachment-actions a {
    transform: translateY(0);
    opacity: 1;
}

.attachment-actions a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-5px) !important;
}

.attachment-actions .view-attachment {
    transition-delay: 0.1s;
}

.attachment-actions .download-attachment {
    transition-delay: 0.2s;
}

#imageModal .modal-content {
    background: transparent;
    border: none;
}

#imageModal .modal-body {
    position: relative;
}

#imageModal .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: white;
    opacity: 0.8;
    border-radius: 50%;
    padding: 8px;
    z-index: 1;
}

#imageModal .btn-close:hover {
    opacity: 1;
}

#imageModal img {
    border-radius: 10px;
}







/* ==============================================================================
   Enhanced Contact Section Styles
   ============================================================================== */
.contact-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.contact-header {
    padding: 60px 0 30px;
    text-align: center;
    background: var(--primary-color);
    color: white;
    margin-bottom: 40px;
}

.contact-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-wrapper {
    margin-bottom: 50px;
}

.contact-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

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

.card-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-bottom: none;
}

.card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item i {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-info-text p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.social-links-wrapper {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.social-links-wrapper h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.contact-form-wrapper {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.form-control {
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(14, 111, 107, 0.1);
}

.btn-submit {
    background: var(--secondary-color);
    color: white;
    padding: 12px 35px;
    border-radius: 25px;
    border: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-submit i {
    font-size: 0.9rem;
}

.map-container {
    height: 450px;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact-info-item {
        margin-bottom: 20px;
    }

    .contact-header {
        padding: 40px 0 20px;
    }

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







.student-activities {
    background: #f8f9fa;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

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

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.activity-card.large {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.activity-image {
    position: relative;
    padding-top: 60%;
}

.activity-card.large .activity-image {
    padding-top: 100%;
}

.activity-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    line-height: 1;
}

.activity-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.activity-date .month {
    font-size: 0.9rem;
    display: block;
}

.activity-content {
    padding: 20px;
}

.activity-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(14, 111, 107, 0.1);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.activity-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.activity-card.large .activity-title {
    font-size: 1.5rem;
}

.activity-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.activity-stats {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 0.9rem;
}

.activity-stats i {
    color: var(--secondary-color);
    margin-left: 5px;
}

.activity-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.activity-link:hover {
    gap: 10px;
}

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

    .activity-card.large {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }

    .activity-card.large .activity-image {
        padding-top: 60%;
    }
}

@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .activity-card.large {
        grid-column: span 1;
    }

    .activity-title {
        font-size: 1.1rem;
    }

    .activity-card.large .activity-title {
        font-size: 1.3rem;
    }
}








.ministry-news {
    background: #f8f9fa;
}

.ministry-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

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

.ministry-image {
    position: relative;
    height: 100%;
    min-height: 200px;
}

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

.ministry-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    line-height: 1;
}

.ministry-date span {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}

.ministry-date small {
    font-size: 0.8rem;
}

.ministry-content {
    padding: 20px;
}

.ministry-tags {
    margin-bottom: 10px;
}

.ministry-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(14, 111, 107, 0.1);
    color: var(--secondary-color);
    border-radius: 15px;
    font-size: 0.85rem;
}

.ministry-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    line-height: 1.4;
}

.ministry-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

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

.ministry-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.ministry-more:hover {
    gap: 10px;
}

.ministry-views {
    color: #666;
    font-size: 0.9rem;
}

.ministry-views i {
    color: var(--secondary-color);
    margin-left: 5px;
}

@media (max-width: 768px) {
    .ministry-image {
        min-height: 150px;
    }

    .ministry-content {
        padding: 15px;
    }

    .ministry-title {
        font-size: 1rem;
    }
}







/* ==============================================================================
   Conferences Section Styles
   ============================================================================== */
.conferences-section {
    background: #f8f9fa;
}

.conference-table {
    width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-collapse: collapse;
}

.conference-table thead {
    background: var(--primary-color);
    color: white;
}

.conference-table th {
    padding: 15px;
    font-weight: 500;
    /* text-align: right; */
}

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

.conference-title h6 {
    margin: 0 0 5px 0;
    font-weight: 600;
    color: var(--primary-color);
}

.conference-type {
    display: inline-block;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(14, 111, 107, 0.1);
    color: var(--secondary-color);
}

.conference-date,
.conference-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.conference-date i,
.conference-location i {
    color: var(--secondary-color);
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge.upcoming {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-badge.past {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.status-badge.ongoing {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

/* Hover effect */
.conference-table tbody tr {
    transition: all 0.3s ease;
}

.conference-table tbody tr:hover {
    background: rgba(14, 111, 107, 0.02);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .conference-title h6 {
        font-size: 0.9rem;
    }

    .conference-date,
    .conference-location {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .conference-table {
        font-size: 0.9rem;
    }

    .conference-table th,
    .conference-table td {
        padding: 12px 10px;
    }
}








/* ==============================================================================
   Rankings Section Styles
   ============================================================================== */
.rankings-section {
    background-color: #f8f9fa;
    position: relative;
}



.ranking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.ranking-header {
    position: relative;
    /* padding: 20px; */
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color-light) 0%, var(--primary-color) 100%);
    color: #fff;
    border-radius: 12px 12px 0 0;
    padding-top: 15px;
}

.ranking-logo {
    line-height: 70px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 auto 10px;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #f5f5f5;
    /* padding-bottom: 20px; */
    padding: 20px;
    padding-top: 0;
    min-height: 191px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-image {
    width: 100%;
    height: 120px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ranking-image img {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 100px;
    object-fit: contain;
}

.ranking-logo i {
    font-size: 2rem;
    color: #fff;
}

.ranking-body h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
    line-height: 1.4;
}

.position-label .badge {
    font-size: 0.9rem;
    padding: 8px 15px;
    border-radius: 30px;
}

@media (max-width: 768px) {
    .ranking-image {
        height: 100px;
    }

    .ranking-image img {
        max-height: 80px;
    }

    .ranking-body h4 {
        font-size: 1.1rem;
    }
}








.enhanced-footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 60px 0 0;
    position: relative;
}

.footer-top {
    padding: 80px 0 50px;
    position: relative;
}

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

.footer-logo {
    height: 80px;
    filter: brightness(0) invert(1);
}

.footer-brand {
    flex: 1;
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

.footer-subtitle {
    color: #b4cbca;
    font-size: 0.9rem;
    margin: 10px 0 0;
}

.footer-about {
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social .social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-right: 10px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    background-color: var(--primary-color);
}

.footer-social .facebook:hover {
    background: var(--primary-color);
}

.footer-social .twitter:hover,
.footer-social .x-twitter:hover {
    background: var(--primary-color);
}

.footer-social .instagram:hover {
    background: var(--primary-color);
}

.footer-social .linkedin:hover {
    background: var(--primary-color);
}

.footer-social .youtube:hover {
    background: var(--primary-color);
}

.footer-widget {
    margin-bottom: 30px;
}

/* .breadcrumb {
    display: inline-flex
;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 30px;
    border-radius: 50px;
    margin: 0;
    backdrop-filter: blur(5px);
}

.breadcrumb-item {
    font-size: 1rem;
    font-weight: 500;
}

.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
} */

/* ==============================================================================
   Floating Edit Button Styles
   ============================================================================== */
.floating-edit-btn {
    position: fixed;
    top: 120px;
    z-index: 999;
}

[dir="rtl"] .floating-edit-btn {
    left: 20px;
    right: auto;
}

[dir="ltr"] .floating-edit-btn {
    right: 20px;
    left: auto;
}

.edit-post-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.edit-post-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 35px rgba(243, 156, 18, 0.6);
    color: white;
}

.edit-post-btn i {
    font-size: 22px;
    transition: all 0.3s ease;
}

.edit-post-btn:hover i {
    transform: scale(1.1);
}

.edit-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .edit-tooltip {
    right: 70px;
    left: auto;
}

[dir="ltr"] .edit-tooltip {
    left: 70px;
    right: auto;
}

.edit-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
}

[dir="rtl"] .edit-tooltip::before {
    right: -12px;
    left: auto;
    border-left-color: rgba(0, 0, 0, 0.9);
    border-right: none;
}

[dir="ltr"] .edit-tooltip::before {
    left: -12px;
    right: auto;
    border-right-color: rgba(0, 0, 0, 0.9);
    border-left: none;
}

.edit-post-btn:hover .edit-tooltip {
    opacity: 1;
    visibility: visible;
}

[dir="rtl"] .edit-post-btn:hover .edit-tooltip {
    transform: translateX(-5px);
}

[dir="ltr"] .edit-post-btn:hover .edit-tooltip {
    transform: translateX(5px);
}

/* Pulse Animation for Edit Button */
.edit-post-btn::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border-radius: 50%;
    z-index: -1;
    animation: editPulse 2s infinite;
    opacity: 0.6;
}

@keyframes editPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.15);
        opacity: 0;
    }
}

/* Responsive Styles for Floating Edit Button */
@media (max-width: 991.98px) {
    .floating-edit-btn {
        top: 100px;
    }

    .edit-post-btn {
        width: 52px;
        height: 52px;
    }

    .edit-post-btn i {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .floating-edit-btn {
        top: 80px;
    }

    .edit-post-btn {
        width: 48px;
        height: 48px;
    }

    .edit-post-btn i {
        font-size: 18px;
    }

    .edit-tooltip {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .floating-edit-btn {
        top: 70px;
    }

    [dir="rtl"] .floating-edit-btn {
        left: 15px;
    }

    [dir="ltr"] .floating-edit-btn {
        right: 15px;
    }

    .edit-post-btn {
        width: 44px;
        height: 44px;
        box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    }

    .edit-post-btn i {
        font-size: 16px;
    }
}

/* ==============================================================================
   Article Hero Section Styles
   ============================================================================== */
.article-hero-section {
    position: relative;
    background: var(--primary-color);
}

.article-hero-image {
    position: relative;
    min-height: 310px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.92) 0%, rgba(50, 58, 69, 0.88) 100%);
}

.article-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    text-align: center;
    color: white;
    animation: fadeInUp 0.8s ease;
}

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

.article-category-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: fadeIn 1s ease 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.article-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 25px;
    line-height: 1.3;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.article-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    font-weight: 500;
    animation: fadeIn 1s ease 0.5s both;
}

.article-hero-meta .meta-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.article-hero-meta .meta-item i {
    font-size: 18px;
}

.article-hero-meta .meta-divider {
    font-size: 20px;
    opacity: 0.6;
}

/* ==============================================================================
   Article Content Section Styles
   ============================================================================== */
.article-content-section {
    background: #f8f9fa;
}

.article-main-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

/* ==============================================================================
   Article Featured Image Styles - Modern & Light
   ============================================================================== */
.article-featured-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.article-featured-image:hover {
    box-shadow: 0 15px 40px rgba(17, 105, 103, 0.2);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
}

.article-featured-image:hover img {
    transform: scale(1.03);
    filter: brightness(0.95);
}

.featured-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(17, 105, 103, 0.5) 0%, rgba(50, 58, 69, 0.65) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
}

.article-featured-image:hover .featured-image-overlay {
    opacity: 1;
}

.featured-image-overlay i {
    font-size: 52px;
    color: rgba(255, 255, 255, 0.95);
    transform: scale(0.7);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    background: rgba(255, 255, 255, 0.1);
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.article-featured-image:hover .featured-image-overlay i {
    transform: scale(1);
}

.article-body {
    font-size: 18px;
    line-height: 2;
    color: #444;
    text-align: justify;
}


.article-body p {
    margin-bottom: 20px;
}

.article-body p:first-of-type {
    font-size: 20px;
    color: #333;
    font-weight: 500;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 20px;
}

.article-body h2 {
    font-size: 32px;
}

.article-body h3 {
    font-size: 28px;
}

.article-body h4 {
    font-size: 24px;
}

.article-body img {
    max-width: 100%;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-body ul,
.article-body ol {
    margin: 25px 0;
    padding-right: 30px;
}

[dir="ltr"] .article-body ul,
[dir="ltr"] .article-body ol {
    padding-left: 30px;
    padding-right: 0;
}

.article-body li {
    margin-bottom: 12px;
    line-height: 1.9;
}

.article-body blockquote {
    background: var(--primary-light);
    border-right: 4px solid var(--primary-color);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 10px;
    font-style: italic;
    color: #555;
    position: relative;
}

.article-body blockquote::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: rgba(17, 105, 103, 0.15);
}

[dir="ltr"] .article-body blockquote {
    border-right: none;
    border-left: 4px solid var(--primary-color);
}

[dir="ltr"] .article-body blockquote::before {
    right: auto;
    left: 20px;
}

.article-body table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.article-body table thead {
    background: var(--primary-color);
    color: white;
}

.article-body table th {
    padding: 15px;
    font-weight: 600;
    text-align: right;
}

[dir="ltr"] .article-body table th {
    text-align: left;
}

.article-body table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.article-body table tr:last-child td {
    border-bottom: none;
}

.article-body table tbody tr:hover {
    background: rgba(17, 105, 103, 0.05);
}

/* ==============================================================================
   Article Gallery Section Styles - Modern & Light
   ============================================================================== */
.article-gallery-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px dashed rgba(17, 105, 103, 0.2);
}

.gallery-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.article-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(17, 105, 103, 0.18);
}

.article-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.article-gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(0.95);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(17, 105, 103, 0.5) 0%, rgba(50, 58, 69, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(1px);
}

.article-gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    font-size: 42px;
    color: rgba(255, 255, 255, 0.95);
    transform: scale(0.7);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.4));
    background: rgba(255, 255, 255, 0.12);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.article-gallery-item:hover .gallery-item-overlay i {
    transform: scale(1);
}

/* ==============================================================================
   Article Share Section Styles
   ============================================================================== */
.article-share-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.05) 0%, rgba(50, 58, 69, 0.05) 100%);
    border-radius: 15px;
    border: 2px dashed rgba(17, 105, 103, 0.2);
}

.share-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.article-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.share-btn i {
    font-size: 16px;
}

.share-btn.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
}

.share-btn.x-twitter {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.share-btn.x-twitter:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
}

.share-btn .x-icon,
.share-button .x-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: all 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.share-btn:hover .x-icon,
.share-button:hover .x-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* Ensure X icon displays properly on mobile */
@media (max-width: 767.98px) {
    .share-btn .x-icon {
        width: 18px;
        height: 18px;
    }

    /* X button text display on mobile */
    .share-btn.x-twitter span,
    .share-button.x-twitter span {
        display: none;
    }
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1ebe57 100%);
}

.share-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006ba6 100%);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005f8f 100%);
}

.share-btn.copy-link {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* ==============================================================================
   Article Tags Section Styles
   ============================================================================== */
.article-tags-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.03) 0%, rgba(50, 58, 69, 0.03) 100%);
    border-radius: 15px;
    border: 2px solid rgba(17, 105, 103, 0.1);
}

.tags-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.article-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.article-tag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(17, 105, 103, 0.1);
}

.article-tag-item i {
    color: var(--secondary-color);
    font-size: 14px;
    transition: all 0.3s ease;
}

.article-tag-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 105, 103, 0.3);
    border-color: var(--primary-color);
}

.article-tag-item:hover i {
    color: white;
    transform: scale(1.2);
}

/* ==============================================================================
   Related Posts Section Styles
   ============================================================================== */
.related-posts-section {
    margin-top: 50px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.related-posts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.related-posts-header {
    margin-bottom: 35px;
    text-align: center;
    position: relative;
}

.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
}

.title-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.title-decoration::before,
.title-decoration::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.title-decoration::before {
    right: -15px;
}

.title-decoration::after {
    left: -15px;
}

.related-post-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.related-post-card-new {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.related-post-link:hover .related-post-card-new {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.related-post-image-new {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.related-post-image-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.related-post-link:hover .related-post-image-new img {
    transform: scale(1.1);
}

.related-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 105, 103, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.related-post-link:hover .related-post-overlay {
    opacity: 1;
}

.related-post-overlay i {
    font-size: 32px;
    color: white;
}

.related-post-content-new {
    padding: 20px;
}

.related-post-category-new {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.related-post-title-new {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-post-link:hover .related-post-title-new {
    color: var(--primary-color);
}

.related-post-date-new {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.related-post-date-new i {
    color: var(--primary-color);
}

/* ==============================================================================
   Responsive Styles for Article Page
   ============================================================================== */
@media (max-width: 991.98px) {
    .article-hero-title {
        font-size: 38px;
    }

    .article-main-content {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .article-hero-image {
        min-height: 400px;
        background-attachment: scroll;
    }

    .article-hero-title {
        font-size: 32px;
    }

    .article-hero-meta {
        font-size: 14px;
        flex-wrap: wrap;
    }

    .article-main-content {
        padding: 25px 20px;
    }

    .article-featured-image {
        margin-bottom: 30px;
    }

    .featured-image-overlay i {
        font-size: 46px;
        width: 75px;
        height: 75px;
    }

    .gallery-item-overlay i {
        font-size: 38px;
        width: 65px;
        height: 65px;
    }


    .article-body p:first-of-type {
        font-size: 18px;
    }

    .article-share-section {
        padding: 20px;
    }

    .article-share-buttons {
        justify-content: center;
    }

    .share-btn span {
        display: none;
    }

    .share-btn {
        padding: 12px;
        width: 45px;
        height: 45px;
        justify-content: center;
    }

    .article-tags-section {
        padding: 20px;
    }

    .article-tags-container {
        gap: 10px;
    }

    .article-tag-item {
        padding: 8px 16px;
        font-size: 14px;
    }

    .related-posts-section {
        padding: 25px 15px;
    }

    .related-posts-title {
        font-size: 24px;
    }
}

@media (max-width: 575.98px) {
    .article-hero-image {
        min-height: 350px;
    }

    .article-hero-title {
        font-size: 26px;
    }

    .article-category-badge {
        font-size: 12px;
        padding: 8px 20px;
    }

    .article-main-content {
        padding: 20px 15px;
    }

    .article-featured-image {
        margin-bottom: 25px;
        border-radius: 12px;
    }

    .featured-image-overlay i {
        font-size: 44px;
        width: 70px;
        height: 70px;
    }

    .gallery-item-overlay i {
        font-size: 36px;
        width: 60px;
        height: 60px;
    }


    .article-body p:first-of-type {
        font-size: 17px;
    }

    .gallery-section-title {
        font-size: 20px;
    }

    .article-gallery-item img {
        height: 180px;
    }

    .article-tags-section {
        padding: 15px;
    }

    .article-tags-container {
        gap: 8px;
    }

    .article-tag-item {
        padding: 6px 14px;
        font-size: 13px;
    }

    .tags-section-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .related-posts-section {
        padding: 20px 15px;
    }

    .related-post-image-new {
        height: 180px;
    }
}

/* Sidebar Responsive Styles */
@media (max-width: 991.98px) {
    .sidebar-widget {
        margin-bottom: 25px;
    }
}

@media (max-width: 767.98px) {
    .sidebar-widget {
        padding: 25px 20px;
    }

    .widget-title {
        font-size: 20px;
    }

    .recent-post-image {
        width: 85px;
        min-width: 85px;
        max-width: 85px;
        height: 85px;
    }

    .recent-post-info h6 {
        font-size: 15px;
    }

    .category-item {
        padding: 10px 12px;
    }

    .category-item a {
        font-size: 14px;
    }

    .tag-item {
        font-size: 13px;
        padding: 6px 15px;
    }
}

@media (max-width: 575.98px) {
    .sidebar-widget {
        padding: 20px 15px;
    }

    .widget-title {
        font-size: 18px;
    }

    .widget-title::before {
        width: 5px;
        height: 24px;
    }
}

/* ==============================================================================
   Old Article Styles (Deprecated - Keep for backward compatibility)
   ============================================================================== */
.article-header {
    margin-bottom: 15px;
}

.article-title {
    color: var(--secondary-color);
    font-size: 27px;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #666;
    font-size: 15px;
}

.article-meta i {
    color: var(--primary-color);
    font-size: 17px;
}

.article-content {
    line-height: 1.8;
    color: #444;
    font-size: 17px;
    text-align: justify;
}

.recent-post-info a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.recent-post-info a:hover {
    color: var(--primary-color);
}

/* ==============================================================================
   Contact & Logo Section Helpers
   ============================================================================== */
.contact-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
    display: none;
}

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

.contact-info-item i {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.conference-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    white-space: nowrap;
}








/* ==============================================================================
   Rankings Section Styles
   ============================================================================== */
.rankings-section {
    background: #f8f9fa;
}

.ranking-header .ranking-logo img {
    max-height: 170px;
}


.ranking-logo i {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

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

.footer-widget .widget-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px dashed #2c7b79;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(-5px);
}

.footer-links i {
    font-size: 0.8rem;
    color: var(--secondary-color);
    color: #a5a5a5;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-widget .contact-item i {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    font-size: 23px;
}

.contact-item:hover i {
    background: #1f7d7d;
    color: white;
    transform: translateY(-2px);
}

.contact-details h5 {
    color: white;
    font-size: 1rem;
    margin: 0 0 5px;
}

.contact-details p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    position: relative;
}

.footer-newsletter h4 {
    color: white;
    margin: 0;
    font-size: 1.3rem;
}

.footer-newsletter p {
    margin: 5px 0 0;
    opacity: 0.8;
}

.newsletter-form .input-group {
    background: white;
    border-radius: 50px;
    padding: 5px;
}

.newsletter-form .form-control {
    border: none;
    padding: 10px 20px;
    background: transparent;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-form .btn {
    border-radius: 50px;
    padding: 10px 25px;
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.newsletter-form .btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-bottom {
    background-color: var(--secondary-hover);
    padding: 15px 0;
    margin-top: 40px;
    text-align: center;
}

.copyright {
    margin: 0;
    font-size: 0.9rem;
}

.footer-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-meta a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-meta a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .footer-newsletter {
        text-align: center;
    }

    .footer-newsletter form {
        margin-top: 20px;
    }

    .footer-meta {
        justify-content: center;
        margin-top: 15px;
    }

    .copyright {
        text-align: center;
    }
}






.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lang-btn i.fa-globe {
    font-size: 1rem;
}

.lang-btn .fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
}

.lang-btn.active .fa-chevron-down {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    padding: 8px 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(17, 105, 103, 0.1);
}

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

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.lang-option i.fa-check {
    font-size: 0.75rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.1) 0%, rgba(50, 58, 69, 0.1) 100%);
    border-radius: 50%;
}

.lang-option:hover i.fa-check {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.lang-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

[dir="ltr"] .lang-option::before {
    left: auto;
    right: 0;
}

.lang-option:hover {
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.08) 0%, rgba(50, 58, 69, 0.08) 100%);
    color: var(--primary-color);
    padding-right: 25px;
}

[dir="ltr"] .lang-option:hover {
    padding-left: 25px;
    padding-right: 18px;
}

.lang-option:hover::before {
    transform: scaleY(1);
}

.lang-option:hover i.fa-check {
    transform: scale(1.2);
}







.quick-links-section {
    background: #f8f9fa;
    padding: 5rem 0;
}

/* ==============================================================================
   Quick Links Swiper Styles
   ============================================================================== */
.quick-links-swiper {
    position: relative;
    padding: 0 20px 50px;
    max-width: 100%;
    overflow: hidden;
}

.quick-links-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.quick-link-card {
    display: block;
    text-decoration: none;
    color: #333;
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    width: 100%;
}

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

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #0e6f6b1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quick-link-card:hover .icon-wrapper {
    /* background: #357abd; */
    transform: scale(1.1);
}

.icon-wrapper i {
    font-size: 2rem;
    color: #0e6f6bd1;
}

.quick-link-card h3 {
    font-size: 1.2rem;
    margin: 0;
    transition: all 0.3s ease;
}

/* Swiper Navigation Buttons */
.quick-links-button-next,
.quick-links-button-prev {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.quick-links-button-next:after,
.quick-links-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.quick-links-button-next:hover,
.quick-links-button-prev:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Swiper Pagination */
.quick-links-pagination {
    bottom: 10px !important;
}

.quick-links-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.4;
}

.quick-links-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .quick-links-swiper {
        padding: 0 15px 50px;
    }
}

@media (max-width: 767.98px) {
    .quick-links-swiper {
        padding: 0 10px 50px;
    }

    .quick-links-button-next,
    .quick-links-button-prev {
        width: 35px;
        height: 35px;
    }

    .quick-links-button-next:after,
    .quick-links-button-prev:after {
        font-size: 14px;
    }

    .quick-link-card {
        padding: 1.5rem;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .icon-wrapper i {
        font-size: 1.8rem;
    }

    .quick-link-card h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .quick-links-swiper {
        padding: 0 10px 40px;
    }

    .quick-links-button-next,
    .quick-links-button-prev {
        width: 30px;
        height: 30px;
    }

    .quick-links-button-next:after,
    .quick-links-button-prev:after {
        font-size: 12px;
    }

    .quick-link-card {
        padding: 1.2rem;
    }

    .icon-wrapper {
        width: 65px;
        height: 65px;
    }

    .icon-wrapper i {
        font-size: 1.6rem;
    }

    .quick-link-card h3 {
        font-size: 1rem;
    }
}








/* ==============================================================================
   Mobile Menu Styles (Enhanced & Unified)
   ============================================================================== */
.offcanvas {
    z-index: 1050;
    width: 300px;
    max-width: 320px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    visibility: hidden;
    border: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    position: fixed;
}

.offcanvas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.offcanvas::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%);
    pointer-events: none;
}

[dir="ltr"] .offcanvas::after {
    right: auto;
    left: 0;
}

.offcanvas.show {
    visibility: visible;
}

/* RTL Support */
[dir="rtl"] .offcanvas.offcanvas-start,
[dir="rtl"] .offcanvas-start {
    right: 0;
    left: auto;
    transform: translateX(100%);
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

[dir="rtl"] .offcanvas-start.show {
    transform: translateX(0);
}

/* LTR Support */
[dir="ltr"] .offcanvas.offcanvas-start,
[dir="ltr"] .offcanvas-start {
    left: 0;
    right: auto;
    transform: translateX(-100%);
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

[dir="ltr"] .offcanvas-start.show {
    transform: translateX(0);
}

.offcanvas-header {
    padding: 25px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.offcanvas-title {
    color: white;
}

.btn-close {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 10px;
    border-radius: 50%;
    opacity: 0.9;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.95);
    transform: scale(1.15) rotate(90deg);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-close:active {
    transform: scale(1.05) rotate(90deg);
}

/* Fix close button position */
[dir="rtl"] .offcanvas .btn-close {
    margin: 0;
    position: absolute;
    left: 1rem;
    right: auto;
}

[dir="ltr"] .offcanvas .btn-close {
    margin: 0;
    position: absolute;
    right: 1rem;
    left: auto;
}

.offcanvas-body {
    padding: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.offcanvas-body::-webkit-scrollbar {
    width: 6px;
}

.offcanvas-body::-webkit-scrollbar-track {
    background: transparent;
}

.offcanvas-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 10px;
}

.offcanvas-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.3) 100%);
}

.mobile-menu {
    margin: 0;
    padding: 0;
    margin-top: 0.5rem;
}

.mobile-menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.mobile-menu-item::after,.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-item:last-child::after {
    display: none;
}

.mobile-link,
.mobile-accordion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0) 100%);
    border: none;
    border-left: 3px solid transparent;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

[dir="ltr"] .mobile-link,
[dir="ltr"] .mobile-accordion {
    border-left: none;
    border-right: 3px solid transparent;
}

.mobile-link::before,
.mobile-accordion::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    transition: width 0.3s ease;
}

[dir="ltr"] .mobile-link::before,
[dir="ltr"] .mobile-accordion::before {
    left: auto;
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
}

.mobile-accordion {
    position: relative;
    text-align: start;
}

.mobile-accordion i {
    transition: transform 0.3s ease, color 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.mobile-accordion.active i {
    transform: rotate(180deg);
    color: #fff;
}

.mobile-link:hover,
.mobile-accordion:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: #fff;
    border-left-color: #fff;
    padding-right: 25px;
}

[dir="ltr"] .mobile-link:hover,
[dir="ltr"] .mobile-accordion:hover {
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-right-color: #fff;
    border-left-color: transparent;
    padding-left: 25px;
    padding-right: 20px;
}

.mobile-link:hover::before,
.mobile-accordion:hover::before {
    width: 100%;
}

.mobile-submenu {
    display: none;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.15) 100%);
    padding: 0;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-submenu.active {
    display: block;
    max-height: 1800px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-submenu .mobile-submenu {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.25) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.mobile-submenu .mobile-link,
.mobile-submenu .mobile-accordion {
    padding: 12px 20px 12px 16px;
    /* font-size: 0.95rem; */
    color: rgba(255, 255, 255, 0.85);
}

[dir="ltr"] .mobile-submenu .mobile-link,
[dir="ltr"] .mobile-submenu .mobile-accordion {
    padding: 12px 20px 12px 16px;
}

.mobile-submenu .mobile-submenu .mobile-link,
.mobile-submenu .mobile-submenu .mobile-accordion {
    padding-right: 20px;
    /* font-size: 0.9rem; */
}

[dir="ltr"] .mobile-submenu .mobile-submenu .mobile-link,
[dir="ltr"] .mobile-submenu .mobile-submenu .mobile-accordion {
    padding-left: 20px;
    padding-right: 20px;
}

/* RTL adjustments for mobile submenu */
[dir="rtl"] .mobile-submenu {
    padding-right: 0;
    margin-right: 15px;
    margin-left: 0;
}

[dir="ltr"] .mobile-submenu {
    padding-left: 0;
    margin-left: 15px;
    margin-right: 0;
}

.navbar-toggler {
    padding: 0.5rem;
    border-color: rgba(255, 255, 255, 0.3);
    border: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

.navbar-toggler-icon{
    width: 33px;
    height: 33px;
}

/* Enhanced Mobile Menu Components */

.mobile-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.mobile-branding::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

[dir="ltr"] .mobile-branding::after {
    right: auto;
    left: -10px;
}

.mobile-logo {
    height: 55px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.mobile-logo:hover {
    transform: scale(1.05);
}

.mobile-brand-text {
    line-height: 1.3;
}

.mobile-brand-text h1 {
    font-size: 1.15rem;
    margin: 0 0 5px 0;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.mobile-brand-text p {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mobile-search {
    display: none;
    /* Hide mobile search */
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.mobile-search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.mobile-search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.15);
}

.mobile-search-btn {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    padding: 8px;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.mobile-search-btn:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.mobile-link-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-link i,
.mobile-link-content i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.offcanvas-footer {
    padding: 25px 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.1) 100%);
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.mobile-social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.mobile-social-link:hover {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    color: var(--primary-color);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.mobile-social-link:hover i {
    transform: scale(1.1);
}

/* RTL/LTR Support */
[dir="rtl"] .mobile-search-btn {
    left: 5px;
    right: auto;
}

[dir="ltr"] .mobile-search-btn {
    right: 5px;
    left: auto;
}

/* ==============================================================================
   Mobile Language Switcher Styles
   ============================================================================== */
.mobile-lang-switcher {
    padding: 15px 20px;
    display: flex;
    gap: 12px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mobile-lang-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-lang-button.active {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    color: var(--primary-color);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.mobile-lang-button:hover:not(.active) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.12) 100%);
    border-color: rgba(255, 255, 255, 0.35);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.mobile-lang-button i {
    font-size: 1rem;
}

/* ==============================================================================
   Academic Profile Styles
   ============================================================================== */
.academic-profile {
    padding: 80px 0;
    background: #f8f9fa;
}

.profile-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: white;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 30px;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto 20px;
    overflow: hidden;
}

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

.profile-info h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.profile-designation {
    font-size: 1.2rem;
    opacity: 0.9;
}

.profile-contact {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.profile-contact a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.profile-contact a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.profile-tabs {
    margin-bottom: 30px;
}

.profile-tabs .nav-link {
    color: var(--primary-color);
    padding: 15px 25px;
    border: none;
    border-radius: 0;
    /* border-bottom: 3px solid transparent; */
}

.profile-tabs .nav-link.active {
    color: var(--secondary-color);
    background: none;
    border-bottom-color: var(--secondary-color);
}

.profile-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-section h3,
.education-section h3,
.research-section h3,
.teaching-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px dashed rgba(14, 111, 107, 0.3);
}

.education-item,
.research-item,
.course-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.education-item:last-child,
.research-item:last-child,
.course-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.education-year,
.research-year {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.research-item .badge {
    background: rgba(14, 111, 107, 0.1);
    color: var(--secondary-color);
    font-weight: 500;
    margin-right: 5px;
}

.research-metrics {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

.research-metrics span i {
    color: var(--secondary-color);
    margin-left: 5px;
}

.course-code {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.expertise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.expertise-item {
    background: rgba(14, 111, 107, 0.1);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.faculty-section .container {
    position: relative;
    padding-bottom: 60px;
    /* Make room for pagination */
}

.faculty-swiper {
    overflow: hidden;
    position: relative;
}

.faculty-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.faculty-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 50%;
    background: #ccc;
    margin: 0 4px;
    opacity: 0.5;
}

/* ==============================================================================
   Laravel Pagination Styles
   ============================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 30px 0;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
    color: var(--primary-color);
    background-color: #fff;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination .page-link:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.pagination .page-item.disabled .page-link {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    border-color: #dee2e6;
}

[dir="rtl"] .pagination .fa-chevron-right {
    transform: rotate(180deg);
}

[dir="rtl"] .pagination .fa-chevron-left {
    transform: rotate(180deg);
}

.gallery-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-category {
    padding: 8px 20px;
    border: none;
    background: #f0f0f0;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.gallery-category.active {
    background: var(--secondary-color);
    color: white;
}

.gallery-category:hover:not(.active) {
    background: #e0e0e0;
}

.gallery-category-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--secondary-color);
    color: white;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================================================
   University Intro Video Section
   ============================================================================== */
.university-intro {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    overflow: hidden;
}

.intro-video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.intro-video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 20px;
}

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

.intro-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(14, 111, 107, 0.1);
    color: var(--secondary-color);
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.intro-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

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

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

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

.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(14, 111, 107, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.intro-feature:hover .feature-icon {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.feature-text h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0 0 5px;
}

.feature-text p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.intro-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.intro-btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.intro-btn.primary {
    background: var(--secondary-color);
    color: white;
    border: none;
}

.intro-btn.primary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.intro-btn.outline {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.intro-btn.outline:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .university-intro {
        padding: 60px 0;
    }

    .intro-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .intro-features {
        grid-template-columns: 1fr;
    }

    .intro-cta {
        justify-content: center;
    }
}

/* ==============================================================================
   Faculty Datatable Styles
   ============================================================================== */
.faculty-datatable-section {
    background: #f8f9fa;
}

.faculty-datatable-section .card {
    border: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

#facultyTable_wrapper {
    padding: 20px;
}

#facultyTable thead th {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
}

#facultyTable tbody td {
    vertical-align: middle;
    padding: 12px;
}

.faculty-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.faculty-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.faculty-actions .btn {
    padding: 6px 12px;
    border-radius: 6px;
}

.dataTables_filter,
.dataTables_length {
    margin-bottom: 20px;
}

[dir="rtl"] .dataTables_filter {
    float: left;
}

[dir="rtl"] .dataTables_length {
    float: right;
}

/* ==============================================================================
   Gallery Categories Section Styles
   ============================================================================== */
.gallery-categories-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.category-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    text-decoration: none;
    display: block;
    position: relative;
}

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

.category-image {
    position: relative;
    padding-top: 66.67%;
    /* 3:2 aspect ratio */
    overflow: hidden;
}

.category-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
}

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

.category-content {
    padding: 20px;
    text-align: center;
}

.category-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.category-count {
    color: #fff;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* ==============================================================================
   Page View Styles
   ============================================================================== */
.page-view-section {
    padding: 80px 0;
    background: #fff;
}

.page-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.page-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.page-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
}

.page-meta i {
    color: var(--secondary-color);
}

.page-body {
    line-height: 1.8;
    color: #444;
}

.page-body h2 {
    color: var(--primary-color);
    margin: 30px 0 20px;
    font-size: 1.5rem;
}

.page-body p {
    margin-bottom: 20px;
}

.page-body ul,
.page-body ol {
    margin-bottom: 20px;
    padding-right: 20px;
}

.page-body img {
    max-width: 100%;
    border-radius: 10px;
    margin: 20px 0;
}

.page-attachments {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.attachment-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.attachment-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.attachment-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.attachment-item:hover {
    background: #eee;
    transform: translateY(-2px);
}

.attachment-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.attachment-info {
    flex: 1;
}

.attachment-name {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.attachment-size {
    font-size: 0.8rem;
    color: #666;
}

/* ==============================================================================
   Latest News Carousel Section
   ============================================================================== */
.latest-news-section {
    background-color: #fff;
    padding: 5rem 0;
    position: relative;
}

/* .carousel-item {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-item img {
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-caption {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    padding: 0;
    color: #333;
    text-align: right;
}

.carousel-caption h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.carousel-caption p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1rem;
} */

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.5rem;
}

.news-meta span {
    display: flex;
    align-items: center;
}

.news-meta i {
    color: #4a90e2;
    margin-left: 0.5rem;
}

/* .carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(74, 144, 226, 0.8);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: absolute;
}

.carousel-control-prev {
    left: 20px;
    right: auto;
}

.carousel-control-next {
    right: 20px;
    left: auto;
}

html[dir="rtl"] .carousel-control-prev {
    right: 20px;
    left: auto;
}

html[dir="rtl"] .carousel-control-next {
    left: 20px;
    right: auto;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(74, 144, 226, 1);
}

.carousel-indicators {
    position: relative;
    margin-top: 20px;
    margin-bottom: 0;
    bottom: auto;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    opacity: 0.5;
    margin: 0 5px;
    border: none;
}

.carousel-indicators .active {
    background-color: #4a90e2;
    opacity: 1;
}

@media (max-width: 768px) {
    .carousel-item {
        padding: 15px;
    }

    .carousel-item img {
        height: 250px;
        margin-bottom: 20px;
    }

    .carousel-caption {
        text-align: center;
    }

    .news-meta {
        justify-content: center;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
        margin: 0 5px;
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 20px;
    filter: none;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

html[dir="rtl"] .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

html[dir="rtl"] .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
} */

/* ==============================================================================
   College Cards Styles
   ============================================================================== */
.colleges-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.college-card-link {
    display: block;
    text-decoration: none;
    height: 100%;
    transition: all 0.3s ease;
}

.college-card-link:hover {
    transform: translateY(-10px);
    text-decoration: none;
}

.college-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.college-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #5fb5ff);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.college-card-link:hover .college-card::after {
    transform: scaleX(1);
    transform-origin: left;
}

.college-card-link:hover .college-card {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #4a90e2;
}

.college-card-icon {
    /* background-color: rgba(74, 144, 226, 0.1); */
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.college-card-link:hover .college-card-icon {
    background-color: #4a90e2;
    transform: scale(1.1);
}

.college-card-icon i {
    font-size: 40px;
    color: #4a90e2;
    transition: all 0.3s ease;
}

.college-card-link:hover .college-card-icon i {
    color: #fff;
}

.college-logo {
    /* width: 65px; */
    height: 90px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.college-card-link:hover .college-logo {
    transform: scale(1.1);
}

.college-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    transition: all 0.3s ease;
}

.college-card-link:hover .college-card-title {
    color: #4a90e2;
}

.college-card-description {
    color: #666;
    margin-bottom: 0;
    flex-grow: 1;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .college-card {
        padding: 25px 15px;
    }

    .college-card-icon {
        width: 75px;
        height: 75px;
    }

    .college-logo {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 768px) {
    .college-card {
        padding: 20px 15px;
    }

    .college-card-icon {
        width: 60px;
        height: 60px;
    }

    .college-card-icon i {
        font-size: 30px;
    }

    .college-card-title {
        font-size: 18px;
    }

    .college-logo {
        width: 45px;
        height: 45px;
    }
}

/* ==============================================================================
   Teachers Section Styles
   ============================================================================== */
.teachers-section {
    background-color: #f8f9fa;
    padding: 80px 0;
    position: relative;
}

.teacher-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #4a90e2;
}

.teacher-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

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

.teacher-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.teacher-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.teacher-title {
    color: #4a90e2;
    font-weight: 600;
    margin-bottom: 10px;
}

.teacher-specialization {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.teacher-college {
    color: #777;
    font-size: 13px;
    margin-bottom: 15px;
}

.teacher-profile-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f0f7ff;
    color: #4a90e2;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.teacher-profile-link:hover {
    background-color: #4a90e2;
    color: #fff;
}

.teachers-swiper {
    padding-bottom: 50px;
}

.teachers-button-next,
.teachers-button-prev {
    width: 40px;
    height: 40px;
    background-color: rgba(74, 144, 226, 0.8);
    border-radius: 50%;
    color: #fff;
}

.teachers-button-next:after,
.teachers-button-prev:after {
    font-size: 18px;
}

.teachers-button-next:hover,
.teachers-button-prev:hover {
    background-color: #4a90e2;
}

.teachers-pagination {
    position: relative;
    bottom: 0;
    margin-top: 20px;
}

.teachers-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    opacity: 0.5;
}

.teachers-pagination .swiper-pagination-bullet-active {
    background-color: #4a90e2;
    opacity: 1;
}

@media (max-width: 992px) {
    .teacher-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .teacher-image {
        height: 180px;
    }

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

@media (max-width: 576px) {
    .teacher-image {
        height: 240px;
    }
}

/* ==============================================================================
   News Swiper Section
   ============================================================================== */
.news-swiper {
    padding: 15px 0 50px;
}

.news-swiper .swiper-slide {
    height: auto;
}

.news-button-next,
.news-button-prev {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(74, 144, 226, 0.8);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: absolute;
}

.news-button-next:after,
.news-button-prev:after {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.news-button-prev {
    left: 10px;
    right: auto;
}

.news-button-next {
    right: 10px;
    left: auto;
}

html[dir="rtl"] .news-button-prev {
    right: 10px;
    left: auto;
}

html[dir="rtl"] .news-button-next {
    left: 10px;
    right: auto;
}

.news-pagination {
    position: relative;
    bottom: -30px !important;
}

.news-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 0.5;
    background: #ccc;
    margin: 0 5px;
}

.news-pagination .swiper-pagination-bullet-active {
    background: #4a90e2;
    opacity: 1;
}

/* Related Post Card styles for Swiper - Override for News Section */
.news-swiper .related-post-card {
    display: block;
    margin-bottom: 0;
}

.news-swiper .related-post-image {
    overflow: hidden;
    height: 200px;
}

.news-swiper .related-post-image img {
    transition: all 0.5s ease;
}

.news-swiper .related-post-content {
    padding: 20px;
}

.news-swiper .related-post-category {
    background: #0e6f6bc4;
    border-radius: 50px;
    font-size: 12px;
}

.news-swiper .related-post-title {
    font-size: 16px;
    line-height: 1.5;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-swiper .related-post-date {
    font-size: 13px;
}

.news-swiper .related-post-date i {
    color: #46908d;
}

@media (max-width: 768px) {

    .news-button-next,
    .news-button-prev {
        width: 35px;
        height: 35px;
    }

    .related-post-image {
        height: 150px;
    }

    .related-post-content {
        padding: 15px;
    }
}

/* Offcanvas backdrop styles */
.offcanvas-backdrop {
    opacity: 0;
    transition: opacity 0.35s ease;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
    backdrop-filter: blur(5px);
}

.offcanvas-backdrop.show {
    opacity: 1;
}

.offcanvas-backdrop.fade {
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide top-logo-section on mobile devices */
@media (max-width: 767px) {
    .top-logo-section {
        display: none;
    }
}

/* Position navbar-toggler based on language direction */
[dir="rtl"] .navbar-toggler {
    position: absolute;
    left: 6px;
    right: auto;
}

[dir="ltr"] .navbar-toggler {
    position: absolute;
    right: 6px;
    left: auto;
}

/* ==============================================================================
   Responsive Styles for Offcanvas
   ============================================================================== */
@media (max-width: 575.98px) {
    .offcanvas {
        width: 280px;
        max-width: 90vw;
    }

    .offcanvas-header {
        padding: 20px 15px;
    }

    .mobile-logo {
        height: 45px;
    }

    .mobile-brand-text h1 {
        font-size: 1rem;
    }

    .mobile-brand-text p {
        font-size: 0.8rem;
    }

    .mobile-lang-switcher {
        padding: 12px 15px;
    }

    .mobile-lang-button {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .mobile-link,
    .mobile-accordion {
        padding: 12px 15px;
        /* font-size: 0.95rem; */
    }

    .offcanvas-footer {
        padding: 20px 15px;
    }

    .mobile-social-link {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

@media (max-width: 375px) {
    .offcanvas {
        width: 260px;
        max-width: 90vw;
    }

    .mobile-brand-text h1 {
        font-size: 0.95rem;
    }

    .mobile-lang-button {
        font-size: 0.85rem;
        gap: 6px;
    }

    .mobile-social {
        gap: 10px;
    }
}

/* ==============================================================================
   Gallery Swiper Styles
   ============================================================================== */
.gallery-swiper {
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
}

.gallery-swiper .swiper-slide {
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    position: relative;
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-swiper .swiper-slide:hover img {
    transform: scale(1.1);
}

.gallery-swiper .swiper-slide .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 20px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-swiper .swiper-slide:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-button-next,
.gallery-button-prev {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: absolute;
}

.gallery-button-next:after,
.gallery-button-prev:after {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.gallery-button-prev {
    left: 10px;
    right: auto;
}

.gallery-button-next {
    right: 10px;
    left: auto;
}

[dir="rtl"] .gallery-button-prev {
    right: 10px;
    left: auto;
}

[dir="rtl"] .gallery-button-next {
    left: 10px;
    right: auto;
}

.gallery-pagination {
    position: relative;
    bottom: 0 !important;
}

.gallery-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 0.5;
    background: #ccc;
    margin: 0 5px;
}

.gallery-pagination .swiper-pagination-bullet-active {
    background: var(--secondary-color);
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-swiper .swiper-slide {
        height: 250px;
    }

    .gallery-button-next,
    .gallery-button-prev {
        width: 35px;
        height: 35px;
    }
}

/* ==============================================================================
   Mobile App Section Styles
   ============================================================================== */
.mobile-app-section {
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.mobile-app-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--primary-light);
    z-index: 0;
}

.mobile-app-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--primary-light);
    z-index: 0;
}

.section-badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
}

.app-title {
    font-size: 38px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
}

.app-description {
    font-size: 16px;
    line-height: 1.7;
    color: #6c757d;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: white;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    flex-basis: calc(50% - 10px);
}

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

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-item span {
    font-weight: 600;
    font-size: 14px;
}

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

.app-download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-download-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--primary-shadow);
    color: white;
}

.app-download-btn i {
    font-size: 24px;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-text small {
    font-size: 10px;
    opacity: 0.8;
}

.btn-text span {
    font-size: 16px;
    font-weight: 600;
}

.app-qr-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: white;
    color: #212529;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.app-qr-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #212529;
}

.app-qr-btn i {
    font-size: 20px;
    color: var(--primary-color);
}

.app-image {
    position: relative;
    padding: 20px;
    text-align: center;
}

.app-image img {
    max-width: 60%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

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

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

.app-floating-icon {
    position: absolute;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.app-floating-icon i {
    color: var(--primary-color);
    font-size: 20px;
}

.app-icon-1 {
    top: 20%;
    left: 10%;
    animation: floatIcon 5s ease-in-out infinite;
}

.app-icon-2 {
    top: 40%;
    right: 10%;
    animation: floatIcon 7s ease-in-out infinite;
}

.app-icon-3 {
    bottom: 25%;
    left: 25%;
    animation: floatIcon 6s ease-in-out infinite;
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(5px, 10px);
    }

    50% {
        transform: translate(0, 5px);
    }

    75% {
        transform: translate(-5px, 10px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* ==============================================================================
   RTL Specific Styles
   ============================================================================== */
[dir="rtl"] .app-floating-icon.app-icon-1 {
    left: auto;
    right: 10%;
}

[dir="rtl"] .app-floating-icon.app-icon-2 {
    right: auto;
    left: 10%;
}

[dir="rtl"] .app-floating-icon.app-icon-3 {
    left: auto;
    right: 25%;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .app-image {
        margin-top: 30px;
    }

    .app-image img {
        max-width: 50%;
    }
}

@media (max-width: 767.98px) {
    .app-title {
        font-size: 32px;
    }

    .feature-item {
        flex-basis: 100%;
    }

    .download-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-download-btn,
    .app-qr-btn {
        width: 100%;
    }

    .app-image img {
        max-width: 70%;
    }

    .app-floating-icon {
        width: 40px;
        height: 40px;
    }

    .app-floating-icon i {
        font-size: 16px;
    }
}

/* ==============================================================================
   App Section Animation Enhancements
   ============================================================================== */
.mobile-app-section .app-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.mobile-app-section.in-viewport .app-content {
    opacity: 1;
    transform: translateY(0);
}

.mobile-app-section .app-image img {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

.mobile-app-section.in-viewport .app-image img {
    opacity: 1;
    transform: translateY(0);
}

.mobile-app-section .app-floating-icon {
    opacity: 0;
    transition: all 0.5s ease;
}

.mobile-app-section.in-viewport .app-floating-icon {
    opacity: 1;
}

.mobile-app-section .app-floating-icon.app-icon-1 {
    transition-delay: 0.6s;
}

.mobile-app-section .app-floating-icon.app-icon-2 {
    transition-delay: 0.8s;
}

.mobile-app-section .app-floating-icon.app-icon-3 {
    transition-delay: 1s;
}

.app-floating-icon.animated {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
}

/* ==============================================================================
   Interactive Footer Section (Replacing Newsletter)
   ============================================================================== */
.footer-interactive-section {
    background-color: var(--primary-light);
    padding: 40px 0;
    margin-top: 20px;
}

.interactive-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Achievements Showcase */
.achievements-showcase {
    display: flex;
    align-items: center;
    gap: 20px;
}

.achievement-badge {
    min-width: 65px;
    height: 65px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    position: relative;
    box-shadow: 0 5px 15px var(--primary-shadow);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    70% {
        transform: scale(1.3);
        opacity: 0;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.achievements-content {
    flex: 1;
}

.achievements-content h4 {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.achievements-slider {
    position: relative;
    height: 32px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    padding: 0 5px;
}

.achievements-track {
    animation: scroll 20s linear infinite;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
}

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

    100% {
        transform: translateX(-100%);
    }
}

.achievement-item {
    display: inline-block;
    margin-right: 40px;
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
}

.achievement-item::after {
    content: '\f111';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 6px;
    margin: 0 15px;
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
}

/* ==============================================================================
   Quick Contact Section
   ============================================================================== */
.quick-contact-section {
    text-align: center;
}

.quick-contact-section h4 {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.quick-contact-section p {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.quick-contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.contact-option-btn {
    flex: 1;
    min-width: 110px;
    background-color: white;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-option-btn i {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-option-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    color: var(--primary-color);
}

.contact-option-btn:hover i {
    transform: scale(1.2);
}

.phone-btn:hover i {
    color: #4CAF50;
}

.whatsapp-btn:hover i {
    color: #25D366;
}

.email-btn:hover i {
    color: #D44638;
}

.location-btn:hover i {
    color: #FF5722;
}

/* ==============================================================================
   RTL Specific Styles
   ============================================================================== */
[dir="rtl"] .achievements-track {
    animation: scroll-rtl 20s linear infinite;
}

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

    100% {
        transform: translateX(100%);
    }
}

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

/* ==============================================================================
   Responsive Styles
   ============================================================================== */
@media (max-width: 991.98px) {
    .achievements-showcase {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .interactive-container {
        padding: 20px;
    }

    .achievements-showcase {
        flex-direction: column;
        text-align: center;
    }

    .achievement-badge {
        margin: 0 auto 15px;
    }

    .quick-contact-options {
        gap: 10px;
    }

    .contact-option-btn {
        padding: 10px 15px;
        min-width: 90px;
    }
}

/* ==============================================================================
   Simple Contact Bar Styles
   ============================================================================== */
.footer-contact-bar {
    background-color: var(--primary-color);
    padding: 20px 0;
    margin-top: 20px;
}

.contact-bar-wrapper {
    padding: 10px 0;
}

.contact-title h4 {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-title p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 14px;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.contact-btn i {
    font-size: 16px;
}

/* ==============================================================================
   Responsive Styles for Contact Bar
   ============================================================================== */
@media (max-width: 991.98px) {
    .contact-buttons {
        justify-content: flex-start;
        margin-top: 15px;
    }
}

@media (max-width: 767.98px) {
    .contact-btn {
        padding: 8px 12px;
        font-size: 14px;
        flex: 1;
        justify-content: center;
    }

    .contact-title {
        text-align: center;
        margin-bottom: 15px;
    }

    .contact-buttons {
        justify-content: center;
    }
}

.contact-btn.pulse-effect {
    transform: scale(1.05);
}


/* News Cards (Static Layout) */
/* .latest-news-section .related-post-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    background-color: #fff;
}

.latest-news-section .related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.latest-news-section .related-post-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.latest-news-section .related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.latest-news-section .related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.latest-news-section .related-post-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.latest-news-section .related-post-category {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 10px;
    align-self: flex-start;
}

.latest-news-section .related-post-title {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.latest-news-section .related-post-card:hover .related-post-title {
    color: var(--primary-color);
}

.latest-news-section .related-post-date {
    margin-top: auto;
    font-size: 12px;
    color: #777;
    display: flex;
    align-items: center;
}

.latest-news-section .related-post-date i {
    margin-left: 5px;
    margin-right: 5px;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .latest-news-section .related-post-image {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .latest-news-section .related-post-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .latest-news-section .related-post-image {
        height: 180px;
    }
} */

/* ==============================================================================
   Gallery Cards (Static Layout)
   ============================================================================== */
.gallery-section .gallery-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    background-color: #fff;
}

.gallery-section .gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-section .gallery-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.gallery-section .gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-section .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: #fff;
    padding: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-section .gallery-card:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-section .gallery-category-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 10px;
}

.gallery-section .gallery-title {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #fff;
}

.gallery-section .gallery-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.gallery-section .gallery-date i {
    margin-left: 5px;
    margin-right: 5px;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .gallery-section .gallery-card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .gallery-section .gallery-card-image {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .gallery-section .gallery-card-image {
        height: 200px;
    }
}

/* ==============================================================================
   Enhanced Colleges Section
   ============================================================================== */
.enhanced-colleges-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.enhanced-colleges-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.enhanced-colleges-section .section-title {
    font-size: 32px;
    font-weight: 500;
    color: #4e4e4e;
    margin-bottom: 15px;
}

.enhanced-colleges-section .section-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 20px;
}

.section-divider {
    height: 4px;
    width: 70px;
    background: var(--primary-color);
    border-radius: 2px;
    margin-top: 15px;
}

.enhanced-college-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

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

.enhanced-college-header {
    padding: 30px 20px;
    padding-bottom: 0px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background: #fff;
    position: relative;
    overflow: hidden;
}

.enhanced-college-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.2;
}

.enhanced-college-logo {
    width: auto;
    height: 108px;
    object-fit: contain;
    /* filter: brightness(0) invert(1); */
    transition: all 0.3s ease;
}

.enhanced-college-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 32px;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.enhanced-college-card:hover .enhanced-college-icon {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.3);
}

.enhanced-college-body {
    padding: 25px;
    flex-grow: 1;
}

.enhanced-college-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
    border-bottom: 2px dashed #e9e9e9;
}

.enhanced-college-title::after {
    /* content: ''; */
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 1.5px;
}

.enhanced-college-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: center;
}

.enhanced-college-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.college-stat {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.college-stat i {
    color: var(--primary-color);
    margin-left: 8px;
    font-size: 16px;
}

.enhanced-college-footer {
    padding: 15px 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.enhanced-college-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.enhanced-college-link i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

[dir="rtl"] .enhanced-college-link i {
    margin-right: 0;
    margin-left: 5px;
}

.enhanced-college-link:hover {
    color: var(--secondary-color);
}

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

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

/* @media (max-width: 991.98px) {
    .enhanced-college-card {
        margin-bottom: 30px;
    }

    .enhanced-college-header {
        padding: 25px 15px;
    }

    .enhanced-college-logo {
        height: 80px;
    }

    .enhanced-college-icon {
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 28px;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 28px;
    }

    .enhanced-college-logo {
        height: 70px;
    }

    .enhanced-college-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 24px;
    }

    .enhanced-college-title {
        font-size: 18px;
    }

    .enhanced-college-description {
        font-size: 13px;
    }
} */

/* ==============================================================================
   Mobile University Name Styles
   ============================================================================== */
.university-name-mobile {
    font-family: var(--heading-font);
}

.university-name-mobile h6 {
    font-size: 1rem;
    font-weight: 600;
}

/* Remove the direction-specific margin settings, as we're now using flexbox in the HTML */
[dir="rtl"] .university-name-mobile {
    text-align: right;
}

[dir="ltr"] .university-name-mobile {
    text-align: left;
}

@media (max-width: 576px) {
    .university-name-mobile h6 {
        font-size: 18px;
    }
}

/* ==============================================================================
   Video Gallery Card Styles
   ============================================================================== */
.video-gallery-card .video-icon-wrapper {
    /* Disable these styles as they're replaced by new ones */
    position: absolute;
    top: -9999px;
    left: -9999px;
    visibility: hidden;
}

.video-gallery-card .video-icon-wrapper i {
    /* Disable these styles as they're replaced by new ones */
    visibility: hidden;
}

.video-gallery-card:hover .video-icon-wrapper {
    /* Disable these styles as they're replaced by new ones */
    visibility: hidden;
}

.gallery-card.video-gallery-card .gallery-overlay {
    /* Disable these styles as they're replaced by new ones */
    visibility: hidden;
}

/* ==============================================================================
   Video Play Icon in Gallery Cards
   ============================================================================== */
.video-play-icon {
    /* Disable these styles as they're replaced by new ones */
    position: absolute;
    top: -9999px;
    left: -9999px;
    visibility: hidden;
}

.video-play-icon i {
    /* Disable these styles as they're replaced by new ones */
    visibility: hidden;
}

.gallery-card:hover .video-play-icon {
    /* Disable these styles as they're replaced by new ones */
    visibility: hidden;
}

.gallery-card:hover .video-play-icon i {
    /* Disable these styles as they're replaced by new ones */
    visibility: hidden;
}

/* ==============================================================================
   Video Gallery Styles to match Photo Gallery
   ============================================================================== */
.videos-section .gallery-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 0;
    /* Changed from 20px to fix extra space */
    height: 100%;
    cursor: pointer;
}

.videos-section .gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.videos-section .gallery-card-image {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 75%;
    /* 4:3 Aspect Ratio */
    width: 100%;
    /* Ensure width is 100% */
}

.videos-section .gallery-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    margin: 0;
    /* Remove any default margins */
}

.videos-section .gallery-card:hover .gallery-card-image img {
    transform: scale(1.05);
}

.videos-section .gallery-overlay {
    position: absolute;
    top: -27px;
    left: 0;
    right: 0;
    bottom: 6px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    z-index: 1;
    /* Added z-index to ensure overlay appears above the image */
}

.videos-section .gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* Make the overlay visible by default but with lower opacity */
.gallery-card .gallery-overlay {
    opacity: 0.4 !important;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1 !important;
}

.videos-section .gallery-category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    z-index: 2;
    /* Ensure it's above the overlay */
}

.videos-section .gallery-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.videos-section .gallery-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.videos-section .gallery-date i {
    margin-left: 5px;
    color: var(--primary-color);
}

/* Video Play Button Style */
.play-video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    /* Increased z-index to be above the overlay */
    transition: all 0.3s ease;
}

.play-video-btn i {
    font-size: 4rem;
    color: white;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.gallery-card:hover .play-video-btn {
    transform: translate(-50%, -50%) scale(1.2);
}

.gallery-card:hover .play-video-btn i {
    color: #c4c4c4;
}

@media (max-width: 992px) {
    .play-video-btn i {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .play-video-btn i {
        font-size: 3rem;
    }

    .videos-section .gallery-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .play-video-btn i {
        font-size: 2.5rem;
    }

    .videos-section .gallery-title {
        font-size: 0.9rem;
    }
}


.line {
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
    top: 34px;
}

.line::before {
    position: absolute;
    content: "";
    max-width: 100%;
    width: 50%;
    height: 2px;
    background: #c5c5c5;
    background-color: #ededed;
    bottom: 45px;
    right: 0;
    left: 0;
    margin: 0 auto;
}


/* .line::after {
    position: absolute;
    content: "";
    max-width: 250px;
    height: 2px;
    background: #c5c5c5;
    background-color: #ededed;
    bottom: 45px;
    right: -298px;
    left: 0;
    margin: 0 auto;
  } */


.line i {
    margin: 0 auto;
    position: absolute;
    top: -58px;
    font-size: 22px;
    color: #116967ab;
    width: 53px;
    left: 0;
    right: 0;
    z-index: 111;
}

.ranking-card {
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* padding: 1rem; */
}

.ranking-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* .ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
} */


.ranking-body {
    padding: 25px;
    padding-top: 8px;
    padding-bottom: 30px;
}

.ranking-position {
    text-align: center;
    margin-bottom: 1.5rem;
}

.ranking-year {
    position: absolute;
    top: 12px;
    background: linear-gradient(135deg, #1f8886, #159e9c);
    color: #fff;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.ranking-year:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.ranking-year-ar {
    right: 16px;
}

.ranking-year-en {
    left: 16px;
}





.position-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.position-label {
    font-size: 1rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.ranking-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
}

.ranking-progress {
    margin-top: 1rem;
}

.progress-item label {
    display: block;
    font-size: 0.875rem;
    color: #343a40;
    margin-bottom: 0.5rem;
}

.progress {
    height: 0.75rem;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.05);
}

.progress-bar {
    background-color: var(--primary-color);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
    border-radius: 10px;
    animation: progress-bar-stripes 1s linear infinite;
}

@media (max-width: 768px) {
    .ranking-stats {
        flex-direction: column;
    }

    .stat-item {
        margin-bottom: 1rem;
    }

    .ranking-position {
        margin-bottom: 1.2rem;
    }
}

marquee a:hover {
    text-decoration: underline !important;
}

/* ==============================================================================
   News Ticker Marquee Styles
   ============================================================================== */
.news-ticker-marquee {
    margin-right: -10%;
    direction: ltr;
    padding: 10px 0px;
    padding-bottom: 18px;
    display: block;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: -7px;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 17;
    background: #116967;
}

.news-ticker-marquee a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
}

.news-ticker-marquee img {
    height: 25px;
    margin: 0 20px;
    margin-top: -1px;
    filter: brightness(0) invert(1);
}

/* Higher z-index for college layout */
.news-ticker-marquee.college-ticker {
    z-index: 5;
}

/* ==============================================================================
   College Information Tabs Section
   ============================================================================== */
.college-info-tabs-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.college-info-tabs-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(17, 105, 103, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.college-info-tabs-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(17, 105, 103, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.college-info-tabs-wrapper {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Tabs Navigation */
.college-info-nav {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d5856 100%);
    border: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.college-info-nav .nav-item {
    flex: 1;
    min-width: 150px;
}

.college-info-nav .nav-link {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-radius: 0;
}

.college-info-nav .nav-link i {
    font-size: 24px;
    transition: all 0.3s ease;
}

.college-info-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.college-info-nav .nav-link:hover i {
    transform: scale(1.2);
}

.college-info-nav .nav-link.active {
    background: #fff;
    color: var(--primary-color);
    border-bottom: 4px solid var(--secondary-color);
}

.college-info-nav .nav-link.active i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Tabs Content */
.college-info-content {
    padding: 40px;
    min-height: 400px;
}

.info-content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    animation: fadeInUp 0.5s ease;
}

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

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

.info-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(17, 105, 103, 0.3);
}

.info-icon i {
    font-size: 36px;
    color: #fff;
}

.info-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.info-text p {
    margin-bottom: 15px;
}

.info-text h3,
.info-text h4 {
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-text ul,
.info-text ol {
    padding-right: 20px;
    padding-left: 20px;
    margin-bottom: 15px;
}

.info-text li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.info-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* RTL Support */
[dir="rtl"] .info-content-wrapper {
    flex-direction: row;
}

[dir="ltr"] .info-content-wrapper {
    flex-direction: row-reverse;
}

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

[dir="ltr"] .info-text {
    text-align: left;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .college-info-nav .nav-item {
        min-width: 120px;
    }

    .college-info-nav .nav-link {
        padding: 15px 10px;
        font-size: 14px;
    }

    .college-info-nav .nav-link i {
        font-size: 20px;
    }

    .college-info-content {
        padding: 30px 20px;
    }

    .info-icon {
        width: 60px;
        height: 60px;
    }

    .info-icon i {
        font-size: 28px;
    }
}

@media (max-width: 767.98px) {
    .college-info-nav {
        flex-direction: column;
    }

    .college-info-nav .nav-item {
        width: 100%;
        min-width: auto;
    }

    .college-info-nav .nav-link {
        flex-direction: row;
        justify-content: center;
        padding: 15px;
        gap: 15px;
    }

    .college-info-nav .nav-link i {
        font-size: 22px;
    }

    .info-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    [dir="rtl"] .info-content-wrapper,
    [dir="ltr"] .info-content-wrapper {
        flex-direction: column;
    }

    .info-icon {
        margin: 0 auto;
    }

    [dir="rtl"] .info-text,
    [dir="ltr"] .info-text {
        text-align: justify;
    }

    .college-info-content {
        padding: 25px 15px;
        min-height: 300px;
    }

    .info-text {
        font-size: 15px;
    }
}

@media (max-width: 575.98px) {
    .college-info-nav .nav-link {
        font-size: 13px;
        padding: 12px;
    }

    .college-info-nav .nav-link span {
        font-size: 13px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .info-icon i {
        font-size: 24px;
    }

    .info-text {
        font-size: 14px;
    }
}

/* ==============================================================================
   Fancybox Caption Styles
   ============================================================================== */
.fancybox__caption{
    text-align: center;
    font-size: 20px;
}

/* ==============================================================================
   Page Hero Section Styles
   ============================================================================== */
.page-hero-section {
    position: relative;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
}

.page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.92) 0%, rgba(50, 58, 69, 0.88) 100%);
    z-index: 1;
}

.page-hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
}

.page-hero-content {
    text-align: center;
    color: white;
    animation: fadeInUp 0.8s ease;
}

.page-breadcrumb {
    margin-bottom: 30px;
}

.page-breadcrumb .breadcrumb {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-breadcrumb .breadcrumb-item {
    font-size: 15px;
    font-weight: 500;
}

.page-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.page-breadcrumb .breadcrumb-item a:hover {
    color: white;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.page-breadcrumb .breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    padding: 0 10px;
    margin-top: -2px;
    height: 13px;
}

[dir="ltr"] .page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "‹";
}

.page-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 25px;
    line-height: 1.3;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.page-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    font-weight: 500;
    animation: fadeIn 1s ease 0.5s both;
}

.page-hero-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 25px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-hero-meta .meta-item i {
    font-size: 16px;
    color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.9);
}

.page-hero-meta .meta-divider {
    font-size: 20px;
    opacity: 0.6;
    color: rgba(255, 255, 255, 0.5);
}

/* ==============================================================================
   Page Content Section Styles
   ============================================================================== */
.page-content-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 50%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Background Decorative Shapes */
.page-content-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.page-content-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
}

.page-content-bg-shapes .shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.page-content-bg-shapes .shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    bottom: 100px;
    left: -50px;
    animation: float 25s ease-in-out infinite reverse;
}

.page-content-bg-shapes .shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 30s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.page-main-content {
    background: white;
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.page-main-content:hover {
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.page-main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    z-index: 1;
}

.page-main-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Content Top Decoration */
.content-top-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 35px 0 25px;
}

.decoration-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.decoration-line {
    width: 110px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

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

/* Content Header */
.page-content-header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 0 50px 30px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.header-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(17, 105, 103, 0.25);
    position: relative;
    overflow: hidden;
}

.header-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.header-icon-wrapper i {
    font-size: 32px;
    color: white;
    position: relative;
    z-index: 1;
}

.header-info {
    flex: 1;
}

.content-header-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.content-header-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.08) 0%, rgba(50, 58, 69, 0.08) 100%);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    border: 1px solid rgba(17, 105, 103, 0.1);
}

.meta-badge i {
    color: var(--primary-color);
    font-size: 13px;
}

/* Content Body Wrapper */
.page-content-body {
    padding: 0 50px 50px;
}

.content-wrapper {
    font-size: 18px;
    line-height: 2;
    color: #444;
    text-align: justify;
    position: relative;
    z-index: 1;
}

.content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: -25px;
    width: 4px;
    height: 120px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 50%, transparent 100%);
    border-radius: 2px;
    opacity: 0.25;
}

[dir="ltr"] .content-wrapper::before {
    right: auto;
    left: -25px;
}

.content-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(17, 105, 103, 0.1) 50%, transparent 100%);
}

.content-wrapper p {
    margin-bottom: 22px;
    line-height: 2.1;
}

/* Enhanced Headings */
.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    padding-right: 20px;
}

[dir="ltr"] .content-wrapper h1,
[dir="ltr"] .content-wrapper h2,
[dir="ltr"] .content-wrapper h3,
[dir="ltr"] .content-wrapper h4,
[dir="ltr"] .content-wrapper h5,
[dir="ltr"] .content-wrapper h6 {
    padding-left: 20px;
    padding-right: 0;
}

.content-wrapper h1::before,
.content-wrapper h2::before,
.content-wrapper h3::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 3px;
}

[dir="ltr"] .content-wrapper h1::before,
[dir="ltr"] .content-wrapper h2::before,
[dir="ltr"] .content-wrapper h3::before {
    right: auto;
    left: 0;
}

.content-wrapper h2 {
    font-size: 32px;
    padding-bottom: 15px;
    border-bottom: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(90deg, var(--primary-color) 0%, transparent 100%) border-box;
    border-bottom: 3px solid transparent;
    background-image: linear-gradient(white, white),
                      linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, transparent 100%);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    margin-bottom: 25px;
}

.content-wrapper h3 {
    font-size: 28px;
    color: var(--secondary-color);
}

.content-wrapper h4 {
    font-size: 24px;
    color: #333;
}

.content-wrapper h4::before {
    content: '▸';
    margin-left: 10px;
    color: var(--primary-color);
    font-size: 20px;
}

[dir="ltr"] .content-wrapper h4::before {
    content: '◂';
    margin-right: 10px;
    margin-left: 0;
}

/* Enhanced Images */
.content-wrapper img {
    max-width: 100%;
    border-radius: 15px;
    margin: 35px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    border: 5px solid #f8f9fa;
    cursor: pointer;
}

.content-wrapper img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18);
    border-color: var(--primary-color);
}

/* Enhanced Lists */
.content-wrapper ul,
.content-wrapper ol {
    margin: 30px 0;
    padding-right: 30px;
    position: relative;
}

[dir="ltr"] .content-wrapper ul,
[dir="ltr"] .content-wrapper ol {
    padding-left: 30px;
    padding-right: 0;
}

.content-wrapper ul {
    list-style: none;
}

.content-wrapper ul li {
    position: relative;
    margin-bottom: 15px;
    padding-right: 25px;
    line-height: 2;
}

[dir="ltr"] .content-wrapper ul li {
    padding-left: 25px;
    padding-right: 0;
}

.content-wrapper ul li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 12px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(17, 105, 103, 0.3);
}

[dir="ltr"] .content-wrapper ul li::before {
    right: auto;
    left: 0;
}

.content-wrapper ol li {
    margin-bottom: 15px;
    line-height: 2;
    padding-right: 10px;
}

[dir="ltr"] .content-wrapper ol li {
    padding-left: 10px;
    padding-right: 0;
}

.content-wrapper ol li::marker {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1em;
}

/* Enhanced Blockquotes */
.content-wrapper blockquote {
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.05) 0%, rgba(50, 58, 69, 0.05) 100%);
    border-right: 5px solid var(--primary-color);
    padding: 30px 35px;
    margin: 35px 0;
    border-radius: 15px;
    font-style: italic;
    color: #555;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.content-wrapper blockquote::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 40px;
    color: rgba(17, 105, 103, 0.12);
    z-index: 0;
}

.content-wrapper blockquote::after {
    content: '\f10e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    bottom: 20px;
    left: 25px;
    font-size: 40px;
    color: rgba(17, 105, 103, 0.12);
    z-index: 0;
}

.content-wrapper blockquote p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

[dir="ltr"] .content-wrapper blockquote {
    border-right: none;
    border-left: 5px solid var(--primary-color);
}

[dir="ltr"] .content-wrapper blockquote::before {
    right: auto;
    left: 25px;
}

[dir="ltr"] .content-wrapper blockquote::after {
    left: auto;
    right: 25px;
}

/* Enhanced Tables */
.content-wrapper table {
    width: 100%;
    margin: 35px 0;
    border-collapse: collapse;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.content-wrapper table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.content-wrapper table th {
    padding: 18px 20px;
    font-weight: 600;
    text-align: right;
    font-size: 16px;
    letter-spacing: 0.3px;
}

[dir="ltr"] .content-wrapper table th {
    text-align: left;
}

.content-wrapper table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.content-wrapper table tr:last-child td {
    border-bottom: none;
}

.content-wrapper table tbody tr {
    transition: all 0.3s ease;
}

.content-wrapper table tbody tr:hover {
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.04) 0%, rgba(50, 58, 69, 0.04) 100%);
    transform: translateX(-3px);
}

[dir="ltr"] .content-wrapper table tbody tr:hover {
    transform: translateX(3px);
}

.content-wrapper table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.01);
}

/* Enhanced Links in Content */
.content-wrapper a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.content-wrapper a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.content-wrapper a::after {
    content: '\f35d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.75em;
    margin-right: 5px;
    opacity: 0;
    transition: all 0.3s ease;
}

[dir="ltr"] .content-wrapper a::after {
    margin-left: 5px;
    margin-right: 0;
}

.content-wrapper a:hover::after {
    opacity: 1;
    margin-right: 8px;
}

[dir="ltr"] .content-wrapper a:hover::after {
    margin-left: 8px;
    margin-right: 0;
}

/* Enhanced Strong/Bold Text */
.content-wrapper strong,
.content-wrapper b {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding: 0 3px;
}

/* Enhanced Em/Italic Text */
.content-wrapper em,
.content-wrapper i:not([class]) {
    color: var(--secondary-color);
    font-style: italic;
}

/* Code Blocks */
.content-wrapper code {
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.08) 0%, rgba(50, 58, 69, 0.08) 100%);
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    border: 1px solid rgba(17, 105, 103, 0.15);
}

.content-wrapper pre {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-right: 4px solid var(--primary-color);
    overflow-x: auto;
    margin: 25px 0;
}

[dir="ltr"] .content-wrapper pre {
    border-right: none;
    border-left: 4px solid var(--primary-color);
}

.content-wrapper pre code {
    background: none;
    border: none;
    padding: 0;
}

/* Horizontal Rules */
.content-wrapper hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 20%, var(--secondary-color) 50%, var(--primary-color) 80%, transparent 100%);
    margin: 40px 0;
    border-radius: 2px;
    opacity: 0.3;
}

/* ==============================================================================
   Page Info Footer Styles
   ============================================================================== */
.page-info-footer {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px 50px;
    margin: 40px 0 0;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.03) 0%, rgba(50, 58, 69, 0.03) 100%);
    border-radius: 15px;
    border: 2px dashed rgba(17, 105, 103, 0.15);
    flex-wrap: wrap;
}

.page-info-footer .info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.page-info-footer .info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-info-footer .info-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.info-value {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
}

/* ==============================================================================
   Enhanced Page Share Section Styles
   ============================================================================== */
.page-share-section {
    margin: 45px 50px 0;
    padding: 0;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.05) 0%, rgba(50, 58, 69, 0.05) 100%);
    border-radius: 20px;
    border: 2px solid rgba(17, 105, 103, 0.12);
    position: relative;
    overflow: hidden;
}

.page-share-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    z-index: 1;
}

.page-share-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(17, 105, 103, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

[dir="ltr"] .page-share-section::after {
    right: auto;
    left: 0;
}

.share-container {
    position: relative;
    z-index: 1;
    padding: 35px;
}

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

.share-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(17, 105, 103, 0.25);
}

.share-icon-wrapper i {
    font-size: 26px;
    color: white;
}

.share-text-wrapper {
    flex: 1;
}

.share-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.share-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.page-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.page-share-buttons .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-share-buttons .share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.page-share-buttons .share-btn i {
    font-size: 16px;
}

.page-share-buttons .share-btn.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
}

.page-share-buttons .share-btn.x-twitter {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.page-share-buttons .share-btn.x-twitter:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
}

.page-share-buttons .share-btn .x-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: all 0.3s ease;
}

.page-share-buttons .share-btn:hover .x-icon {
    transform: scale(1.15) rotate(-5deg);
}

.page-share-buttons .share-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1ebe57 100%);
}

.page-share-buttons .share-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006ba6 100%);
}

.page-share-buttons .share-btn.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005f8f 100%);
}

.page-share-buttons .share-btn.copy-link {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* ==============================================================================
   Content Bottom Decoration Styles
   ============================================================================== */
.content-bottom-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 0 35px;
}

/* ==============================================================================
   Edit Page Button Styles (Floating)
   ============================================================================== */
.edit-page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.edit-page-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 35px rgba(243, 156, 18, 0.6);
    color: white;
}

.edit-page-btn i {
    font-size: 22px;
    transition: all 0.3s ease;
}

.edit-page-btn:hover i {
    transform: scale(1.1);
}

/* ==============================================================================
   Responsive Styles for Page View
   ============================================================================== */
@media (max-width: 991.98px) {
    .page-hero-title {
        font-size: 38px;
    }

    .page-main-content {
        border-radius: 20px;
    }

    .page-content-body {
        padding: 0 35px 40px;
    }

    .content-wrapper {
        font-size: 17px;
    }

    .page-share-section {
        margin: 35px 35px 0;
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .page-hero-section {
        min-height: 300px;
        background-attachment: scroll;
    }

    .page-hero-overlay {
        padding: 60px 0;
    }

    .page-hero-title {
        font-size: 32px;
    }

    .page-hero-meta {
        font-size: 14px;
        flex-direction: column;
        gap: 10px;
    }

    .page-hero-meta .meta-item {
        padding: 6px 15px;
        font-size: 14px;
    }

    .page-breadcrumb .breadcrumb {
        padding: 10px 20px;
        font-size: 14px;
    }

    .page-main-content {
        border-radius: 18px;
    }

    .content-top-decoration {
        padding: 30px 0 20px;
    }

    .page-content-body {
        padding: 0 25px 35px;
    }

    .content-wrapper {
        font-size: 16px;
    }

    .content-wrapper::before {
        display: none;
    }

    .content-wrapper h2 {
        font-size: 26px;
    }

    .content-wrapper h3 {
        font-size: 22px;
    }

    .content-wrapper h4 {
        font-size: 20px;
    }

    .page-share-section {
        margin: 30px 25px 0;
        padding: 0;
        border-radius: 15px;
    }

    .share-container {
        padding: 25px;
    }

    .share-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .share-text-wrapper {
        text-align: center;
    }

    .page-share-buttons {
        justify-content: center;
    }

    .page-share-buttons .share-btn span {
        display: none;
    }

    .page-share-buttons .share-btn {
        padding: 12px;
        width: 45px;
        height: 45px;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .page-hero-section {
        min-height: 250px;
    }

    .page-hero-overlay {
        padding: 50px 0;
    }

    .page-hero-title {
        font-size: 26px;
    }

    .page-breadcrumb .breadcrumb {
        padding: 8px 15px;
        font-size: 13px;
    }

    .page-breadcrumb .breadcrumb-item a i {
        font-size: 12px;
    }

    .page-main-content {
        border-radius: 15px;
    }

    .content-top-decoration,
    .content-bottom-decoration {
        padding: 25px 0 18px;
    }

    .decoration-line {
        width: 60px;
        height: 2px;
    }

    .decoration-dot {
        width: 6px;
        height: 6px;
    }

    .page-content-body {
        padding: 0 20px 30px;
    }

    .content-wrapper {
        font-size: 16px;
    }

    .content-wrapper h2 {
        font-size: 24px;
    }

    .content-wrapper h3 {
        font-size: 20px;
    }

    .content-wrapper h4 {
        font-size: 18px;
    }

    .page-share-section {
        margin: 25px 20px 0;
        padding: 0;
    }

    .share-container {
        padding: 20px;
    }

    .share-icon-wrapper {
        width: 55px;
        height: 55px;
    }

    .share-icon-wrapper i {
        font-size: 24px;
    }

    .share-title {
        font-size: 18px;
    }

    .share-subtitle {
        font-size: 13px;
    }

    .page-share-buttons {
        gap: 8px;
    }
}

/* ==============================================================================
   Featured Main Posts Section Styles
   ============================================================================== */
.main-posts-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.main-posts-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(17, 105, 103, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.featured-post-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.featured-post-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.featured-post-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(17, 105, 103, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

.featured-badge.badge-secondary {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    box-shadow: 0 5px 20px rgba(230, 126, 34, 0.3);
}

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

.featured-badge i {
    font-size: 14px;
}

[dir="rtl"] .featured-badge {
    right: 20px;
    left: auto;
}

[dir="ltr"] .featured-badge {
    left: 20px;
    right: auto;
}

.featured-post-image {
    position: relative;
    height: 225px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.featured-post-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.5s ease;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.featured-post-card:hover .featured-post-image img {
    transform: scale(1.1) rotate(2deg);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 105, 103, 0.9) 0%, rgba(50, 58, 69, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.featured-post-card:hover .featured-overlay {
    opacity: 1;
}

.overlay-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.5);
    transition: all 0.4s ease;
}

.featured-post-card:hover .overlay-icon {
    transform: scale(1);
}

.overlay-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.featured-post-content {
    padding: 30px;
    background: white;
    position: relative;
}

.featured-post-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.featured-post-card:hover .featured-post-content::before {
    transform: scaleX(1);
}

.featured-post-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.featured-post-card:hover .featured-post-title {
    color: var(--primary-color);
}

.featured-post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ebebeb;
    font-size: 16px;
    font-weight: 500;
}

.meta-item i {
    color: #ebebeb;
    font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .featured-post-image {
        height: 250px;
        padding: 30px;
    }

    .featured-post-title {
        font-size: 18px;
    }
}

@media (max-width: 767.98px) {
    .featured-post-image {
        height: 220px;
        padding: 25px;
    }

    .featured-post-content {
        padding: 25px 20px;
    }

    .featured-badge {
        font-size: 12px;
        padding: 6px 15px;
        top: 15px;
        right: 15px;
    }

    [dir="ltr"] .featured-badge {
        left: 15px;
    }

    .featured-post-title {
        font-size: 17px;
    }
}

@media (max-width: 575.98px) {
    .featured-post-image {
        height: 200px;
        padding: 20px;
    }

    .overlay-icon {
        width: 60px;
        height: 60px;
    }

    .overlay-icon i {
        font-size: 20px;
    }
}

/* ==============================================================================
   Live Stream Banner Styles
   ============================================================================== */
.live-stream-banner {
    position: fixed;
    bottom: 46px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 15px 0;
    z-index: 999;
    box-shadow: 0 -4px 15px rgba(220, 53, 69, 0.4);
    animation: slideUp 0.5s ease-out;
    transition: all 0.3s ease;
}

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

.live-stream-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    position: relative;
    animation: pulse-animation 2s infinite;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

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

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.live-text {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stream-info {
    display: flex;
    align-items: center;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
}

.stream-info i {
    font-size: 20px;
}

.stream-title {
    margin: 0;
}

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

.btn-watch-stream {
    background: white;
    color: #dc3545;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-watch-stream:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.btn-watch-stream i {
    font-size: 16px;
}

/* Live Stream Modal Styles */
#liveStreamModal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

#liveStreamModal .modal-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-bottom: none;
    padding: 20px 25px;
}

#liveStreamModal .modal-title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

#liveStreamModal .btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    opacity: 0.9;
    width: 1.2em;
    height: 1.2em;
    padding: 0.5em;
}

#liveStreamModal .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

#liveStreamModal .btn-close:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.live-indicator-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
}

.pulse-dot-small {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse-animation 2s infinite;
}

.live-text-small {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .live-stream-banner {
        padding: 12px 0;
    }

    .live-stream-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .stream-info {
        justify-content: center;
        font-size: 15px;
    }

    .stream-actions {
        justify-content: center;
    }

    .btn-watch-stream {
        flex: 1;
        justify-content: center;
        padding: 12px 20px;
        font-size: 15px;
    }

    #liveStreamModal .modal-dialog {
        margin: 10px;
    }

    #liveStreamModal .modal-title {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .live-indicator {
        justify-content: center;
    }

    .stream-title {
        font-size: 14px;
        text-align: center;
    }

    .btn-watch-stream {
        font-size: 14px;
        padding: 10px 18px;
    }
}

/* ==============================================================================
   Administrative Unit Page Styles
   ============================================================================== */
.administrative-unit-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.administrative-unit-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.unit-type-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.manager-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.manager-image-wrapper {
    position: relative;
    display: inline-block;
}

.manager-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background: var(--primary-light);
    border-radius: 50%;
    z-index: -1;
}

.manager-word-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.manager-word-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.05);
}

.about-unit-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.about-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.unit-info-highlight {
    background: var(--primary-light);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

[dir="ltr"] .unit-info-highlight {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

.contact-email-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.contact-email-section a {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-email-section a:hover {
    transform: translateY(-3px);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .administrative-unit-hero {
        padding: 60px 0;
    }

    .manager-word-card {
        padding: 20px;
    }

    .about-card {
        padding: 25px;
    }
}

/* ==============================================================================
   University Rankings Swiper Styles
   ============================================================================== */
.university-rankings-swiper {
    position: relative;
    padding: 0 20px 50px;
    max-width: 100%;
    overflow: hidden;
}

.university-rankings-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.university-rankings-swiper .ranking-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* Swiper Pagination */
.university-rankings-pagination {
    bottom: 10px !important;
}

.university-rankings-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.4;
}

.university-rankings-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* Swiper Navigation Buttons */
.university-rankings-button-next,
.university-rankings-button-prev {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.university-rankings-button-next:after,
.university-rankings-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.university-rankings-button-next:hover,
.university-rankings-button-prev:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .university-rankings-swiper {
        padding: 0 15px 50px;
    }
}

@media (max-width: 767.98px) {
    .university-rankings-swiper {
        padding: 0 10px 50px;
    }

    .university-rankings-button-next,
    .university-rankings-button-prev {
        width: 35px;
        height: 35px;
    }

    .university-rankings-button-next:after,
    .university-rankings-button-prev:after {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .university-rankings-swiper {
        padding: 0 10px 40px;
    }

    .university-rankings-button-next,
    .university-rankings-button-prev {
        width: 30px;
        height: 30px;
    }

    .university-rankings-button-next:after,
    .university-rankings-button-prev:after {
        font-size: 12px;
    }
}

/* ==============================================================================
   Video Galleries Swiper Styles
   ============================================================================== */
.video-galleries-swiper {
    position: relative;
    padding: 0 20px 50px;
    max-width: 100%;
    overflow: hidden;
}

.video-galleries-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.video-galleries-swiper .category-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* Swiper Pagination */
.video-galleries-pagination {
    bottom: 10px !important;
}

.video-galleries-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.4;
}

.video-galleries-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* Swiper Navigation Buttons */
.video-galleries-button-next,
.video-galleries-button-prev {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.video-galleries-button-next:after,
.video-galleries-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.video-galleries-button-next:hover,
.video-galleries-button-prev:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .video-galleries-swiper {
        padding: 0 15px 50px;
    }
}

@media (max-width: 767.98px) {
    .video-galleries-swiper {
        padding: 0 10px 50px;
    }

    .video-galleries-button-next,
    .video-galleries-button-prev {
        width: 35px;
        height: 35px;
    }

    .video-galleries-button-next:after,
    .video-galleries-button-prev:after {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .video-galleries-swiper {
        padding: 0 10px 40px;
    }

    .video-galleries-button-next,
    .video-galleries-button-prev {
        width: 30px;
        height: 30px;
    }

    .video-galleries-button-next:after,
    .video-galleries-button-prev:after {
        font-size: 12px;
    }
}

/* ==============================================================================
   Image Gallery Items Swiper Styles (For Administrative Units)
   ============================================================================== */
.image-gallery-items-swiper {
    position: relative;
    padding: 0 20px 50px;
    max-width: 100%;
    overflow: hidden;
}

.image-gallery-items-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.image-gallery-items-swiper .gallery-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: #fff;
}

.image-gallery-items-swiper .gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.image-gallery-items-swiper .gallery-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.image-gallery-items-swiper .gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-gallery-items-swiper .gallery-card:hover .gallery-card-image img {
    transform: scale(1.05);
}

/* Swiper Pagination */
.image-gallery-items-pagination {
    bottom: 10px !important;
}

.image-gallery-items-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.4;
}

.image-gallery-items-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* Swiper Navigation Buttons */
.image-gallery-items-button-next,
.image-gallery-items-button-prev {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.image-gallery-items-button-next:after,
.image-gallery-items-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.image-gallery-items-button-next:hover,
.image-gallery-items-button-prev:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .image-gallery-items-swiper {
        padding: 0 15px 50px;
    }

    .image-gallery-items-swiper .gallery-card-image {
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .image-gallery-items-swiper {
        padding: 0 10px 50px;
    }

    .image-gallery-items-swiper .gallery-card-image {
        height: 220px;
    }

    .image-gallery-items-button-next,
    .image-gallery-items-button-prev {
        width: 35px;
        height: 35px;
    }

    .image-gallery-items-button-next:after,
    .image-gallery-items-button-prev:after {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .image-gallery-items-swiper {
        padding: 0 10px 40px;
    }

    .image-gallery-items-swiper .gallery-card-image {
        height: 200px;
    }

    .image-gallery-items-button-next,
    .image-gallery-items-button-prev {
        width: 30px;
        height: 30px;
    }

    .image-gallery-items-button-next:after,
    .image-gallery-items-button-prev:after {
        font-size: 12px;
    }
}

/* ==============================================================================
   Latest News Swiper Styles (Home Page)
   ============================================================================== */
.latest-news-swiper {
    position: relative;
    padding: 0 20px 50px;
    max-width: 100%;
    overflow: hidden;
}

.latest-news-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.latest-news-swiper .related-post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    margin-bottom: 0;
}

/* Swiper Pagination */
.latest-news-pagination {
    bottom: 10px !important;
}

.latest-news-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.4;
}

.latest-news-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* Swiper Navigation Buttons */
.latest-news-button-next,
.latest-news-button-prev {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.latest-news-button-next:after,
.latest-news-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.latest-news-button-next:hover,
.latest-news-button-prev:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .latest-news-swiper {
        padding: 0 15px 50px;
    }
}

@media (max-width: 767.98px) {
    .latest-news-swiper {
        padding: 0 10px 50px;
    }

    .latest-news-button-next,
    .latest-news-button-prev {
        width: 35px;
        height: 35px;
    }

    .latest-news-button-next:after,
    .latest-news-button-prev:after {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .latest-news-swiper {
        padding: 0 10px 40px;
    }

    .latest-news-button-next,
    .latest-news-button-prev {
        width: 30px;
        height: 30px;
    }

    .latest-news-button-next:after,
    .latest-news-button-prev:after {
        font-size: 12px;
    }
}

/* ==============================================================================
   Unit News Swiper Styles (For Administrative Units)
   ============================================================================== */
.unit-news-swiper {
    position: relative;
    padding: 0 20px 50px;
    max-width: 100%;
    overflow: hidden;
}

.unit-news-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.unit-news-swiper .related-post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    margin-bottom: 0;
}

/* Swiper Pagination */
.unit-news-pagination {
    bottom: 10px !important;
}

.unit-news-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.4;
}

.unit-news-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* Swiper Navigation Buttons */
.unit-news-button-next,
.unit-news-button-prev {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.unit-news-button-next:after,
.unit-news-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.unit-news-button-next:hover,
.unit-news-button-prev:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .unit-news-swiper {
        padding: 0 15px 50px;
    }
}

@media (max-width: 767.98px) {
    .unit-news-swiper {
        padding: 0 10px 50px;
    }

    .unit-news-button-next,
    .unit-news-button-prev {
        width: 35px;
        height: 35px;
    }

    .unit-news-button-next:after,
    .unit-news-button-prev:after {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .unit-news-swiper {
        padding: 0 10px 40px;
    }

    .unit-news-button-next,
    .unit-news-button-prev {
        width: 30px;
        height: 30px;
    }

    .unit-news-button-next:after,
    .unit-news-button-prev:after {
        font-size: 12px;
    }
}

/* ==============================================================================
   Video Gallery Items Swiper Styles (For Administrative Units)
   ============================================================================== */
.video-gallery-items-swiper {
    position: relative;
    padding: 0 20px 50px;
    max-width: 100%;
    overflow: hidden;
}

.video-gallery-items-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.video-gallery-items-swiper .gallery-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: #fff;
    cursor: pointer;
}

.video-gallery-items-swiper .gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-gallery-items-swiper .gallery-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.video-gallery-items-swiper .gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-gallery-items-swiper .gallery-card:hover .gallery-card-image img {
    transform: scale(1.05);
}

/* Swiper Pagination */
.video-gallery-items-pagination {
    bottom: 10px !important;
}

.video-gallery-items-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.4;
}

.video-gallery-items-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* Swiper Navigation Buttons */
.video-gallery-items-button-next,
.video-gallery-items-button-prev {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.video-gallery-items-button-next:after,
.video-gallery-items-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.video-gallery-items-button-next:hover,
.video-gallery-items-button-prev:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .video-gallery-items-swiper {
        padding: 0 15px 50px;
    }

    .video-gallery-items-swiper .gallery-card-image {
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .video-gallery-items-swiper {
        padding: 0 10px 50px;
    }

    .video-gallery-items-swiper .gallery-card-image {
        height: 220px;
    }

    .video-gallery-items-button-next,
    .video-gallery-items-button-prev {
        width: 35px;
        height: 35px;
    }

    .video-gallery-items-button-next:after,
    .video-gallery-items-button-prev:after {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .video-gallery-items-swiper {
        padding: 0 10px 40px;
    }

    .video-gallery-items-swiper .gallery-card-image {
        height: 200px;
    }

    .video-gallery-items-button-next,
    .video-gallery-items-button-prev {
        width: 30px;
        height: 30px;
    }

    .video-gallery-items-button-next:after,
    .video-gallery-items-button-prev:after {
        font-size: 12px;
    }
}

/* ==============================================================================
   Image Galleries Swiper Styles
   ============================================================================== */
.image-galleries-swiper {
    position: relative;
    padding: 0 20px 50px;
    max-width: 100%;
    overflow: hidden;
}

.image-galleries-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.image-galleries-swiper .category-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* Swiper Pagination */
.image-galleries-pagination {
    bottom: 10px !important;
}

.image-galleries-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.4;
}

.image-galleries-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* Swiper Navigation Buttons */
.image-galleries-button-next,
.image-galleries-button-prev {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.image-galleries-button-next:after,
.image-galleries-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.image-galleries-button-next:hover,
.image-galleries-button-prev:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .image-galleries-swiper {
        padding: 0 15px 50px;
    }
}

@media (max-width: 767.98px) {
    .image-galleries-swiper {
        padding: 0 10px 50px;
    }

    .image-galleries-button-next,
    .image-galleries-button-prev {
        width: 35px;
        height: 35px;
    }

    .image-galleries-button-next:after,
    .image-galleries-button-prev:after {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .image-galleries-swiper {
        padding: 0 10px 40px;
    }

    .image-galleries-button-next,
    .image-galleries-button-prev {
        width: 30px;
        height: 30px;
    }

    .image-galleries-button-next:after,
    .image-galleries-button-prev:after {
        font-size: 12px;
    }
}
