/* About Section Styles */
#about {
    padding: 100px 5% 120px;
    background: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 0; /* Ensure no gap before footer */
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at top right, rgba(var(--accent-color-rgb), 0.1), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

#about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at bottom left, rgba(var(--primary-color-rgb), 0.05), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.7), transparent);
    opacity: 0.3;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    padding: 20px;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.about-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.about-text p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-member {
    text-align: center;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 8px;
}

.team-member:hover {
    background: rgba(var(--primary-color-rgb), 0.05);
    transform: translateY(-5px);
}

.member-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(26, 93, 26, 0.25);
}

.team-member h4 {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.team-member p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0;
}

.about-cta {
    margin-top: 30px;
}

.btn-about {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-about i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-about:hover {
    background: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(26, 93, 26, 0.2);
}

.btn-about:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    #about {
        padding: 70px 5%;
    }
    
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
