* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

body {
    background: #050a0a;
    color: #fff;
    min-height: 100vh;
}

/* ===========================
   HEADER
=========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.8rem 10%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.logo {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    transition: 0.4s ease;
}

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

.logo span {
    color: #00e5ff;
}

.navbar a {
    font-size: 1.3rem;
    color: #ccc;
    margin-left: 2.5rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.navbar a:hover,
.navbar a.active {
    color: #00e5ff;
    border-bottom: 2px solid #00e5ff;
}

#menu_icon {
    font-size: 3rem;
    color: #00e5ff;
    display: none;
    cursor: pointer;
}

/* ===========================
   PROJECTS SECTION
=========================== */
.projects {
    min-height: 100vh;
    padding: 12rem 10% 6rem;
    background: radial-gradient(ellipse at 50% 30%, rgba(0, 229, 255, 0.05) 0%, transparent 60%);
}

.heading {
    font-size: 4.5rem;
    text-align: center;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    font-weight: 800;
}

.heading::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    /* background: #00e5ff; */
    margin: 1rem auto 3rem;
}

/* Projects Grid */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Project Card */
.project-card {
    background: #1c1c1c;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
    border-color: #00e5ff;
}

/* Image Container */
.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

/* Project Info */
.project-info {
    padding: 2rem 2rem 2.5rem;
    position: relative;
}

.project-info h3 {
    font-size: 1.8rem;
    color: #00e5ff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-info p {
    font-size: 1.1rem;
    color: #b0b8c1;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Live Link Button */
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: transparent;
    color: #00e5ff;
    border: 2px solid #00e5ff;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #00e5ff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    transform: translateX(5px);
}

.project-link i {
    font-size: 1.3rem;
}

/* Badge for Featured Projects */
.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #00e5ff;
    color: #000;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 10;
}

/* ===========================
   RESPONSIVE — 992px
=========================== */
@media (max-width: 992px) {
    .header { padding: 1.5rem 6%; }

    #menu_icon { display: block; }

    .navbar {
        position: absolute;
        top: 100%;
        right: 5%;
        background: rgba(0, 0, 0, 0.97);
        flex-direction: column;
        padding: 2rem;
        border-radius: 12px;
        border: 1px solid rgba(0, 229, 255, 0.2);
        display: none;
        min-width: 180px;
        z-index: 200;
    }

    .navbar.show { display: flex; }

    .navbar a {
        margin-left: 0;
        margin-bottom: 1rem;
        font-size: 1.4rem;
    }

    .projects {
        padding: 10rem 6% 5rem;
    }

    .projects-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

/* ===========================
   RESPONSIVE — 768px
=========================== */
@media (max-width: 768px) {
    .heading {
        font-size: 3rem;
    }

    .projects {
        padding: 10rem 6% 4rem;
    }

    .projects-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-card img {
        height: 220px;
    }

    .project-info {
        padding: 1.8rem 1.5rem 2rem;
    }

    .project-info h3 {
        font-size: 1.6rem;
    }

    .project-info p {
        font-size: 1.05rem;
    }
}

/* ===========================
   RESPONSIVE — 576px
=========================== */
@media (max-width: 576px) {
    .header { padding: 1.2rem 5%; }
    .logo { font-size: 1.8rem; }

    .heading {
        font-size: 2.5rem;
    }

    .projects {
        padding: 9rem 5% 4rem;
    }

    .project-card img {
        height: 200px;
    }

    .project-info {
        padding: 1.5rem 1.2rem 1.8rem;
    }

    .project-info h3 {
        font-size: 1.5rem;
    }

    .project-info p {
        font-size: 1rem;
    }

    .project-link {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
}