:root {
    --thm-font: "Inter", sans-serif;
    --thm-base: #BC8F60;
    --thm-base-rgb: 76, 124, 227;
    --thm-primary: #804A1B;
    --thm-primary-rgb: 128, 74, 27;
    --thm-black: #804A1B;
    --thm-black-rgb: 40, 47, 68;
    --thm-gray: #717580;
    --border-radius: 4px;
    --white: #fff;
    --white-rgb: 255, 255, 255;
    --black: #000;
    --black-rgb: 0, 0, 0;
    --transition: all .45s ease-in-out;
}

/* a tag underline fix */
a {
    text-decoration: none;
}

/* General */
.btn {
    padding: 16px 26px;
    border-radius: 6px;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -0.3px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    & i {
        color: var(--white);
        font-size: 18px;
        transition: var(--transition);
    }

    &:hover {
        i {
            transition: var(--transition);
        }
    }

    @media screen and (max-width: 991px) {
        width: 100% !important;
    }
}

.btn-primary {
    background-color: var(--thm-primary);
    color: var(--white);
    border: none;

    &:hover {
        filter: brightness(1.2);
        background-color: var(--thm-base);
        transform: translateX(5px);
    }
}
/* General */

/* Header */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    transition: var(--transition);
    will-change: transform;
    z-index: 998;
    background-color: var(--white);

    &.is-hidden {
        transform: translateY(-150px);
    }

    .header-top {
        background-color: var(--thm-black);
        padding: 5px 0;

        .header_top_one_content_box_bottom__social a {
            background: rgba(var(--white-rgb), 0.1);

            & i {
                color: var(--white);
            }

            &:hover {
                background: var(--white);

                & i {
                    color: var(--thm-primary);
                }
            }
        }

        .head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;

            .header_top_one_content_box_bottom_contact_info_list {
                margin: 0;

                & li + li {
                    margin-left: 40px;
                }

                & li .text {
                    margin-left: 10px;

                    & p {
                        color: var(--white);
                    }

                    & a {
                        color: var(--white);
                    }
                }

                & i {
                    color: var(--white);
                }
            }
        }
    }

    .header-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 5px;
        padding-bottom: 5px;

        .header_top_one_logo {
            padding: 0;

            & a {
                display: block;

                & img {
                    width: 210px;
                    height: auto;
                }
            }

            @media screen and (max-width: 767px) {
                transform: translateY(5px);

                & a {
                    & img {
                        width: 180px;
                        height: auto;
                    }
                }
            }
        }

        .main-nav__main-navigation .main-nav__navigation-box {
            display: flex;
            justify-content: flex-end;

            > li + li {
                margin: 0;
            }

            > li > a {
                color: var(--black);

                @media screen and (min-width: 992px) {
                    &:hover {
                        color: var(--thm-primary);
                    }
                }

                &:before {
                    display: none;
                }
            }
        }

        .main-nav__left .side-menu__toggler {
            color: var(--black);
        }
    }
}


.mobile-nav__content {
    background-color: var(--white);
}

.mobile-nav__content .main-nav__navigation-box li a {
    color: var(--thm-black-rgb);
}

.mobile-nav__content .main-nav__navigation-box li:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0, 0.1);
}

.mobile-nav__contact li, .mobile-nav__contact li a, .mobile-nav__close {
    color: var(--thm-black-rgb) !important;

    &:hover {
        color: var(--thm-primary) !important;
    }
}

.mobile-nav__social a {
    color: var(--thm-black-rgb);
}

/* Header breakpoints */

#header {
    /* <-- 1400 --------------------------------- */
    @media screen and (max-width: 1399px) {

    }

    /* <-- 1200 --------------------------------- */
    @media screen and (max-width: 1199px) {
        .main-nav__left_one .side-menu__toggler {
            padding: 15px;
        }
    }

    /* <-- 992 --------------------------------- */
    @media screen and (max-width: 991px) {

    }

    /* <-- 768 --------------------------------- */
    @media screen and (max-width: 767px) {

    }

    /* <-- 576 --------------------------------- */
    @media screen and (max-width: 575px) {
        .header-top {
            .header_top_one_content_box_bottom_contact_info_list {
                & li {
                    .icon {
                        display: none;
                    }

                    .text {
                        margin-left: 0;

                        & p {
                            display: none;
                        }
                    }
                }
            }

            .header_top_one_content_box_bottom__social {
                display: none;
            }
        }
    }

    /* <-- 480 --------------------------------- */
    @media screen and (max-width: 479px) {

    }
}

