/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    overflow-x: hidden;
    background: linear-gradient(270deg, #021aa5, #09584b, #ee0767, #035b96, #0ba5b9);
    background-size: 1000% 1000%;
    animation: pulseBackground 10s ease infinite;
}

@keyframes pulseBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('fencing-action.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 5rem;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeIn 2s ease-in-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-top: 20px;
    z-index: 2;
    animation: fadeInUp 2s ease-in-out;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #ff4d4d;
    color: white;
    font-size: 1.2rem;
    margin-top: 40px;
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    z-index: 2;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.5);
}

.cta-button:hover {
    background-color: #ff1a1a;
}

/* Animations */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Skill Details */
.skill-details {
    padding: 80px 50px;
    text-align: center;
    background-color: #333;
}

.skill-details h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.skill-details p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.infographic {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.infographic h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff4d4d;
}

.infographic ul {
    list-style: none;
    font-size: 1.2rem;
    line-height: 2;
}

.infographic .highlight {
    font-weight: bold;
}

.infographic-bar {
    width: 60%;
    height: 10px;
    background-color: #ff4d4d;
    margin: 10px 0;
    border-radius: 10px;
}

/* Step-by-Step Section */
.step-by-step {
    padding: 100px 50px;
    background-color: #f0f0f0;
}

.step-by-step h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step {
    flex: 1 1 calc(50% - 40px);
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.step h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.step p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background-color: #111;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 1rem;
}
