/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.vc_row.wpb_row.vc_row-fluid.cta_sec {
    position: relative;
    top: -110px;
}
.vc_row.wpb_row.vc_row-fluid.BannerSection .info-box-subtitle {
    color: #fff;
    font-size: 26px;
}

.vc_row.wpb_row.vc_row-fluid.BannerSection .info-box-title {
    color: #fff;
}

.vc_row.wpb_row.vc_row-fluid.BannerSection .info-box-title strong {
    color: #F99E31;
    font-weight: 400;
}

.vc_row.wpb_row.vc_row-fluid.AboutUs_sec h2.info-box-title strong {
    color: #F99E31;
    font-weight: 400;
}

.vc_row.wpb_row.vc_row-fluid.AboutUs_sec h2.info-box-title {
    color: #fff;
}

.vc_row.wpb_row.vc_row-fluid.AboutUs_sec h4 {
    padding-left: 20px;
    position: relative;
    margin-bottom: 5px;
}

.vc_row.wpb_row.vc_row-fluid.AboutUs_sec h4:before {
    content: "";
    background: orange;
    width: 10px;
    height: 10px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 10px;
}
.vc_row.wpb_row.vc_row-fluid.AboutUs_sec .wpb_text_column {
    margin-bottom: 10px;
}

.vc_row.wpb_row.vc_row-fluid.AboutUs_sec .wpb_text_column p {
    padding-left: 20px;
}

.vc_row.wpb_row.vc_row-fluid.AboutUs_sec .btn.btn-style-default {
    margin-top: 35px;
}

.team-carousel-section {
    padding: 70px 0 80px;
    width: 100%;
}

.team-carousel-slider-wrap {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.team-carousel-slider {
    width: 100%;
}

.team-carousel-prev,
.team-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform .2s ease, background .2s ease, opacity .2s ease;
    z-index: 2;
    background: rgba(15, 58, 132, 0.9);
}


.team-carousel-section button.slick-arrow:before {
    font-size: 35px;
    color: #024387;
}

.team-carousel-section button.slick-arrow:hover:before {
    color: #f99e31;
}

.team-carousel-prev {
    left: -5px;
}

.team-carousel-next {
    right: -5px;
}

.team-carousel-prev:hover,
.team-carousel-next:hover {
    background: #f99e31;
    transform: translateY(-50%) scale(1.05);
}

.team-carousel-track {
    display: flex;
    gap: 24px;
}

.team-member-card {
    flex: 0 0 calc(25% - 18px);
    max-width: calc(25% - 18px);
    border-radius: 30px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 58, 132, 0.08);
    border: 1px solid rgba(15, 58, 132, 0.08);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
    margin: 0 10px;
}

.team-member-card:hover {
    transform: translateY(-8px);
}

.team-member-card:hover .team-member-content {
    background: #F99E31;
}

.team-member-card:hover .team-member-desc {
    color: #000;
}

