:root {
    --primary-color: #fbab04;
    --secondary-color: #808080;
    --white: #ffffff;
    --black: #000000;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--black);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.top-bar {
    background: var(--black);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location i,
.contact-info i {
    margin-right: 0.5rem;
}

.contact-info {
    display: flex;
    gap: 2rem;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.contact-info a:hover {
    text-decoration: underline;
}


/* Header Styles */
#header {
    /* position: fixed; */
    top: 35px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
}

/* Hero Section with Slider */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide:nth-child(1) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                      url('./assets/images/fit\ out\ projects.webp');
}

.slide:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                      url('./assets/images/floor\ tiles\ fixing\ dubai.png');
}

.slide:nth-child(3) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                      url('./assets/images/home\ refurbishment\ dubai.jpg');
}

.slide.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem;
    cursor: pointer;
    border: none;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.prev {
    left: 1rem;
}

.next {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Rest of the existing styles remain the same */
/* About Section */
.about {
    padding: 5rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.features {
    list-style: none;
    margin-top: 2rem;
}

.features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.features li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f9f9f9;
}

.services h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}


/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

.testimonials h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    text-align: center;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #f9f9f9;
}

.contact h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #e59a03;
}

.map-container {
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Footer */
.footer {
    background: #333;
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin-right: 2rem;
}

.social-links a {
    color: var(--white);
    margin-left: 1rem;
    font-size: 1.5rem;
}

.copyright {
    text-align: center;
    color: #999;
}

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

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    #header {
        top: 70px; /* Adjusted for stacked top bar content */
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        margin-top: 70px; /* Adjust for stacked header */
    }
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--black);
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .slider-btn {
        padding: 0.5rem;
        font-size: 1.2rem;
    }
}