/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ====================COLOR Heading================== */
.color2{color:#C89B3C !important;
  
}
.elementor-button-icon svg {
    height: 12px !important;
}
/*=============STAR RATING====================*/
.custom-star-rating{
    position:relative;
    display:inline-block;
    width:115px;
    height:22px;
}

.custom-star-rating .stars{
    position:absolute;
    top:0;
    left:0;
    display:flex;
    gap:4px;
}

.custom-star-rating .stars svg{
    width:19px;
    height:18px;
    flex-shrink:0;
}

.custom-star-rating .stars.empty svg path{
    fill:#E3E3E3;
}

.custom-star-rating .stars.filled{
    overflow:hidden;
    white-space:nowrap;
}

.custom-star-rating .stars.filled svg path{
    fill:#FFA404;
}

/* ============Form CSS=============== */
.forminator-ui#forminator-module-452.forminator-design--default .forminator-button-submit {
    background-color: #c89b3c;
    color: #ffffff;
    width: 100%;
    padding: 14px;
    border-radius: 90px;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 28px;
    font-family: 'DM Sans' !important;
}
.forminator-field label {
    font-family: Kumbh Sans !important;
    font-weight: 500 !important;
    font-style: Medium;
    font-size: 16px !important;
    line-height: 28px !important;  
    padding-bottom: 8px;
}.forminator-input {
    padding: 15px !important;
}.forminator-description{display:none !important;}.forminator-row {
    margin-bottom: 18px !important;
}

.iconFomr::after {
    content: '' !important;
    display: inline-block !important;
    width:30px !important;
    height: 14px !important;
    background-image: url('/wp-content/uploads/2026/07/19.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    flex-shrink: 0 !important;
    /* Remove any default vertical-align that might cause issues */
    vertical-align: middle !important; 
}/* --- Tablet (768px – 1024px) --- */
@media screen and (max-width: 1024px) {
    .iconFomr::after {
        width: 25px !important;        /* smaller icon */
        height: 12px !important;
    }
}

/* --- Mobile (≤ 767px) --- */
@media screen and (max-width: 767px) {
    .iconFomr::after {
        width: 25px !important;        /* even smaller */
        height: 11px !important;
    }
}

.forminator-input::placeholder,
.forminator-textarea::placeholder {
font-family: DM Sans !important;
font-weight: 400;
font-style: Regular;
font-size: 16px;
line-height: 28px;

    color: #575757 !important;
    
}.forminator-design--default .forminator-input:focus, .forminator-ui#forminator-module-452.forminator-design--default .forminator-phone .iti__country-container .iti__selected-country:focus {
    outline: 1px solid #000 !important;
    outline-offset: 0px !important;
}.forminator-design--default .forminator-textarea:focus {
    outline: 1px solid #000 !important;
    outline-offset: 0px !important;
}
/* --- 1. Form container: relative position + flex column --- */
#forminator-module-759 {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

/* --- 2. Flatten row and col wrappers --- */
#forminator-module-759 .forminator-row,
#forminator-module-759 .forminator-col {
    display: contents !important;
}

/* --- 3. Keep the field as a block container (Needed for the error fix) --- */
#forminator-module-759 .forminator-field {
    display: block !important;
}

/* --- 4. Style the email input --- */
#forminator-module-759 .forminator-input {
    width: 100% !important;
    padding: 25px 130px 25px 20px !important;  /* right padding for button */
    border-radius: 50px !important;
    border: none !important;
    background: #f9f9f9 !important;
    font-size: 16px !important;
    outline: none !important;
    box-sizing: border-box !important;
}

/* --- 5. Red placeholder --- */
#forminator-module-759 .forminator-input::placeholder {
    color: #525252 !important;
    opacity: 1 !important;
font-family: DM Sans !important;
font-weight: 400;
font-style: Regular;
font-size: 16px;
line-height: 28px;
}

/* --- 6. Submit button: absolutely positioned --- */
#forminator-module-759 .forminator-button-submit {
    position: absolute !important;
    right: 6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding: 14px 30px !important;
    border-radius: 50px !important;
    background: #C89B3C !important;      /* your brand color */
    color: #ffffff !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 28px;
    font-family: 'DM Sans' !important;
    cursor: pointer !important;
    z-index: 2 !important;
    white-space: nowrap !important;
    transition: background 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#forminator-module-759 .forminator-button-submit:hover {
    background: #1B3A2F !important;
}

