   :root {
            --maincolor: #1a5276;
            --secondcolor: #3498db;
            --thirdcolor: #2ecc71;
            --light-color: #f8f9fa;
            --dark-color: #2c3e50;
        }

        body {
            font-family: 'Tajawal', sans-serif;
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;


        }




        .section-title {
            position: relative;
            margin-bottom: 2rem;
            padding-bottom: 0.5rem;
            font-weight: 700;
            color: var(--maincolor);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background-color: var(--thirdcolor);
        }

        .card {
            border: none;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
            margin-bottom: 20px;
            /* height: 100%; */
        }

        .card:hover {
            transform: translateY(-5px);
        }
        .card-icon {
            font-size: 2.5rem;
            color: var(--secondcolor);
            margin-bottom: 1rem;
        }


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

        .feature-box:hover {
            transform: translateY(-5px);
        }

        .feature-icon {
            font-size: 2.5rem;
            color: var(--thirdcolor);
            margin-bottom: 1rem;
        }



        .btn-primary {
            background-color: var(--secondcolor);
            border-color: var(--secondcolor);
            padding: 10px 25px;
            border-radius: 5px;
            font-weight: 500;
        }

        .btn-primary:hover {
            background-color: var(--maincolor);
            border-color: var(--maincolor);
        }

        .btn-outline-light {
            border-radius: 30px;
            padding: 10px 25px;
            font-weight: 500;
        }

        .latest-issue {
            background-color: var(--light-color);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
        }

        .badge-custom {
            background-color: var(--thirdcolor);
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.8rem;
        }
/* صفحة المجلات */

        .page-header {
            background: linear-gradient(rgba(176, 196, 184, 0.9), rgba(90, 113, 104, 0.95)), url('https://images.unsplash.com/photo-1589998059171-988d887df646?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: black;
            padding: 40px 0 60px;
            text-align: center;
        }
        .journal-cover {
            height: 200px;
            background-size: cover;
            background-position: center;
            border-topleft:-radius: 10px;
            border-top-right-radius: 10px;
        }
        .journal-logo {
            width: 80px;
            height: 80px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: -40px auto 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            font-size: 2rem;
            color: var(--maincolor);
        }
        .filter-section {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }
        .stats-box {
            text-align: center;
            padding: 20px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            /* margin-bottom: 20px; */
        }
        .btn-outline-primary {
            border-radius: 30px;
            padding: 10px 25px;
            font-weight: 500;
        }

    .btn-group>.btn-group:not(:last-child)>.btn, .btn-group>.btn.dropdown-toggle-split:first-child, .btn-group>.btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
     /* border-topleft:-radius: 10px;
    border-bottomleft:-radius: 10px; */
}
.btn-group>.btn-group:not(:first-child)>.btn, .btn-group>.btn:nth-child(n+3), .btn-group>:not(.btn-check)+.btn {
    border-topleft:-radius: 0;
    border-bottomleft:-radius: 0;
}
        .pagination .page-link {
            color: var(--maincolor);
            border: none;
            padding: 10px 15px;
            margin: 0 5px;
            border-radius: 5px;
        }

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

        @media (max-width: 768px) {
            .page-header {
                padding: 60px 0 40px;
            }

            .page-header h1 {
                font-size: 2rem;
            }
        }
        .input-group .btn
        {


            margin-left: -1px;
    border-topleft:-radius: 0;
    border-bottomleft:-radius: 0;
        }
        .bg-main
        {
background-color: var(--maincolor);
        }
        .bg-third
        {
background-color: var(--thirdcolor);
        }
/* نهاية صفحة المجلات */
/* تصميم صفحة تفاصيل مجلة */

        .journal-header {
            background: linear-gradient(rgba(129, 148, 134, 0.9), rgba(101, 121, 107, 0.95)), url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 80px 0 60px;

        }

        .journal-logo {
            width: 120px;
            height: 120px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            font-size: 3rem;
            color: var(--maincolor);
        }



        .sidebar-widget {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }


        .issue-cover {
            height: 180px;
            background-size: cover;
            background-position: center;
            border-topleft:-radius: 10px;
            border-top-right-radius: 10px;
        }

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

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

        .editor-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 15px;
            border: 3px solid var(--secondcolor);
        }


        .nav-tabs .nav-link {
            color: var(--dark-color);
            border: none;
            padding: 12px 25px;
            font-weight: 500;
        }

        .nav-tabs .nav-link.active {
            color: var(--maincolor);
            background-color: transparent;
            border-bottom: 3px solid var(--maincolor);
        }

        .timeline {
            position: relative;
            padding: 20px 0;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 30px;
            top: 0;
            bottom: 0;
            width: 2px;
            background-color: #e9ecef;
        }

        .timeline-item {
            position: relative;
            margin-bottom: 30px;
            padding-left: 60px;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: 22px;
            top: 5px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background-color: var(--secondcolor);
            z-index: 1;
        }

        .metric-card {
            text-align: center;
            padding: 20px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 20px;
        }

        .metric-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--maincolor);
            margin-bottom: 0.5rem;
        }

        @media (max-width: 768px) {
            .journal-header {
                padding: 60px 0 40px;
            }

            .journal-header h1 {
                font-size: 2rem;
            }

            .timeline::before {
                left: 20px;
            }

            .timeline-item {
                padding-left: 40px;
            }
        }
        /* نهاية تصميم تفاصيل مجلة */
        /* تصميم صفحة تفاصيل العدد */
        .breadcrumb {
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 30px;
            padding: 10px 20px;
        }
        .breadcrumb-item a {
            color: white;
            text-decoration: none;
        }
        .breadcrumb-item.active {
            color: #e0e0e0;
        }
        .issue-cover {
            height: 400px;
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
.card-Journal{
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    padding: 10px;


}

.btn-outline-primary
{
   background-color: #fff;
       --bs-btn-color: var(--maincolor);
    --bs-btn-border-color: var(--maincolor);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--maincolor);
    --bs-btn-hover-border-color: var(--maincolor);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--maincolor);
    --bs-btn-active-border-color: var(--maincolor);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--maincolor);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--maincolor);
    --bs-gradient: none;
}

        .volume-badge {
            background-color: var(--maincolor);
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.8rem;
        }





        .article-item {
            padding: 20px;
            border-bottom: 1px solid #eee;
            transition: background-color 0.3s ease;
        }

        .article-item:hover {
            background-color: #f8f9fa;
        }

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

        .authors-list {
            color: #666;
            font-size: 0.9rem;
        }

        .download-badge {
            background-color: #f8f9fa;
            color: var(--maincolor);
            border: 1px solid #dee2e6;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.8rem;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .download-badge:hover {
            background-color: var(--maincolor);
            color: white;
        }




        .issue-navigation {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }
 .social-links  {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: var(--maincolor);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            margin-right: 10px;
            color: white;
            transition: all 0.3s ease;
        }

        .social-links:hover {
            background-color: var(--secondcolor);
            transform: translateY(-3px);
            color:white;
        }
        @media (max-width: 768px) {


            .issue-cover {
                height: 250px;
                margin-bottom: 20px;
            }
        }
        /* نهاية تصميم تفاصيل العدد */
        /* تصميم صفحة جميع الاصدارات التابعة لمجلة */

        .social-links a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: var(--maincolor);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            margin-right: 10px;
            color: white;
            transition: all 0.3s ease;
        }
        .social-links a:hover {
            background-color: var(--secondcolor);
            transform: translateY(-3px);
        }
        .year-section {
            margin-bottom: 3rem;
        }
        .year-title {
            border-bottom: 2px solid var(--secondcolor);
            padding-bottom: 10px;
            margin-bottom: 20px;
            color: var(--maincolor);
        }

        /* .pagination .page-link {
            color: var(--maincolor);
            border: none;
            padding: 10px 15px;
            margin: 0 5px;
            border-radius: 5px;
        }

        .pagination .page-item.active .page-link {
            background-color: var(--maincolor);
            border-color: var(--maincolor);
        } */