.team-member-image {
    position: relative;
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.team-member-placeholder {
    width: 100%;
    min-height: 380px;
    background: #dce7f4;
}

.team-member-content {
    padding: 28px 26px 30px;
    text-align: center;
    background: #024387;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.team-member-name {
    font-size: 22px;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
}

.team-member-content {
    font-family: 'Marcellus', sans-serif;
    font-weight: 100;
}

.team-member-position {
    color: #ffffff;
    font-size: 14px;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 16px;
    text-align: center;
}

.team-member-desc {
    color: #3DAFF3;
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

.team-carousel-slider::-webkit-scrollbar {
    display: none;
}

.team-carousel-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 1199px) {
    .team-member-card {
        flex: 0 0 calc(33.333% - 16px);
        max-width: calc(33.333% - 16px);
    }
    .vc_row.wpb_row.vc_row-fluid.cta_sec {
        background: #f99e31;
        background-image: none !important;
        top: 0;
    }
}

@media (max-width: 991px) {
    .team-member-card {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
    .vc_row.wpb_row.vc_row-fluid.cta_sec {
        background: #f99e31;
        background-image: none !important;
        top: 0;
    }
}

@media (max-width: 767px) {
    .vc_row.wpb_row.vc_row-fluid.cta_sec {
        background: #f99e31;
        background-image: none !important;
        top: 0;
    }
    .team-carousel-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-carousel-nav {
        margin-top: 16px;
    }

    .team-member-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .team-member-content {
        padding: 22px 18px 24px;
    }
}

.testimonial-section {
    padding: 50px 0 50px;
}

.testimonial-section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-intro {
    text-align: center;
    margin-bottom: 52px;
}

.testimonial-small-title {
    display: inline-block;
    color: #f99e31;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.testimonial-heading {
    color: #ffffff;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.05;
    max-width: 860px;
    margin: 0 auto;
}

.testimonial-slider-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.testimonial-card {
    position: relative;
    background: #ffffff;
    border-radius: 28px;
    padding: 40px 34px 36px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    min-height: 320px;
}

.testimonial-card:before {
    content: "\201C";
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 86px;
    color: rgba(15, 58, 132, 0.08);
    z-index: 0;
}

.testimonial-copy {
    position: relative;
    z-index: 1;
    color: #1f3259;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.testimonial-author-wrap {
    position: relative;
    z-index: 1;
    text-align: center;
}

.testimonial-author-name {
    color: #0f3a84;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.testimonial-author-role {
    color: #7b89b4;
    font-size: 14px;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.testimonial-heading strong {
    color: #f99e31;
}

@media (max-width: 1199px) {
    .testimonial-slider-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .testimonial-section {
        padding: 60px 0 70px;
    }

    .testimonial-heading {
        font-size: 32px;
    }

    .testimonial-slider-grid {
        grid-template-columns: 1fr;
    }
}

.vc_row.wpb_row.vc_row-fluid.AboutUs_sec.test .wd-marquee .wd-marquee-content span {
    -webkit-text-stroke: 1px #48adc3;
    color: transparent;
    font-size: 150px;
    line-height: 1;
    position: relative;
}

/* FOOTER SECTION */
.text-white a {
    color: #fff;
    transition: 0.5s all ease;
    font-size: 16px;
}

.text-white a:hover {
    letter-spacing: 1px;
    color: #247FD3;
}

.privacy-links {
    display: ruby !important;
}

.privacy-links a {
    margin-right: 10px;
}

.easy-newsletter label {
    display: none;
}

form#easy-newsletter-form {
    display: flex;
}

button#easy-newsletter-submit {
    background: #F99E31;
    color: #fefefe;
    margin-left: -57px;
}

input.wpens_email {
    width: 290px;
    background: hsl(207deg 43% 22% / 50%);
}

/* FOOTER SECTION */

.whb-general-header {
    position: absolute;
    width: 84%;
    top: 65px;
    border-radius: 150px;
    left: 0;
    right: 0;
    margin: auto;
    height: fit-content;
}

main#main-content {
    padding-block: 0 !important;
}

.wd-logo img {
    padding: 5px 20px !important;
    max-height: 100% !important;
}

.whb-general-header .whb-general-header-inner {
    height: 100%;
    max-height: fit-content !important;
    display: flex;
    align-items: center;
}

.whb-general-header .whb-general-header-inner {
    height: 100%;
    max-height: fit-content !important;
    display: flex;
    align-items: center;
}

.btn.btn-style-default {
    background: #024387;
    color: #fff;
    padding: 10px 10px 10px 30px;
    transition: 0.5s;
    position: relative;
    overflow: hidden;
    z-index: 1000000;
    font-size: 20px;
    font-weight: 100;
    text-transform: capitalize;
    font-family: 'Marcellus', sans-serif;
    gap: 25px;
}

