* {
    box-sizing: border-box;
    cursor: default;
      scroll-behavior: smooth;
      scrollbar-width: none;
}

a {
    cursor:pointer;
}


section {
    scroll-margin-top: 110px;
}

body {
    margin: 0;
    padding-top: 90px;
    height:3000px;
    font-family: 'Roboto', sans-serif;
}

#navbar {
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     z-index: 1000;
}



#logo_button {
    font-size: 22px;
    font-weight: bold;
    white-space: nowrap;
    text-decoration: none;
    color: black;
}

#nav_buttons {
    display: flex;
    align-items: center;
    gap: 70px;
}

#nav_buttons a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    transition:
        color 0.3s ease,
        font-weight 0.3s ease,
}




#nav_buttons a:hover {
    color:red;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: grey;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

#logo, #nav_buttons {
    margin: 0;
}
#home_container {
    min-height: calc(100vh - 90px);
    padding: 80px 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}


#home_container_image {
    flex-shrink: 0;
}

#home_container_image img {
    display: block;
    width: 320px;
    height: 400px;

    object-fit: cover;
    object-position: center;

    border: 3px solid black;
    border-radius: 24px;
}
#introduction_text {
    max-width: 650px;
    margin-left:150px;
}

.greeting {
    margin: 0 0 8px;
    font-size: 22px;
}

#introduction_text h1 {
    margin: 0;
    font-size: 52px;
    line-height: 1.1;
}

#introduction_text h2 {
    margin: 15px 0;
    font-size: 28px;
    font-weight: 500;
}

.description {
    max-width: 580px;
    font-size: 18px;
    line-height: 1.7;
}

#home_container_text h1{
transform: translateY(-190px);
}

.hero-resume {
    display: flex;
    justify-content: flex-start;
    margin-top: 24px;
}

.resume-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 145px;
    padding: 12px 24px;

    background-color: black;
    border: 2px solid white;
    border-radius: 6px ;

    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.resume-button:hover {
    color:black;
    background-color: white;
    border: 2px solid black;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.hero-resume {
    margin-top: 24px;
    text-align: left;
}

.skills_section {
    padding: 100px 8%;
    background-color: #f5f7fa;
}

.section_heading {
    text-align: center;
    margin-bottom: 45px;
}

.section_heading h2 {
    margin-bottom: 8px;
    color: black;
    font-weight: bold;
}

.about_section {
    padding: 100px 8%;
    background-color: #f5f7fa;
}

.about_heading {
    text-align: center;
    margin-bottom: 50px;
}

.about_heading > p {
    margin-bottom: 8px;
    color:  charcoal;
    font-weight: bold;
}

.about_heading h2 {
    margin: 0;
    font-size: 38px;
    color: #111111;
}

.about_container {
    max-width: 900px;
    margin: 0 auto;
    display: block;
}

.about_image img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.about_content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #172033;
    font-size: 27px;
}

.about_content > p {
    margin-bottom: 16px;
    color: #444444;
    line-height: 1.7;
}

.about_details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;

    margin-top: 30px;
    margin-bottom: 30px;
}

.about_details div {
    padding: 15px;
    background-color: white;
    border-left: 4px solid navy;
    border-radius: 6px;
}

.about_details span {
    color: navy;
    font-weight: bold;
}

.about_details p {
    margin: 5px 0 0;
    color: #444444;
}





.experience-section {
    padding: 110px 8%;
    background-color: #f6f7f9;
    scroll-margin-top: 110px;
}


.experience-header {
    max-width: 760px;
    margin: 0 auto 70px;
    text-align: left;
}


.experience-header h2 {
    margin: 0 0 20px;

    color: #171717;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 45px;
    font-weight: 500;
}



/* Timeline */

.experience-timeline {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}

.experience-timeline::before {
    content: "";
    position: absolute;

    top: 8px;
    bottom: 15px;
    left: 166px;

    width: 1px;
    background-color: #cfd3da;
}