/* تصميم صفحة تفاصيل ورقة بحثية */
 .abstract-box {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 25px;
            margin-bottom: 30px;
            border-left: 4px solid var(--secondcolor);
        }

        .citation-box {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            font-family: monospace;
            font-size: 0.9rem;
        }

        .keyword-badge {
            background-color: #e9ecef;
            color: var(--dark-color);
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-right: 5px;
            margin-bottom: 5px;
            display: inline-block;
        }

        .figure-box {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .figure-img {
            max-width: 100%;
            border-radius: 5px;
            margin-bottom: 10px;
        }

        .reference-item {
            padding: 10px 0;
            border-bottom: 1px solid #eee;
        }

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

        .metric-badge {
            background-color: white;
            color: var(--maincolor);
            border: 1px solid #dee2e6;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-right: 5px;
        }
/* نهاية تصميم تفاصيل ورقة بحثية */
/* صفحة تصميم الاوراق البحثية التابعة لاصدار */

 .card-paper {

    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #fff;
        }
 .paper-border {
            border-right: 4px solid var(--secondcolor);

        }
         .read-more-btn {
            background: none;
            border: none;
            color: var(--secondcolor);
            cursor: pointer;
            padding: 0;
            margin-top: 10px;
            font-size: 0.9rem;
        }
 .paper-metrics {
            border-top: 1px solid #eee;
            padding-top: 15px;
            margin-top: 15px;
        }

        .abstract {
            position: relative;
            max-height: 120px;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .abstract.expanded {
            max-height: 1000px;
        }

        .abstract-fade {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 50px;
            background: linear-gradient(transparent, white);
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .abstract.expanded .abstract-fade {
            opacity: 0;
        }

        .read-more-btn {
            background: none;
            border: none;
            color: var(--secondcolor);
            cursor: pointer;
            padding: 0;
            margin-top: 10px;
            font-size: 0.9rem;
        }
        /* نهاية تصميم صفحة جميع اوراق العدد */
        /* تصميم صفحة جميع الاوراق البحثية */
      /* نهاية تصميم صفحة جميع الاوراق البحثية */
      /* تصميم صفحة تفاصيل المؤتمر */
       .conference-hero {
            background-color: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }

        .countdown-box {
            background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
            color: white;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            margin-bottom: 20px;
        }

        .countdown-number {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.2rem;
        }

        .countdown-label {
            font-size: 0.9rem;
            opacity: 0.9;
        }


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

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

        .speaker-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 15px;
            border: 3px solid var(--secondcolor);
        }

        .venue-map {
            height: 300px;
            background-color: #f8f9fa;
            border-radius: 10px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--maincolor);
            font-weight: 500;
        }

/* نهاية تصميم تفاصيل المؤتمر */
/* تصميم صفحة  المؤتمرات */
 .conference-card {
            border-right: 4px solid var(--secondcolor);
        }

        .upcoming-conference {
            border-right: 4px solid var(--thirdcolor);
        }



        .conference-date {
            background-color: var(--light-color);
            border-radius: 8px;
            padding: 10px 15px;
            text-align: center;
            margin-bottom: 15px;
        }

        .date-day {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--maincolor);
        }

        .date-month {
            font-size: 0.9rem;
            color: var(--dark-color);
        }



        .conference-type {
            position: absolute;
            top: 15px;
            right: 15px;
            background-color: var(--maincolor);
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.7rem;
        }
/* نهاية تصميم صفحة المؤتمرات */
/* تصميم صفحة ارسال بحث لمجله */
   .form-section {
            background-color: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }

        .author-item {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            position: relative;
            transition: all 0.3s ease;
        }

        .author-item:hover {
            background-color: #e9ecef;
        }

        .file-upload {
            border: 2px dashed #dee2e6;
            border-radius: 8px;
            padding: 30px;
            text-align: center;
            margin-bottom: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .file-upload:hover {
            border-color: var(--secondcolor);
            background-color: #f8f9fa;
        }

        .file-upload i {
            font-size: 3rem;
            color: var(--secondcolor);
            margin-bottom: 15px;
        }

        .journal-selector {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }

        .journal-option {
            border: 2px solid #e9ecef;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .journal-option:hover {
            border-color: var(--secondcolor);
            transform: translateY(-3px);
        }

        .journal-option.selected {
            border-color: var(--thirdcolor);
            background-color: #f0f9ff;
        }

        .process-step {
            text-align: center;
            padding: 20px;
            border-radius: 10px;
            background-color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
            height: 100%;
            transition: all 0.3s ease;
        }

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

        .step-number {
            width: 40px;
            height: 40px;
            background-color: var(--secondcolor);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            font-weight: 700;
        }

        .progress-container {
            position: relative;
            margin: 40px 0;
        }

        .progress-bar-custom {
            height: 8px;
            background-color: #e9ecef;
            border-radius: 10px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background-color: var(--thirdcolor);
            width: 25%;
            transition: width 0.5s ease;
        }

        .progress-steps {
            display: flex;
            justify-content: space-between;
            position: absolute;
            top: -10px;
            width: 100%;
        }

        .progress-step {
            width: 30px;
            height: 30px;
            background-color: #e9ecef;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: #6c757d;
            z-index: 1;
        }

        .progress-step.active {
            background-color: var(--thirdcolor);
            color: white;
        }

        .progress-step.completed {
            background-color: var(--secondcolor);
            color: white;
        }

        .form-step {
            display: none;
        }

        .form-step.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }

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

        .form-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
        }

        .form-actions {
            display: flex;
            gap: 10px;
        }

        .success-message {
            background-color: #d4edda;
            border: 1px solid #c3e6cb;
            color: #155724;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            display: none;
        }

        .file-preview {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin-top: 10px;
            display: none;
        }

        .file-preview-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
            border-bottom: 1px solid #dee2e6;
        }

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

        .file-info {
            display: flex;
            align-items: center;
        }

        .file-icon {
            margin-right: 10px;
            font-size: 1.5rem;
            color: var(--secondcolor);
        }

        .file-actions button {
            background: none;
            border: none;
            color: #dc3545;
            cursor: pointer;
        }

        .required-field::after {
            content: " *";
            color: #dc3545;
        }
                @media (max-width: 768px) {

            .form-navigation {
                flex-direction: column;
                gap: 15px;
            }

            .form-actions {
                width: 100%;
                justify-content: space-between;
            }
        }
/* نهاية تصميم ارسال بحث لمجله */
/* تصميم صفحة ابحاثي */
/* في ملف CSS الخاص */
.badge {
    font-size: 0.8em;
    padding: 0.4em 0.8em;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.btn-group .btn {
    margin: 0 2px;
}

.file-upload {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.file-upload:hover {
    border-color: var(--thirdcolor);
    background-color: rgba(13, 110, 253, 0.05);
}
/* نهاية تصميم صفحة ابحاثي */
/* تصميم صفحة التسجيل في مؤتمر */
 .registration-step {
            text-align: center;
            padding: 20px;
            border-radius: 10px;
            background-color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
            height: 100%;
        }
/* نهاية التسجيل في مؤتمر */

/* تصميم المجلات العالمية scopus */
/* المتغيرات */
:root {
    --success: #27ae60;
    --gray: #95a5a6;
    --border: #e1e8ed;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --fontcolor:
}

/* قسم الفلترة */
.filter-section {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

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

.search-input-wrapper {
    position: relative;
    max-width: 600px;
}

.search-input-wrapper i {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.2rem;
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 60px 10px 25px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 1.1rem;
    transition: var(--transition);

}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--secondcolor);
    background: white;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.search-results {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.filter-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.filter-select {
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: white;
    color: var(--dark-color);
    font-size: 1rem;
    cursor: pointer;
    min-width: 200px;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--secondcolor);
}

.status-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toggle-label {
    color: var(--dark-color);
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition);
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    right: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--success);
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

/* شبكة البطاقات */
.journals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.journal-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.journal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.badge-scopus {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondcolor), var(--thirdcolor));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.status-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 2;
}



.card-content {
    padding: 80px 30px 30px;
    position: relative;
}

.journal-icon {
    position: absolute;
    top: -30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondcolor), #2980b9);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.journal-title {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin: 0 0 25px 0;
    line-height: 1.4;
    font-weight: 700;
    min-height: 60px;
}

