/* Header */
/* Main Container */
.header {
    background-color: var(--color-primary-1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    transition: all 0.4s;
    border-bottom: 1px solid var(--color-primary-1);
}

/* White Header */
.header--white {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid rgba(17, 15, 66, 0.2);
}

/* To hide on scroll */
.header--hide {
    transform: translateY(-100%);
}

.header__top-contact-details {
    height: 45px;
    background-color: #5B54EF;
    display: flex;
}

.grid--header-contact-details {
    padding: 0 !important;
    width: 100%;
    grid-template-areas:
        'G_THE G_THE G_THE G_THE G_THE G_THE G_THN G_THN G_THN G_THN G_THN G_THN';
}

.header__top-contact-details-email {
    grid-area: G_THE;
    display: flex;
    align-items: center;
}

.header__top-contact-details-phone-number {
    grid-area: G_THN;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.veritical-divider {
    width: 1px;
    height: 60%;
    background-color: #ACA8FF;
    margin: 0 0.5rem;
}

.grid--header {
    padding: 0 !important;
    grid-template-areas:
        'G_HNA G_HNA G_HNA G_HNA G_HNA G_HNA G_HNA G_HNA G_HNA G_HNA G_HNA G_HNA';
}

#header__grid-top {
    grid-area: G_HNA;
    height: calc(var(--header-height));
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.header--white .logo-with-name div {
    color: var(--color-primary-2);
}

.header__navbar {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.header__navbar ul {
    display: flex;
}

.header__navbar ul li a {
    font-size: 1rem;
    line-height: 1.3;
    padding: 0.5rem 1rem;
    height: 100%;
    font-weight: 500;
    color: var(--color-tertiary-2);
    position: relative;
}

.header--white .header__navbar ul li a {
    color: var(--color-primary-2);
}

.header__navbar>ul>li>a:after {
    bottom: 0;
    content: "";
    display: block;
    height: 1px;
    left: 50%;
    position: absolute;
    color: var(--color-primary-2);
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
    background: var(--color-tertiary-2);
}

.header--white .header__navbar>ul>li>a:after {
    background: var(--color-primary-1);
}

.header__navbar ul li a:hover:after {
    width: 100%;
    left: 0;
}

.header--white .btn-box {
    background-color: var(--color-primary-1);
    color: var(--color-tertiary-2);
}

.header--white .btn-box:hover {
    color: var(--color-primary-2);
}

.header__menu {
    display: none;
}

#menu-icon {
    width: 2rem;
}

/* Header - Menu */
.menu__service {
    background-color: #FAFBFF;
    position: absolute;
    top: calc(var(--header-height) + 45px);
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.1);
}

.menu__service-second-menu-back-button {
    display: none;
}

#header__navbar--service:hover .menu__service {
    opacity: 1;
    visibility: visible;
    transition: all 0.7s;
}

.grid--menu {
    padding: 3rem 0;
    grid-template-areas:
        'G_HMC G_HMC G_HMC G_HMC G_HMC G_HMC G_HMC G_HMI G_HMI G_HMI G_HMI G_HMI'
        'G_HMD G_HMD G_HMD G_HMD G_HMD G_HMD G_HMD G_HMD G_HMD G_HMD G_HMD G_HMD';
}

.menu--row a h3 {
    font-size: 0.85rem;
    line-height: 1.3;
    height: 50px;
    font-weight: 500;
    color: #908FA7;
}

.menu--row ul {
    display: flex;
    flex-direction: column;
}

.menu--row ul li a {
    font-size: 0.85rem;
    line-height: 1.3;
    padding: 0.5rem 1rem;
    height: 100%;
    font-weight: normal;
    color: var(--color-primary-2);
}

.menu--row a {
    height: auto !important;
}

.menu--row ul li a:hover,
.menu--row a h3:hover {
    color: var(--color-primary-1);
}

.menu--content {
    grid-area: G_HMC;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.menu--image {
    grid-area: G_HMI;
    margin-left: 2rem;
}

.menu-divider {
    grid-area: G_HMD;
    background-color: var(--color-primary-2);
    height: 1px;
    opacity: 0.2;
    width: 100%;
    margin: 4rem 0;
}

.btn-box--menu-quote,
.menu-social-links {
    display: none;
}

/* Start -> Media Queries */
/* -- For Mobile -- */

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

    /* Service Page -> Second Header */
    .header {
        min-height: auto;
    }

    .grid--header {
        margin: 0;
        grid-template-areas:
            'G_HNA';
    }

    .grid--header-contact-details {
        grid-template-columns: repeat(12, 1fr);
    }

    #header__grid-top {
        margin: 0 1rem;
    }

    .header .logo-with-name div {
        display: none;
    }

    .hide-for-mobile {
        display: none;
    }
}

/* -- For iPad / Tablets -- */
@media screen and (min-width: 481px) and (max-width: 768px) {

    /* Service Page -> Second Header */
    .header {
        min-height: auto;
    }

    .grid--header {
        padding: 0 0rem;
        grid-template-columns: repeat(12, 1fr);
        grid-template-areas:
            'G_HNA G_HNA G_HNA G_HNA G_HNA G_HNA G_HNA G_HNA G_HNA G_HNA G_HNA G_HNA';
    }

    .grid--header-contact-details {
        grid-template-columns: repeat(12, 1fr);
    }

    .header .logo-with-name div {
        display: none;
    }

}

/* -- For Mobile / iPad / Tablets -- */
@media screen and (max-width: 768px) {


    /* Service Page -> Second Header */
    .header {
        min-height: auto;
    }

    .header__menu {
        display: block;
    }

    .header .logo-with-name div {
        display: none;
    }

}

/* -- For Small Screen / Laptops / Desktops -- */
@media screen and (min-width: 769px) and (max-width: 1150px) {
    .header__menu {
        display: block;
    }
}

