.experiences-section {
    padding: 60px 0;
    /* color: #fff; */
    background-color: var(--background-color);
}

.exp-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
}

.header-icon {
    flex-shrink: 0;
}

/* Timeline */
.timeline-container {
    position: relative;
    padding-left: 20px;
    margin-top: 10px;
}

.timeline-line {
    position: absolute;
    left: 4px;
    top: 24px;
    bottom: 0px;
    width: 2px;
    background-color: #1DB9D9;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    animation: slideInTimeline 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes slideInTimeline {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -15px;
    top: 24px;
    width: 10px;
    height: 10px;
    background: #0B0F19;
    border: 2px solid #28354c;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-dot {
    background: #1DB9D9;
    border-color: #1DB9D9;
    box-shadow: 0 0 10px rgba(29, 185, 217, 0.4), 0 0 20px rgba(29, 185, 217, 0.2);
    width: 16px;
    height: 16px;
    left: -18px;
    animation: dotPulse 0.6s ease-out;
}

@keyframes dotPulse {
    0% {
        width: 10px;
        height: 10px;
        box-shadow: 0 0 0 rgba(29, 185, 217, 0.8);
    }
    50% {
        width: 20px;
        height: 20px;
        box-shadow: 0 0 15px rgba(29, 185, 217, 0.6);
    }
    100% {
        width: 16px;
        height: 16px;
        box-shadow: 0 0 10px rgba(29, 185, 217, 0.4), 0 0 20px rgba(29, 185, 217, 0.2);
    }
}

.timeline-dot-inner {
    position: absolute;
    inset: 2px;
    background: #0B0F19;
    border-radius: 50%;
}

.timeline-item.active .timeline-line {
    opacity: 1;
}

/* Base Cards */
.exp-card, .education-card {
    background: #151c2c;
    border-radius: 8px;
    padding: 24px 30px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.exp-card:hover, .education-card:hover {
    transform: translateY(-3px);
    background: #182032;
}

/* Active Card State */
.exp-card.active {
    background: #1a222d;
    border: 1px solid rgba(29, 185, 217, 0.3);
    box-shadow: 0 0 20px rgba(29, 185, 217, 0.2), inset 0 0 1px rgba(29, 185, 217, 0.1);
    transform: scale(1.02);
    animation: cardSlideIn 0.6s ease-out;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* Active State for Education */
.education-card {
    margin-bottom: 20px;
}

.education-card.active {
    border-left: 3px solid #1DB9D9;
    padding-left: 27px;
    background: #1a222d;
    box-shadow: 0 0 15px rgba(29, 185, 217, 0.15);
    animation: cardSlideIn 0.6s ease-out;
}

/* Card Content Top */
.exp-top, .education-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 15px;
}

.exp-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
}

.education-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