.journal-meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    transition: var(--transition);
}

.meta-item:hover {
    background: rgba(52, 152, 219, 0.05);
    transform: translateX(5px);
}

.meta-icon {
    width: 40px;
    height: 40px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondcolor);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.meta-content {
    flex: 1;
}

.meta-label {
    display: block;
    font-size: 0.9rem;
    color: black;
    margin-bottom: 4px;
    font-weight: 500;
}

.meta-value {
    display: block;
    font-size: 1rem;
    color: black;
    font-weight: 600;
    line-height: 1.3;
}

.card-footer {
    padding: 25px 30px;
    background: rgba(0, 0, 0, 0.01);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.visit-btn, .details-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.visit-btn {
    background: linear-gradient(135deg, var(--maincolor), var(--dark-color));
    color: white;
    text-decoration: none;
}

.visit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(44, 62, 80, 0.2);
    color:var(--light-color);
}

.details-btn {
    background: white;
    color: var(--dark-color);
    border: 2px solid var(--border);
}

.details-btn:hover {
    background: var(--light-color);
    border-color: var(--secondcolor);
    color: var(--secondcolor);
}

.corner-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.corner-line {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(52, 152, 219, 0.1) 50%);
    transform: rotate(45deg);
}

/* رسالة عدم وجود نتائج */
.no-results {
    text-align: center;
    padding: 80px 20px;
    display: none;
}

.no-results-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 30px;
}

.no-results h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.no-results p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* زر تحميل المزيد */
.load-more-container {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    padding: 20px 50px;
    background: white;
    border: 2px solid var(--secondcolor);
    color: var(--secondcolor);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    min-width: 300px;
    justify-content: center;
}

.load-more-btn:hover {
    background: var(--secondcolor);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.3);
}

.load-more-btn .loading-spinner {
    display: none;
}

/* النافذة المنبثقة */
.modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-container {
    background: white;
    border-radius: var(--radius);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--dark-color), var(--dark-color));
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

/* التجاوب */
@media (max-width: 1200px) {
    .journals-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width: 992px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .header-stats {
        min-width: 100%;
    }

    .filter-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .scopus-journals-section {
        padding: 40px 0;
    }

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

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

    .action-buttons {
        flex-direction: column;
    }

    .load-more-btn {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

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

    .icon-container {
        width: 50px;
        height: 50px;
        font-size: 20px;
        border-radius: 15px;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .filter-select {
        width: 100%;
    }
}
/* ================نهاية تصميم============== */

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    direction: rtl;
    padding-right: 35px;
}
.form-select {
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}
/* table */
 .table thead {
  background: #f6f6fe;
}

 .table thead th {
  border: 0;
}

 .dataTable-top {
  padding: 0 0 10px 0;
}

 .dataTable-bottom {
  padding: 10px 0 0 0;
}



 .table thead {
  background: #f6f6fe;
}

.table thead th {
  border: 0;
}

 .table tbody td {
  vertical-align: middle;
}
.dataTables_wrapper
{
 /* display: flex; */
}
.dataTables_wrapper .dataTables_filter label
{
flex-basis: 100%;
text-align: left !important;
margin:10px;
}
.dataTables_wrapper .dataTables_filter label input
{
width: 95% !important;
margin:5px;
}
 .dropdown-item.active, .dropdown-item:active {
    color: var(--maincolor);
    text-align: left;

}
.dataTables_wrapper .active>.page-link, .dataTables_wrapper .page-link.active {

    color: #fff;
    background-color: var(--maincolor);
    border-color: var(--maincolor);
}
.dataTables_wrapper .dropdown-item {


    text-align: left;
 color: black;

}
.dropdown-item.active
{
 background-color: var(--maincolor);
    color: white;
}
.modal-header .btn-close
{
    margin:0 !important;
}
/* قسم اتصل بنا */
/* ========== قسم التواصل – نسخة مضغوطة وعصرية ========== */
.contact-compact-section {
    position: relative;
    padding: 3rem 0;  /* تقليل padding */
    background: #fefef7;
    overflow: hidden;
    /* overflow-x: hidden; */
}
/* نفس العناصر الزخرفية لكن بحجم أقل */
.contact-bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#0a9421 1px, transparent 1px);
    background-size: 25px 25px;
    opacity: 0.03;
    pointer-events: none;
}
.contact-bg-blob-1, .contact-bg-blob-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    z-index: 0;
}
.contact-bg-blob-1 {
    width: 250px;
    height: 250px;
    background: #ccbf2e;
    top: -80px;
    right: -60px;
}
.contact-bg-blob-2 {
    width: 300px;
    height: 300px;
    background: #52be3c;
    bottom: -80px;
    left: -60px;
}

/* بطاقة النموذج */
.compact-form-card {
    background: white;
    border-radius: 32px;
    padding: 1.5rem;
    box-shadow: 0 15px 30px -12px rgba(0,0,0,0.05);
    border: 1px solid rgba(10,148,33,0.15);
    height: 100%;
    transition: 0.2s;
}
.compact-form-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 35px -12px rgba(10,148,33,0.15);
}
.card-header-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.2rem;
}
.card-header-mini i {
    font-size: 1.6rem;
    color: #0a9421;
    background: #eef5ee;
    padding: 8px;
    border-radius: 18px;
}
.card-header-mini h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: #1f3a1f;
}

/* حقول الإدخال */
.input-compact {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8faf8;
    border-radius: 10px;
    border: 1px solid #e2ece2;
    transition: 0.2s;
    padding: .3rem;
}
.input-compact:focus-within {
    border-color: #0a9421;
    box-shadow: 0 0 0 3px rgba(10,148,33,0.1);
    background: white;
}
.input-compact i {
    position: absolute;
    right: 15px;
    color: #0a9421;
    font-size: 1rem;
}
.input-compact input, .input-compact textarea {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    font-size: 0.85rem;
    color: #2b3b2b;
    outline: none;
}
.textarea-compact {
    align-items: flex-start;
    border-radius: 24px;
}
.textarea-compact i {
    top: 14px;
}
.textarea-compact textarea {
    padding-top: 0.6rem;
    resize: vertical;
    min-height: 80px;
}
.submit-compact-btn {
    background: linear-gradient(95deg, #0a9421, #52be3c);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}
.submit-compact-btn:hover {
    transform: translateY(-2px);
    gap: 10px;
    box-shadow: 0 6px 14px rgba(10,148,33,0.2);
}

.compact-map-info {
    background: white;
    border-radius: 32px;
    padding: 1.2rem;
    box-shadow: 0 15px 30px -12px rgba(0,0,0,0.05);
    border: 1px solid #eef3ee;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.compact-map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    line-height: 0;
}
.compact-map-wrapper iframe {
    width: 100%;
    display: block;
}
.compact-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}
.info-row i {
    width: 32px;
    height: 32px;
    background: #eff7ef;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0a9421;
    font-size: 1rem;
}
.info-row div {
    flex: 1;
}
.info-row span {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #8ba68b;
}
.info-row strong {
    font-size: 0.85rem;
    color: #1f3a1f;
}
.map-link-compact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.5rem;
    color: #0a9421;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
}
.map-link-compact:hover {
    color: #ccbf2e;
    gap: 10px;
}

