@import url('https://fonts.googleapis.com/css2?family=Signika:wght@400;600;700&family=Open+Sans:wght@400;600&family=Norwester&display=swap');

/* general styles */
:root {
    --custom-gray-green: #1D261F;
    --custom-dark-blue: #294076;
    --custom-orange: #E68A36;
    --custom-gray-blue: #8C99B6;
    --custom-light-gray: #CCC;
    --custom-lighter-gray: #F9F9F9;
}

html {
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: white;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: var(--custom-gray-green);
    color: white;
    display: flex;
    justify-content: flex-end;
    padding: 10px;
}

nav {
    background-color: var(--custom-gray-blue);
    display: flex;
    justify-content: space-between;
    padding: 10px 50px;
    position: sticky;
    top: 0;
    z-index: 100;
}

main {
    padding: 10px 200px;
    flex: 1;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: white;
    padding: 10px 50px;
    margin: 0;
}

h1 {
    color: black;
    font-size: 80px;
    margin: 0;
    font-family: 'Signika', sans-serif;
}

h2, h3 {
    font-family: 'Signika', sans-serif;
}

a {
    text-decoration: none;
    color: black;
}

/* icon styles */
.icon {
    width: 20px;
    height: 20px;
    fill: white;
    padding-right: 10px;
}

.icon path {
    fill: white;
}

/* arrow icon styles (used with "Explore More") */
.icon-arrow {
    width: 20px;
    height: 20px;
    fill: black;
}

/* brand logo and text styles */
.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    width: 100px;
    height: 100px;
}

.brand-text {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Norwester', sans-serif;
}

/* horizontal navigation list styles */
.horizontal-navigation-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid black;
    font-size: 25px;
    font-family: 'Signika', sans-serif;
}

.horizontal-navigation-list-item {
    margin: 0 15px;
}

.horizontal-navigation-list-item a:hover {
    background-color: var(--custom-light-gray);
}

/* dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-list {
    display: none;
    position: absolute;
    background-color: white;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid black;
    top: 100%;
    left: 0;
    z-index: 1;
}

.dropdown:hover .dropdown-list {
    display: block;
}

.dropdown-list-item {
    padding: 10px;
}

.dropdown-list-item a:hover {
    background-color: var(--custom-light-gray);
}

/* infobox styles */
.horizontal-infobox-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.horizontal-infobox-list a {
    display: inline-block;
    margin: 0 15px;
    padding: 15px 30px;
    background-color: var(--custom-dark-blue);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.horizontal-infobox-list a:hover {
    background-color: var(--custom-gray-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* content card styles */
.content-card-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 50px 0;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.content-card-list-item {
    border: 1px solid black;
    padding: 20px;
    width: 30%;
    border-radius: 8px;
    background-color: var(--custom-lighter-gray);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.content-card-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.link-with-icon h3 a {
    color: var(--custom-dark-blue);
}
.link-with-icon svg {
    padding: 10px;
}

/* footer styles */
.footer-text {
    font-size: 20px;
    color: white;
    margin: 0;
    font-family: 'Norwester', sans-serif;
}

/* social media icon styles */
.socials {
    display: flex;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
}

/* list and image styles (used on services page) */
.list-and-image {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px 0;
}
.list-and-image h2 {
    font-size: 36px;
}
.list-and-image .list {
    padding: 0;
    margin: 20px;
}
.list-and-image .list ul {
    list-style: none;
    font-size: 24px;
    line-height: 1.5;
}
.list-and-image .list ul li {
    margin-bottom: 20px;
}

/* services page styles */
.services-page {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 40px 0;
}

.page-intro {
    max-width: 1040px;
    margin: 0 auto;
    text-align: center;
}

.page-intro h1 {
    font-size: 52px;
    margin-bottom: 18px;
    color: var(--custom-dark-blue);
}

.page-intro p {
    max-width: 900px;
    margin: 0 auto 16px;
    line-height: 1.7;
    color: var(--custom-gray-green);
    font-size: 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--custom-lighter-gray);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.service-card h2 {
    margin-top: 0;
    color: var(--custom-dark-blue);
}

.service-card p {
    color: var(--custom-gray-green);
    line-height: 1.7;
}

.service-highlight,
.service-note {
    max-width: 1040px;
    margin: 0 auto;
    background-color: white;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.service-highlight h2,
.service-note h2 {
    margin-top: 0;
    color: var(--custom-dark-blue);
}

.service-highlight ul {
    padding-left: 20px;
    margin: 0;
    color: var(--custom-gray-green);
    line-height: 1.8;
}

.service-highlight li {
    margin-bottom: 14px;
}

.service-note p {
    margin: 0;
    color: var(--custom-gray-green);
    line-height: 1.8;
}

@media (max-width: 900px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    nav {
        padding: 10px 20px;
    }

    main {
        padding: 10px 30px;
    }
}

/* resume page styles */
.resume-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    padding: 40px 0;
}

.resume-page h1 {
    font-size: 48px;
    margin: 0;
    text-align: center;
    color: var(--custom-dark-blue);
}

.resume-intro {
    max-width: 900px;
    text-align: center;
    font-size: 20px;
    color: var(--custom-gray-blue);
}

.resume-embed {
    width: 100%;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
}

.resume-download {
    text-align: center;
}

.download-button {
    display: inline-block;
    padding: 16px 28px;
    background-color: var(--custom-orange);
    color: white;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.download-button:hover {
    background-color: #d5782a;
    transform: translateY(-2px);
}
.list-and-image img {
    width: 800px;
    height: 400px;
    margin: 0 50px;
}
.list-icon {
    width: 20px;
    height: 20px;
    fill: black;
    margin-right: 10px;
}

/* centered column styles (used for services page main content) */
.centered-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.centered-column h1 {
    margin-bottom: 20px;
    padding: 10px 20px;
    background-color: var(--custom-orange);
    border-radius: 8px;
}

/* Blog post styles */
.blog-post {
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    box-sizing: border-box;
}

.blog-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.blog-block.reverse {
    flex-direction: row-reverse;
}

.blog-text {
    flex: 1 1 320px;
    min-width: 280px;
}

.blog-media {
    flex: 1 1 320px;
    min-width: 280px;
}

.blog-media img,
.blog-media video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.first-image {
    max-width: 300px;
    width: auto;
}

.blog-media figcaption {
    margin-top: 10px;
    font-size: 0.95rem;
    color: var(--custom-light-gray);
    text-align: center;
}

.blog-post a {
    color: blue;
}

.blog-page .blog-post {
    background-color: var(--custom-lighter-gray);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    margin: 20px 0;
    width: 100%;
    max-width: 800px;
}

.blog-page .blog-post a {
    font-size: 24px;
    font-weight: bold;
    color: var(--custom-dark-blue);
    text-decoration: none;
}

.blog-page .blog-post a:hover {
    color: var(--custom-orange);
}

.large-image {
    width: 100%;
    max-width: 700px;
    height: auto;
}

.medium-media {
    flex: 1 1 750px;
    min-width: 650px;
}

.large-media {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
}

.large-media img,
.large-media video {
    width: 100%;
    max-width: 100%;
    height: auto;
}

@media (max-width: 1400px) {
    main {
        padding: 10px 150px;
    }
    h1 {
        font-size: 70px;
    }
    nav {
        padding: 10px 40px;
    }
}

@media (max-width: 1200px) {
    main {
        padding: 10px 100px;
    }
    h1 {
        font-size: 60px;
    }
    nav {
        padding: 10px 30px;
    }
}

@media (max-width: 900px) {
    .blog-block {
        flex-direction: column;
    }
    .blog-block .blog-text,
    .blog-block .blog-media {
        order: unset;
    }
    main {
        padding: 10px 50px;
    }
    h1 {
        font-size: 50px;
    }
    nav {
        padding: 10px 20px;
    }
}

@media (max-width: 600px) {
    main {
        padding: 10px 20px;
    }
    h1 {
        font-size: 40px;
    }
    nav {
        padding: 10px 10px;
    }
}

/* contact form styles */
.contact-form {
    display: flex;
    flex-direction: column;
    width: 50%;
    max-width: 600px;
    margin: 20px 0;
}
.contact-form label {
    margin: 10px 0 5px;
    font-weight: bold;
}
.contact-form input,
.contact-form textarea {
    padding: 8px;
    font-size: 20px;
    border: 1px solid lightgray;
    border-radius: 4px;
}
.contact-form button {
    margin-top: 15px;
    padding: 10px;
    font-size: 16px;
    background-color: var(--custom-dark-blue);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}
.contact-form button:hover {
    background-color: var(--custom-gray-green);
}
.name-fields {
    display: flex;
    gap: 10px;
}
.name-fields input {
    flex: 1;
}

/* hero section styles (used on about page) */
.hero-section {
    background-color: var(--custom-orange);
    padding: 40px 200px;
    border-radius: 8px;
    text-align: center;
}
.hero-section img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 30px;
}
.hero-section h1 {
    margin: 0;
    font-size: 48px;
    color: black;
}
.hero-section h3 {
    margin: 0;
    font-size: 24px;
    color: black;
}
.hero-section p {
    margin: 5px 0;
    font-size: 24px;
    color: black;
}
.hero-section .horizontal-infobox-list {
    justify-content: center;
    margin-top: 20px;
}

.professional-summary,
.professional-experience,
.technical-skills,
.domain-proficiency,
.call-to-action {
    padding: 40px 200px;
    border-top: 1px solid var(--custom-light-gray);
}

/* enhance experience section */
.experience-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.experience-item {
    flex: 1 1 200px;
    border: 1px solid var(--custom-light-gray);
    padding: 15px;
    border-radius: 8px;
    background-color: var(--custom-dark-blue);
    color: white;
    font-size: 20px;
    align-content: center;
    text-align: center;
}
.professional-summary h2,
.professional-experience h2,
.certifications h2,
.technical-skills h2,
.domain-proficiency h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

/* certification styles */
.certifications {
    display: flex;
    border-top: 1px solid var(--custom-light-gray);
}
.certification-item {
    display: flex;
    align-items: center;
    margin: 20px 20px;
    font-size: 24px;
}
.certification-item img {
    width: 175px;
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

/* skill section styles */
.technical-skills .skill-category {
    margin-bottom: 20px;
}
.skill-category h3 {
    margin: 10px 0 5px;
    font-size: 24px;
}
.skill-category .skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}
.skill-item {
    border: 1px solid var(--custom-light-gray);
    padding: 5px 10px;
    border-radius: 4px;
    background-color: var(--custom-lighter-gray);
    font-size: 18px;
}

/* domain proficiency section styles */
.domain-proficiency .domain-category {
    margin-bottom: 20px;
}
.domain-category h3 {
    margin: 10px 0 5px;
    font-size: 24px;
}
.domain-category .domain-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}
.domain-item {
    border: 1px solid var(--custom-light-gray);
    padding: 5px 10px;
    border-radius: 4px;
    background-color: var(--custom-lighter-gray);
    font-size: 18px;
}

/* call to action styles */
.call-to-action {
    text-align: center;
    background-color: var(--custom-orange);
    color: white;
    padding: 20px 100px;
    border-radius: 8px;
    margin: 20px 0;
}
.call-to-action p {
    font-size: 48px;
    margin-bottom: 30px;
    font-weight: bold;
    font-family: 'Norwester', sans-serif;
}
.call-to-action a {
    display: inline-block;
    margin: 0 15px;
    padding: 15px 30px;
    background-color: var(--custom-dark-blue);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.call-to-action a:hover {
    background-color: var(--custom-gray-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}