.mobile-nav__content .logo-box {
    display: none;
}
/* Header */


/* Home page main slider */
.main-slider-area {
    height: 100dvh;
    overflow: hidden;

    .main-slider {
        .swiper-slide {
            transition: all .7s ease-in-out;
            opacity: 0 !important;

            .item {
                .image-wrapper, .video-wrapper {
                    width: 100%;
                    height: 100%;

                    & img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }

                    .blur-overlay {
                        /*background: rgba(var(--black-rgb), 0.1);*/
                        backdrop-filter: blur(10px);
                    }

                    .overlay {
                        background: rgba(var(--black-rgb), 0.2);
                        z-index: 5;
                    }

                    & img.absolute-image, & video.absolute-image {
                        position: absolute;
                        left: 50%;
                        top: 50%;
                        height: 100%;
                        width: auto !important;
                        object-fit: cover;
                        max-width: 590px !important;
                        transform: translateX(-50%) translateY(-50%);
                    }
                }

                .content-container {
                    z-index: 5;
                    display: flex;
                    align-items: center;

                    .content {
                        transform: translateY(-50px);

                        @media screen and (max-width: 991px) {
                            transform: translateY(0);
                        }

                        .title {
                            font-size: 64px;
                            line-height: 1.2;
                            color: var(--white);
                            font-weight: 500;
                            letter-spacing: -1px;
                            opacity: 0;
                            transition: var(--transition);
                            transition-delay: 700ms;
                            position: relative;

                            @media screen and (max-width: 1440px) {
                                font-size: 52px;
                            }
                            @media screen and (max-width: 1200px) {
                                font-size: 40px;
                            }
                            @media screen and (max-width: 992px) {
                                font-size: 30px;
                            }

                            &:before {
                                content: "";
                                position: absolute;
                                left: 0;
                                top: -20px;
                                width: 85px;
                                height: 3px;
                                border-radius: 6px;
                                background-color: var(--white);
                            }
                        }

                        .description {
                            font-size: 20px;
                            line-height: 1.2;
                            letter-spacing: -0.4px;
                            color: rgba(var(--white-rgb), 0.8);
                            opacity: 0;
                            transition: var(--transition);
                            transition-delay: 800ms;

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

                            @media screen and (max-width: 991px) {
                                display: none;
                            }
                        }

                        .btn-wrapper {
                            width: max-content;
                            opacity: 0;
                            transition: var(--transition);
                            transition-delay: 900ms;
                        }

                        .btn-primary {
                            &:hover {
                                background-color: var(--white);
                                color: var(--thm-primary);

                                & i {
                                    color: var(--thm-primary);
                                }
                            }
                        }
                    }
                }
            }

            &.swiper-slide-active {
                opacity: 1 !important;

                .content-container {
                    .content {
                        .title, .description, .btn-wrapper {
                            opacity: 1;
                        }
                    }
                }
            }
        }

        .nav-button-container {
            z-index: 5;

            .nav-buttons {
                padding-bottom: 100px;
                display: flex;
                align-items: center;
                gap: 10px;

                .nav-button {
                    width: 44px;
                    aspect-ratio: 1 / 1;
                    display: grid;
                    place-items: center;
                    background-color: rgba(var(--white-rgb), 0.2);
                    backdrop-filter: blur(15px);
                    border-radius: 6px;
                    transition: var(--transition);

                    & i {
                        font-size: 20px;
                        color: var(--white);
                    }

                    &.main-disabled {
                        opacity: .5;
                        pointer-events: none;
                    }

                    &:hover {
                        transform: scale(1.1);
                        transition: var(--transition);
                    }
                }

                @media screen and (max-width: 1440px) {
                    padding-bottom: 60px;
                }

                @media screen and (max-width: 1200px) {
                    padding-bottom: 35px;
                }
            }
        }
    }
}
/* Home page main slider */


