/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: white;
    padding-top: 80px;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}

/* NAVBAR */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 32, 39, 0.9);
    backdrop-filter: blur(10px);

    display: flex;
    flex-direction: column;   /* CHANGE */
    align-items: center;      /* CENTER */
    padding: 15px 0;
}
.nav-links {
    display: flex;
    gap: 25px;
}
.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.nav-links a:hover {
    color: #00d9ff;
}

/* HERO */
.hero {
    min-height: 100vh;
    text-align: center;
     padding-top: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.role {
    color: #00d9ff;
    margin-bottom: 20px;
    font-size: 20px;
}

/* BUTTON */
.btn {
    background: #00d9ff;
    color: black;
    padding: 12px 30px;
    margin: 20px auto;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;   /* IMPORTANT */
     width: fit-content !important;            /* ADD THIS */
}

.btn:hover {
    background: #00e0ff;
    box-shadow: 0 0 10px #00e0ff;
}

/* SMALL BUTTON */
.small {
    padding: 6px 15px;
    font-size: 14px;
}

/* SECTIONS */
section {
    padding: 100px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* PROJECTS */
.project-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;   /* increased */
    border-radius: 15px;
    width: 270px;
    transition: 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
    transition: 0.3s ease;
}

/* SKILLS */
.skills {
    margin-top: 20px;
}

.skills span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 20px;
    margin: 5px;
}

/* CONTACT */
.highlight {
    color: #00d9ff;
}
h2 {
    margin-bottom: 20px;
}
.logo {
    margin-bottom: 10px;
}
.card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.card p {
    margin-bottom: 18px;
    line-height: 1.5;
}
.card .btn {
    margin: 5px 0;
}
.projects {
    padding: 100px 20px;   /* more breathing space */
}
html {
    scroll-behavior: smooth;
}