/* reset */
*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
}

/* Hero section start */
.hero-section {
    height: 100vh;
    background-image: url(images/the-town-bg-01.4fb1a448e9b51ceb326a.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.hero-section header {
    font-family: cursive;
    padding: 1rem 1.25rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.hero-section a {
    text-decoration: none;
    color: #fff;
}

.hero-section nav {
    display: flex;
    justify-content: space-between;
}

.hero-section nav a:hover {
    color: #4169e1;
}

.hero-section .links {
    list-style: none;
    display: flex;
    gap: 1.25rem;
}

.hero-section .links .int {
    color: #4169e1;
}

.hero-section .main-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 75%;
    gap: 1.25em;
}

.hero-section .main-text .wb-name {
    font-size: 3.25em;
}

.hero-section .main-text a {
    color: #4169e1;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .hero-section .links {
        flex-direction: column;
    }
    .hero-section .main-text {
        height: 50%;
    }
}

/* Intro section start */
.intro-section {
    width: 75%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 3.25rem;
    margin-inline: auto;
}

.intro-img {
    width: 45%;
}

.intro-img img {
    width: 100%;
}

.intro-text {
    width: 47.5%;
}


.intro-text .header-text {
    font-size: 2.5em;
    color: #4169e1;
}

.intro-text .body-text {
    color: #777;
    line-height: 1.6;
}

.intro-text p {
    margin-bottom: 2rem;
}

.intro-text .body-text span {
    font-weight: 600;
}

.intro-text .body-text a {
    text-decoration: none;
    color: #4169e1;
    font-weight: 600;
}

.intro-text button {
    background-color: #4169e1;
    color: #fff;
    padding: 0.75em 1em;
    border: none;
    border-radius: 1em;
    font-size: 1em;
    cursor: pointer;
}

.intro-text button:hover {
    background-color: #0062cc;
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    .intro-section {
        width: 80%;
    }
    .intro-text p {
        margin-bottom: 1rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    .intro-section {
        flex-direction: column;
        gap: 2.5rem;
    }
    .intro-img, .intro-text {
        width: 75%;
        text-align: center;
    }
}

@media screen and (min-width: 600px) and (max-width: 768px) {
    .intro-section {
        flex-direction: column;
        gap: 2.5rem;
    }
    .intro-img, .intro-text {
        width: 85%;
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
    .intro-section {
        flex-direction: column;
        gap: 2.5rem;
    }
    .intro-img, .intro-text {
        width: 100%;
        text-align: center;
    }
}

/* Our work section start */
.our-work {
    background-image: linear-gradient(180deg, #e3987f, #5c648c);
}

.our-work .container {
    display: flex;
    justify-content: center;
    padding-block: 3.5rem;
    gap: 1rem;
}

.our-work .work {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 25%;
    gap: 0.5em;
}

.our-work .work .work-name {
    font-size: 2em;
    color: #fff;
    font-weight: 600;
}

.our-work .work a {
    text-decoration: none;
    color: #4169e1;
    font-size: 1.5em;
}

.our-work .work a:hover {
    color: #0056b3;
}

.our-work .work p {
    color: #cdc1c1;
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

@media screen and (min-width:992px) and (max-width: 1200px) {
    .our-work .container {
        gap: 3rem;
    }
}

@media screen and (max-width: 992px) {
    .our-work .container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    .our-work .work {
        width: 75%;
    }
}

.more-work {
    display: flex;
    flex-direction: column;
    margin-inline: 3rem;
    padding-block: 3rem;
}

.more-work .work-text {
    text-align: center;
    line-height: 1.6;
    margin-bottom: 3em;
}

.work-text .header-text {
    font-size: 2.5em;
    color: #4169e1;
    font-weight: 600;
}

.work-text p {
    color: #666;
}

.more-work .work-imgs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25em;
}

.work-imgs img {
    height: 14em;
    width: 12.5em;
    transition: 0.3s;
}

.work-imgs img:hover {
    transform: scale(1.1);
}

/* Footer section start */
.footer-section {
    background-image: url(images/the-town-bg-02.d00ce147e8572c7e554e.jpg);
    background-position: 100% 45%;
    color: #fff;
}

.footer-section .container {
    width: 75%;
    margin-inline: auto;
    padding-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.contact-text .header-text {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 0.25em;
}

.contact-text span {
    display: inline-block;
    position: relative;
    height: 1px;
    width: 100%;
    background-color: #fff;
    margin-bottom: 2em;
}

.contact-text span::before {
    content: "";
    position: absolute;
    width: 20%;
    height: 0.5em;
    background-color: #fff;
}

.contact-text p {
    line-height: 2.4;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5em;
}

.contact-info .info, .email {
    display: flex;
    flex-direction: column;
    gap: 6em;
    font-weight: 600;
}

.info p a, .email p a {
    text-decoration: none;
    color: #fff;
}

.email .email-input input[type=email] {
    padding: 0.75em 1.25em;
    margin-right: 1em;
    background-color: transparent;
    border: 0.125em #fff solid;
    border-radius: 0.25em;
    color: #fff;
    outline: none;
    font-size: 1em;
}

.email .email-input input[type=email]::placeholder {
    color: #fff;
}

.email .email-input input[type=submit] {
    padding: 0.75em 1.25em;
    background-color: #fff;
    color: #4169e1;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1em;
    border: none;
    border-radius: 0.25em;
    cursor: pointer;
    transition: 0.3s;
}

.email .email-input input[type=submit]:hover {
    background-color: #ddd;
}

.copyright {
    padding-bottom: 1.25em;
    text-align: center;
    font-size: 1.125em;
}

.copyright a {
    text-decoration: none;
    font-weight: 600;
    color: #4169e1;
}

@media screen and (max-width: 992px) {
    .contact-text {
        text-align: center;
    }
    .contact-text span::before {
        width: 50%;
        right: 25%;
    }
    .contact-info {
        flex-direction: column;
        gap: 3em;
        margin-bottom: 1em;
    }
    .contact-info .info, .email {
        gap: 3em;
    }
    .email .email-input input[type=email], .email .email-input input[type=submit] {
        padding: 0.75em 0.25em;
    }
}