/* =========================================
   MODERN PROFESSIONAL PORTFOLIO STYLESHEET
========================================= */

/* ========= COLOR PALETTE =========
Primary:        #11437c
Accent:         #435ada
Highlight:      #0752b5
Dark BG:        #111827
Card BG:        #1f2937
Text Light:     #f9fafb
Text Muted:     #cbd5e1
Border:         rgba(255,255,255,0.08)
=================================== */


/* ========= GLOBAL RESET ========= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Oswald', sans-serif;
    line-height: 1.7;
    color: #f9fafb;

    background:
        linear-gradient(rgba(0,0,0,0.78), rgba(0,0,0,0.82)),
        url('../images/tech.jpg');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    min-height: 100vh;
    padding: 0;
}


/* ========= NAVIGATION ========= */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    padding: 18px 0;

    backdrop-filter: blur(12px);

    background:
        linear-gradient(
            to right,
            rgba(17,67,124,0.92),
            rgba(7,82,181,0.88)
        );

    box-shadow: 0 4px 20px rgba(0,0,0,0.35);

    text-align: center;
}

nav a {
    display: inline-block;

    color: #ffffff;
    text-decoration: none;

    font-family: 'Notable', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;

    margin: 0 12px;
    padding: 10px 18px;

    border-radius: 8px;

    transition:
        background 0.3s ease,
        transform 0.25s ease,
        color 0.3s ease;
}

nav a:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
    color: #ffffff;
}


/* ========= MAIN LAYOUT ========= */
.content-wrap,
.coursework,
#contact {
    width: min(95%, 1050px);

    margin: 40px auto;
    padding: 50px;

    border-radius: 22px;

    background: rgba(27,27,27,0.88);

    backdrop-filter: blur(14px);

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 10px 35px rgba(0,0,0,0.35),
        0 0 0 1px rgba(255,255,255,0.03);

    overflow: hidden;
}

#contact {
    background: rgba(40,40,40,0.92);
}


/* ========= GRID COLUMNS ========= */
.column-narrow {
    width: 32%;
    float: left;
  
}

.column-wide {
    width: 68%;
    float: left;
}

.content-wrap::after,
.coursework::after,
#contact::after {
    content: "";
    display: block;
    clear: both;
}


/* ========= TYPOGRAPHY ========= */
h1,
h2,
h3 {
    font-family: 'Notable', sans-serif;
    letter-spacing: 1px;
}

h1 {
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 14px;
    line-height: 1.1;
}

h2 {
    color: #435ada;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 18px;
}

h3 {
    color: #75a5ff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

h4 {
    color: #cbd5e1;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 400;
}

p {
    color: #e5e7eb;
    font-size: 1rem;
    margin-bottom: 18px;
}


/* ========= HEADER ========= */
header {
    text-align: center;
    padding: 80px 20px 40px;
}

header p {
    max-width: 700px;
    margin: 0 auto;
    color: #d1d5db;
    font-size: 1.05rem;
}


/* ========= PROFILE IMAGE ========= */
img {
    display: block;

    width: 260px;
    height: 260px;

    object-fit: cover;

    border-radius: 50%;

    border: 6px solid rgba(255,255,255,0.08);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.45),
        0 0 25px rgba(67,90,218,0.35);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

img:hover {
    transform: scale(1.03);
    box-shadow:
        0 15px 35px rgba(0,0,0,0.5),
        0 0 35px rgba(67,90,218,0.45);
}


/* ========= COURSEWORK ========= */
.coursework {
    list-style: none;
    text-align: left;
}

.coursework li {
    padding: 14px 18px;
    margin-bottom: 12px;

    border-left: 4px solid #435ada;

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

    border-radius: 10px;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.coursework li:hover {
    transform: translateX(5px);
    background: rgba(255,255,255,0.07);
}

/* =========================================
   RESUME SECTION STYLING
========================================= */

.resume-item {
    padding: 35px 0;

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.resume-item:last-child {
    border-bottom: none;
}

/* Clear floats */
.resume-item::after {
    content: "";
    display: block;
    clear: both;
}

/* Better spacing */
.resume-item .column-wide p {
    margin-bottom: 16px;
}

/* Coursework list styling */
.coursework {
    margin-top: 12px;

    padding-left: 20px;

    background: transparent;
}

.coursework li {
    margin-bottom: 10px;

    padding: 10px 14px;

    border-left: 3px solid #435ada;

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

    border-radius: 8px;

    list-style-position: inside;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.coursework li:hover {
    transform: translateX(4px);

    background: rgba(255,255,255,0.07);
}
/* ========= LINKS ========= */
a {
    color: #7ab2ff;
    transition: color 0.25s ease;
}

a:hover {
    color: #ffffff;
}


/* ========= FOOTER ========= */
footer {
    text-align: center;

    padding: 30px 20px;
    margin-top: 40px;

    background: rgba(17,17,17,0.9);

    color: #cbd5e1;

    border-top: 1px solid rgba(255,255,255,0.08);
}

footer a {
    color: #75a5ff;
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
}


/* ========= BUTTON STYLE ========= */
.button {
    display: inline-block;

    background: linear-gradient(
        135deg,
        #435ada,
        #0752b5
    );

    color: white;
    text-decoration: none;

    padding: 12px 24px;
    margin-top: 12px;

    border-radius: 10px;

    font-weight: bold;
    letter-spacing: 0.5px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

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

    box-shadow:
        0 10px 25px rgba(67,90,218,0.35);
}


/* ========= RESPONSIVE DESIGN ========= */
@media (max-width: 850px) {

    .column-narrow,
    .column-wide {
        width: 100%;
        float: none;
        padding-right: 0;
    }

    img {
        margin: 0 auto 30px;
        width: 220px;
        height: 220px;
    }

    header {
        text-align: center;
    }

    .content-wrap,
    .coursework,
    #contact {
        padding: 35px 25px;
    }

    nav a {
        margin: 6px;
        padding: 10px 14px;
        font-size: 0.8rem;
    }
}