/* التجاوب */
@media (max-width: 992px) {
    .contact-compact-section {
        padding: 2rem 0;
    }
    .compact-form-card, .compact-map-info {
        padding: 1rem;
    }
}
@media (max-width: 768px) {
    .card-header-mini h3 {
        font-size: 1.1rem;
    }
    .compact-map-wrapper iframe {
        height: 180px;
    }
}
/* about in index */
/* ========== هوية المركز ومديره – تصميم أنيق ========== */
.research-identity-section {
    padding: 4rem 0;
    background: linear-gradient(145deg, #fefef7 0%, #f9fdf7 100%);
}

/* البطاقة اليمنى */
.identity-card {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-radius: 48px;
    padding: 2rem;
    border: 1px solid rgba(10,148,33,0.15);
    box-shadow: 0 25px 40px -20px rgba(0,0,0,0.06);
    transition: all 0.3s;
    height: 100%;
}
.identity-card:hover {
    transform: translateY(-6px);
    background: white;
    border-color: rgba(82,190,60,0.3);
    box-shadow: 0 35px 50px -20px rgba(10,148,33,0.15);
}

.identity-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}
.identity-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #0a9421, #52be3c);
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.identity-icon i {
    font-size: 1.6rem;
    color: white;
}
.identity-badge {
    background: #edf7ed;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #0a9421;
}
.identity-title {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1b3a1b;
    letter-spacing: -0.3px;
}
.identity-text {
    color: #4a674a;
    line-height: 1.5;
    margin-bottom: 1.8rem;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.info-item {
    display: flex;
    gap: 14px;
    background: #fafefa;
    padding: 0.8rem 1rem;
    border-radius: 28px;
    transition: 0.2s;
}
.info-item:hover {
    background: #f0f8f0;
    transform: translateX(5px);
}
.info-item i {
    font-size: 1.4rem;
    color: #0a9421;
    min-width: 32px;
}
.info-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #1f3a1f;
}
.info-item p {
    font-size: 0.85rem;
    color: #4a604a;
    margin: 0;
}

.objectives-short {
    display: flex;
    gap: 12px;
    background: #fafefa;
    padding: 0.8rem 1rem;
    border-radius: 28px;
    margin-bottom: 1.8rem;
}
.objectives-short i {
    font-size: 1.4rem;
    color: #0a9421;
}
.objectives-short h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.objectives-short ul {
    margin: 0;
    padding-right: 1.2rem;
}
.objectives-short li {
    font-size: 0.8rem;
    color: #3a553a;
    margin-bottom: 0.2rem;
}
.more-link {
    font-size: 0.7rem;
    color: #0a9421;
    text-decoration: none;
}
.btn-about {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #0a9421;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: 0.2s;
    border-bottom: 1px dashed #0a9421;
}
.btn-about:hover {
    gap: 12px;
    color: #52be3c;
}

/* البطاقة اليسرى – المدير */
.director-card {
    background: white;
    border-radius: 48px;
    padding: 2rem;
    border: 1px solid rgba(204,191,46,0.25);
    box-shadow: 0 25px 40px -20px rgba(0,0,0,0.06);
    transition: all 0.3s;
    height: 100%;
    text-align: center;
    position: relative;
}
.director-card:hover {
    transform: translateY(-6px);
    border-color: #ccbf2e;
    box-shadow: 0 35px 50px -20px rgba(204,191,46,0.2);
}
.director-image-area {
    position: relative;
    width: 140px;
    margin: 0 auto 1rem;
}
.image-frame {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f7f0;
    border: 2px solid #ccbf2e;
    box-shadow: 0 15px 25px -10px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.director-card:hover .image-frame {
    transform: scale(1.02);
    border-color: #0a9421;
}
.director-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
        left: 0;
}
.director-img-placeholder {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #0a9421;
}
.glass-badge {
    position: absolute;
    bottom: 8px;
    left: 0;
    background: rgba(10,148,33,0.9);
    backdrop-filter: blur(4px);
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
}
.director-quote {
    background: #fefce8;
    padding: 1rem;
    border-radius: 36px;
    margin: 1rem 0;
    position: relative;
}
.director-quote i {
    position: absolute;
    top: -10px;
    right: 16px;
    font-size: 1.5rem;
    color: #ccbf2e;
    opacity: 0.7;
}
.director-quote p {
    margin: 0;
    font-style: italic;
    font-size: 1rem;
    color: #3e553e;
    /* line-height: 1.5; */
    text-align: justify;
}
.director-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f3a1f;
    margin-top: 0.5rem;
}
.director-title {
    font-size: 0.7rem;
    color: #8ba68b;
    letter-spacing: 1px;
    margin-bottom: 0.7rem;
}
.director-signature {
    margin: 0.5rem 0;
}
.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0a9421;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.8rem;
    transition: 0.2s;
}
.read-more-link:hover {
    gap: 10px;
    color: #ccbf2e;
}

/* تجاوب */
@media (max-width: 768px) {
    .research-identity-section { padding: 2rem 0; }
    .identity-title { font-size: 1.6rem; }
    .director-name { font-size: 1.3rem; }
    .director-image-area { width: 110px; }
}
/* ======================= */
/* about center page */
/* ========== Hero Section المتطور ========== */
.about-hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #0a3a0a 0%, #1c5e1c 100%);
    overflow: hidden;
    padding: 50px 0 60px;
    isolation: isolate;
}

/* خلفية الجسيمات (Canvas) */
.hero-canvas {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* دوائر ضبابية متحركة */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
    animation: floatBlob 20s infinite alternate ease-in-out;
}
.blob-1 {
    width: 400px;
    height: 400px;
    background: #ccbf2e;
    top: -150px;
    right: -100px;
}
.blob-2 {
    width: 500px;
    height: 500px;
    background: #52be3c;
    bottom: -200px;
    left: -150px;
    animation-delay: -5s;
}
.blob-3 {
    width: 300px;
    height: 300px;
    background: #ffffff;
    top: 40%;
    left: 10%;
    opacity: 0.15;
    animation-duration: 15s;
}
@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    padding: 0.4rem 1.2rem;
    border-radius: 60px;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
#typed-output {
    background: linear-gradient(135deg, #ffffff, #ccbf2e);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.hero-description {
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    color: #fff;
}

/* أيقونات عائمة */
.floating-icons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}
.float-icon {
    width: 55px;
    height: 55px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    transition: all 0.3s;
    animation: floatIcon 3s infinite alternate ease-in-out;
    animation-delay: calc(var(--i, 0) * 0.2s);
}
.float-icon:nth-child(1) { --i: 0; }
.float-icon:nth-child(2) { --i: 1; }
.float-icon:nth-child(3) { --i: 2; }
.float-icon:nth-child(4) { --i: 3; }
@keyframes floatIcon {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}
.float-icon:hover {
    background: #ccbf2e;
    transform: scale(1.1);
}

/* أزرار الإجراءات */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-explore, .btn-contact-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.7rem 1.8rem;
    border-radius: 60px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-explore {
    background: white;
    color: #0a9421;
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}
.btn-explore:hover {
    transform: translateY(-3px);
    gap: 12px;
    background: #ccbf2e;
    color: white;
}
.btn-contact-light {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-contact-light:hover {
    background: white;
    color: #0a9421;
    transform: translateY(-3px);
}

/* موجة سفلية متحركة */
.hero-wave-animated {
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}
.hero-wave-animated svg {
    width: 100%;
    height: auto;
    min-height: 60px;
    animation: wavePulse 3s infinite alternate;
}
@keyframes wavePulse {
    0% { transform: scaleY(1); opacity: 0.9; }
    100% { transform: scaleY(1.05); opacity: 1; }
}

/* التجاوب */
@media (max-width: 768px) {
    .about-hero-modern {
        min-height: auto;
        padding: 60px 0 80px;
    }
    .floating-icons {
        gap: 0.8rem;
    }
    .float-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    .hero-description {
        font-size: 1rem;
    }
}
/* ========== Hero Section مع خلفية صورة ========== */
.about-hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* تأثير parallax خفيف */
    overflow: hidden;
    padding: 100px 0 120px;
    isolation: isolate;
}

/* التراكب الداكن لضمان وضوح النص */
.hero-dark-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}

/* الجسيمات والدوائر الضبابية تكون فوق التراكب ولكن أسفل المحتوى */
.hero-canvas,
.hero-blob {
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3; /* المحتوى فوق كل شيء */
}


#hero-particles {
    opacity: 0.6;
}
/* ========== صفحة من نحن ========== */
/* Hero */

/* قسم الرؤية والرسالة والقيم */
.about-vmv {
    padding: 70px 0;
    background: #ffffff;
}
.vmv-card {
    background: #fefdf8;
    border-radius: 32px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
}
.vmv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -15px rgba(10,148,33,0.15);
}
.vmv-card i {
    font-size: 2.5rem;
    color: #0a9421;
    margin-bottom: 1rem;
}
.vmv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #1f3a1f;
}
/* قسم الأهداف */
.about-objectives {
    padding: 70px 0;
    background: #fafefa;
}
.obj-image img {
    border-radius: 48px;
    width: 100%;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}
