:root {
    --primary-color: #0A2540;
    --primary-dark: #061729;
    --primary-light: #1a3a5c;
    --accent-color: #183f65;
    --accent-dark: #0A2540;
    --accent-gray: #1a3a5c;
    --muted-color: #E6EDF3;
    --nav-gray: #64748b;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 5px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    overflow: hidden;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.islamic-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%230A2540' stroke-width='0.5'%3E%3Cpath d='M60 0 L120 60 L60 120 L0 60 Z' opacity='0.06'/%3E%3Cpath d='M60 15 L105 60 L60 105 L15 60 Z' opacity='0.05'/%3E%3Cpath d='M60 30 L90 60 L60 90 L30 60 Z' opacity='0.04'/%3E%3Ccircle cx='60' cy='60' r='20' opacity='0.03'/%3E%3Cpath d='M60 0 L60 120 M0 60 L120 60' opacity='0.03'/%3E%3Cpath d='M0 0 L120 120 M120 0 L0 120' opacity='0.02'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
}

.rotating-pattern {
    position: absolute;
    border: 1px solid var(--primary-color);
    opacity: 0.08;
}

.rotating-pattern.pattern-1 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500' viewBox='0 0 500 500'%3E%3Cg fill='none' stroke='%230A2540' stroke-width='1'%3E%3Cpolygon points='250,50 450,250 250,450 50,250' opacity='0.3'/%3E%3Cpolygon points='250,100 400,250 250,400 100,250' opacity='0.25'/%3E%3Cpolygon points='250,150 350,250 250,350 150,250' opacity='0.2'/%3E%3Ccircle cx='250' cy='250' r='180' opacity='0.15'/%3E%3Ccircle cx='250' cy='250' r='120' opacity='0.1'/%3E%3Cpath d='M250 70 L250 430 M70 250 L430 250' opacity='0.1'/%3E%3Cpath d='M120 120 L380 380 M380 120 L120 380' opacity='0.08'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    animation: rotatePattern 40s linear infinite;
}

.rotating-pattern.pattern-2 {
    width: 700px;
    height: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700' viewBox='0 0 700 700'%3E%3Cg fill='none' stroke='%230A2540' stroke-width='0.8'%3E%3Cpolygon points='350,30 670,350 350,670 30,350' opacity='0.2'/%3E%3Cpath d='M350 30 L350 670 M30 350 L670 350' opacity='0.1'/%3E%3Ccircle cx='350' cy='350' r='300' opacity='0.08'/%3E%3Cpath d='M350 50 Q550 200 500 350 Q550 500 350 650 Q150 500 200 350 Q150 200 350 50' opacity='0.1'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    animation: rotatePattern 60s linear infinite reverse;
}

