* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0a0a2a;
    color: #ffffff;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 42, 0.95);
    border-bottom: 1px solid rgba(0, 238, 255, 0.1);
}

.logo {
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo:hover {
    color: #0ef;
}

.navbar a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 30px;
    transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
    color: #0ef;
}

/* ===== HOME SECTION ===== */
.home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 8% 50px;
    min-height: 100vh;
    gap: 50px;
}

.home-content {
    flex: 1;
    max-width: 55%;
}

.home-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

.home-content h3 span {
    color: #0ef;
}

.home-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 10px 0;
    color: #fff;
}

.home-content p {
    font-size: 17px;
    line-height: 1.7;
    margin: 15px 0;
    color: #ccc;
}

.home-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 45%;
}

.home-image img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0ef;
    box-shadow: 0 0 30px rgba(0, 238, 255, 0.3);
}

/* ===== SOCIAL ICONS ===== */
.home-sci {
    margin: 20px 0;
}

.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 20px;
    color: #0ef;
    text-decoration: none;
    margin: 0 10px 0 0;
    transition: 0.4s;
}

.home-sci a:hover {
    background: #0ef;
    color: #0a0a2a;
    box-shadow: 0 0 20px #0ef;
}

/* ===== BUTTON ===== */
.btn-box {
    display: inline-block;
    padding: 12px 30px;
    background: #0ef;
    border-radius: 40px;
    font-size: 15px;
    color: #0a0a2a;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.3);
}

.btn-box:hover {
    box-shadow: 0 0 50px #0ef;
    transform: scale(1.03);
}

/* ===== ALL SECTIONS ===== */
section {
    padding: 100px 8% 50px;
    min-height: 100vh;
}

.section-content h2 {
    font-size: 38px;
    color: #0ef;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

/* ===== ABOUT ===== */
.about .section-content {
    max-width: 900px;
    margin: 0 auto;
}

.about h3 {
    font-size: 26px;
    margin: 15px 0;
    color: #fff;
}

.about p {
    font-size: 17px;
    line-height: 1.8;
    margin: 12px 0;
    color: #ccc;
}

.about-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 25px;
    margin: 25px 0;
}

.info-item {
    font-size: 16px;
    color: #ccc;
    padding: 5px 0;
}

.info-item span {
    color: #0ef;
    font-weight: 600;
    display: inline-block;
    width: 100px;
}

/* ===== SKILLS ===== */
.skill-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.skill-box {
    background: #1a1a3e;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(0, 238, 255, 0.15);
}

.skill-box h3 {
    font-size: 20px;
    color: #0ef;
    margin-bottom: 18px;
    text-align: center;
}

.skill-item {
    margin: 14px 0;
}

.skill-item span {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
    font-size: 15px;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background: #2a2a4e;
    border-radius: 10px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #0ef, #00aaff);
    border-radius: 10px;
    text-align: right;
    padding-right: 8px;
    font-size: 10px;
    line-height: 10px;
    color: #fff;
}

/* ===== PORTFOLIO ===== */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.project-card {
    background: #1a1a3e;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(0, 238, 255, 0.2);
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 238, 255, 0.1);
    border-color: #0ef;
}

.project-card h3 {
    font-size: 20px;
    color: #0ef;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
}

.project-tech {
    display: block;
    font-size: 13px;
    color: #888;
    margin: 10px 0 12px;
}

.view-btn {
    background: transparent;
    border: 1px solid #0ef;
    color: #0ef;
    padding: 6px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
    font-weight: 500;
}

.view-btn:hover {
    background: #0ef;
    color: #0a0a2a;
}

.project-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 238, 255, 0.2);
    text-align: left;
}

.project-details h4 {
    color: #0ef;
    font-size: 16px;
    margin: 12px 0 5px;
}

.project-details ul {
    color: #ccc;
    padding-left: 18px;
    margin: 4px 0;
}

.project-details ul li {
    margin: 3px 0;
    font-size: 14px;
}

.project-details .highlight {
    display: inline-block;
    background: #0ef;
    color: #0a0a2a;
    padding: 2px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin: 2px 4px 2px 0;
}

.project-details .paper {
    background: #0a0a2a;
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 3px solid #0ef;
    margin: 8px 0;
}

.project-details .paper p {
    color: #aaa;
    font-size: 13px;
    margin: 2px 0;
}

.project-details .paper strong {
    color: #0ef;
}

/* ===== CONTACT ===== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.contact-item {
    text-align: center;
    background: #1a1a3e;
    padding: 25px 20px;
    border-radius: 15px;
    border: 1px solid rgba(0, 238, 255, 0.1);
    transition: 0.3s;
}

.contact-item:hover {
    border-color: #0ef;
    transform: translateY(-3px);
}

.contact-item i {
    font-size: 35px;
    color: #0ef;
}

.contact-item h4 {
    font-size: 17px;
    margin: 10px 0 5px;
    color: #fff;
}

.contact-item p {
    color: #aaa;
    font-size: 14px;
}

.contact-form {
    max-width: 550px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin: 8px 0;
    background: #1a1a3e;
    border: 1px solid rgba(0, 238, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0ef;
    outline: none;
    box-shadow: 0 0 15px rgba(0, 238, 255, 0.1);
}

.contact-form .btn-box {
    width: 100%;
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .home {
        flex-direction: column-reverse;
        text-align: center;
        padding: 130px 5% 40px;
        gap: 30px;
    }
    .home-content {
        max-width: 100%;
    }
    .home-image {
        max-width: 100%;
    }
    .home-image img {
        width: 220px;
        height: 220px;
    }
    .home-content h1 {
        font-size: 36px;
    }
    .home-content h3 {
        font-size: 22px;
    }
    .home-sci {
        display: flex;
        justify-content: center;
    }
    .about-info {
        grid-template-columns: 1fr;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
    .navbar a {
        font-size: 14px;
        margin-left: 15px;
    }
    .section-content h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 5%;
        flex-wrap: wrap;
        gap: 10px;
    }
    .navbar a {
        font-size: 12px;
        margin-left: 10px;
    }
    .home {
        padding: 120px 4% 30px;
    }
    .home-content h1 {
        font-size: 28px;
    }
    .home-image img {
        width: 160px;
        height: 160px;
    }
    .home-content p {
        font-size: 15px;
    }
    .btn-box {
        padding: 10px 22px;
        font-size: 14px;
    }
    section {
        padding: 80px 4% 30px;
    }
}