/* Standardized Typography */
:root {
    --primary-bg: #FFFFFF;
    --secondary-bg: #F9F9F9;
    --heading-color: #D87058;
    --subheading-color: #7C3626;
    --body-color: #2B3840;
    --cta-bg: #2B3840;
    --footer-bg: #4C5B61;
    --highlight-color: #F47D3A;
}

/* Headings */
h1, h2, h3 {
    color: var(--heading-color) ;
    font-family: "Helvetica", sans-serif ;
    font-weight: bold ;
}

h1 {
    font-size: 40px ;
    line-height: 1.4;
}

h2 {
    font-size: 36px ;
    line-height: 1.3 ;
}

h3 {
    font-size: 24px ;
    line-height: 1.2;
}

/* Body Text */
body, p {
    font-size: 18px;
    line-height: 1.6;
}

/* Container for Centering Content */
.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navbar Styling */
.banner {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

/* Scrolling Banner Styling */
.scrolling-banner {
    overflow: hidden;
    background-color: #000;
    color: #fff;
    white-space: nowrap;
    width: 100%;
    padding: 10px 0;
    position: relative;
}

.scrolling-banner p {
    display: inline-block;
    padding-left: 100%;
    /* Starts the text off-screen to the right */
    animation: scrollText 15s linear infinite;
    /* Adjust speed by changing '15s' */
    font-size: 16px;
    color: #fff;
    margin: 0;
}

/* Keyframes for scrolling effect */
@keyframes scrollText {
    from {
        transform: translateX(0);
        /* Start position */
    }

    to {
        transform: translateX(-100%);
        /* End position, scrolling off-screen to the left */
    }
}

.navbar {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease;
    margin-bottom: 0 !important;
}

.navbar a {
    color: #D87058;
}

.navbar a:hover {
    color: black;
}

.navbar-brand {
    padding: 0;
    margin-top: 15px;
}

.navbar-brand img {
    border-radius: 8px;
    width: 150px;
    height: auto;
}
.navbar-header {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    margin-right: 10px;
}

.brand-name {
    font-size: 16px;
    font-weight: bold;
    color: black;
    margin-left: -15px;
}

.navbar-links {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-grow: 1;
}

.navbar-links li {
    margin: 0 15px;
}

.navbar-links a {
    color: black;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.navbar-links a:hover {
    color: #d87058;
}

.navbar-icons {
    display: flex;
    gap: 15px;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    /* Ensures visibility */
    padding: 15px 0;
}

/* Dropdown menu styling
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
}

.dropdown-menu > li > a:hover {
    background-color: #D87058;
    color: #fff;
} */

.nav>li>a:hover{
    background-color: transparent;
}


.icon-button {
    background: transparent;
    border: none;
    color: black;
    cursor: pointer;
    font-size: 18px;
}

.icon-button:hover {
    color: #d87058;
}

/* Section Title Styling */
.section-title {
    background-color: #d87058;
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    margin-bottom: 30px;
}

.section-title h2 {
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

/* Basic styling for the button */
.add-to-cart-btn {
    display: none;
    /* Hide by default */
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d87058;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.add-to-cart-btn:hover {
    background-color: #b7573e;
    transform: scale(1.1) translateX(-50%);
}

.add-to-cart-btn:active {
    transform: scale(0.95) translateX(-50%);
}

@keyframes bounceIn {
    0% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
        opacity: 0.5;
    }

    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.chair-card:hover .add-to-cart-btn {
    display: block;
    opacity: 1;
    animation: bounceIn 0.5s ease forwards;
    transform: translateX(-50%) translateY(0);

}


/* Chair Card Styling */
.chair-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
    padding: 40px 20px;
    border-radius: 8px;

}

/* Chair Card Styling */
.chair-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    flex: 1 1 300px;
    /* Flex basis of 300px, so 3 cards fit in one row on larger screens */
    max-width: 300px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding-bottom: 30px;
}

.chair-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    padding-bottom: 60px;
}

/* Product Name Styling */
.chair-card h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}


.chair-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #e53935;
    color: white;
    padding: 5px;
    font-size: 1.6rem;
    border-radius: 5px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .chair-cards {
        flex-direction: column;
        align-items: center;
    }
}

/* Price and Rating Styling */
.chair-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
}

