section [class^="container"] {
    padding: 4rem 2rem;
}

@media screen and (min-width: 1024px) {
    section [class^="container"] {
    padding: 4rem;
    }

    nav [class^="container"] {
    padding: 0 4rem;
    }
}

.title {
    text-align: center;
}

section:nth-child(2n) {
    background-color: #ecf2ff;
}

a {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s;
}

a:not(.btn):hover {
    color: #f5a841;
}

section .card,
.btn-outline-dark {
    border: 2px solid #000000;
    box-shadow: 4px 4px #000000;
    transition: all 0.4s;
}

.btn-outline-dark:hover {
    box-shadow: 4px 4px #f5a841;
}

section .card {
    max-width: 22rem;
    margin-inline: auto;
}

/* NAVBAR */

.navbar {
    background-color: #ffffff;
}

.navbar-nav .nav-link {
    color: #000000;
    font-size: 1.1rem;
    transition: all 0.5s;
}

.navbar-nav .nav-link:hover {
    color: #f5a841;
}

@media screen and (min-width: 1024px) {
    .navbar-nav .nav-item {
    padding: 0 1rem;
    }

    .navbar-brand {
    font-size: 1.5rem;
    }
}

/* HERO */

section.hero {
    padding-top: 40px;
}

.hero-btn {
    padding-bottom: 20px;
}

@media screen and (max-width: 576px) {
    section.hero {
    text-align: center;
    }

    section.hero .img-fluid {
    width: 70%;
    }
}

/* SERVICES */

section.services i {
    font-size: 2rem;
    margin: 1rem auto 0;
    border: 2px solid #000000;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5a841;
}

/* ABOUT */

@media screen and (min-width: 1024px) {

    section.about .container,
    section.testimonials .container {
    width: 75%;
    }
}

/* PROJECTS */

section.projects .card {
    max-width: 17rem;
    text-align: left;
    background-color: #FAF9F6;
}

section.projects .card img {
    max-width: 70%;
    margin: 0 auto;
    padding: 10px;
    border-radius: 10%;
}

.card-body {
    display: flex !important;
    flex-direction: column !important;
}

.card .btn {
    margin-top: auto !important;
}

/* TESTIMONIALS */

section.testimonials .carousel-control-prev,
section.testimonials .carousel-control-next {
    width: 5%;
}

section.testimonials .carousel-item p {
    max-width: 80%;
    border-left: 5px solid #f5a841;
    padding-left: 1rem;
}

section.testimonials .carousel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section.testimonials .carousel.carousel-fade .carousel-item {
    transition: opacity 0.5s;
}

/* CONTACT */

section.contact .social-media a {
    padding: 0 0.5rem;
    font-size: 1.3rem;
}

.border {
    border-color: #000000;
    border-width: 5px;
    border-style: solid;
}

.details {
    padding-top: 10px;
}

.my-work {
    padding-top: 10px;
}

.middle-img {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.middle-btn {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.img-fluid {
    width: 45%; 
}


@media screen and (max-width: 576px) {
    section.more-info h3 {
        padding-top: 40px;
    }

    section.more-info .img-fluid {
    width: 70%;
    }
}

@media screen and (max-width: 576px) {
    section.more-info h3 {
        padding-top: 40px;
    }

    section.brief .img-fluid {
    width: 70%;
    }
}