*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Outfit", sans-serif;
    background: linear-gradient(135deg, #efe9ae 0%, #ffd8c4 100%);
    overflow-x: hidden;
    padding: 60px 20px;
    min-height: 100vh;
}

#back-button {
    background: rgba(255, 255, 255, 0.447);
    color: #480a0a;
    padding: 12px 20px;
    width: fit-content;
    margin-left: 8.5rem;
    margin-bottom: 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.436);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

#back-button a {
    color: #480a0a;
    text-decoration: none;
}

#back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.decorative-elements {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    opacity: 0.12;
    animation: float 8s ease-in-out infinite;
}

.shape1 {
    width: 80px;
    height: 80px;
    background: #7c2900;
    border-radius: 50%;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.shape2 {
    width: 60px;
    height: 60px;
    background: #ffac81;
    border-radius: 50%;
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.shape3 {
    width: 50px;
    height: 50px;
    background: #7c2900;
    transform: rotate(45deg);
    top: 80%;
    left: 15%;
    animation-delay: 5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

.page-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 1s ease forwards;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    color: #7c2900;
    margin: 0;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ffac81;
    border-radius: 2px;
}

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

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.experience-card {
    background: #ffac81;
    border-radius: 30px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(124, 41, 0, 0.15);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.experience-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(124, 41, 0, 0.25);
    border-color: #7c2900;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: #efe9ae;
    border: 3px solid #7c2900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.card-date {
    display: inline-block;
    padding: 6px 16px;
    background: #7c2900;
    color: #efe9ae;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.experience-card h2 {
    color: #7c2900;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.experience-card h3 {
    color: #61270a;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.experience-card p {
    color: #3d1500;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 15px 0;
}

.experience-card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.experience-card li {
    color: #3d1500;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.achievements-section {
    margin-top: 80px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #7c2900;
    font-weight: 700;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.achievement-card {
    background: #ffd8c4;
    border-radius: 25px;
    padding: 30px;
    border: 3px solid #7c2900;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '🏆';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 6rem;
    opacity: 0.1;
}

.achievement-card.visible {
    opacity: 1;
    transform: scale(1);
}

.achievement-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(124, 41, 0, 0.2);
}

.achievement-card h3 {
    color: #7c2900;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.achievement-card p {
    color: #3d1500;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 40px 15px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .experience-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .experience-card {
        padding: 25px;
    }

    .experience-card h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.7rem;
    }
}