/* Main CSS Settings */

*,
*::after,
*::before {
    box-sizing: border-box;
    transition: var(--transition);
    font-family: "Montserrat", sans-serif !important;
    /* outline: var(--border); */
}

/* Root Valiables */

:root {
    --transition: all 0.2s ease-in-out;
    --border: 1px solid red;

    --accent-color: #fd6124;
    --accent-color-subtle: #f5713d10;
    --accent-color-hover: #f5713d;

    --accent-dark: #2eb85c;
    --accent-dark-subtle: #2eb85c10;
    --accent-dark-hover: #2aa753;
    
    --accent-darker: #014753;

    --accent-light: #f5fffd;
    --accent-light-alt: #cfedfc;
}

/* Bootstrap Reset */

.bi {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    color: inherit !important;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
}

.btn-outline-light:hover {
    color: var(--accent-dark) !important;
}

.btn-outline-dark:hover {
    color: var(--bs-light) !important;
}

/* Standard Elements Reset */

ul {
    list-style: none;
}

li {
    list-style: none;
    padding: 0;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

span {
    display: flex;
}

a {
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    color: inherit !important;
    opacity: 0.95;
}

a:hover {
    opacity: 1;
    color: inherit !important;
    text-decoration: none !important;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -o-object-fit: cover;
    -o-object-position: center;
}

button {
    outline: none;
    border: none;
    background: none;
    color: inherit;
}

/* Custom Font */

.montserrat {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

/* Main Body Settings */

body {
    width: 100%;
    height: 100vh;
    position: relative;
    text-size-adjust: 100%;
    background: var(--accent-light) !important;
    scroll-behavior: smooth;
    text-wrap: balance;
}

body.sidebar-open {
    overflow: hidden;
}

body.sidebar-open #sidebarOverlay {
    display: block;
}

body > header {
    /* position: sticky; */
    top: 0;
    left: 0;
    /* background: var(--accent-dark) !important; */
    color: var(--bs-dark) !important;
    z-index: 1000;
}

/* Custom Color Classes */

.text-accent {
    color: var(--accent-color) !important;
}

.text-accent-dark {
    color: var(--accent-dark) !important;
}

.text-accent-darker {
    color: var(--accent-darker) !important;
}

.text-accent-light {
    color: var(--accent-light) !important;
}

.text-gapped {
    text-transform: uppercase;
    font-weight: 700 !important;
    font-size: .9rem;
    letter-spacing: .2rem;
}

.text-gapped-sm {
    text-transform: uppercase;
    font-weight: 700 !important;
    font-size: .6rem;
    letter-spacing: .2rem;
}

.bg-accent {
    background: var(--accent-color) !important;
    color: var(--accent-light) !important;
}

.bg-accent-dark {
    background: var(--accent-dark) !important;
}

.bg-accent-darker {
    background: var(--accent-darker) !important;
}

.bg-accent-light-alt {
    background: var(--accent-light-alt) !important;
}

.border-accent {
    border-color: var(--accent-color) !important;
}

.border-accent-dark {
    border-color: var(--accent-dark) !important;
}

/* Button Settings */

.btn-outline-accent {
    border-color: var(--accent-color) !important;
    color: var(--accent-color) !important;
}

.btn-outline-accent:hover {
    border-color: var(--accent-color) !important;
    background: var(--accent-color) !important;
    color: var(--accent-light) !important;
}

.btn-outline-accent-dark {
    border-color: var(--accent-dark) !important;
    color: var(--accent-dark) !important;
}

.btn-outline-accent-dark:hover {
    border-color: var(--accent-dark) !important;
    background: var(--accent-dark) !important;
    color: var(--accent-light) !important;
}

.btn-accent {
    background: var(--accent-color) !important;
    color: var(--accent-light) !important;
}

.btn-accent:hover {
    background: var(--accent-color-hover) !important;
    color: var(--accent-light) !important;
}

.btn-accent-dark {
    background: var(--accent-dark) !important;
    color: var(--accent-light) !important;
}

.btn-accent-dark:hover {
    background: var(--accent-dark-hover) !important;
    color: var(--accent-light) !important;
}

.contact-us-btn {
    display: none;
}

/* Image Loadning Animation & Class */

.img-placeholder {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0% {
        opacity: 0;
    } 50% {
        opacity: 1;
    } 100% {
        opacity: 0;
    }
}

/* Custom Grids */

.grid-box {
    align-self: center;
    justify-self: center;
    border-radius: 1rem;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1/1;
    transition: var(--transition);
}

.grids-2 {
    grid-template-columns: repeat(auto-fill, minmax(auto, calc(50% - .5rem)));
    gap: 1rem;
    justify-content: center;
}

.grids-2-wide {
    grid-template-columns: repeat(auto-fill, minmax(calc(50% - 1rem), 1fr));
    gap: 2rem;
    justify-content: center;
}

.grids-3 {
    grid-template-columns: repeat(3, minmax(auto, 1fr));
    gap: 1rem;
    justify-content: center;
}

.grids-4 {
    grid-template-columns: repeat(auto-fill, minmax(14rem, calc(25% - .75rem)));
    gap: 1rem;
    justify-content: center;
}

.grids-5 {
    grid-template-columns: repeat(5, minmax(auto, 1fr));
    gap: 1rem;
    justify-content: center;
}

.grids-6 {
    grid-template-columns: repeat(6, minmax(auto, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.grids-6 img {
    object-fit: fill;
    width: 100%;
    height: auto;
}

/* Footer Settings */

.foot-section {
    background: var(--accent-dark) !important;
    color: var(--accent-light) !important;
    /* border-bottom: .8rem solid var(--accent-color) !important; */
}

.foot-section > div {
    display: grid;
    gap: 2rem;
    padding: 3rem 0 !important;
    align-items: center;
    margin: 0 auto !important;
    justify-content: center;
}

.foot-section > div img {
    width: 8rem;
    height: auto !important;
}

/* Navigation Settings */

.top-navbar > span {
    /* display: grid; */
    gap: 1rem;
    padding: 1rem 0 !important;
    align-items: center;
    margin: 0 auto !important;
    justify-content: center;
}

.top-navbar > span > span > a:hover {
    color: var(--accent-color) !important;
}

.top-navbar > span > span > a.active {
    color: var(--accent-color) !important;
    font-weight: 700;
}

.top-navbar img {
    width: 8rem;
    height: auto !important;
}

/* Header Settings */

.header {
    position: relative;
    padding: 8rem 1rem !important;
    color: white;
    text-align: center;
    background-image: url("../../assets/img/images/jpg/banner/banner.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.header > div {
    position: relative;
    z-index: 2;
}

.overlay {
    position: absolute;
    inset: 0 0 0 0;
    background: var(--accent-dark);
    opacity: .8;
    z-index: 0;
}

.overlay-light {
    position: absolute;
    inset: 0 0 0 0;
    background: var(--accent-dark);
    opacity: .6;
    z-index: 0;
}

.overlay-btt {
    position: absolute;
    inset: 0 0 0 0;
    background: linear-gradient(to top, var(--accent-dark), transparent);
    z-index: 0;
}

.random-circle {
    position: absolute;
    background-color: var(--accent-color);
    border-radius: 50%;
    opacity: .3;
     /*filter: blur(3rem); */
    z-index: 0;
}

/* Carousel Settings */

.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    display: flex;
    transition: all .5s ease-in-out !important;
    z-index: 2;
}

.carousel-slide {
    width: 100%;
    flex: 0 0 auto;
}

.quote-symbol {
    color: var(--accent-color);
    position: absolute;
    right: -1rem;
    top: 50%;
    font-size: 15rem;
    transform: translateY(-50%);
    filter: blur(1rem);
    opacity: .5;
    z-index: 0;
}

/* Additional CSS */

.trans-box {
    background: var(--accent-dark-subtle);
}

.trans-box-alt {
    background: var(--accent-color-subtle);
}

.tiny-img {
    max-width: 3rem;
    overflow: hidden;
    border-radius: 50%;
}

.small-img {
    max-width: 6rem;
    overflow: hidden;
    border-radius: 50%;
}

.img-auto {
    width: auto !important;
    height: auto !important;
}

/* Map Settings */

#location-map {
    position: relative;
    width: 100%;
    height: 30rem;
    overflow: hidden;
}

#location-map > iframe {
    width: 100%;
    height: 100%;
    border: 0 !important;
}

#map-overlay {
    position: absolute;
    inset: 0 0 0 0;
    align-items: center;
    justify-content: center;
}

#map-overlay img {
    width: auto;
    height: auto;
}

