#header {
    display: none;
}
.container-banner {
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
}
.container-header {
    display: none;
}
.container-header .navbar-brand img {
    width: 340px;
    height: 80px;
    min-width: 340px;
    border: none;
}
.container-hero {
    background: url(../images/nairn-sunset.jpg) no-repeat 50%;
    background-size: cover;
    color: #af0000;
    height: 220px;
    margin: 0 auto;
    max-width: 100%;
    padding: 40px 0;
    text-align: center;
}

.hero-module {
    max-width: 90%;
    line-height: 1.1;
    text-align: center;
    margin: 0 auto 24px;
}
@media (min-width: 768px) {
    .hero-module {
        max-width: 80%;
    }
}
@media (min-width: 992px) {
    .hero-module {
        max-width: 800px;
    }
}

.hero-module h1 {
    color: #af0000;
    font-family: Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 24px;
    text-align: center;
    text-rendering: optimizeLegibility;
}
@media (min-width: 768px) {
    .hero-module h1 {
        font-size: 40px;
    }
}

.hero-module h3 {
    color: #fff;
    font-family: Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
}
@media (min-width: 768px) {
    .hero-module h3 {
        font-size: 30px;
    }
}

.container-services {
    display: grid;
    max-width: 1150px;
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    background-color: #f6f7f8;
    color: #303030;
    text-align: center;
    margin: 0 5%;
    ul {
        margin-top: 0.5rem !important;
    }
}
@media (min-width: 768px) {
    .container-services {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (min-width: 992px) {
    .container-services {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 1fr;
        margin: 0 0;
    }
    ul {
        margin-top: 3rem !important;
    }
}
@media (min-width: 1332px) {
    .container-services {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 1fr;
        margin: 0 15%;
    }
}
.container-services img {
    margin-top: 0;
    text-align: center;
}

.features-intro .features-title {
    margin: 0 0 48px 0;
    text-align: left;
}
.features-intro.style-1 {
    list-style: none;
    margin: 0 auto;
    padding: 24px 20px;
    background: #f6f7f8;
    text-align: center;
}
.features-intro.style-1 ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}
.features-intro.style-1 li {
    margin-bottom: 36px;
    padding-left: 72px;
    position: relative
}
.features-intro.style-1 li strong {
    background-color: #909090;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    display: block;
    height: 48px;
    line-height: 48px;
    position: absolute;
    top: 6px;
    left: 0;
    text-align: center;
    width: 48px
}
.features-intro.style-1 li .line-icon {
    background: #e0e0e0;
    display: block;
    width: 1px;
    height: 100%;
    position: absolute;
    top: 53px;
    left: 23px
}
.container-architecture {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 0;
    grid-row-gap: 15px;
    background-color: #fefefe;
    color: #303030;
    text-align: left;
    margin: 0 15px;
    max-width: 100%;
}
@media (min-width: 768px) {
    .container-architecture {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 1fr;
        grid-column-gap: 30px;
        grid-row-gap: 30px;
    }
}

@media (min-width: 992px) {
    .container-architecture {
        max-width: 1150px;
        text-align: center;
        grid-template-columns: repeat(3, 1fr);
        grid-column-gap: 40px;
        grid-row-gap: 20px;
        margin: 0 auto;
    }
}

.features-intro.style-2 {
    padding: 0;
    text-align: center;
}

.features-intro.style-2 .icon img {
    text-align: left;
    margin: 10px 0;
}

.features-intro.style-2 .feature-item {
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    margin-bottom: 24px;
    padding: 24px;
    text-align: left;
    -webkit-transition: all .35s;
    transition: all .35s
}

.features-intro.style-2 .feature-item:hover {
    border-color: #909090
}

.features-intro.style-2 .hilite {
    border: 2px solid #3498db;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.08)
}

.features-intro.style-2 .hilite .fa {
    color: #3498db
}

.features-intro.style-2 .fa {
    color: #606060;
    font-size: 40px
}

.features-intro.style-2 .badge-new {
    background-color: #008c31;
    color: #fff;
    display: inline-block;
    font-weight: normal;
    margin-top: -10px
}

.section-title {
    color: #af0000;
    font-size: 32px;
    font-family: Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    padding-bottom: 12px;
    margin: 48px 0 24px;
    position: relative;
    text-align: center;
}
.section-title:before {
    background-color: #af0000;
    content: "";
    display: block;
    height: 3px;
    position: absolute;
    left: 50%;
    bottom: 0;
    margin-left: -30px;
    width: 60px;
}
.section-desc {
    color: #333;
    font-size: 24px;
    margin: 0 5% 24px 5%;
    text-align: center;
}
@media (min-width: 768px) {
    .section-desc {
        margin: 0 10% 24px 10%;
    }
}
@media (min-width: 992px) {
    .section-desc {
        margin: 0 10% 24px 10%;
    }
}

.container-quote {
    display: grid;
    width: auto;
    max-width: 1150px;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    text-align: left;
    margin: 0 auto;
}
.carousel-control-next, .carousel-control-prev {
    color: #666;
}

.gallery-parent {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 auto;
}
.gallery-child {
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    padding: 10px; /* Example padding */
    height: auto;
}
.gallery-child img {
    border: 1px solid #333;
}
/* Large screens: 4 items per row */
@media (min-width: 992px) {
    .gallery-parent {
        width: 80%;
    }
    .gallery-child {
        flex-basis: 25%; /* 100% / 4 = 25% */
    }
}
/* Medium screens: 3 items per row */
@media (min-width: 768px) and (max-width: 991px) {
    .gallery-parent {
        width: 100%;
    }
    .gallery-child {
        flex-basis: 33.33%; /* 100% / 3 = 33.33% */
    }
}
/* Small screens: 2 items per row */
@media (max-width: 767px) {
    .gallery-parent {
        width: 100%;
    }
    .gallery-child {
        flex-basis: 50%; /* 100% / 2 = 50% */
    }
}
.gallery-child p {
    height: auto;
    text-align: center;
    margin: 0.5rem 0 2rem;
    padding: 0 0;
}

/*.flex-container {*/
/*    display: flex;*/
/*    flex-wrap: wrap; !* Allows items to wrap to the next row *!*/
/*    justify-content: space-around; !* Optional: Adjust spacing between items *!*/
/*}*/

/*.flex-item {*/
/*    !* Default styling for all items *!*/
/*    box-sizing: border-box; !* Include padding and border in element's total width and height *!*/
/*    padding: 10px; !* Example padding *!*/
/*    border: 1px solid #ccc; !* Example border *!*/
/*}*/

/*!* Large screens: 4 items per row *!*/
/*@media (min-width: 992px) {*/
/*    .flex-item {*/
/*        flex-basis: 25%; !* 100% / 4 = 25% *!*/
/*    }*/
/*}*/

/*!* Medium screens: 3 items per row *!*/
/*@media (min-width: 768px) and (max-width: 991px) {*/
/*    .flex-item {*/
/*        flex-basis: 33.33%; !* 100% / 3 = 33.33% *!*/
/*    }*/
/*}*/

/*!* Small screens: 2 items per row *!*/
/*@media (max-width: 767px) {*/
/*    .flex-item {*/
/*        flex-basis: 50%; !* 100% / 2 = 50% *!*/
/*    }*/
/*}*/