.btn.btn-style-default span.wd-btn-icon {
    background: #f99e31;
    color: #fff !important;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 150px;
    transition: 0.5s;
    border: 1px solid #f99e31;
}

.btn.btn-style-default:hover span.wd-btn-icon {
    transition: 0.5s;
    transform: rotate(180deg);
    border: 1px solid #024387;
    background: #fff;
}

.btn.btn-style-default:hover {
    transition: 0.5s;
    background: transparent;
}

.btn.btn-style-default:before {
    transition: 0.5s;
    content: "";
    width: 100%;
    height: 100%;
    background: #f99e31;
    position: absolute;
    left: -100%;
    z-index: -1;
}

.btn.btn-style-default:hover:before {
    transition: 0.5s;
    left: 0;
}

.cta_sec .btn.btn-style-default {
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
}

.cta_sec .btn.btn-style-default span.wd-btn-icon {
    background: #fff;
    border: none;
}

.cta_sec .btn.btn-style-default:hover span.wd-btn-icon {
    border: none;
}

.cta_sec .btn.btn-style-default:before {
    background: #024387;
}

.cta_sec .btn.btn-style-default:hover {
    border-color: #024387;
}

header .wd-button-wrapper {
    height: 100% !important;
}

header .whb-column10 {
    height: 100% !important;
}

.vc_row.wpb_row.vc_row-fluid.AboutUs_sec strong {
    color: #F99E31;
}

.vc_row.wpb_row.vc_row-fluid.AboutUs_sec ul li {
    width: 42%;
    display: inline-flex;
    position: relative;
    padding-left: 15px;
}

.vc_row.wpb_row.vc_row-fluid.AboutUs_sec ul li:before {
    content: "";
    background: #000;
    width: 7px;
    height: 7px;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    border-radius: 100px;
}

.vc_row.wpb_row.vc_row-fluid.AboutUs_sec ul {
    margin: 0;
    padding: 0;
}
.vc_row.wpb_row.vc_row-fluid.AboutUs_sec ul li:hover {
    color: #41A5E1;
    cursor: pointer;
}


.vc_row.wpb_row.vc_row-fluid.AboutUs_sec ul li:hover:before {
    background: #41A5E1;
}

.vc_row.wpb_row.vc_row-fluid.AboutUs_sec.faq_sec h4 {
    padding: 0;
}

.vc_row.wpb_row.vc_row-fluid.AboutUs_sec.faq_sec h4:before {
    display: none;
}
.faq_sec .wd-accordion-item {
    margin: 10px 0;
    transition: 0.5s;
}

.faq_sec .wd-accordion-item .wd-accordion-title {
    padding: 25px;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 1px 4px rgb(0 0 0 / 21%);
}

.faq_sec .wd-accordion-item .wd-accordion-title span {
    font-weight: 100;
    font-size: 20px;
}

.faq_sec .wd-accordion-item .wd-accordion-title.wd-active span {
    color: #fff;
}

.faq_sec .wd-accordion-item .wd-accordion-content.wd-entry-content.wd-active {
    box-shadow: 0 1px 4px rgb(0 0 0 / 21%);
    padding: 20px;
    border-radius: 0 0 30px 30px;
}

.faq_sec .wd-accordion-item .wd-accordion-title.wd-active {
    border-radius: 50px 50px 0 0;
    background: #024387;
}

/* ==========================================================================
   1. MAIN SCROLL CONTAINER
   ========================================================================== */
