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

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================
   NAVIGATION
========================= */

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid #dbeafe;
}

.nav-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2563eb;
}

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

.nav-links a {
    color: #374151;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2563eb;
}


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

.hero {
    padding: 110px 0;
    background-color: #f5f9ff;
    border-bottom: 1px solid #dbeafe;
}

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

.hero-greeting {
    font-size: 2rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 18px;
    position: relative;
}

.hero-greeting::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    background-color: #2563eb;
    margin-top: 12px;
    border-radius: 3px;
}

.hero p {
    font-size: 1.15rem;
    color: #4b5563;
    max-width: 650px;
    margin-bottom: 30px;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

/* Main portfolio button */
.primary-button {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.primary-button:hover {
    background-color: #1d4ed8;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Writing button */
.writing-button {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.writing-button:hover {
    background-color: #1d4ed8;
    color: #ffffff;
    transform: translateY(-2px);
}


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

section {
    padding: 80px 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #111827;
}

.section-heading {
    margin-bottom: 35px;
}

.section-heading h2 {
    position: relative;
    padding-left: 15px;
}

.section-heading h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background-color: #2563eb;
    border-radius: 4px;
}

.section-intro {
    color: #6b7280;
    margin-bottom: 40px;
}

.section-label {
    color: #2563eb;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}


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

#about {
    background-color: #ffffff;
    border-bottom: 1px solid #eef4ff;
}

.about-content {
    max-width: 800px;
}

.about-content p {
    margin-bottom: 18px;
    color: #4b5563;
}


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

.projects-section {
    background-color: #f7faff;
    border-top: 1px solid #e8f0ff;
    border-bottom: 1px solid #e8f0ff;
}

.projects {
    background-color: #f9fafb;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.project-card {
    background-color: #ffffff;
    padding: 30px;
    border: 1px solid #dbeafe;
    border-top: 4px solid #2563eb;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #2563eb;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.10);
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #111827;
}

.project-card p {
    color: #6b7280;
    margin-bottom: 20px;
}

.project-category {
    color: #2563eb !important;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-bottom: 10px !important;
}

.project-link {
    color: #2563eb;
    font-weight: bold;
}

.project-link:hover {
    color: #1d4ed8;
}


/* =========================
   WRITING
========================= */

.writing-section {
    background-color: #ffffff;
}

.writing {
    background-color: #ffffff;
}

.writing-content {
    max-width: 750px;
}

.writing-content p {
    color: #6b7280;
    margin-bottom: 25px;
}

.writing-link {
    color: #2563eb;
    font-weight: bold;
}

.writing-link:hover {
    color: #1d4ed8;
}


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

#skills {
    background-color: #f7faff;
    border-top: 1px solid #e8f0ff;
}

.skills {
    background-color: #f9fafb;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.skill {
    background-color: #eff6ff;
    color: #1d4ed8;
    padding: 9px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #dbeafe;
}

/* Your actual skill tags */
.skill-tag {
    background-color: #eff6ff;
    color: #1d4ed8;
    padding: 9px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #dbeafe;
    transition: all 0.25s ease;
}

.skill-tag:hover {
    background-color: #dbeafe;
    transform: translateY(-2px);
}


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

.contact-section {
    background-color: #f5f9ff;
    border-top: 1px solid #dbeafe;
}

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

.contact-content p {
    color: #6b7280;
    margin-bottom: 25px;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-links a {
    color: #2563eb;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-links a:hover {
    color: #1d4ed8;
}


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

footer {
    background-color: #111827;
    color: #d1d5db;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}


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

@media (max-width: 800px) {

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

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

    .hero {
        padding: 80px 0;
    }

    .hero-greeting {
        font-size: 1.7rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 1.7rem;
    }

    .contact-links {
        flex-direction: column;
        gap: 12px;
    }
}