.objectives-list-detailed {
    margin-top: 1.5rem;
}
.obj-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    background: white;
    padding: 0.8rem 1rem;
    border-radius: 60px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.obj-item i {
    color: #0a9421;
    font-size: 1.2rem;
}
/* بطاقة المدير المطورة */
.about-director {
    padding: 70px 0;
    background: #f5f8f2;
}
.director-card-premium {
    background: white;
    border-radius: 60px;
    padding: 2.5rem;
    box-shadow: 0 30px 40px -20px rgba(0,0,0,0.1);
}
.director-img-wrapper {
    position: relative;
    display: inline-block;
}
.director-img-premium {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ccbf2e;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.2);
    transition: 0.3s;
}
.director-img-premium:hover {
    transform: scale(1.02);
}
.img-glow-ring {
    position: absolute;
    top: -10px;
    right: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204,191,46,0.3), transparent 70%);
    animation: pulseRing 2s infinite;
    pointer-events: none;
}
@keyframes pulseRing {
    0% { opacity: 0.5; transform: scale(0.95); }
    70% { opacity: 0; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(0.95); }
}
.director-quote-area {
    position: relative;
    padding: 1rem 2rem;
}
.quote-large {
    font-size: 3rem;
    color: #ccbf2e;
    opacity: 0.3;
    position: absolute;
    top: -20px;
    right: -10px;
}
.director-message-full {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c492c;
    font-style: italic;
}
.director-name-full {
    font-size: 1.6rem;
    margin-top: 1rem;
    color: #1f3a1f;
}
/* الفريق */
.about-team {
    padding: 70px 0;
    background: #fff;
}
.team-card-modern {
    background: #fefdf8;
    border-radius: 32px;
    padding: 1.5rem;
    text-align: center;
    transition: 0.3s;
}
.team-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px -10px rgba(10,148,33,0.1);
}
.team-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}
.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* الفيديو */
.about-video {
    padding: 70px 0;
    background: #fafefa;
}
.video-wrapper-glow {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}
/* معلومات الاتصال والتأسيس */
.about-contact-details {
    padding: 70px 0;
    background: #ffffff;
}
.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.detail-card {
    background: #fafefa;
    border-radius: 28px;
    padding: 1.5rem;
    text-align: center;
    transition: 0.3s;
}
.detail-card i {
    font-size: 2rem;
    color: #0a9421;
    margin-bottom: 0.5rem;
}
.detail-card.full-width {
    grid-column: span 2;
}
@media (max-width: 768px) {
    .detail-card.full-width { grid-column: auto; }
    .director-img-premium { width: 200px; height: 200px; }
}
/* ================================ */
/* ===================================== */
/* الصفحة الرئيسية */
/* home */

/* الخدمات  */
/* ========== قسم الخدمات - Bootstrap Icons ========== */
.research-section {
    position: relative;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8faff 0%, #f0f4f0 100%);
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(10,148,33,0.05) 0%, rgba(82,190,60,0.02) 100%);
    border-radius: 50%;
    transform: rotate(15deg);
    z-index: 0;
    pointer-events: none;
}

.header-section {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2;
}

.header-section .title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1a2e1a;
    margin-bottom: 0.5rem;
}
.header-section .divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.2rem 0;
}
.header-section .divider-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondcolor), var(--maincolor), transparent);
}
.header-section .divider i {
    color: var(--thirdcolor);
    font-size: 1.2rem;
}
.header-section .description {
    max-width: 650px;
    margin: 0 auto;
    color: #4a5b4a;
    font-size: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(0px);
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 45px -15px rgba(10, 148, 33, 0.3);
    background: white;
}

.card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.card-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.service-card:hover .card-bg-img {
    transform: scale(1.08);
}
.card-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
    z-index: 1;
}
.card-icon-circle {
    position: absolute;
    bottom: 25px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
    z-index: 2;
    transition: all 0.3s;
}
.service-card:hover .card-icon-circle {
    background: var(--maincolor);
    transform: scale(1.05);
}
.card-icon-circle i {
    font-size: 1.6rem;
    color: var(--maincolor);
    transition: 0.3s;
}
.service-card:hover .card-icon-circle i {
    color: white;
}

.card-content {
    padding: 1.8rem 1.5rem 1.5rem;
}
.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #1f2a1f;
}
.card-text {
    color: #5a6e5a;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.card-footer-links {
    margin-top: auto;
}
.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--maincolor);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.25s;
}
.card-btn i {
    font-size: 1.2rem;
    transition: transform 0.2s;
}
.card-btn:hover {
    color: var(--secondcolor);
    gap: 12px;
    border-bottom-color: var(--thirdcolor);
}
.card-btn:hover i {
    transform: translateX(5px);
}

.card-shine {
    position: absolute;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: right 0.6s;
    pointer-events: none;
}
.service-card:hover .card-shine {
    right: 150%;
}

/* ألوان الأيقونات الافتراضية لكل بطاقة */
.service-card:nth-child(1) .card-icon-circle i { color: var(--maincolor); }
.service-card:nth-child(2) .card-icon-circle i { color: var(--secondcolor); }
.service-card:nth-child(3) .card-icon-circle i { color: var(--thirdcolor); }
.service-card:hover .card-icon-circle i { color: white; }

/* التجاوب */
@media (max-width: 768px) {
    .research-section {
        padding: 3rem 0;
    }
    .grid {
        gap: 1.5rem;
    }
    .card-image-wrapper {
        height: 180px;
    }
    .card-content {
        padding: 1.2rem 1.2rem 1.2rem;
    }
    .card-title {
        font-size: 1.2rem;
    }
}
@media (max-width: 480px) {
    .title {
        font-size: 1.7rem;
    }
    .divider .divider-line {
        width: 30px;
    }
}
/* ==============احدث الاصدارات==================== */
/* ========== أحدث الإصدارات ========== */
.latest-issues-section {
    position: relative;
    padding: 2rem 0;
    background: linear-gradient(145deg, #ffffff 0%, #f5f7f5 100%);
    overflow: hidden;
}

.issues-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(10,148,33,0.03) 2px, transparent 2px);
    background-size: 35px 35px;
    pointer-events: none;
}



/* شبكة البطاقات - Flip 3D */
.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    perspective: 1200px;
}

.issue-card {
    position: relative;
    height: 420px;
    cursor: pointer;
    transition: transform 0.3s;
}
.issue-card:hover {
    transform: translateY(-8px);
}

.issue-card-front,
.issue-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
}

.issue-card-front {
    background: #fff;
    transform: rotateY(0deg);
}
.issue-card:hover .issue-card-front {
    transform: rotateY(180deg);
}

.issue-card-back {
    background: linear-gradient(135deg, #ffffff, #f8fff8);
    transform: rotateY(180deg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.issue-card:hover .issue-card-back {
    transform: rotateY(0deg);
}

/* الجهة الأمامية (الصورة) */
.issue-cover-wrapper {
    position: relative;
    height: 100%;
}
.issue-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.issue-card:hover .issue-cover-img {
    transform: scale(1.05);
}
.issue-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
}
.issue-number-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-radius: 40px;
    padding: 0.3rem 1rem;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-weight: 700;
}
.badge-label {
    font-size: 0.7rem;
    color: var(--maincolor);
    text-transform: uppercase;
}
.badge-value {
    font-size: 1.2rem;
    color: #1a2e1a;
}

/* الجهة الخلفية (المحتوى) */
.issue-content {
    text-align: center;
}
.issue-journal-icon {
    width: 55px;
    height: 55px;
    background: var(--maincolor);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.6rem;
}
.issue-journal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2e1f;
    margin-bottom: 0.5rem;
}
.issue-title {
    font-size: 0.9rem;
    color: var(--maincolor);
    font-weight: 500;
    margin-bottom: 0.8rem;
}
.issue-description {
    font-size: 0.85rem;
    color: #5a6e5a;
    line-height: 1.45;
    margin-bottom: 1rem;
}
.issue-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.75rem;
    color: #7b8c7b;
}
.issue-meta i {
    margin-left: 4px;
    color: var(--secondcolor);
}
.issue-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--maincolor);
    font-weight: 600;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 40px;
    border: 1px solid var(--maincolor);
    transition: all 0.25s;
}
.issue-detail-link i {
    font-size: 1.2rem;
}
.issue-detail-link:hover {
    background: var(--maincolor);
    color: white;
    gap: 10px;
    border-color: transparent;
}
.issue-detail-link:hover i {
    transform: translateX(3px);
}