/* Home page about us */
#home-about-us {
    padding: 100px 0;

    @media screen and (max-width: 991px) {
        padding: 50px 0;
    }

    .image-wrapper {
        border-radius: 6px;
        overflow: hidden;
        height: 800px;
        -webkit-box-shadow: 20px 17px 38px -1px rgba(30,30,30,0.12);
        -moz-box-shadow: 20px 17px 38px -1px rgba(30,30,30,0.12);
        box-shadow: 20px 17px 38px -1px rgba(30,30,30,0.12);
        transition: var(--transition);

        & img {
            object-fit: cover;
        }

        @media screen and (min-width: 992px) {
            &:hover {
                transition: var(--transition);
                transform: translateY(10px) translateX(10px);
            }
        }

        @media screen and (max-width: 991px) {
            height: 400px;
        }
    }

    .content {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 24px;
        justify-content: center;

        @media screen and (max-width: 991px) {
            margin-top: 50px;
            gap: 16px;
        }

        .btn {
            width: max-content;
        }

        & span {
            font-size: 16px;
            line-height: 1;
            letter-spacing: 20px;
            text-transform: uppercase;
            color: var(--thm-gray);
            position: relative;

            &:before {
                content: "";
                position: absolute;
                left: 0;
                top: -40px;
                width: 85px;
                height: 3px;
                border-radius: 6px;
                background-color: var(--thm-gray);
            }
        }

        & h1 {
            font-size: 36px;
            line-height: 1.3;
            letter-spacing: -0.5px;
            color: var(--thm-primary);
            font-weight: 500;

            @media screen and (max-width: 991px) {
                font-size: 24px
            }
        }

        & p {
            font-size: 18px;
            line-height: 1.5;
            color: var(--thm-gray);
        }
    }
}
/* Home page about us */


/* Home page gallery */
#home-gallery {
    padding: 100px 0;
    background-color: #F9F9F9;

    @media screen and (max-width: 991px) {
        padding: 75px 0;
    }

    .content {
        & span {
            font-size: 16px;
            line-height: 1;
            letter-spacing: 20px;
            text-transform: uppercase;
            color: var(--thm-gray);
            position: relative;

            &:before {
                content: "";
                position: absolute;
                left: 0;
                top: -30px;
                width: 85px;
                height: 3px;
                border-radius: 6px;
                background-color: var(--thm-gray);
            }
        }

        & h2 {
            font-size: 36px;
            line-height: 1.3;
            letter-spacing: -0.5px;
            color: var(--thm-primary);
            font-weight: 500;

            @media screen and (max-width: 991px) {
                font-size: 24px
            }
        }
    }

    .nav-buttons {
        display: flex;
        align-items: center;
        gap: 10px;

        .nav-button {
            width: 44px;
            aspect-ratio: 1 / 1;
            display: grid;
            place-items: center;
            background-color: rgba(var(--thm-primary-rgb), 0.2);
            backdrop-filter: blur(15px);
            border-radius: 6px;
            transition: var(--transition);

            & i {
                font-size: 20px;
                color: var(--thm-primary);
            }

            &.gallery-disabled {
                opacity: .5;
                pointer-events: none;
            }

            &:hover {
                transform: scale(1.1);
                transition: var(--transition);
            }
        }
    }

    .gallery-slider {
        margin: 0 24px;

        .item {
            display: block;
            width: 100%;
            height: 450px;
            border-radius: 12px;
            overflow: hidden;
            position: relative;

            & img {
                object-fit: cover;
                transition: var(--transition);
            }

            @media  screen and (max-width: 991px) {
                height: 360px;
            }

            .overlay {
                background-color: rgba(var(--thm-primary-rgb), 0.6);
                opacity: 0;
                transition: var(--transition);
                display: grid;
                place-items: center;
                pointer-events: none;

                & i {
                    font-size: 20px;
                    color: var(--white);
                }
            }

            @media screen and (min-width: 992px) {
                &:hover {
                    & img {
                        transform: scale(1.1);
                        transition: var(--transition);
                    }

                    .overlay {
                        opacity: 1;
                        transition: var(--transition);
                    }
                }
            }
        }
    }
}
/* Home page gallery */


