@import url('https://fonts.googleapis.com/css2?family=Underdog&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.underdog-regular {
    font-family: "Underdog", system-ui;
    font-weight: 400;
    font-style: normal;
}

body, html {
    min-height: 100%;
    background:transparent;
    color: #fff;
    overflow-x: hidden;
}

/* ==================== HEADER ==================== */
header {
    padding: 40px 20px 30px;
    text-align: center;
    width: 100%;
}

header h1 {
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 0 15px #F02050;
}

/* ==================== MAIN CONTAINER ==================== */
.experience-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* ==================== COMPANY SECTION ==================== */
.company-section {
    margin-bottom: 80px;
}

.company-header {
    padding: 25px 30px;
    border-radius: 12px 12px 0 0;
    border: 2px solid #ffffff;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-header h2 {
    font-size: 2.2rem;
    color: #fff;
    margin: 0;
}

.role-duration {
    color: #ff80a0;
    margin-top: 5px;
    font-size: 1.1rem;
}

.company-tag {
    background: #F02050;
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: bold;
}

/* Projects Container */
.projects-under-company {
    padding: 40px 20px;
    background: transparent;
    border: 2px solid #ffffff;
    border-top: none;
    border-radius: 0 0 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    box-shadow: 0 20px 40px rgba(240, 32, 80, 0.3);
}

/* ==================== PROJECT CARD ==================== */
.exp-project {
    background: rgba(10, 10, 20, 0.15);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #440022;
    box-shadow: 0 10px 30px rgba(240, 32, 80, 0.15);
    transition: all 0.4s ease;
}

.exp-project:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(240, 32, 80, 0.3);
}

.project-header {
    padding: 20px 30px;
    background: #1a001070;
}

.project-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: #fff;
}

/* ==================== CAROUSEL ==================== */
.media-carousel {
    position: relative;
    background: #000;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-item iframe,
.carousel-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border: none;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0);
    color: white;
    border: none;
    width: 100px;
    height: 100%;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}



.carousel-btn.prev { left: 0px; }
.carousel-btn.next { right: 0px; }

/* ==================== PROJECT CONTENT ==================== */
.project-content {
    padding: 30px;
}

.description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #ddd;
}

h4 {
    color: #ff80a0;
    margin-bottom: 15px;
    font-size: 1.35rem;
}

.contributions {
    list-style: none;
    margin-bottom: 30px;
}

.contributions li {
    padding: 8px 0 8px 25px;
    position: relative;
}

.contributions li:before {
    content: "→";
    color: #F02050;
    position: absolute;
    left: 0;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: white;
    border: 2px solid #F02050;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #F02050;
    color: white;
    transform: scale(1.05);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .carousel-item iframe,
    .carousel-item img {
        height: 320px;
    }
    
    header h1 {
        font-size: 2.4rem;
    }
}