/* About Page Specific Styles */
.about {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(145deg, #f9fbfd, #f0f4f8);
    min-height: 100vh;
    animation: fadeIn 0.5s ease-out;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-text {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.about-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    flex: 0 0 60px;
    height: 60px;
    background: rgba(74, 108, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.card-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.card-content {
    flex: 1;
}

.card-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

.special-link {
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.special-link:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.special-link:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

.about-image {
    flex: 0 0 100%;
}

.image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    color: white;
}

.overlay-content {
    max-width: 80%;
}

.overlay-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.overlay-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.overlay-content .cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.overlay-content .cta-button:hover {
    background-color: #3a5bd9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features-section {
    padding: 4rem 2rem;
    background-color: white;
}

.features-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.features-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    flex: 0 0 calc(33.333% - 2rem);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(74, 108, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.feature h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature p {
    color: var(--secondary-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* GitHub Repository Section */
.github-section {
    padding: 4rem 2rem;
    background: linear-gradient(145deg, #f5f7fa, #eef2f7);
}

.github-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.github-content {
    flex: 1;
    padding: 3rem;
    background: linear-gradient(135deg, #4a6cf7, #3a5bd9);
    color: white;
    min-width: 300px;
}

.github-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.github-content h3 i {
    font-size: 2.5rem;
}

.github-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.github-content .cta-button {
    background-color: white;
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-decoration: none;
    white-space: nowrap;
}

.github-content .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: #f8f9fa;
}

.github-stats {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 3rem;
    background-color: #ffffff;
    min-width: 300px;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 500;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-text {
        grid-template-columns: 1fr;
    }
    
    .feature {
        flex: 0 0 calc(50% - 2rem);
    }
    
    .github-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 2rem 1rem;
    }
    
    .about-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .card-title::after {
        width: 50px;
    }
    
    .feature {
        width: 100%;
    }
    
    .image-container {
        height: 300px;
    }
    
    .donation-button {
        display: block;
        margin-left: 0;
        margin-top: 10px;
    }
    
    /* Keep buttons in a row even on mobile devices */
    .button-container {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title,
    .features-title {
        font-size: 1.8rem;
    }
    
    .overlay-content h3 {
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
}

.donation-button {
    margin-top: 15px;
    margin-bottom: 20px;
    display: block;
}

/* Button container styles */
.button-container {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.github-content .donate-btn {
    background-color: #ff5f5f;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    box-shadow: 0 4px 10px rgba(255, 95, 95, 0.3);
}

.github-content .donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 95, 95, 0.3);
    background-color: #e54949;
}

.github-content .donate-btn i {
    margin-right: 8px;
    color: #FFF;
    font-size: 1rem;
    display: inline-block;
} 