/* Elegant Title Design */
.elegant-title-section {
    text-align: center;
    position: relative;
}

.elegant-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 12px;
    font-family: 'Georgia', serif;
    position: relative;
    display: inline-block;
    
    /* Colorful Gradient */
    background: linear-gradient(90deg, 
        #3498db 0%, 
        #2ecc71 25%, 
        #f1c40f 50%, 
        #e74c3c 75%, 
        #9b59b6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.elegant-underline {
    position: absolute;
    /* bottom: -15px; */
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        #3498db 0%, 
        #2ecc71 33%, 
        #e74c3c 66%, 
        #9b59b6 100%);
    opacity: 0.8;
}

.elegant-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.elegant-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #95a5a6;
    animation: dotPulse 2s infinite ease-in-out;
}

.elegant-dot:nth-child(1) { animation-delay: 0s; background: #3498db; }
.elegant-dot:nth-child(2) { animation-delay: 0.2s; background: #2ecc71; }
.elegant-dot:nth-child(3) { animation-delay: 0.4s; background: #f1c40f; }
.elegant-dot:nth-child(4) { animation-delay: 0.6s; background: #e74c3c; }
.elegant-dot:nth-child(5) { animation-delay: 0.8s; background: #9b59b6; }

@keyframes dotPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.7; 
    }
    50% { 
        transform: scale(1.5); 
        opacity: 1; 
    }
}

/* Responsive adjustments for elegant title */
@media (max-width: 768px) {
    .elegant-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .elegant-title {
        font-size: 2.2rem;
    }
    
    .elegant-dots {
        gap: 12px;
    }
    
    .elegant-dot {
        width: 8px;
        height: 8px;
    }
}

/* Project Section CSS with 'project-' prefix to prevent conflicts */
.project-section-wrapper-3 {
    padding: 30px 0;
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* Project Card */
.project-card-3 {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    height: 100%;
}

.project-card-3:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Image Container */
.project-image-container-3 {
    height: 220px;
    overflow: hidden;
}

.project-image-3 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* .project-image-container-3 {
    height: 220px; 
    overflow: hidden;
    display: flex;
    align-items: center; 
    justify-content: center; 
    background-color: white; 
}
.project-image-3 {
    width: auto; 
    height: 100%; 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    display: block;
    transition: transform 0.6s ease;
} */

.project-card-3:hover .project-image-3 {
    transform: scale(1.08);
}

/* Content */
.project-content-3 {
    padding: 25px;
}

.project-title-3 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.3;
}

.project-subtitle-3 {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .project-image-container-3 {
        height: 200px;
    }
}

@media (max-width: 991px) {
    .project-section-wrapper-3 {
        padding: 50px 0;
    }
    
    .project-section-title-3 {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }
    
    .project-image-container-3 {
        height: 180px;
    }
    
    .project-title-3 {
        font-size: 18px;
    }
    
    .project-subtitle-3 {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .project-section-wrapper-3 {
        padding: 40px 0;
    }
    
    .project-section-title-3 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .project-image-container-3 {
        height: 160px;
    }
    
    .project-content-3 {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .project-section-title-3 {
        font-size: 1.8rem;
    }
    
    .project-title-3 {
        font-size: 17px;
    }
    
    .project-subtitle-3 {
        font-size: 14px;
    }
}

/* Body styles to ensure consistency */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/**********************************
 see more btn 
***********************************/
.project-hidden {
    display: none;
}

.project-card-3.animate-in {
    animation: fadeSlideIn 0.5s ease forwards;
}

.project-card-3.animate-out {
    animation: fadeSlideOut 0.4s ease forwards;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(30px);
    }
}

.see-more-btn-wrapper {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.btn-see-toggle {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    text-transform: uppercase;
}

.btn-see-toggle::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #e84393, #f5a623);
    transition: left 0.4s ease;
    z-index: 0;
}

.btn-see-toggle:hover::before {
    left: 0;
}

.btn-see-toggle span {
    position: relative;
    z-index: 1;
}

.btn-see-toggle:hover {
    border-color: #e84393;
    box-shadow: 0 8px 25px rgba(232, 67, 147, 0.4);
    transform: translateY(-2px);
}