@import url('https://fonts.googleapis.com/css2?family=Caveat&family=Source+Sans+3:wght@500&display=swap');

* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    background-color: #f4f4f4;
}

nav {
    display: flex;
    align-items: center;
    height: 80px;
    justify-content: space-between;
    margin-bottom: 60px;
}

nav a, nav i {
    color: #fff;
    font-size: 24px;
}

header nav a {
    color: #333;
    margin-right: 20px;
}

hr {
    background-color: #fff;
    height: 15px;
    margin: 0;
}

a {
    text-decoration: none;
}

h1 {
    font-family: 'Source Sans 3', sans-serif;
}

h2 {
    font-size: 36px;
}

#showcase {
    background-color: #060724;
}

#showcase h1 {
    font-size: 48px;
}

#showcase h1, #showcase p {
    color: #fff;
}

#showcase h2 {
    color: #b53417;
}

#showcase p {
    font-size: 28px;
}

#showcase nav i {
    margin-right: 0.2rem;
}

#showcase img {
    width: 100%;
    height: auto;
}

#showcase .column small {
    color: #fff;
}

#showcase #title {
    margin-bottom: 150px;
}

#showcase #cta-btn {
    display: flex;
    justify-content: center;
}

#showcase #cta-btn a {
    border: none;
    height: 60px;
    font-size: 28px;
    background-color: #b53417;
    color: #fff;
    transition: 0.3s;
}

#showcase #cta-btn a:hover {
    background-color: #cb3b1a;
}

nav a, nav i {
    transition: 0.25s;
}

nav a:hover, nav a:hover i {
    color: #ccc;
}

#quote {
    width: 100%;
    background-color: #b53417;
    color: #fff;
    height: 500px;
    font-family: 'Caveat', sans-serif;
    display: flex;
    align-items: center;
}

#quote p {
    font-size: 40px;
}

#services {
    background-color: #f4f4f4;
    height: 750px;
}

#services .columns {
    display: flex;
    align-items: center;
    height: 100%;
}

#services .column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#services p {
    font-size: 28px;
}

#services i {
    color: #339933;
}

#services-list {
    margin-left: 1.5rem;
}

#why-me i {
    color: #b53417;
    font-size: 24px;
}

/* Why Work With Me – card hover */
#why-me .box {
  transition: box-shadow 360ms ease, transform 360ms ease;
  will-change: transform, box-shadow;
  /* optional: a very light resting shadow */
  box-shadow: 0 0 0 1px rgba(181, 52, 23, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
}

#why-me .box:hover,
#why-me .box:focus-within {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 2px #b53417,                    /* tinted outline */
    0 10px 24px rgba(181, 52, 23, 0.28);  /* tinted drop shadow */
}

/* Keyboard accessibility: show focus when tabbing into links/buttons inside the box */
#why-me .box :is(a, button):focus-visible {
  outline: 2px solid #b53417;
  outline-offset: 2px;
}

#about-me {
    height: 850px;
}

#about-me img {
    height: 450px;
    width: auto;
}

#about-me .columns {
    display: flex;
    align-items: center;
    height: 100%;
}

#about-me .column:first-of-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 1rem 0 4rem;
    height: 100%;
}

#about-me .column:last-of-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

#about-me .column p {
    font-size: 22px;
}

#contact-me {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 150px;
}

#contact-me h2 {
    width: 100%;
    text-align: left;
    margin-bottom: 1rem;
}
  
#contact-me form {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

#contact-me button {
    background-color: #b53417;
    color: #fff;
    transition: 0.25s;
    border: none;
}

#contact-me button:hover {
    background-color: #cb3b1a;
}

#contact-form p {
    padding-bottom: 30px;
    font-size: 18px;
}

#contact-form #form-phone {
    color: #060724;
}

footer {
    height: 350px;
    background-color: #060724;
    font-size: 17px;
    color: #fff;
}

footer a {
    color: #ccc;
    transition: 0.3s;
}

footer a:hover {
    color: #fff;
}

footer #contact {
    font-size: 20px;
}

footer #license {
    text-align: center;
    margin-bottom: 1rem;
}

footer #copyright {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer #social-links {
    font-size: 44px;
}

footer #social-links .fa-square-facebook {
    color: #1877f2;
}

footer #social-links .fa-linkedin {
    color: #0a66c2;
}

form .message-body {
    font-size: 20px;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  #why-me .box { transition: none; }
}

/* MOBILE STYLING */
@media screen and (min-width: 769px) and (max-width: 992px) {
    #showcase p {
        font-size: 26px;
        margin-bottom: 3rem;
    }

    #showcase img {
        height: 100%;
        width: auto;
    }

    #services {
        height: 750px;
    }

    #services p {
        font-size: 24px;
    }

    #services .column:first-of-type {
        margin-left: 1.5rem;
    }

    #services-list {
        margin-left: 0.5rem;
    }

    #about-me {
        height: 1600px;
    }

    #about-me .column p {
        font-size: 22px;
    }

    #about-me .column:first-of-type {
        margin: 0 1rem 0 2rem;
    }

    #about-me .column:last-of-type {
        width: 50% !important;
    }

    #contact-me h2 {
        margin-left: 1.5rem;
    }

    #contact-me form {
        width: 70%;
    }

    #quote p {
        font-size: 32px;
        margin: 0 1rem;
    }
}

@media screen and (max-width: 768px) {
    hr {
        display: none;
    }

    #showcase img {
        height: 400px;
    }

    #showcase p {
        margin-right: 2rem;
    }

    #showcase #cta-btn a {
        font-size: 24px;
    }

    #quote {
        height: 450px;
        margin-bottom: 5rem;
    }

    #quote p {
        font-size: 28px;
        margin: 0 1rem;
    }

    #services {
        margin-bottom: 5rem;
        height: 850px;
    }

    #services .columns {
        flex-direction: column !important;
        height: auto;
    }

    #services .column {
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #services .column p {
        font-size: 26px;
    }

    #services .column:first-of-type {
        margin-left: 2rem;
    }

    #services img {
        max-width: 100%;
        height: auto;
        margin-top: 20px;
    }

    #about-me {
        height: auto;
        margin-bottom: 5rem;
    }

    #about-me .columns {
        flex-direction: column !important;
        height: auto;
    }

    #about-me p.block {
        margin-right: 2rem;
        font-size: 26px;
    }

    #about-me .column {
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        flex-direction: column;
    }

    #about-me img {
        max-width: 100%;
        height: auto;
        margin-top: 20px;
    }

    #contact-me {
        height: auto;
    }

    #contact-me h2 {
        margin-left: 3rem;
    }

    #contact-me form {
        width: 80%;
    }

    footer {
        height: 650px;
    }

    footer #copyright {
        font-size: 14px;
    }

    footer #contact {
        font-size: 20px;
    }
}