body, html {
    margin: 0;
    padding: 0;
    width: 100%;  /* Ensure the width covers the full screen */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    font-family: 'Poppins', sans-serif; /* or 'Montserrat', sans-serif; */
}

/* css/style.css */
.hero {
    background: rgba(0, 0, 0, 0.2) url('../assets/images/website-images/home_page_main.jpg'); /* Path to your background image */
    background-size: cover;  /* Cover the entire section */
    background-position: center; /* Center the image */
    background-blend-mode: darken;
    height: 100vh; /* Full viewport height */
    /* position: relative; Relative positioning for child elements */
    color: var(--text-color); /* White text color */
}

/* .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay */
    /* z-index: 1; Place below text */
/* }  */

.hero-content {
    /* position: absolute;  */
    z-index: 2; 
    text-align: left; /* Align text to the left */
    /* top: 50%;  */
    /* left: 10%;  */
    /* transform: translateY(-50%);  */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h1, .hero-content h2 {
    margin: 10px 20px; /* Margin for spacing */
    color: var(--text-color); /* White text */
    padding: 5px 10px; /* Padding around the text */
    font-weight: 700; /* Bold font */
}

.hero-content h1 {
    font-size: 3rem;/* Large text */
    background-color: rgba(0, 0, 0, 0.8); /* Black background for contrast */
    display: inline-block; /* Inline block to adjust width */
    color: #E9EFEC;
    width: auto;
}

.hero-content h2 {
    font-size: 2rem;
    background-color: var(--accent-color); /* Accent color background */
    display: inline-block; /* Inline block to adjust width */
    width: auto;
}

@media (max-width: 768px) { /* For mobile devices */
    .hero-content h1 {
        font-size: 2rem;/* Large text */
        background-color: rgba(0, 0, 0, 0.8); /* Black background for contrast */
        display: inline-block; /* Inline block to adjust width */
        color: #E9EFEC;
    }
    
    .hero-content h2 {
        font-size: 2rem;/* Large text */
        background-color: var(--accent-color); /* Accent color background */
        display: inline-block; /* Inline block to adjust width */
    }
}
@media (max-width: 518px) { /* For mobile devices */
    .hero-content h1 {
        font-size: 2rem;
        background-color: rgba(0, 0, 0, 0.8); /* Black background for contrast */
        display: inline-block; /* Inline block to adjust width */
        color: #E9EFEC;
    }
    
    .hero-content h2 {
        font-size: 2rem;
        background-color: var(--accent-color); /* Accent color background */
        display: inline-block; /* Inline block to adjust width */
    }
    .hero {
        height: 90vh; /* Full viewport height */
        /* position: relative; */
    }
}

/* ----------------------------------------------------------------------------------------------------- */

/* Functional Interiors Section */
.functional-interiors {
    padding: 60px 20px;
    background-color: #fff; /* White background */
    position: relative;
    text-align: center; /* Center-align text */
}

/* Container for content */
.functional-interiors-container {
    max-width: 1200px;
    margin: 0 auto; /* Center the content */
}

/* Header and Button Section */
.functional-interiors-header {
    margin-bottom: 40px; /* Spacing between header and grid */
}

.functional-interiors-header h2 {
    font-size: 2.5rem; /* Larger heading */
    font-weight: bold;
    margin-bottom: 20px;
    color: #333; /* Dark text color */
}

.functional-interiors-header p {
    font-size: 1rem; /* Standard text size */
    color: #555; /* Medium text color */
    max-width: 800px;
    margin: 0 auto 30px; /* Center text and add spacing */
    line-height: 1.6; /* Improve readability */
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color); /* Accent color */
    color: var(--text-color); /* White text */
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #ff4b4b; /* Hover effect for button */
}

/* Grid for the Three Content Boxes */
.functional-interiors-grid {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap; /* Wrap content on smaller screens */
}

/* Individual Content Boxes */
.interior-box {
    background-color: #f9f9f9; /* Light background for boxes */
    padding: 20px;
    border-radius: 10px;
    flex: 1; /* Allow flex-grow for even spacing */
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 380px; /* Set a max width for consistency */
}

.interior-box img {
    width: 100%; /* Responsive image */
    border-radius: 10px;
    margin-bottom: 20px; /* Spacing below image */
}

.interior-box h3 {
    font-size: 1.5rem; /* Heading size for box titles */
    color: #333; /* Darker text color */
    margin-bottom: 15px; /* Spacing below heading */
}

.interior-box p {
    font-size: 1rem; /* Standard text size */
    color: #555; /* Medium text color */
    line-height: 1.6; /* Improve readability */
}

/* Responsive Styles */
@media (max-width: 992px) { /* For tablets */
    .functional-interiors-grid {
        flex-direction: column; /* Stack columns on smaller screens */
        align-items: center; /* Center-align content */
    }

    .interior-box {
        max-width: 600px; /* Adjust max width */
    }
}

