/********** Template CSS **********/
/*@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: #c7933b;
    --secondary: #f2b85e;
    --light: #bebaba;
    --dark: #000000;
    --inverse-color-rgb: 73, 75, 91;
    --white: #ffffff;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Body text uses Montserrat */
body {
  font-family: 'Montserrat', sans-serif;
}

/* Headings use Merriweather */
h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
}


.back-to-top {
    position: fixed;
    display: none;
    right: 5px;
    bottom: 30px;
    z-index: 999;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/

.navbar-bg-color {
    background-color: var(--dark) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: #FFFFFF;
    font-weight: 500;
    font-size:large;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    /*color: var(--dark);*/
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 8px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(256, 256, 256, .1)
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

@media (min-width: 1400px) {

    /*max-width: 80vw*/

    .container {

        max-width: 1600px;  /*Increase max width from default 1320px */

    }

}

.twentytwenty-wrapper {
    height: 100%;
}

.slider-wrapper {
    width: 100%;          /* Make the slider responsive to the page width */
    /*max-width: 900px;     Stop it from getting too large on huge screens 
    margin: 0 auto;       Center the slider horizontally */
}

.twentytwenty-container {
    /* CRITICAL: Overrides height settings and allows padding-bottom to calculate height */
    height: 0 !important; 
    padding-top: 0 !important;
    
    /* 16:9 Aspect Ratio (9 / 16 = 0.5625) 
       This makes the height 56.25% of the width, maintaining the image shape. */
    padding-bottom: 53.85% !important; 
    
    position: relative; 
    overflow: hidden;
}

.twentytwenty-container img {
    /* If your existing inline styles are strong enough, you may not need this. 
       But it's good practice to ensure they are fully absolute and cover the space. */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*** Header ***/
#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 10%;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

#header-carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
    text-indent: 0;
    margin-bottom: 15px;
    border: 2px solid #FFFFFF;
    border-radius: 60px;
    overflow: hidden;
}

#header-carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/fun-factory-interiors-main-slider-01.webp) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 4px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}



/*** Img Border ***/
.img-border {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.img-border::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 3rem;
    bottom: 3rem;
    border: 5px solid var(--primary);
    border-radius: 6px;
}

.img-border img {
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    object-fit: contain;
    border-radius: 6px;
}

/*** Facts ***/
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    margin-top: -10px;
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: none;
    border: 1px solid #DEE2E6;
}


/*** Feature ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Project ***/
.project-item a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, .5);
    border-radius: 6px 6px 0px 0px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover a {
    opacity: 1;
}

.project-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-carousel .owl-dot {
    width: 20px;
    height: 20px;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 35px;
    transition: .5s;
}

