/* Experience Section */
.experience-section {
    background-color: var(--light);
    padding: 80px 0;
}

.experience-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.experience-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
    overflow: hidden;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
    cursor: pointer;
}

.experience-title {
    color: var(--primary);
    position: relative;
    padding-right: 25px;
}

.toggle-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.toggle-icon.active {
    transform: translateY(-50%) rotate(180deg);
}

.experience-date {
    color: var(--text-light);
    font-weight: 600;
}

.experience-company {
    font-weight: 600;
    margin-bottom: 10px;
}

.experience-description {
    color: var(--text-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding-top 0.3s ease;
}

.experience-description.active {
    max-height: 500px;
    padding-top: 15px;
}

.experience-description ul {
    padding-left: 20px;
}

.experience-description li {
    margin-bottom: 8px;
    position: relative;
}

.experience-description li::before {
    content: "▹";
    position: absolute;
    left: -20px;
    color: var(--primary);
}

/* Image Gallery */
.exp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.exp-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
    position: relative;
    cursor: pointer;
}

.exp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.exp-gallery-item:hover img {
    transform: scale(1.05);
}

/* Modal for full-size images */
.exp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.exp-modal.active {
    display: flex;
}

.exp-modal-content {
    max-width: 90%;
    max-height: 90%;
}

.exp-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.exp-modal-close:hover {
    color: var(--accent);
}