/* Fix submenu list item indentation */

.submenu li,
.submenu a {
    padding-right: 12px !important;
    margin-right: 0 !important;
    text-align: right;
}

.submenu {
    padding-right: 0 !important;
    margin-right: 0 !important;
}
* {
    direction: rtl;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
}

.fixclear {
    clear: both;
}

/* Enhanced Green Line with Animation */
.greenline {
    height: 7px;
    background-color: #74c400;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Green line expanded state for mobile navigation */
.greenline.expanded {
    height: 100vh;
    background-color: #74c400;
}

header {
    position: relative;
    height: 120px;
    z-index: 10000;
}

li {
    display: inline-block;
}

li a {
    text-decoration: none;
    list-style-type: none;
    font-weight: 700;
}

#menu {
    display: block;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    height: 100%;
    position: relative;
}

.overlay img {
    position: absolute;
    display: none;
}

article {
    display: block;
}

section {
    display: block;
    clear: both;
}

section article {
    background-color: #585858;
    font-size: 25px;
    padding: 25px 0;
    text-align: center;
    color: #fff;
}

section article:last-child {
    background-color: #74c400;
}

section article p {
    padding: 25px;
}

section article ion-icon {
    font-size: 64px;
    color: #fff;
}

section article h2 {
    font-size: 35px;
    padding: 15px 0 0;
}

.goals {
    text-align: center;
}

.goals h2 {
    font-size: 35px;
    padding: 40px;
    overflow: hidden;
}

.goals h2:after {
    content: "";
    display: block;
    width: 10%;
    height: 4px;
    background-color: #dfc073;
    margin: auto;
}

.goals ion-icon {
    font-size: 36px;
    padding: 20px 20px 0;
}

.goals #golden {
    color: #dfc073;
}

.goals #green {
    color: #74c400;
}

.goals #black {
    color: #585858;
}

.goals h3 {
    font-weight: 700;
}

.col3 h3, .col3 p {
    padding: 10px;
}

.col3 p {
    padding: 0 35px;
    font-size: 18px;
}

.father {
    position: relative;
    overflow: hidden;
}

.father ion-icon {
    position: absolute;
    z-index: 2;
    transform: translate(50%, -50%);
    color: #fff;
}

.father .next {
    top: 50%;
    right: 20%;
}

.father .prev {
    top: 50%;
    right: 80%;
}

.father img {
    filter: brightness(30%);
    z-index: -10;
    transition: filter .4s;
}

.father img:hover {
    filter: brightness(100%);
}

.father .wrap div {
    position: relative;
}

.father .wrap h3 {
    text-align: center;
}

.wrap {
    width: 70%;
    margin: auto;
}

.wrap img {
    width: 100%;
    height: auto;
}

/* Desktop Styles */
@media (min-width: 1113px) {
    .container {
        width: 70%;
        margin: auto;
    }
    
    header nav ul li:first-child, header #menu {
        display: none;
    }
    
    header img {
        float: right;
        width: 100px;
        height: 100px;
        position: absolute;
        transform: translateY(-50%);
        top: 50%;
        background-color: transparent;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
    }
    
    #tog {
        direction: ltr;
    }
    
    header ul {
        float: left;
        position: absolute;
        transform: translateY(-50%);
        top: 50%;
    }
    
    header ul li:not(:first-of-type) {
        margin-right: 15px;
    }
    
    header ul li a {
        display: inline-block;
        color: #585858;
    }
    
    header ul li a:after {
        content: '';
        display: block;
        width: 0;
        height: 2px;
        background-color: #dfc073;
        transition: width .4s;
    }
    
    header ul li a:hover:after {
        width: 100%;
    }
    
    /* Desktop Submenu Styles ONLY */
    .has-submenu {
        position: relative;
    }
    
    
    .submenu {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #fff;
        min-width: 220px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        overflow: visible;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.4s ease;
        z-index: 10001;
        border-top: 3px solid #74c400;
        margin-top: 5px;
        padding-top: 0;
    }
    
    .has-submenu:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    
    .submenu li {
        display: block !important;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
        z-index: 10002;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: hidden;
    }
    
    .submenu li:last-child {
        border-bottom: none;
    }
    
    .submenu li a {
        display: block;
        padding: 12px 20px;
        color: #585858;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
        margin: 0;
        text-indent: 0;
        position: relative;
    }
    
    /* .submenu li a:first-child {
        padding: 12px 20px;
        margin: 0;
        text-indent: 0;
        direction: rtl; 
        text-align: right;
    } */
    
    .submenu li a {
        direction: rtl;
        text-align: right;
    }
    
    .submenu li a:hover {
        color: #74c400;
        padding-right: 30px;
        transform: translateX(-10px);
    }
    
    .submenu li a:after {
        display: none !important;
        content: none !important;
    }
    
    /* .submenu li:first-child a:after {
        display: none !important;
        content: none !important;
    } */
    
    /* Desktop arrow animation for القطاعات submenu */
    .submenu-toggle i {
        transition: transform 0.3s ease;
        margin-right: 5px;
    }
    
    .has-submenu:hover .submenu-toggle i {
        transform: rotate(90deg);
    }
    
    /* Hide mobile submenu on desktop */
    .mobile-submenu {
        display: none !important;
    }
    
    .submenu-content {
        display: none !important;
    }
}

