:root {
      --primary-color: #2a6d39;
      --secondary-color: #4caf50;
      --accent-color: #8bc34a;
      --light-color: #f8f9fa;
      --dark-color: #1e3c26;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Cairo', sans-serif;
      background-color: #f8f9fa;
      color: #333;
      line-height: 1.7;

    }

    .navbar {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
      background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
      padding: 0.5rem 0;
      transition: all 0.3s ease;
    }

    .navbar-brand img {
      height: 80px;
      transition: all 0.3s ease;
    }

    .nav-link {
      color: white !important;
      font-weight: 600;
      padding: 0.8rem 1.2rem !important;
       transition: all 0.3s ease;

      position: relative;
    }

    .nav-link:hover, .nav-link.active {
      color: #ffd700 !important;
    }

    .nav-link:after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 0;
      height: 3px;
      background: #ffd700;
      transition: all 0.3s ease;
    }

    .nav-link:hover:after, .nav-link.active:after {
      width: 100%;
      left: 0;
    }
     .dropdown-menu {
      background-color: rgba(42, 109, 57, 0.95);
      border: none;
      border-radius: 8px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      padding: 0.5rem;
    }

    .dropdown-item {
      color: white !important;
      padding: 0.7rem 1.2rem;
      border-radius: 5px;
      transition: all 0.2s ease;
      font-weight: 500;
    }

    .dropdown-item:hover {
      background-color: rgba(255, 255, 255, 0.15);
      color: #ffd700 !important;
    }

    .page-header {
      background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                  url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1473&q=80') center/cover no-repeat;
      height: 300px;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      margin-bottom: 3rem;
    }

    .page-header h1 {
      font-size: 2.8rem;
      font-weight: 800;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }

    .page-content {
      min-height: 60vh;
      padding: 2rem 0;
     margin: 5rem;
    }

    .contact-section {
      background-color: white;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      padding: 2.5rem;
      margin-bottom: 3rem;
    }

    .contact-info {
      margin-bottom: 2rem;
    }

    .contact-info .icon {
      width: 60px;
      height: 60px;
      background: var(--accent-color);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      color: white;
      margin-bottom: 1rem;
    }

    .contact-form .form-control {
      border-radius: 8px;
      padding: 0.8rem 1rem;
      border: 1px solid #ddd;
      margin-bottom: 1.2rem;
    }

    .contact-form .form-control:focus {
      border-color: var(--accent-color);
      box-shadow: 0 0 0 0.25rem rgba(139, 195, 74, 0.25);
    }

    .map-container {
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      height: 400px;
    }

    .about-section {
      background-color: white;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      padding: 2.5rem;
      margin-bottom: 3rem;
    }

    .mission-vision {
      background: linear-gradient(rgba(42, 109, 57, 0.05), rgba(42, 109, 57, 0.05));
      border-radius: 15px;
      padding: 2rem;
      margin: 2rem 0;
    }

    .team-member {
      text-align: center;
      margin-bottom: 2rem;
    }

    .team-member img {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      object-fit: cover;
      border: 5px solid var(--accent-color);
      margin-bottom: 1rem;
    }

    .reports-section {
      background-color: white;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      padding: 2.5rem;
      margin-bottom: 3rem;
    }

    .report-card {
      border: 1px solid #eee;
      border-radius: 10px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      transition: all 0.3s ease;
    }

    .report-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      border-color: var(--accent-color);
    }

    .report-card .icon {
      font-size: 2.5rem;
      color: var(--primary-color);
      margin-bottom: 1rem;
    }

    .report-card .btn {
      background: var(--primary-color);
      border: none;
    }

    .report-card .btn:hover {
      background: var(--dark-color);
    }

    .search-box {
      position: relative;
      margin-bottom: 2rem;
    }

    .search-box input {
      padding-right: 50px;
      border-radius: 50px;
    }

    .search-box .btn {
      position: absolute;
      left: 5px;
      top: 5px;
      border-radius: 50px;
      background: var(--primary-color);
      color: white;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    footer {
      background: linear-gradient(to right, var(--dark-color), var(--primary-color));
      color: white;
      padding: 3rem 0 2rem;
      margin-top: 3rem;
    }

    .footer-title {
      position: relative;
      padding-bottom: 1rem;
      margin-bottom: 1.5rem;
      font-weight: 700;
    }

    .footer-title:after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 50px;
      height: 3px;
      background: var(--accent-color);
    }
    .footer-content {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }
    .footer-content .col {
      flex: 1;
      min-width: 250px;
      margin-bottom: 1.5rem;
    }

    .footer-content .col h5 {
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .footer-content .col ul {
      list-style: none;
      padding: 0;
    }

    .footer-content .col ul li {
      margin-bottom: 0.5rem;
    }

    .footer-content .col ul li a {
      color: white;
      text-decoration: none;
      transition: color 0.3s ease;
    }


    .footer-links a {
       display: block;
      color: white;
      text-decoration: none;
      transition: color 0.3s ease;
      padding: 0.5rem 0;
      text-decoration: none;
    }

    .footer-links a:hover {
      color: var(--accent-color);
      padding-right: 10px;
    }

    .footer-links i {
      margin-right: 0.5rem;
    }

    .footer-links a:hover i {
      color: var(--accent-color);
    }
    .footer-content .col ul li a:hover {
      color: var(--accent-color);
    }
    .social-icons a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      color: white;
      margin-left: 0.5rem;
      transition: all 0.3s ease;
    }

    .social-icons a:hover {
      background: var(--accent-color);
      transform: translateY(-5px);
    }

    .copyright {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 1.5rem;
      margin-top: 2rem;
      text-align: center;
      color: #aaa;
      font-size: 0.9rem;
    }

    .page-tabs {
      margin-bottom: 2rem;
      border-bottom: 1px solid #eee;
    }

    .page-tabs .nav-link {
      color: #555 !important;
      border: none;
      border-radius: 0;
      padding: 1rem 2rem !important;
      font-weight: 600;
    }

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

    .tab-content {
      padding: 2rem 0;
    }

    .btn-primary {
      background: var(--primary-color);
      border: none;
      padding: 0.8rem 1.5rem;
      border-radius: 50px;
      font-weight: 600;
      transition: all 0.3s ease;
    }
    .bg-primary {
      background-color: var(--primary-color) !important;
    }
    .btn-primary:hover {
      background: var(--dark-color);
    }


    /* تأثيرات للجوال */
    @media (max-width: 768px) {
        .page-content {
        margin: 1rem;
      }

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

      .contact-section, .about-section, .reports-section {
        padding: 1.5rem;
      }

      .map-container {
        height: 300px;
      }
    }


    /* الصفحة الرئيسية */
    .home-page .banner {
      background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                  url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1473&q=80') center/cover no-repeat;
      height: 70vh;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      position: relative;
      overflow: hidden;
      margin-bottom: 3rem;
    }