.custom-services-container {
    display: flex;
    flex-direction: column;
    max-width: 1140px;
    max-height: 750px;
    margin: 40px auto;
    padding: 30px 40px 140px 30px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Chrome/Safari scrollbar styling */
.custom-services-container::-webkit-scrollbar {
    width: 8px;
}

.custom-services-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.custom-services-container::-webkit-scrollbar-thumb {
    background: #F99E31;
    border-radius: 10px;
}

/* ==========================================================================
   2. OVERLAPPING CARD BASE STRUCTURE (FIXED 420px HEIGHT & PATTERN)
   ========================================================================== */
.service-card-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 420px;
    min-height: 420px;
    border-radius: 60px;
    padding: 40px 60px;
    margin-bottom: -110px;
    /* Overlap pile structure */
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.03), 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.22, 1), background-color 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='420' viewBox='0 0 1000 420'%3E%3Cpath d='M-100,100 C150,150 200,50 450,120 C700,190 750,80 1100,150 M-100,220 C150,270 200,170 450,240 C700,310 750,200 1100,270 M-100,340 C150,390 200,290 450,360 C700,430 750,320 1100,390' stroke='rgba(255,255,255,0.08)' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

/* Default dynamic structural layering */
.service-card-row:nth-child(1) {
    z-index: 5;
}

.service-card-row:nth-child(2) {
    z-index: 4;
}

.service-card-row:nth-child(3) {
    z-index: 3;
}

.service-card-row:nth-child(4) {
    z-index: 2;
}

.service-card-row:nth-child(5) {
    z-index: 1;
}

/* ==========================================================================
   3. MOUSE HOVER (TURNS ORANGE & POP UP TO FRONT)
   ========================================================================== */