/* Mobile Styles with Enhanced Navigation */
@media (max-width: 1113px) {
    #menu {
        display: block;
        position: absolute;
        transform: translate(50%, -50%);
        top: 50%;
        right: 5%;
        font-size: 40px;
        z-index: 1001;
        color: #585858;
        transition: color 0.3s ease;
        background: none;
        border: none;
        padding: 0;
    }
    
    /* Ensure close icon stays white */
    #menu[name="close"] {
        color: #fff !important;
    }
    
    #menu[name="close"]:hover {
        color: #ffffff !important;
    }
    
    /* X button in main menu - always white */
    #menu.fa-times {
        color: #fff !important;
    }
    
    #menu.fa-times:hover {
        color: #ffffff !important;
    }
    
    /* More specific selector */
    header .container #menu[name="close"]:hover {
        color: #ffffff !important;
    }
    
    /* Class-based approach */
    #menu.close-icon:hover {
        color: #ffffff !important;
    }
    
    header .container #menu.close-icon:hover {
        color: #ffffff !important;
    }
    
    #menu:hover {
        color: #74c400;
    }
    
    header img {
        position: absolute;
        transform: translate(50%, -50%);
        top: 50%;
        right: 50%;
        width: 100px;
        height: 100px;
        z-index: 99999 !important;
        background-color: #fff;
        border-radius: 50%;
        padding: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: block !important;
    }
    
    /* Mobile Navigation Overlay */
    header nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: transparent;
        z-index: 1000;
        display: none;
        opacity: 0;
        transition: opacity 0.4s ease;
    }
    
    header nav.show {
        display: flex;
        opacity: 1;
    }
    
    header nav ul {
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        list-style: none;
        text-align: center;
        width: 100%;
        z-index: 1001;
    }
    
    header nav li {
        display: block;
        margin: 20px 0;
        opacity: 0;
        transform: translateY(30px);
        animation: none;
        position: relative;
    }
    
    header nav li.has-submenu {
        position: relative;
        z-index: 10001;
    }
    
    /* Animation triggers when navigation shows */
    header nav.show li {
        animation: slideInUp 0.6s ease forwards;
    }
    
    /* Staggered animation for menu items */
    header nav.show li:nth-child(1) { animation-delay: 0.1s; }
    header nav.show li:nth-child(2) { animation-delay: 0.2s; }
    header nav.show li:nth-child(3) { animation-delay: 0.3s; }
    header nav.show li:nth-child(4) { animation-delay: 0.4s; }
    header nav.show li:nth-child(5) { animation-delay: 0.5s; }
    header nav.show li:nth-child(6) { animation-delay: 0.6s; }
    header nav.show li:nth-child(7) { animation-delay: 0.7s; }
    
    
    /* Hide desktop submenu on mobile */
    .submenu {
        display: none !important;
    }
    
    /* Mobile submenu - behaves exactly like main menu */
    .mobile-submenu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #74c400;
        z-index: 1000;
        display: none;
        opacity: 0;
        transition: all 0.4s ease;
    }
    
    .mobile-submenu.show {
        display: block !important;
        opacity: 1;
        transition: all 0.4s ease;
    }
    
    
    #submenu-nav {
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        list-style: none;
        text-align: center;
        width: 100%;
        z-index: 1001;
    }
    
    #submenu-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    #submenu-nav li {
        display: block;
        margin: 20px 0;
        opacity: 0;
        transform: translateY(30px);
        animation: none;
    }
    
    /* Animation triggers when submenu shows - EXACTLY like main menu */
    .mobile-submenu.show #submenu-nav li {
        animation: slideInUp 0.6s ease forwards;
    }
    
    /* Staggered animation for submenu items - EXACTLY like main menu */
    .mobile-submenu.show #submenu-nav li:nth-child(1) { animation-delay: 0.1s; }
    .mobile-submenu.show #submenu-nav li:nth-child(2) { animation-delay: 0.2s; }
    .mobile-submenu.show #submenu-nav li:nth-child(3) { animation-delay: 0.3s; }
    .mobile-submenu.show #submenu-nav li:nth-child(4) { animation-delay: 0.4s; }
    .mobile-submenu.show #submenu-nav li:nth-child(5) { animation-delay: 0.5s; }
    
    #submenu-nav li a {
        display: block;
        padding: 15px 30px;
        color: #fff;
        cursor: pointer;
        font-size: 24px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 25px;
        position: relative;
        overflow: hidden;
    }
    
    /* Enhanced hover effects for submenu items */
    #submenu-nav li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }
    
    #submenu-nav li a:hover::before {
        left: 100%;
    }
    
    #submenu-nav li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
        transform: translateX(-10px) scale(1.05);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    #submenu-nav li a:active {
        transform: translateX(-5px) scale(1.02);
    }
    
    
    .close-submenu {
        background: none;
        border: none;
        color: white;
        font-size: 40px;
        cursor: pointer;
        padding: 10px;
        border-radius: 50%;
        transition: all 0.3s ease;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .close-submenu:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }
    
    header nav li a {
        display: block;
        padding: 15px 30px;
        color: #fff;
        cursor: pointer;
        font-size: 24px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 25px;
        position: relative;
        overflow: hidden;
    }
    
    /* Enhanced hover effects for navigation items */
    header nav li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }
    
    header nav li a:hover::before {
        left: 100%;
    }
    
    header nav li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
        transform: translateX(-10px) scale(1.05);
            
    }
    
    header nav li a:active {
        transform: translateX(-5px) scale(1.02);
    }
    
    
    .mobile-submenu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }
    
    .mobile-submenu li {
        margin: 10px 0;
        display: block;
    }
    
    .mobile-submenu li a {
        display: block;
        padding: 15px 30px;
        color: #fff;
        font-size: 20px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 25px;
        margin: 0 20px;
    }
    
    .mobile-submenu li a:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateX(-10px) scale(1.05);
    }
    
    /* Mobile arrow animation */
    .submenu-toggle i {
        transition: transform 0.3s ease;
        margin-left: 8px;
    }
    
    .submenu-toggle.active i {
        transform: rotate(90deg);
    }
    
}

