/* Custom CSS – semantic classes for reusability */

/* Masthead */
.masthead-title {
    font-size: 100px;
    text-transform: capitalize;
    font-weight: bold;
}

.masthead-subtitle {
    font-size: 1.5rem;
}

/* About section */
.about-image {
    margin: 30px 0 0 30px;
    max-width: 400px;
    position: relative;
}

.about-image img {
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    border: 16px solid;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Services section */
.service-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.service-icon {
    font-size: 4em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card-title {
    min-height: 2.5em;
    text-align: center;
}

@media (min-width: 992px) and (max-width: 1200px) {
    .service-card-title {
        padding-bottom: 1.25em;
    }
}

/* Typography */
h1,
h2,
h3 {
    text-transform: uppercase;
    opacity: 1;
}

.navbar {
    font-variant: small-caps;
    text-rendering: auto;
}

/* Portfolio */
.portfolio-container {
    padding: 5px;
    background-color: #343a40;
}

.project-name {
    font-style: italic;
}

/* Clients carousel */
.contact-clients {
    padding: 40px 0 10px;
}

.carousel-indicators {
    margin-bottom: -40px;
}

.client-logo {
    max-height: 120px;
    width: 100%;
    align-self: center;
}

.contact .col-3 {
    margin: 16px 0;
}

/* Form */
p.text-muted {
    padding: 16px 0;
}

p.text-muted.mb-5 {
    font-size: 18px;
}

/* Navigation */
a.nav-link:active {
    color: #f4623a;
    border-radius: 5px;
    text-decoration: underline;
}

a.nav-link:focus {
    color: #f4623a;
    border-radius: 5px;
    text-decoration: underline;
}

a.nav-link:last-of-type {
    padding: 0 16px !important;
}

/* Buttons */
.btn-light.btn-xl {
    box-shadow: 0 1px 5px 1px rgba(0, 0, 0, 0.15);
}

.btn-light.btn-xl:hover {
    box-shadow: 0 2px 7px 3px rgba(0, 0, 0, 0.14);
    transform: scale3d(1.01, 1.01, 1.01);
    transition: all 0.3s cubic-bezier(0, 0, 0.5, 1);
}