/* --- form button ICON --- */
#forminator-module-759 .forminator-button-submit::after {
    content: '' !important;
    display: inline-block !important;
    width: 30px !important;
    height: 14px !important;
    background-image: url('/wp-content/uploads/2026/07/19.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important; 
    margin-left: 6px !important;
}

/* --- 7. Error message: Absolute positioning prevents button shifts! --- */
#forminator-module-759 .forminator-error-message {
    display: none !important;              
    margin-top: 0 !important;             
    color: #fff !important;
    font-size: 14px !important;
    padding: 0 20px !important;
    background: transparent !important;
    border: none !important;
font-family: DM Sans !important;
font-weight: 400;
font-style: Regular;
font-size: 16px;
line-height: 28px;
}

/* --- 8. Show error message absolutely below the input (DOES NOT PUSH BUTTON DOWN) --- */
#forminator-module-759 .forminator-has_error .forminator-error-message {
    display: block !important;
    position: absolute !important; /* Removes it from the document flow */
    top: calc(100% + 8px) !important; /* Positions it strictly below the input */
    left: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    z-index: 5 !important;
}

/* --- 9. Highlight input border on error --- */
#forminator-module-759 .forminator-has_error .forminator-input {
    border-color: #ff0000 !important;
}

/* --- 10. (Optional) Hide the original button row's extra spacing --- */
#forminator-module-759 .forminator-row-last {
    margin: 0 !important;
    padding: 0 !important;
}


/* RESPONSIVE FOR MOBILE AND TABLET DEVICES (MAX 768px) */
@media (max-width: 768px) {
    /* Reset the field to stack elements vertically */
    #forminator-module-759 .forminator-field {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        position: static !important;
    }

    /* Input full width, remove right padding */
    #forminator-module-759 .forminator-input {
        padding: 16px 20px !important;
        height: 50px !important;
margin-bottom:10px;
    }

    /* Reset button to full width stack below */
    #forminator-module-759 .forminator-button-submit {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        height: 50px !important;
        border-radius: 50px !important;
        padding: 0 15px !important;
    }

    /* Reset error message to normal flow on mobile/tablet */
    #forminator-module-759 .forminator-has_error .forminator-error-message {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
        margin-top: 0 !important;
    }
}
/* ==================================FORM CSS END===================================  */


/* ======SERVICES LAYOUT CSS =============*/

.serviceHome .elementor-loop-container.elementor-grid {
    display: flex !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-grow: 1 !important;
}

.serviceHome .elementor-loop-container.elementor-grid > .e-loop-item {
    flex: 0 0 calc(33.333% - 14px) !important;
    max-width: calc(33.333% - 14px) !important;
    width: calc(33.333% - 14px) !important;
}/* Tablet */
@media (max-width: 1024px) {
    .serviceHome .elementor-loop-container.elementor-grid > .e-loop-item {
        flex: 0 0 calc(50% - 10px) !important;
        width: calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .serviceHome .elementor-loop-container.elementor-grid > .e-loop-item {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}
/*================= PROJECT MASONRY CSS============== */

.project-masonry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.project-masonry-grid .grid-item {
  height: 340px;
  flex-grow: 1;
  min-width: 260px;
}

.project-masonry-grid .project-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: #eee;
  isolation: isolate; /* creates a clean local stacking context so nothing from the theme bleeds in on top of our overlay */
}

.project-masonry-grid .project-card-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Gradient overlay — sits ABOVE the image, BELOW the title */
.project-masonry-grid .project-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  z-index: 2;
  
   background: linear-gradient(
        to top,
        rgba(0,0,0,.85) 0%,
        rgba(0,0,0,.45) 45%,
        rgba(0,0,0,0) 100%
    );
  pointer-events: none;
}

.project-masonry-grid .project-card-title {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 25px;
  z-index: 3;
  margin: 0;
  color: #fff;
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  text-align: left;
}

/* CTA card with custom background image + gradient overlay */
.project-masonry-grid .cta-card {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.project-masonry-grid .cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(27, 58, 47, 0.8);
}

.project-masonry-grid .cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 30px 25px;
}

.project-masonry-grid .cta-title {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 34px;
  text-align: center;
  color: #fff;
  margin: 0 0 22px;
  
}

