@font-face {
    font-family: 'Roboto';
    src: url('../font/Roboto.woff2') format('woff2'),
         url('../font/Roboto.ttf') format('truetype');
}

body {
    background-color: #1e142a;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #555;

    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

/* Stop above the fold blocking */

#theMenu, #home, #about, #contact, #portfolio, #footer {
    display: inherit;
}

/* Titles */

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    color: #333;
}

/* Paragraph & Typographic */

p {
    line-height: 28px;
    margin-bottom: 25px;
}

.centered {
    text-align: center;
}

/* Links */

a {
    color: #ffffff;
    word-wrap: break-word;

    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
    color: #f0ad4e;
    text-decoration: none;
    outline: 0;
}

a:before,
a:after {
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/* ==========================================================================
   Wrap Sections
   ========================================================================== */

/* Header Wrap */

#headerwrap {
    text-align: center;
    background: linear-gradient(rgba(30, 20, 42, .4), rgba(30, 20, 42, 1)), url(../img/splash-background-no-text.png);
    min-height: 650px;
    width: 100%;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#headerwrap h1 {
    margin-top: 150px;
    color: white;
    font-size: 50px;
    font-weight: 700;
}

#headerwrap h3 {
    color: white;
    font-size: 25px;
    font-weight: 100;
    font-style: oblique;
}

.logo {
    text-align: left;
    margin-top: 15px;
}

.logo img {
    height: 100px;
}

/* Sections */

section {
    background: #1e142a;
    padding-bottom: 150px;
    text-align: center
}

section#contact {
    padding-bottom: 50px;
}

section h2 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

section i.icon-circle {
    font-size: 6px;
    color: #fff;
    padding: 3px;
}

section p {
    font-size: 18px;
    color: #f2f2f2;
}

section img {
    text-align: center;
}

/* FORM */

.has-error {
    background-color: #e37174;
    color: white;
}

.has-error::placeholder {
    color: white;
}

/* Navigation */

.menu {
    position: fixed;
    right: -240px;
    width: 300px;
    height: 100%;
    top: 0;
    z-index: 100;
    text-align: left;
}

.menu.menu-open {
    right: 0px;
}

.menu-wrap {
    position: absolute;
    top: 0;
    left: 60px;
    background: #232323;
    width: 240px;
    height: 100%;
    padding-top: 10px;
}

.menu h1.logo a {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 40px;
    color: #ffffff;
    margin-top: 20px;
    text-transform: uppercase;
}

.menu h1.logo a:hover {
    color: #f0ad4e;
}

.menu img.logo {
    margin: 20px 0;
    max-width: 160px;
}

.menu a {
    margin-left: 20px;
    color: #808080;
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.menu a:hover {
    color: #ffffff;
}

.menu a:active {
    color: #ffffff;
}

.menu a > i {
    float: left;
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    width: 25px;
    font-size: 14px;
    line-height: 40px;
    margin: 25px 2px;
}

.menu a > i.icon-mobile-phone {
    font-size: 18px;
}

.menu-close {
    cursor: pointer;
    display: block;
    position: absolute;
    font-size: 14px;
    color: #808080;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 20px;
    right: 5px;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

.menu-close:hover {
    color: #ffffff;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

/* Push the body after clicking the menu button */

.body-push {
    overflow-x: hidden;
    position: relative;
    left: 0;
}

.body-push-toright {
    left: 200px;
}

.body-push-toleft {
    left: -200px;
}

.menu,
.body-push {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

#menuToggle {
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 101;
    display: block;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.25);
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

#menuToggle:hover {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.2);
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

.carousel-inner > .item > a > img {
    margin: auto;
}

/* FOOTER */

.footer {
    padding: 10px 0;
}

.footer p {
    margin-bottom: 0;
}

.footer img {
    height: 40px;
}

.footer i {
    font-size: 20px;
    padding: 5px;
    margin-top: 15px;
}

.footer .nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    -webkit-box-pack: center;
    justify-content: center;
}

.footer .nav .nav-item {
    padding-left: 15px;
    padding-right: 15px;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
}

.footer .nav .nav-link {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    -webkit-box-flex: 1;
    flex-grow: 1;
    font-weight: 400;
    color: #ffffff;
    padding: 2px 0;
    white-space: nowrap;
}

.footer .nav.flex-column .nav-item {
    padding: 4px 0;
}

.footer .nav > li > a:hover,
.footer .nav > li > a:focus {
    text-decoration: none;
    background-color: transparent;
    color: #f0ad4e;
}

.align-items-center {
    -webkit-box-align: center !important;
    -webkit-align-items: center !important;
    -ms-flex-align: center !important;
    align-items: center !important
}

.footer .social a {
    color: #ffffff;
}

.footer .social a:hover,
.footer .social a:focus {
    color: #f0ad4e;
}

.row.gap-y > .col, .row.gap-y > [class*="col-"] {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Ensure carousel images have consistent dimensions */
#carousel-example-generic .carousel-inner .item {
    height: 250px; /* Fixed height for each slide */
}

#carousel-example-generic .carousel-inner a {
    display: block;
    height: 150px; /* Fixed height for the image container */
    display: flex;
    align-items: center;
    justify-content: center;
}

#carousel-example-generic .carousel-inner img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain; /* Preserves aspect ratio */
}