* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #0c0f1d;
    color: white;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
}

.logo span {
    color: #4e9cff;
}

nav a {
    margin-left: 20px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: #4e9cff;
}

/* SECTIONS */
.section {
    padding: 120px 50px;
}

/* HERO */
.hero {
    height: 100vh;
    background-image: url("woow.jpg"); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
    border-radius: 15px;
}

.profile-img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #4e9cff;
    margin-bottom: 15px;
}

.hero-box h2 span {
    color: #4e9cff;
}

/* ABOUT */
.about-section {
    padding: 100px 50px;
    text-align: center;
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    color: red;
    margin-bottom: 40px;
}

.about-wrapper {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
}

.about-text {
    width: 500px;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: left;
}

/* SKILLS */
.skills-box {
    width: 300px;
    text-align: center;
}

.skills-box h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-btn {
    padding: 12px;
    background: red;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    border: 1px solid #b30000;
    transition: 0.2s;
}

.skill-btn:hover {
    background: #ff4d4d;
}

/* PROJECT GRID */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.highlight-video {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
}

/* CONTACT */
.contact {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.05);
}

/* FIX NAV SCROLL OVERLAP */
#about, #projects, #contact {
    scroll-margin-top: 90px;
}

.project-img {
    width: 60%;      
    max-width: 300px; 
    height: auto;     
    border-radius: 10px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto; 
    margin-right: auto;
}