/*
Theme Name: decor-child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
    --bg: #0c0b0a;
    --gold-light: #e9afa4;
    --gold: #c77f75;
    --gold-dark: #98554e;

    
    --text: #f3eee6;
    --muted: #b9b0a3;
    --serif: "Cormorant Garamond", "Times New Roman", serif;
    --sans: "Be Vietnam Pro", system-ui, sans-serif;
    --gold-grad: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--gold-dark));
}

.hnit-service-sec {
    min-height: 100vh;

    position: relative;
    padding: 60px 70px 90px;
}

.hnit-service-sec .section-bg {
    background:
    radial-gradient(
        ellipse 60% 40% at 85% 10%,
        rgba(233, 175, 164, 0.30),
        transparent 70%
    ),
    radial-gradient(
        ellipse 70% 30% at 50% 105%,
        rgba(201, 126, 117, 0.18),
        transparent 70%
    ),
    radial-gradient(
        ellipse 40% 50% at 0% 60%,
        rgba(233, 175, 164, 0.20),
        transparent 70%
    ),
    linear-gradient(
        180deg,
        #fffaf8 0%,
        #fdf3f0 50%,
        #f8e8e5 100%
    );
    /* background: radial-gradient(ellipse 60% 40% at 85% 10%, rgba(217, 178, 111, .18), transparent 70%), radial-gradient(ellipse 70% 30% at 50% 105%, rgba(217, 178, 111, .28), transparent 70%), radial-gradient(ellipse 40% 50% at 0% 60%, rgba(217, 178, 111, .12), transparent 70%), linear-gradient(180deg, #161412, var(--bg)); */
}
.hnit-service-sec .divider {
    position: relative;
    display: block;
    max-width: 220px;
    height: 1px;
    margin: 16px auto;
    background: linear-gradient(
        90deg,
        transparent,
        #c77f75 50%,
        transparent
    );
}

.hnit-service-sec .divider::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #e9afa4;
    border: 1px solid #c77f75;
    transform: translate(-50%, -50%) rotate(45deg);
}

.r-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    perspective: 1600px;
    /* depth for the curved arc */
    perspective-origin: 50% 40%;
}

.r-services .col {
    padding: 0px;
    overflow: hidden;
    max-width: 100%;
    --rot: 0deg;
    --z: 0px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 4 / 5.4;
    min-height: 440px;
    border-radius: 18px;
    overflow: hidden;
    isolation: isolate;
    background: var(--img) center / cover no-repeat;
    transform: rotateY(var(--rot)) translateZ(var(--z));
    transform-style: preserve-3d;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, .6),
        0 0 40px rgba(217, 178, 111, .12);
    transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .6s;
}

.r-services .col:nth-child(1) {
    --rot: 16deg;
    --z: 0px;
    transform-origin: right center;
}

.r-services .col:nth-child(2) {
    --rot: 5deg;
    --z: 0px;
}

.r-services .col:nth-child(3) {
    --rot: -5deg;
    --z: 0px;
}

.r-services .col:nth-child(4) {
    --rot: -16deg;
    --z: 0px;
    transform-origin: left center;
}


.r-services .col .col-inner:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(160deg, var(--gold-light), rgba(217, 178, 111, .2) 40%, rgba(217, 178, 111, .2) 60%, var(--gold));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;

}

.r-services .col .box {
    height: 100%;
    position: relative;
}

.r-services .col .box-image {
    height: 100%;
    position: absolute;
    width: 100%;
}

.r-services .col .box-image .image-cover {
    height: 100%;
    overflow: hidden;
}

.r-services .col .box-image .image-cover img {
    height: 100%;
    object-fit: cover;
}

.r-services .col .box .box-text {
    z-index: 1;
    background: transparent;
    padding: 0 30px 32px;
    position: absolute;
    bottom: 0;
}

.r-services .col .box:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, transparent 30%, rgba(10, 9, 8, .75) 60%, rgba(10, 9, 8, .97) 100%);
}

.r-services .col .box .button {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gold-light);
}

.r-services .col .box .button span {
    order: 1;
    display: flex;
    width: fit-content;
}

.r-services .col .box .button i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    font-size: 18px;
    transition: background .3s, color .3s, transform .3s;
    order: 3;
}

.r-services .col .box .button:before {
    order: 2;
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(217, 178, 111, .6), rgba(217, 178, 111, .15));
}

.hnit-faq-sec .accordion .accordion-title.active {
    background: transparent;
}

.hnit-faq-sec .accordion .toggle {
    right: 0px;
    left: unset;
}

.hnit-faq-sec .accordion .accordion-item {
    /*margin-bottom: 15px;*/
    padding-bottom: 15px;
}

.accordion p { margin: 0px; }

.accordion a { padding: 10px 40px 10px 10px;}

.accordion .accordion-item .accordion-inner { padding: 10px;}
.accordion-item{ background-color:#FFF; }
.accordion-item:first-child .accordion-title{ border-top:0px;}
.accordion-item:first-child{ border-radius: 8px 8px 0px 0px; }
.accordion-item:last-child{ border-radius: 0px 0px 8px 8px;}

.main-border-radius img {
    border-radius: 40px;
}

.img-center-main {
    background: rgba(255, 255, 255);
    border-radius: 9999px;
    padding: 30px 30px;
    z-index: 1;
}

.r-services .col .col-inner {
    border-radius: inherit;
}

.r-services .icon-box h3 {
    font-size: clamp(22px, 1.8vw, 30px);
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #f3eee6;
}

.r-services .icon-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #ddd5c8;
    margin-bottom: 22px;
}
.slide-homepage .banner-bg:before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(255, 248, 247, 0.98) 0%,
        rgba(255, 248, 247, 0.95) 26%,
        rgba(255, 248, 247, 0.82) 38%,
        rgba(233, 175, 164, 0.38) 53%,
        rgba(233, 175, 164, 0.10) 65%,
        transparent 68%
    );
    pointer-events: none;
}
.portfolio-box-title{
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.hnit-blog-sec .r-news .post-item .cat-label{
    position: absolute;
    left:10px;
    top:-20px;
    width:100px;
    display: inline-block;
    background:rgb(255,255,255);
    padding:5px 10px 0px;
    border-radius: 5px 5px 0px 0px;
}
.title-hero{
    font-family: "Cormorant Garamond", serif;
    color: #332827!important;
    font-size: clamp(42px, 4vw, 68px)!important;
    line-height: 1.02;
    font-weight: 500;
}
.text-spec{
    color: #e9afa4;
    font-style: italic;
}
p.desc-hero{
    color: #332827;
    font-weight:600;
}
.r-sub-desc-banner{
    padding-top:20px;
    margin-top:20px;
    border-top:1px solid #e9afa4;
    
}
.r-sub-desc-banner .col-inner{
    display: grid;
    grid-template-columns:repeat(3,1fr);
    column-gap: 20px;
}
.r-sub-desc-banner .icon-box{
    align-items: center;
}
.r-sub-desc-banner .icon-box h5{
    color: #332827;
    margin:0px;
}
.slide-homepage .text-box{
    z-index:2 ;
}
.hnit-title-sec{
    font-size: clamp(22px, 4vw, 35px)!important;
    color: #332827;
}
.footer-sec h5{
    font-size:clamp(18px, 4vw, 22px);
}
.absolute-footer .container{
    border-top:1px solid rgba(238,198,194,0.87)
}
.hnit-project-sec .portfolio-box .box-image{
    border-radius: 10px;
    overflow: hidden
}
.hnit-blog-sec .r-news .post-item .col-inner{
    border-radius: 10px;
    overflow: hidden;
}
.txt-brand{
        background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}