/* ==================================================
   01. BASIC WEBSITE SETTINGS
   ================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0f19;
    color: #e5e7eb;
    line-height: 1.6;
}

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


/* ==================================================
   02. NAVIGATION
   ================================================== */

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

    background: rgba(11, 15, 25, 0.95);
    border-bottom: 1px solid #1f2937;
}

.navigation {
    max-width: 1200px;
    margin: auto;
    padding: 20px 30px;

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #38bdf8;
}

.navigation-links {
    display: flex;
    gap: 30px;
}

.navigation-links a {
    color: #cbd5e1;
    transition: 0.2s;
}

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


/* ==================================================
   03. INTRODUCTION BANNER
   ================================================== */

.introduction {
    width: 100%;
    background: #0b0f19;
}

.introduction img {
    display: block;
    width: 100%;
    height: auto;
}

/* ==================================================
   04. BUTTONS
   ================================================== */

   #about .introduction-buttons {
    margin-top: 0;
    margin-bottom: 30px;
}

.button {
    display: inline-block;

    padding: 13px 24px;

    border-radius: 8px;

    font-weight: bold;

    transition:
        transform 0.2s,
        background 0.2s,
        color 0.2s;
}

.button:hover {
    transform: translateY(-3px);
}

.primary-button {
    background: #38bdf8;
    color: #08111c;
}

.primary-button:hover {
    background: #7dd3fc;
}

.secondary-button {
    border: 1px solid #38bdf8;

    color: #38bdf8;
}

.secondary-button:hover {
    background: rgba(56, 189, 248, 0.1);
}


/* ==================================================
   05. PAGE SECTIONS
   ================================================== */


.page-section {

    max-width: 1200px;
    margin: auto;
    padding: 65px 30px;
}

.page-section > h2 {
    font-size: 34px;
    color: white;
    margin-bottom: 25px;
}

.page-section > h2::after {
    content: "";

    display: block;

    width: 60px;
    height: 4px;

    margin-top: 10px;

    background: #38bdf8;

    border-radius: 5px;
}

.page-section > p {
    max-width: 800px;

    margin-bottom: 15px;

    color: #cbd5e1;

    font-size: 18px;
}

.section-category {
    color: #38bdf8;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 3px;

    margin-bottom: 5px;
}

.section-description {

    max-width: 700px;

    color: #94a3b8;

    margin-top: -15px;

    margin-bottom: 30px;

}


/* ==================================================
   06. TECHNICAL SKILLS
   ================================================== */

.skills-container {
    display: grid;

    grid-template-columns: repeat(4, 280px);

    gap: 18px;

    margin-top: 35px;

    justify-content: start;
    align-items: stretch;
}

.skill-card {
    width: 280px;
    padding: 15px;

    background: #111827;

    border: 1px solid #1f2937;
    border-radius: 10px;

    transition: 0.25s;
}

.skill-card:hover {
    border-color: #38bdf8;

    transform: translateY(-4px);
}

.skill-icon {
    display: inline-flex;

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

    min-width: 45px;
    height: 35px;

    padding: 0 10px;

    margin-bottom: 18px;

    background: rgba(56, 189, 248, 0.08);

    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 6px;

    color: #38bdf8;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 1px;
}

.skill-card h3 {
    color: white;

    font-size: 19px;

    margin-bottom: 16px;
}

.skill-list {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.skill {
    padding: 10px 0;

    border-bottom: 1px solid #1f2937;
}

.skill:last-child {
    border-bottom: none;
}

.skill strong {
    display: block;

    color: #e5e7eb;

    margin-bottom: 3px;
}

.skill div > span {
    color: #64748b;

    font-size: 13px;
}


/* ==================================================
   07. PROJECTS
   ================================================== */

.projects-container {
    display: grid;

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

    gap: 25px;
}

.project-card {

    min-height: 220px;

    padding: 24px;

    background: #111827;

    border: 1px solid #1f2937;

    border-radius: 12px;

    transition:

        transform 0.25s,

        border-color 0.25s;

}

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

    border-color: #38bdf8;
}