/* Individual experience */

.experience-item {
    position: relative;
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 70px;
    margin-bottom: 60px;
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-item::before {
    content: "";
    position: absolute;

    top: 7px;
    left: 160px;

    width: 13px;
    height: 13px;

    background-color: #172033;
    border: 3px solid #f6f7f9;
    border-radius: 50%;
}

/* Date */

.experience-date {
    padding-top: 2px;
    text-align: right;
}

.experience-date span {
    color: #626262;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

/* Main text area */

.experience-details {
    position: relative;
    padding: 0 0 50px;


    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

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



.experience-type {
    margin: 0 0 10px;
    color: #172033;
    font-size: 14px;
    font-weight: 600;
}

.experience-details h3 {
    margin: 0 0 6px;
    color: #181818;
    font-size: 26px;
    font-weight: 650;
}

.experience-details h4 {
    margin: 0 0 22px;

    color: #666666;
    font-size: 16px;
    font-weight: 400;
}



.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;

    margin-top: 24px;
}

.experience-skills span {
    color: #4f5967;
    font-size: 14px;
    font-weight: 500;
}

.experience-skills span:not(:last-child)::after {
    content: "•";
    margin: 0 11px;
    color: #9da3ad;
}



.skills_container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;

}

.skill_card {
    background-color: white;
    padding: 30px;
    border: 1px solid #dddddd;
    border-radius: 12px;

    transition: transform 0.3s ease,
                border-color 0.3s ease;
}

.skill_card:hover {
    transform: translateY(-6px);
    border-color: navy;
}

.skill_card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #172033;
    font-size: 23px;
}

.skill_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill_tags span {
    padding: 8px 13px;
    background-color: #eef1f6;
    border-radius: 20px;
    font-size: 14px;
}

.goals_section {
    padding: 100px 8%;
    background-color: white;
}

.goals_heading {
    text-align: center;
    margin-bottom: 20px;
}



.goals_heading h2 {
    margin: 0;
    font-size: 38px;
    font-weight: bold;
}

.goals_intro {
    max-width: 750px;
    margin: 0 auto 50px;
    text-align: center;
}

.goals_intro p {
    color: #444444;
    line-height: 1.7;
}

.goals_container {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.goal_card {
    position: relative;
    padding: 30px;

    background-color: #f5f7fa;
    border: 3px solid #172033;
    border-radius: 12px;

}



.goal_number {
    display: inline-block;
    margin-bottom: 18px;

    color: #172033;
    font-size: 18px;
    font-weight: bold;
}

.goal_card h3 {
    margin: 0 0 15px;
    color: #172033;
    font-size: 22px;
}

.goal_card p {
    margin: 0;
    color: #444444;
    line-height: 1.7;
}

.projects-section {
    padding: 110px 8%;
    background-color: white;
    scroll-margin-top: 110px;
}

.projects-header {
    max-width: 760px;
    margin: 0 auto 70px;
}

.projects-header h2 {
    margin: 0 0 20px;
    color: #171717;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 45px;
    font-weight: 500;
}



.projects-container {
    max-width: 1000px;
    margin: 0 auto;
}

.project-item {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 55px;

    padding: 50px 0;

    border-top: 1px solid #d8dce2;

}





.project-side {
    padding-top: 4px;
}

.project-number {
    display: block;
    margin-bottom: 15px;

    color: red;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
}

.project-side p {
    margin: 0;

    color: #646464;
    font-size: 14px;
    line-height: 1.5;
}



.project-content h3 {
    margin: 0 0 18px;

    color: #181818;
    font-size: 28px;
    font-weight: 650;
}

.project-content > p {
    max-width: 680px;
    margin: 0;

    color: #484848;
    font-size: 16px;
    line-height: 1.8;
}


.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;

    margin-top: 24px;
}

.project-technologies span {
    color: #4f5967;
    font-size: 14px;
    font-weight: 500;
}