@keyframes rotatePattern {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.loader-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.islamic-frame {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-inner {
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 50px rgba(10, 37, 64, 0.12);
    position: relative;
    z-index: 5;
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 10;
}

.frame-corner::before,
.frame-corner::after {
    content: '';
    position: absolute;
    background: var(--primary-color);
}

.corner-tl {
    top: 0;
    left: 0;
}
.corner-tl::before {
    top: 0;
    left: 0;
    width: 30px;
    height: 3px;
    animation: cornerPulse 2s ease-in-out infinite;
}
.corner-tl::after {
    top: 0;
    left: 0;
    width: 3px;
    height: 30px;
    animation: cornerPulse 2s ease-in-out infinite 0.5s;
}

.corner-tr {
    top: 0;
    right: 0;
}
.corner-tr::before {
    top: 0;
    right: 0;
    width: 30px;
    height: 3px;
    animation: cornerPulse 2s ease-in-out infinite 0.25s;
}
.corner-tr::after {
    top: 0;
    right: 0;
    width: 3px;
    height: 30px;
    animation: cornerPulse 2s ease-in-out infinite 0.75s;
}

.corner-bl {
    bottom: 0;
    left: 0;
}
.corner-bl::before {
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    animation: cornerPulse 2s ease-in-out infinite 0.75s;
}
.corner-bl::after {
    bottom: 0;
    left: 0;
    width: 3px;
    height: 30px;
    animation: cornerPulse 2s ease-in-out infinite 0.25s;
}

.corner-br {
    bottom: 0;
    right: 0;
}
.corner-br::before {
    bottom: 0;
    right: 0;
    width: 30px;
    height: 3px;
    animation: cornerPulse 2s ease-in-out infinite 0.5s;
}
.corner-br::after {
    bottom: 0;
    right: 0;
    width: 3px;
    height: 30px;
    animation: cornerPulse 2s ease-in-out infinite;
}

@keyframes cornerPulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

.frame-border {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    z-index: 8;
}

.border-top {
    top: 10px;
    left: 35px;
    right: 35px;
    height: 1px;
    animation: borderFlow 2s linear infinite;
}

.border-bottom {
    bottom: 10px;
    left: 35px;
    right: 35px;
    height: 1px;
    animation: borderFlow 2s linear infinite reverse;
}

.border-left {
    left: 10px;
    top: 35px;
    bottom: 35px;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    animation: borderFlowV 2s linear infinite;
}

.border-right {
    right: 10px;
    top: 35px;
    bottom: 35px;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    animation: borderFlowV 2s linear infinite reverse;
}

@keyframes borderFlow {
    0% {
        background: linear-gradient(90deg, transparent 0%, var(--primary-color) 0%, transparent 0%);
    }
    50% {
        background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    }
    100% {
        background: linear-gradient(90deg, transparent 100%, var(--primary-color) 100%, transparent 100%);
    }
}

@keyframes borderFlowV {
    0% {
        background: linear-gradient(180deg, transparent 0%, var(--primary-color) 0%, transparent 0%);
    }
    50% {
        background: linear-gradient(180deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    }
    100% {
        background: linear-gradient(180deg, transparent 100%, var(--primary-color) 100%, transparent 100%);
    }
}

.loader-logo {
    width: 90px;
    height: auto;
    animation: logoBreath 2s ease-in-out infinite;
}

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

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(10, 37, 64, 0.1);
    border-radius: 2px;
    margin: 0 auto 15px;
    overflow: hidden;
    position: relative;
}

.loader-bar::before,
.loader-bar::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    opacity: 0.3;
}

.loader-bar::before {
    left: -12px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.loader-bar::after {
    right: -12px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.loader-bar-fill {
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
    animation: loadingBar 1.5s ease-in-out infinite;
}

@keyframes loadingBar {
    0% {
        width: 0%;
        margin-left: 0;
    }
    50% {
        width: 70%;
        margin-left: 15%;
    }
    100% {
        width: 0%;
        margin-left: 100%;
    }
}

.loader-text {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    background-color: #ffffff;
}

.site-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.gov-verify-panel {
    background-color: #e8f4f8;
    border-bottom: 1px solid #d0e8ef;
}

.gov-verify-panel .gov-verify-content {
    padding: 25px 0;
    border-top: none;
    margin-top: 0;
}

.gov-bar {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 0;
    font-size: 0.85rem;
}

.gov-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gov-bar-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gov-emblem {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.gov-text {
    color: #333;
    font-weight: 500;
}

.gov-verify-btn {
    background: none;
    border: none;
    color: #0A2540;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.gov-verify-btn:hover {
    background-color: rgba(10, 37, 64, 0.08);
}

.gov-verify-btn i {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.gov-verify-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.gov-verify-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.gov-verify-icon {
    width: 40px;
    height: 40px;
    background-color: #0A2540;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gov-verify-icon i {
    font-size: 1.1rem;
}

.gov-verify-text h6 {
    margin: 0 0 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.gov-verify-text p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
}

.gov-verify-text strong {
    color: #0A2540;
}

.top-bar {
    background-color: var(--accent-dark);
    color: white;
    padding: 12px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-right span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-left a {
    color: white;
    text-decoration: none;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.15);
    transition: all 0.3s;
    font-size: 0.95rem;
}

.top-bar-left a:hover {
    background-color: white;
    color: var(--primary-color);
}

.main-header {
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.site-header-wrapper.scrolled .gov-bar,
.site-header-wrapper.scrolled .gov-verify-panel,
.site-header-wrapper.scrolled .top-bar {
    display: none;
}

.site-header-wrapper.scrolled .main-header {
    background: var(--accent-dark);
    box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

.site-header-wrapper.scrolled .header-top-bar {
    display: none;
}

.site-header-wrapper.scrolled .navbar-main {
    border-top: none;
}

.site-header-wrapper.scrolled .navbar-nav .nav-link {
    color: rgba(255,255,255,0.9);
    padding: 20px 14px !important;
}

.site-header-wrapper.scrolled .navbar-nav .nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

.site-header-wrapper.scrolled .navbar-nav .nav-link::before {
    background: white;
}

.site-header-wrapper.scrolled .navbar-nav .nav-link.active {
    color: white;
    font-weight: 600;
}

.site-header-wrapper.scrolled .navbar-nav .nav-link.active::after {
    background: white;
}

.site-header-wrapper.scrolled .dropdown-toggle::after {
    border-top-color: rgba(255,255,255,0.85);
}

.header-spacer {
    height: 250px;
}

.header-top-bar {
    padding: 18px 0;
    background: white;
    transition: all 0.3s;
}

.logo-img {
    max-height: 70px;
    width: auto;
    transition: all 0.3s;
}

.menu-icon {
    color: var(--primary-color);
}

.quick-links a {
    color: var(--accent-dark);
    text-decoration: none;
    margin-right: 18px;
    font-size: 1.2rem;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--muted-color);
}

.quick-links a:hover {
    color: white;
    background: var(--primary-color);
}

.login-btn {
    border: 2px solid var(--primary-color);
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color) !important;
    transition: all 0.3s;
    background: transparent !important;
}

.login-btn:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.quick-links .login-btn {
    width: auto;
    background: transparent;
}
.quick-links .phone-link {
    width: auto;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    gap: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    direction: ltr;
}
.quick-links .phone-link i {
    font-size: 0.9rem;
}
.quick-links .phone-link:hover {
    border-color: var(--primary-color);
}
.quick-links .lang-switch-btn {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    background: transparent;
}
.quick-links .lang-switch-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.navbar-main {
    border-top: 1px solid #eee;
    padding: 0;
    background: transparent;
    transition: all 0.3s;
}

.navbar-nav .nav-link {
    color: #444;
    font-weight: 600;
    font-size: 1rem;
    padding: 18px 14px !important;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px 3px 0 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(50%);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::before {
    width: calc(100% - 20px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.navbar-nav .nav-link.active::before {
    display: none;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 10px;
    left: 10px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    padding: 12px 0;
    margin-top: 5px;
    min-width: 220px;
}

.dropdown-item {
    padding: 12px 22px;
    font-size: 1rem;
    color: #555;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: #f0f9ff;
    color: var(--primary-color);
    padding-right: 25px;
}

.dropdown-toggle::after {
    margin-right: 5px;
    vertical-align: middle;
    transition: transform 0.3s;
}

.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    right: 100%;
    left: auto;
    margin-top: -12px;
    margin-right: 0;
    border-radius: 12px;
    display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > .dropdown-item::after {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    float: left;
    margin-top: 4px;
}

.mega-dropdown {
    position: relative;
}

.mega-menu {
    width: 680px;
    right: 0;
    left: auto;
    padding: 0;
    border: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    background: #fff;
    margin-top: 0;
    border-top: 3px solid var(--primary-color);
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
}

.mega-menu-inner.two-cols {
    grid-template-columns: repeat(2, 1fr);
}

.mega-menu-facilities {
    width: 480px;
}

.mega-menu-col {
    padding: 18px 15px;
    background: #fff;
}

.mega-menu-col:nth-child(2) {
    background: #fafbfc;
    border-right: 1px solid #eef1f4;
    border-left: 1px solid #eef1f4;
}

.mega-menu-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 12px 0;
    padding: 0 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--primary-color);
}

.mega-menu-title i {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 260px;
    overflow-y: auto;
}

.mega-menu-list::-webkit-scrollbar {
    width: 3px;
}

.mega-menu-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.mega-menu-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.mega-menu-list li {
    margin-bottom: 1px;
}

.mega-menu-list li a {
    color: #555;
    text-decoration: none;
    font-size: 0.78rem;
    display: block;
    padding: 7px 10px;
    transition: all 0.15s;
    border-radius: 4px;
    border-right: 2px solid transparent;
}

.mega-menu-list li a:hover {
    background: #f0f7ff;
    color: var(--primary-color);
    border-right-color: var(--primary-color);
}

@media (max-width: 991px) {
    .mega-menu {
        position: relative;
        width: 100%;
        right: auto;
        box-shadow: none;
        border-radius: 0;
        background: #f8f9fa;
        margin-top: 0;
        border-top: none;
    }

    .mega-menu-inner {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 8px;
    }

    .mega-menu-col {
        padding: 0;
        background: transparent !important;
        border: none !important;
    }

    .mega-menu-title {
        font-size: 0.78rem;
        padding: 8px 12px;
        margin-bottom: 6px;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        color: #fff;
        border-radius: 6px;
        border-bottom: none;
    }

    .mega-menu-title i {
        background: rgba(255,255,255,0.2);
    }

    .mega-menu-list {
        max-height: none;
        overflow: visible;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .mega-menu-list li a {
        font-size: 0.72rem;
        padding: 6px 10px;
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: 5px;
        border-right: 1px solid #e9ecef;
    }

    .mega-menu-list li a:hover {
        border-right: 1px solid var(--primary-color);
    }
}

.announcement-bar {
    background-color: var(--accent-color);
    color: white;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-radius: 15px 15px 0 0;
    margin-bottom: 0;
}

.announcement-track {
    display: flex;
    padding: 10px 0;
    width: max-content;
    animation: scroll-rtl 4s linear infinite;
}

.announcement-content {
    display: flex;
    flex-shrink: 0;
}

.announcement-content span,
.announcement-content a.notice-link {
    display: inline-block;
    padding: 0 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
}

.announcement-content a.notice-link:hover {
    text-decoration: underline;
}

.announcement-content span i,
.announcement-content a.notice-link i {
    margin-left: 6px;
}

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

.announcement-bar:hover .announcement-track {
    animation-play-state: paused;
}

.hero-section {
    padding: 15px 0;
    padding-top: 10px;
}

.hero-banner {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--primary-dark) 100%);
    border-radius: 25px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.hero-bg-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://placehold.co/1200x500/0c4a6e/white?text=Image+Placeholder');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    max-width: 700px;
}

.badge-welcome {
    background-color: var(--accent-dark);
    display: inline-block;
    padding: 8px 30px;
    border-radius: 0 30px 30px 0;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 30px;
}

.btn-read-more {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    color: white;
    padding: 6px 25px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.btn-read-more:hover {
    background: white;
    color: var(--primary-color);
}

.life-watermark {
    position: absolute;
    bottom: 20px;
    left: 50px;
    font-size: 5rem;
    font-weight: 800;
    opacity: 0.3;
    z-index: 2;
}

.services-title {
    text-align: center;
    margin: 40px 0 10px;
    font-weight: 700;
    color: #333;
}

.title-divider {
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    margin: 0 auto 40px;
}

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

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

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

#heroCarousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

.slider-dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    width: 25px;
    background: var(--accent-color);
    border-radius: 10px;
}

.arabesque-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 180px;
    height: 700px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.arabesque-pattern {
    width: 100%;
    height: 100%;
    opacity: 0.22;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='70' viewBox='0 0 80 70'%3E%3Cg fill='none' stroke='%230A2540' stroke-width='0.8'%3E%3Cpath d='M0 0L40 70L80 0'/%3E%3Cpath d='M0 70L40 0L80 70'/%3E%3Cpath d='M20 0L40 35L60 0'/%3E%3Cpath d='M20 70L40 35L60 70'/%3E%3Cpath d='M0 35L40 35'/%3E%3Cpath d='M40 35L80 35'/%3E%3Cpath d='M10 17.5L40 17.5'/%3E%3Cpath d='M40 17.5L70 17.5'/%3E%3Cpath d='M10 52.5L40 52.5'/%3E%3Cpath d='M40 52.5L70 52.5'/%3E%3Cpath d='M0 0L20 35L0 70'/%3E%3Cpath d='M80 0L60 35L80 70'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 80px 70px;
}

.hero-section {
    position: relative;
    z-index: 1;
}

.media-center {
    padding: 30px 0;
    background-color: transparent;
    position: relative;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='grad1' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%231BC6B4' stop-opacity='0.12'/%3E%3Cstop offset='100%25' stop-color='%230A2540' stop-opacity='0.15'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='url(%23grad1)' stroke-width='0.5'%3E%3Cpath d='M50 0L93.3 25L93.3 75L50 100L6.7 75L6.7 25Z'/%3E%3Cpath d='M50 15L80 32.5L80 67.5L50 85L20 67.5L20 32.5Z'/%3E%3Cpath d='M50 30L66.7 40L66.7 60L50 70L33.3 60L33.3 40Z'/%3E%3Ccircle cx='50' cy='50' r='8' stroke-width='0.3'/%3E%3Cpath d='M50 0L50 15M93.3 25L80 32.5M93.3 75L80 67.5M50 100L50 85M6.7 75L20 67.5M6.7 25L20 32.5'/%3E%3Cpath d='M50 15L66.7 40M80 32.5L66.7 40M80 67.5L66.7 60M50 85L66.7 60M20 67.5L33.3 60M50 85L33.3 60M20 32.5L33.3 40M50 15L33.3 40'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 100px 100px;
}

.section-header {
    margin-bottom: 25px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.heartbeat-line {
    width: 80px;
    height: 20px;
    margin: 0 auto;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0 10 H30 L35 2 L45 18 L50 10 H100" stroke="%231BC6B4" stroke-width="2" fill="transparent"/></svg>') no-repeat center;
}

.media-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.media-column-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.icon-box {
    width: 32px;
    height: 32px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s;
}

.icon-box:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.media-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: block;
    text-decoration: none;
    color: inherit;
}

.media-card img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.news-card img {
    height: 400px;
}

.event-card img {
    height: 200px;
}

.date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.date-badge i {
    margin-left: 5px;
}

.card-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 50px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    text-align: right;
}

.card-caption p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    line-height: 1.6;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #dee2e6;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    width: 25px;
    background: var(--accent-color);
    border-radius: 10px;
}

.announcements-box {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

.announcement-row {
    display: block;
    padding: 15px 20px;
    border-right: 4px solid var(--accent-color);
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px dashed #e9ecef;
}

.announcement-row:last-child {
    border-bottom: none;
}

.announcement-row:hover {
    background-color: var(--muted-color);
    padding-right: 25px;
}

.announcement-row .announcement-date {
    display: block;
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.announcement-row .announcement-date i {
    margin-left: 5px;
}

.announcement-row .announcement-title {
    display: block;
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.social-media-section {
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%230A2540' stroke-width='0.5' opacity='0.15'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z'/%3E%3Cpath d='M40 10L70 40L40 70L10 40Z'/%3E%3Cpath d='M40 20L60 40L40 60L20 40Z'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3Cpath d='M0 0L40 40M80 0L40 40M0 80L40 40M80 80L40 40'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 80px 80px;
    position: relative;
}

.social-media-section .section-main-title {
    color: #333;
}

.section-main-title {
    color: #333;
    font-size: 1.8rem;
}

.social-tabs {
    gap: 8px;
    flex-wrap: wrap;
}

.social-tabs .nav-link {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 6px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.social-tabs .nav-link:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #dee2e6;
}

.social-tabs .nav-link.active {
    background: var(--primary-color);
    color: #fff !important;
    border-color: var(--primary-color);
}

.social-card {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.social-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.social-card .card-media {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.social-card .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.social-card:hover .card-media img {
    transform: scale(1.08);
}

.platform-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.platform-icon.youtube {
    background-color: var(--accent-dark);
}

.platform-icon.twitter {
    background-color: var(--accent-dark);
}

.platform-icon.instagram {
    background-color: var(--accent-dark);
}

.platform-icon.linkedin {
    background-color: var(--accent-dark);
}

.social-card .card-body {
    padding: 18px;
}

.post-date {
    font-size: 0.7rem;
    color: #6b7280;
    background-color: #f3f4f6;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
}

.post-title {
    font-size: 0.875rem;
    color: #1f2937;
    min-height: 40px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.view-post-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s;
}

.view-post-btn:hover {
    color: var(--primary-dark);
    gap: 8px;
}

.social-media-section .btn-outline-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.social-media-section .btn-outline-secondary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.footer-newsletter {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 10px;
}

.footer-newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-newsletter-text h5 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.footer-newsletter-text p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin: 0;
}

.footer-newsletter-form {
    flex: 1;
    max-width: 400px;
}

.footer-newsletter-input-group {
    display: flex;
    gap: 10px;
}

.footer-newsletter-input-group input {
    flex: 1;
    direction: rtl;
    padding: 10px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 0.9rem;
}

.footer-newsletter-input-group input::placeholder {
    color: rgba(255,255,255,0.5);
}

.footer-newsletter-input-group input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.15);
}

.footer-newsletter-input-group button {
    padding: 10px 20px;
    background: #fff;
    color: var(--primary-color);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.footer-newsletter-input-group button:hover {
    background: #f0f0f0;
}

.footer-newsletter-input-group button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.footer-newsletter-message {
    margin-top: 8px;
    font-size: 0.85rem;
}

.footer-newsletter-message .success-msg {
    color: #4ade80;
}

.footer-newsletter-message .error-msg {
    color: #f87171;
}

@media (max-width: 991px) {
    .footer-newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-newsletter-form {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-newsletter-input-group {
        flex-direction: column;
    }

    .footer-newsletter-input-group button {
        width: 100%;
    }
}

.btn-outline-secondary {
    border-color: #ddd;
    color: #666;
}

.btn-outline-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.section-divider {
    height: 25px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='44' viewBox='0 0 50 44'%3E%3Cg fill='none' stroke='%231BC6B4' stroke-width='0.5' opacity='0.2'%3E%3Cpath d='M0 0L25 44L50 0'/%3E%3Cpath d='M0 44L25 0L50 44'/%3E%3Cpath d='M12.5 0L25 22L37.5 0'/%3E%3Cpath d='M12.5 44L25 22L37.5 44'/%3E%3Cpath d='M0 22L50 22'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
    background-size: 50px 44px;
}

.statistics-section {
    background-color: #fcfcfc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%230A2540' stroke-width='0.3' opacity='0.06'%3E%3Crect x='5' y='5' width='70' height='70' rx='2'/%3E%3Crect x='15' y='15' width='50' height='50' rx='2'/%3E%3Crect x='25' y='25' width='30' height='30' rx='2'/%3E%3Cpath d='M5 5L25 25M75 5L55 25M75 75L55 55M5 75L25 55'/%3E%3Cpath d='M40 5L40 25M75 40L55 40M40 75L40 55M5 40L25 40'/%3E%3Ccircle cx='40' cy='40' r='5'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 80px 80px;
}

.stat-card {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-gray) 100%);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(27, 198, 180, 0.2);
}

.stat-icon-wrapper {
    margin-bottom: 20px;
    opacity: 0.9;
}

.stat-icon-wrapper img {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.stat-label {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 400;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-footer {
    background-color: var(--accent-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cg fill='none' stroke='%231BC6B4' stroke-width='0.4'%3E%3Cpath d='M0 0L30 52L60 0' opacity='0.12'/%3E%3Cpath d='M0 52L30 0L60 52' opacity='0.12'/%3E%3Cpath d='M15 0L30 26L45 0' opacity='0.08'/%3E%3Cpath d='M15 52L30 26L45 52' opacity='0.08'/%3E%3Cpath d='M0 26L30 26' opacity='0.06'/%3E%3Cpath d='M30 26L60 26' opacity='0.06'/%3E%3Cpath d='M7.5 13L30 13' opacity='0.05'/%3E%3Cpath d='M30 13L52.5 13' opacity='0.05'/%3E%3Cpath d='M7.5 39L30 39' opacity='0.05'/%3E%3Cpath d='M30 39L52.5 39' opacity='0.05'/%3E%3Cpath d='M0 0L15 26L0 52' opacity='0.1'/%3E%3Cpath d='M60 0L45 26L60 52' opacity='0.1'/%3E%3Cpath d='M22.5 0L30 13L37.5 0' opacity='0.06'/%3E%3Cpath d='M22.5 52L30 39L37.5 52' opacity='0.06'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 60px 52px;
    color: #ffffff;
    padding: 60px 0 20px 0;
    border-radius: 40px 40px 0 0;
    position: relative;
    direction: rtl;
}

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

.footer-main-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-brand-section {
    flex: 0 0 280px;
    text-align: right;
    order: 1;
}

.footer-logo-img {
    max-width: 280px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-slogan {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.footer-social-icons .social-text {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-btn:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-links-column {
    flex: 1;
    min-width: 160px;
    margin-bottom: 30px;
    text-align: right;
    order: 2;
}

.footer-links-column:nth-child(2) {
    order: 4;
}

.footer-links-column:nth-child(3) {
    order: 3;
}

.footer-links-column:nth-child(4) {
    order: 2;
}

.column-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.column-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 60%;
    height: 2px;
    background-color: var(--primary-light);
}

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

.links-list li {
    margin-bottom: 12px;
}

.links-list a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: 0.3s;
}

.links-list a:hover {
    opacity: 1;
    padding-right: 5px;
    color: var(--primary-light);
}

.footer-bottom-bar {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.visitor-count {
    background: rgba(0,0,0,0.2);
    padding: 5px 15px;
    border-radius: 5px;
}

.scroll-top-btn {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.35);
}
.scroll-top-btn.visible:hover {
    transform: translateY(-5px);
}

@media (max-width: 991px) {
    .site-header-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
    .gov-verify-panel {
        display: none !important;
    }
    .gov-bar {
        display: none;
    }
    .top-bar {
        display: none;
    }
    .header-spacer {
        height: 100px !important;
    }
    .site-header-wrapper.scrolled .header-top-bar {
        display: block;
        padding: 10px 0;
    }
    .site-header-wrapper.scrolled .logo-img {
        max-height: 40px;
    }
    .navbar-collapse {
        background: white;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 5px 25px rgba(0,0,0,0.1);
        margin-top: 10px;
    }
    .site-header-wrapper.scrolled .navbar-collapse {
        background: var(--primary-dark);
    }
    .navbar-nav .nav-link {
        border-bottom: 1px solid #f0f0f0;
        padding: 12px 10px !important;
    }
    .navbar-nav .nav-link.active::after {
        display: none;
    }
    .site-header-wrapper.scrolled .navbar-nav .nav-link {
        border-bottom-color: rgba(255,255,255,0.1);
    }
    .dropdown-menu {
        box-shadow: none;
        border-radius: 0;
        padding-right: 15px;
    }
    .hero-section {
        padding: 0;
    }
    .hero-section .container {
        max-width: 100%;
        padding: 0;
    }
    .announcement-bar {
        border-radius: 0;
        margin-bottom: 0;
    }
    .announcement-content span {
        padding: 0 25px;
        font-size: 0.8rem;
    }
    .hero-banner {
        border-radius: 0;
        min-height: 220px;
    }
    .hero-content {
        padding: 25px;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .news-card img {
        height: 300px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .media-center {
        padding: 30px 0;
    }
    .social-tabs .nav-link {
        margin: 0 5px;
        font-size: 0.85rem;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .stat-label {
        font-size: 0.85rem;
    }
    .footer-main-row {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }
    .footer-brand-section {
        margin-bottom: 30px;
        width: 100%;
        padding-bottom: 25px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: center;
        order: 1 !important;
    }
    .footer-brand-section img {
        max-width: 150px;
    }
    .footer-social-icons {
        justify-content: center;
    }
    .footer-links-column {
        width: 100%;
        margin-bottom: 25px;
        padding: 0 15px;
        text-align: center;
        order: 2 !important;
    }
    .footer-links-column:nth-child(2),
    .footer-links-column:nth-child(3),
    .footer-links-column:nth-child(4) {
        order: 2 !important;
    }
    .column-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    .column-title::after {
        right: 50%;
        transform: translateX(50%);
        width: 50px;
    }
    .links-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 15px;
    }
    .links-list li {
        margin-bottom: 0;
    }
    .links-list a {
        font-size: 0.85rem;
        padding: 5px 10px;
        background: rgba(255,255,255,0.05);
        border-radius: 20px;
        display: inline-block;
    }
    .links-list a:hover {
        padding-right: 10px;
        background: rgba(255,255,255,0.1);
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
        padding-top: 20px;
    }
    .visitor-count {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
    .copyright {
        font-size: 0.8rem;
        opacity: 0.8;
    }
    .scroll-top-btn {
        left: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
    .custom-footer {
        padding: 40px 0 30px;
    }
}

/* News Page Styles */
.page-header-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 75px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.18'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z'/%3E%3Cpath d='M40 10L70 40L40 70L10 40Z'/%3E%3Cpath d='M40 20L60 40L40 60L20 40Z'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3Cpath d='M40 0v80M0 40h80'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 80px 80px;
    z-index: 0;
}

.page-header-section::after {
    display: none;
}

.page-header-section .container {
    position: relative;
    z-index: 1;
}

.page-header-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-header-section .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.page-header-section .breadcrumb-item a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s;
}

.page-header-section .breadcrumb-item a:hover {
    color: white;
}

.page-header-section .breadcrumb-item.active {
    color: rgba(255,255,255,0.6);
}

.page-header-section .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

.islamic-decoration {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.18;
}

.islamic-decoration.top-right {
    top: -30px;
    right: -30px;
}

.islamic-decoration.bottom-left {
    bottom: -30px;
    left: -30px;
    transform: rotate(180deg);
}

.news-filters {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.news-filters .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.news-filters .form-control,
.news-filters .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.news-filters .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 8px;
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

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

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

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

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

.news-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.news-card-body {
    padding: 20px;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.6;
}

.news-card-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* News Detail Page - Premium Design */
.news-detail-header {
    padding-bottom: 60px;
}

.news-detail-header h1 {
    font-size: 2rem;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.header-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
}

.header-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.news-detail-section {
    background-color: #f8f9fa;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%230A2540' stroke-width='0.6' opacity='0.15'%3E%3Cpath d='M60 0L120 60L60 120L0 60Z'/%3E%3Cpath d='M60 20L100 60L60 100L20 60Z'/%3E%3Cpath d='M60 40L80 60L60 80L40 60Z'/%3E%3Ccircle cx='60' cy='60' r='10'/%3E%3Cpath d='M60 0v120M0 60h120'/%3E%3C/g%3E%3C/svg%3E");
}

.news-article {
    background: white;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 5px 40px rgba(10, 37, 64, 0.08);
}

.article-featured-image {
    position: relative;
    height: 450px;
    overflow: hidden;
}

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

.article-featured-image .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
}

.article-body {
    padding: 40px 50px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 2.2;
    color: #333;
}

.article-content p {
    margin-bottom: 25px;
    text-align: justify;
}

.article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.article-gallery {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.gallery-header,
.attachments-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.gallery-header i,
.attachments-header i {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.gallery-header h4,
.attachments-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 37, 64, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.gallery-overlay i {
    color: white;
    font-size: 1.5rem;
}

.article-attachments {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.attachment-item:hover {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(10, 37, 64, 0.1);
}

.attachment-icon {
    width: 50px;
    height: 50px;
    background: #fee2e2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attachment-icon i {
    font-size: 1.3rem;
    color: #dc2626;
}

.attachment-info {
    flex: 1;
}

.attachment-name {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.attachment-action {
    font-size: 0.85rem;
    color: #888;
}

.attachment-download {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.article-footer {
    padding: 20px 30px;
    background: #fafbfc;
    border-top: 1px solid #eee;
}

.footer-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.feedback-widget {
    flex: 1;
    min-width: 280px;
}

.feedback-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.feedback-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
}

.feedback-stats {
    font-size: 0.85rem;
    color: #888;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 12px;
}

.feedback-stats .likes-count,
.feedback-stats .total-count {
    font-weight: 600;
    color: var(--primary-color);
}

.feedback-buttons {
    display: flex;
    gap: 8px;
}

.feedback-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-btn i {
    font-size: 0.9rem;
    color: #888;
}

.feedback-btn.like-btn:hover,
.feedback-btn.like-btn.active {
    background: #e8f5e9;
    border-color: #4caf50;
}

.feedback-btn.like-btn:hover i,
.feedback-btn.like-btn.active i {
    color: #4caf50;
}

.feedback-btn.dislike-btn:hover,
.feedback-btn.dislike-btn.active {
    background: #ffebee;
    border-color: #f44336;
}

.feedback-btn.dislike-btn:hover i,
.feedback-btn.dislike-btn.active i {
    color: #f44336;
}

.feedback-reasons {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.reasons-header {
    margin-bottom: 10px;
}

.reasons-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
}

.reasons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reason-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0;
    font-size: 0.8rem;
}

.reason-item:hover {
    background: #eee;
}

.reason-item input[type="checkbox"] {
    display: none;
}

.reason-check {
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.reason-check::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.6rem;
    color: white;
    opacity: 0;
    transition: opacity 0.2s;
}

.reason-item input[type="checkbox"]:checked + .reason-check {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.reason-item input[type="checkbox"]:checked + .reason-check::after {
    opacity: 1;
}

.reason-text {
    font-size: 0.8rem;
    color: #555;
}

.other-reason-input {
    margin-top: 10px;
    width: 100%;
}

.other-reason-input textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: none;
    font-family: inherit;
    font-size: 0.85rem;
    transition: border-color 0.2s;
}

.other-reason-input textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.other-reason-input textarea::placeholder {
    color: #999;
}

.header-views {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

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

.share-label {
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

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

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.share-btn.twitter {
    background: #1a1a1a;
}

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

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

.share-btn.qr {
    background: #6c757d;
}

.share-btn.twitter svg {
    width: 14px;
    height: 14px;
}

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

/* Sidebar */
.news-aside {
    position: sticky;
    top: 120px;
}

.aside-widget {
    background: white;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(10, 37, 64, 0.06);
    margin-bottom: 20px;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 25px;
    background: var(--primary-color);
    color: white;
}

.widget-header i {
    font-size: 1.1rem;
}

.widget-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.widget-body {
    padding: 10px;
}

.related-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    transition: all 0.3s;
}

.related-item:hover {
    background: #f8f9fa;
}

.related-image {
    width: 90px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

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

.related-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
}

.related-content h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.6;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.related-item:hover .related-content h6 {
    color: var(--primary-color);
}

.related-date {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.no-related {
    text-align: center;
    padding: 30px;
    color: #888;
}

.no-related i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ddd;
}

.no-related p {
    margin: 0;
}

.action-widget {
    padding: 0;
}

.back-to-news {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
}

.back-to-news:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 991px) {
    .article-body {
        padding: 30px 25px;
    }

    .article-footer {
        padding: 25px;
    }

    .article-featured-image {
        height: 300px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-detail-header h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .footer-actions {
        flex-direction: column;
    }

    .feedback-widget {
        min-width: 100%;
    }

    .feedback-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .feedback-title {
        font-size: 0.85rem;
    }

    .reason-item {
        padding: 6px 10px;
    }

    .reason-text {
        font-size: 0.75rem;
    }

    .share-section {
        width: 100%;
    }

    .share-buttons {
        justify-content: flex-start;
    }

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

    .header-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* Pagination Styling */
.pagination {
    gap: 5px;
}

.page-link {
    border-radius: 8px !important;
    color: var(--primary-color);
    border: 1px solid #ddd;
    padding: 10px 15px;
}

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

/* Islamic Pattern Overlay - Hidden */
.islamic-pattern-overlay {
    display: none;
}

.islamic-corner-decoration {
    display: none;
}

.header-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    border: 2px solid rgba(255,255,255,0.2);
}

.header-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* News Page Section Background */
.news-page-section {
    background-color: #f8f9fa;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%230A2540' stroke-width='0.6' opacity='0.08'%3E%3Cpath d='M60 0L120 60L60 120L0 60Z'/%3E%3Cpath d='M60 20L100 60L60 100L20 60Z'/%3E%3Cpath d='M60 40L80 60L60 80L40 60Z'/%3E%3Ccircle cx='60' cy='60' r='10'/%3E%3Cpath d='M60 0v120M0 60h120'/%3E%3Cpath d='M0 0L120 120M120 0L0 120'/%3E%3Cpath d='M30 0v120M90 0v120M0 30h120M0 90h120'/%3E%3C/g%3E%3C/svg%3E");
    min-height: 60vh;
    position: relative;
}

.news-page-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='200' viewBox='0 0 100 200'%3E%3Cg fill='none' stroke='%230A2540' stroke-width='0.8' opacity='0.08'%3E%3Cpath d='M50 0v200'/%3E%3Cpath d='M0 50h100M0 100h100M0 150h100'/%3E%3Ccircle cx='50' cy='50' r='20'/%3E%3Ccircle cx='50' cy='100' r='30'/%3E%3Ccircle cx='50' cy='150' r='20'/%3E%3Cpath d='M30 30L70 70M70 30L30 70'/%3E%3Cpath d='M20 80L80 120M80 80L20 120'/%3E%3Cpath d='M30 130L70 170M70 130L30 170'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.news-page-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='200' viewBox='0 0 100 200'%3E%3Cg fill='none' stroke='%230A2540' stroke-width='0.8' opacity='0.08'%3E%3Cpath d='M50 0v200'/%3E%3Cpath d='M0 50h100M0 100h100M0 150h100'/%3E%3Ccircle cx='50' cy='50' r='20'/%3E%3Ccircle cx='50' cy='100' r='30'/%3E%3Ccircle cx='50' cy='150' r='20'/%3E%3Cpath d='M30 30L70 70M70 30L30 70'/%3E%3Cpath d='M20 80L80 120M80 80L20 120'/%3E%3Cpath d='M30 130L70 170M70 130L30 170'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.news-page-section > .container {
    position: relative;
    z-index: 1;
}

/* Elegant Filters */
.news-filters-wrapper {
    position: relative;
    margin-bottom: 50px;
    margin-top: -40px;
}


.news-filters {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-radius: 60px;
    box-shadow: 0 10px 50px rgba(10, 37, 64, 0.08);
    overflow: hidden;
    border: 1px solid rgba(10, 37, 64, 0.05);
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 25px;
    color: #555;
}

.filter-item i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.filter-item input,
.filter-item select {
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    min-width: 140px;
    cursor: pointer;
}

.filter-item input::placeholder {
    color: #999;
}

.filter-item.search-filter {
    flex: 1;
    max-width: 300px;
}

.filter-item.search-filter input {
    width: 100%;
}

.filter-divider {
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, transparent, #ddd, transparent);
}

.clear-filters {
    padding: 18px 25px;
    color: #dc3545;
    text-decoration: none;
    transition: all 0.3s;
}

.clear-filters:hover {
    background: #fff5f5;
    color: #dc3545;
}

.results-count {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 0.95rem;
}

.results-count span {
    background: rgba(10, 37, 64, 0.06);
    padding: 8px 20px;
    border-radius: 20px;
}

/* Elegant News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-item {
    background: white;
    border-radius: 3px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.news-item:hover::before {
    transform: scaleX(1);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(10, 37, 64, 0.1);
}

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

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

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

.news-item-content {
    padding: 25px 25px 30px;
}

.news-item-date {
    display: inline-block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.news-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.7;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.news-item:hover .news-item-title {
    color: var(--primary-color);
}

.news-item-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.news-item-link {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}

.news-item:hover .news-item-link {
    gap: 10px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h4 {
    color: #555;
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-state p {
    color: #888;
}

/* Responsive */
@media (max-width: 991px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-filters {
        flex-wrap: wrap;
        border-radius: 20px;
    }

    .filter-item {
        padding: 15px 20px;
    }

    .filter-divider {
        display: none;
    }
}

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

    .news-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-item {
        justify-content: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .filter-item:last-child {
        border-bottom: none;
    }

    .filter-item.search-filter {
        max-width: none;
    }
}


/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    right: 20px;
}

.lightbox-next {
    left: 20px;
}

.lightbox-counter {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        right: 10px;
    }
    
    .lightbox-next {
        left: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
    }
}

/* Events Page */
.events-page-section {
    background-color: #f8f9fa;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%230A2540' stroke-width='0.6' opacity='0.15'%3E%3Cpath d='M60 0L120 60L60 120L0 60Z'/%3E%3Cpath d='M60 20L100 60L60 100L20 60Z'/%3E%3Cpath d='M60 40L80 60L60 80L40 60Z'/%3E%3Ccircle cx='60' cy='60' r='10'/%3E%3Cpath d='M60 0v120M0 60h120'/%3E%3Cpath d='M0 0L120 120M120 0L0 120'/%3E%3Cpath d='M30 0v120M90 0v120M0 30h120M0 90h120'/%3E%3C/g%3E%3C/svg%3E");
    min-height: 60vh;
    position: relative;
}

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

.event-card {
    background: white;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(10, 37, 64, 0.08);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(10, 37, 64, 0.15);
    color: inherit;
}

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

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.event-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A2540 0%, #1a3a5c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-placeholder i {
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
}

.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #0A2540;
    color: white;
    padding: 10px 15px;
    border-radius: 3px;
    text-align: center;
    line-height: 1.2;
}

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

.event-date-badge .month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.event-card-content {
    padding: 25px;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0A2540;
    margin-bottom: 15px;
    line-height: 1.6;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.event-location,
.event-time {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-location i,
.event-time i {
    color: #0A2540;
    width: 16px;
}

.event-link {
    font-size: 0.9rem;
    color: #0A2540;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.event-card:hover .event-link {
    gap: 12px;
}

/* Event Detail */
.event-detail-section {
    background-color: #f8f9fa;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%230A2540' stroke-width='0.6' opacity='0.15'%3E%3Cpath d='M60 0L120 60L60 120L0 60Z'/%3E%3Cpath d='M60 20L100 60L60 100L20 60Z'/%3E%3Cpath d='M60 40L80 60L60 80L40 60Z'/%3E%3Ccircle cx='60' cy='60' r='10'/%3E%3Cpath d='M60 0v120M0 60h120'/%3E%3C/g%3E%3C/svg%3E");
}

.event-article {
    background: white;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 5px 40px rgba(10, 37, 64, 0.08);
}

.event-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 3px;
    margin-bottom: 30px;
}

.event-info-bar .info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.event-info-bar .info-item i {
    font-size: 1.5rem;
    color: #0A2540;
}

.event-info-bar .info-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 2px;
}

.event-info-bar .info-value {
    display: block;
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

.header-location {
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Announcements Page */
.announcements-page-section {
    background-color: #f8f9fa;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%230A2540' stroke-width='0.6' opacity='0.15'%3E%3Cpath d='M60 0L120 60L60 120L0 60Z'/%3E%3Cpath d='M60 20L100 60L60 100L20 60Z'/%3E%3Cpath d='M60 40L80 60L60 80L40 60Z'/%3E%3Ccircle cx='60' cy='60' r='10'/%3E%3Cpath d='M60 0v120M0 60h120'/%3E%3Cpath d='M0 0L120 120M120 0L0 120'/%3E%3Cpath d='M30 0v120M90 0v120M0 30h120M0 90h120'/%3E%3C/g%3E%3C/svg%3E");
    min-height: 60vh;
    position: relative;
}

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

.announcement-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(10, 37, 64, 0.06);
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(10, 37, 64, 0.06);
    position: relative;
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: #0A2540;
    border-radius: 0 16px 0 0;
    transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.announcement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(10, 37, 64, 0.12);
    border-color: rgba(10, 37, 64, 0.1);
    color: inherit;
}

.announcement-card:hover::before {
    height: 100%;
    border-radius: 0 16px 16px 0;
}

.announcement-card-header {
    padding: 28px 28px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.announcement-icon {
    width: 52px;
    height: 52px;
    background: #f5f7fa;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.announcement-card:hover .announcement-icon {
    background: #0A2540;
}

.announcement-icon i {
    color: #0A2540;
    font-size: 1.25rem;
    transition: color 0.4s ease;
}

.announcement-card:hover .announcement-icon i {
    color: white;
}

.announcement-date {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.announcement-card-body {
    padding: 0 28px 24px;
    flex: 1;
}

.announcement-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.announcement-card:hover .announcement-title {
    color: #0A2540;
}

.announcement-excerpt {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.75;
    margin: 0;
}

.announcement-card-footer {
    padding: 18px 28px;
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(10, 37, 64, 0.04);
}

.announcement-attachments {
    font-size: 0.8rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.announcement-attachments i {
    color: #0A2540;
    font-size: 0.75rem;
}

.announcement-link {
    font-size: 0.85rem;
    color: #0A2540;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.announcement-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.announcement-card:hover .announcement-link {
    gap: 10px;
}

.announcement-card:hover .announcement-link i {
    transform: translateX(-4px);
}

/* Announcement Detail */
.announcement-detail-section {
    background-color: #f8f9fa;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%230A2540' stroke-width='0.6' opacity='0.15'%3E%3Cpath d='M60 0L120 60L60 120L0 60Z'/%3E%3Cpath d='M60 20L100 60L60 100L20 60Z'/%3E%3Cpath d='M60 40L80 60L60 80L40 60Z'/%3E%3Ccircle cx='60' cy='60' r='10'/%3E%3Cpath d='M60 0v120M0 60h120'/%3E%3C/g%3E%3C/svg%3E");
}

.announcement-article {
    background: white;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 5px 40px rgba(10, 37, 64, 0.08);
}

/* Responsive */
@media (max-width: 991px) {
    .events-grid,
    .announcements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-info-bar {
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .events-grid,
    .announcements-grid {
        grid-template-columns: 1fr;
    }

    .event-info-bar {
        flex-direction: column;
        gap: 15px;
    }
}

.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding-top: 80px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-modal {
    width: 100%;
    max-width: 700px;
    max-height: calc(100vh - 120px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    margin: 0 20px;
}

.search-modal-overlay.active .search-modal {
    transform: translateY(0);
}

.search-modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px 16px;
}

.search-input-wrapper i {
    color: #6c757d;
    font-size: 1.1rem;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    outline: none;
}

.search-shortcut {
    font-size: 0.75rem;
    color: #adb5bd;
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
}

.search-close-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f8f9fa;
    border-radius: 10px;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s;
}

.search-close-btn:hover {
    background: #e9ecef;
    color: #333;
}

.search-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.search-placeholder,
.search-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    text-align: center;
}

.search-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.search-tab {
    border: none;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-tab:hover {
    background: #e9ecef;
}

.search-tab.active {
    background: var(--primary-color);
    color: #fff;
}

.search-tab.active .badge {
    background: rgba(255,255,255,0.2) !important;
}

.result-section {
    margin-bottom: 25px;
}

.result-section:last-child {
    margin-bottom: 0;
}

.result-section-title {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    margin-bottom: 8px;
}

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

.result-item:hover {
    background: #f8f9fa;
}

.result-thumb {
    width: 60px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

.result-thumb-placeholder {
    width: 60px;
    height: 45px;
    border-radius: 8px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
}

.result-content {
    flex: 1;
    min-width: 0;
}

.result-title {
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

.show-more-btn {
    width: 100%;
    border: 1px dashed #dee2e6;
    background: transparent;
    padding: 10px;
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.show-more-btn:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
}

.search-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.pagination-btn {
    border: 1px solid #dee2e6;
    background: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination-info {
    font-size: 0.85rem;
    color: #6c757d;
}

@media (max-width: 576px) {
    .search-modal-overlay {
        padding-top: 20px;
    }

    .search-modal {
        max-height: calc(100vh - 40px);
        border-radius: 12px 12px 0 0;
        margin: 0;
    }

    .search-shortcut {
        display: none;
    }

    .result-thumb,
    .result-thumb-placeholder {
        width: 50px;
        height: 38px;
    }
}

/* LTR Support */
html[dir="ltr"] .top-bar-right {
    text-align: left;
}
html[dir="ltr"] .footer-social-icons {
    flex-direction: row;
}
html[dir="ltr"] .breadcrumb-item + .breadcrumb-item::before {
    content: '\f105';
}
html[dir="ltr"] .category-footer .arrow {
    transform: rotate(180deg);
}
html[dir="ltr"] .article-content {
    text-align: left;
}
html[dir="ltr"] .news-card-body,
html[dir="ltr"] .event-card-body,
html[dir="ltr"] .announcement-card-body {
    text-align: left;
}
html[dir="ltr"] .page-header-section {
    text-align: left;
}
html[dir="ltr"] .custom-footer {
    direction: ltr;
}
html[dir="ltr"] .footer-brand-section {
    text-align: left;
}
html[dir="ltr"] .footer-links-column {
    text-align: left;
}
html[dir="ltr"] .footer-links-column:nth-child(2) {
    order: 2;
}
html[dir="ltr"] .footer-links-column:nth-child(3) {
    order: 3;
}
html[dir="ltr"] .footer-links-column:nth-child(4) {
    order: 4;
}
html[dir="ltr"] .column-title::after {
    right: auto;
    left: 0;
}
html[dir="ltr"] .links-list a:hover {
    padding-right: 0;
    padding-left: 5px;
}
html[dir="ltr"] .footer-newsletter-content {
    text-align: left;
}
html[dir="ltr"] .rating-count {
    margin-right: 0;
    margin-left: 5px;
}

.mobile-icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-color);
    background: transparent;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}
.mobile-icon-btn:hover {
    background: var(--primary-color);
    color: #fff;
}
.d-flex.d-md-none .lang-switch-btn {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}
.d-flex.d-md-none .lang-switch-btn:hover {
    background: var(--primary-color);
    color: #fff;
}