/* Keyframe animations */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 601px) {
    .next, .prev {
        font-size: 32px !important;
    }
    
    header nav li a {
        font-size: 20px;
        padding: 12px 25px;
    }
}

@media (min-width: 768px) {
    .next, .prev {
        font-size: 40px !important;
    }
}

@media (min-width: 1201px) {
    .next, .prev {
        font-size: 64px !important;
    }
}

/* Background images */
@media (max-width: 480px) {
    #main {
        background-image: url(../img/mobile.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        height: 640px;
    }
    
    .overlay #dissml {
        display: block;
        width: 300px;
        transform: translate(50%, -10%);
        top: 25%;
        right: 50%;
    }
}

@media (min-width: 480px) {
    #main {
        background-image: url(../img/big.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        height: 640px;
    }
    
    .overlay #disbig {
        display: block;
        width: 500px;
        transform: translate(50%, -10%);
        top: 15%;
        right: 50%;
    }
}

@media (min-width: 768px) {
    section article, .half {
        width: 50%;
        float: right;
        overflow: hidden;
    }
    
    section {
        overflow: hidden;
    }
    
    .goals {
        overflow: hidden;
    }
    
    .col3 {
        float: right;
        width: 33.3333%;
    }
}

footer {
    background-color: #585858;
    text-align: center;
    color: #fff;
    margin-top: 150px;
    border-top: 7px solid #74c400;
}

footer #social {
    font-size: 32px;
    padding: 20px;
}

footer #social a {
    color: inherit;
    text-decoration: none;
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

footer #social a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

footer #rights {
    font-size: 12px;
    padding-bottom: 15px;
}

/* Custom Carousel Styling */
.custom-carousel {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    position: relative;
    direction: ltr;
}

