.text-justify {
    text-align: justify;
}

.key-about {
    background-color: #740a74;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    max-width: 300px;
    transition: transform 0.3s;
    /* border: 1px solid #188d40; */
}

.key-about:hover {
    transform: translateY(-5px);
}

.key-about h3 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 15px;
    border-bottom: 2px solid #d78220;
    padding-bottom: 5px;
}

.key-about p {
    color: #ffffff;
}

.key-links {
    background-color: #740a74;
    /* soft background */
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    max-width: 300px;
    transition: transform 0.3s;
    /* border: 1px solid #188d40; */
}

.key-links:hover {
    transform: translateY(-5px);
}

.key-links h3 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 15px;
    border-bottom: 2px solid #d78220;
    padding-bottom: 5px;
}

.key-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-links ul li {
    margin: 0px 0;
}

.key-links ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 8px 12px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.key-links ul li a:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateX(5px);
    border-left: 5px solid #d78220;
}

.key-contact {
    background-color: #740a74;
    /* soft background */
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    max-width: 300px;
    transition: transform 0.3s;
    /* border: 1px solid #188d40; */
}

.key-contact:hover {
    transform: translateY(-5px);
}

.key-contact h3 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 15px;
    border-bottom: 2px solid #d78220;
    padding-bottom: 5px;
}

.key-contact p a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.key-baner-div {
    width: 100%;
    height: 340px;
    margin-bottom: 30px;
}

.key-baner-div img {
    width: 100%;
    height: 340px;
    /* margin-bottom: 30px; */
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.key-main h1 {
    color: #d78220;
    font-size: 38px;
}






/* Testimonial Section Styles */
/* .testimonial-section {
  background: #f9f5f0;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Arial', sans-serif;
} */

.testimonial-rating {
    text-align: center;
    margin: 10px 0;
}

.testimonial-rating i {
    font-size: 18px;
    color: #ccc;
    margin: 0 2px;
    color: #f4c150;
    /* gold */
}


.advantages {
    position: relative;
    /* background: url(../images/Keyword-img/testimonial.jpeg) no-repeat center; */
    min-height: 350px;
    background-size: cover;
    overflow: hidden;
}

.advantages::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 63%);
    /* light black layer */
    z-index: 1;
}

/* If you have content inside */
.advantages>* {
    position: relative;
    z-index: 2;
}


.section-title {
    font-size: 45px;
    color: #ffffff !important;
    margin-bottom: 40px;
    font-weight: 600;
}

.testimonial-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    /* display: none; */
    flex-direction: column;
    align-items: center;
    transition: opacity 0.5s ease;
}

.testimonial.active {
    display: flex;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    background-color: #ffffff;
    margin-top: 20px;
}

.testimonial-text {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 15px;
    font-style: italic;
    text-align: center;
}

.testimonial-name {
    font-weight: bold;
    color: #ffffff;
}

.test-para {
    color: #ffffff;
    font-size: 15px;
}

.testimonial-nav {
    position: absolute;
    top: 25%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.testimonial-nav span {
    font-size: 30px;
    cursor: pointer;
    color: #ffffff;
    padding: 10px;
    transition: 0.3s;
}

.testimonial-nav span:hover {
    color: #ffffff;
}




/* FAQ Section */
.faq-section {
    background: #FDF5EB;
    padding: 30px;
}

/* FAQ Item */
.faq-item {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Question */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 26px;
    /* Reduced height */
    font-size: 1rem;
    /* Slightly smaller font */
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #222;
}

/* Icon */
.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 26px;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    padding-bottom: 16px;
}

/* Active State */
.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    /* arrow points up when open */
}




.text-p {
    color: #000 !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 15px;
}



/* Why choose section */
.card-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1200px;
    padding: 20px;
}

.feature-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 15px;
    background-color: #740a74;
    padding: 15px;
    border-radius: 50%;
    height: 65px;
    width: 65px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #100110;
}

.feature-description {
    font-size: 14px;
    color: #1d1d1d;
}

/* Optional: Button for interactive demo */
.toggle-btn {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    background-color: #4CAF50;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.toggle-btn:hover {
    background-color: #45a049;
}


.product {
    list-style: none;
    padding-left: 0rem;
}

.product li i {
    margin-right: 5px;
    color: #740a74;
}




/* Table css  */
.mattress-comparison {
    background: #f8f9fa;
}

.table-responsive {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.comparison-table thead {
    background: linear-gradient(135deg, #740a74, #f5821f);
    color: #fff;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 20px;
    text-align: center;
    font-size: 16px;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #333;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: 0.3s ease;
}

.comparison-table tbody tr:hover {
    background-color: #f1f7ff;
}

.highlight {
    color: #198754;
    font-weight: 600;
}

.negative {
    color: #dc3545;
    font-weight: 500;
}

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

    .comparison-table th,
    .comparison-table td {
        padding: 14px;
        font-size: 14px;
    }
}

.color-f {
    color: #ffffff !important;
}








.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.section-heading p {
    font-size: 18px;
    color: #666;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.feature-cards {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); */
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    transition: 0.3s ease;
    /* height: 300px; */
}

.feature-cards:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.icon-m {
    font-size: 30px;
    color: #892889;
    margin-bottom: 15px;
}

.feature-cards h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #111;
}

.feature-cards p,
.feature-cards ul {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.feature-cards ul {
    /* list-style: none; */
    padding-left: 1rem !important;
}

.feature-cards ul li {
    margin-bottom: 8px;
}

.highlight-box {
    margin-top: 50px;
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #0d6efd, #0047ab);
    color: #fff;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}







.ofiice {
    border: 2px solid #892889;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    background: rgb(255, 255, 255);
}

.ofiice h6 {
    color: black;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}




/* Mobile responsive */
@media (max-width: 768px) {
    .key-about {
        max-width: 100%;
    }

    .key-links {
        max-width: 100%;
    }

    .key-contact {
        max-width: 100%;
    }

    .key-baner-div img {
        width: 100%;
        height: auto;
    }

    .key-baner-div {
        width: 100%;
        height: auto;
    }

    .commitment-box {
        padding-right: 8px;
    }

    .feature-cards {
        height: auto;
    }

    .dynamic-sec {
        display: grid !important;
    }

    .inter-link {
            width: 40.333333% !important;
    }

}


.who-should {
    background: #f1f1f1;
}

.advance {
    height: 205px !important;
}

.luxury {
    height: 230px !important;
}

.head-lines {
    list-style: none;
    padding-left: 0rem;
}

.head-lines li i {
    color: #f5821f;
    padding-right: 20px;
}


.dynamic-sec {
    display: flex;
}

.dynamic-sec h5 a {
    color: #000000;
}







.key-name {
    width: 100%;
    height: 20px;
    background-color: #ffffff;
    border: solid #db972f 2px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    /* justify-content: center; */
    border-radius: 20px;
}

.key-name p a {
    color: rgb(0, 0, 0);
    font-size: 9px;
    margin-top: 15px;
}

.inter-link {
    width: 15.333333% ;
}