.banner {
      background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                  url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1473&q=80') center/cover no-repeat;
      height: 70vh;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      position: relative;
      overflow: hidden;
    }


    .banner:before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232a6d39' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
      opacity: 0.2;
    }
    .banner-content {
      max-width: 950px;

      z-index: 2;
    }



    .home-page .banner h1 {
      font-size: 3.5rem;
      font-weight: 800;
      margin-bottom: 1.5rem;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
      line-height: 1.3;
    }

    .home-page .banner p {
      font-size: 1.5rem;
      margin-bottom: 2rem;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    }

    .home-page .section-title {
      position: relative;
      margin-bottom: 3rem;
      text-align: center;
    }

    .home-page .section-title h2 {
      font-weight: 700;
      color: var(--dark-color);
      position: relative;
      display: inline-block;
      padding-bottom: 1rem;
    }

    .home-page .section-title h2:after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 50%;
      transform: translateX(50%);
      width: 80px;
      height: 4px;
      background: var(--accent-color);
      border-radius: 2px;
    }

    .home-page .news-card {
      background: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      transition: all 0.4s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .home-page .news-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .home-page .news-card img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      transition: all 0.4s ease;
    }

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

    .home-page .news-card-body {
      padding: 1.5rem;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }

    .home-page .news-card .badge {
      align-self: flex-start;
      margin-bottom: 1rem;
      background: var(--accent-color);
      font-weight: 500;
      padding: 0.5rem 1rem;
    }

    .home-page .news-card h5 {
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--dark-color);
      flex-grow: 1;
    }

    .home-page .stats-section {
      background: linear-gradient(rgba(42, 109, 57, 0.9), rgba(42, 109, 57, 0.9)),
                  url('https://images.unsplash.com/photo-1492496913980-501348b61469?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80') center/cover no-repeat;
      color: white;
      padding: 4rem 0;
      margin: 3rem 0;
    }

    .home-page .stat-item {
      text-align: center;
      padding: 1.5rem;
    }

    .home-page .stat-item i {
      font-size: 3rem;
      margin-bottom: 1rem;
      color: #ffd700;
    }

    .home-page .stat-item .number {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .home-page .stat-item .label {
      font-size: 1.2rem;
      font-weight: 500;
    }

    .home-page .services-section {
      background-color: #f8f9fa;
      padding: 4rem 0;
    }

    .home-page .service-card {
      background: white;
      border-radius: 12px;
      padding: 2rem;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      height: 100%;
    }

    .home-page .service-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }

    .home-page .service-card i {
      font-size: 3.5rem;
      color: var(--primary-color);
      margin-bottom: 1.5rem;
    }

    .home-page .service-card h4 {
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--dark-color);
    }

    .home-page .partners-section {
      background: white;
      padding: 4rem 0;
    }

    .home-page .partner-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 120px;
      padding: 1.5rem;
      border: 1px solid #eee;
      border-radius: 8px;
      transition: all 0.3s ease;
    }

    .home-page .partner-logo:hover {
      transform: translateY(-5px);
      border-color: var(--accent-color);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .home-page .partner-logo img {
      max-width: 100%;
      max-height: 80px;
      filter: grayscale(100%);
      transition: all 0.3s ease;
    }

    .home-page .partner-logo:hover img {
      filter: grayscale(0%);
    }

    .title-inner {
      font-size: 2rem; /* حجم الخط */
      color: var(--primary-color); /* لون الخط */
      font-weight: bold; /* يجعل الخط تخين */
      text-decoration: underline; /* يضيف خط تحت النص */
      text-decoration-thickness: 3px; /* يحدد سماكة الخط */
      text-underline-offset: 4px; /* يبعد الخط قليلاً عن النص */
      margin-bottom: 10px; /* مسافة تحت النص */
    }
    .title-inner2 {
      font-size: 2rem; /* حجم الخط */
      color: var(--primary-color); /* لون الخط */
      font-weight: bold; /* يجعل الخط تخين */
      text-decoration: underline; /* يضيف خط تحت النص */
      text-decoration-thickness: 3px; /* يحدد سماكة الخط */
      text-underline-offset: 4px; /* يبعد الخط قليلاً عن النص */
        text-align: center; /* يوسّط النص */
         margin-bottom: 10px; /* مسافة تحت النص */
    }
    .title {
      text-align: center;
      margin-bottom: 2rem;
    }

/* Responsive Styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .home-page .banner h1 {
        font-size: 3rem;
    }
    .home-page .banner p {
        font-size: 1.3rem;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
     .page-content {
        margin: 1rem;
        padding: 1rem 0;
}}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 70px;
    }
    .nav-link {
        padding: 0.8rem 1rem !important;
    }
    .home-page .banner {
        height: 70vh;
    }
    .home-page .banner h1 {
        font-size: 2.5rem;
    }
    .home-page .banner p {
        font-size: 1.2rem;
    }
    .home-page .stat-item .number {
        font-size: 2.5rem;
    }
    .home-page .stat-item .label {
        font-size: 1rem;
    }
    .footer-content {
        justify-content: center;
        text-align: center;
    }
    .footer-title:after {
        right: 50%;
        transform: translateX(50%);
    }
    .page-tabs .nav-link {
        padding: 1rem 1.5rem !important;
    }
     .page-content {
        margin: 1rem;
        padding: 1rem 0;
}}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .navbar-brand img {
        height: 60px;
    }
    .home-page .banner {
        height: 60vh;
        margin-bottom: 2rem;
    }
    .home-page .banner h1 {
        font-size: 2rem;
    }
    .home-page .banner p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .home-page .section-title {
        margin-bottom: 2rem;
    }
    .home-page .stats-section {
        padding: 2rem 0;
        margin: 3rem 0;
    }
    .home-page .stat-item {
        padding: 1rem;
    }
    .home-page .service-card {
        padding: 1.5rem;
    }
    .home-page .partners-section {
        padding: 3rem 0;
    }
    .home-page .partner-logo {
        height: 100px;
        padding: 1rem;
    }
    .footer-content .col {
        min-width: 100%;
    }
    .page-content {
        margin: 1rem;
        padding: 1rem 0;
    }
    .page-header {
        height: 200px;
        margin-bottom: 2rem;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    .contact-section, .about-section, .reports-section {
        padding: 1.5rem;
    }
    .map-container {
        height: 300px;
    }
    .page-tabs .nav-link {
        padding: 0.8rem 1rem !important;
        font-size: 0.9rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .home-page .stat-item {
        margin-bottom: 1rem;
    }
    .home-page .stat-item .number {
        font-size: 2rem;
    }
    .home-page .stat-item i {
        font-size: 2.5rem;
    }
    .btn-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .contact-form .btn-lg {
        width: 100%;
    }
}



        .swiper-container {
            width: 100%;
            position: relative;
            margin: 20px auto;
            padding: 1rem 0;
             height: 350px; /* يمكنك تعديل الارتفاع حسب الحاجة */
             background: #fff;
             border-radius: 12px;
             box-shadow: 0 2px 8px rgba(0,0,0,0.07);
             overflow: hidden;

        }

        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .swiper-slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;

             display: block;
             border-radius: 8px;
        }
        /* ...existing code... */

/* إخفاء الـ scrollbar إذا لم تحتاجه */
.swiper-scrollbar {
    display: none !important;
}
/* ...existing code... */

        .swiper-button-next, .swiper-button-prev {
            color: var(--primary-color) !important;
            top: 50%;
            transform: translateY(-50%);
        }

        .swiper-pagination-bullet-active {
            background-color: var(--primary-color) !important;
        }

        /* Medium devices (tablets, 768px and up) */
        @media (min-width: 768px) {
            .swiper-container {
                height: 450px;
            }
            .banner {
                height: 80vh;
            }
        }
 /* زر الانتقال للأعلى */
    .scroll-top {
      position: fixed;
      bottom: 30px;
      left: 30px;
      width: 50px;
      height: 50px;
      background: var(--primary-color);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      cursor: pointer;
      z-index: 999;
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .scroll-top.show {
      opacity: 1;
      transform: translateY(0);
    }

    .scroll-top:hover {
      background: var(--dark-color);
      transform: translateY(-5px);
    }