.carousel-container {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    position: relative;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: pan-y pinch-zoom;
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-slide {
    min-width: 100%;
    display: none;
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    transition: all 0.3s ease;
}

.carousel-slide.active {
    display: block;
    animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.carousel-slide img {
    width: 100%;
    height: auto;
    min-height: 250px;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    -webkit-touch-callout: none;
}

.carousel-slide img:hover {
    transform: scale(1.05);
}

.carousel-slide h3 {
    font-family: 'Cairo', sans-serif;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    padding: 15px;
    line-height: 1.6;
    direction: rtl;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #74c400;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #74c400;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(116, 196, 0, 0.4);
}

.carousel-btn:hover {
    background: #5fa000;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(116, 196, 0, 0.6);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: -30px;
}

.carousel-btn-next {
    right: -30px;
}

/* Dots Navigation */
.carousel-dots {
    text-align: center;
    margin-top: 40px;
}

.dot {
    display: inline-block;
    background: #ddd;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot:hover {
    background: #bbb;
    transform: scale(1.2);
}

.dot.active {
    background: #74c400;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(116, 196, 0, 0.5);
}

.dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .carousel-slide img {
        min-height: 220px;
        max-height: 350px;
        height: auto;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .carousel-btn-prev {
        left: -25px;
    }
    
    .carousel-btn-next {
        right: -25px;
    }
}

@media (max-width: 768px) {
    .custom-carousel {
        padding: 0 15px;
    }
    
    .carousel-slide {
        padding: 20px;
    }
    
    .carousel-slide img {
        min-height: 200px;
        max-height: 300px;
        height: auto;
    }
    
    .carousel-slide h3 {
        font-size: 16px;
        padding: 12px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-btn-prev {
        left: -20px;
    }
    
    .carousel-btn-next {
        right: -20px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
        margin: 0 6px;
    }
}

@media (max-width: 768px) {
    .carousel-btn {
        display: none !important;
    }
    
    .carousel-slide {
        padding: 15px;
    }
    
    .carousel-slide img {
        min-height: 180px;
        max-height: 280px;
        height: auto;
    }
    
    .carousel-slide h3 {
        font-size: 14px;
        padding: 10px;
    }
    
    .custom-carousel {
        padding: 0 10px;
    }
}

/* Additional small screen adjustments */
@media (max-width: 480px) {
    .carousel-slide img {
        min-height: 160px;
        max-height: 250px;
        height: auto;
    }
    
    .carousel-slide h3 {
        font-size: 13px;
    }
}

/* Blog/News Page Styling */
.page-header {
    background: linear-gradient(135deg, #74c400 0%, #5fa000 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: white;
    margin-top: 20px;
}

.page-header h1 {
    font-family: 'Cairo', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 18px;
    margin: 0;
    color: white;
    opacity: 0.95;
    font-weight: 400;
}

.blog-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog-post {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-thumbnail {
    flex: 0 0 300px;
    position: relative;
    overflow: hidden;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-thumbnail:hover img {
    transform: scale(1.05);
}

.blog-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
}

.blog-sector {
    background: #74c400;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.blog-sector i {
    margin-left: 5px;
}

.blog-date {
    color: #666;
    font-weight: 500;
}

.blog-date i {
    margin-left: 5px;
    color: #74c400;
}

.blog-title {
    font-family: 'Cairo', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.4;
    direction: rtl;
}

.blog-excerpt {
    font-family: 'Cairo', sans-serif;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
    direction: rtl;
    text-align: justify;
}

.read-more-btn {
    background: #74c400;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-family: 'Cairo', sans-serif;
}

.read-more-btn:hover {
    background: #5fa000;
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(116, 196, 0, 0.3);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(-3px);
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 50px 0;
}

.pagination-btn {
    display: inline-block;
    padding: 12px 20px;
    margin: 0 5px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid #ddd;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: #74c400;
    color: white;
    border-color: #74c400;
    transform: translateY(-2px);
}

.pagination-btn i {
    margin-right: 5px;
}

/* Active navigation link */
nav a.active {
    color: #74c400 !important;
    font-weight: 700;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header p {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .blog-container {
        margin: 40px auto;
        padding: 0 15px;
    }
    
    .blog-post {
        flex-direction: column;
        margin-bottom: 30px;
    }
    
    .blog-thumbnail {
        flex: none;
        height: 250px;
    }
    
    .blog-content {
        padding: 25px 20px;
    }
    
    .blog-title {
        font-size: 20px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .pagination-btn {
        padding: 10px 15px;
        margin: 0 3px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 28px;
    }
    
    .blog-content {
        padding: 20px 15px;
    }
    
    .blog-title {
        font-size: 18px;
    }
    
    .blog-excerpt {
        font-size: 14px;
    }
    
    .read-more-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Single Article Page Styling */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    margin-top: 20px;
}

.breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb a {
    color: #74c400;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #666;
}

.breadcrumb .current {
    color: #333;
    font-weight: 600;
}

.single-article {
    background: white;
    margin: 40px 0;
    position: relative;
    z-index: 1;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
    font-size: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.article-sector {
    background: #74c400;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.article-date,
.article-author {
    color: #666;
    font-weight: 500;
}

.article-date i,
.article-author i {
    margin-left: 5px;
    color: #74c400;
}

.article-title {
    font-family: 'Cairo', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    line-height: 1.3;
    direction: rtl;
}

.article-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    direction: rtl;
    font-weight: 400;
}

.article-image {
    margin: 40px 0;
    text-align: center;
}

.article-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-caption {
    margin-top: 15px;
    padding: 0 20px;
}

.image-caption p {
    font-size: 14px;
    color: #666;
    font-style: italic;
    direction: rtl;
    margin: 0;
}

.article-body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.8;
    color: #333;
    direction: rtl;
    text-align: justify;
}

.article-body .lead-paragraph {
    font-size: 20px;
    font-weight: 500;
    color: #444;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #74c400;
    border-radius: 8px;
}

.article-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #74c400;
    display: inline-block;
}

.article-body p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.article-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.highlight-item {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid #74c400;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-item i {
    font-size: 40px;
    color: #74c400;
    margin-bottom: 15px;
}

.highlight-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #333;
}

.highlight-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.article-quote {
    background: linear-gradient(135deg, #74c400 0%, #5fa000 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
    font-size: 18px;
    font-style: italic;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(116, 196, 0, 0.3);
}

.article-quote cite {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
}

.article-quote::before {
    content: '"';
    font-size: 60px;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.article-statistics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-item {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid #f1f3f4;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #74c400;
    transform: translateY(-3px);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #74c400;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.article-footer {
    margin-top: 50px;
    margin-bottom: 30px;
    padding-top: 30px;
    padding-bottom: 20px;
    border-top: 2px solid #f1f3f4;
}

.article-tags {
    margin-bottom: 30px;
}

.article-tags h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.tag {
    display: inline-block;
    background: #f1f3f4;
    color: #666;
    padding: 6px 15px;
    border-radius: 20px;
    margin: 0 8px 8px 0;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #74c400;
    color: white;
}

.article-share h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-bottom: 20px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Related Articles */
.related-articles {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 50px;
}

.related-articles .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.related-articles h2 {
    font-family: 'Cairo', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.related-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-image {
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-item:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 25px;
}

.related-sector {
    background: #74c400;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.related-content h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    line-height: 1.4;
}

.related-content h3 a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.related-content h3 a:hover {
    color: #74c400;
}

.related-date {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.back-to-news {
    text-align: center;
    margin-top: 50px;
}

.back-btn {
    background: #74c400;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.back-btn:hover {
    background: #5fa000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(116, 196, 0, 0.3);
}

/* Responsive Design for Single Article */
@media (max-width: 768px) {
    .article-container {
        padding: 0 15px;
    }
    
    .article-header {
        padding: 30px 0;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-subtitle {
        font-size: 16px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .article-body .lead-paragraph {
        font-size: 18px;
        padding: 20px;
    }
    
    .article-body h2 {
        font-size: 24px;
    }
    
    .article-highlights {
        grid-template-columns: 1fr;
    }
    
    .article-statistics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 10px 0;
    }
    
    .breadcrumb .container {
        padding: 0 15px;
    }
    
    .breadcrumb .separator {
        margin: 0 5px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-body .lead-paragraph {
        font-size: 16px;
        padding: 15px;
    }
    
    .article-body h2 {
        font-size: 20px;
    }
    
    .article-statistics {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

/* English LTR Layout Styles */
.ltr-layout {
    direction: ltr;
}

.ltr-layout *:not(i):not(.fas):not(.fab):not(.far):not(.fal):not(.fad):not(.fass):not(.fasr):not(.fasl):not(.fat):not(.fa) {
    font-family: 'Inter', 'Arial', sans-serif !important;
}

.ltr-layout i.fas,
.ltr-layout i.fab,
.ltr-layout i.far,
.ltr-layout i.fal,
.ltr-layout i.fad,
.ltr-layout i.fass,
.ltr-layout i.fasr,
.ltr-layout i.fasl,
.ltr-layout i.fat,
.ltr-layout i.fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro" !important;
}

.ltr-layout .carousel-slide h3 {
    direction: ltr;
    text-align: center;
}

.ltr-layout .blog-title {
    direction: ltr;
    text-align: left;
}

.ltr-layout .blog-excerpt {
    direction: ltr;
    text-align: left;
}

.ltr-layout .article-title {
    direction: ltr;
    text-align: center;
}

.ltr-layout .article-subtitle {
    direction: ltr;
    text-align: center;
}

.ltr-layout .article-body {
    direction: ltr;
    text-align: left;
}

.ltr-layout .article-body .lead-paragraph {
    border-left: none;
    border-right: 4px solid #74c400;
}

.ltr-layout .image-caption p {
    direction: ltr;
    text-align: center;
}

/* Floating Language Switch Button */
.floating-lang-switch {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: #74c400;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 15px rgba(116, 196, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.floating-lang-switch:hover {
    background: #5fa000;
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(116, 196, 0, 0.6);
    color: white;
}

.floating-lang-switch:active {
    transform: scale(0.95);
}

/* Responsive positioning for mobile */
@media (max-width: 768px) {
    .floating-lang-switch {
        top: 15px;
        left: 15px;
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .floating-lang-switch {
        top: 10px;
        left: 10px;
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
}

/* LTR Navigation adjustments */
.ltr-layout .submenu-toggle i {
    transform: rotate(180deg);
}

.ltr-layout .breadcrumb {
    direction: ltr;
}

.ltr-layout .breadcrumb .separator i {
    transform: rotate(180deg);
}

/* LTR Read more button */
.ltr-layout .read-more-btn {
    flex-direction: row-reverse;
}

.ltr-layout .read-more-btn:hover {
    transform: translateX(5px);
}

.ltr-layout .read-more-btn:hover i {
    transform: translateX(3px);
}

/* LTR Back button */
.ltr-layout .back-btn {
    flex-direction: row-reverse;
}

.ltr-layout .back-btn:hover {
    transform: translateY(-2px);
}

/* LTR Pagination */
.ltr-layout .pagination-btn i {
    margin-left: 5px;
    margin-right: 0;
}

/* LTR Blog meta */
.ltr-layout .blog-sector i,
.ltr-layout .blog-date i,
.ltr-layout .article-sector i,
.ltr-layout .article-date i,
.ltr-layout .article-author i {
    margin-right: 5px;
    margin-left: 0;
}

/* LTR Related content */
.ltr-layout .related-content h3 {
    text-align: left;
    direction: ltr;
}

/* Login Page Styling */
.login-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #74c400 0%, #5fa000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cairo', sans-serif;
}

.login-page.ltr-layout {
    font-family: 'Inter', sans-serif;
}

/* Admin Panel Styles */
.admin-panel {
    background: #f8f9fa;
    min-height: 100vh;
    font-family: 'Cairo', sans-serif;
}

/* Admin Header */
.admin-header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.admin-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-logo img {
    width: 40px;
    height: 40px;
}

.admin-logo h1 {
    font-size: 1.5rem;
    color: #74c400;
    margin: 0;
    font-weight: 600;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #6c757d;
}

.logout-btn {
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logout-btn:hover {
    background: #c82333;
}

/* Admin Navigation */
.admin-nav {
    background: #343a40;
    padding: 0;
}

.admin-nav-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    list-style: none;
    margin: 0;
    overflow-x: auto;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.nav-item.active .nav-link {
    color: #74c400;
    border-bottom-color: #74c400;
}

/* Admin Main Content */
.admin-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h2 {
    font-size: 2rem;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.page-header p {
    color: #ffffff;
    margin: 0;
    font-size: 1.1rem;
}

/* Add User Section */
.add-user-section {
    margin-bottom: 2rem;
}

.add-user-btn {
    background: #74c400;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
}

.add-user-btn:hover {
    background: #5ba800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(116, 196, 0, 0.3);
}

/* Users Container */
.users-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* User Card */
.user-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.user-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.user-card-header {
    background: #f8f9fa;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.user-card-header h3 {
    margin: 0;
    color: #343a40;
    font-size: 1.3rem;
    font-weight: 600;
}

.user-actions {
    display: flex;
    gap: 0.5rem;
}

.update-btn, .delete-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Cairo', sans-serif;
}

.update-btn {
    background: #28a745;
    color: white;
}

.update-btn:hover {
    background: #218838;
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.delete-btn:hover {
    background: #c82333;
}

.update-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* User Form */
.user-form {
    padding: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.username-input, .password-input, .confirm-password-input {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.username-input:focus, .password-input:focus, .confirm-password-input:focus {
    outline: none;
    border-color: #74c400;
    box-shadow: 0 0 0 3px rgba(116, 196, 0, 0.1);
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-top: 0.5rem;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #74c400;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left: 4px solid #28a745;
    color: #155724;
}

.notification.error {
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.notification i {
    font-size: 1.2rem;
}

.notification.success i {
    color: #28a745;
}

.notification.error i {
    color: #dc3545;
}

/* Responsive Design for Admin Panel */
@media (max-width: 768px) {
    .admin-header-content {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .admin-nav-list {
        padding: 0 1rem;
        flex-wrap: wrap;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .admin-main {
        padding: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .user-card-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .user-actions {
        justify-content: center;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

/* News Management Styles */
.news-form-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* News List Management */
.news-list {
    padding: 1.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.news-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content {
    padding: 1rem;
}

.news-card-sector {
    display: inline-block;
    background: #74c400;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #343a40;
    margin: 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-title-en {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0.5rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    gap: 1rem;
    margin: 0.75rem 0;
    font-size: 0.85rem;
    color: #6c757d;
}

.news-card-meta i {
    margin-left: 0.25rem;
}

.news-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-edit {
    background: #0d6efd;
    color: white;
}

.btn-edit:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #bb2d3b;
    transform: translateY(-1px);
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1.1rem;
    margin: 0;
}

.error-message {
    padding: 1rem;
    background: #f8d7da;
    color: #721c24;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.loading-spinner {
    color: #6c757d;
}

.loading-spinner i {
    display: block;
    margin-bottom: 0.5rem;
}

/* Responsive Design for News List */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .news-card-image {
        height: 180px;
    }
    
    .news-card-actions {
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
    }
}

.form-section {
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    margin: 0;
    color: #343a40;
    font-size: 1.4rem;
    font-weight: 600;
}

.add-sector-btn {
    background: #74c400;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Cairo', sans-serif;
}

.add-sector-btn:hover {
    background: #5ba800;
    transform: translateY(-1px);
}

/* Sectors List */
.sectors-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sector-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.sector-item:hover {
    background: #e9ecef;
    transform: translateX(-2px);
}

.sector-name {
    font-weight: 500;
    color: #495057;
}

.sector-actions {
    display: flex;
    gap: 0.5rem;
}

.edit-sector-btn, .delete-sector-btn {
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.edit-sector-btn {
    background: #17a2b8;
    color: white;
}

.edit-sector-btn:hover {
    background: #138496;
}

.delete-sector-btn {
    background: #dc3545;
    color: white;
}

.delete-sector-btn:hover {
    background: #c82333;
}

/* Form Styles */
.news-form {
    background: transparent;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-textarea {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Cairo', sans-serif;
    resize: vertical;
    min-height: 100px;
}

.form-textarea:focus {
    outline: none;
    border-color: #74c400;
    box-shadow: 0 0 0 3px rgba(116, 196, 0, 0.1);
}

/* Custom Editor Styles */
.custom-editor-toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    flex-wrap: wrap;
}

.toolbar-btn {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    color: #495057;
}

.toolbar-btn:hover {
    background: #74c400;
    color: white;
    border-color: #74c400;
}

.toolbar-btn:active {
    transform: translateY(1px);
}

.toolbar-btn-h3 {
    transition: all 0.3s ease;
}

.toolbar-btn i {
    font-size: 0.9rem;
}

.toolbar-btn span {
    font-weight: 600;
    font-size: 0.75rem;
}

.toolbar-separator {
    width: 1px;
    height: 24px;
    background: #dee2e6;
    margin: 0 0.25rem;
}

.custom-editor {
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 0 0 6px 6px;
    background: white;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    outline: none;
    position: relative;
}

.custom-editor:focus {
    border-color: #74c400;
    box-shadow: 0 0 0 3px rgba(116, 196, 0, 0.1);
}

.custom-editor:empty:before {
    content: attr(data-placeholder);
    color: #6c757d;
    white-space: pre-line;
    pointer-events: none;
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
}

/* Editor Content Styling */
.custom-editor h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #343a40;
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #74c400;
}

.custom-editor h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #74c400;
    margin: 1.25rem 0 0.75rem 0;
}

.custom-editor p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
    color: #495057;
}

.custom-editor h2:first-child,
.custom-editor h3:first-child,
.custom-editor p:first-child {
    margin-top: 0;
}

.custom-editor h2:last-child,
.custom-editor h3:last-child,
.custom-editor p:last-child {
    margin-bottom: 0;
}

/* English Editor Direction */
#english-editor-panel .custom-editor {
    direction: ltr;
    text-align: left;
}

#english-editor-panel .custom-editor:empty:before {
    text-align: left;
    direction: ltr;
}

.form-input, .form-select {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #74c400;
    box-shadow: 0 0 0 3px rgba(116, 196, 0, 0.1);
}

.form-help {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Image Upload */
.image-upload-container {
    position: relative;
}

.image-upload-area {
    border: 2px dashed #e9ecef;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.image-upload-area:hover {
    border-color: #74c400;
    background: rgba(116, 196, 0, 0.05);
}

.image-upload-area.drag-over {
    border-color: #74c400;
    background: rgba(116, 196, 0, 0.1);
}

.upload-placeholder i {
    font-size: 3rem;
    color: #74c400;
    margin-bottom: 1rem;
}

.upload-placeholder p {
    font-size: 1.1rem;
    color: #495057;
    margin: 0 0 0.5rem 0;
}

.upload-placeholder small {
    color: #6c757d;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.image-preview {
    position: relative;
    display: inline-block;
}

.image-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.remove-image-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-image-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Editor Tabs */
.editor-tabs {
    display: flex;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: #495057;
    background: rgba(116, 196, 0, 0.05);
}

.tab-btn.active {
    color: #74c400;
    border-bottom-color: #74c400;
}

/* Editor Container */
.editor-container {
    position: relative;
}

.editor-panel {
    display: none;
}

.editor-panel.active {
    display: block;
}

.editor-panel label {
    display: block;
    font-weight: 500;
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.wysiwyg-editor {
    width: 100%;
    min-height: 400px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
}

.wysiwyg-editor:focus {
    outline: none;
    border-color: #74c400;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: #74c400;
    color: white;
}

.btn-primary:hover {
    background: #5ba800;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(116, 196, 0, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-outline {
    background: transparent;
    color: #74c400;
    border: 2px solid #74c400;
}

.btn-outline:hover {
    background: #74c400;
    color: white;
}

.btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-content.modal-large {
    max-width: 900px;
    max-height: 95vh;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    background: white;
}

.modal-header h3 {
    margin: 0;
    color: #343a40;
    font-size: 1.3rem;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #495057;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    max-height: calc(95vh - 140px);
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #74c400;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #5fa300;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-shrink: 0;
    background: white;
}

/* Responsive Design for News Management */
@media (max-width: 768px) {
    .form-section {
        padding: 1.5rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sectors-list {
        gap: 0.5rem;
    }
    
    .sector-item {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .image-upload-area {
        padding: 2rem 1rem;
    }
    
    .upload-placeholder i {
        font-size: 2rem;
    }
    
    .editor-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        text-align: center;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}

.login-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    z-index: 2;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(116, 196, 0, 0.3);
}

.login-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.login-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group label i {
    margin-left: 8px;
    color: #74c400;
    width: 16px;
}

.ltr-layout .form-group label i {
    margin-right: 8px;
    margin-left: 0;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #74c400;
    background: white;
    box-shadow: 0 0 0 3px rgba(116, 196, 0, 0.1);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.ltr-layout .toggle-password {
    right: 15px;
    left: auto;
}

.toggle-password:hover {
    color: #74c400;
}

.checkbox-group {
    margin-bottom: 30px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    margin-left: 10px;
    position: relative;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.ltr-layout .checkmark {
    margin-right: 10px;
    margin-left: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #74c400;
    border-color: #74c400;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #74c400 0%, #5fa000 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(116, 196, 0, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.error-message {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    color: #c33;
    font-size: 14px;
    margin-top: 20px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.back-home {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.back-home:hover {
    color: #74c400;
}

.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.bg-pattern {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Responsive Design for Login */
@media (max-width: 768px) {
    .login-container {
        max-width: 350px;
        padding: 15px;
    }
    
    .login-box {
        padding: 30px 25px;
    }
    
    .login-header h1 {
        font-size: 20px;
    }
    
    .login-header p {
        font-size: 14px;
    }
    
    .login-logo {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .login-container {
        max-width: 320px;
        padding: 10px;
    }
    
    .login-box {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .login-header h1 {
        font-size: 18px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="password"] {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .login-btn {
        padding: 14px;
        font-size: 15px;
    }
}

/* Jobs and Tenders Admin Styles */
.jobs-list,
.tenders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.job-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.job-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #74c400;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.job-header h4 {
    color: #343a40;
    font-size: 1.1rem;
    margin: 0;
}

.job-status {
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.job-status.active {
    background-color: #d4edda;
    color: #155724;
}

.job-status.expired {
    background-color: #f8d7da;
    color: #721c24;
}

.job-info {
    display: flex;
    gap: 1.5rem;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.job-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-actions {
    display: flex;
    gap: 0.75rem;
}

.edit-btn,
.delete-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.edit-btn {
    background-color: #007bff;
    color: white;
}

.edit-btn:hover {
    background-color: #0056b3;
}

.delete-btn {
    background-color: #dc3545;
    color: white;
}

.delete-btn:hover {
    background-color: #c82333;
}

.no-data {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.no-data i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

/* Front-end Opportunities Styles */
.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.opportunity-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.opportunity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #74c400;
}

.opportunity-card.expired {
    opacity: 0.7;
}

.opportunity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.opportunity-header h3 {
    color: #343a40;
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
}

.opportunity-status {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.opportunity-status.active {
    background-color: #d4edda;
    color: #155724;
}

.opportunity-status.expired {
    background-color: #f8d7da;
    color: #721c24;
}

.opportunity-info {
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.95rem;
}

.info-item i {
    color: #74c400;
}

.opportunity-action {
    margin-top: 1rem;
}

.btn-details {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #74c400;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-details:hover {
    background-color: #5fa300;
    transform: translateX(-4px);
}

.no-opportunities {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.no-opportunities i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

.no-opportunities p {
    font-size: 1.2rem;
}

/* Opportunity Details Page */
.opportunity-details {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.details-header {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.details-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 1rem;
}

.meta-item i {
    color: #74c400;
    font-size: 1.2rem;
}

.details-content {
    line-height: 1.8;
    color: #495057;
}

.details-content h2 {
    color: #343a40;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #74c400;
}

.details-content h3 {
    color: #495057;
    margin: 1.25rem 0 0.75rem;
}

.details-content p {
    margin-bottom: 1rem;
}

.details-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e9ecef;
}

/* Contact Form Styles */
.contact-container {
    max-width: 800px;
    margin: 2rem auto;
}

.contact-intro {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #74c400;
    margin-bottom: 2rem;
}

.contact-intro p {
    margin: 0;
    color: #495057;
    font-size: 1rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* About Us Content */
.about-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    line-height: 1.8;
}

.about-content h2 {
    color: #343a40;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #74c400;
}

.about-content h3 {
    color: #495057;
    margin: 1.25rem 0 0.75rem;
}

.about-content p {
    margin-bottom: 1rem;
    color: #495057;
}

/* Page Header Section */
.page-header-section {
    padding: 2rem 0;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 2rem;
}

.page-title {
    color: #343a40;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #74c400;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Email Display in Admin Contact */
.email-display {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.current-email {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.current-email i {
    color: #74c400;
    font-size: 1.5rem;
}

.current-email span {
    flex: 1;
    font-size: 1.1rem;
    color: #343a40;
}

.no-email {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.no-email i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #ffc107;
}

.info-box {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 1.5rem;
    color: #004085;
}

.info-box code {
    background: white;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
}

.info-box ul {
    margin-top: 1rem;
    padding-right: 1.5rem;
}

.info-box li {
    margin-bottom: 0.5rem;
}

/* Responsive Design for Opportunities */
@media (max-width: 768px) {
    .opportunities-grid {
        grid-template-columns: 1fr;
    }
    
    .opportunity-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .details-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-container {
        padding: 0 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .job-actions {
        flex-direction: column;
    }
    
    .current-email {
        flex-direction: column;
        align-items: flex-start;
    }
}