.service-card-row:hover {
    background-color: #F99E31 !important;
    transform: translateY(-20px) scale(1.015);
    box-shadow: 0 25px 50px rgba(249, 158, 49, 0.35);
    z-index: 99 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='420' viewBox='0 0 1000 420'%3E%3Cpath d='M-100,100 C150,150 200,50 450,120 C700,190 750,80 1100,150 M-100,220 C150,270 200,170 450,240 C700,310 750,200 1100,270 M-100,340 C150,390 200,290 450,360 C700,430 750,320 1100,390' stroke='rgba(255,255,255,0.18)' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ==========================================================================
   4. CONTENT BLOCK & 3-LINE ELLIPSIS LIMIT RULE
   ========================================================================== */
.service-card-content {
    flex: 1;
    padding-right: 50px;
    color: #ffffff;
    z-index: 2;
}

.service-card-title {
    font-size: 2.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff !important;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* Yeh rhee woh strict 3 lines ellipsis wali CSS */
.service-card-excerpt {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Content strictly max 3 lines tak chalega */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 3 lines ke baad auto ... laane k liye */
}

/* ==========================================================================
   5. RIGHT SIDE IMAGE FRAME SETTINGS
   ========================================================================== */
.service-card-image-wrap {
    width: 360px;
    height: 310px;
    flex-shrink: 0;
    z-index: 2;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 45px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   6. PREMIUM LIQUID SLIDING READ MORE BUTTON
   ========================================================================== */
.service-card-btn {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 35px;
    padding: 8px 8px 8px 25px;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    background: transparent;
    z-index: 2;
    transition: border-color 0.4s ease;
}

.service-card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 35px;
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.service-card-btn .btn-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    margin-right: 20px;
    transition: color 0.4s ease;
}

.service-card-btn .btn-arrow {
    background-color: #F99E31;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-row:hover .service-card-btn {
    border-color: #ffffff;
}

.service-card-row:hover .service-card-btn .btn-arrow {
    background-color: #024387;
}

.service-card-btn:hover::before {
    width: 100%;
}

.service-card-btn:hover .btn-text {
    color: #024387;
}

.service-card-row:hover .service-card-btn:hover .btn-text {
    color: #F99E31;
}

.service-card-btn:hover .btn-arrow {
    transform: rotate(360deg) scale(1.05);
    background-color: #024387 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   7. FULL RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 991px) {
    .service-card-row {
        /*height: auto;*/
        /*min-height: auto;*/
        padding: 40px;
        margin-bottom: -60px;
    }

    .service-card-excerpt {
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    /* Responsive me dynamic show ho sake */
    .service-card-image-wrap {
        width: 300px;
        height: 260px;
    }
}

@media (max-width: 768px) {
    .custom-services-container {
        max-height: none;
        overflow-y: visible;
        padding: 10px;
    }

    .service-card-row {
        flex-direction: column-reverse;
        margin-bottom: 20px !important;
        height: auto;
        border-radius: 35px;
        text-align: center;
        padding: 35px;
    }

    .service-card-content {
        padding-right: 0;
        margin-top: 25px;
    }

    .service-card-image-wrap {
        width: 100%;
        height: 230px;
    }

    .service-card-btn {
        margin: 0 auto;
    }
}

.wd-page-title {
    padding-block: 25px !important;
    height: 40vh;
    display: flex;
    align-items: flex-end;
}

/* ==========================================================================
   1. MAIN CONTAINER (FULL WIDTH LIST)
   ========================================================================== */
.custom-services-grid-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
    /* Cards ke aapas ka vertical gap */
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

/* ==========================================================================
   2. SINGLE ROW SERVICE CARD (1 COLUMN PER LINE WITH PERFECT GAP)
   ========================================================================== */
.service-grid-card {
    display: flex;
    flex-direction: row;
    /* Image aur content side-by-side */
    align-items: center;
    gap: 40px;
    /* Text aur Image ke darmiyan exact 40px ka clear gap */
    width: 100%;
    min-height: 380px;
    border-radius: 50px;
    padding: 40px 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.22, 1),
        background-color 0.4s ease,
        box-shadow 0.4s ease;

    /* Premium Background Wave Pattern */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='420' viewBox='0 0 1000 420'%3E%3Cpath d='M-100,100 C150,150 200,50 450,120 C700,190 750,80 1100,150 M-100,220 C150,270 200,170 450,240 C700,310 750,200 1100,270' stroke='rgba(255,255,255,0.07)' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

/* Hover State: Turns Orange smoothly */
.service-grid-card:hover {
    background-color: #F99E31 !important;
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(249, 158, 49, 0.25);
}

/* ==========================================================================
   3. LEFT SIDE IMAGE FRAME (FIXED & LOCKED TO PREVENT OVERLAP)
   ========================================================================== */
.grid-card-image-wrap {
    width: 400px;
    /* Premium wide layout ratio */
    height: 310px;
    /* Proper height to display full faces clearly */
    flex-shrink: 0;
    /* Strict rule: Image frame text ki wajah se chota ya squeeze nahi hoga */
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    /* Fixed layer structure to destroy absolute overlays */
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.grid-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    /* Focus on faces so they never cut */
    transition: transform 0.5s ease;
}

.service-grid-card:hover .grid-card-img {
    transform: scale(1.03);
}

/* ==========================================================================
   4. RIGHT CONTENT AREA (TAKES REMAINING AUTO-FLEX SPACE)
   ========================================================================== */
.grid-card-content {
    flex: 1;
    /* Automatically utilizes all remaining horizontal safe space */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-card-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff !important;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* Strict 3-Line Text Guard */
.grid-card-excerpt {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   5. PREMIUM LIQUID DESIGN BUTTON SYSTEM
   ========================================================================== */
.grid-card-btn {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 35px;
    padding: 8px 8px 8px 25px;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    background: transparent;
    align-self: flex-start;
    z-index: 1;
    transition: border-color 0.4s ease;
}

.grid-card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 35px;
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.grid-btn-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    margin-right: 20px;
    transition: color 0.4s ease;
}

.grid-btn-arrow {
    background-color: #F99E31;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.4s ease;
}

/* State management triggers */
.service-grid-card:hover .grid-card-btn {
    border-color: #ffffff;
}

.service-grid-card:hover .grid-card-btn .grid-btn-arrow {
    background-color: #024387;
}

.grid-card-btn:hover::before {
    width: 100%;
}

.grid-card-btn:hover .grid-btn-text {
    color: #024387;
}

.service-grid-card:hover .grid-card-btn:hover .grid-btn-text {
    color: #F99E31;
}

.grid-card-btn:hover .grid-btn-arrow {
    transform: rotate(360deg);
    background-color: #024387 !important;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 991px) {
    .service-grid-card {
        padding: 35px;
        min-height: auto;
        gap: 30px;
    }

    .grid-card-title {
        font-size: 1.9rem;
    }

    .grid-card-image-wrap {
        width: 300px;
        height: 260px;
    }
}

@media (max-width: 767px) {
    .service-grid-card {
        flex-direction: column;
        /* Mobile pr standard orientation: image upar, text niche */
        text-align: center;
        padding: 30px;
        border-radius: 35px;
        gap: 25px;
    }

    .grid-card-image-wrap {
        width: 100%;
        height: 240px;
    }

    .grid-card-btn {
        margin: 0 auto;
        /* Button centered on mobile screens */
    }
}

/* ==========================================================================
   WOODMART CONTAINER NATIVE SERVICES LAYOUT
   ========================================================================== */
.woodmart-simple-service-layout {
    padding: 30px 0;
    /* Box, background aur shadow hata kar page k native text space pr shift kiya */
    margin: 0 auto;
}

/* Page Title Integration */
.service-woodmart-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #024387 !important;
    /* Theme blue standard accent */
    margin: 0 0 15px 0;
}

.service-woodmart-separator {
    width: 60px;
    height: 4px;
    background-color: #F99E31;
    /* Accent orange separator line */
    border-radius: 4px;
    margin-bottom: 35px;
}

/* Core Content Paragraphs */
.service-woodmart-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333333;
    /* Dark gray clean visibility color */
}

.service-woodmart-content p {
    margin-bottom: 25px !important;
}

/* WoodMart Custom Inline Back Button Style */
.service-woodmart-footer {
    margin-top: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 25px;
}

.service-woodmart-back-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    gap: 10px;
    transition: transform 0.3s ease;
}

.woodmart-back-arrow {
    color: #F99E31;
    font-size: 1.3rem;
    font-weight: bold;
}

.woodmart-back-text {
    color: #024387;
    font-weight: 600;
    font-size: 1rem;
}

.service-woodmart-back-btn:hover {
    transform: translateX(-5px);
    /* Simple subtle hover flow interaction */
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .service-woodmart-title {
        font-size: 2.1rem;
    }

    .woodmart-simple-service-layout {
        padding: 15px 0;
    }
}

.single main#main-content {
    margin: 0;
    padding: 0 !important;
    width: 100%;
    max-width: 100%;
}