.project-technologies span:not(:last-child)::after {
    content: "•";
    margin: 0 11px;
    color: #9da3ad;
}

.contact-section {
    padding: 110px 0;
    background-color: #f5f7fa;
}

.contact-container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

.contact-heading {
    max-width: 680px;
    margin-bottom: 60px;
}

.section-label {
    margin-bottom: 10px;
    color: #243b64;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-heading h2 {
    margin-bottom: 18px;
    color: #172033;
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.contact-heading p {
    color: #667085;
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-content {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 80px;
    align-items: start;
}

.contact-information {
    display: flex;
    flex-direction: column;
}

.contact-item {
    padding: 22px 0;
    border-bottom: 1px solid #d9dee7;
}

.contact-item:first-child {
    border-top: 1px solid #d9dee7;
}

.contact-item span {
    display: block;
    margin-bottom: 6px;
    color: #667085;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-item a {
    color: #243b64;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-item a:hover {
    color: #172945;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.contact-form {
    padding: 40px;
    background-color: #ffffff;
    border: 1px solid #d9dee7;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.form-group label {
    margin-bottom: 8px;
    color: #172033;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 15px;
    color: #172033;
    background-color: #f8f9fb;
    border: 1px solid #d9dee7;
    border-radius: 3px;
    font: inherit;
    outline: none;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: #ffffff;
    border-color: #243b64;
}

.form-group textarea {
    resize: vertical;
}

.contact-button {
    padding: 14px 24px;
    color: #ffffff;
    background-color: black;
    border: 2px solid gray;
    border-radius: 3px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.contact-button:hover {
    background-color: white;
    color: black;
    transform: translateY(-2px);
    border: 2px solid black;
}

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

.site-footer {
    width: 100%;
    padding: 75px 8% 25px;

    color: #ffffff;
    background-color: black;

    border-top: 4px solid grey;
}

.footer-main {
    max-width: 1150px;
    margin: 0 auto 55px;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 55px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 18px;
    color: #ffffff;
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: bold;
}

.footer-brand > p {
    max-width: 430px;
    margin: 0;

    color: #b7c0ce;
    font-size: 15px;
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.footer-socials a {
    width: 42px;
    height: 42px;

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

    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;

    text-decoration: none;
    font-size: 17px;

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

.footer-socials a:hover {
    background-color: navy;
    transform: translateY(-3px);
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-column h3 {
    margin: 0 0 8px;

    color: #ffffff;
    font-size: 15px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.footer-column a,
.footer-column p {
    margin: 0;

    color: #b7c0ce;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;

    overflow-wrap: anywhere;
}

.footer-column a {
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-column a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-bottom {
    max-width: 1150px;
    margin: 0 auto;
    padding-top: 24px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;

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

.footer-bottom p {
    margin: 0;
    color: #929dad;
    font-size: 13px;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

.back-to-top i {
    transition: transform 0.25s ease;
}

.back-to-top:hover i {
    transform: translateY(-4px);
}




@media (min-width: 761px) {
    #menu-toggle {
        display: none !important;
    }

    #navbar {
        width: 100%;
        min-height: 80px;
        padding: 18px 2%;

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

    #nav_buttons {
        width: auto;
        max-height: none;
        overflow: visible;

        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 45px;

        margin: 0;
        opacity: 1;
        visibility: visible;
    }

    #home_container {
        width: 100%;
        min-height: calc(100vh - 80px);
        padding: 80px 8%;

        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 100px;

        text-align: left;
    }

    #home_container_image {
        width: auto;
        flex-shrink: 0;
    }

    #home_container_image img {
        width: 340px;
        height: 420px;
        object-fit: cover;
        object-position: center;

        border-radius: 45%;
    }

    #introduction_text {
        width: auto;
        max-width: 650px;
        margin: 0 !important;
        padding: 0;

        text-align: left;

    }

    #introduction_text h1 {
        margin: 0 0 12px;
        font-size: 52px;
        line-height: 1.1;
    }

    #introduction_text h2 {
        margin: 0 0 18px;
        min-height: auto;

        font-size: 28px;
        line-height: 1.3;
    }

    #introduction_text .description {
        max-width: 600px;
        margin: 0;

        font-size: 17px;
        line-height: 1.7;
    }
}





@media (max-width: 760px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        margin: 0;
        overflow-x: clip;
    }

    * {
        box-sizing: border-box;
        min-width: 0;
    }

  #menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;
        padding: 0;

        background-color: transparent;
        border: 1px solid #888;
        border-radius: 4px;

        color: #111 !important;
        font-family: Arial, sans-serif !important;
        font-size: 25px !important;
        font-weight: 400;
        line-height: 1;

        cursor: pointer;
    }

    #home_container {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    #home_container_image img {
        width: 220px !important;
        height: 280px !important;
    }

    #introduction_text {
        width: 100% !important;
        margin: 0 !important;
        text-align: center;
    }