.project-masonry-grid .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #12362f;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  text-transform: capitalize;
  padding: 14px 30px;
  border-radius: 30px;
  transition: background-color 0.2s ease;
}

.project-masonry-grid .cta-button:hover {
  background-color: #C89B3C;
}

.project-masonry-grid .cta-icon {
  width: 12px;
  height: 12px;
  display: inline-block;
}

/* ==========================================================================
   Responsive breakpoints
   ========================================================================== */

/* Tablet: 2 columns */
@media (max-width: 1024px) and (min-width: 769px) {
  .project-masonry-grid .grid-item {
    width: 48% !important;
    height: 300px;
  }
}

/* Mobile: 1 column */
@media (max-width: 768px) {
  .project-masonry-grid .grid-item {
    width: 100% !important;
    height: 280px;
  }
  .project-masonry-grid .cta-title {
    font-size: 24px;
    line-height: 28px;
  }
}

/* =========SERVICE SECTION LAYOUTS=========== */

/* Desktop - 3 Columns */
.serviceHome .elementor-loop-container.elementor-grid {
    display: flex !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-grow: 1 !important;
}

.serviceHome .elementor-loop-container.elementor-grid > .e-loop-item {
    flex: 0 0 calc(33.333% - 14px) !important;
    max-width: calc(33.333% - 14px) !important;
    width: calc(33.333% - 14px) !important;
}

/* Tablet - 2 Columns */
@media (max-width: 1024px) {
    .serviceHome .elementor-loop-container.elementor-grid > .e-loop-item {
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        width: calc(50% - 10px) !important;
    }
}

/* Mobile - 1 Column */
@media (max-width: 767px) {
    .serviceHome .elementor-loop-container.elementor-grid > .e-loop-item {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}


/*=============BLOG CSS===================*/
.blogexcerpt.elementor-widget-theme-post-excerpt p {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
margin-bottom:0px !important
}
.blogEx  h2{
font-weight: 700;
font-size: 30px !important;
line-height: 40px;
color: #000 !important;
}
.blogEx  h3,h4,h5,h6{
font-weight: 700;
font-size: 25px !important;
line-height: 27px;
color: #000 !important;
}
/* Tablet */
@media (max-width: 1024px) {
    .blogEx  h2,
    .blogEx  h3,
    .blogEx  h4,
    .blogEx  h5,
    .blogEx  h6 {
        font-size: 35px !important;
        line-height: 40px;
        color: #000 !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .blogEx  h2,
    .blogEx  h3,
    .blogEx  h4,
    .blogEx  h5,
    .blogEx  h6 {
        font-size: 25px !important;
        line-height: 30px;
        color: #000 !important;
    }
}

.blogEx  ul {
    list-style: none;
    padding-left: 0;
}

.blogEx  ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 10px;
}

/* Custom bullet image */
.blogEx ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 18px;
    height: 18px;
    background: url('/wp-content/uploads/2026/07/tick.svg') no-repeat center;
    background-size: contain;
}

/* GALLERY */

/* Target the gallery container */
.agrfuxd-gallery-justified {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px !important; /* match your current gap */
}

/* Override the inline flex-grow and reset item styles */
.agrfuxd-gallery-item {
    flex: unset !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Make images fill their grid cells consistently */
.agrfuxd-figure {
    height: 100%;
    margin: 0;
}

.agrfuxd-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* crop to maintain aspect ratio */
    display: block;
}@media (max-width: 768px) {
    .agrfuxd-gallery-justified {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .agrfuxd-gallery-justified {
        grid-template-columns: 1fr !important;
    }
}
.agrfuxd-lightbox-nav.agrfuxd-lightbox-next,
.agrfuxd-lightbox-nav.agrfuxd-lightbox-prev {
    background: #1b3a2f;
}

.agrfuxd-lightbox-nav.agrfuxd-lightbox-next path,
.agrfuxd-lightbox-nav.agrfuxd-lightbox-prev path {
    fill: #fff;
}

.agrfuxd-lightbox-nav.agrfuxd-lightbox-next:hover,
.agrfuxd-lightbox-nav.agrfuxd-lightbox-prev:hover {
    background: #C89B3C;
}

.agrfuxd-lightbox-close {
    background: #C89B3C;
}

.agrfuxd-lightbox-close path {
    fill: #fff;
}

.agrfuxd-lightbox-close:hover {
    background: #1b3a2f;
}