/* Dates */
.exp-date {
    background: transparent;
    border: 1px solid var(--primary-color);
    
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.education-date {
    background: transparent;
    color: #1DB9D9;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Positions / Roles */
.exp-position {
    display: inline-block;
    color: #1DB9D9;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.education-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.education-position {
    display: block;
    color: #9BA4B5;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Experience Description */
.exp-description {
    color: #9BA4B5;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.exp-description p {
    margin: 0 0 10px 0;
}

.exp-description p:last-child {
    margin-bottom: 0;
}

/* Tags */
.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.exp-tag {
    background: rgba(29, 185, 217, 0.1);
    /* color: #aeb5c5; */
    font-size: 0.65rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Tech Graphic Card */
.tech-graphic-card {
    margin-top: 20px;
    height: 180px;
    background: linear-gradient(135deg, #0f1623 0%, #151c2c 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-graphic-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(29, 185, 217, 0.15) 0%, transparent 60%);
}

.cyber-circle {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.c1 { width: 120px; height: 120px; border: 1px solid rgba(29, 185, 217, 0.4); }
.c2 { width: 200px; height: 200px; border: 1px dashed rgba(29, 185, 217, 0.2); }
.c3 { width: 300px; height: 300px; border: 1px solid rgba(255,255,255,0.03); }

.cyber-core {
    position: relative;
    width: 24px;
    height: 24px;
    background: #1DB9D9;
    border-radius: 50%;
    box-shadow: 0 0 20px #1DB9D9, 0 0 40px #1DB9D9, inset 0 0 10px #fff;
    z-index: 2;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .experiences-section {
        padding: 80px 0;
    }

    .exp-wrapper {
        gap: 50px;
    }

    .section-header h2 {
        font-size: 1.1rem;
    }

    .exp-card, .education-card {
        padding: 22px 28px;
    }

    .exp-title {
        font-size: 1.1rem;
    }

    .exp-date {
        font-size: 0.65rem;
        padding: 5px 12px;
    }

    .tech-graphic-card {
        height: 160px;
    }

    .c1 { width: 100px; height: 100px; }
    .c2 { width: 170px; height: 170px; }
    .c3 { width: 260px; height: 260px; }
}

@media (max-width: 991px) {
    .experiences-section {
        padding: 60px 0;
    }

    .exp-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-header h2 {
        font-size: 1.05rem;
    }

    .exp-card, .education-card {
        padding: 20px 26px;
    }

    .exp-title {
        font-size: 1.05rem;
    }

    .education-title {
        font-size: 0.95rem;
    }

    .exp-description {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .exp-tag {
        font-size: 0.6rem;
        padding: 5px 9px;
    }

    .tech-graphic-card {
        height: 150px;
    }

    .c1 { width: 90px; height: 90px; }
    .c2 { width: 150px; height: 150px; }
    .c3 { width: 240px; height: 240px; }
}

@media (max-width: 768px) {
    .experiences-section {
        padding: 50px 0;
    }

    .experiences-section .container {
        padding: 0 20px;
    }

    .exp-wrapper {
        gap: 35px;
    }

    .section-header {
        gap: 10px;
        margin-bottom: 25px;
    }

    .section-header h2 {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }

    .timeline-container {
        padding-left: 18px;
    }

    .timeline-line {
        left: 3px;
    }

    .timeline-dot {
        left: -13px;
    }

    .exp-card, .education-card {
        padding: 18px 24px;
        border-radius: 6px;
    }

    .exp-top, .education-top {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 6px;
    }

    .exp-title {
        font-size: 1rem;
    }

    .education-title {
        font-size: 0.9rem;
    }

    .exp-date {
        font-size: 0.6rem;
        padding: 5px 11px;
    }

    .education-date {
        font-size: 0.75rem;
    }

    .exp-position, .education-position {
        font-size: 0.9rem;
    }

    .exp-description {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .exp-tags {
        gap: 6px;
    }

    .exp-tag {
        font-size: 0.55rem;
        padding: 4px 8px;
    }

    .tech-graphic-card {
        height: 140px;
        margin-top: 15px;
    }

    .c1 { width: 80px; height: 80px; }
    .c2 { width: 130px; height: 130px; }
    .c3 { width: 210px; height: 210px; }

    .cyber-core {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .experiences-section {
        padding: 40px 0;
    }

    .experiences-section .container {
        padding: 0 16px;
    }

    .exp-wrapper {
        gap: 30px;
    }

    .section-header {
        gap: 8px;
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 0.95rem;
        letter-spacing: 0.3px;
    }

    .header-icon {
        width: 18px;
        height: 18px;
    }

    .timeline-container {
        padding-left: 16px;
        margin-top: 8px;
    }

    .timeline-line {
        left: 2px;
        top: 20px;
    }

    .timeline-item {
        margin-bottom: 25px;
    }

    .timeline-dot {
        left: -12px;
        top: 20px;
        width: 8px;
        height: 8px;
    }

    .exp-card, .education-card {
        padding: 16px 20px;
        border-radius: 6px;
        margin-bottom: 16px;
    }

    .education-card.active {
        border-left: 2px solid #1DB9D9;
        padding-left: 24px;
    }

    .exp-top, .education-top {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 6px;
    }

    .exp-title {
        font-size: 0.95rem;
    }

    .education-title {
        font-size: 0.85rem;
    }

    .exp-date {
        font-size: 0.55rem;
        padding: 4px 10px;
        align-self: flex-start;
    }

    .education-date {
        font-size: 0.7rem;
    }

    .exp-position, .education-position {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .education-details {
        gap: 2px;
    }

    .exp-description {
        font-size: 0.75rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .exp-tags {
        gap: 5px;
    }

    .exp-tag {
        font-size: 0.5rem;
        padding: 3px 7px;
    }

    .tech-graphic-card {
        height: 120px;
        margin-top: 12px;
    }

    .c1 { width: 70px; height: 70px; border-width: 1px; }
    .c2 { width: 110px; height: 110px; border-width: 1px; }
    .c3 { width: 180px; height: 180px; border-width: 1px; }

    .cyber-core {
        width: 16px;
        height: 16px;
        box-shadow: 0 0 15px #1DB9D9, 0 0 30px #1DB9D9, inset 0 0 8px #fff;
    }
}

@media (max-width: 480px) {
    .experiences-section {
        padding: 35px 0;
    }

    .experiences-section .container {
        padding: 0 14px;
    }

    .exp-wrapper {
        gap: 25px;
    }

    .section-header {
        gap: 6px;
        margin-bottom: 18px;
    }

    .section-header h2 {
        font-size: 0.9rem;
        letter-spacing: 0.25px;
    }

    .timeline-container {
        padding-left: 14px;
        margin-top: 6px;
    }

    .timeline-item {
        margin-bottom: 22px;
    }

    .exp-card, .education-card {
        padding: 14px 18px;
    }

    .exp-top {
        gap: 5px;
    }

    .exp-title {
        font-size: 0.9rem;
    }

    .education-title {
        font-size: 0.8rem;
    }

    .exp-date {
        font-size: 0.5rem;
        padding: 3px 9px;
    }

    .exp-position {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .education-position {
        font-size: 0.8rem;
    }

    .exp-description {
        font-size: 0.7rem;
        margin-bottom: 14px;
    }

    .exp-tags {
        gap: 4px;
    }

    .exp-tag {
        font-size: 0.45rem;
        padding: 2px 6px;
    }

    .tech-graphic-card {
        height: 100px;
        margin-top: 10px;
    }

    .c1 { width: 60px; height: 60px; }
    .c2 { width: 95px; height: 95px; }
    .c3 { width: 160px; height: 160px; }
}