/* ========== التجاوب ========== */
@media (max-width: 992px) {
    .issues-grid {
        gap: 1.5rem;
    }
    .issue-card {
        height: 400px;
    }
}
@media (max-width: 768px) {
    .latest-issues-section {
        padding: 3rem 0;
    }
    .issue-card {
        height: 380px;
    }
    .issue-meta {
        flex-direction: column;
        gap: 0.3rem;
        align-items: center;
    }
}
@media (max-width: 576px) {
    .issue-card-front,
    .issue-card-back {
        border-radius: 20px;
    }
    .issue-journal-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}
/* ابحاث مميزة */
/* تعديل طفيف للبطاقات – نستعمل كلاس .research-highlight-card فقط لتمييز الأبحاث */
.research-highlight-card {
    transition: all 0.3s ease;
    border-radius: 24px;
    overflow: hidden;
    background: white;
}
.research-highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(10, 148, 33, 0.2) !important;
    border-bottom: 2px solid var(--maincolor);
}

/* إعادة استخدام كلاس .card-btn الموجود سابقاً – لا نحتاج لتعديله */
.card-btn i {
    transition: transform 0.2s;
}
.card-btn:hover i {
    transform: translateX(4px);
}
/* المؤتمرات القادمة */
/* ========== بطاقة المؤتمر الحديثة ========== */
.conference-card-modern {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(2px);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.conference-card-modern:hover {
    transform: translateY(-12px);
    background: white;
    box-shadow: 0 28px 38px -15px rgba(10, 148, 33, 0.25);
    border-color: rgba(82, 190, 60, 0.3);
}

/* حاوية الصورة */
.conf-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.conf-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.conference-card-modern:hover .conf-image {
    transform: scale(1.05);
}
.conf-date-badge-modern {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(6px);
    border-radius: 24px;
    padding: 0.3rem 0.9rem;
    display: flex;
    align-items: baseline;
    gap: 6px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    border-right: 3px solid var(--maincolor);
}
.conf-day-modern {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--maincolor);
    line-height: 1;
}
.conf-month-modern {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #2d4a2d;
}

/* المحتوى */
.conf-content {
    padding: 1.4rem 1.2rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.conf-title-modern {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #1f3a1f;
    line-height: 1.3;
}
.conf-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.7rem;
    color: #6f866f;
}
.conf-meta i {
    color: var(--secondcolor);
    margin-left: 4px;
}
.conf-location-modern, .conf-date-modern {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.conf-description-modern {
    font-size: 0.8rem;
    color: #4a604a;
    line-height: 1.45;
    margin-bottom: 1rem;
    flex: 1;
}
.conf-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.card-btn {
    background: transparent;
    color: var(--maincolor);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px dashed var(--maincolor);
    padding-bottom: 2px;
    transition: all 0.2s;
}
.card-btn i {
    transition: transform 0.2s;
}
.card-btn:hover {
    color: var(--secondcolor);
    gap: 10px;
    border-bottom-color: var(--secondcolor);
}
.card-btn:hover i {
    transform: translateX(4px);
}
.conf-country {
    background: rgba(10,148,33,0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 40px;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--maincolor);
}
.conf-country i {
    margin-left: 4px;
    font-size: 0.7rem;
}

/* ========== التجاوب ========== */
@media (max-width: 768px) {
    .conf-image-wrapper {
        height: 170px;
    }
    .conf-title-modern {
        font-size: 1rem;
    }
    .conf-meta {
        gap: 0.5rem;
    }
    .conf-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 576px) {
    .conference-card-modern {
        border-radius: 20px;
    }
    .conf-date-badge-modern {
        padding: 0.2rem 0.7rem;
    }
    .conf-day-modern {
        font-size: 1rem;
    }
}
/* قسم اتصل بنا */
/* ========== قسم التواصل – نسخة مضغوطة وعصرية ========== */
.contact-compact-section {
    position: relative;
    padding: 3rem 0;  /* تقليل padding */
    background: #fefef7;
    overflow: hidden;
    /* overflow-x: hidden; */
}
/* نفس العناصر الزخرفية لكن بحجم أقل */
.contact-bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#0a9421 1px, transparent 1px);
    background-size: 25px 25px;
    opacity: 0.03;
    pointer-events: none;
}
.contact-bg-blob-1, .contact-bg-blob-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    z-index: 0;
}
.contact-bg-blob-1 {
    width: 250px;
    height: 250px;
    background: #ccbf2e;
    top: -80px;
    right: -60px;
}
.contact-bg-blob-2 {
    width: 300px;
    height: 300px;
    background: #52be3c;
    bottom: -80px;
    left: -60px;
}

/* بطاقة النموذج */
.compact-form-card {
    background: white;
    border-radius: 32px;
    padding: 1.5rem;
    box-shadow: 0 15px 30px -12px rgba(0,0,0,0.05);
    border: 1px solid rgba(10,148,33,0.15);
    height: 100%;
    transition: 0.2s;
}
.compact-form-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 35px -12px rgba(10,148,33,0.15);
}
.card-header-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.2rem;
}
.card-header-mini i {
    font-size: 1.6rem;
    color: #0a9421;
    background: #eef5ee;
    padding: 8px;
    border-radius: 18px;
}
.card-header-mini h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: #1f3a1f;
}

/* حقول الإدخال */
.input-compact {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8faf8;
    border-radius: 10px;
    border: 1px solid #e2ece2;
    transition: 0.2s;
    padding: .3rem;
}
.input-compact:focus-within {
    border-color: #0a9421;
    box-shadow: 0 0 0 3px rgba(10,148,33,0.1);
    background: white;
}
.input-compact i {
    position: absolute;
    right: 15px;
    color: #0a9421;
    font-size: 1rem;
}
.input-compact input, .input-compact textarea {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    font-size: 0.85rem;
    color: #2b3b2b;
    outline: none;
}
.textarea-compact {
    align-items: flex-start;
    border-radius: 24px;
}
.textarea-compact i {
    top: 14px;
}
.textarea-compact textarea {
    padding-top: 0.6rem;
    resize: vertical;
    min-height: 80px;
}
.submit-compact-btn {
    background: linear-gradient(95deg, #0a9421, #52be3c);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}
.submit-compact-btn:hover {
    transform: translateY(-2px);
    gap: 10px;
    box-shadow: 0 6px 14px rgba(10,148,33,0.2);
}

.compact-map-info {
    background: white;
    border-radius: 32px;
    padding: 1.2rem;
    box-shadow: 0 15px 30px -12px rgba(0,0,0,0.05);
    border: 1px solid #eef3ee;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.compact-map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    line-height: 0;
}
.compact-map-wrapper iframe {
    width: 100%;
    display: block;
}
.compact-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}
.info-row i {
    width: 32px;
    height: 32px;
    background: #eff7ef;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0a9421;
    font-size: 1rem;
}
.info-row div {
    flex: 1;
}
.info-row span {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #8ba68b;
}
.info-row strong {
    font-size: 0.85rem;
    color: #1f3a1f;
}
.map-link-compact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.5rem;
    color: #0a9421;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
}
.map-link-compact:hover {
    color: #ccbf2e;
    gap: 10px;
}