/* Price Styling */
.price {
    font-size: 1.5rem;
    color: #333;
    margin: 8px 0;
    font-weight: bold;
}

.price del {
    color: #888;
    font-size: 1.3rem;
}

.price span {
    font-size: 1.1rem;
    color: #d87058;
    font-weight: bold;
}

.rating {
    color: #ff9800;
    /* Gold color for the star */
    font-size: 2rem;
}

/* Comparison Table Styling */
.comparison-section {
    background-color: #f5f5f5;
    padding: 40px 20px;
    text-align: center;
}

.comparison-title {
    font-weight: bold;
    color: #d87058;
    margin-bottom: 20px;
}

.comparison-table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

.comparison-table th,
.comparison-table td {
    padding: 25px;
    text-align: center;
}

.comparison-table th {
    background-color: #f0f0f0;
    color: #333;
    font-weight: bold;
    font-size: 1.1rem;
}

.table-chair-img {
    width: 100px;
    /* Adjust size as necessary */
    height: auto;
    margin-bottom: 10px;
}

.comparison-table td {
    background-color: #ffffff;
}

.comparison-table tr:nth-child(even) td {
    background-color: #f9f9f9;
}

.color-options {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.color-circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
}

/* Certificates */
.certifications-section {
    padding: 40px 20px;
    text-align: center;
    max-width: 1200px;
    margin: auto;
}

.certifications-title {
    font-weight: bold;
    color: #d87058;
    margin-bottom: 20px;
}

/* Grid Layout for Certification Cards */
.certifications-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    /* 1 column by default */
}

@media (min-width: 768px) {
    .certifications-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 columns for medium and up */
    }
}

@media (min-width: 1200px) {
    .certifications-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        /* 4 columns for large screens */
    }
}

