/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #f8f9ff;
}


/* ========================================
   NAVBAR
======================================== */

.navbar {
    width: 100%;
    padding: 18px 7%;

    background: #ffffff;

    display: flex;
    justify-content: space-between;
    align-items: center;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #4f46e5;
}

.navbar nav {
    display: flex;
    gap: 24px;
}

.navbar nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.navbar nav a:hover {
    color: #4f46e5;
}


/* ========================================
   HOME / HERO
======================================== */

.hero {
    min-height: 90vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 80px 7%;

    background:
        radial-gradient(
            circle at top left,
            #ddd6fe,
            transparent 30%
        ),
        radial-gradient(
            circle at bottom right,
            #c7d2fe,
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #eef2ff,
            #ffffff,
            #f5f3ff
        );
}

.hero-content {
    max-width: 850px;
}


/* Small developer badge */

.hero-badge {
    display: inline-block;

    padding: 8px 18px;

    margin-bottom: 20px;

    border-radius: 30px;

    background: white;

    color: #4f46e5;

    font-size: 14px;

    font-weight: bold;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}


/* Hello */

.hello {
    font-size: 20px;

    color: #4f46e5;

    font-weight: 600;

    margin-bottom: 5px;
}


/* Name */

.hero h1 {
    font-size: 65px;

    color: #17123b;

    margin-bottom: 5px;
}


/* Job title */

.hero h2 {
    font-size: 30px;

    color: #4f46e5;

    margin-bottom: 20px;
}


/* Description */

.hero-description {
    font-size: 18px;

    color: #555;

    max-width: 700px;

    margin: auto;

    line-height: 1.8;
}


/* Buttons */

.hero-buttons {
    margin-top: 30px;

    display: flex;

    justify-content: center;

    gap: 15px;
}

.btn {
    display: inline-block;

    padding: 13px 25px;

    background: #4f46e5;

    color: white;

    text-decoration: none;

    border-radius: 8px;

    font-weight: bold;

    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(79, 70, 229, 0.3);
}


/* Outline button */

.btn-outline {
    background: transparent;

    color: #4f46e5;

    border: 2px solid #4f46e5;
}

.btn-outline:hover {
    background: #4f46e5;

    color: white;
}


/* Technology tags */

.hero-skills {
    margin-top: 35px;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;
}

.hero-skills span {
    padding: 8px 15px;

    background: rgba(255, 255, 255, 0.8);

    border: 1px solid #ddd;

    border-radius: 20px;

    color: #4f46e5;

    font-size: 13px;

    font-weight: 600;

    transition: 0.3s;
}

.hero-skills span:hover {
    transform: translateY(-3px);

    background: #4f46e5;

    color: white;
}


/* ========================================
   GENERAL SECTIONS
======================================== */

.section {
    padding: 90px 7%;
}

.section-title {
    text-align: center;

    margin-bottom: 50px;
}

.section-title p {
    color: #4f46e5;

    font-weight: 600;

    margin-bottom: 5px;
}

.section-title h2 {
    font-size: 38px;

    color: #17123b;
}


/* ========================================
   ABOUT
======================================== */

.about-content {
    max-width: 900px;

    margin: auto;
}

.about-text {
    background: white;

    padding: 40px;

    border-radius: 15px;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.08);

    border-left: 5px solid #4f46e5;
}

.about-text h3 {
    font-size: 25px;

    color: #4f46e5;

    margin-bottom: 20px;
}

.about-text p {
    color: #555;

    margin-bottom: 15px;
}


/* ========================================
   SKILLS
======================================== */

.skills-section {
    background: #eef2ff;
}

.skills-container {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.skill-card {
    background: white;

    padding: 30px;

    border-radius: 15px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.07);

    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 12px 30px rgba(79, 70, 229, 0.18);
}

.skill-card h3 {
    color: #17123b;

    margin-bottom: 20px;
}

.skill-list {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.skill-list span {
    background: #eef2ff;

    color: #4f46e5;

    padding: 8px 15px;

    border-radius: 20px;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s;
}

.skill-list span:hover {
    background: #4f46e5;

    color: white;
}


/* ========================================
   EXPERIENCE
======================================== */

.experience-card {
    max-width: 950px;

    margin: auto;

    background: white;

    padding: 35px;

    border-radius: 15px;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.08);

    border-left: 5px solid #4f46e5;
}

.experience-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    margin-bottom: 25px;
}

.experience-header h3 {
    font-size: 24px;

    color: #17123b;
}

.experience-header h4 {
    color: #4f46e5;

    margin-top: 5px;
}

.experience-header span {
    color: #666;

    font-weight: 600;
}

.experience-card ul {
    padding-left: 20px;
}

.experience-card li {
    margin-bottom: 10px;

    color: #555;
}


/* ========================================
   PROJECTS
======================================== */

.projects-section {
    background: #eef2ff;
}

.projects-container {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
}

.project-card {
    position: relative;

    background: white;

    padding: 35px;

    border-radius: 15px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.08);

    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(79, 70, 229, 0.18);
}

