/* About Page Specific Styles */

.about-me-sec {
    position: relative;
}

/* Education Cards Animation */
.about-me-sec [style*="border-left: 4px"] {
    transition: all 0.3s ease;
    position: relative;
}

.about-me-sec [style*="border-left: 4px"]:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* Profile Image Enhancements */
.about-me-sec img {
    position: relative;
    transition: all 0.3s ease;
}

.about-me-sec img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s;
}

.about-me-sec img:hover::after {
    opacity: 0.1;
}

/* Certifications Grid Enhancements */
.certifications-sec {
    position: relative;
}

.cert-card {
    position: relative;
    transition: all 0.3s ease;
}

.cert-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.cert-card:hover::after {
    opacity: 0.05;
}

.cert-card > * {
    position: relative;
    z-index: 1;
}

.cert-icon {
    transition: transform 0.3s ease;
}

.cert-card:hover .cert-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Hackathons Section */
.achievements-sec .achievement-card {
    position: relative;
    overflow: hidden;
}

.achievement-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.achievement-card:hover::after {
    opacity: 0.1;
}

.achievement-icon {
    transition: transform 0.3s ease;
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Key Highlights Animation */
.about-me-sec [style*="background: var(--bg-secondary)"] {
    transition: all 0.3s ease;
}

.about-me-sec [style*="background: var(--bg-secondary)"]:hover {
    transform: translateX(5px);
    background: rgba(99, 102, 241, 0.1) !important;
}

/* Section Title Animation */
.section-title {
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s, left 0.3s;
}

.section-title:hover::before {
    opacity: 1;
    left: -10px;
}