/* Certification Card Styling */
.certification-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.certification-image {
    width: 100%;
    max-width: 200px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.certification-card h3 {
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.certification-card p {
    font-size: 1.6rem;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

/* PDF Links Styling */
.pdf-links {
    margin-top: 10px;
    text-align: center;
}

.pdf-links a {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    color: #d87058;
    text-decoration: none;
    margin-bottom: 8px;
}

.pdf-links a img {
    width: 20px;
    margin-right: 8px;
}

.corporate-banner {
    position: relative;
    width: 100%;
    height: 400px;
    background-image: url('../images/corporate.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #333;
    margin: 30px auto;
}


.banner-content {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 5px;
}

.banner-content h1 {
    margin-bottom: 10px;
    color: #D87058;
    font-weight: bold;
}

.banner-content p {
    line-height: 1.5;
    margin-bottom: 20px;
    color: #7C3626;
}

.banner-button {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background-color: #D87058;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.banner-button:hover {
    background-color: #555;
}


.faq-section {
    display: block;
    /* Ensures it doesn't use flex or grid properties from container */
    width: 100%;
    padding: 20px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    color: #333;
    font-family: Arial, sans-serif;
    margin-bottom: 20px;
}

.faq-title {
    color: #d87058;
    /* Accent color */
    font-weight: bold;
    margin-bottom: 20px;
}


/* FAQ Item Styling */
.faq-item {
    display: block;
    /* Ensures each item stacks vertically */
    width: 100%;
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
    transition: background-color 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    padding: 10px 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    font-size: 1.2rem;
    color: #555;
    margin-top: 10px;
    padding: 0 10px;
}

.faq-answer.open {
    max-height: 300px;
    padding: 10px 10px;
}

/* Styling for active question */
.faq-question.active {
    color: #d87058;
}

/* Plus/Minus icon styling */
.faq-question span:last-child {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-question.active span:last-child {
    transform: rotate(180deg);
}

/* Footer Styling */
.footer {
    background-color: #4C5B61; /* Dark background color */
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    color: #ffffff; /* White text color */
}

.footer-content {
    display: flex; /* Flexbox layout */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: space-between; /* Equal space between columns */
    align-items: flex-start; /* Align items to the top */
    max-width: 1200px; /* Centered container width */
    margin: 0 auto;
    gap: 10px; /* Reduced gap between columns */
}

.footer-logo-section {
    flex: 1 1 300px;
    text-align: left;
    margin-bottom: 20px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 14px;
    margin-bottom: 20px;
    color: #ffffff;
    width: 90%;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-social-icons a {
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 30px;
}

.footer-social-icons a:hover {
    color: #d1d5d8; /* Lighter hover effect */
}

.footer-links {
    display: flex;
    flex-wrap: wrap; /* Ensure wrapping for smaller screens */
    gap: 20px; /* Reduced space between columns */
    text-align: left;
    flex: 3 1 auto; /* Adjust size based on available space */
}

.footer-column {
    flex: 1 1 150px; /* Equal size columns */
    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #d1d5d8;
}

/* Move Legal Section Up */
.footer .footer-column:last-child {
    align-self: flex-start; /* Align "Legal" with other columns */
}

/* Bottom Section */
.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
    color: #ffffff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack items vertically on small screens */
        text-align: center;
        gap: 20px; /* Adjust gap for smaller screens */
    }

    .footer-column {
        text-align: center; /* Center-align columns */
    }

    .footer-social-icons {
        justify-content: center; /* Center social icons */
    }
}

/* Cart section */
/* Overall Cart Styling */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Adjust opacity as needed */
    opacity: 0;
    /* Initially hidden */
    visibility: hidden;
    /* Initially hidden */
    transition: opacity 0.3s ease;
    z-index: 999;
    /* Make sure it's above other content */
}

.cart-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: white;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    padding: 20px;
    z-index: 1000;
    transition: right 0.3s ease;
    font-family: Arial, sans-serif;
}

.cart-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.cart-content {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    max-height: 60vh;
    overflow-y: auto;
}

/* Cart Item Styling */
.cart-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    background-color: #fafafa;
}

.cart-item-img {
    width: 80px;
    height: auto;
    margin-right: 15px;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.cart-item-color {
    color: #666;
    margin-bottom: 8px;
}

/* Quantity Styling */
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.quantity-btn:hover {
    background-color: #e0e0e0;
}

.quantity-input {
    width: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
}
.checkout-btn {
    background-color: #d87058;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
}

/* Price Styling */
.cart-item-price {
    color: #333;
    font-weight: bold;
    margin-top: 10px;
}

/* Footer Styling */
.cart-footer {
    text-align: center;
    padding-top: 20px;
}

.cart-subtotal {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.cart-shipping-info {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 20px;
}

.view-cart-btn {
    background-color: #d87058;
    color: white;
    padding: 12px 25px;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.view-cart-btn:hover {
    background-color: #b2573e;
}

/* Close Button Styling */
.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #d87058;
}

/* Default settings for the hamburger menu (hidden for larger screens) */
.hamburger-menu {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}

/* Navbar links styling for desktop */
#navbarMenu {
    display: flex;
    gap: 20px;
}

.excel-download {
    display: none;  /* Hide by default (only shown in mobile view) */
}

/* Mobile-specific styles */
@media (max-width: 767px) {

    /* Show hamburger menu button on mobile */
    .hamburger-menu {
        display: block;
        position: absolute;
        left: 10px;
        top: 15px;
        z-index: 1001;
    }

    /* Hide navbar links by default */
    #navbarMenu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding-top: 60px;
        /* Adjust for the menu icon */
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        margin: 0;
    }

    /* Menu open state */
    #navbarMenu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Style for links in the sliding menu */
    #navbarMenu li {
        margin: 15px 0;
        text-align: center;
    }

    #navbarMenu li a {
        font-size: 1.2rem;
        color: #333;
    }

    /* Optional: style for icons inside the mobile menu */
    #navbarMenu li a i {
        margin-right: 8px;
    }

    .cart-container {
        width: 90%;
        right: -90%;
    }

    .cart-footer {
        text-align: start;
    }

    .chair-card img {
        max-width: 50%;
        margin: auto;
    }

    .comparison-table {
        display: none;
        /* Hide the table on mobile */
    }
    .excel-download {
        display: block;  /* Hide by default (only shown in mobile view) */
    }

}





/* Search Modal Styling */
.search-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}

.search-modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.search-modal-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.search-modal-content input {
    width: 80%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.search-modal-content button {
    padding: 10px 20px;
    background-color: #c4422a;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.search-modal-content button:hover {
    background-color: #a83224;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: black;
}

/* Error message styling */
.error-message {
    color: #d9534f; /* Red color for error text */
    margin-top: 10px;
    font-size: 14px;
    display: none; /* Initially hidden */
}