/* Home page blog */
#home-blog {
    .head-content {
        text-align: center;

        & span {
            font-size: 16px;
            line-height: 1;
            letter-spacing: 20px;
            text-transform: uppercase;
            color: var(--thm-gray);
            position: relative;

            &:before {
                content: "";
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                top: -30px;
                width: 85px;
                height: 3px;
                border-radius: 6px;
                background-color: var(--thm-gray);
            }
        }

        & h3 {
            font-size: 36px;
            line-height: 1.3;
            letter-spacing: -0.5px;
            color: var(--thm-primary);
            font-weight: 500;
        }
    }

    .nav-buttons {
        display: flex;
        align-items: center;
        gap: 10px;

        .nav-button {
            width: 44px;
            aspect-ratio: 1 / 1;
            display: grid;
            place-items: center;
            background-color: rgba(var(--thm-primary-rgb), 0.2);
            backdrop-filter: blur(15px);
            border-radius: 6px;
            transition: var(--transition);

            & i {
                font-size: 20px;
                color: var(--thm-primary);
            }

            &.blog-disabled {
                opacity: .5;
                pointer-events: none;
            }

            &:hover {
                transform: scale(1.1);
                transition: var(--transition);
            }
        }
    }

    .item {
        display: block;

        &:after {
            content: "";
            width: 95%;
            height: 95%;
            top: 50%;
            left: 50%;
            position: absolute;
            border: 1px solid rgba(var(--thm-primary-rgb), 0.5);
            transform: translateY(-50%) translateX(-50%);
            transition: var(--transition);
        }

        .wrapper {
            display: grid;
            grid-template-columns: repeat(2, 2fr);

            .left {
                width: 100%;
                height: 400px;
                overflow: hidden;

                & img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: var(--transition);
                }
            }

            @media screen and (max-width: 991px) {
                grid-template-columns: 1fr;

                .left {
                    height: 320px;
                }
            }

            .right {
                display: flex;
                flex-direction: column;
                justify-content: center;
                padding: 15px 30px;

                & time {
                    font-size: 13px;
                    line-height: 1;
                    letter-spacing: -0.5px;
                    text-transform: uppercase;
                    color: var(--thm-gray);
                    display: inline-block;
                    margin-bottom: 10px;
                }

                & h4 {
                    font-size: 24px;
                    line-height: 1.2;
                    letter-spacing: -0.5px;
                    color: var(--thm-primary);
                    margin-bottom: 20px;
                    display: -webkit-box;
                    -webkit-line-clamp: 3;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                }

                & p {
                    font-size: 16px;
                    line-height: 1.5;
                    letter-spacing: -0.5px;
                    color: var(--thm-gray);
                }
            }
        }

        @media screen and (min-width: 992px) {
            &:hover {
                &:after {
                    border-color: var(--thm-primary);
                    transition: var(--transition);
                }

                .left {
                    & img {
                        transform: scale(1.1);
                        transition: var(--transition);


                    }
                }
            }
        }
    }
}
/* Home page blog */

