/* 
 * CSS styles specifically for the header and footer of the Insightone template.
 * Since global styles have been removed from the insightone template to prevent 
 * bloat and conflicts, extract the required header/footer rules from main.css 
 * and place them here. 
 */

header {
    width: 100%;
    position: absolute;
    z-index: 99;
    transition: all 0.3s
}

header .header-main {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center
}

header .header-main .logo {
    min-width: 99px;
    max-width: 99px
}

header .header-main .logo a {
    display: block;
    width: 100%
}

header .header-main .logo img {
    width: 100%
}

header .header-main .navbar {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center
}

header .header-main .navbar .menu-header-menu-container {
    position: relative
}

header .header-main .navbar #menu {
    position: relative
}

@media screen and (max-width:1023px) {

    header .header-main .navbar #menu,
    header .header-main .navbar #menu-header-menu {
        display: none
    }
}

@media screen and (max-width:767px) {
    header .header-main .navbar {
        position: static
    }
}

header .header-main .great-work img {
    width: 58px
}

header .header-main .contact-btn {
    width: 196px;
    height: 50px
}

header .header-main .contact-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 50px;
    position: relative
}

header .header-main .contact-btn a img {
    margin-right: 10px
}

@media screen and (max-width:991px) {
    header .header-main .contact-btn {
        min-width: 150px
    }
}

header .header-main .search {
    position: absolute;
    right: 0
}

header .header-main .search a {
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center
}

header.fixed-header {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 999
}

header.scrolled {
    position: fixed;
    top: 0
}

@media screen and (max-width:576px) {
    header.scrolled {
        top: 0
    }
}

header.header-two {
    position: relative
}

header.header-two::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    bottom: 6px;
    z-index: -1
}

header.dark-bg.scrolled {
    position: fixed
}

@media screen and (max-width:960px) {
    header.dark-bg .ubermenu-skin-grey-white.ubermenu-responsive-toggle {
        display: block
    }
}

@media screen and (max-width:1450px) {
    .container {
        max-width: 1240px
    }
}

@media screen and (max-width:1199px) {
    .container {
        max-width: 100%;
        padding: 0 15px
    }
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    width: 100%;
    padding-right: var(--bs-gutter-x, .75rem);
    padding-left: var(--bs-gutter-x, .75rem);
    margin-right: auto;
    margin-left: auto;
}

/* Footer V2 Styles */
.site-footer-v2 {
    background-color: #151515;
    color: #fff;
    font-family: 'Inter', sans-serif;
    /* Fallback to theme default if Inter not available */
    padding: 0;
    margin: 0;
}

.site-footer-v2 a {
    text-decoration: none;
    color: #fff;
    transition: opacity 0.3s ease;
}

.site-footer-v2 a:hover {
    opacity: 0.7;
}

.footer-v2-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 200px;
}

.footer-v2-left {
    width: 30%;
    padding: 25px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.footer-v2-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-v2-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 10px;
}

.footer-v2-tagline {
    font-size: 14px;
    font-weight: 300;
    color: #a0a0a0;
    margin: 0;
}

.footer-v2-right {
    width: 70%;
    padding: 25px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-v2-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-v2-nav li {
    margin: 0;
    padding: 0;
}

.footer-v2-nav li a {
    font-size: 16px;
    color: #ffffff;
}

.footer-v2-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-right: 48px;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-v2-copyright {
    font-size: 14px;
    color: #a0a0a0;
}

.footer-v2-social {
    display: flex;
    gap: 15px;
}

.footer-v2-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-v2-social a:hover {
    background-color: #fff;
    color: #222222;
}

.footer-v2-nav-container {
    padding: 20px 0;
}

/* Responsive Styles for Footer V2 */
@media (max-width: 991px) {

    .footer-v2-left,
    .footer-v2-right {
        width: 100%;
        padding: 40px 20px;
    }

    .footer-v2-nav-container {
        margin-bottom: 40px;
    }

    .footer-v2-container {

        height: unset;
    }

    .footer-v2-nav-container {
        padding: 0;
    }

}

@media (max-width: 767px) {
    .footer-v2-nav {
        flex-direction: column;
        gap: 15px;
    }

    .footer-v2-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}