* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
a {
    font-family: "Fira Sans", sans-serif;
}

body {
    background: #fff;
    color: #111;
}

.wp-block {
    max-width: 1920px !important;
}



/* Hero Section */
section.hero {
    min-height: 700px;
    padding: 150px 0;
    background-size: cover !important;
    background-position: bottom center !important;
    background-repeat: no-repeat !important;
    display: flex;
}

.hero-content {
    max-width: 830px;
    margin: auto auto 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    font-size: 60px;
    line-height: 1;
    color: #fff;
    text-align: center;
}

.hero-content p {
    font-size: 20px;
    color: #fff;
    text-align: center;
    font-weight: 400;
    margin-top: 24px;
    margin-bottom: 30px;
}

a.primary-cta {
    background: #ffcc00;
    padding: 15px 30px;
    border-radius: 40px;
    text-decoration: none;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    font-family: "Fira Sans", sans-serif;
    color: #000;
}

.ctaone {
    display: flex;
    gap: 15px;
}

.ctaone img {
    max-width: 24px !important;
}

/* brands */

section.top-brands {
    background: #000;
    padding: 10px 0;
}

section.top-brands img {
    max-width: 180px;
    max-height: 40px;
    object-fit: contain;
    filter: grayscale(1);
    transition: all ease 300ms;
}

section.top-brands img:hover {
    filter: grayscale(0);
}

.tbrands {
    display: flex;

}