#navbar {
        min-height: 70px;
        padding: 14px 20px;

        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    #logo_button {
        font-size: 17px;
    }



    #nav_buttons {
        grid-column: 1 / -1;

        width: 100%;
        max-height: 0;
        overflow: hidden;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        opacity: 0;
        visibility: hidden;

        transition:
            max-height 0.35s ease,
            opacity 0.25s ease;
    }

    #nav_buttons.open {
        max-height: 400px;
        margin-top: 14px;

        opacity: 1;
        visibility: visible;
    }

    #nav_buttons a {
        width: 100%;
        padding: 14px 2px;

        border-top: 1px solid #eeeeee;
        font-size: 16px;
    }
    #home_container {
        width: 100% !important;
        min-height: auto !important;
        margin: 0 !important;
        padding: 60px 20px 80px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        align-items: center !important;
        gap: 30px !important;

        text-align: center;
    }

    #home_container_image {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        justify-content: center !important;
    }

    #home_container_image img {
        width: 220px !important;
        height: 280px !important;
        max-width: 100% !important;

        margin: 0 auto !important;
        object-fit: cover;
        object-position: center;
    }

    #introduction_text {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        text-align: center;
    }

    .greeting {
        margin: 0 0 8px !important;
        font-size: 18px;
    }

    #introduction_text h1 {
        width: 100%;
        margin: 0 0 14px !important;

        font-size: 36px !important;
        line-height: 1.1;

        overflow-wrap: anywhere;
    }

    #introduction_text h2 {
        width: 100%;
        min-height: 52px;
        margin: 0 0 18px !important;

        font-size: 20px !important;
        line-height: 1.3;

        overflow-wrap: anywhere;
    }

    #introduction_text .description {
        width: 100% !important;
        max-width: 500px !important;

        margin: 0 auto !important;

        font-size: 16px;
        line-height: 1.7;
    }

    .hero-resume {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 24px;
    }

    /* Every section */

    section {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 70px 20px !important;
    }

    .about_container,
    .skills_container,
    .goals_container,
    .experience-timeline,
    .projects-container {
        width: 100% !important;
        max-width: 100% !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

    .about_container,
    .skills_container,
    .goals_container {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .skill_card,
    .goal_card,
    .project-item,
    .experience-item {
        width: 100% !important;
        max-width: 100% !important;
    }

     .experience-header {
        width: 100%;
        max-width: 100%;
        margin: 0 0 45px;
        text-align: left;
    }

    .experience-header h2 {
        font-size: 34px;
    }

    /* Timeline container */

    .experience-timeline {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    /* Move the vertical timeline line to the left */

    .experience-timeline::before {
        left: 7px;
    }

    /* Change each experience from two columns to one */

    .experience-item {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;

        width: 100% !important;
        margin: 0 0 50px !important;
        padding: 0 0 0 35px !important;
    }

    /* Move the timeline dot */

    .experience-item::before {
        left: 0;
        top: 5px;
    }

    /* Put the date above the experience */

    .experience-date {
        width: 100%;
        padding: 0;
        text-align: left;
    }

    .experience-date span {
        font-size: 13px;
    }


    .experience-details {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-bottom: 35px;
    }

    .experience-details h3 {
        font-size: 22px;
        line-height: 1.25;
    }

    .experience-details h4 {
        font-size: 15px;
        line-height: 1.5;
    }

    .experience-details > p {
        width: 100%;
        max-width: 100%;
        font-size: 15px;
        line-height: 1.7;
    }

    .experience-skills {
        width: 100%;
        flex-wrap: wrap;
    }


    .experience-item:hover .experience-details {
        transform: none;
    }

    .projects-section {
        width: 100%;
        padding: 80px 20px !important;
        scroll-margin-top: 70px;
        overflow: visible;
    }

    .projects-header {
        width: 100%;
        max-width: 100%;
        margin: 0 0 40px;
    }

    .projects-header h2 {
        margin: 0 0 16px;
        font-size: 36px;
        line-height: 1.2;
    }

    .projects-intro {
        width: 100%;
        max-width: 100%;
        font-size: 16px;
        line-height: 1.7;
    }

    .projects-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .project-item {
        width: 100% !important;
        max-width: 100% !important;

        display: block !important;

        margin: 0 !important;
        padding: 35px 0 !important;

        border-top: 1px solid #d8dce2;
    }

    .project-item:last-child {
        border-bottom: 1px solid #d8dce2;
    }

    .project-side {
        width: 100%;
        margin: 0 0 22px;

        display: flex;
        align-items: center;
        gap: 15px;
    }

    .project-number {
        margin: 0;
        flex-shrink: 0;

        font-size: 25px;
        line-height: 1;
    }

    .project-side p {
        margin: 0;
        font-size: 14px;
    }

    .project-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .project-content h3 {
        width: 100%;
        margin: 0 0 15px;

        font-size: 25px;
        line-height: 1.25;
    }

    .project-content > p {
        width: 100%;
        max-width: 100%;

        margin: 0;
        font-size: 16px;
        line-height: 1.7;

        overflow-wrap: break-word;
    }

    .project-technologies {
        width: 100%;
        margin-top: 20px;

        display: flex;
        flex-wrap: wrap;
    }

    .project-links {
        margin-top: 24px;
    }

    .project-item:hover {
        padding-left: 0 !important;
        transform: none;
    }


    .contact-heading,
    .contact-header {
        width: 100%;
        margin: 0 0 40px;
    }

    .contact-heading h2,
    .contact-header h2 {
        margin: 0;
        font-size: 34px;
        line-height: 1.2;
    }

    .contact-container {
        width: 100% !important;
        max-width: 100% !important;

        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 40px !important;

        margin: 0 !important;
    }

    .contact-info {
        width: 100%;
    }

    .contact-detail {
        width: 100%;
        padding-bottom: 20px;
    }

    .contact-detail a {
        overflow-wrap: anywhere;
    }

    /* Make form fill the available width */
    .contact-form {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 24px 18px !important;
    }

    /* Stack name and email fields */
    .form-row {
        width: 100%;

        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .form-group {
        width: 100%;
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea {
        display: block;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        padding: 13px;
        font-size: 16px;
    }

    .form-group textarea {
        min-height: 150px;
        resize: vertical;
    }

    .contact-form button {
        width: 100%;
        min-height: 48px;
    }


    .site-footer {
        padding: 55px 20px 25px;
    }

    .footer-main {
        width: 100%;
        margin-bottom: 40px;

        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-logo {
        font-size: 23px;
    }

    .footer-brand > p {
        max-width: 100%;
    }

    .footer-column {
        gap: 11px;
    }

    .footer-bottom {
        width: 100%;

        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .footer-bottom p {
        line-height: 1.6;
    }

    .back-to-top {
        min-height: 44px;
    }
}