/* ============================================
   ABOUT SECTION - WHITE BACKGROUND
   BLUE PURPLE THEME
   ============================================ */
#about {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
}

/* Section Title - Dark for white background */
.section-title {
    color: #1a1a2e;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100px;
}

/* About Cards - White background with shadow */
.about-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 25px;
    height: 100%;
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Card Background Gradient Overlay */
.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.04), rgba(118, 75, 162, 0.04));
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 20px;
}

/* Card Hover Effects */
.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.15);
}

.about-card:hover::before {
    opacity: 1;
}

/* Card Image Wrapper */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.about-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.about-card:hover img {
    transform: scale(1.05);
}

/* Image Overlay Icon */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 12px;
}

.card-overlay i {
    font-size: 40px;
    color: #ffffff;
    transform: scale(0.5);
    transition: all 0.4s ease;
}

.about-card:hover .card-overlay {
    opacity: 1;
}

.about-card:hover .card-overlay i {
    transform: scale(1);
}

/* Card Title - Dark for white background */
.about-card h4 {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

/* Gradient Underline for Title */
.about-card h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin: 8px auto 0;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.about-card:hover h4::after {
    width: 50px;
}

/* Card Description - Dark for white background */
.about-card p {
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
}

/* Read More Button - Blue Purple Gradient */
.btn-about {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    z-index: 1;
    gap: 5px;
}

.btn-about:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: #ffffff;
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.btn-about i {
    transition: transform 0.3s ease;
}

.btn-about:hover i {
    transform: translateX(5px);
}

/* ============================================
   ABOUT - RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .section-title {
        font-size: 34px;
    }
    .about-card img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    #about {
        padding: 60px 0;
    }
    .section-title {
        font-size: 28px;
    }
    .about-card {
        padding: 20px;
    }
    .about-card img {
        height: 160px;
    }
    .about-card h4 {
        font-size: 18px;
    }
    .card-overlay i {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }
    .about-card {
        padding: 15px;
    }
    .about-card img {
        height: 140px;
    }
    .btn-about {
        padding: 8px 20px;
        font-size: 13px;
    }
    .about-card h4 {
        font-size: 16px;
    }
    .about-card p {
        font-size: 13px;
    }
}