.project-carousel .owl-dot:hover,
.project-carousel .owl-dot.active {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-text {
    position: relative;
    height: 65px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-title {
    top: -65px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 65px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    margin: 0 3px;
}

.team-item:hover .team-social {
    top: 0;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Footer ***/
.footer {
    background-color: var(--dark);
}

.footer p{
    color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

p {
    color: #353535;
    text-align: justify; 
    text-justify: inter-word; 
    hyphens: auto; 
    overflow-wrap: break-word;
}

.button-light a {
    text-transform: uppercase;
    background: transparent;
    color: #fff;
    padding: 12px 22px;
    margin: 0;
    position: relative;
    font-size: 16px;
    letter-spacing: 3px;
    border: 1px solid rgba(255,255,255,0.3);
}

.button-light {
    position: relative;
    line-height: 1.2em;
}

.button-light a span {
    position: relative;
    z-index: 2;
}

/* Sticky "Free Quote" Bar */
.sticky-free-quote {
    position: fixed;
    top: 30%;
    right: 0; /* Align to the edge of the viewport */
    z-index: 1001;
    background: #000;
    
    transform-origin: right bottom; 
    transform: rotate(-90deg);
}

.sticky-free-quote .button-light a {
    display: block;
    text-transform: uppercase;
    background: transparent;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    letter-spacing: 2px;
    border: 1px solid rgba(255,255,255,0.3);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    color: #000;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    color: #000;
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.services__v3 .subtitle {
  background-color: rgba(var(--bs-secondary-rgb), 0.2);
  color: var(--bs-primary);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.services__v3 .icon {
  display: inline-block;
  position: relative;
  color: var(--bs-primary) !important;
}

.services__v3 .icon:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 40px;
  height: 40px;
  right: -10px;
  bottom: 0px;
  border-radius: 50%;
  background-color: rgba(var(--bs-secondary-rgb), 1);
}

.services__v3 .icon svg {
  width: 50px;
}
.services__v3 .service-card {
  border: 1px solid rgba(var(--inverse-color-rgb), 0.2);
}

.services__v3 .step-number {
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: color-mix(in srgb, var(--primary), transparent 95%);
    border-radius: 50px;
    transition: 0.3s;
}

.services__v3 .service-card:hover .step-number {
    color: var(--dark);
    background: var(--secondary);
}

/* ============================= 
    PRICING-1 CSS
================================ */
.pricing-card {
    transition: transform 0.3s ease-in-out;
    color:#353535;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.opacity-10 {
    opacity: 0.5;
}

.body-text
{
    color:#353535;
}

.btn-primary:focus{
    background-color: var(--primary);
    border-color: var(--secondary);
    box-shadow: 0 0 0 .25rem #FFC107;
}

.contact-item-wrapper .contact-item {
  display: flex;
  border: 1px solid var(--secondary);
  border-radius: 10px;
  background: var(--white);
  margin-bottom: 30px;
  padding: 20px 30px;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}
.contact-item-wrapper .contact-item:hover {
  box-shadow: var(--shadow-4);
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .contact-item-wrapper .contact-item {
    padding: 20px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .contact-item-wrapper .contact-item {
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .contact-item-wrapper .contact-item {
    flex-direction: column;
  }
}
.contact-item-wrapper .contact-item .contact-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}
.contact-item-wrapper .contact-item .contact-content {
  margin-left: 25px;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .contact-item-wrapper .contact-item .contact-content {
    margin-left: 20px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .contact-item-wrapper .contact-item .contact-content {
    margin-left: 0px;
    margin-top: 20px;
  }
}
@media (max-width: 767px) {
  .contact-item-wrapper .contact-item .contact-content {
    margin-left: 0px;
    margin-top: 20px;
  }
}
.contact-item-wrapper .contact-item .contact-content h4 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 10px;
}

/* ===================================================================
 * ## masonry grid styles
 * =================================================================== */

/* 1. Container & Wrapper 
 * Ensures the grid has a defined max-width and is centered.
 */
.masonry-wrap {
    /*margin-top: 7.2rem;*/
    max-width: 1100px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.masonry {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    position: relative; /* Required for Masonry JS */
    transition: height 0.4s ease-in-out; /* Smooth height changes */
}

/* Clearfix to prevent container collapse */
.masonry:after,
.masonry-wrap:after {
    content: "";
    display: table;
    clear: both;
}

/* 2. Grid Bricks & Sizer
 * We use 49.9% to avoid sub-pixel rounding errors that cause stacking.
 */
.masonry .grid-sizer,
.masonry__brick {
    width: 49.9% !important;
    float: left;
    margin: 0 !important;
    padding: 10px; /* Adjust this value for the gap between images */
    box-sizing: border-box !important;
}

/* 3. Item Folio (The Image Container) */
.item-folio {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.item-folio__thumb a {
    display: block;
    position: relative;
    text-decoration: none;
}

.item-folio__thumb img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: bottom;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

/* 4. Overlay & Hover Effects */
.item-folio__thumb a::before {
    display: block;
    background-color: rgba(0, 0, 0, 0.8);
    content: "";
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    z-index: 1;
}

.item-folio__thumb a::after {
    content: "...";
    font-family: georgia, serif;
    font-size: 2.7rem;
    display: block;
    height: 30px;
    width: 30px;
    line-height: 30px;
    margin-left: -15px;
    margin-top: -15px;
    position: absolute;
    left: 50%;
    top: 50%;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    z-index: 1;
}

.item-folio:hover .item-folio__thumb a::before,
.item-folio:hover .item-folio__thumb a::after {
    opacity: 1;
    visibility: visible;
}

.item-folio:hover .item-folio__thumb a::after {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.item-folio:hover .item-folio__thumb img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

/* 5. Text & Links */
.item-folio__text {
    position: absolute;
    left: 0;
    bottom: 3.6rem;
    padding: 0 3.3rem;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.item-folio:hover .item-folio__text {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.item-folio__title {
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.286;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: .2rem;
    margin: 0 0 .3rem 0;
}

.item-folio__cat {
    color: rgba(255, 255, 255, 0.5);
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.714;
    margin-bottom: 0;
}

.item-folio__caption {
    display: none;
}

/* 6. Responsive Breakpoints */
@media only screen and (max-width: 1100px) {
    .masonry-wrap {
        padding: 0 20px;
    }
}

@media only screen and (max-width: 800px) {
    .item-folio__title,
    .item-folio__cat {
        font-size: 1.3rem;
    }
}

@media only screen and (max-width: 600px) {
    /* Critical: Change to 100% width for mobile stacking */
    .masonry .grid-sizer,
    .masonry__brick {
        width: 100% !important;
        padding: 10px 0; /* Remove side padding on mobile */
    }
    
    .s-works {
        padding-top: 12rem;
    }

    .item-folio__title,
    .item-folio__cat {
        font-size: 1.4rem;
    }
}

/* 7. General Section Utilities */
.s-works {
    /*padding-top: 18rem;
    padding-bottom: 18rem;*/
    position: relative;
    background-color: #ffffff;
}

.section-header.has-bottom-sep {
    padding-bottom: 1.5rem;
    position: relative;
    text-align: center;
}

.subhead {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 1.333;
    text-transform: uppercase;
    letter-spacing: .25rem;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 3rem;
}

/*.display-1 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 4.8rem;
    line-height: 1.2;
    color: #000000;
}*/

/* 2. WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 100px;
    right: 5px; /* Standard spacing from edge */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1DA851;
    color: #fff;
}

/* Ensure the icon inside is also forced to render */
.whatsapp-float i {
    display: block;
    -webkit-transform: translate3d(0, 0, 0);
}

.my-float {
    /* Optional: fine-tune icon vertical alignment */
    margin-top: 0px; 
}

.gradient-text {
  background: linear-gradient(90deg, #ff6a00, #ee0979); 
  -webkit-background-clip: text;   
  -webkit-text-fill-color: transparent;
}
