
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0f172a;
    color: #e5e7eb;
    line-height: 1.6;
}


.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 40px;
    color: #38bdf8;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #38bdf8;
    color: #0f172a;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background: #0ea5e9;
}

.btn-outline {
    background: transparent;
    border: 2px solid #38bdf8;
    color: #38bdf8;
    margin-left: 15px;
}

.btn-outline:hover {
    background: #38bdf8;
    color: #0f172a;
}


header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.95);
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #38bdf8;
    cursor: pointer;
}


.logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #38bdf8;
    background-color: #020617;   
    padding: 2px;              
}

.logo span {
    white-space: nowrap;
}


.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #e5e7eb;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}


.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    text-align: center;
}

.home-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.home-content h1 span {
    color: #38bdf8;
}

.home-content h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.home-content p {
    max-width: 650px;
    margin: auto;
    font-size: 1rem;
    margin-bottom: 35px;
}


.about {
    max-width: 900px;
    margin: auto;
    padding: 80px 20px;
    text-align: center;
}


.education {
    padding: 80px 20px;
    max-width: 1000px;
    margin: auto;
}

.education-item {
    background: #020617;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.education-item h3 {
    color: #38bdf8;
}

.education-item span {
    font-size: 0.9rem;
    color: #94a3b8;
}


.skills {
    padding: 80px 20px;
}

.skills-container {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    margin: auto;
    flex-wrap: wrap;
}

.skill-box {
    flex: 1;
    min-width: 280px;
    background: #020617;
    padding: 25px;
    border-radius: 10px;
}

.skill-box h3 {
    margin-bottom: 15px;
    color: #38bdf8;
}

.skill-box ul {
    list-style: none;
}

.skill-box ul li {
    margin-bottom: 10px;
}


.projects {
    padding: 80px 20px;
    max-width: 1000px;
    margin: auto;
}

.project-card {
    background: #020617;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.project-card h3 {
    color: #38bdf8;
}

.project-card span {
    font-size: 0.9rem;
    color: #94a3b8;
}


.experience {
    padding: 80px 20px;
    max-width: 1000px;
    margin: auto;
}

.experience-item {
    background: #020617;
    padding: 25px;
    border-radius: 10px;
}

.experience-item h3 {
    color: #38bdf8;
}

.experience-item ul {
    margin-top: 10px;
    padding-left: 20px;
}


.certifications {
    padding: 80px 20px;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.certifications ul {
    list-style: none;
}

.certifications ul li {
    background: #020617;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}


.contact {
    padding: 80px 20px;
    text-align: center;
}

.contact a {
    color: #38bdf8;
    text-decoration: none;
}


footer {
    background: #020617;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}


@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .nav-links {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li {
        margin: 10px;
    }

    .home-content h1 {
        font-size: 2.3rem;
    }
}

.nav-links a.active {
    color: #38bdf8;
    font-weight: 600;
}


.profile-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.profile-modal img {
    width: 280px;
    max-width: 80%;
    border-radius: 12px;
    border: 3px solid #38bdf8;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #38bdf8;
    cursor: pointer;
}

/* =====================
   Profile Image Modal
===================== */
.profile-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.profile-box {
    text-align: center;
    animation: zoomIn 0.4s ease;
}

.profile-box img {
    width: 300px;
    max-width: 85%;
    border-radius: 16px;
    border: 3px solid #38bdf8;
    margin-bottom: 15px;
}

.profile-box h3 {
    color: #38bdf8;
    margin-bottom: 5px;
}

.profile-box p {
    font-size: 0.95rem;
    color: #cbd5f5;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #38bdf8;
    cursor: pointer;
}