#gform_1 input {
    border: 1px solid #00000026;
    border-radius: 50px;
    box-shadow: none;
}


#gform_1 textarea {    border: 1px solid #00000026;
    border-radius: 20px;
    box-shadow: none;
    transition:0.5s;
}

#gform_1 textarea:active,
#gform_1 textarea:focus,
#gform_1 textarea:hover,
#gform_1 input:active,
#gform_1 input:focus,
#gform_1 input:hover
{
     border: 1px solid #011d35;
    transition:0.5s;
    outline: none;
    box-shadow: none;
}

input#gform_submit_button_1 {border-radius: 150px;padding: 20px 45px;font-size: 20px;font-family: 'Marcellus' , sans-serif;background: #024387;transition: 0.5s;}

input#gform_submit_button_1:hover {
    transition: 0.5s;
    background: #f99e31;
}

.page-id-163 .testimonial-intro {
    display: none;
}

.page-id-194 article .vc_row {
    border-bottom: 1px solid #e3e1e1;
    transition: 0.5s;
    padding-left: 50px !important;
}

.page-id-194 article .vc_row:hover {
    transition: 0.5s;
    background: #f99e311c;
}

.wpb_single_image figure img, 
#main-content .entry-content img, 
.wd-timeline-item .timeline-col img, 
#main-content  .entry-content .wpb_wrapper img {
    border-radius: 15px !important;
    overflow: hidden;
}