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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #0b1a3a;
    color: white;
}

a {
    text-decoration: none;
    color: white;
}

a:hover {
    color: #2dd4bf;
}

/* LOGO */
.logo img {
    width: 120px;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 60px;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar ul li a {
    position: relative;
}

.navbar ul li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: #2dd4bf;
    transition: 0.3s;
}

.navbar ul li a:hover::after {
    width: 100%;
}

/* HERO */
.hero {
    padding: 60px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left {
    max-width: 500px;
}

.intro {
    color: #2dd4bf;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.left h1 {
    font-size: 50px;
    margin-bottom: 15px;
}

.role {
    color: #94a3b8;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    gap: 15px;
}

.btn-primary,
.btn-outline {
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-primary {
    background: #2dd4bf;
    border: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid #2dd4bf;
    color: white;
}

button:hover {
    transform: translateY(-3px);
    transition: 0.3s;
}

.right img {
    width: 350px;
    border-radius: 20px;
}

/* ABOUT */
#about {
    display: flex;
    padding: 80px;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 300px;
    border-radius: 20px;
}

.experience {
    position: absolute;
    bottom: -10px;
    left: 50px;
    background: #2dd4bf;
    color: black;
    padding: 10px;
    border-radius: 10px;
}

.about-text h5 {
    color: #2dd4bf;
    margin-bottom: 10px;
}

.about-text h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about-text p {
    color: #cbd5e1;
    margin-bottom: 15px;
    line-height: 1.6;
}

.skills span {
    border: 1px solid #2dd4bf;
    padding: 8px 15px;
    border-radius: 20px;
    margin: 5px;
    display: inline-block;
}

/* PROJECTS */
#projects {
    padding: 80px;
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.project-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.card {
    height: 220px;
    background: #1e2a5a;
    border-radius: 15px;
    padding: 20px;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    transition: 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.project-logo {
    width: 50px;
    height: 50px;
}

.card h3 {
    font-size: 18px;
}

.card p {
    font-size: 14px;
    color: #cbd5e1;
}

/* CONTACT */
#contact {
    text-align: center;
    padding: 50px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #08122c;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content,
    #about {
        flex-direction: column;
        text-align: center;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}