/* Premium Modern Design - NIAS */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');

:root {
    /* Primary Color Palette - Deep Green & Navy */
    --primary-color: #009B77;
    --primary-dark: #007d60;
    --secondary-color: #000080;
    --secondary-dark: #000050;

    /* Accent Color - Gold */
    --accent-color: #d4af37;
    /* Metallic Gold */
    --accent-light: #f4e7be;

    /* Neutrals */
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(255, 255, 255, 0.4);
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f6d365 100%);
    --nav-gradient: linear-gradient(to right, #004d40, #00695c);
    /* Requested Green Gradient */

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Cairo', sans-serif !important;
    background-color: var(--light-bg);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    transition: var(--transition-normal);
    text-decoration: none !important;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* --- Layout Utilities --- */
.section-padding {
    padding: 80px 0;
}

.auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.centered {
    text-align: center;
}

.bg-white {
    background-color: var(--white);
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-gradient {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

/* --- Header & Navigation --- */
.main-header {
    position: relative;
    z-index: 1000;
    background: var(--white);
    /* White Background for clean look */
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.main-header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease forwards;
    z-index: 9999;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header-top {
    padding: 10px 0;
    background: transparent;
}

.social-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color) !important;
    background: #f0f2f5;
    border-radius: 50%;
    margin-right: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-icon:hover {
    background: var(--primary-color);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 155, 119, 0.2);
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 155, 119, 0.1);
}

.institute-text {
    display: flex;
    flex-direction: column;
}

.institute-text h1,
.institute-text h2 {
    font-size: 20px;
    font-weight: 800;
    color: #000;
    /* Black Color Text */
    margin: 0;
    line-height: 1.2;
}

.institute-text h3 {
    font-size: 13px;
    color: #000;
    /* Black Text */
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Responsive Font Sizes */
@media (max-width: 768px) {

    .institute-text h1,
    .institute-text h2 {
        font-size: 14px;
        /* Smaller font for mobile */
    }

    .institute-text h3 {
        font-size: 10px;
        /* Smaller font for mobile */
        letter-spacing: 0.5px;
    }
}



/* Nav Container */
.nav-container {
    background: var(--nav-gradient) !important;
    /* Reverted to variable */
    box-shadow: 0 10px 20px rgba(0, 155, 119, 0.15);
    padding: 0;
    /* Compact height */
    width: 100%;
}

.nav-container .auto-container {
    max-width: 100%;
    width: 100%;
    padding: 0 30px;
    background: transparent !important;
    /* Transparent */
}

/* Desktop Menu */
@media (min-width: 992px) {
    .main-menu {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0;
        margin: 0;
        background: var(--nav-gradient) !important;
        /* Applying variable explicitly as requested */
    }

    .main-menu>ul {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        /* Transparent */
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        gap: 5px;
    }

    .main-menu>ul>li {
        position: relative;
        display: inline-block;
        margin: 0;
        background: transparent !important;
        /* Transparent */
    }

    .main-menu>ul>li>a {
        display: block;
        padding: 8px 8px;
        /* Very Compact Padding */
        color: #fff !important;
        /* Force White Text */
        font-weight: 700;
        font-size: 13px;
        /* Smaller Font */
        white-space: nowrap;
        position: relative;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .main-menu>ul>li>a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 4px;
        /* Thicker underline */
        background: var(--accent-color);
        transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
        /* Glow effect */
    }

    .main-menu>ul>li:hover>a,
    .main-menu>ul>li.current>a {
        color: #fff;
        background: var(--nav-gradient);
    }

    .main-menu>ul>li:hover>a::after,
    .main-menu>ul>li.current>a::after {
        width: 100%;
    }

    .main-menu>ul>li>a i {
        color: var(--accent-color);
        margin: 0 5px;
        transition: 0.3s;
    }

    .main-menu>ul>li:hover>a i {
        transform: scale(1.2);
    }

    /* Generic margin for both RTL/LTR */

    /* Dropdown */
    .main-menu li ul {
        display: block;
        position: absolute;
        top: 100%;
        width: 260px;
        /* Fixed width for dropdown */
        background: var(--nav-gradient);
        /* Dark Gradient */
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
        border-top: 4px solid var(--accent-color);
        border-radius: 0 0 8px 8px;
        padding: 15px 0;
    }

    .main-menu li:hover>ul {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-menu li ul li {
        display: block;
        width: 100%;
        margin: 0;
    }

    .main-menu li ul li a {
        padding: 12px 25px;
        color: rgba(255, 255, 255, 0.9);
        /* White Text */
        display: block;
        font-size: 14px;
        font-weight: 500;
        border-bottom: 1px solid rgba(17, 80, 41, 0.08);
        transition: 0.3s;
    }

    .main-menu li ul li a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 30px;
        color: #fff;
    }
}

/* Mobile Menu Styling */
@media (max-width: 991px) {
    .main-menu {
        display: none;
        background: var(--nav-gradient);
        /* Ensure this is set */
        padding: 20px;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-menu.show {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .main-menu>ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .main-menu>ul>li {
        width: 100%;
        margin: 5px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-menu>ul>li>a {
        padding: 12px 0;
        color: #fff;
        font-size: 14px;
        display: block;
        width: 100%;
    }

    .main-menu li ul {
        position: static;
        width: 100%;
        background: var(--nav-gradient);
        /* Slightly darker for nested */
        padding-left: 20px;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        /* Hidden by default in mobile, handled by JS usually or assume expanded */
    }

    /* Simple toggle support if JS adds class, or just show all for now if no JS toggle */
    .main-menu li:hover>ul {
        display: block;
    }
}

/* Mobile & Common Header Controls */
.mobile-header-controls {
    display: none;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.mobile-toggle {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 22px;
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 5px;
    transition: 0.3s;
}

.mobile-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Language Switcher */
.lang-btn {
    padding: 6px 15px;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    /* Pill shape */
    margin: 0 3px;
    color: #666;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 155, 119, 0.3);
}

.lang-btn:hover:not(.active) {
    background: #f5f5f5;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* --- Components: Titles --- */
.sec-title {
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.sec-title h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.sec-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.sec-title .text {
    font-size: 16px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.separator {
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 15px auto;
    border-radius: 2px;
}

/* --- Components: Buttons --- */
.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition-normal);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.btn-style-one {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-style-one:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.btn-style-two {
    background: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--white);
}

.btn-style-two:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

/* Button Pulse Effect */
.theme-btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.theme-btn:hover:after {
    width: 300px;
    height: 300px;
}

/* --- Glassmorphism Cards --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent-color);
}

/* --- Hero Section --- */
/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 0;
    overflow: hidden;
    width: 100%;
    display: block;
    background: transparent;
    direction: ltr !important;
    /* Force LTR for stable Owl Carousel layout */
}

/* Ensure text content inside slider respects RTL if needed */
html[dir="rtl"] .hero-slide .inner {
    direction: rtl;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-color: #2c3e50;
    /* Fallback Dark Color */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content .inner {
    max-width: 900px;
    padding: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-slide h1 {
    color: #fff;
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    /* Improved Readability */
    animation: fadeInUp 1s ease both;
}

.hero-slide .text {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 50px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
    /* Improved Readability */
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-btn {
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 50px;
    background: var(--gold-gradient);
    color: #000 !important;
    font-weight: bold;
    border: none;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    animation: fadeInUp 1s ease 0.6s both;
    display: inline-block;
}

.hero-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.6);
}

/* Owl Nav Override */
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex !important;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1000;
    /* Increased Z-Index */
    height: 0;
    /* Prevent blocking clicks in center */
}

.owl-nav .owl-prev,
.owl-nav .owl-next {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    font-size: 22px !important;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 0 30px;
    /* Increased margin from edges */
    opacity: 1;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.owl-nav .owl-prev:hover,
.owl-nav .owl-next:hover {
    background: var(--gold-gradient) !important;
    color: #000 !important;
    border-color: transparent !important;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Owl Dots */
.owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto !important;
    text-align: center;
    z-index: 1000;
    /* High z-index */
    pointer-events: auto;
    /* Enable interactions */
    background: rgba(0, 0, 0, 0.6);
    /* Transparent Background */
    backdrop-filter: blur(5px);
    /* Glass Effect */
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.owl-dots .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
    border: 2px solid transparent !important;
    pointer-events: auto;
    /* Enable clicking on dots */
    cursor: pointer;
}

.owl-dots .owl-dot.active {
    background: var(--accent-color) !important;
    transform: scale(1.3);
    border-color: rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.owl-dots .owl-dot:hover {
    background: var(--accent-light) !important;
}

/* --- Stat Cards --- */
.stats-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stat-item .inner {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.stat-item:hover .inner {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-item .icon-box {
    height: 80px;
    width: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.stat-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #ffd700 !important;
}

.count-text {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
}

.stat-label {
    font-weight: 500;
    font-size: 16px;
    opacity: 0.9;
    text-transform: uppercase;
    color: #fff;
}

/* Image Zoom on Hover */
.img-zoom-container {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.img-zoom-container img,
.college-img {
    transition: transform 0.6s ease;
    width: 100%;
    object-fit: cover;
}

.glass-card:hover .img-zoom-container img,
.glass-card:hover .college-img {
    transform: scale(1.1);
}

@media (min-width: 992px) {
    .college-img {
        height: 200px;
        background-size: cover;
        background-position: center;
        transition: 0.5s;
    }
}

.placeholder-bg {
    background: var(--nav-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* College Item Overlay */
.college-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 77, 64, 0.7);
    opacity: 0;
    transition: 0.3s;
    z-index: 2;
}

.college-item:hover .overlay {
    opacity: 1;
}

.college-item:hover .college-img {
    transform: scale(1.1);
}

.text-btn {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-btn:hover {
    color: var(--secondary-color);
    text-decoration: underline !important;
}

/* --- Grids (Colleges, Events, Gallery) --- */
.college-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 30px;
}

/* Responsive Grids */
@media (max-width: 991px) {
    .college-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .college-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- College & News Cards --- */
.college-item,
.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.college-item:hover,
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-light);
}

.college-content,
.news-content {
    padding: 20px;
    text-align: center;
}

.college-title,
.news-title {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.news-title a {
    color: var(--secondary-color);
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.1);
}

/* News Badges */
.news-card .badge {
    position: absolute;
    top: 15px;
    padding: 5px 12px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* RTL Badge positioning (default LTR, corrected by inline style in PHP usually, but let's add class support) */
html[dir="rtl"] .news-card .badge {
    right: 15px;
}

html[dir="ltr"] .news-card .badge {
    left: 15px;
}

/* Gallery Items */
.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 155, 119, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-icon {
    font-size: 30px;
    color: #fff;
    transform: scale(0);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-icon {
    transform: scale(1);
}

@media (max-width: 991px) {
    .header-top .auto-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .brand-group {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 10px;
    }

    .utility-group {
        width: 100%;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }

    .mobile-header-controls {
        display: flex;
    }

    .main-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--nav-gradient);
        /* Dark Gradient */
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1001;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        padding: 10px 0;
    }

    .main-menu.show {
        display: flex !important;
        animation: slideDownMenu 0.3s ease forwards;
    }

    @keyframes slideDownMenu {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .main-menu>ul {
        flex-direction: column;
        width: 100%;
    }

    .main-menu>ul>li {
        width: 100%;
        margin: 0;
    }

    .main-menu>ul>li>a {
        padding: 12px 20px;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        /* Lighter border */
        background: transparent;
        color: #fff;
        /* White text */
        font-weight: 600;
    }

    .main-menu>ul>li>a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 25px;
        /* Indent on hover */
    }

    .main-menu li ul {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
        background: var(--nav-gradient);
        /* Darker inner bg */
        padding-left: 20px;
    }

    .main-menu li.mobile-dropdown-active>ul {
        display: block;
    }

    .hero-slide {
        height: 400px;
    }

    .hero-slide h1 {
        font-size: 2em;
    }

    .stats-section {
        padding-top: 50px;
        margin-top: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* News Archive Styles have been consolidated at the end of the file for premium design. */
/* --- Common Premium Content Styles --- */

/* Hero Section */
.premium-hero {
    padding: 100px 0 60px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 77, 64, 0.85), rgba(0, 0, 128, 0.75));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Premium Icon Box */
.premium-icon-box {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    /* Circle by default */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.premium-icon-box i {
    font-size: 30px;
    color: var(--primary-color);
    transition: 0.3s;
}

.glass-card:hover .premium-icon-box {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
}

.glass-card:hover .premium-icon-box i {
    color: #fff;
}

.premium-icon-box.square {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    transform: rotate(-5deg);
}

.glass-card:hover .premium-icon-box.square {
    transform: rotate(0) scale(1.1);
}

/* Info Rows & badges */
.info-box {
    background: rgba(0, 0, 0, 0.02);
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    border: 1px dashed rgba(0, 0, 0, 0.05);
}

.info-row {
    display: flex;
    align-items: center;
    margin: 8px 0;
    color: #555;
    font-size: 14px;
}

.info-row i {
    color: var(--accent-color);
    width: 25px;
    font-size: 16px;
}

.info-label {
    font-weight: 700;
    margin: 0 5px;
}

.info-value {
    color: var(--primary-color);
    font-weight: 700;
}

.status-badge {
    padding: 6px 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 12px;
    display: inline-block;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.badge-primary {
    background: rgba(0, 155, 119, 0.1);
    color: var(--primary-color);
}

/* Absolute Badges */
.floating-badge {
    position: absolute;
    top: 20px;
    background: var(--primary-color);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 13px;
    box-shadow: 0 5px 15px rgba(0, 155, 119, 0.3);
    z-index: 2;
}

html[dir="rtl"] .floating-badge {
    left: 20px;
    right: auto;
}

html[dir="ltr"] .floating-badge {
    right: 20px;
    left: auto;
}

/* Admission Page Specifics */
.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    color: #555;
    transition: 0.3s;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list li i {
    color: var(--accent-color);
    margin: 0 10px;
    font-size: 14px;
}

.requirements-list li:hover {
    padding-right: 10px;
    /* RTL aware padding later via generic mixin or direction specific */
    background: rgba(0, 0, 0, 0.01);
}

html[dir="rtl"] .requirements-list li:hover {
    padding-right: 10px;
    padding-left: 0;
}

html[dir="ltr"] .requirements-list li:hover {
    padding-left: 10px;
    padding-right: 0;
}

/* Training Decor */
.decorative-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    top: -40px;
    transition: 0.5s;
}

html[dir="rtl"] .decorative-circle {
    right: -40px;
}

html[dir="ltr"] .decorative-circle {
    left: -40px;
}

.glass-card:hover .decorative-circle {
    transform: scale(1.5);
    opacity: 0.2;
}

.audience-box {
    margin-top: 15px;
    padding: 15px;
    background: #fcfcfc;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

html[dir="rtl"] .audience-box {
    border-left: none;
    border-right: 3px solid var(--accent-color);
}

/* ==============================================
   HERO SLIDER & OWL NAV ENHANCEMENTS
   ============================================== */

/* --- Hero Slide Visuals --- */
.hero-slide {
    position: relative;
    height: 600px;
    /* Taller slider */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    /* Cinematic gradient */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    color: #fff;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
    /* Animation */
}

.hero-content .text {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ddd;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-btn {
    display: inline-block;
    padding: 12px 35px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.7s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-btn:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* --- Owl Nav Styling (Premium) --- */
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    /* Allow clicking through container */
    z-index: 10;
    height: 0;
    /* Prevent blocking */
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    pointer-events: auto;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50%;
    color: #fff !important;
    font-size: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    margin: 0 20px;
    opacity: 0.7;
    cursor: pointer;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transform: scale(1.1);
    opacity: 1;
}

/* Specific adjustments for Hero Slider to be bigger */
.main-slider-carousel .owl-nav button.owl-prev,
.main-slider-carousel .owl-nav button.owl-next,
.single-item-carousel .owl-nav button.owl-prev,
.single-item-carousel .owl-nav button.owl-next {
    width: 60px;
    height: 60px;
    font-size: 25px !important;
    background: rgba(0, 0, 0, 0.3) !important;
}

.main-slider-carousel .owl-nav button.owl-prev:hover,
.main-slider-carousel .owl-nav button.owl-next:hover,
.single-item-carousel .owl-nav button.owl-prev:hover,
.single-item-carousel .owl-nav button.owl-next:hover {
    background: var(--primary-color) !important;
}

/* Fix for Stats Carousel Nav Position */
.stats-carousel .owl-nav {
    width: 105%;
    left: -2.5%;
}

.stats-carousel .owl-nav button {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #000 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* RTL Support */
html[dir="rtl"] .owl-carousel .owl-nav {
    flex-direction: row-reverse;
}

/* --- News Details Premium Design --- */

/* News Hero */
.news-hero-section {
    position: relative;
    height: 500px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
}

.news-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1));
}

.news-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out;
}

.news-category-badge {
    display: inline-block;
    padding: 6px 15px;
    background: var(--accent-color);
    color: #fff;
    font-weight: 700;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.news-title-large {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.news-meta-large {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.news-meta-large i {
    color: var(--accent-color);
    margin-right: 8px;
    /* LTR default, adjusted in RTL */
}

/* News Content Body */
.news-body-container {
    background: #fff;
    border-radius: 8px;
    padding: 50px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    /* Slight lift */
    margin-top: -40px;
    /* Overlap with hero */
    position: relative;
    z-index: 5;
    margin-bottom: 40px;
}

.news-article-content {
    font-size: 19px;
    line-height: 2;
    color: #444;
    font-weight: 400;
}

.news-article-content p {
    margin-bottom: 25px;
}

.news-article-content strong {
    color: var(--secondary-color);
    font-weight: 700;
}

.news-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: var(--shadow-medium);
}

/* Quote style in article */
.news-article-content blockquote {
    background: #f4f7f6;
    border-right: 5px solid var(--accent-color);
    /* RTL default */
    border-left: none;
    padding: 20px 30px;
    font-size: 20px;
    font-style: italic;
    color: #555;
    margin: 30px 0;
    border-radius: 5px;
}

html[dir="rtl"] .news-article-content blockquote {
    border-right: 5px solid var(--accent-color);
    border-left: none;
}

html[dir="ltr"] .news-article-content blockquote {
    border-left: 5px solid var(--accent-color);
    border-right: none;
}

/* Share Section Refined */
.share-section-premium {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 50px;
    border: 1px dashed #d1d1d1;
}

.share-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    margin: 0 10px;
    font-size: 20px;
    transition: 0.3s transform cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-share-btn:hover {
    transform: translateY(-5px) scale(1.1);
    color: #fff;
}

.btn-whatsapp {
    background: #25D366;
}

.btn-facebook {
    background: #3b5998;
}

.btn-twitter {
    background: #1DA1F2;
}

.btn-linkedin {
    background: #0077b5;
}

/* Sidebar Improvements */
.widget-title-premium {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.widget-title-premium::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    /* RTL */
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

html[dir="ltr"] .widget-title-premium::after {
    left: 0;
    right: auto;
}

.mini-news-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: 0.3s;
}

.mini-news-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mini-news-card:hover {
    background: #fbfbfb;
    padding: 10px;
    border-radius: 10px;
    margin: -10px;
    margin-bottom: 10px;
}

.mini-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 15px;
    /* RTL */
}

html[dir="ltr"] .mini-thumb {
    margin-right: 15px;
    margin-left: 0;
}

.mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-content h5 {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
    font-weight: 700;
}

.mini-content h5 a {
    color: var(--text-color);
    transition: 0.3s;
}

.mini-content h5 a:hover {
    color: var(--primary-color);
}

.mini-date {
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
}

.mini-date i {
    margin-left: 5px;
    color: var(--accent-color);
}

html[dir="ltr"] .mini-date i {
    margin-right: 5px;
    margin-left: 0;
}

/* Author Box */
.author-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ccc;
    margin-left: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

html[dir="ltr"] .author-img {
    margin-right: 20px;
    margin-left: 0;
}

.author-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 700;
}

.author-info span {
    font-size: 13px;
    color: #666;
}

@media(max-width: 768px) {
    .news-title-large {
        font-size: 26px;
    }

    .news-hero-section {
        height: 350px;
    }

    .news-body-container {
        padding: 30px 20px;
        margin-top: -20px;
    }
}

/* --- News Archive Premium Styles --- */

.archive-hero-section {
    position: relative;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.archive-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 77, 64, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.archive-hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.archive-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.archive-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    display: inline-flex;
    margin: 0 auto;
}

.archive-breadcrumb li,
.archive-breadcrumb a {
    color: #fff;
    font-weight: 500;
    font-size: 14px;
}

.archive-breadcrumb a:hover {
    color: var(--accent-light);
}

.news-archive-section {
    padding: 100px 0;
    background: #f4f7f6;
}

/* Filter Tabs */
.filter-tabs-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px;
    margin: 0;
    list-style: none;
}

.filter-tabs-custom li a {
    display: block;
    padding: 12px 30px;
    background: #fff;
    color: var(--text-color);
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-tabs-custom li.active a,
.filter-tabs-custom li a:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 155, 119, 0.3);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

/* Search Form */
.search-form-modern {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 5px;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.search-form-modern:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(0, 155, 119, 0.15);
    background: #fff;
}

.search-form-modern input {
    width: 100%;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    outline: none;
    font-family: inherit;
}

.search-form-modern button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form-modern button:hover {
    background: var(--dark-bg);
    transform: rotate(15deg);
}

/* Premium News Card */
.archive-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.archive-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.archive-card:hover .card-image img {
    transform: scale(1.1);
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.8));
    opacity: 0.5;
    transition: 0.4s;
}

.archive-card:hover .card-image::after {
    opacity: 0.7;
}

.archive-card .card-image img {
    filter: saturate(1.1);
}

.badge-category {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 15px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    border-radius: 30px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

html[dir="rtl"] .badge-category {
    right: auto;
    left: 20px;
}

.card-body-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.card-date i {
    color: var(--accent-color);
}

.card-body-content h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

.card-body-content h4 a {
    color: var(--secondary-color);
    transition: 0.3s;
}

.card-body-content h4 a:hover {
    color: var(--primary-color);
}

.card-body-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color) !important;
    transition: 0.3s;
    margin-top: auto;
    position: relative;
}

.learn-more:hover {
    gap: 12px;
    color: var(--secondary-color) !important;
}

/* Pagination */
.pagination-modern {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination-list {
    display: flex;
    list-style: none;
    gap: 10px;
    padding: 0;
}

.pagination-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    color: var(--text-color);
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.pagination-list li.active a,
.pagination-list li a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 155, 119, 0.3);
}

.pagination-list li.sep {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #aaa;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-block-anim {
    animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.news-block-anim:nth-child(1) {
    animation-delay: 0.2s;
}

.news-block-anim:nth-child(2) {
    animation-delay: 0.4s;
}

.news-block-anim:nth-child(3) {
    animation-delay: 0.6s;
}

.news-block-anim:nth-child(4) {
    animation-delay: 0.8s;
}

.news-block-anim:nth-child(5) {
    animation-delay: 1.0s;
}

.news-block-anim:nth-child(6) {
    animation-delay: 1.2s;
}

.skeleton {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 100%;
    display: inline-block;
    position: relative;
    animation: shimmer 1.5s infinite linear;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

.skeleton-card {
    height: 400px;
    width: 100%;
    margin-bottom: 30px;
    border-radius: 20px;
}

/* --- News Details Specific Enhancements --- */
.news-details-page,
.premium-bg-cinematic {
    background: #f4f7f6;
    /* Cinematic grey-teal */
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.category-link-premium {
    background: #f9f9f9;
    transition: 0.3s;
    border-radius: 12px;
}

.category-link-premium:hover {
    background: var(--secondary-color) !important;
    color: #fff !important;
}

.category-link-premium:hover i,
.category-link-premium:hover span.badge {
    color: #fff !important;
}

.category-link-premium:hover span.badge {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* --- Faculty & Premium UI Enhancements --- */
.premium-hero {
    position: relative;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 77, 64, 0.85) 0%, rgba(0, 105, 92, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.controls-bar-modern {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 10px 30px;
    box-shadow: var(--shadow-sm);
}

.filter-tabs-custom li {
    margin: 5px;
}

.filter-tabs-custom li a {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 25px;
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-tabs-custom li.active a,
.filter-tabs-custom li a:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-form-modern {
    position: relative;
    width: 100%;
}

.search-form-modern input {
    width: 100%;
    padding: 12px 25px;
    padding-inline-end: 50px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: 0.3s;
}

.search-form-modern input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.search-form-modern button {
    position: absolute;
    top: 50%;
    inset-inline-end: 20px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .controls-bar-modern {
        border-radius: 25px;
        padding: 20px;
    }
}