@media (max-width: 768px) { /* For mobile devices */
    .functional-interiors-header h2 {
        font-size: 2rem; /* Smaller heading on mobile */
    }

    .functional-interiors-header p {
        font-size: 0.9rem; /* Smaller text on mobile */
    }

    .interior-box h3 {
        font-size: 1.3rem; /* Smaller heading size for box titles */
    }
}


/* ------------------------------------------------------------------------------------------- */
.why-choose-us {
    padding: 60px 20px;
    background-color: #f8f8f8; /* Light grey background */
    text-align: center; /* Center-align text */
}

.why-choose-us-header {
    margin-bottom: 40px; /* Spacing between header and cards */
}

/* Scrollable Cards Section */
.scrollable-cards-section {
    padding: 40px 0px; /* Section padding */
    text-align: center; /* Center-align text */
    overflow: hidden; /* Hide overflow */
}

.container-wrapper {
    background-color: var(--darker-background-color);
    width: 100vw;
    padding: 30px 10px;
    box-sizing: border-box;
    margin: 0;
    position: relative; /* Ensure positioning context for child elements */

}

/* Cards Container */
.cards-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    margin: 0;
    width: 80%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.cards-container::-webkit-scrollbar {
    display: none;
}

.card {
    flex: 0 0 230px;
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    scroll-snap-align: center;
    text-align: left;
}

.card h3 {
    font-size: 1.2rem; /* Card heading size */
    color: var(--text-color); /* Use theme color for text */
    margin-bottom: 10px; /* Spacing below heading */
    font-weight: bold; /* Bold text */
}

.card p {
    font-size: 0.9rem; /* Card paragraph size */
    color: var(--text-color); /* Use theme color for text */
    line-height: 1.6; /* Improve readability */
}

/* Navigation Dots */
/* Navigation Dots */
.nav-dots {
    margin-top: 20px; /* Spacing above dots */
    display: none; /* Initially hidden, will be shown dynamically */
    justify-content: center; /* Center dots */
    gap: 10px; /* Spacing between dots */
}

.dot {
    width: 15px; /* Dot size */
    height: 15px; /* Dot size */
    background-color: var(--icon-color); /* Inactive dot color */
    border-radius: 50%; /* Make dots circular */
    cursor: pointer; /* Cursor change on hover */
    transition: background-color 0.3s; /* Smooth transition */
}

.dot.active {
    background-color: var(--accent-color); /* Active dot color */
}


/* Responsive Styles for Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .cards-container {
        gap: 15px; /* Reduce gap between cards */
        padding: 15px; /* Reduce padding */
    }

    .card {
        flex: 0 0 250px; /* Smaller width for cards */
        padding: 15px; /* Reduce padding inside the card */
    }

    .card h3 {
        font-size: 1.1rem; /* Slightly smaller heading size */
    }

    .card p {
        font-size: 0.85rem; /* Slightly smaller text size */
    }

    .dot {
        width: 12px; /* Smaller dot size */
        height: 12px; /* Smaller dot size */
    }
}

/* Responsive Styles for Mobile Devices (max-width: 576px) */
@media (max-width: 576px) {
    .cards-container {
        gap: 10px; /* Further reduce gap between cards */
        padding: 10px; /* Reduce padding */
    }

    .card {
        flex: 0 0 200px; /* Smaller width for mobile devices */
        padding: 10px; /* Reduce padding inside the card */
    }

    .card h3 {
        font-size: 1rem; /* Smaller heading size */
    }

    .card p {
        font-size: 0.8rem; /* Smaller text size */
    }

    .dot {
        width: 10px; /* Even smaller dot size */
        height: 10px; /* Even smaller dot size */
    }
}

/* --------------------------------------------------------------------------------------------------------------- */

/* Project Preview Section */
.project-preview {
    padding: 60px 20px;
    background-color: #fff; /* White background */
    text-align: center; /* Center-align text */
}

/* Container for content */
.project-preview-container {
    max-width: 1200px;
    margin: 0 auto; /* Center the content */
}

/* Header Section */
.project-preview-header {
    display: flex;
    justify-content: space-between; /* Align text and button */
    align-items: start; /* Center content vertically */
    margin-bottom: 40px; /* Spacing between header and grid */
}

.header-text h2 {
    font-size: 2rem; /* Large heading */
    font-weight: bold;
    color: #333; /* Dark text color */
    margin-bottom: 10px;
}

.header-text p {
    font-size: 1rem; /* Standard text size */
    color: #555; /* Medium text color */
}

.cta-button {
    background-color: var(--accent-color); /* Accent color */
    color: var(--text-color); /* White text */
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s; /* Smooth transition */
}

.cta-button:hover {
    background-color: #ff4b4b; /* Hover effect */
}