/* Home Instagram */
#home-instagram {
    padding: 100px 0;
    background-color: #F9F9F9;

    @media screen and (max-width: 991px) {
        padding: 75px 0;
    }

    .swiper-slide {
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;

        &.swiper-slide-active, &.swiper-slide-next, &.swiper-slide-next + .swiper-slide, &.swiper-slide-next + .swiper-slide + .swiper-slide {
            opacity: 1;
            pointer-events: auto;
        }

        @media screen and (min-width: 991px) {
            &:hover {
                transform: scale(1.1);
            }
        }
    }

    .head-content {
        & span {
            font-size: 16px;
            line-height: 1;
            letter-spacing: 20px;
            text-transform: uppercase;
            color: var(--thm-gray);
            position: relative;

            &:before {
                content: "";
                position: absolute;
                left: 0;
                top: -30px;
                width: 85px;
                height: 3px;
                border-radius: 6px;
                background-color: var(--thm-gray);
            }
        }

        & h3 {
            font-size: 36px;
            line-height: 1.3;
            letter-spacing: -0.5px;
            color: var(--thm-primary);
            font-weight: 500;

            @media screen and (max-width: 991px) {
                font-size: 24px
            }
        }
    }

    .nav-buttons {
        display: flex;
        align-items: center;
        gap: 10px;

        .nav-button {
            width: 44px;
            aspect-ratio: 1 / 1;
            display: grid;
            place-items: center;
            background-color: rgba(var(--thm-primary-rgb), 0.2);
            backdrop-filter: blur(15px);
            border-radius: 6px;
            transition: var(--transition);

            & i {
                font-size: 20px;
                color: var(--thm-primary);
            }

            &.instagram-disabled {
                opacity: .5;
                pointer-events: none;
            }

            &:hover {
                transform: scale(1.1);
                transition: var(--transition);
            }
        }
    }

    .item {
        position: relative;
        display: block;

        .image-wrapper {
            width: 100%;
            height: 500px;
            position: relative;
            overflow: hidden;
            border-radius: 12px;

            @media screen and (max-width: 991px) {
                height: 400px;
            }

            & img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: var(--transition);
            }

            &:after {
                content: "";
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(var(--thm-primary-rgb), 0.6);
                opacity: 0;
                transition: var(--transition);
            }
        }

        .content {
            position: absolute;
            left: 0;
            bottom: 0;
            display: flex;
            align-items: flex-end;
            padding: 20px;
            margin: 0 20px;
            width: calc(100% - 40px);
            border-top: 1px solid rgba(255,255,255, 0.2);
            opacity: 0;
            transition: var(--transition);

            & p {
                font-size: 16px;
                line-height: 1.2;
                color: var(--white);
                font-style: italic;
                padding: 0 10px;
            }
        }

        @media screen and (min-width: 992px) {
            &:hover {
                .image-wrapper {
                    & img {
                        transform: scale(1.1);
                        transition: var(--transition);
                    }

                    &:after {
                        opacity: 1;
                        transition: var(--transition);
                    }
                }

                .content {
                    opacity: 1;
                    transition: var(--transition);
                }
            }
        }
    }
}
/* Home Instagram */

/* Home FAQ */
#home-faqs {
    padding: 100px 0;

    @media screen and (max-width: 991px) {
        padding: 50px 0;
    }

    .wrapper {
        padding: 50px 90px;
        border: 1px solid rgba(var(--black-rgb), 0.1);
        border-radius: 16px;

        .title {
            font-size: 36px;
            line-height: 1.2;
            color: var(--thm-primary);
            font-weight: 500;
            letter-spacing: -0.5px;
            text-align: center;
            margin-bottom: 40px;
        }

        @media screen and (max-width: 991px) {
            padding: 30px;
        }
    }

    .faq-item {
        display: flex;
        flex-direction: column;
        overflow: hidden;

        &:not(:last-child) {
            padding-bottom: 25px;
            border-bottom: 1px solid rgba(var(--black-rgb), 0.1);
            margin-bottom: 30px;
        }

        .head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            cursor: pointer;

            & p {
                font-size: 20px;
                line-height: 1.2;
                color: var(--black);
                font-weight: 500;
                letter-spacing: -0.5px;
                transition: var(--transition);
                margin-bottom: 0;
            }

            & i {
                font-size: 20px;
                color: var(--black);
                transition: var(--transition);
            }

            .minus-icon {
                display: none;
            }
        }

        .description {
            transition: var(--transition);
            opacity: 0;
            pointer-events: none;
            transform: translateY(15px);

            & p {
                font-size: 16px;
                line-height: 1.5;
                letter-spacing: -0.5px;
                color: var(--thm-gray);
                transition: var(--transition);
                margin: 0;
            }
        }

        &.active {
            padding-bottom: 15px;
            
            .head {
                .minus-icon {
                    display: block;
                }

                .plus-icon {
                    display: none;
                }
            }

            .description {
                padding-top: 10px;
                opacity: 1;
                transform: translateY(0);
                pointer-events: auto;
            }
        }
    }
}
/* Home FAQ */

