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


body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #f0f0f0;
    line-height: 1.6;
}

header {
    position: relative;
    text-align: center;
    color: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
    background-image: url('images/header_bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

    header::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(2px);
        z-index: 0;
    }

    header h1, header p, header img {
        position: relative;
        z-index: 1;
    }

    header h1 {
        font-size: 3em;
        margin-bottom: 10px;
    }

    header p {
        font-size: 1.2em;
        color: #ddd;
    }

section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #fff;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
    }

.carousel {
    position: relative;
    overflow: hidden;
}

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

.carousel-item {
    min-width: 100%;
    text-align: center;
    padding: 20px;
}

    .carousel-item img {
        max-width: 100%;
        height: 400px;
        border-radius: 10px;
        margin-bottom: 20px;
        transition: transform 0.3s;
    }

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

    .carousel-item ul {
        list-style: none;
        padding: 0;
        margin: 10px 0 0 0;
      /*  background: rgba(255, 255, 255, 0.05); */
    }

    .carousel-item li {
        margin: 5px 0;
        background: rgba(255, 255, 255, 0.05);
        padding: 5px 10px;
        border-radius: 5px;
    }

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    text-shadow: 0 0 5px #000;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 30px;
    border-radius: 50%;
    transition: transform 0.3s, opacity 0.3s;
}

    .nav:hover {
        transform: translateY(-50%) scale(1.2);
        opacity: 0.8;
    }

    .nav.prev {
        left: 15px;
    }

    .nav.next {
        right: 15px;
    }

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    list-style: none;
    text-align: center;
}

    .skills-list li {
        background: rgba(255, 255, 255, 0.1);
        padding: 15px;
        border-radius: 10px;
        transition: transform 0.3s, background 0.3s;
    }

        .skills-list li:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.2);
        }

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: auto;
}

    form input, form textarea {
        padding: 10px;
        border: 1px solid #555;
        border-radius: 5px;
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
    }

    form button {
        padding: 10px;
        background: #4facfe;
        color: white;
        border: none;
        cursor: pointer;
        border-radius: 5px;
        transition: background 0.3s;
    }

        form button:hover {
            background: #00c6ff;
        }

footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 40px;
    font-size: 0.9em;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

.accordion {
    max-width: 700px;
    margin: auto;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.accordion-header {
    background: none;
    color: #fff;
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.2em;
    transition: background 0.3s;
}

    .accordion-header:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px;
}

    .accordion-content ul {
        list-style: none;
        padding: 10px 0;
    }

    .accordion-content li {
        padding: 5px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 10px 20px;
}

.welcome-animation {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

    .welcome-animation span {
        font-size: 2em;
        margin: 0 2px;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.5s forwards;
    }

        .welcome-animation span:nth-child(1) {
            animation-delay: 0s;
        }

        .welcome-animation span:nth-child(2) {
            animation-delay: 0.1s;
        }

        .welcome-animation span:nth-child(3) {
            animation-delay: 0.2s;
        }

        .welcome-animation span:nth-child(4) {
            animation-delay: 0.3s;
        }

        .welcome-animation span:nth-child(5) {
            animation-delay: 0.4s;
        }

        .welcome-animation span:nth-child(6) {
            animation-delay: 0.5s;
        }

        .welcome-animation span:nth-child(7) {
            animation-delay: 0.6s;
        }

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