/* ------------------------------
   BASIC SETTINGS
-------------------------------- */

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

html {
    scroll-behavior: smooth;
}

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


/* ------------------------------
   NAVIGATION BAR
-------------------------------- */

header {
    background-color: #111827;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1100px;
    margin: auto;

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

    padding: 18px 20px;
}

.logo {
    color: #ffffff;
    font-size: 28px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
}

.nav-links a:hover {
    color: #38bdf8;
}


/* ------------------------------
   HOME SECTION
-------------------------------- */

.home {
    min-height: 90vh;

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

    text-align: center;

    padding: 40px 20px;

    background: linear-gradient(
        135deg,
        #111827,
        #1e3a8a
    );

    color: white;
}

.home-content {
    max-width: 700px;
}

.welcome {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.home h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.home h1 span {
    color: #38bdf8;
}

.home h2 {
    font-size: 25px;
    margin-bottom: 20px;
}

.home p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;

    background-color: #38bdf8;
    color: #111827;

    padding: 12px 25px;

    text-decoration: none;

    border-radius: 5px;

    font-weight: bold;
}

.btn:hover {
    background-color: #ffffff;
}


/* ------------------------------
   COMMON SECTION
-------------------------------- */

.section {
    max-width: 1100px;
    margin: auto;

    padding: 80px 20px;
}

.section-title {
    text-align: center;

    font-size: 35px;

    margin-bottom: 45px;

    color: #111827;
}

.section-title::after {
    content: "";

    display: block;

    width: 60px;
    height: 4px;

    background-color: #38bdf8;

    margin: 10px auto;
}


/* ------------------------------
   ABOUT SECTION
-------------------------------- */

.about-content {
    display: flex;
    justify-content: center;
}

.about-box {
    max-width: 800px;

    background-color: #f3f4f6;

    padding: 35px;

    border-radius: 10px;

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

.about-box h3 {
    font-size: 25px;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.about-box p {
    margin-bottom: 15px;
}


/* ------------------------------
   EDUCATION SECTION
-------------------------------- */

.education-section {
    background-color: #f8fafc;
}

.education-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.education-card {
    width: 450px;

    background-color: white;

    padding: 30px;

    border-left: 5px solid #38bdf8;

    border-radius: 8px;

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

.education-card h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

.year {
    color: #0284c7;
    font-weight: bold;
    margin-bottom: 10px;
}


/* ------------------------------
   SKILLS SECTION
-------------------------------- */

.skills-container {
    display: grid;

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

    gap: 20px;
}

.skill-card {
    padding: 25px;

    text-align: center;

    background-color: #f3f4f6;

    border-radius: 8px;

    transition: 0.3s;
}

.skill-card h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

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

    box-shadow:
        0 8px 20px
        rgba(0, 0, 0, 0.12);
}


/* ------------------------------
   PROJECTS SECTION
-------------------------------- */

.projects-section {
    background-color: #f8fafc;
}

.projects-container {
    display: grid;

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

    gap: 20px;
}

.project-card {
    background-color: white;

    padding: 30px;

    border-radius: 8px;

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

    transition: 0.3s;
}

.project-card h3 {
    color: #1e3a8a;

    margin-bottom: 12px;
}

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


/* ------------------------------
   CONTACT SECTION
-------------------------------- */

.contact-section {
    text-align: center;
}

.contact-box {
    max-width: 600px;

    margin: auto;

    background-color: #f3f4f6;

    padding: 30px;

    border-radius: 10px;
}

.contact-box p {
    margin: 12px 0;
}


/* ------------------------------
   FOOTER
-------------------------------- */

footer {
    background-color: #111827;

    color: white;

    text-align: center;

    padding: 20px;
}


/* ------------------------------
   MOBILE RESPONSIVE
-------------------------------- */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .home h1 {
        font-size: 35px;
    }

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

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

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

    .education-card {
        width: 100%;
    }
}
