/* Experience Hero */
.experience-hero {
    padding: 120px 0 60px;
    background: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.experience-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 1rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    transform: translateY(-10px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards 0.2s;
}

.hero-title .highlight {
    background: linear-gradient(120deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
    transform: translateY(-10px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards 0.4s;
}

/* Experience Stats */
.experience-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.stat-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* Hero CTA */
.hero-cta {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards 0.8s;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: #fff;
    color: var(--primary-color);
    border: none;
}

.btn-primary:hover {
    color: black;
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    opacity: 0;
}

.floating-card i {
    font-size: 1.5rem;
    color: #fff;
}

.floating-card span {
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

.card-1 {
    top: 20%;
    left: 0;
    animation: floatAnimation 3s ease-in-out infinite, fadeIn 0.6s ease forwards 1s;
}

.card-2 {
    top: 50%;
    right: 0;
    animation: floatAnimation 3s ease-in-out infinite reverse, fadeIn 0.6s ease forwards 1.2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation: floatAnimation 3s ease-in-out infinite, fadeIn 0.6s ease forwards 1.4s;
}

/* Experience Overview */
.experience-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.experience-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.experience-card:hover .card-icon {
    transform: rotateY(180deg);
}

.experience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.experience-card p {
    margin: 0;
    opacity: 0.8;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 50px;
    max-width: 800px;
    margin: 0 auto;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: var(--card-hover-shadow);
}

.timeline-marker {
    position: absolute;
    left: -65px;
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 0 5px var(--card-bg);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2) rotate(360deg);
}

.timeline-header {
    margin-bottom: 20px;
}

.timeline-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.company {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--light-color);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.key-achievements {
    background: var(--light-color);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.key-achievements h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.key-achievements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-achievements li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.key-achievements li i {
    color: var(--accent-color);
    margin-top: 5px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tech-stack span {
    padding: 5px 15px;
    background: var(--light-color);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tech-stack span:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-2px);
}

/* Certification Cards */
.certification-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
}

.certification-card:hover .cert-icon {
    transform: rotateY(180deg);
}

.cert-content {
    flex: 1;
}

.cert-content h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.cert-content .issuer {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.cert-content .date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .experience-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .experience-hero {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        margin-top: 60px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .experience-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .stat-icon {
        margin: 0 auto 15px;
    }

    .stat-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .stat-content h3 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 5px;
    }

    .stat-content p {
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .floating-card {
        position: relative;
        margin: 10px 0;
    }

    .hero-image {
        height: auto;
        flex-direction: column;
        gap: 20px;
    }

    .card-1,
    .card-2,
    .card-3 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
}