/* ******************************************************* */
/* HEADER */
/* ******************************************************* */

.logo {
    height: 3.6rem;
    margin-left: -9.8rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 9.6rem;
    padding: 0 4.8rem;
    position: relative;
    background-color: #efeae9;
    border-bottom: 1px solid rgba(126, 89, 79, 0.568);
}


/* ******************************************************* */
/* NAVIGATION */
/* ******************************************************* */

.main-nav-list {
    list-style: none;
    display: flex;
    gap: 4.8rem;
    align-items: center;
}

.main-nav-link:link,
.main-nav-link:visited {
    display: inline-block;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.8rem;
    transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
    color: #7e594f;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
    color: #fff;
    border-radius: 9px;
    padding: 1.2rem 2.4rem;
    background-color: #5E3023;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
    color: #efeae9;
}

/* MOBILE NAVIGATION */
.btn-mobile-nav {
    border: none;
    background: none;
    cursor: pointer;
    display: none;
}

.icon-mobile-nav {
    height: 4.8rem;
    width: 4.8rem;
    color: #333;
}

.icon-mobile-nav[name="close-outline"] {
    display: none;
}

/* ******************************************************* */
/* HERO SECTION */
/* ******************************************************* */

.section-hero {
    background-color: #efeae9;
    padding: 4.8rem 9.6rem;
}

.hero {
    max-width: 130rem;
    margin: 0 auto;
    padding: 0 3.2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9.6rem;
    align-items: center;
}

.hero-img {
    width: 100%;

}

.hero-description {
    font-size: 2rem;
    line-height: 1.5;
    margin-bottom: 4.8rem;
}

.social-links {
    display: flex;
    gap: 2.4rem;
    margin-top: 4.8rem;
}

.bi {
    cursor: pointer;
}

/* ******************************************************* */
/* FEATURED SECTION */
/* ******************************************************* */

.section-featured {
    padding: 4.8rem 0 3.2rem 0;
}

.heading-featured-in {
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    text-align: center;
    margin-bottom: 2.4rem;
    color: #777;
}

.logos {
    display: flex;
    justify-content: space-around;
}

.logos img {
    height: 6.4rem;
}

/* ******************************************************* */
/* WHAT I DO SECTION */
/* ******************************************************* */

.section-what {
    padding: 9.6rem 0;
}

.step-img-box {
    display: flex;
    justify-items: center;
    align-items: center;
}

.step-img {
    width: 50%;
}

.step-description {
    line-height: 1.8;
    font-size: 1.8rem;
}

.dev-img {
    width: 80%;
}

.design-img {
    width: 80%;
}

.arch-img {
    width: 85%;
}

.step-icon-img {
    stroke: #5E3023;
    width: 3rem;
    margin-bottom: 1.2rem;
}

/* ******************************************************* */
/* TIMELINE SECTION */
/* ******************************************************* */

.section-timeline {
    background-color: #efeae9;
}

.heading-timeline {
    margin: 3.2rem auto;
    max-width: 120rem;
    padding: 2.4rem;
}

.timeline {
    display: flex;
    flex-direction: column;
    max-width: 120rem;
    margin: 0 auto;
    color: #333;
    padding: 2.4rem;
}

.timeline-item {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 0.3rem 1fr;
    /* height: 19.2rem; */
}

.item-content {
    margin: 0 2rem 2rem 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    align-self: center;
}

.item-mid {
    position: relative;
    background-color: #5E3023;
}

.item-date {
    margin: 0 2rem 2rem 2rem;
    font-size: 1.4em;
    margin-top: 0.4rem;
}

.item-point {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    width: 1.6rem;
    height: 1.6rem;
    background-color: #5E3023;
    border-radius: 50%;
}

.content-title {
    font-size: 1.4em;
}

.content-paragraph {
    font-size: 1.4em;
    line-height: 1.4;
}

.end-point {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    width: 1.6rem;
    height: 1.6rem;
    background-color: #5E3023;
    border-radius: 50%;
}

.timeline-item-inverted {
    display: grid;
    grid-template-columns: 1fr 0.3rem 1fr;
}

.timeline-item-inverted .item-date {
    justify-self: end;
}

/* .timeline-item-inverted .item-content {} */

/* ******************************************************* */
/* CTA SECTION */
/* ******************************************************* */

.section-cta {
    padding: 9.6rem 0;
}

.cta {
    box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
    /* height: 50rem; */
    /* text-align: center; */
    color: #dfd6d3;
    border-radius: 11px;

    background-image: linear-gradient(#5E3023, #6e4539);
}

.cta-heading {
    font-size: 4.4rem;
    padding: 2.4rem 0;
}

.cta-subheading {
    font-size: 2.4rem;
    font-weight: 500;
    margin-bottom: 3.6rem;
}

.cta-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3.2rem;
    row-gap: 2.4rem;
}

.cta-form label {
    display: block;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.2rem;

}

.cta-form textarea,
.cta-form input {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.6rem;
    font-family: inherit;
    border: none;
    border-radius: 9px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: #333;
}

.cta-form textarea::placeholder,
.cta-form input::placeholder {
    color: #aaa;
}

.cta-form textarea {
    height: 20vh;
}

.form-group {
    margin-bottom: 1.2rem;
}

.btn-container {
    padding: 2.4rem 0;
}

.cta *:focus {
    outline: none;
    box-shadow: 0 0 0 0.8rem rgba(239, 234, 233, 0.496);
}

/* ******************************************************* */
/* FOOTER SECTION */
/* ******************************************************* */

.footer {
    background-color: #efeae9;
    padding-bottom: 4.8rem;
}

.footer-top-gap {
    height: 9.6rem;
    width: 100%;
    display: grid;
    grid-template-columns: 8fr 4fr;
    align-items: center;
    justify-items: end;
}

.mid-col h3,
.right-col h3 {
    text-transform: uppercase;
    font-size: 1.6rem;
    letter-spacing: 1.2;
    color: #444;
    margin-top: 0.8rem;
}

.mid-col,
.right-col {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.mid-col a,
.mid-col a:link,
.mid-col a:visited {
    font-size: 1.4rem;
    color: #000;
    text-decoration: none;
}

.mid-col a:hover,
.mid-col a:active {
    border-bottom: 2px solid black;
}

.right-col a,
.right-col a:link,
.right-col a:visited {
    font-size: 1.4rem;
    color: #000;
    text-decoration: none;
}

.right-col a:hover,
.right-col a:active {
    border-bottom: 2px solid black;
}

.mid-col,
.right-col {
    border-top: 2px solid #333;
}

.left-col p,
.right-col p {
    font-size: 1.4rem;
}

.left-col {
    padding: 1.6rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.left-col h3 {
    font-size: 2.4rem;
    font-weight: 500;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    color: #333;
}

.footer-logo {
    height: 5.6rem;
    padding: 0.6rem 0.32rem;
    margin-right: -12.4rem;
}

.social-link {
    margin-bottom: 1.6rem;
}

.social-link a {
    text-decoration: none;
    font-size: 1.4rem;
    color: #333;
    font-family: inherit;
    font-weight: 400;
}

/* 
STICKY NAV 
*/

.sticky .header {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    background-color: #efeae9;
    z-index: 999;
}

.sticky .section-hero {
    margin-top: 9.6rem;
}