/* Footer */
footer {
    background-color: transparent !important;
    border: none !important;
    position: relative;
    overflow: hidden;
    padding-bottom: 0 !important;

    &:before {
        content: "";
        position: absolute;
        left: 0;
        top: 90px;
        width: 100%;
        height: 100%;
        z-index: -1;
        pointer-events: none;
        background-color: #FDFDFD;
    }

    .logo-area {
        border-bottom: 1px solid rgba(var(--black-rgb), 0.1);

        & img {
            width: 150px;
            height: auto;
        }
    }

    .contact-area {
        display: flex;
        align-items: center;
        justify-content: center;

        .item {
            display: block;
            width: 85%;

            &:after {
                content: "";
                width: 95%;
                height: 95%;
                top: 50%;
                left: 50%;
                position: absolute;
                border: 1px solid rgba(var(--thm-primary-rgb), 0.5);
                transform: translateY(-50%) translateX(-50%);
                transition: var(--transition);
                pointer-events: none;
            }

            .wrapper {
                display: grid;
                grid-template-columns: repeat(2, 2fr);

                .left {
                    width: 100%;
                    height: 500px;
                    overflow: hidden;

                    & img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        transition: var(--transition);
                    }
                }

                @media screen and (max-width: 991px) {
                    grid-template-columns: 1fr;

                    .left {
                        height: 320px;
                    }
                }

                .right {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    padding: 15px 30px 35px 30px;

                    & p {
                        font-size: 16px;
                        line-height: 1.5;
                        letter-spacing: -0.5px;
                        color: var(--thm-gray);
                        margin: 0;
                    }

                    & a {
                        font-size: 24px;
                        line-height: 1.2;
                        letter-spacing: -0.5px;
                        color: var(--thm-primary);
                        transition: var(--transition);

                        @media screen and (min-width: 991px) {
                            &:hover {
                                filter: brightness(1.2);
                                transform: translateX(10px);
                                transition: var(--transition);
                            }
                        }
                    }
                }
            }
        }
    }

    .footer-bottom {
        padding: 30px 0;
        background-color: #F9F9F9;

        .site_footer_left p {
            color: var(--thm-gray);
        }
    }
}
/* Footer */


/* Other */

section.page-header {
    margin-top: 140px;

    @media screen and (max-width: 1199px) {
        margin-top: 124px;
    }
    @media screen and (max-width: 575px) {
        margin-top: 104px;
    }

    h1 {
        font-size: 60px;
        color: var(--white);
        font-weight: 700;
        line-height: 70px;

        @media screen and (max-width: 1399px) {
            font-size: 45px;
            line-height: 55px;
        }

        @media screen and (max-width: 1199px) {
            font-size: 32px;
            line-height: 44px;
        }
    }
}

.gallery-item {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 6px;
    border: 2px solid rgba(var(--thm-primar-rgb), 0.2);
    display: block;
    position: relative;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    .overlay {
        background-color: rgba(var(--thm-primary-rgb), 0.6);
        opacity: 0;
        transition: var(--transition);
        display: grid;
        place-items: center;
        pointer-events: none;

        & i {
            font-size: 20px;
            color: var(--white);
        }
    }

    @media screen and (min-width: 992px) {
        &:hover {
            & img {
                transform: scale(1.1);
                transition: var(--transition);
            }

            .overlay {
                opacity: 1;
                transition: var(--transition);
            }
        }
    }
}

.sub-page-wrapper {
    padding: 60px 0;
}


#contact-page {
    .contact-area {
        display: flex;
        align-items: center;
        justify-content: center;

        .item {
            display: block;
            width: 85%;

            &:after {
                content: "";
                width: 95%;
                height: 95%;
                top: 50%;
                left: 50%;
                position: absolute;
                border: 1px solid rgba(var(--thm-primary-rgb), 0.5);
                transform: translateY(-50%) translateX(-50%);
                transition: var(--transition);
                pointer-events: none;
            }

            .wrapper {
                display: grid;
                grid-template-columns: repeat(2, 2fr);

                .left {
                    width: 100%;
                    height: 500px;
                    overflow: hidden;

                    & img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        transition: var(--transition);
                    }
                }

                @media screen and (max-width: 991px) {
                    grid-template-columns: 1fr;

                    .left {
                        height: 320px;
                    }
                }

                .right {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    padding: 15px 30px 35px 30px;

                    & p {
                        font-size: 16px;
                        line-height: 1.5;
                        letter-spacing: -0.5px;
                        color: var(--thm-gray);
                        margin: 0;
                    }

                    & a {
                        font-size: 24px;
                        line-height: 1.2;
                        letter-spacing: -0.5px;
                        color: var(--thm-primary);
                        transition: var(--transition);

                        @media screen and (min-width: 991px) {
                            &:hover {
                                filter: brightness(1.2);
                                transform: translateX(10px);
                                transition: var(--transition);
                            }
                        }
                    }
                }
            }
        }
    }

    .form-area {
        height: 100%;
        background-color: #F9F9F9;
        border-radius: 6px;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;

        .contact__form {
            width: 100%;
        }

        .title {
            font-size: 36px;
            line-height: 1.3;
            letter-spacing: -0.5px;
            color: var(--thm-primary);
            font-weight: 500;
        }
    }

    .google-map__contact {
        border-radius: 6px;
        height: 100%;

        @media screen and (max-width: 991px) {
            height: 300px;
        }
    }
}

