@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0f172a;
    color: white;
    line-height: 1.7;
}

header {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 120px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(94,234,212,0.05);
    z-index: 1;
}

.logo {
    position: absolute;
    top: 30px;
    left: 120px;
    z-index: 3;
    font-size: 22px;
    font-weight: 600;
    color: #5eead4;
    text-decoration: none;
}

nav {
    position: absolute;
    top: 30px;
    right: 120px;
    z-index: 3;
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: .3s;
}

nav a:hover,
nav a.active {
    color: #5eead4;
}

.home-img img {
    width: 280px;
    border-radius: 50%;
    border: 4px solid #5eead4;
    box-shadow: 0 0 20px #5eead4;
    z-index: 2;
}

.home-content {
    position: relative;
    z-index: 2;
    background: rgba(15,23,42,0.8);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    max-width: 500px;
    text-align: center;
}

.home-content h3 {
    color: #5eead4;
    font-weight: 400;
}

.home-content h1 {
    font-size: 48px;
    margin: 5px 0;
}

.home-content p {
    color: #e0f7f4;
    margin: 15px 0 25px;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: #1e293b;
    color: #5eead4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 8px;
    transition: .3s;
}

.social-icons a:hover {
    background: #5eead4;
    color: #0f172a;
    transform: translateY(-6px);
}

section {
    padding: 100px 140px;
    background: rgba(30,41,59,0.8);
    margin: 60px 100px;
    border-radius: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

section h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #5eead4;
}

.about-content ul {
    list-style: none;
}

.about-content li {
    margin-bottom: 15px;
    color: #cbd5f5;
}

.courses-content ul {
    list-style: none;
}

.courses-content li {
    background: #1e293b;
    padding: 20px;
    border-radius: 15px;
    width: fit-content;
    transition: .3s;
}

.courses-content li:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(94,234,212,0.35);
}

.courses-content a {
    color: whitesmoke;
    text-decoration: none;
    font-weight: 500;
}

.skills span {
    display: inline-block;
    background: #1e293b;
    color: whitesmoke;
    padding: 10px 18px;
    border-radius: 20px;
    margin: 8px;
    font-size: 14px;
}

.project-content ul {
    list-style: none;
}

.project-content li {
    background: #1e293b;
    padding: 20px;
    border-radius: 15px;
    width: fit-content;
    transition: .3s;
}

.project-content li:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(94,234,212,0.35);
}

.project-content a {
    color: whitesmoke;
    text-decoration: none;
    font-weight: 500;
}

.contact-content a {
    color: lightblue;
    text-decoration: none;
    transition: .3s;
}

.contact-content a:hover {
    text-decoration: underline;
}

.course-header {
    min-height: auto;
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.course-header h1 {
    color: #5eead4;
    font-size: 32px;
}

.course-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.course-bar .btn {
    background: #1e293b;
    color: white;
    padding: 10px 18px;
    border-radius: 20px;
    text-decoration: none;
    transition: .3s;
    font-size: 14px;
}

.course-bar .btn:hover {
    background: #5eead4;
    color: #0f172a;
}

.course {
    padding: 40px;
}

.course h3 {
    color: #5eead4;
    margin-top: 25px;
}

.course p {
    color: #cbd5f5;
    margin-top: 10px;
}

.course a {
    color: lightblue;
    text-decoration: none;
    transition: .3s;
}

.course a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {

    header {
        flex-direction: column;
        padding: 140px 40px 80px;
        text-align: center;
    }

    .logo {
        left: 40px;
    }

    nav {
        right: 40px;
    }

    section {
        padding: 80px 40px;
    }

    .home-img img {
        width: 220px;
        margin-bottom: 25px;
    }

    .home-content {
        max-width: 100%;
    }

}