.brandlogo {
    width: calc(100% - 240px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.blanimation {
    display: flex;
    gap: 50px;
    animation: 120s linear 0s infinite normal none running scroll-left;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}


.tbrands span {
    color: #fff;
    font-size: 28px;
    font-family: "Fira Sans", sans-serif;
    display: inline-block;
    width: 240px;
    padding: 10px;
    text-transform: uppercase;
    font-weight: 700;
}



.why-choose {
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.tag {
    font-size: 14px;
    color: #666;
    letter-spacing: 1px;
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 10px 0 10px;
}

section.why-choose .btn {
    margin: 0;
}

.title-row h2,
.offer-header h2 {
    font-size: 42px;
    margin-top: 0;
    font-weight: 500;
    letter-spacing: -2%;
}

.btn {
    background: #ffc400;
    padding: 12px 22px;
    border-radius: 30px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    margin-top: 0px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    background: #fafafa;
    transition: 0.3s;
}

.card h3 {
    margin: 15px 0 10px;
    font-size: 22px;
}

.card p {
    font-size: 16px;
    color: #333333;
    line-height: 1.5;
    letter-spacing: -2%;
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* background: #ddd; */
    /* placeholder icon */
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background: #ffcc00;
}

/* Icon animation */
section.why-choose img {
    position: absolute;
}

img.ihover {
    opacity: 0;
}

.card:hover img.ihover {
    opacity: 1;
}

.card .icon {
    transition: background 0.3s ease, transform 0.3s ease;
    position: relative;
}

.card:hover .icon {
    /* background: #ffc400; */
    transform: scale(1.1);
}

/* Text color tweak on hover */
.card:hover h3 {
    color: #000;
}

.card:hover p {
    color: #333;
}

/* Keep active card highlighted */
.card.active:hover {
    background: #ffc400;
    transform: translateY(-8px);
}


/* Responsive */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .title-row h2 {
        font-size: 24px;
    }
}


/* offer section */


.offer-section {
    padding: 70px 20px;
    background: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.tag {
    font-size: 14px;
    color: #666;
    letter-spacing: 1px;
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.offer-card a {
    margin-top: 0;
    margin-bottom: 10px;
}


.btn-outline {
    background: #ffc400;
    color: #000;
    padding: 12px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.offer-card {
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.img-box {
    overflow: hidden;
    border-radius: 14px;
}

.img-box img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
    height: 260px;
    object-fit: cover;
}

.offer-card:hover img {
    transform: scale(1.08);
}

.offer-card h3 {
    margin: 16px 0 8px;
    font-size: 22px;
}

.offer-card p {
    font-size: 16px;
    color: #333333;
    line-height: 1.5;
    letter-spacing: -2%;
}

.offer-card a:hover {
    background: #ffcc00;
    color: #000;
}

.btn-sm {
    display: inline-block;
    margin-top: 12px;
    background: #fff;
    color: #efbe1c;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid #ffc400;
}

.cta {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.btn-lg {
    background: #ffc400;
    color: #000;
    padding: 14px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 1024px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .offer-grid {
        grid-template-columns: 1fr;
    }

    .offer-header h2 {
        font-size: 24px;
    }
}


.container {
    max-width: 1340px;
    margin: auto;
    padding: 0 20px;
}

.tag {
    font-size: 14px;
    color: #777;
}

.tag.light {
    color: #aaa;
}

h2 {
    font-size: 32px;
    margin: 10px 0 30px;
}

.btn {
    background: #ffc400;
    padding: 12px 22px;
    border-radius: 30px;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.btn.small {
    padding: 8px 16px;
}

.btn.large {
    padding: 14px 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* GALLERY */
.gallery-section {
    padding: 0;
    background: #ffffff
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 0px;
    transition: transform .4s, box-shadow .4s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

.cta-center {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* DARK CARDS */
.dark-cards {
    background: #000;
    padding: 60px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

section.dark-cards {
    max-width: 1300px;
    margin: 30px auto 100px;
    border-radius: 16px;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    padding: 0;
}

section.dark-cards:before {
    content: '';
    width: 100%;
    height: 100%;
    background: #000000e8;
    border-radius: 16px;
    position: absolute;
    top: 0;
}

.container.cards-grid {
    position: relative;
    z-index: 1;
    padding: 40px;
}

.dark-card {
    background: rgb(255 255 255 / 8%);
    padding: 40px;
    border-radius: 16px;
    color: #fff;
    transition: transform .3s, box-shadow .3s;
    border: 1px solid #ffffff21;
}

.dark-card:hover {
    transform: translateY(-8px);
    /* box-shadow: 0 15px 40px rgba(255, 196, 0, .25); */
}

.dark-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
    width: 80px;
    height: 80px;
}

.dark-card h3 {
    font-size: 40px;
    line-height: 1.2;
}

.dark-card p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 16px;
    margin-top: 7px;
}

/* TESTIMONIAL */
.testim {
    width: 100%;

}

.testim .wrap {
    position: relative;
    width: 100%;
    max-width: 1020px;
    padding: 40px 20px;
    margin: auto;
}

.testim .arrow {
    display: block;
    position: absolute;
    color: #eee;
    cursor: pointer;
    font-size: 2em;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    padding: 5px;
    z-index: 22222222;
}

.testim .arrow:before {
    cursor: pointer;
}

.testim .arrow:hover {
    color: #ea830e;
}


.testim .arrow.left {
    left: 10px;
}

.testim .arrow.right {
    right: 10px;
}

.testim .dots {
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 60px;
    left: 0;
    display: block;
    z-index: 3333;
    height: 12px;
}

.testim .dots .dot {
    list-style-type: none;
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #eee;
    margin: 0 10px;
    cursor: pointer;
    -webkit-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    position: relative;
}

.testim .dots .dot.active,
.testim .dots .dot:hover {
    background: #ea830e;
    border-color: #ea830e;
}

.testim .dots .dot.active {
    -webkit-animation: testim-scale .5s ease-in-out forwards;
    -moz-animation: testim-scale .5s ease-in-out forwards;
    -ms-animation: testim-scale .5s ease-in-out forwards;
    -o-animation: testim-scale .5s ease-in-out forwards;
    animation: testim-scale .5s ease-in-out forwards;
}

.testim .cont {
    position: relative;
    overflow: hidden;
}

.testim .cont>div {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 0 70px 0;
    opacity: 0;
}

.testim .cont>div.inactive {
    opacity: 1;
}


.testim .cont>div.active {
    position: relative;
    opacity: 1;
}


.testim .cont div .img img {
    display: block;
    width: 100px;
    height: 100px;
    margin: auto;
    border-radius: 50%;
}

.testim .cont div h2 {
    color: #ffcc00;
    font-size: 24px;
    margin: 15px 0;
}

.testim .cont div p {
    font-size: 1.15em;
    color: #eee;
    width: 80%;
    margin: auto;
}

.testim .cont div.active .img img {
    -webkit-animation: testim-show .5s ease-in-out forwards;
    -moz-animation: testim-show .5s ease-in-out forwards;
    -ms-animation: testim-show .5s ease-in-out forwards;
    -o-animation: testim-show .5s ease-in-out forwards;
    animation: testim-show .5s ease-in-out forwards;
}

.testim .cont div.active h2 {
    -webkit-animation: testim-content-in .4s ease-in-out forwards;
    -moz-animation: testim-content-in .4s ease-in-out forwards;
    -ms-animation: testim-content-in .4s ease-in-out forwards;
    -o-animation: testim-content-in .4s ease-in-out forwards;
    animation: testim-content-in .4s ease-in-out forwards;
}

.testim .cont div.active p {
    -webkit-animation: testim-content-in .5s ease-in-out forwards;
    -moz-animation: testim-content-in .5s ease-in-out forwards;
    -ms-animation: testim-content-in .5s ease-in-out forwards;
    -o-animation: testim-content-in .5s ease-in-out forwards;
    animation: testim-content-in .5s ease-in-out forwards;
}

.testim .cont div.inactive .img img {
    -webkit-animation: testim-hide .5s ease-in-out forwards;
    -moz-animation: testim-hide .5s ease-in-out forwards;
    -ms-animation: testim-hide .5s ease-in-out forwards;
    -o-animation: testim-hide .5s ease-in-out forwards;
    animation: testim-hide .5s ease-in-out forwards;
}

.testim .cont div.inactive h2 {
    -webkit-animation: testim-content-out .4s ease-in-out forwards;
    -moz-animation: testim-content-out .4s ease-in-out forwards;
    -ms-animation: testim-content-out .4s ease-in-out forwards;
    -o-animation: testim-content-out .4s ease-in-out forwards;
    animation: testim-content-out .4s ease-in-out forwards;
}

.testim .cont div.inactive p {
    -webkit-animation: testim-content-out .5s ease-in-out forwards;
    -moz-animation: testim-content-out .5s ease-in-out forwards;
    -ms-animation: testim-content-out .5s ease-in-out forwards;
    -o-animation: testim-content-out .5s ease-in-out forwards;
    animation: testim-content-out .5s ease-in-out forwards;
}

@-webkit-keyframes testim-scale {
    0% {
        -webkit-box-shadow: 0px 0px 0px 0px #eee;
        box-shadow: 0px 0px 0px 0px #eee;
    }

    35% {
        -webkit-box-shadow: 0px 0px 10px 5px #eee;
        box-shadow: 0px 0px 10px 5px #eee;
    }

    70% {
        -webkit-box-shadow: 0px 0px 10px 5px #ea830e;
        box-shadow: 0px 0px 10px 5px #ea830e;
    }

    100% {
        -webkit-box-shadow: 0px 0px 0px 0px #ea830e;
        box-shadow: 0px 0px 0px 0px #ea830e;
    }
}

@-moz-keyframes testim-scale {
    0% {
        -moz-box-shadow: 0px 0px 0px 0px #eee;
        box-shadow: 0px 0px 0px 0px #eee;
    }

    35% {
        -moz-box-shadow: 0px 0px 10px 5px #eee;
        box-shadow: 0px 0px 10px 5px #eee;
    }

    70% {
        -moz-box-shadow: 0px 0px 10px 5px #ea830e;
        box-shadow: 0px 0px 10px 5px #ea830e;
    }

    100% {
        -moz-box-shadow: 0px 0px 0px 0px #ea830e;
        box-shadow: 0px 0px 0px 0px #ea830e;
    }
}

@-ms-keyframes testim-scale {
    0% {
        -ms-box-shadow: 0px 0px 0px 0px #eee;
        box-shadow: 0px 0px 0px 0px #eee;
    }

    35% {
        -ms-box-shadow: 0px 0px 10px 5px #eee;
        box-shadow: 0px 0px 10px 5px #eee;
    }

    70% {
        -ms-box-shadow: 0px 0px 10px 5px #ea830e;
        box-shadow: 0px 0px 10px 5px #ea830e;
    }

    100% {
        -ms-box-shadow: 0px 0px 0px 0px #ea830e;
        box-shadow: 0px 0px 0px 0px #ea830e;
    }
}

@-o-keyframes testim-scale {
    0% {
        -o-box-shadow: 0px 0px 0px 0px #eee;
        box-shadow: 0px 0px 0px 0px #eee;
    }

    35% {
        -o-box-shadow: 0px 0px 10px 5px #eee;
        box-shadow: 0px 0px 10px 5px #eee;
    }

    70% {
        -o-box-shadow: 0px 0px 10px 5px #ea830e;
        box-shadow: 0px 0px 10px 5px #ea830e;
    }

    100% {
        -o-box-shadow: 0px 0px 0px 0px #ea830e;
        box-shadow: 0px 0px 0px 0px #ea830e;
    }
}

@keyframes testim-scale {
    0% {
        box-shadow: 0px 0px 0px 0px #eee;
    }

    35% {
        box-shadow: 0px 0px 10px 5px #eee;
    }

    70% {
        box-shadow: 0px 0px 10px 5px #ea830e;
    }

    100% {
        box-shadow: 0px 0px 0px 0px #ea830e;
    }
}

@-webkit-keyframes testim-content-in {
    from {
        opacity: 0;
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-moz-keyframes testim-content-in {
    from {
        opacity: 0;
        -moz-transform: translateY(100%);
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        -moz-transform: translateY(0);
        transform: translateY(0);
    }
}

@-ms-keyframes testim-content-in {
    from {
        opacity: 0;
        -ms-transform: translateY(100%);
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

@-o-keyframes testim-content-in {
    from {
        opacity: 0;
        -o-transform: translateY(100%);
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes testim-content-in {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@-webkit-keyframes testim-content-out {
    from {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    to {
        opacity: 0;
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

@-moz-keyframes testim-content-out {
    from {
        opacity: 1;
        -moz-transform: translateY(0);
        transform: translateY(0);
    }

    to {
        opacity: 0;
        -moz-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

@-ms-keyframes testim-content-out {
    from {
        opacity: 1;
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    to {
        opacity: 0;
        -ms-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

@-o-keyframes testim-content-out {
    from {
        opacity: 1;
        -o-transform: translateY(0);
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

@keyframes testim-content-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@-webkit-keyframes testim-show {
    from {
        opacity: 0;
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    to {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes testim-show {
    from {
        opacity: 0;
        -moz-transform: scale(0);
        transform: scale(0);
    }

    to {
        opacity: 1;
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

@-ms-keyframes testim-show {
    from {
        opacity: 0;
        -ms-transform: scale(0);
        transform: scale(0);
    }

    to {
        opacity: 1;
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

@-o-keyframes testim-show {
    from {
        opacity: 0;
        -o-transform: scale(0);
        transform: scale(0);
    }

    to {
        opacity: 1;
        -o-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes testim-show {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@-webkit-keyframes testim-hide {
    from {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    to {
        opacity: 0;
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}

@-moz-keyframes testim-hide {
    from {
        opacity: 1;
        -moz-transform: scale(1);
        transform: scale(1);
    }

    to {
        opacity: 0;
        -moz-transform: scale(0);
        transform: scale(0);
    }
}

@-ms-keyframes testim-hide {
    from {
        opacity: 1;
        -ms-transform: scale(1);
        transform: scale(1);
    }

    to {
        opacity: 0;
        -ms-transform: scale(0);
        transform: scale(0);
    }
}

@-o-keyframes testim-hide {
    from {
        opacity: 1;
        -o-transform: scale(1);
        transform: scale(1);
    }

    to {
        opacity: 0;
        -o-transform: scale(0);
        transform: scale(0);
    }
}

@keyframes testim-hide {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0);
    }
}

@media all and (max-width: 300px) {
    body {
        font-size: 14px;
    }
}

@media all and (max-width: 500px) {
    .testim .arrow {
        font-size: 1.5em;
    }

    .testim .cont div p {
        line-height: 25px;
    }

}

section.testimonial-section {
    background: #000;
    padding: 100px 20px 60px;
    position: relative;
}

section.testimonial-section:after {
    content: "";
    width: 100%;
    height: 100%;
    background: url("https://mayflowercabinets.com/springhomedesign/wp-content/themes/Spring%20Home/assets/img/dot1.png");
    position: absolute;
    top: 0;
    opacity: 0.10;
    left: 0;
}

section.testimonial-section .container {
    position: relative;
    z-index: 1;
}

section.testimonial-section h2 {
    color: #fff;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
}

span.tag.light {
    color: #fff;
    text-align: center;
    margin: 0 auto;
    display: block;
}

.top-brands {
    display: flex;
    gap: 30px;
    justify-content: center;
    padding: 10px 0 0 0;
    flex-wrap: wrap;
}

.top-brands img {
    width: 100%;
    max-width: 200px;
    height: 60px;
    object-fit: contain;
}

.tbrandss {
    margin-top: 0;
    margin-bottom: 100px;
}

section.gallery-section h2 {
    font-size: 42px;
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: -2%;
}

section.blogs h2 {
    font-size: 42px;
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: -2%;
    text-align: center;
}

.blogs span.tag.light {
    font-size: 14px;
    color: #777 !important;
}

section.blogs {
    padding: 80px 0;
}

.section-hading {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-hading .title-row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 800px;
}

.section-hading .title-row p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 16px;
    margin-top: 0;
    letter-spacing: -0.5px;
    text-align: center;
}

.section-hading h2 {
    margin-bottom: 16px;
}

section.about-kcabinet {
    padding: 90px 0;
}



/* Cabinet collection */

.cabinet-collection .cabinet-card {
    flex: 1 1 400px;
    /* Responsive basis */
    max-width: 420px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cabinet-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin-bottom: 20px;
}

.cabinet-collection .card-title {
    color: var(--primary-orange);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0px 0 10px;
    font-family: "Fira Sans", sans-serif;
}

.cabinet-collection .card-description {
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 20px;
    min-height: 80px;
    /* Keeps buttons aligned */
}

.cabinet-collection .btn {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cabinet-collection .btn:hover {
    background-color: #cfa500;
    color: #ffffff;
}

.cabinet-collection {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

@media (max-width: 768px) {
    .cabinet-collection {
        gap: 50px;
    }
}


img {
    max-width: 100% !important;
}

/* blogs */

.blogs .tag {
    display: inline-block;
    font-weight: bold;
    color: #FF6B6B;
    margin-bottom: 10px;
}

.blogs h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}



.blog-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}



.blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}



.blog-card .blog-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: scale 0.3s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}



.blog-content {
    padding: 15px 20px;
}



.blog-meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 8px;
}

.blog-meta span+span::before {
    content: "•";
    margin: 0 5px;
}



.blog-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.blog-title a {
    text-decoration: none;
    color: inherit;
}

.blog-title a:hover {
    color: #FF6B6B;
}



@media (max-width: 768px) {
    .blogs h2 {
        font-size: 1.5rem;
    }
}

.blogs .tag {
    display: inline-block;
    font-weight: bold;
    color: #FF6B6B;
    margin-bottom: 10px;
}

.blogs h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image wrapper */
a.blog-image {
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

/* Image */
.blog-card .blog-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Hover effect */
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

/* Blog Content */
.blog-content {
    padding: 10px 0;
}

/* Blog Meta */
.blog-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 8px;
}

.blog-meta span+span::before {
    content: "•";
    margin: 0 5px;
}

/* Blog Title */
.blog-title {
    font-size: 24px;
    font-weight: 500;
    margin-top: 16px;
    letter-spacing: -0.5px;
    text-transform: none;
}

.blog-title a {
    text-decoration: none;
    color: #333;
}

.blog-title a:hover {
    color: #FF6B6B;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-card .blog-image img {
        height: 200px;
    }

    .blogs h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-card .blog-image img {
        height: 180px;
    }
}




.booking-architecture-section {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #F9F7F2;
    color: #333;
}

.booking-architecture-section * {
    box-sizing: border-box;
}

.booking-architecture-section .main-container {
    display: flex;
    min-height: 100vh;
    flex-wrap: wrap;
}

/* Left Side - Form Section */
.booking-architecture-section .form-section {
    flex: 1;
    min-width: 350px;
    padding: 80px 10%;
    background-color: #FDFAF5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.booking-architecture-section .form-section::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
    pointer-events: none;
}

.booking-architecture-section .form-header {
    margin-bottom: 30px;
}

.booking-architecture-section .form-header span {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    color: #666;
    font-weight: 600;
    display: block;
}

.booking-architecture-section .form-header h2 {
    font-size: 36px;
    color: #222;
    margin-top: 5px;
}

.booking-architecture-section .booking-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    z-index: 1;
}

.booking-architecture-section .booking-form input,
.booking-architecture-section .booking-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    background-color: #FDFAF5;
    font-size: 14px;
    outline: none;
    transition: border 0.3s;
}

.booking-architecture-section .booking-form input:focus,
.booking-architecture-section .booking-form textarea:focus {
    border-color: #222;
}

.booking-architecture-section .booking-form textarea {
    grid-column: span 2;
    height: 150px;
    resize: none;
}

.booking-architecture-section .submit-btn {
    grid-column: span 2;
    background-color: #222;
    color: #fff;
    padding: 18px;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
}

.booking-architecture-section .submit-btn:hover {
    background-color: #444;
}

/* Right Side - Info Section */
.booking-architecture-section .info-section {
    flex: 1;
    min-width: 350px;
    padding: 80px 8%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-architecture-section .info-section span {
    text-transform: uppercase;
    color: #bbb;
    letter-spacing: 1.5px;
    font-size: 13px;
}

.booking-architecture-section .info-section h2 {
    font-size: 42px;
    margin: 15px 0 25px;
    font-weight: 700;
    color: #fff;
}

.booking-architecture-section .info-section p {
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 20px;
    font-size: 15px;
    max-width: 500px;
}

.booking-architecture-section .contact-info {
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.booking-architecture-section .phone-icon {
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 20px;
}

.booking-architecture-section .contact-text span {
    display: block;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.booking-architecture-section .contact-text h3 {
    font-size: 24px;
    letter-spacing: 1px;
    margin: 0;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .booking-architecture-section .booking-form {
        grid-template-columns: 1fr;
    }

    .booking-architecture-section .booking-form textarea,
    .booking-architecture-section .submit-btn {
        grid-column: span 1;
    }

    .booking-architecture-section .info-section h2 {
        font-size: 32px;
    }
}


.form-section {
    background-color: #FCFBF9;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.form-section .form-header {
    text-align: left;
    margin-bottom: 30px;
}

.form-section .form-header span {
    color: #888;
    font-size: 14px;
    letter-spacing: 2px;
}

.form-section .form-header h2 {
    margin: 5px 0;
    font-size: 32px;
    color: #222;
}



.form-section .wpcf7-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}



.form-section .wpcf7-form p {
    width: 49%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}



.form-section .wpcf7-form p:nth-last-child(2),
.form-section .wpcf7-form p:last-child {
    width: 100%;
}



.form-section .wpcf7-form-control.wpcf7-text,
.form-section .wpcf7-form-control.wpcf7-textarea {
    width: 100% !important;
    padding: 18px 20px !important;
    border: 1px solid #ECECEC !important;
    background-color: #F9F9F9 !important;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
    outline: none;
    transition: border 0.3s ease;
}

.form-section .wpcf7-form-control:focus {
    border-color: #ccc !important;
}

/* Labels styling */
.form-section .wpcf7-form label {
    font-size: 15px;
    color: #666;
    margin-bottom: 8px;
}



.form-section .wpcf7-form-control.wpcf7-textarea {
    height: 150px;
    resize: vertical;
}



.form-section .wpcf7-submit {
    width: 100% !important;
    background-color: #1F1F1F !important;
    color: #FFFFFF !important;
    padding: 20px !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.form-section .wpcf7-submit:hover {
    background-color: #000 !important;
}

@media (max-width: 768px) {
    .form-section .wpcf7-form p {
        width: 100%;
    }
}



.kc-overview-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.kc-overview-left {
    width: 50%;
    background: #f5f6f7;
    display: flex;
}

.kc-overview-right {
    width: calc(50% - 30px);
    padding-left: 30px;
}

.kc-overview-right h2 {
    margin: 0 0 10px 0;
}

.kc-overview-right p {
    font-size: 18px;
    line-height: 1.5;
    color: #444;
}

.kc-overview-right ul {
    list-style: none;
    padding: 0 0 0 5px;
    font-size: 18px;
}

.kc-overview-right ul span {
    font-size: 24px;
}

.kc-overview-right ul li {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.kc-overview-right h3 {
    font-size: 18px;
    margin-top: 30px;
}

section.kc-overview {
    background: #f5f6f7;
    padding: 100px 0 50px;
}

.cupgrade {
    background: #000;
    color: #fff;
    padding: 30px;
    text-align: center;
    position: relative;
    margin: 50px 0;
}

.cupgrade a {
    background: #ffcc00;
    display: inline-block;
    padding: 14px 25px;
    border: 1px solid var(--primary-orange);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border-radius: 30px;
}

.cupgrade p {
    font-size: 18px;
    max-width: 740px;
    margin: 0 auto;
    line-height: 1.5;
    margin-bottom: 25px;
    z-index: 1;
    position: relative;
}

.cupgrade h2 {
    margin: 0 0 15px 0;
    font-size: 40px;
    z-index: 1;
    position: relative;
}

.cupgrade:after {
    content: '';
    width: 100%;
    height: 100%;
    background: url(https://mayflowercabinets.com/springhomedesign/wp-content/themes/Spring%20Home/assets/img/dot1.png);
    position: absolute;
    top: 0;
    opacity: 0.10;
    left: 0;
}

.kc-overview-content.kcr {
    flex-direction: row-reverse;
}

.kc-overview-content.kcr .kc-overview-right {
    padding-left: 0;
    padding-right: 30px;
}

p:has([data-name="your-message"]) {
    width: 100%;
}

.blog-title a:hover {
    color: #111111;
}


@media screen and (max-width: 767px) {
    .cards-grid {
        grid-template-columns: repeat(1, 1fr);

    }

}


@media screen and (max-width: 575px) {
    .top-brands {
        flex-direction: column;
    }

    a.primary-cta {
        font-size: 16px;
    }

    header {
        padding: 0 !important;
        height: auto !important;
    }

    .top-brands img {
        height: 40px;
    }

    .why-choose,
    .offer-section {
        padding: 60px 0px;
    }

    .dark-card {
        padding: 20px;
    }

    .dark-card h3 {
        font-size: 28px;
        line-height: 1.2;
    }

    section.testimonial-section h2,
    section.gallery-section h2 {
        font-size: 32px;
    }

    .tbrands span {
        font-size: 16px;
        width: 120px;
    }
}



/* Who we serve */
.audience-container {
    display: flex;
    gap: 60px;
}



.audience-box,
.audience-box {
    width: calc(50% - 30px);
}

.audience-box h3 {
    font-size: 32px;
    margin-top: 23px;
    letter-spacing: -0.5px;
}

.audience-box h4 {
    font-size: 20px;
    font-weight: 500;
    margin-top: 15px;
    letter-spacing: -0.5px;
    color: #333;
}

.audience-container ul {
    list-style: none;
    padding: 0 0 0 10px;
    font-size: 16px;
}

.audience-container ul span {
    font-size: 20px;
    margin: 0 10px 0 0;
}

.audience-container p {
    font-size: 16px;
    line-height: 26px;
    color: #666;
}

.audience-container ul li {
    margin-bottom: 5px;
}

.audience-container a {
    background: #ffcc00;
    padding: 12px 22px;
    border-radius: 30px;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 15px;
}

section.audience-split {
    padding: 90px 0 90px 0;
}

.bmsection {
    max-width: 1300px;
    margin: 0 auto 100px;
    border-radius: 10px;
}

section.testimonial-section.bmsection img {
    max-width: 200px !important;
    border: 1px solid #ffffff33;
    padding: 10px;
    border-radius: 4px;
}

/* how we work */

section.process-section h2 {
    color: #000 !important;
}

section.process-section span.tag.light {
    color: #000 !important;
}

section.process-section {
    padding: 100px 0 60px;
}

.process-step {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-direction: column;
    width: calc(25% - 15px);
    align-items: center;
    padding: 20px;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.step-icon {
    width: 100px;
    height: 100px;
    border-radius: 60px;
    background: #f5f5f5;
    padding: 25px;
}

.process-step p {
    text-align: center;
}

.process-step h4 {
    margin: 10px 0 0 0;
}

section.final-cta {
    max-width: 1300px;
    margin: 0 auto;
    border-radius: 10px;
    background: #000;
    padding: 80px 20px 80px;
    position: relative;
}

section.final-cta {}

section.final-cta:after {
    content: "";
    width: 100%;
    height: 100%;
    background: url(https://mayflowercabinets.com/springhomedesign/wp-content/themes/Spring%20Home/assets/img/dot1.png);
    position: absolute;
    top: 0;
    opacity: 0.10;
    left: 0;
}

section.final-cta .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section.final-cta h2 {
    color: #fff;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 15px;
    margin-top: 0;
}

section.final-cta p {
    color: #fff;
    font-size: 18px;
    max-width: 600px;
    text-align: center;
}

a.cta-btn.primary {
    background: #ffcc00;
    padding: 15px 30px;
    border-radius: 40px;
    text-decoration: none;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    font-family: "Fira Sans", sans-serif;
    color: #000;
}

a.cta-btn.secondary {
    background: #fff;
    padding: 15px 30px;
    border-radius: 40px;
    text-decoration: none;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    font-family: "Fira Sans", sans-serif;
    color: #000;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

section.testimonial-section.bmsection.pt {
    margin-top: 100px;
}

footer#footer img {
    max-width: 220px !important;
}

section.about-kcabinet.ptto {
    padding-bottom: 0;
}


.cabinet-collection.optwo .cabinet-card {
    max-width: calc(50% - 25px);
    flex: 1 1 50%;
}

li.menu-item.menu-item-type-custom.menu-item-object-custom a {
    padding: 10px !important;
}

li.menu-item.menu-item-type-custom.menu-item-object-custom {
    transition: all 0.3s ease;
}

li.menu-item.menu-item-type-custom.menu-item-object-custom:hover ul.sub-menu {
    display: block;
}

ul.sub-menu {
    flex-direction: column;
    position: absolute;
    background: #fff;
    top: 63px;
    padding: 15px;
    display: none;
}

.mna p {
    min-height: 0 !important;
}

ul.sub-menu a {
    display: flex;
}

.cabinet-card.othree {
    max-width: calc(33% - 20px) !important;
}