.project-number {
    font-size: 15px;

    font-weight: bold;

    color: #4f46e5;

    margin-bottom: 10px;
}

.project-card h3 {
    font-size: 25px;

    color: #17123b;

    margin-bottom: 10px;
}

.project-tech {
    color: #4f46e5 !important;

    font-weight: 600;

    margin-bottom: 15px;
}

.project-card p {
    color: #555;

    margin-bottom: 15px;
}

.project-card ul {
    padding-left: 20px;

    margin-bottom: 20px;
}

.project-card li {
    color: #555;

    margin-bottom: 5px;
}

.project-link {
    display: inline-block;

    color: #4f46e5;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;
}

.project-link:hover {
    transform: translateX(5px);
}


/* ========================================
   EDUCATION
======================================== */

.education-container {
    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.education-card {
    background: white;

    padding: 30px;

    border-radius: 15px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.07);

    transition: 0.3s;
}

.education-card:hover {
    transform: translateY(-5px);
}

.education-year {
    display: inline-block;

    background: #eef2ff;

    color: #4f46e5;

    padding: 6px 12px;

    border-radius: 20px;

    font-size: 13px;

    font-weight: bold;

    margin-bottom: 15px;
}

.education-card h3 {
    color: #17123b;

    margin-bottom: 8px;
}

.education-card p {
    color: #555;

    margin-bottom: 8px;
}

.education-card h4 {
    color: #4f46e5;
}


/* ========================================
   CERTIFICATIONS
======================================== */

.certifications-section {
    background: #eef2ff;
}

.certifications-container {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.certificate-card {
    background: white;

    padding: 30px;

    border-radius: 15px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.07);

    transition: 0.3s;
}

.certificate-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 12px 30px rgba(79, 70, 229, 0.18);
}

.certificate-card span {
    color: #4f46e5;

    font-weight: bold;
}

.certificate-card h3 {
    color: #17123b;

    margin: 15px 0;
}

.certificate-card p {
    color: #666;
}


/* ========================================
   CONTACT
======================================== */

.contact-section {
    background: white;
}

.contact-container {
    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.contact-card {
    background: #f8f9ff;

    padding: 25px;

    border-radius: 12px;

    text-align: center;

    transition: 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 25px rgba(79, 70, 229, 0.12);
}

.contact-card h3 {
    color: #17123b;

    margin-bottom: 8px;
}

.contact-card a {
    color: #4f46e5;

    text-decoration: none;

    font-weight: 600;

    word-break: break-word;
}

.contact-card a:hover {
    text-decoration: underline;
}


/* ========================================
   FOOTER
======================================== */

footer {
    background: #17123b;

    color: white;

    text-align: center;

    padding: 25px;
}

footer p {
    font-size: 14px;
}


/* ========================================
   TABLET RESPONSIVE
======================================== */

@media (max-width: 900px) {

    .navbar {
        flex-direction: column;

        gap: 15px;
    }

    .navbar nav {
        flex-wrap: wrap;

        justify-content: center;
    }

    .hero h1 {
        font-size: 48px;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

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

    .certifications-container {
        grid-template-columns: 1fr 1fr;
    }
}


/* ========================================
   MOBILE RESPONSIVE
======================================== */

@media (max-width: 600px) {

    .navbar {
        padding: 15px 5%;
    }

    .logo {
        font-size: 21px;
    }

    .navbar nav {
        gap: 10px;

        justify-content: center;
    }

    .navbar nav a {
        font-size: 12px;
    }


    /* Home */

    .hero {
        min-height: 80vh;

        padding: 60px 5%;
    }

    .hero-badge {
        font-size: 12px;

        padding: 7px 14px;
    }

    .hello {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: center;
    }

    .btn {
        width: 200px;

        text-align: center;
    }

    .hero-skills {
        margin-top: 25px;
    }


    /* Sections */

    .section {
        padding: 60px 5%;
    }

    .section-title h2 {
        font-size: 30px;
    }


    /* About */

    .about-text {
        padding: 25px;
    }


    /* Experience */

    .experience-card {
        padding: 25px;
    }

    .experience-header {
        flex-direction: column;

        gap: 10px;
    }


    /* Education */

    .education-container {
        grid-template-columns: 1fr;
    }


    /* Certifications */

    .certifications-container {
        grid-template-columns: 1fr;
    }


    /* Contact */

    .contact-container {
        grid-template-columns: 1fr;
    }

}
/* ========================================
   ABOUT HIGHLIGHTS
======================================== */

.about-highlights {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-top: 30px;
}

.about-highlight {
    padding: 20px;

    background: #f8f9ff;

    border-radius: 12px;

    border: 1px solid #e5e7eb;

    transition: 0.3s;
}

.about-highlight:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 25px rgba(79, 70, 229, 0.12);
}

.about-highlight h4 {
    color: #4f46e5;

    margin-bottom: 8px;
}

.about-highlight p {
    color: #555;

    font-size: 14px;

    margin-bottom: 0;
}


/* About highlights on mobile */

@media (max-width: 600px) {

    .about-highlights {
        grid-template-columns: 1fr;
    }

}