/* التجاوب */
@media (max-width: 992px) {
    .contact-compact-section {
        padding: 2rem 0;
    }
    .compact-form-card, .compact-map-info {
        padding: 1rem;
    }
}
@media (max-width: 768px) {
    .card-header-mini h3 {
        font-size: 1.1rem;
    }
    .compact-map-wrapper iframe {
        height: 180px;
    }
}
/* about in index */
/* ========== هوية المركز ومديره – تصميم أنيق ========== */
.research-identity-section {
    padding: 4rem 0;
    background: linear-gradient(145deg, #fefef7 0%, #f9fdf7 100%);
}

/* البطاقة اليمنى */
.identity-card {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-radius: 48px;
    padding: 2rem;
    border: 1px solid rgba(10,148,33,0.15);
    box-shadow: 0 25px 40px -20px rgba(0,0,0,0.06);
    transition: all 0.3s;
    height: 100%;
}
.identity-card:hover {
    transform: translateY(-6px);
    background: white;
    border-color: rgba(82,190,60,0.3);
    box-shadow: 0 35px 50px -20px rgba(10,148,33,0.15);
}

.identity-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}
.identity-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #0a9421, #52be3c);
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.identity-icon i {
    font-size: 1.6rem;
    color: white;
}
.identity-badge {
    background: #edf7ed;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #0a9421;
}
.identity-title {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1b3a1b;
    letter-spacing: -0.3px;
}
.identity-text {
    color: #4a674a;
    line-height: 1.5;
    margin-bottom: 1.8rem;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.info-item {
    display: flex;
    gap: 14px;
    background: #fafefa;
    padding: 0.8rem 1rem;
    border-radius: 28px;
    transition: 0.2s;
}
.info-item:hover {
    background: #f0f8f0;
    transform: translateX(5px);
}
.info-item i {
    font-size: 1.4rem;
    color: #0a9421;
    min-width: 32px;
}
.info-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #1f3a1f;
}
.info-item p {
    font-size: 0.85rem;
    color: #4a604a;
    margin: 0;
}

.objectives-short {
    display: flex;
    gap: 12px;
    background: #fafefa;
    padding: 0.8rem 1rem;
    border-radius: 28px;
    margin-bottom: 1.8rem;
}
.objectives-short i {
    font-size: 1.4rem;
    color: #0a9421;
}
.objectives-short h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.objectives-short ul {
    margin: 0;
    padding-right: 1.2rem;
}
.objectives-short li {
    font-size: 0.8rem;
    color: #3a553a;
    margin-bottom: 0.2rem;
}
.more-link {
    font-size: 0.7rem;
    color: #0a9421;
    text-decoration: none;
}
.btn-about {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #0a9421;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: 0.2s;
    border-bottom: 1px dashed #0a9421;
}
.btn-about:hover {
    gap: 12px;
    color: #52be3c;
}

/* البطاقة اليسرى – المدير */
.director-card {
    background: white;
    border-radius: 48px;
    padding: 2rem;
    border: 1px solid rgba(204,191,46,0.25);
    box-shadow: 0 25px 40px -20px rgba(0,0,0,0.06);
    transition: all 0.3s;
    height: 100%;
    text-align: center;
    position: relative;
}
.director-card:hover {
    transform: translateY(-6px);
    border-color: #ccbf2e;
    box-shadow: 0 35px 50px -20px rgba(204,191,46,0.2);
}
.director-image-area {
    position: relative;
    width: 140px;
    margin: 0 auto 1rem;
}
.image-frame {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f7f0;
    border: 2px solid #ccbf2e;
    box-shadow: 0 15px 25px -10px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.director-card:hover .image-frame {
    transform: scale(1.02);
    border-color: #0a9421;
}
.director-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
        left: 0;
}
.director-img-placeholder {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #0a9421;
}
.glass-badge {
    position: absolute;
    bottom: 8px;
    left: 0;
    background: rgba(10,148,33,0.9);
    backdrop-filter: blur(4px);
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
}
.director-quote {
    background: #fefce8;
    padding: 1rem;
    border-radius: 36px;
    margin: 1rem 0;
    position: relative;
}
.director-quote i {
    position: absolute;
    top: -10px;
    right: 16px;
    font-size: 1.5rem;
    color: #ccbf2e;
    opacity: 0.7;
}
.director-quote p {
    margin: 0;
    font-style: italic;
    font-size: 1rem;
    color: #3e553e;
    /* line-height: 1.5; */
    text-align: justify;
}
.director-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f3a1f;
    margin-top: 0.5rem;
}
.director-title {
    font-size: 0.7rem;
    color: #8ba68b;
    letter-spacing: 1px;
    margin-bottom: 0.7rem;
}
.director-signature {
    margin: 0.5rem 0;
}
.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0a9421;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.8rem;
    transition: 0.2s;
}
.read-more-link:hover {
    gap: 10px;
    color: #ccbf2e;
}

/* تجاوب */
@media (max-width: 768px) {
    .research-identity-section { padding: 2rem 0; }
    .identity-title { font-size: 1.6rem; }
    .director-name { font-size: 1.3rem; }
    .director-image-area { width: 110px; }
}
/* ======================= */
/* about center page */
/* ========== Hero Section المتطور ========== */
.about-hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #0a3a0a 0%, #1c5e1c 100%);
    overflow: hidden;
    padding: 50px 0 60px;
    isolation: isolate;
}

/* خلفية الجسيمات (Canvas) */
.hero-canvas {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* دوائر ضبابية متحركة */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
    animation: floatBlob 20s infinite alternate ease-in-out;
}
.blob-1 {
    width: 400px;
    height: 400px;
    background: #ccbf2e;
    top: -150px;
    right: -100px;
}
.blob-2 {
    width: 500px;
    height: 500px;
    background: #52be3c;
    bottom: -200px;
    left: -150px;
    animation-delay: -5s;
}
.blob-3 {
    width: 300px;
    height: 300px;
    background: #ffffff;
    top: 40%;
    left: 10%;
    opacity: 0.15;
    animation-duration: 15s;
}
@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(1.5rem, 6vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
#typed-output {
    background: linear-gradient(135deg, #ffffff, #ccbf2e);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.hero-description {
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    color: #fff;
}

/* أيقونات عائمة */
.floating-icons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}
.float-icon {
    width: 55px;
    height: 55px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    transition: all 0.3s;
    animation: floatIcon 3s infinite alternate ease-in-out;
    animation-delay: calc(var(--i, 0) * 0.2s);
}
.float-icon:nth-child(1) { --i: 0; }
.float-icon:nth-child(2) { --i: 1; }
.float-icon:nth-child(3) { --i: 2; }
.float-icon:nth-child(4) { --i: 3; }
@keyframes floatIcon {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}
.float-icon:hover {
    background: #ccbf2e;
    transform: scale(1.1);
}

/* أزرار الإجراءات */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-explore, .btn-contact-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.7rem 1.8rem;
    border-radius: 60px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-explore {
    background: white;
    color: #0a9421;
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}
.btn-explore:hover {
    transform: translateY(-3px);
    gap: 12px;
    background: #ccbf2e;
    color: white;
}
.btn-contact-light {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-contact-light:hover {
    background: white;
    color: #0a9421;
    transform: translateY(-3px);
}

/* موجة سفلية متحركة */
.hero-wave-animated {
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}
.hero-wave-animated svg {
    width: 100%;
    height: auto;
    min-height: 60px;
    animation: wavePulse 3s infinite alternate;
}
@keyframes wavePulse {
    0% { transform: scaleY(1); opacity: 0.9; }
    100% { transform: scaleY(1.05); opacity: 1; }
}

/* التجاوب */
@media (max-width: 768px) {
    .about-hero-modern {
        min-height: auto;
        padding: 60px 0 80px;
    }
    .floating-icons {
        gap: 0.8rem;
    }
    .float-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    .hero-description {
        font-size: 1rem;
    }
}
/* ========== Hero Section مع خلفية صورة ========== */
.about-hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* تأثير parallax خفيف */
    overflow: hidden;
    padding: 100px 0 120px;
    isolation: isolate;
}

/* التراكب الداكن لضمان وضوح النص */
.hero-dark-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}

/* الجسيمات والدوائر الضبابية تكون فوق التراكب ولكن أسفل المحتوى */
.hero-canvas,
.hero-blob {
    z-index: 2;

}

.hero-container {
    position: relative;
    z-index: 3; /* المحتوى فوق كل شيء */
}


#hero-particles {
    opacity: 0.6;
}
/* ========== صفحة من نحن ========== */
/* Hero */