/* Form Elements */
.form-group {
    .form-control {
        padding: 17px 15px;
        background-color: rgba(var(--thm-primary-rgb), 0.05);
        border: 1px solid rgba(var(--thm-primary-rgb), 0.1);
        border-radius: 6px;
        transition: var(--transition);
        font-size: 16px;
        line-height: 1.4;
        color: var(--black);
        resize: none;
        min-height: unset;

        &::placeholder {
            color: rgba(var(--black-rgb), 0.3);
        }

        &:hover {
            background-color: rgba(var(--thm-primary-rgb), 0.1);
            border-color: rgba(var(--thm-primary-rgb), 0.2);
        }

        &:focus {
            background-color: rgba(var(--thm-primary-rgb), 0.2);
            border-color: rgba(var(--thm-primary-rgb), 1);
            outline: 0 !important;
            box-shadow: none;
        }
    }

    textarea.form-control {
        height: 180px;
    }
}

form {
    width: 100%;
}

#form-area {
    padding-left: 12px;
    padding-right: 12px;

    .inner {
        background-color: #F9F9F9;
        border-radius: 6px;
        padding: 40px 20px;
    }
}

/* News detail page */
#news-detail {
    padding: 100px 0;

    @media screen and (max-width: 991px) {
        padding: 50px 0;
    }

    .content {
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(var(--black-rgb), 0.1);

        .image-wrapper {
            width: 100%;
            height: 350px;
            overflow: hidden;
            border-radius: 12px;

            & img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: var(--transition);
            }

            &:hover {
                & img {
                    transform: scale(1.1);
                    transition: var(--transition);
                }
            }
        }
    }
}
/* News detail page */


/* Text editor class, can be used anywhere */
.text-editor {
    display: flex;
    flex-direction: column;
    gap: 24px;

    & h1, h2, h3, h4, h5, h6, table, ul, p {
        margin: 0 !important;
        padding: 0 !important;
    }

    & ul {
        display: flex;
        flex-direction: column;
        gap: 16px;
        list-style: none;

    }

    & ul li {
        padding-left: 16px;
        position: relative;

        &::marker {
            display: none;
        }

        &:before {
            content: "\f111";
            font-family: "Font Awesome 6 Pro";
            position: absolute;
            top: 10px;
            left: 0;
            font-size: 7px;
            font-weight: 900;
            -moz-osx-font-smoothing: grayscale;
            -webkit-font-smoothing: antialiased;
            display: var(--fa-display, inline-block);
            font-style: normal;
            font-variant: normal;
            line-height: 2;
            text-rendering: auto;
            color: var(--thm-primary);
        }
    }

    & p, ul li {
        font-size: 18px;
        line-height: 34px;
        letter-spacing: -0.2px;
        color: var(--thm-gray);
    }

    & h1, h2, h3, h4, h5, h6 {
        font-weight: 500;
        line-height: 1.4;
        color: var(--thm-primary);
    }

    & h1 { font-size: 54px; }
    & h2 { font-size: 44px; }
    & h3 { font-size: 36px; }
    & h4 { font-size: 28px; }
    & h5 { font-size: 24px; }
    & h6 { font-size: 20px; }

    @media screen and (max-width: 991px) {
        & h1 { font-size: 40px; }
        & h2 { font-size: 32px; }
        & h3 { font-size: 26px; }
        & h4 { font-size: 22px; }
        & h5 { font-size: 20px; }
        & h6 { font-size: 18px; }
        & p, ul li {
            font-size: 17px;
        }
    }
}