.project-number {
    color: #38bdf8;

    font-size: 14px;
    font-weight: bold;

    margin-bottom: 20px;
}

.project-card h3 {
    color: white;

    font-size: 22px;

    margin-bottom: 15px;
}

.project-card p {
    color: #94a3b8;

    margin-bottom: 20px;
}


/* Project technologies */

.project-technologies {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;
    margin-bottom: 25px;
}

.project-technologies span {
    padding: 5px 10px;

    background: rgba(56, 189, 248, 0.08);

    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 5px;

    color: #7dd3fc;

    font-size: 12px;
}


/* Project links */

.project-links {
    display: flex;
    flex-wrap: wrap;

    gap: 20px;
}

.project-links a {
    color: #38bdf8;

    font-weight: bold;
}

.project-links a:hover {
    color: white;
}


/* Projects that are not finished */

.project-status {
    display: inline-block;

    padding: 5px 10px;

    color: #64748b !important;

    font-size: 11px;

    letter-spacing: 2px;

    border: 1px solid #334155;
    border-radius: 5px;
}


/* ==================================================
   08. EDUCATION & WORK EXPERIENCE
   ================================================== */

.experience-list {
    position: relative;

    max-width: 950px;

    margin-top: 50px;
    margin-left: 10px;

    border-left: 2px solid #1f2937;
}

.experience-item {
    position: relative;

    padding-left: 40px;
    padding-bottom: 35px;
}

.experience-marker {
    position: absolute;

    left: -8px;
    top: 25px;

    width: 14px;
    height: 14px;

    background: #38bdf8;

    border: 3px solid #0b0f19;
    border-radius: 50%;
}

.experience-card {
    padding: 25px;

    background: #111827;

    border: 1px solid #1f2937;
    border-radius: 10px;

    transition: 0.2s;
}

.experience-card:hover {
    border-color: #38bdf8;

    transform: translateX(5px);
}

.experience-date-type {
    color: #38bdf8;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 1.5px;

    margin-bottom: 8px;
}

.experience-card h3 {
    color: white;

    font-size: 21px;

    margin-bottom: 5px;
}

.experience-location {
    color: #64748b !important;

    margin-bottom: 15px;
}

.experience-card > p:not(.experience-date-type):not(.experience-location) {
    color: #94a3b8;

    line-height: 1.7;
}

.cv-link {
    margin-top: 25px;
}

.cv-link p {
    color: #94a3b8;

    margin-bottom: 20px;
}


/* ==================================================
   09. CERTIFICATES
   ================================================== */

.certificates {
    margin-top: 40px;
}

.certificates > h3 {
    color: white;

    font-size: 24px;

    margin-bottom: 25px;
}

.certificates-container {
    display: grid;

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

    gap: 20px;
}

.certificate-card {
    padding: 25px;

    background: #111827;

    border: 1px solid #1f2937;
    border-radius: 10px;

    transition: 0.2s;
}

.certificate-card:hover {
    border-color: #38bdf8;

    transform: translateY(-4px);
}

.certificate-year {
    color: #38bdf8;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.certificate-card h4 {
    color: white;

    font-size: 18px;

    margin-bottom: 10px;
}

.certificate-card p {
    color: #94a3b8;
}


/* ==================================================
   10. OPPORTUNITIES
   Student jobs, internships and summer jobs
   ================================================== */

.opportunities-container {
    display: grid;

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

    gap: 18px;

    margin-top: 35px;
}

.opportunity-card {
    padding: 25px;

    background: #111827;

    border: 1px solid #1f2937;
    border-radius: 10px;

    transition: 0.25s;
}

.opportunity-card:hover {
    border-color: #38bdf8;

    transform: translateY(-4px);
}

.opportunity-number {
    display: block;

    color: #38bdf8;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 18px;
}

.opportunity-card h3 {
    color: white;

    font-size: 18px;

    margin-bottom: 10px;
}

.opportunity-card p {
    color: #94a3b8;

    font-size: 14px;

    line-height: 1.6;
}


/* Areas I am interested in */

