:root {
    --primary-color: #8e44ad;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --dark-color: #1a0033;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #f8f9fa;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}
/* ===== HERO SECTION ===== */
.projects-page{
      background: linear-gradient(0deg, #150725 0%, #330b28 100%);
    /*background: linear-gradient(135deg, var(--dark-color), #3a0066);*/
}
.hero-section {
    /*background: linear-gradient(135deg, var(--dark-color), #3a0066);*/
    color: var(--text-light);
    padding: 98px 0 71px;
    position: relative;
    overflow: hidden;
}
/*.service-1.hero-section{*/
   
/*    background: linear-gradient(0deg, #471133 0%, #150725 100%);*/


/*}*/

.hero-content {
    /*overflow: hidden;*/
    max-width: 600px;
    position: relative;
}

.ani-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
     animation: titleAnimation 4s ease-in-out infinite;
}

.ani-title span {
    color: var(--accent-color);
    position: relative;
}

.ani-title span:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: var(--secondary-color);
    bottom: 5px;
    right: 0;
    z-index: -1;
    opacity: 0.5;
}

.hero-content p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 30px;
    /* opacity: 0.9; */
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape1 {
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    top: 8px;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.shape2 {
    width: 200px;
    height: 200px;
    background-color: var(--secondary-color);
    bottom: -50px;
    right: 30%;
    animation: float 6s ease-in-out infinite 1s;
}

.shape3 {
    width: 150px;
    height: 150px;
    background-color: var(--accent-color);
    top: 40%;
    right: 60%;
    animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* ===== FILTER SECTION ===== */
.filter-section {
    display: none;
    padding: 50px 0 0px;
    background-color: var(--light-color);
}

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

.filter-btn {
    padding: 10px 25px;
    background-color: white;
    border: 1px solid #e1e1e1;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    color: var(--text-color);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
   
         text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* padding: 50px 0; */
    /*background-color: var(--light-color);*/
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {

    background-color: #26154c;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    /*z-index: 2;*/
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.project-subtitle {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 500;
}

.project-description {
    text-align: justify;
    margin-bottom: 20px;
    color: #dfdfdf;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.project-link:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
}


/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    .ani-title {
        font-size: 3rem;
    }
    
    .hero-section {
        padding: 91px 0 80px;
    }
}

@media (max-width: 768px) {
    
    .ani-title {
        font-size: 2.5rem;
    }
    
    .hero-content p {
                LINE-HEIGHT: 22PX;
        TEXT-ALIGN: justify;
        font-size: 1rem;
    
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
.shape1 {
    width: 200px;
    height: 200px;
   
}

.shape2 {
    width: 150px;
    height: 150px;
    
}

.shape3 {
    width: 100px;
    height: 100px;
 
}

   
}

@media (max-width: 576px) {
    .ani-title {
        font-size: 2rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    .shape3{
        right: 50%;
    }
    .filter-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    

}

