/* Global Styles */
:root {
    --primary-color: #12143d;
    --secondary-color: #12143d;
    --accent-color: #3498db;
    --yellow-color: #ffc107;
    --light-color: #f5f5f5;
    --dark-color: #0c0d29;
    --text-color: #333;
    --text-light: #777;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: #f8d038;
    color: var(--primary-color);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #ffc107;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

.section-header h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

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

.text-left h2::after {
    left: 0;
    transform: none;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.logo span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 2px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    color: white;
    padding: 0;
    text-align: center;
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 20, 61, 0.6);
    z-index: 1;
}

.video-control {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 3;
}

.video-control:hover {
    background-color: var(--primary-color);
}

.hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero-specific button styles */
.hero .btn-primary {
    background-color: var(--yellow-color);
    color: var(--dark-color);
}

.hero .btn-primary:hover {
    background-color: #e6ac00; /* Darker yellow on hover */
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.hero .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid var(--yellow-color);
}

.hero .btn-secondary:hover {
    background-color: var(--yellow-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.hero-content {
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

/* Features Section */
.features {
    background-color: var(--light-color);
    padding: 60px 0;
}

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

.feature-item {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    opacity: 0.05;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 500;
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 4px;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.portfolio-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    height: 250px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.portfolio-cta {
    text-align: center;
    margin-top: 40px;
}

/* Service Pages Styles */
.service-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.service-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.service-details {
    padding: 80px 0;
}

.service-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.service-text h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-text p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-text h3 {
    margin: 30px 0 15px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.service-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.service-image-main {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-features {
    margin-bottom: 60px;
}

.service-features h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background-color: var(--light-color);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    margin-bottom: 10px;
}

.service-gallery {
    margin-bottom: 60px;
}

.service-gallery h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.service-testimonials {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 8px;
}

.service-testimonials h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.service-page-testimonials {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-controls button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-controls button:hover {
    background: var(--secondary-color);
}

@media (max-width: 992px) {
    .service-overview {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-hero {
        height: 300px;
    }
    
    .service-hero h1 {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */
.cta-section {
    background-color: #f8d038;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
    
    .cta-section p {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
    
    .btn-cta {
        padding: 14px 28px;
        font-size: 16px;
    }
}

/* Specific Service Hero Backgrounds */
.brick-staining-hero {
    background-image: url('../img/newimages/a16078f8-1183-45c1-acce-0e190af1e584.jfif');
}

.interior-house-painting-hero {
    background-image: url('../img/newimages/0b6cf30d-a815-4563-ba56-ad6289a0e8be.jfif');
}

.exterior-house-painting-hero {
    background-image: url('../img/newimages/49ae1c82-2a64-4852-a358-07864be0acc3.jfif');
}

.kitchen-cabinet-spraying-hero {
    background-image: url('../img/newimages/6f22f489-47b2-4924-861b-23bf3a6c11fd.jfif');
}

.additional-services-hero {
    background-image: url('../img/newimages/f424f662-5660-47cd-bc0f-5b1793b1fcdc.jfif');
}

/* Process Section */
.process {
    background-color: var(--light-color);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.process-step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 700;
    margin-right: 30px;
    position: relative;
    z-index: 2;
}

.step-content {
    background-color: white;
    padding: 25px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    flex: 1;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide:first-child {
    display: block;
}

.testimonial-content {
    background-color: white;
    padding: 40px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
}

.client-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.client-info p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.rating {
    color: var(--accent-color);
    font-size: 18px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--secondary-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 5px;
    overflow: hidden;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.stat-item h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-light);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    font-size: 20px;
}

.info-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding-top: 70px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 15px;
}

.footer-logo p {
    margin-bottom: 20px;
    color: #bbb;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--yellow-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* Footer logo styling complete */

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-col ul li a {
    color: #bbb;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links a {
    color: #bbb;
    margin-left: 20px;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Floating WhatsApp Button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    left: 75px;
    background-color: #333;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Paint Brands Carousel */
.paint-brands {
    padding: 70px 0;
    background-color: #f9f9f9;
    background-image: linear-gradient(to right, rgba(18, 20, 61, 0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(18, 20, 61, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    overflow: hidden;
}

.paint-brands:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--yellow-color), var(--primary-color));
}

.brands-carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    position: relative;
}

.brands-carousel {
    display: flex;
    animation: scrollBrands 30s linear infinite;
    width: calc(200px * 10); /* Width of each brand item * number of items * 2 */
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 5)); /* Width of each brand item * number of items */
    }
}

.brand-item {
    flex: 0 0 200px;
    height: 100px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.brand-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.brand-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.brand-item:hover:after {
    transform: translateX(100%);
}

.brand-logo {
    max-width: 80%;
    max-height: 60px;
    object-fit: contain;
}

/* Duplicate the brand items for continuous scrolling */
.brands-carousel .brand-item:nth-child(1),
.brands-carousel .brand-item:nth-child(2),
.brands-carousel .brand-item:nth-child(3),
.brands-carousel .brand-item:nth-child(4),
.brands-carousel .brand-item:nth-child(5) {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        left: 20px;
    }
    
    /* Paint Brands Responsive Styles */
    .brand-item {
        flex: 0 0 150px;
        height: 80px;
        margin: 0 15px;
    }
    
    .brands-carousel {
        width: calc(150px * 10); /* Adjust width for mobile */
    }
    
    @keyframes scrollBrands {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 5)); /* Adjust for mobile */
        }
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .features-grid,
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        margin-top: 15px;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}
