/* قسم اللافتة الرئيسية */
.projects-hero-section {
    padding: 100px 0 80px;
}

.projects-hero {
    align-items: center;
}

.projects-hero-content {
    text-align: center;
}

.projects-hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.7;
}

.projects-hero-content p {
    font-size: 1.7rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.impact-text {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, #FFD01B, #ffa41b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #FFD01B;
    animation: blink-caret 0.75s step-end infinite;

    display: inline-block;
    font-size: 4rem;
    font-weight: bold;
    line-height: 1.7;
    vertical-align: baseline;
}

.projects-hero-content .highlight {
    background: linear-gradient(135deg, #FFD01B, #ffa41b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



/* قسم تصفية المشاريع */
.projects-filter-section {
    padding: 30px 0;
}

.filter-container {
    background-color: var(--bg-darker);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--standard-shadow);
    margin-bottom: 50px;
}

.filter-container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0%;
    background: linear-gradient(135deg, #FFD01B, #ffa41b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 10px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: var(--transition-standard);
}

.filter-btn:hover {
    background: linear-gradient(135deg, #FFD01B, #ffa41b);
    color: var(--bg-dark);
}

.filter-btn.active {
    background: linear-gradient(135deg, #FFD01B, #ffa41b);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

.filter-dropdown-mobile {
    display: none;
    position: relative;
  }
  
  #project-filter-toggle {
    width: 100%;
    padding: 10px 15px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 15px;
  }
  
  #project-category-menu {
    margin-top: 10px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    z-index: 1000;
  }
  
  #project-category-menu.hidden {
    display: none;
  }
  
  .desktop-only {
    display: block;
  }



/* قسم المشاريع */
.projects-section {
    padding: 30px 0 80px;
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 25px;
    padding-bottom: 60px;
    margin-bottom: 30px;
}

.project-text,
.project-text-2 {
    text-align: right;
}

.project-image img {
    width: 100%;
    border-radius: 20px;
    transition: var(--transition-standard);
    box-shadow: var(--standard-shadow);
}

.project-image img:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.arrow {
    transition: var(--transition-standard);
}

.arrow:hover {
    opacity: 0.7;
    transform: translateX(-5px);
}

.project-small-text {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0%;
}

.project-title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 0px;
}

.project-description {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 10px;
}



/* قسم الدعوة للتواصل */
.cta-section {
    padding: 60px 0 100px;
}

.cta-container {
    background-color: var(--bg-darker);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    padding-top: 1%;
    text-align: center;
    box-shadow: var(--standard-shadow);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FFD01B, #ffa41b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.2rem;
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 2;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary-cta,
.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    border-radius: var(--border-radius-md);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-standard);
}

/*
.btn-primary-cta {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary-cta:hover {
    background: linear-gradient(135deg, #FFD01B, #ffa41b);
    color: var(--bg-dark);
}
        */

.btn-secondary-cta {
    background: linear-gradient(135deg, #FFD01B, #ffa41b);
    color: var(--bg-dark);
    border: 2px solid transparent;
}

.btn-secondary-cta:hover {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}




/* ==========================================================================
   Responsive Styles for Contact Page Sections
   ========================================================================== */

@media (max-width: 1200px) {
    .projects-hero-section {
        padding: 80px 0 80px;
    }

    .projects-hero-content h1 {
        font-size: 2.8rem;
        line-height: 2;
    }
    
    .highlight {
        font-size: 2.8rem;
        line-height: 1.4;
    }

    .projects-hero-content p {
        font-size: 1.3rem;
    }
    
    .filter-container h2 {
        font-size: 1.8rem;
    }
    
    .filter-btn {
        font-size: 1rem;
        padding: 8px 15px;
    }
    
    .project-title {
        font-size: 2.5rem;
    }
    
    .project-description {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }

    .btn-secondary-cta {
        padding: 6px 15px !important;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .projects-hero-section {
        padding: 60px 0 80px;
    }

    .projects-hero {
        grid-template-columns: 1fr;
    }
    
    .projects-hero-content {
        order: 2;
        text-align: center;
    }
    
    .projects-hero-image {
        order: 1;
    }
    
    .projects-hero-content h1 {
        font-size: 2.2rem;
        line-height: 2;
    }
    
    .highlight {
        font-size: 2.2rem;
        line-height: 1.4;
    }
    
    .projects-hero-content p {
        font-size: 1.1rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 80%;
    }

    .desktop-only {
        display: none;
      }
      .filter-dropdown-mobile {
        display: block;
      }
    
    .project-item {
        padding-bottom: 0%;
        grid-template-columns: 1fr;
        grid-template-areas:
            "text"
            "image";
    }
    
    .project-image {
        grid-area: image;
        padding-bottom: 10%;
    }
    
    .project-text, .project-text-2 {
        grid-area: text;
        order: 1;
        text-align: center;
    }
    
    .project-link {
        display: none;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .project-description {
        font-size: 1rem;
    }
    
    .cta-container {
        margin-top: 0%;
        padding: 30px 20px;
    }
    
    .cta-title {
        font-size: 1.8rem !important;
        padding-top: 0%;
        margin-bottom: 0%;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-bottom: 2rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 10px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    
    .projects-hero-section {
        padding: 60px 0 80px !important;
    }

    .projects-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .highlight {
        font-size: 1.8rem;
    }
    
    .projects-hero-content p {
        font-size: 1rem;
    }
    
    .filter-container h2 {
        font-size: 1.5rem;
    }
    
    .filter-btn {
        width: 100%;
        font-size: 0.9rem;
    }
    
    .project-title {
        font-size: 1.6rem;
    }
    
    .project-small-text {
        font-size: 1rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 0px !important;
        font-size: 1rem;
    }
}
