.experience-section {
    padding-top: 240px; /* Increased top padding to add space */
    padding-bottom: 50px; /* Maintain bottom padding */
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}


.experience-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.experience-card {
    width: 320px; /* Slightly increased width */
    height: 420px; /* Slightly increased height */
    perspective: 1000px;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

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

.card-front, .card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(167, 113, 247, 0.6);
}

.card-front {
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-front .company-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.card-back {
    background: rgba(40, 40, 60, 0.9);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
