/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #111;
    color: #e0e0e0;
}

header {
    background: #181818;
    color: #fff;
    padding: 2em 0 1em 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

header h1, .resume-title {
    margin: 0 0 0.5em 0;
    font-size: 2.5em;
    letter-spacing: 2px;
    font-weight: 700;
    color: #b3c2f2;
}

.resume-header {
    text-align: center;
    margin-bottom: 24px;
}

.resume-contact {
    margin-top: 12px;
    font-size: 1.1em;
    color: #a3abbc;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 1.2em;
}

nav ul li a {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.2s;
    position: relative;
}

nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #b3c2f2;
    transition: width 0.3s;
    position: absolute;
    left: 0;
    bottom: -4px;
}

nav ul li a:hover {
    color: #b3c2f2;
}

nav ul li a:hover::after {
    width: 100%;
}

section {
    background: #181818;
    margin: 2em auto;
    padding: 2.5em 2em;
    max-width: 900px;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.5);
}

.resume-section {
    margin-top: 32px;
}

.resume-section h2 {
    border-bottom: 2px solid #b3c2f2;
    padding-bottom: 4px;
    margin-bottom: 12px;
    color: #b3c2f2;
    font-size: 1.5em;
    font-weight: 700;
}

.resume-list {
    margin-left: 24px;
    padding-left: 0;
}

.resume-list li {
    margin-bottom: 6px;
    font-size: 1.08em;
    line-height: 1.5;
}

h2 {
    color: #b3c2f2;
    margin-top: 0;
    font-size: 2em;
    font-weight: 700;
}

h3 {
    color: #a3abbc;
    margin-bottom: 0.5em;
    font-weight: 600;
}

ul {
    padding-left: 1.2em;
}

ul li {
    margin-bottom: 0.5em;
    font-size: 1.05em;
}

.project {
    background: #222;
    margin-bottom: 1.5em;
    padding: 1.2em 1em;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid #b3c2f2;
}

.project:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 6px 24px rgba(179, 194, 242, 0.22);
}

a {
    color: #b3c2f2;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #8fa1c7;
    text-decoration: underline;
}

footer {
    background: #181818;
    color: #a3abbc;
    text-align: center;
    padding: 1.2em 0;
    margin-top: 2em;
    border-radius: 0 0 16px 16px;
    font-size: 1em;
    letter-spacing: 1px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.5);
}

/* Resume-specific tweaks */
.resume-employment, .resume-education, .resume-domain, .resume-cert {
    margin-top: 18px;
}

.resume-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #b3c2f2;
    margin-bottom: 0.2em;
}

.resume-header div {
    margin-bottom: 0.2em;
}

@media (max-width: 600px) {
    section {
        padding: 1.2em 0.5em;
    }
    header h1, .resume-title {
        font-size: 1.5em;
    }
    nav ul li {
        margin: 0 0.5em;
    }
}
.contact-form-container {
    margin-top: 2em;
    background: #222;
    padding: 2em 2em 1.5em 2em;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-container h2 {
    color: #b3c2f2;
    margin-bottom: 1em;
    font-size: 1.4em;
    text-align: center;
}

.form-group {
    margin-bottom: 1.2em;
}

.contact-form-container label {
    display: block;
    margin-bottom: 0.3em;
    color: #b3c2f2;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 0.7em;
    margin-bottom: 0.2em;
    border: 1px solid #444;
    border-radius: 6px;
    background: #181818;
    color: #e0e0e0;
    font-size: 1em;
    transition: border 0.2s;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    border: 1.5px solid #b3c2f2;
    outline: none;
}

.contact-form-container button {
    background: #b3c2f2;
    color: #181818;
    border: none;
    padding: 0.7em 2em;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: block;
    margin: 0 auto;
    margin-top: 0.5em;
}

.contact-form-container button:hover {
    background: #8fa1c7;
    color: #fff;
}

.success-message {
    color: #4caf50;
    margin-top: 1em;
    font-weight: 600;
    text-align: center;
}

.error-message {
    color: #ff5252;
    margin-top: 1em;
    font-weight: 600;
    text-align: center;
}

/* Responsive for mobile */
@media (max-width: 600px) {
    .contact-form-container {
        padding: 1em 0.5em 1em 0.5em;
    }
}