/* قسم الرؤية والرسالة والقيم */
.about-vmv {
    padding: 10px 0;
    background: #ffffff;
}
.vmv-card {
    background: #fefdf8;
    border-radius: 32px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
}
.vmv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -15px rgba(10,148,33,0.15);
}
.vmv-card i {
    font-size: 2.5rem;
    color: #0a9421;
    margin-bottom: 1rem;
}
.vmv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #1f3a1f;
}
/* قسم الأهداف */
.about-objectives {
    padding: 70px 0;
    background: #fafefa;
}
.obj-image img {
    border-radius: 48px;
    width: 100%;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}
.objectives-list-detailed {
    margin-top: 1.5rem;
}
.obj-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    background: white;
    padding: 0.8rem 1rem;
    border-radius: 60px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.obj-item i {
    color: #0a9421;
    font-size: 1.2rem;
}
/* بطاقة المدير المطورة */
.about-director {
    padding: 10px 0;
    background: #f5f8f2;
}
.director-card-premium {
    background: white;
    border-radius: 60px;
    padding: 2.5rem;
    box-shadow: 0 30px 40px -20px rgba(0,0,0,0.1);
}
.director-img-wrapper {
    position: relative;
    display: inline-block;
}
.director-img-premium {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ccbf2e;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.2);
    transition: 0.3s;
}
.director-img-premium:hover {
    transform: scale(1.02);
}
.img-glow-ring {
    position: absolute;
    top: -10px;
    right: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204,191,46,0.3), transparent 70%);
    animation: pulseRing 2s infinite;
    pointer-events: none;
}
@keyframes pulseRing {
    0% { opacity: 0.5; transform: scale(0.95); }
    70% { opacity: 0; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(0.95); }
}
.director-quote-area {
    position: relative;
    padding: 1rem 2rem;
}
.quote-large {
    font-size: 3rem;
    color: #ccbf2e;
    opacity: 0.3;
    position: absolute;
    top: -20px;
    right: -10px;
}



/* الفيديو */
.about-video {
    padding: 70px 0;
    background: #fafefa;
}
.video-wrapper-glow {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}
/* معلومات الاتصال والتأسيس */
/* ========== معلومات الاتصال والتأسيس ========== */
.about-contact-details {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8faf8 100%);
    position: relative;
    overflow: hidden;
}

.about-contact-details::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(10,148,33,0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* شبكة البطاقات المحسنة */
.contact-details-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    position: relative;
    z-index: 2;
}

.detail-card-enhanced {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(2px);
    border-radius: 32px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(10, 148, 33, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.05);
}

.detail-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--maincolor), var(--thirdcolor), var(--secondcolor));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: right;
}

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

.detail-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -12px rgba(10, 148, 33, 0.15);
    border-color: rgba(82, 190, 60, 0.3);
    background: white;
}

/* أيقونات مع تدرج */
.card-icon-gradient {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 18px -8px rgba(10, 148, 33, 0.25);
    transition: 0.3s;
}

.detail-card-enhanced:hover .card-icon-gradient {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 16px 22px -10px rgba(10, 148, 33, 0.35);
}

.card-icon-gradient i {
    font-size: 2.2rem;
    color: white;
}

.card-icon-gradient.large {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.card-icon-gradient.large i {
    font-size: 2.5rem;
}

/* عناوين وقيم */
.detail-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #2c4a2c;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f3a1f;
    word-break: break-word;
    margin-bottom: 0.5rem;
}

.detail-value-large {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--maincolor);
    margin-bottom: 0.3rem;
}

.detail-subtitle {
    font-size: 0.75rem;
    color: #6f8f6f;
    text-transform: uppercase;
}

/* شريط احصائيات في بطاقة التأسيس */
.card-stats-ribbon {
    position: absolute;
    top: 15px;
    left: -25px;
    background: linear-gradient(135deg, var(--thirdcolor), #e6d93b);
    color: #1f3a1f;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 1.8rem;
    transform: rotate(45deg);
    width: 100px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* روابط الإجراءات */
.detail-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(10, 148, 33, 0.08);
    border-radius: 40px;
    color: var(--maincolor);
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.detail-action-link:hover {
    background: var(--maincolor);
    color: white;
    gap: 10px;
}

.detail-action-link:hover i {
    transform: translateX(3px);
}

/* بطاقة العنوان (عرض كامل) */
.address-card.full-width-card {
    grid-column: span 2;
}

.address-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: right;
    flex-wrap: wrap;
}

.address-text {
    flex: 1;
}

.address-text p {
    font-size: 1rem;
    color: #2c4a2c;
    margin: 0;
    line-height: 1.5;
}

.map-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid var(--maincolor);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    color: var(--maincolor);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.25s;
    white-space: nowrap;
}

.map-action-btn:hover {
    background: var(--maincolor);
    color: white;
    gap: 12px;
    border-color: transparent;
}

/* ========== التجاوب ========== */
@media (max-width: 992px) {
    .contact-details-enhanced {
        gap: 1.2rem;
    }
    .address-card.full-width-card {
        grid-column: span 1;
    }
    .address-content {
        flex-direction: column;
        text-align: center;
    }
    .address-text {
        text-align: center;
    }
    .card-stats-ribbon {
        transform: rotate(35deg);
        left: -30px;
    }
}

@media (max-width: 576px) {
    .about-contact-details {
        padding: 50px 0;
    }
    .detail-card-enhanced {
        padding: 1.2rem;
    }
    .card-icon-gradient {
        width: 55px;
        height: 55px;
    }
    .card-icon-gradient i {
        font-size: 1.6rem;
    }
    .detail-value-large {
        font-size: 1.2rem;
    }
    .card-stats-ribbon {
        font-size: 0.6rem;
        left: -35px;
        top: 12px;
    }
}
/* ========== قسم نائب المدير ========== */
.about-deputy {
    padding: 70px 0;
    background: linear-gradient(145deg, #fefdf8 0%, #f9fff9 100%);
    position: relative;
}
.section-subtitle {
    font-size: 1rem;
    color: #5a785a;
    max-width: 700px;
    margin: 0 auto;
}
.deputy-card {
    background: rgba(255,255,255,0.96);
    border-radius: 56px;
    padding: 2rem;
    box-shadow: 0 30px 45px -15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(10, 148, 33, 0.2);
    transition: all 0.3s ease;
}
.deputy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 55px -18px rgba(10, 148, 33, 0.2);
    border-color: rgba(204, 191, 46, 0.4);
}
.deputy-img-wrapper {
    position: relative;
    display: inline-block;
}
.deputy-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ccbf2e;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
    transition: 0.3s;
}
.deputy-img:hover {
    transform: scale(1.02);
    border-color: #0a9421;
}
.deputy-img-placeholder {
    width: 250px;
    height: 250px;
    background: #eef5ee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #0a9421;
    border: 2px dashed #ccbf2e;
}
.img-ring-glow {
    position: absolute;
    top: -10px;
    right: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204,191,46,0.25), transparent 70%);
    animation: softPulse 2.5s infinite;
    pointer-events: none;
}
@keyframes softPulse {
    0% { opacity: 0.3; transform: scale(0.95); }
    70% { opacity: 0; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(0.95); }
}
.deputy-content {
    position: relative;
    padding: 1rem;
}
.quote-icon {
    font-size: 2.5rem;
    color: #ccbf2e;
    opacity: 0.4;
    position: absolute;
    top: -10px;
    right: -5px;
}
.deputy-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f3a1f;
    margin-bottom: 0.75rem;
}
.deputy-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #3e5a3e;
    margin-bottom: 1.5rem;
}
.deputy-signature {
    border-top: 2px dashed #ccbf2e;
    padding-top: 0.8rem;
    display: inline-block;
}
.deputy-signature span {
    font-size: 0.8rem;
    color: #0a9421;
    font-weight: 500;
}
@media (max-width: 768px) {
    .deputy-img, .deputy-img-placeholder {
        width: 200px;
        height: 200px;
    }
    .deputy-name {
        font-size: 1.4rem;
    }
    .deputy-card {
        padding: 1.2rem;
    }
}
p{
    text-align: justify;
}
/* ===========نهاية الصفحة الرئيسية=================== */
/* ===============home================ */