/* Service Page Settings */

.service-banner {
    position: relative;
    background-image: url("../../assets/img/images/services/banner.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.service-banner > div > span {
    position: relative;
    z-index: 2;
}

.hor-scroll {
    width: 100%;
    position: relative;
    overflow-x: auto !important;
    scroll-behavior: smooth;
}

.hor-box {
    gap: 1rem;
    width: 100%;
    display: grid;
    position: relative;
    grid-template-columns: repeat(5, 22rem);
    z-index: 0;
}

.project-box {
    position: relative;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
}

.project-info {
    position: absolute;
    inset: 0 0 0 0;
    background: linear-gradient(to top, var(--accent-dark) 0%, transparent 80%);
}

.overlay-depth {
    position: absolute;
    inset: 0 0 0 0;
    background: linear-gradient(to right, transparent 80%, var(--accent-light) 100%);
    z-index: 10;
    pointer-events: none;
}

#scroll-btn {
    position: absolute;
    top: 50%;
    right: 0;
    cursor: pointer;
    z-index: 30;
    transform: translateY(-50%);
}

/* Scrollbar Settings */

.hor-scroll::-webkit-scrollbar {
    width: 5px;
    height: 0;
}

.hor-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.hor-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-dark);
    border-radius: 5px;
}

.hor-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

.trusted-companies img {
    height: 4rem !important;
    width: auto !important;
}

#adminSidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background-color: #343a40;
    color: white;
    z-index: 1040;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

#adminSidebar.show-sidebar {
    transform: translateX(0);
}

/* Main wrapper layout */
#adminMainWrapper {
    transition: margin-left 0.3s ease-in-out;
}

/* On desktop, shift main content to the right */
@media (min-width: 768px) {
    #adminMainWrapper {
        margin-left: 260px;
    }
}

/* On mobile, content is full width */
@media (max-width: 767.98px) {
    #adminMainWrapper {
        margin-left: 0;
    }
}

#sidebarOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1030;
    display: none;
}

.introjs-skipbutton {
  background: transparent !important;
  border: none !important;
  color: #333 !important;
  font-size: 1.25rem !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
