        .departments-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 5rem 0;
            position: relative;
            overflow: hidden;
        }
        
        .departments-section::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.05"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%234aa9e3" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            z-index: 0;
        }
        
        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 3rem;
            position: relative;
            display: inline-block;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            right: 0;
            width: 60%;
            height: 4px;
            background: linear-gradient(to left, var(--primary-color), var(--accent-color));
            border-radius: 2px;
        }
        
        .department-card {
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.4s ease;
            border: none;
            background: var(--card-bg);
            height: 100%;
            position: relative;
            z-index: 1;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }
        
        .department-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }
        
     .department-card .card-img-top {
      height: 250px;
      object-fit: cover;
      object-position: top; /* الصورة تتثبت من فوق، والقص يتم من تحت */
      position: relative;
      }

        
        .department-card .card-img-top::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 50%;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
        }
        
        .department-card .card-body {
            padding: 2rem;
        }
        
        .department-card h3 {
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            font-weight: 700;
            font-size: 1.6rem;
            position: relative;
            padding-bottom: 10px;
        }
        
        .department-card h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 3px;
            background-color: var(--accent-color);
            border-radius: 2px;
        }
        
        .department-card ul {
            padding-right: 0;
        }
        
        .department-card ul li {
            margin-bottom: 1rem;
            font-size: 1rem;
            line-height: 1.7;
            display: flex;
            align-items: flex-start;
            padding-right: 10px;
            transition: all 0.3s ease;
        }
        
        .department-card ul li:hover {
            transform: translateX(-5px);
        }
        
        .department-card ul li i {
            color: var(--primary-color);
            font-size: 1.2rem;
            margin-left: 10px;
            margin-top: 3px;
            flex-shrink: 0;
        }
        
        .department-card ul li b {
            color: var(--dark-color);
            font-weight: 600;
        }
        
        /* تحسينات للريسبونسف */
        @media (max-width: 768px) {
            .departments-section {
                padding: 3rem 0;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .department-card .card-body {
                padding: 1.5rem;
            }
            
            .department-card ul li {
                font-size: 0.95rem;
            }
        }
        
        @media (max-width: 576px) {
            .section-title {
                font-size: 1.8rem;
            }
            
            .department-card .card-img-top {
                height: 200px;
            }
            
            .department-card .card-body {
                padding: 1.2rem;
            }
        }
        
           .academic-section {
        position: relative;
        background: url("https://www.aspect.org.au/imager/uploads/Images/Education/Schools/South%20East%20Sydney/668503/Aspect-Education-Loftus-School-Captial-Works-June-2023-4-copy_4b32b63c5c28c858e051e9d1a2a717a1.jpg")
          center/cover no-repeat;
        padding: 5rem 0;
        color: white;
      }
      .academic-section .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.75);
        z-index: 0;
      }
      .academic-section .container {
        position: relative;
        z-index: 1;
      }
      .icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }
      .feature h5 {
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: #fff;
      }
      .feature p {
        color: rgba(255, 255, 255, 0.85);
        margin: 0;
        line-height: 1.7;
      }
      .feature span {
        color: #4aa9e3;
        font-weight: 600;
      }
      
      
           /* الخلفية بطول الشاشة مع Parallax */
    .vision-section {
      position: relative;
      background: url('https://smartstudent-school.com/images/child-with-autism-living-fantasy-world12.jpg') center/cover no-repeat fixed;
      min-height: 400px; /* طول الشاشة */
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
    }

    /* طبقة التعتيم */
    .vision-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, 
                rgba(0, 0, 0, 0.85) 0%, 
                rgba(0, 0, 0, 0.7) 50%, 
                rgba(0, 0, 0, 0.85) 100%);
      z-index: 1;
    }

    /* المحتوى */
    .vision-content {
      position: relative;
      z-index: 2;
      text-align: center;
      max-width: 800px;
      margin: auto;
      padding: 0 20px;
    }

    .vision-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(74, 169, 227, 0.25);
      color: #4aa9e3;
      padding: 12px 25px;
      border-radius: 30px;
      margin-bottom: 25px;
      font-weight: bold;
      border: 1px solid rgba(74, 169, 227, 0.3);
      backdrop-filter: blur(5px);
      font-size: 1.1rem;
    }

    .vision-text {
      font-size: 1.3rem;
      line-height: 1.9;
      color: #f8f9fa;
      text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
      max-width: 700px;
      margin: 0 auto;
      background: rgba(0, 0, 0, 0.3);
      padding: 20px;
      border-radius: 10px;
      backdrop-filter: blur(5px);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* تأثير Parallax إضافي (اختياري للنعومة) */
    .vision-section::before {
      content: "";
      position: absolute;
      inset: 0;
      background-attachment: fixed;
    }

    /* أنيميشن دخول */
    .fade-in {
      opacity: 0;
      transform: translateY(40px);
      transition: all 1s ease;
    }
    .fade-in.show {
      opacity: 1;
      transform: translateY(0);
    }

    /* تحسين للجوال */
    @media (max-width: 768px) {
      .vision-text {
        font-size: 1.1rem;
        padding: 15px;
      }
      .vision-badge {
        font-size: 1rem;
        padding: 10px 20px;
      }
    }