/* Base Resets */


:root{
    --font-family-base: "Merriweather";
    --color-primary: #44392B;
    --color-secondary: #876346;
    --color-white: #fff;
    --color-black: #000;
    --bg-color: #FFDC00;
}
body.wp-megamenu{
    display: block !important;
}
/* Container */
.container {
    max-width: 1400px !important; 
    margin: 0 auto;
    padding: 0 40px;
}

/* Row for Flexbox Layout */
.row {
    display: flex;
    flex-wrap: wrap;
}

.page-builder .row.new-gp-forma-image-steps

 {
    justify-content: space-between;
    min-height: 500px;
}
/* ======== HERO SECTION CSS ======== */

.new-gp-forma-hero-section {
    padding: 250px 0 0px; /* Top and bottom spacing for the hero section */
}

/* Left Column */
.new-gp-forma-hero-left {
    flex: 0 0 30%; 
    max-width: 30%;
    padding-right: 40px;
}

/* Right Column */
.new-gp-forma-hero-right {
    flex: 0 0 70%; 
    max-width: 70%;
}

/* Sub-title on the left */
.new-gp-forma-sub-title {
    font-family: var(--font-family-base);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-secondary);
    margin-bottom: 20px;
    max-width: 250px;
}
.new-gp-common-white-text {
    color:var(--color-white) !important; 
}
/* Main Title on the right */
.new-gp-forma-title {
    font-family: var(--font-family-base);
    font-size: 56px;
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

/* Paragraph text */
.new-gp-forma-pra {
    font-size: 24px;
    font-weight: 400;
    color: var(--color-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 600px;
}



.image-steps {
    position: relative;
    margin: 80px auto 40px;
    max-width: 1360px;

    padding: 60px;
     min-height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;

}

.image-steps .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.steps {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
}

.step-item {
    /* transition: all 0.4s ease-in-out; */
}

/* --- INACTIVE STATE (When description is hidden) --- */
.step-item:has(.step-item-desc-wrap[style*="none"]) {
    flex: 1;
    background: transparent;
}

.step-item:has(.step-item-desc-wrap[style*="none"]) .step-item-wrap {
    background-color: var(--bg-color); /* Yellow */
    display: flex;
    align-items: center;
    padding: 20px 25px;
    height: 100px;
    cursor: pointer;
    box-sizing: border-box;
    border-left: 1px solid rgba(0,0,0,0.05); /* Separator */
}

/* Remove border from first inactive item if needed */
.step-item:first-child:has(.step-item-desc-wrap[style*="none"]) .step-item-wrap {
    border-left: none;
}

.step-item:has(.step-item-desc-wrap[style*="none"]) .step-icon {
    background-color: var(--color-white);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    padding: 15px;
    object-fit: contain;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step-item:has(.step-item-desc-wrap[style*="none"]) .new-gp-forma-sub-title {
    color: var(--color-secondary);
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    line-height: 1.6;
}

/* --- ACTIVE STATE --- */
.step-item:not(:has(.step-item-desc-wrap[style*="none"])) {
    /* Large White Box */
    flex: 1; 
    background-color: var(--color-white);
    position: relative;
    padding: 50px 40px 40px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.step-item:not(:has(.step-item-desc-wrap[style*="none"])) .step-item-wrap {
    cursor: default;
    background: transparent;
    padding: 0;
    height: auto;
    display: block;
    border: none;
}

/* The floating icon is styling the .step-icon inside .step-item-wrap */
.step-item:not(:has(.step-item-desc-wrap[style*="none"])) .step-item-wrap .step-icon {
    background-color:var(--bg-color);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    padding: 18px;
    object-fit: contain;
    position: absolute;
    top: -40px; /* Half outside vertically */
    left: 40px; /* Aligned with text padding horizontally */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.step-item:not(:has(.step-item-desc-wrap[style*="none"])) .new-gp-forma-sub-title {
    color: #4A3C31;
    font-size: 1.5rem;
    font-family: "Merriweather", serif; /* Serif font for active heading */
    font-weight: 400;
    margin: 0 0 15px 0;
    max-width: none; /* override max-width from base style */
}

.step-item:not(:has(.step-item-desc-wrap[style*="none"])) .step-item-desc-wrap {
    margin-top: 10px;
}

.step-item-desc {
    color: #7A6960;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* Hide duplicate fallback icon in description wrapper */
.step-item-desc-wrap .step-icon {
    display: none !important;
}



.new-gp-fora-slider-btn {display: none;}


.image-content {
    padding: 100px 0;
    background-color: #ffffff;
}

.image-content .row {
     align-items: flex-start;; /* Vertically align the image with the text content */
}

/* Left Column - Large Vertical Image */
.image-content-left {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 40px; 
}

.left-side-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Right Column - Small Image, Title, Text, Button */
.image-content-row {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 40px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right-side-image {
    margin-bottom: 30px;
}

.right-side-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Heading */
.image-content-row h2 {
    font-family: "Merriweather", serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--color-primary) ;/* Brown tint */
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Paragraph */
.image-content-row p {
    font-family: var(--font-family-base);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-secondary);
    margin-bottom: 35px;
}

/* Button Wrapper */
.buttons {
    display: flex;
}
/* Button Style */
.cat-btn-image {
    font-size: 14px;
    font-weight: 500;
    /* border: 1px solid #876346; */
    background-color: var(--color-secondary);
    padding: 16px 40px 16px 16px;
    color: var(--color-white);
    /* background: transparent; */
    position: relative;
    display: inline-block;
    overflow: hidden;
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
}

/* Circular hover effect */
.cat-btn-image::before {
    content: "";
    position: absolute;
    bottom: -1%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 1.4s ease;
    z-index: -1;
}

.cat-btn-image:hover::before {
    transform: translateX(-50%) scale(15);
}

/* Icon after text */
.cat-btn-image::after {
    content: "→";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.cat-btn-image:hover::after {
    transform: translateY(-50%) translateX(4px);
}

.new-gp-fora-slider-btn button{
opacity:0.4;
transition:0.3s;
}

.new-gp-fora-slider-btn button.active{
opacity:1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
.new-gp-forma-hero-left,
    .new-gp-forma-hero-right {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
    }
    
    .new-gp-forma-hero-left {
        margin-bottom: 20px;
    }

    .new-gp-forma-title {
        font-size:32px;
    }

    .new-gp-forma-pra {
        font-size:20px;
    }

    .image-content {
        padding: 60px 0;
    }
    
    .image-content-left,
    .image-content-row {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .image-content-left {
        margin-bottom: 50px;
    }

    .image-content-row h2 {
        font-size: 28px;
    }

     .image-steps {
    margin: 100px 40px 40px !important;
}
   .steps {
    flex-wrap: nowrap;
    overflow-x: scroll;
    scrollbar-width: none;   
  -ms-overflow-style: none;
}

.steps::-webkit-scrollbar{
  display: none;
}

     .steps .step-item {
        min-width: 42%;  
    }

    .step-item:not(:has(.step-item-desc-wrap[style*="none"])) {
        flex: 1 1 100%;
        margin-top: 50px; /* Space for the floating circle */ 
        margin-bottom: 0px;
    }
    .step-item:has(.step-item-desc-wrap[style*="none"]) {
        flex: 1 1 50%;
    }
    .image-steps {
    padding: 32px 0 32px 32px;
    
}

/*   BUTTon CSS START FOR TABLET VIEW SHOW ICON IN TABLET  */

.new-gp-fora-slider-btn {
    position: absolute;
    z-index: 9;    
    bottom: -11%;
    right: 0;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
    width: auto;
    height: auto;
}
.new-gp-fora-slider-btn button {
    border: 1px solid #876346;
    min-width: 60px;
    height: 60px;
    max-width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 50%;
    overflow: hidden;
    color: #876346;
}


}

@media (max-width: 767px) {
    .image-content-row h2 {
        font-size: 24px;
    }
    
    .right-side-image {
        margin-bottom: 20px;
    }
    
    .cat-btn-image {
        padding: 12px 24px;
        font-size: 14px;
    }
    .step-item:has(.step-item-desc-wrap[style*="none"]) {
        flex: none;
        width: 85%;
    }
    .step-item:not(:has(.step-item-desc-wrap[style*="none"])) {
        flex: none;
        width: 85%;
        margin-top: 50px;
    }
    .step-item:has(.step-item-desc-wrap[style*="none"]) .step-item-wrap {
        height: auto;
        min-height: 80px;
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.05); /* horizontal separator instead */
    }
    /* First item */
    .step-item:first-child:has(.step-item-desc-wrap[style*="none"]) .step-item-wrap {
        border-top: none;
    }

    .image-steps {padding: 16px 0 24px 16px;}
     .steps .step-item {
        min-width: 85%;  
    }
    .new-gp-fora-slider-btn {bottom: -9%;}
}

/* ======== IMAGE content  ======== */

.cta-banner , .cta-bannner-full-width {
  margin: 0 auto; width: 100%;
  display: block;
  height: 100%;
}

.image-cow img{width: 100%; height: 100%;}
.gp_production_sub_hub_main.new-gp-sub-hub h1 {
    font-weight: 600 !important;
    text-transform: capitalize !important;
    font-size: 56px !important;
    line-height: 1.2 !important;
    min-width: 110% !important;
}
.gp_production_sub_hub_main.new-gp-sub-hub .et_pb_column:nth-child(2) p {
    font-size: 24px;
    line-height: 1.6;
    color: #876346 !important;
    width: 140%;
}
.et_pb_button:hover, .et_pb_module .et_pb_button:hover{border-color: #876346 !important; }

/* ============================================================================================================================================================================= */
/* ====================================================================Header Css for tablet &  Moblie ========================================================================= */
/* ============================================================================================================================================================================= */

/* @media (max-width:1200px) {

    html.no-scroll {
        overflow: hidden !important;
    }

    body header #new-header-section.head-stick-main * {
        background: #ffffff !important;
    }

    i.fa.fa-bars {
        color: #000;
    }

    body header .wp-megamenu-wrap.wpmm-mobile-menu .wpmm-nav-wrap .wp-megamenu {
        background-color: #ffffff !important;
    }

      #new-header-section ul.wp-megamenu {
        height: 100vh !important;
        top: 125px;
        width: 100% !important;
        background-color: #ffffff !important;
        overflow-y: scroll !important;
        position: fixed !important;
        left: 0;
    }

    ul.wp-megamenu > li {
        height: auto !important;
    }

    .wp-megamenu-wrap .wpmm-nav-wrap > ul > li.wpmm-hide-mobile {
        display: block !important;
    }

    header ul#menu-main-menu-1 li div > ul.wp-megamenu-sub-menu li > ul.wp-megamenu-sub-menu {
        flex-direction: column !important;
        padding: 0 !important;
    }

    header ul#menu-main-menu-1 
    li div > ul.wp-megamenu-sub-menu 
    li > ul.wp-megamenu-sub-menu 
    li > ul.wp-megamenu-sub-menu li {
        flex-direction: row-reverse !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        justify-content: left !important;
    }

    header ul#menu-main-menu-1 
    li div > ul.wp-megamenu-sub-menu 
    li > ul.wp-megamenu-sub-menu 
    li > ul.wp-megamenu-sub-menu li a img,
    header ul#menu-main-menu-1 
    li div > ul.wp-megamenu-sub-menu 
    li > ul.wp-megamenu-sub-menu 
    li > ul.wp-megamenu-sub-menu li img {
        width: 100px !important;
        height: 65px !important;
        max-width: 100px !important;
    }

    #new-header-section.head-stick-main .wp-megamenu > li:hover > a {
        border-bottom: none;
        padding: 0 15px;
    }

#menu-main-menu-1 li a b.fa.fa-angle-down,  #menu-main-menu-1 li.gp_main_link a b.fa.fa-angle-down{
    display: none !important;
}
.wpmm-col img {margin: 0 !important;}

#menu-main-menu-1 li.active-menu .wpmm-strees-row-and-content-container .wp-megamenu-sub-menu {
    display: block !important;
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70vh;
    padding: 50px 24px 32px !important;
    z-index: 999;
}
#menu-main-menu-1 li .wpmm-strees-row-and-content-container .wp-megamenu-sub-menu .wp-megamenu-sub-menu {
    margin: 0 !important;
    position: relative !important;
    padding: 0 !important;
    height: auto !important;
}

#menu-main-menu-1 li .wpmm-strees-row-and-content-container .wp-megamenu-sub-menu .wp-megamenu-sub-menu li +li {margin-top:16px; }
#menu-main-menu-1 li .wpmm-strees-row-and-content-container .wp-megamenu-sub-menu li {padding: 0 !important; width: 100% !important; min-width: 100% !important;}
#menu-main-menu-1 li .wpmm-strees-row-and-content-container .wp-megamenu-sub-menu li .wp-megamenu-sub-menu {
    margin: 0 !important;
    position: relative !important;
    padding: 0 !important;
    height: 500px !important;
    overflow-y: auto;
    scrollbar-width: none;
    top: 0;
}
#menu-main-menu-1 li .wpmm-strees-row-and-content-container 
.wp-megamenu-sub-menu li .wp-megamenu-sub-menu::-webkit-scrollbar {
    display: none;
}
#menu-main-menu-1 li .wpmm-strees-row-and-content-container .wp-megamenu-sub-menu li .wp-megamenu-sub-menu li .wp-megamenu-sub-menu {height: auto !important; overflow: auto ;}
#menu-main-menu-1 li .wpmm-strees-row-and-content-container .wp-megamenu-sub-menu .wp-megamenu-sub-menu li .wp-megamenu-sub-menu li h4 {padding: 0 !important;}
#menu-main-menu-1 li .wpmm-strees-row-and-content-container .wp-megamenu-sub-menu .wp-megamenu-sub-menu li .wp-megamenu-sub-menu li a img{display: block;}
.wpmm-strees-row-and-content-container ul.wp-megamenu-sub-menu li a {
    max-width: 100px;
}
.et-l.et-l--header #new-header-section.head-stick-main  .mobile-back {
    padding: 15px;
    margin: 0px auto 40px;
    background: #8b6a4f !important;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    z-index: 9;
}

} */

@media (max-width:786px) {
    .gp_production_sub_hub_main.new-gp-sub-hub h1 {
    font-size: 36px !important;
    }
    
}