// banner

.header-main {
    .container {
        max-width: 100%;
        padding-left: 50px;
        padding-right: 50px;

        @include breakpoint (mobile-s) {
            padding-left: 15px;
            padding-right: 15px;
        }
    }

    .header {

        .navbar {
            @include breakpoint (x-large) {
                padding: 0 0;
            }
        }

        .navbar-light .navbar-brand {
            margin: auto;



            @include breakpoint (ipad) {
                margin-left: auto !important;
                margin: 0;
            }

            @media only screen and (max-width: 628px) {
                position: relative;
                bottom: -15px;
            }
        }

        a.navbar-brand-second.d-none {
            display: block !important;
            position: absolute;
            left: 0;
            max-width: 305px;
        }

        .btn-grid {
            display: none !important;
        }
    }
}

.hero-sec {
    &.banner {
        position: relative;
        min-height: calc(100vh - 0px);
        border-radius: 0px;
        width: calc(100% - 0px);
        margin: 0px auto 0;
        padding-bottom: 60px;
        align-items: normal;

        &:before {
            content: "";
            position: absolute;
            background-image: none;
            background-color: rgba(0, 17, 25, 0.5);
        }

        @include breakpoint (desktop) {
            padding-top: 110px;
        }

        .container-fluid {
            padding-left: 50px;
            padding-right: 50px;
            position: relative;

            @include breakpoint (mobile-s) {
                padding-left: 15px;
                padding-right: 15px;
            }
        }

        // .main-row {
        //     margin-top: -160px;
        // }

        .main-row {
            @media only screen and (max-width:1366px) {
                align-items: flex-start;
            }

            @include breakpoint (ipad) {
                gap: 30px 0px;
            }

            .col-lg-4 {
                @include breakpoint (ipad) {
                    display: flex;
                    align-items: center;
                    flex-direction: column;
                }
            }
        }

        .hero-txt {
            position: absolute;
            bottom: -40px;
            left: 50px;

            @media screen and (max-height: 690px) {
                bottom: 10px;
                left: 50px;
            }

            h1,
            .hero-sec.banner .hero-txt .txt-main p {
                font-size: rem(60px);
                font-weight: 700;
                line-height: 1.2;

                @media only screen and (max-width: 1699px) {
                    font-size: rem(40px) !important;
                }

                @include breakpoint(x-large) {
                    font-size: rem(30px) !important;
                }
            }


            @include breakpoint (ipad) {
                position: static;
            }

            h1 {
                text-transform: uppercase;
            }

            .txt-main {
                display: flex;
                align-items: baseline;
                gap: 20px;

                @include breakpoint (mobile) {
                    gap: 0;
                    flex-direction: column;
                    align-items: flex-start;
                }

                p {
                    font-size: 60px;
                    margin-left: 50px;
                    position: relative;
                    font-weight: 700;

                    @media only screen and (max-width: 1699px) {
                        font-size: rem(40px) !important;
                    }

                    @include breakpoint(x-large) {
                        font-size: rem(30px) !important;
                    }

                    @include breakpoint (mobile) {
                        margin-left: 28px;
                    }

                    @media only screen and (max-width:628px) {
                        font-size: 30px;
                    }

                    small {
                        font-size: 25px;
                        text-transform: uppercase;
                        font-weight: 400;
                        letter-spacing: 6px;

                        @include breakpoint (normal) {
                            font-size: 17px;
                            letter-spacing: 0;
                        }

                        @media screen and (max-height: 690px) {
                            letter-spacing: 0;
                            font-size: 21px;
                        }

                        @media only screen and (max-width:628px) {
                            font-size: 13px;
                        }
                    }

                    span {
                        font-size: 40px;
                        position: absolute;
                        left: -40px;
                        top: 60%;
                        transform: translateY(-50%);
                        line-height: normal;

                        &:before {
                            content: '';
                            position: absolute;
                            height: 28px;
                            width: 2px;
                            background: #fff;
                            top: -20px;
                            left: 50%;
                            transform: translate(-50%, -0%);
                        }

                        &:after {
                            content: '';
                            position: absolute;
                            height: 28px;
                            width: 2px;
                            background: #fff;
                            bottom: -20px;
                            left: 50%;
                            transform: translate(-50%, -0%);
                        }
                    }
                }

            }

            em {
                color: #fff;
                text-transform: uppercase;
                font-style: normal;
                letter-spacing: 1px;
                font-size: 27px;
                line-height: normal;

                @media screen and (max-height: 690px) {
                    font-size: 18px;
                }

                @media only screen and (max-width:628px) {
                    font-size: 16px;
                }

            }
        }

        .center-txt {
            border-radius: 15px;
            background-color: rgba(255, 255, 255, 0.7);
            padding: 50px 30px;
            margin: auto;
            max-width: 350px;


            @include breakpoint (x-large) {
                max-width: 260px;
                padding: 30px 30px;
            }

            @include breakpoint (desktop) {
                max-width: 240px;
            }

            h2 {
                text-align: center;
                margin: 0;

                @include breakpoint (x-large) {
                    font-size: 30px !important;
                }

                @include breakpoint (desktop) {
                    font-size: 25px !important;
                }

            }
        }

        figure.desk-topbottom-logo {
            max-width: 350px;
            margin-left: auto;
            position: absolute;
            bottom: -40px;
            margin-top: 10px;
            right: 50px;

            @media screen and (max-height: 660px) {
                position: static;
                margin-top: 30px;
                max-width: 300px;
            }

            @include breakpoint (ipad) {
                display: none;
            }
        }

        figure.bottom-logo {
            display: none;

            @include breakpoint (ipad) {
                display: block;
            }

            max-width: 335px;
            position: absolute;
            right: 0;
            bottom: 0px;

            @include breakpoint (desktop) {
                bottom: -30px;
            }

            @include breakpoint (ipad) {
                position: static;
                margin-top: 20px;
            }

        }

        .btn-grid {
            &.btn-call {
                .btn {
                    background: transparent;
                    height: auto;
                    padding: 0 0 !important;
                    font-size: 70px;
                    color: #fff;

                    @media screen and (max-height: 690px) {
                        font-size: 40px;
                        height: 50px;
                    }

                    i {
                        @media screen and (max-height: 690px) {
                            width: 40px;
                            height: 40px;
                            font-size: 17px;
                        }
                    }


                    @media only screen and (max-width:628px) {
                        font-size: 40px;
                    }

                    &:hover {
                        color: $color-primary;

                        i {
                            background: $color-primary;
                            color: #333;
                        }
                    }

                    i {
                        background: -webkit-gradient(linear, left top, right top, from(#c98a2e), color-stop(25%, #e6b65c), color-stop(50%, #f6dd86), color-stop(75%, #e6b65c), to(#c98a2e));
                        background: linear-gradient(90deg, #c98a2e 0%, #e6b65c 25%, #f6dd86 50%, #e6b65c 75%, #c98a2e 100%);
                        color: #fff;
                        border: 0px;
                        width: 70px;
                        height: 70px;
                        font-size: 32px;
                        transform: rotate(0deg);

                        @media screen and (max-height: 690px) {
                            width: 55px;
                            height: 55px;
                            font-size: 24px;
                        }

                        @media only screen and (max-width:628px) {
                            width: 50px;
                            height: 50px;
                            font-size: 20px;
                        }
                    }
                }
            }
        }


        .form-grid {
            z-index: 1;
            margin-top: -40px;
            @include transition;

            &:hover {
                transform: scale(1.01);
                // box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
                box-shadow: $color-primary 0px 4px 12px;
                transform: translateY(-10px);
            }

            @media screen and (max-height: 690px) {
                padding: 30px 30px 30px 30px;
            }

            @include breakpoint (ipad) {
                margin-top: 0px;
            }

            h3 {
                @include breakpoint (x-large) {
                    font-size: 22px;
                }

                @media screen and (max-height: 690px) {
                    font-size: 19px;
                }
            }

            input,
            textarea {
                @include transition;
            }

            // .grid .form-control:hover,
            // .grid .wpcf7-form-control:hover {
            //     transform: scale(1.01);
            //     box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
            // }

            p {
                @include breakpoint (desktop) {
                    font-size: 14px;
                }
            }

        }

    }
}