/* -- For Large Screen / Mac -- */
@media screen and (min-width: 1151px) and (max-width: 1440px) {


}

/* -- For Extra large Screens -- */
@media screen and (min-width: 1440px) {

    /* Start -> Grid CSS */
    .grid--header-contact-details {
        width: calc(1440px - (2*(var(--grid-margin-x))));
    }

    .width__max-beha {
        margin: 0 auto;
        width: 1440px;
    }
}




/* CSS for Menu for Responsive */
/* -- For Mobile / iPad / Tablet / Small Screen / Laptops / Desktops / Large Screen / Mac -- */

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

    .header__navbar,
    .btn-box--header {
        display: none;
    }

    .header__navbar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: calc(var(--header-height) + 45px);
        height: calc(100% - (var(--header-height + 45px)));
        width: 50%;
        background-color: #ffffff;
        right: -50%;
        justify-content: flex-start;
        transition: all 0.7s;
        z-index: 2;
    }

    .header::before {
        content: "";
        background: rgba(0, 0, 0, 0.5);
        height: 100%;
        width: 100%;
        position: fixed;
        left: 0;
        top: calc(var(--header-height) + 45px);
        z-index: 0;
        transition: all 0.5s;
        visibility: var(--menu-ol-visible, "hidden");
        opacity: var(--menu-ol-opacity, 0);
    }

    .header__navbar ul {
        flex-direction: column;
        flex-basis: 100%;
    }

    .header__navbar ul li {
        position: relative;
    }

    .header__navbar>ul>li::before {
        content: "";
        background: url('/temp-images/menu-option-forward-arrow.png');
        background-repeat: no-repeat;
        background-size: cover;
        height: 100%;
        aspect-ratio: 1;
        position: absolute;
        top: 0;
        right: 3rem;
        transform: scale(0.25);
    }

    .header__navbar>ul>li::after {
        content: "";
        background: var(--color-secondary-4);
        height: 1px;
        width: 100%;
        position: absolute;
        right: 0;
        z-index: 2;
    }

    .header__navbar ul li a {
        color: var(--color-primary-2);
        padding: 2rem 3rem;
    }

    .menu--row ul {
        padding-bottom: 1rem;
    }

    .menu--row ul li a {
        padding: 1rem 3rem;
    }

    .grid--menu {
        padding: 0;
        margin: 0;
        grid-template-areas: 'G_HMC';
        grid-template-columns: repeat(1, 1fr);
    }

    .menu--image,
    .menu-divider {
        display: none;
    }

    .menu__service {
        position: fixed;
        top: calc(var(--header-height) + 45px);
        height: calc(100% - (var(--header-height) + 45px));
        width: 50%;
        background-color: #ffffff;
        left: 100%;
        visibility: visible;
        opacity: 1;
        overflow: auto;
        z-index: 10;
        transition: all 0.7s;
    }

    .menu--content {
        flex-direction: column;
    }

    .menu--row a h3 {
        margin: 0;
        height: auto;
    }

    .menu__service-second-menu-back-button {
        display: flex;
        padding: 2rem 2.7rem 0rem;
    }

    .menu__service-second-menu-back-button img {
        height: 1.5rem;
        width: 1.5rem;
        transform: rotate(180deg);
    }

    .btn-box--menu-quote {
        display: block;
        margin: 2rem;
        text-align: center;
        font-size: 1rem;
    }

    .menu-social-links {
        display: block;
        padding: 1rem 0 0 2rem;
    }

    .menu-social-links::after {
        display: none;
    }

    .menu-social-links::before {
        display: none;
    }

    .menu-social-links ul {
        display: flex;
        flex-direction: row;
    }

    .menu-social-links ul li {

    }

    .menu-social-links ul li a {
        height: 1.5rem;
        width: 1.5rem;
        margin: 1rem;
        padding: 0;
    }


}

/* -- For iPad / Tablets -- */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .header__navbar {
        width: 70%;
        right: -70%;
        top: calc(var(--header-height) + 45px);
    }

    .header__navbar>ul>li::before {
        right: 0rem;
    }

    .header__navbar ul li a {
        padding: 2rem 1rem 2rem 2.5rem;
    }

    .menu__service {
        width: 70%;
        left: 130%;
        top: calc(var(--header-height) + 45px + 1px);
        box-shadow: none;
    }

    .menu__service-second-menu-back-button {
        display: flex;
        padding: 2rem 2.2rem 0.5rem;
    }

    .menu--row ul li a {
        padding: 1rem 1rem 1rem 2.5rem;
    }

    .menu-social-links {
        padding: 1rem 0 0 1.5rem;
    }

    .menu-social-links ul li a {
        padding: 0;
    }
}


/* -- For Mobile -- */
@media screen and (max-width: 480px) {
    .header::before {
        background: rgba(0, 0, 0, 0.1);
    }

    .header__navbar {
        width: 100%;
        right: -100%;
        top: calc(var(--header-height) + 45px);
    }

    .header__navbar>ul>li::before {
        right: -0.5rem;
    }

    .header__navbar ul li a {
        padding: 2rem 1rem 2rem 1.5rem;
    }

    .menu__service {
        width: 100%;
        left: 130%;
        top: calc(var(--header-height) + 45px + 1px);
        box-shadow: none;
    }

    .menu--row ul li a {
        padding: 1rem 1rem 1rem 1.5rem;
    }

    .menu__service-second-menu-back-button {
        display: flex;
        padding: 2rem 1.5rem 0.5rem;
    }

    .menu-social-links {
        padding: 1rem 0 0 0.5rem;
    }

    .btn-box--menu-quote {
        margin: 1rem;
    }

    .menu-social-links ul li a {
        padding: 0;
    }
    
}