/* Version: 1.0 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

:root {
    --navbar-height: 155px;
    --navbar-height-scrolled: 95px;
    --navbar-padding: 6px 12px;
    --navbar-padding-scrolled: 6px;
    --logo-width: 160px;
    --logo-width-scrolled: 80px;
    --nav-font-size: 18px;
    --nav-font-size-scrolled: 16px;
    --nav-padding-x: 12px;
    --nav-padding-y: 8px;
    --nav-padding-x-scrolled: 8px;
    --nav-padding-y-scrolled: 5px;
    --primary-color: #fb0116;
    --secondary-color: #c4c4c4;
    --header-font: 'Montserrat', sans-serif;
    --tertiary-color: #1a1a1a;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
}

#mainNavbar {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.80) 10%,
            rgba(0, 0, 0, 0.55) 35%,
            rgba(0, 0, 0, 0.35) 75%,
            transparent 100%);

    height: var(--navbar-height);
    padding: var(--navbar-padding) 0;

    transition:
        height 0.1s linear,
        padding 0.1s linear,
        box-shadow 0.2s ease;

    z-index: 1000;

    text-transform: uppercase;
}

#mainNavbar .nav-link {
    color: #fff !important;
    font-size: var(--nav-font-size);

    padding:
        var(--nav-padding-y) var(--nav-padding-x);

    transition:
        color 0.1s linear,
        font-size 0.1s linear,
        padding 0.1s linear;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active {
    color: var(--primary-color) !important;
}

@media (min-width: 992px) {

    #mainNavbar .container {
        height: 100%;
    }

    #mainNavbar .navbar-collapse {
        position: relative;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        height: 100%;
    }

    #mainNavbar .nav-left {
        position: absolute;
        right: calc(50% + 155px);
    }

    #mainNavbar .nav-right {
        position: absolute;
        left: calc(50% + 155px);
    }

    #mainNavbar .desktop-logo {
        position: absolute;

        left: 50%;
        top: 50%;

        transform: translate(-50%, -50%);

        margin: 0;
        padding: 0;

        z-index: 10;
    }

    #mainNavbar .desktop-logo img {
        display: block;

        width: var(--logo-width);
        height: auto;

        transition: width 0.1s linear;
    }
}

#mainNavbar.scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.mobile-header {
    display: none;
}

@media (max-width: 991.98px) {

    #mainNavbar {
        height: auto;
        min-height: 80px;
        padding: 10px 0;
    }

    .mobile-header {
        display: flex;

        width: 100%;

        align-items: center;
        justify-content: space-between;
    }

    .mobile-header .navbar-logo {
        display: block;

        margin: 0;
        padding: 0;
    }

    .mobile-header .navbar-logo img {
        display: block;

        width: 90px;
        height: auto;
    }

    .navbar-toggler {
        margin-left: auto;
        padding: 6px 8px;
        border: 0;
        box-shadow: none !important;
    }

    .desktop-logo {
        display: none !important;
    }

    #navbarContent {
        width: 100%;
        margin-top: 15px;

        text-align: left;
    }

    #navbarContent .nav-left,
    #navbarContent .nav-right {
        margin: 0 !important;
    }

    #navbarContent .nav-link {
        padding: 8px 0;
    }
}

.hero-section {
    height: 100vh;
    background-image: url('assets/images/hero1.png');
    background-size: cover;
    background-position: top;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-shadow: 0px 2px 6px rgba(0, 0, 0, 1);
    /* padding-bottom: 5vh; */
}

.hero-section h1,
.hero-section h4,
.hero-section button {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s ease-out forwards;
}

.hero-section h1 {
    animation-delay: 0.2s;
}

.hero-section h4 {
    animation-delay: 0.5s;
}

.hero-section button {
    animation-delay: 0.8s;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1 {
    color: var(--secondary-color);
    font-size: 3em;
    /* margin-bottom: 0.3em; */
    text-transform: uppercase;
    font-family: var(--header-font);
    font-weight: 700;
}

.hero-section h4 {
    color: var(--primary-color);
    margin-bottom: 1em;
    /* text-transform: uppercase; */
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 0;

}

.btn-outline-primary:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

.content-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--tertiary-color);
    text-align: center;
    min-height: 40vh;
    color: var(--secondary-color);
}

.content-section h2 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 0.5em;
    font-family: var(--header-font);
    font-weight: 700;
    text-transform: uppercase;

}

.content-end {
    background-image: url('assets/images/content_end.png');
    background-size: cover;
    background-position: top;
    min-height: 60vh;
}

.service-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--tertiary-color);
    text-align: center;
    min-height: 50vh;
    color: var(--secondary-color);
    padding-bottom: 5vh;
}

.service-section h2 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin: 0.5em 0;
    font-family: var(--header-font);
    font-weight: 700;
    text-transform: uppercase;

}

.service-section h4 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin: 0.8em 0 0.2em 0;
    font-family: var(--header-font);
    font-weight: 700;
    text-transform: uppercase;

}

.post-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--tertiary-color);
    text-align: center;
    min-height: 50vh;
    color: var(--secondary-color);
    padding-bottom: 5vh;
}

.post-section h2 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin: 0.5em 0;
    font-family: var(--header-font);
    font-weight: 700;
    text-transform: uppercase;

}

.post-section h4 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin: 0.8em 0 0.2em 0;
    font-family: var(--header-font);
    font-weight: 700;
    text-transform: uppercase;

}
.card {
    margin-top: 1em;
}
.card-body {
    max-height: 13em;
    background-color: var(--tertiary-color);
}
.card-body p {
    color: var(--secondary-color);  
    /* text-align: left; */
}
.img-container {
    width: 100%;
    aspect-ratio: 16 / 9; /* Adjust the aspect ratio as needed */
    min-height: 12em; /* Adjust the height as needed */
    overflow: hidden;
    /* position: relative; */
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.card-title {
    color: var(--primary-color);
    font-size: 1.1em;
    margin: 0.5em 0;
    font-family: var(--header-font);
    font-weight: 700;
    text-transform: uppercase;
}

.icon-size {
    width: 50%;
}

.contact-section {
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
    background-color: var(--tertiary-color);
    text-align: center;
    min-height: 50vh;
    color: var(--secondary-color);
    padding-bottom: 5vh;
}