.interests {
    display: flex;

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

    gap: 40px;

    margin-top: 20px;
    padding: 25px;

    background: rgba(56, 189, 248, 0.04);

    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;
}

.interests-label {
    color: #38bdf8;

    font-size: 10px;
    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 7px;
}

.interests h3 {
    color: white;

    font-size: 18px;
}

.interests-list {
    display: flex;
    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 8px;

    max-width: 550px;
}

.interests-list span {
    padding: 6px 10px;

    background: #111827;

    border: 1px solid #334155;
    border-radius: 5px;

    color: #cbd5e1;

    font-size: 12px;
}


/* ==================================================
   11. CONTACT
   ================================================== */

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

.contact-section h2::after {
    margin-left: auto;
    margin-right: auto;
}

.contact-section > p {
    margin-left: auto;
    margin-right: auto;

    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;

    justify-content: center;

    gap: 15px;
}


/* ==================================================
   12. PROGRAM PAGE
   ================================================== */

.program-introduction h1 {
    max-width: 900px;

    color: white;

    font-size: clamp(40px, 6vw, 70px);

    line-height: 1.1;

    margin-bottom: 25px;
}

.program-lead {
    max-width: 750px;

    color: #cbd5e1;

    font-size: 21px !important;
}

.program-description {
    max-width: 750px;

    color: #94a3b8 !important;
}


/* Program areas */

.program-areas {
    display: grid;

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

    gap: 20px;

    margin-top: 40px;
}

.program-area-card {
    padding: 30px;

    background: #111827;

    border: 1px solid #1f2937;
    border-radius: 12px;

    transition: 0.25s;
}

.program-area-card:hover {
    border-color: #38bdf8;

    transform: translateY(-4px);
}

.program-area-number {
    display: block;

    color: #38bdf8;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.program-area-card h3 {
    color: white;

    font-size: 21px;

    margin-bottom: 12px;
}

.program-area-card > p {
    color: #94a3b8;
}


/* Program topics */

.program-topics {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;
}

.program-topics span {
    padding: 5px 10px;

    background: rgba(56, 189, 248, 0.08);

    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 5px;

    color: #7dd3fc;

    font-size: 12px;
}


/* Question for people working in IT */

.industry-contact {
    padding: 40px;

    background: rgba(56, 189, 248, 0.04);

    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
}

.industry-contact-label {
    color: #38bdf8;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.industry-contact h2 {
    color: white;

    font-size: 30px;

    margin-bottom: 15px;
}

.industry-contact p {
    max-width: 700px;

    color: #94a3b8;

    margin-bottom: 25px;
}


/* ==================================================
   13. FOOTER
   ================================================== */

footer {
    padding: 30px;

    text-align: center;

    color: #64748b;

    border-top: 1px solid #1f2937;
}


/* ==================================================
   14. TABLET & MOBILE
   Screens smaller than 800px
   ================================================== */

@media (max-width: 800px) {

    .navigation {
        flex-direction: column;

        gap: 15px;
    }

    .navigation-links {
        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;
    }


    /* Introduction */

    .introduction {
        min-height: 520px;

        background-position: center;
    }

    .introduction-content {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .introduction-buttons {
        flex-direction: column;

        align-items: flex-start;
    }


    /* Skills */

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

    .skill-card {
        width: 100%;
    }


    /* Projects */

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


    /* Education & experience */

    .experience-list {
        margin-left: 5px;
    }

    .experience-item {
        padding-left: 25px;
    }


    /* Certificates */

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


    /* Opportunities */

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

    .interests {
        flex-direction: column;

        align-items: flex-start;
    }

    .interests-list {
        justify-content: flex-start;
    }


    /* Program page */

    .program-areas {
        grid-template-columns: 1fr;
    }

}


/* ==================================================
   15. SMALL PHONES
   Screens smaller than 500px
   ================================================== */

@media (max-width: 500px) {

    .page-section {
        padding: 70px 20px;
    }

    .introduction-content {
        padding-left: 20px;
        padding-right: 20px;
    }

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

    .introduction h2 {
        font-size: 26px;
    }

    .industry-contact {
        padding: 25px;
    }

}