/* Grid for Project Cards */
.project-preview-grid {
    display: flex;
    gap: 20px; /* Spacing between cards */
    justify-content: space-between;
    flex-wrap: wrap; /* Wrap content on smaller screens */
}

/* Individual Project Card Styling */
.project-card {
    position: relative; /* Position for overlay */
    flex: 1 1 calc(33.333% - 20px); /* Three columns with spacing */
    overflow: hidden; /* Hide overflow */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.project-card img {
    width: 100%; /* Full width image */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Block display to remove gaps */
    transition: transform 0.3s; /* Zoom effect */
}

.project-card:hover img {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Overlay for Text */
.overlay {
    position: absolute; /* Overlay position */
    bottom: 0; 
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)); 
    color: #fff; /* White text color */
    padding: 20px 20px; /* Padding */
    box-sizing: border-box; /* Include padding in width */
    transition: background 0.3s; /* Smooth transition */
    text-align: start;
}

.overlay a {
    margin: 0; /* Remove default margin */
    font-size: 1.2rem; /* Medium font size */
    font-weight: bold; /* Bold text */
    text-decoration: none;
    color:  var(--secondary-text-color)
}

.overlay p {
    margin: 5px 0 0; /* Margin for spacing */
    font-size: 1rem; /* Small font size */
    color: #ddd; /* Lighter text color */
}


/* Responsive Styles */
@media (max-width: 992px) { /* For tablets */
    .project-preview-header {
        flex-direction: column; /* Stack on smaller screens */
        align-items: center; /* Center content */
    }

    .cta-button {
        margin-top: 20px; /* Spacing above button */
    }

    .project-preview-grid {
        flex-direction: column; /* Stack cards on smaller screens */
        align-items: center; /* Center-align content */
    }

    .project-card {
        max-width: 600px; /* Limit max width */
        margin-bottom: 30px; /* Spacing between stacked cards */
    }
}

@media (max-width: 768px) { /* For mobile devices */
    .header-text h2 {
        font-size: 2rem; /* Smaller heading on mobile */
    }

    .header-text p {
        font-size: 0.9rem; /* Smaller text on mobile */
    }

    .project-card {
        flex: 1 1 100%; /* Full width for cards */
    }
}


/* ---------------------------------------------------------------------------------------- */

/* FAQ Section */
.faq-section {
    padding: 60px 20px;
    background-color: var(--background-color); /* White background */
    text-align: center; /* Center-align text */
}

/* Container for FAQ content */
.faq-container {
    max-width: 800px; /* Maximum width for readability */
    margin: 0 auto; /* Center the content */
    text-align: left; /* Left-align text */
}

/* Header Section */
.faq-header {
    margin-bottom: 40px; /* Spacing between header and FAQ items */
}

.faq-header h2 {
    font-size: 2.5rem; /* Large heading */
    font-weight: bold;
    color: var(--text-color); /* Dark text color */
    margin-bottom: 10px;
}

.faq-header p {
    font-size: 1rem; /* Standard text size */
    color: var(--text-color); /* Medium text color */
}

/* FAQ Item */
.faq-item {
    background-color: var(--darker-background-color); /* Light grey background */
    padding: 20px;
    border-radius: 8px; /* Rounded corners */
    margin-bottom: 15px; /* Spacing between items */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    cursor: pointer; /* Pointer cursor for clickable items */
    transition: background-color 0.3s; /* Smooth transition */
}

.faq-item:hover {
    background-color: #f0f0f0; /* Slightly darker grey on hover */
}

/* FAQ Question */
.faq-question {
    font-size: 1.2rem; /* Question font size */
    font-weight: bold; /* Bold text */
    color: var(--text-color); /* Darker text color */
    display: flex; /* Flexbox for question and toggle */
    justify-content: space-between; /* Space between text and toggle */
    align-items: center; /* Center vertically */
}

/* FAQ Toggle */
.faq-toggle {
    font-size: 1.5rem; /* Toggle size */
    transition: transform 0.3s; /* Smooth toggle rotation */
}

/* Rotate the toggle when active */
.faq-item.active .faq-toggle {
    transform: rotate(180deg); /* Rotate to point upwards */
}

/* FAQ Answer */
.faq-answer {
    font-size: 1rem; /* Answer font size */
    color: var(--text-color); /* Medium text color */
    margin-top: 15px; /* Spacing above answer */
    line-height: 1.6; /* Improve readability */
    display: none; /* Hidden by default */
    transition: all 0.3s; /* Smooth expand/collapse */
}

/* Responsive Styles */
@media (max-width: 768px) { /* For mobile devices */
    .faq-header h2 {
        font-size: 2rem; /* Smaller heading on mobile */
    }

    .faq-header p {
        font-size: 0.9rem; /* Smaller text on mobile */
    }

    .faq-question {
        font-size: 1rem; /* Smaller question font size */
    }

    .faq-answer {
        font-size: 0.9rem; /* Smaller answer font size */
    }
}
