/* About Hero Section */
.about-hero {
    position: relative;
    padding: 8rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, transparent 100%);
    z-index: -1;
}

.section-subtitle {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-container {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(79, 70, 229, 0.05);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 15px;
    color: white;
    font-size: 1.5rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
}

.about-cta {
    margin-top: 3rem;
}

.about-cta .btn {
    padding: 1rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-cta .btn:hover {
    transform: translateY(-3px);
}

/* Skills Section */
.skills-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 1s ease 0.5s forwards;
}

.skills-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.skill {
    margin-bottom: 2rem;
}

.skill-name {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.skill-bar {
    height: 10px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.skill-per {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 5px;
    width: 0;
    opacity: 0;
    transition: width 1s ease, opacity 0.3s ease;
}

/* Timeline Section */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient-1);
}

.timeline-item {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 50%;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: auto;
    right: -10px;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    position: relative;
    margin: 0 2rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.15);
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--gradient-1);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.timeline-content h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 20px;
}

.timeline-content strong {
    color: var(--primary-color);
}

/* Interests Section */
.interests {
    padding: 100px 0;
    background: var(--background-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.interest-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.interest-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.interest-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.interest-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Education Section */
.journey-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, transparent 100%);
}

.education-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.education-card {
    display: flex;
    gap: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
}

.education-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 15px;
    color: white;
    font-size: 1.5rem;
}

.education-content {
    flex: 1;
}

.education-year {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.education-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.institution {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.education-details {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-color);
    opacity: 0.9;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-title {
        font-size: 2.5rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0 0 0 80px;
    }

    .timeline-content::before {
        left: -50px;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        left: -50px;
        right: auto;
    }

    .stats-container {
        padding: 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .about-cta .btn {
        width: 100%;
        margin: 0.5rem 0;
    }

    .education-card {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .education-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.2rem;
    }

    .education-content h3 {
        font-size: 1.3rem;
    }

    .institution {
        font-size: 1rem;
    }
}

.download-cv {
    background: var(--gradient-1);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
    transition: all 0.3s ease;
}

.download-cv:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.download-cv i {
    transition: all 0.3s ease;
}

.download-cv:hover i {
    transform: translateY(-2px);
}

/* Technical Expertise Section */
.skills-section {
    padding: 6rem 0;
    background: var(--background-color);
}

.skills-container {
    display: grid;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.skills-category {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(79, 70, 229, 0.1);
    transition: all 0.3s ease;
}

.skills-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 12px;
    color: white;
    font-size: 1.5rem;
}

.category-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.skills-grid {
    display: grid;
    gap: 1.5rem;
}

.skill-item {
    position: relative;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name {
    color: var(--text-color);
    font-weight: 500;
}

.skill-percentage {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 10px;
    position: relative;
    transition: width 1.5s ease-out;
}

.glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: white;
    filter: blur(3px);
    animation: glowAnimation 2s linear infinite;
}

@keyframes glowAnimation {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills-category {
        padding: 1.5rem;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .category-header h3 {
        font-size: 1.3rem;
    }

    .skill-name {
        font-size: 0.9rem;
    }
}

/* Work Process Section */
.process-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, transparent 100%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.process-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
}

.process-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.2;
}

.process-item:last-child::after {
    display: none;
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
}

.process-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 20px;
    color: white;
    font-size: 1.8rem;
}

.process-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.process-item p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-item::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-item {
        padding: 1.5rem;
    }

    .process-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Values Section */
.values-section {
    padding: 6rem 0;
    background: var(--background-color);
    position: relative;
}

.values-grid {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.values-grid::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        rgba(79, 70, 229, 0.1),
        rgba(79, 70, 229, 0.5),
        rgba(79, 70, 229, 0.1)
    );
}

.value-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 60px;
}

.value-number {
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.value-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(79, 70, 229, 0.1);
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
}

.value-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 30px;
    width: 20px;
    height: 2px;
    background: var(--primary-color);
}

.value-card:hover .value-content {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
}

.value-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 15px;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.value-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.value-content p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .values-grid::before {
        left: 20px;
    }

    .value-card {
        padding-left: 40px;
    }

    .value-content {
        padding: 1.5rem;
    }

    .value-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .value-content h3 {
        font-size: 1.2rem;
    }

    .value-content p {
        font-size: 0.9rem;
    }
}

/* 3D Background Animation */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

.animated-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.network-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(79, 70, 229, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(79, 70, 229, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center center;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

/* Ensure content stays above background */
.about-content {
    position: relative;
    z-index: 2;
}

/* Glowing subtitle */
.glowing-wrapper {
    position: relative;
    display: inline-block;
}

.section-subtitle {
    position: relative;
    z-index: 1;
    animation: glowPulse 3s infinite;
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 5px rgba(79, 70, 229, 0.3); }
    50% { box-shadow: 0 0 20px rgba(79, 70, 229, 0.5); }
    100% { box-shadow: 0 0 5px rgba(79, 70, 229, 0.3); }
}

/* Animated gradient title */
.animate-gradient .gradient-text {
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--primary-light),
        var(--secondary-color),
        var(--primary-color)
    );
    background-size: 300% 300%;
    animation: gradientFlow 8s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Typing animation for lead text */
.typing-text {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.5s;
}

/* Enhanced stat items */
.stat-item {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpFade 0.8s ease forwards;
}

.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.4s; }

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Counter animation */
.counter {
    transition: all 2s ease;
}

/* Enhanced CTA buttons */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: glowSwipe 3s linear infinite;
}

@keyframes glowSwipe {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.btn-hover-effect {
    transition: all 0.3s ease;
}

.btn-hover-effect:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

/* 3D Title Animation */
.title-3d-container {
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
    padding: 2rem 0;
}

.gradient-text {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--primary-light),
        var(--secondary-color),
        var(--primary-color)
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s ease infinite;
    transform-style: preserve-3d;
    position: relative;
}

.line-1 {
    animation: float-line-1 3s ease-in-out infinite;
    transform: translateZ(20px);
}

.line-2 {
    animation: float-line-2 3s ease-in-out infinite;
    transform: translateZ(40px);
}

.title-particles {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.title-particles .particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.5;
    animation: particle-float 6s infinite;
}

.title-particles .particle:nth-child(1) {
    top: 20%;
    left: 10%;
    transform: translateZ(30px);
    animation-delay: 0s;
}

.title-particles .particle:nth-child(2) {
    top: 60%;
    right: 20%;
    transform: translateZ(50px);
    animation-delay: 1s;
}

.title-particles .particle:nth-child(3) {
    bottom: 30%;
    left: 30%;
    transform: translateZ(70px);
    animation-delay: 2s;
}

.title-particles .particle:nth-child(4) {
    top: 40%;
    right: 10%;
    transform: translateZ(40px);
    animation-delay: 1.5s;
}

.title-particles .particle:nth-child(5) {
    bottom: 20%;
    right: 30%;
    transform: translateZ(60px);
    animation-delay: 0.5s;
}

@keyframes float-line-1 {
    0%, 100% {
        transform: translateZ(20px) rotateX(0deg);
    }
    50% {
        transform: translateZ(30px) rotateX(2deg);
    }
}

@keyframes float-line-2 {
    0%, 100% {
        transform: translateZ(40px) rotateX(0deg);
    }
    50% {
        transform: translateZ(50px) rotateX(-2deg);
    }
}

@keyframes particle-float {
    0%, 100% {
        transform: translateZ(var(--z)) translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateZ(calc(var(--z) + 20px)) translateY(-20px) scale(1.2);
        opacity: 0.8;
    }
}

/* Add mouse movement effect */
.title-3d-container:hover .gradient-text {
    animation-play-state: paused;
}

/* Add responsive adjustments */
@media (max-width: 768px) {
    .gradient-text {
        font-size: 2.5rem;
    }

    .title-particles {
        display: none;
    }
}

/* Add glow effect */
.title-3d-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(79, 70, 229, 0.2) 0%,
        transparent 70%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.title-3d-container:hover::after {
    opacity: 1;
} 


/* certification */
/* Enhanced Certifications Section */
.certifications-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.02) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(79, 70, 229, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
}

.cert-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.cert-badge i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.cert-logo {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cert-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cert-logo:hover img {
    transform: scale(1.05);
}

.download-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(79, 70, 229, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: white;
    gap: 0.5rem;
}

.cert-logo:hover .download-overlay {
    opacity: 1;
}

.download-overlay i {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.cert-content h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cert-issuer {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.skill-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cert-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(79, 70, 229, 0.1);
}

.cert-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

.cert-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cert-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cert-card {
        padding: 1.5rem;
    }
    
    .cert-logo {
        height: 150px;
    }
}