/* 
   Solwipe - Solar Cleaning Services CSS 
   Theme: Professional, Clean, Solar Energy (Yellow/Orange & Blue)
*/

:root {
    --primary: #FDB813;
    /* Solar Yellow */
    --primary-dark: #e5a50a;
    --secondary: #00A4E4;
    /* Water/Sky Blue */
    --secondary-dark: #008cc3;
    --dark: #1a1a1a;
    --light-gray: #f4f7f6;
    --white: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --gradient: linear-gradient(135deg, #FDB813 0%, #f58e0a 100%);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

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

.section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--dark);
    box-shadow: 0 4px 10px rgba(253, 184, 19, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(253, 184, 19, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 10px;
}

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

.btn-block {
    display: block;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -1px;
}

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

.navbar ul {
    display: flex;
    align-items: center;
}

.navbar ul li {
    margin-left: 30px;
}

.navbar a {
    font-weight: 500;
    color: var(--dark);
}

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

.btn-nav {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 5px;
}

.btn-nav:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.nav-toggle,
.nav-toggle-label {
    display: none;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.hero-modern {
    padding-top: 0;
    /* Reset */
    margin-top: 80px;
    /* Header height */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Features Bar */
.features-bar {
    background: var(--secondary);
    color: var(--white);
    padding: 40px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.experience-badge .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
}

.about-list {
    margin-top: 30px;
}

.about-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.about-list i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.2rem;
}

.about-content p {
    text-align: justify;
    margin-bottom: 15px;
}

/* Services Section */
.services {
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(253, 184, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.icon-box i {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

/* Why Choose Us */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.reason-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    border-left: 5px solid var(--primary);
}

.reason-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
}

.reason-item h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.reason-item p {
    text-align: justify;
}

/* Testimonials (Improved) */
.testimonials-v2 {
    background-image: linear-gradient(rgba(10, 25, 47, 0.93), rgba(10, 25, 47, 0.93)), url('images/Solar Panels Cleaning Services.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 100px 0;
}

.rating-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px 32px;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.rating-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rating-big {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.rating-meta {
    display: flex;
    flex-direction: column;
}

.rating-stars-v2 {
    color: var(--primary);
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.rating-count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.rating-source {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .rating-summary {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    .rating-left {
        flex-direction: column;
        gap: 10px;
    }
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 6rem;
    font-family: serif;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #e65c00);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.reviewer-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 2px 0;
    color: var(--white);
}

.reviewer-info span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    display: block;
}

.review-stars {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    text-align: justify;
    flex-grow: 1;
}

.review-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- Marquee Animation --- */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Hover effect for marquee */
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

.client-logo-img {
    height: 90px;
    width: auto;
    opacity: 0.8;
    filter: grayscale(100%);
    transition: 0.3s;
    display: block;
}

.client-logo-css {
    display: flex;
    align-items: center;
    color: #444;
    opacity: 0.8;
    transition: 0.3s;
    white-space: nowrap;
    font-size: 32px;
    /* Increased font size */
}

.client-logo-css i {
    font-size: 36px;
    /* Increased icon size */
}

.marquee-content img:hover,
.client-logo-css:hover {
    filter: grayscale(0%);
    opacity: 1;
    color: var(--dark);
    transform: scale(1.1);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
}

.contact-info {
    padding: 60px;
    background: var(--secondary);
    color: var(--white);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    font-size: 1.2rem;
}

.contact-form-card {
    padding: 60px;
}

.contact-form-card h3 {
    margin-bottom: 30px;
    color: var(--dark);
    font-size: 1.8rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 5px rgba(0, 164, 228, 0.2);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 20px;
}

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

.footer-logo {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

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

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    margin-top: 25px;
}

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

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

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    background: var(--light-gray);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: var(--dark);
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 15px;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .container {
        padding: 0 15px;
    }

    .hero-container,
    .about-container,
    .reasons-grid,
    .contact-wrapper,
    .features-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .hero-modern {
        height: auto !important;
        padding: 100px 0 60px;
    }

    .hero-content-modern h1 {
        font-size: 2.2rem !important;
        padding: 0 10px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.05rem !important;
        padding: 0 15px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        padding: 0 20px;
        width: 100%;
    }

    .hero-buttons .btn,
    .hero-buttons .hero-btn-outline {
        width: 100%;
        margin-left: 0 !important;
        text-align: center;
        display: block;
    }

    .marquee-content img,
    .client-logo-css {
        height: 40px !important;
        margin: 0 20px !important;
        font-size: 18px !important;
    }

    .client-logo-css i {
        font-size: 20px !important;
    }

    .about-image {
        order: -1;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-card p {
        font-size: 1rem;
    }

    .slider-btn {
        display: none;
        /* Hide arrows on mobile, use swipe */
    }

    .contact-info {
        padding: 40px 20px;
    }

    .contact-form-card {
        padding: 40px 20px;
    }

    /* Nav */
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        color: var(--dark);
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        border-top: 1px solid #eee;
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.3s ease-in-out;
    }

    .navbar ul {
        flex-direction: column;
        padding: 20px 0;
    }

    .navbar ul li {
        margin: 0;
        margin-bottom: 20px;
    }

    .nav-toggle:checked~.navbar {
        transform: scaleY(1);
    }

    .modal-container {
        width: 95%;
        margin: 20px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
/* Hero Modern Cleaned Styles */
.hero-modern {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    margin-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.hero-btn-outline {
    padding: 15px 40px;
    font-size: 1.1rem;
    border: 2px solid var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
}

.hero-stats-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-number {
    color: var(--primary);
    font-size: 2rem;
    margin: 0;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Clients Section Cleaned Styles */
.clients {
    padding: 20px 0;
    background: var(--white);
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.clients .container-fluid {
    padding: 0;
}

.clients-title {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: flex;
    gap: 100px;
    animation: marquee 30s linear infinite;
    align-items: center;
}

/* Google Badge Cleaned Styles */
.reviews-header {
    margin-bottom: 40px;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.google-badge img {
    width: 24px;
    margin-right: 12px;
}

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

.google-rating-number {
    font-weight: 700;
    color: #333;
    display: block;
    line-height: 1.2;
    font-size: 0.9rem;
}

.google-stars {
    color: #f4b400;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* Service Card Link Overrides */
a.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Sticky Mobile CTA Footer Bar --- */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    z-index: 1999;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.sticky-mobile-cta .cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    height: 46px;
}

.sticky-mobile-cta .cta-btn-call {
    background: var(--secondary);
    color: var(--white);
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(0, 164, 228, 0.2);
}

.sticky-mobile-cta .cta-btn-call:hover {
    background: var(--secondary-dark);
}

.sticky-mobile-cta .cta-btn-quote {
    background: var(--gradient);
    color: var(--dark);
    box-shadow: 0 4px 10px rgba(253, 184, 19, 0.2);
}

.sticky-mobile-cta .cta-btn-quote:hover {
    transform: translateY(-2px);
}

/* Hide on large screens */
@media (min-width: 992px) {
    .sticky-mobile-cta {
        display: none !important;
    }
}

@media (max-width: 991px) {
    body {
        padding-bottom: 75px !important; /* Prevents sticky bar from overlapping footer content */
    }
}

/* --- FAQ Accordion Styling --- */
.faq-section {
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), margin-top 0.3s ease;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* Large number to allow any content length */
    margin-top: 15px;
    transition: max-height 0.3s cubic-bezier(0.9, 0, 0.8, 0.2), margin-top 0.3s ease;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--secondary);
    font-size: 1.1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* --- Trust Badges Inline --- */
.trust-badges-inline {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.trust-badges-inline span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-badges-inline i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* --- Responsive fixes for mobile --- */
@media (max-width: 480px) {
    .hero-content-modern h1 {
        font-size: 1.8rem !important;
    }
    .faq-question {
        font-size: 1.05rem;
    }
    .trust-badges-inline {
        gap: 12px;
        font-size: 0.75rem;
    }
    .sticky-mobile-cta {
        padding: 10px 12px;
    }
    .sticky-mobile-cta .cta-btn {
        font-size: 0.85rem;
        height: 42px;
    }
    .sticky-mobile-cta .cta-btn-call {
        margin-right: 8px;
    }
}

/* --- Portfolio & Before/After Slider Section Styles --- */
.portfolio {
    background-color: var(--light-gray);
}

.before-after-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.before-after-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--white);
}

.img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.after-img {
    z-index: 1;
}

.before-img {
    z-index: 2;
    clip-path: inset(0 50% 0 0); /* Dynamic clip path updated by JS */
    transition: none;
}

.img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.before-after-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 5;
    cursor: ew-resize;
    margin: 0;
}

.slider-handle {
    position: absolute;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--white);
    z-index: 4;
    pointer-events: none;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.handle-line {
    width: 3px;
    height: 100%;
    background-color: var(--white);
}

.handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    background-color: var(--primary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
    border: 3px solid var(--white);
}

.label {
    position: absolute;
    bottom: 20px;
    padding: 6px 15px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    z-index: 3;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.before-label {
    left: 20px;
    background-color: rgba(253, 184, 19, 0.85); /* Primary Yellow */
}

.after-label {
    right: 20px;
    background-color: rgba(0, 164, 228, 0.85); /* Secondary Blue */
}

/* Project Gallery Grid & Filters */
.gallery-filters {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    background-color: var(--white);
    color: var(--text-light);
    border: 1px solid #eee;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
    box-shadow: 0 4px 10px rgba(0, 164, 228, 0.2);
}

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

.gallery-item {
    transition: all 0.4s ease;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item-inner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow);
    background-color: var(--white);
    border: 1px solid #f0f0f0;
}

.gallery-item-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

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

.gallery-item-inner:hover .gallery-overlay {
    opacity: 1;
}

.gallery-text {
    color: var(--white);
}

.gallery-text .tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--primary);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-text h4 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.gallery-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .before-after-container {
        aspect-ratio: 4 / 3; /* Taller on mobile for better visibility */
    }
    .label {
        font-size: 0.75rem;
        padding: 4px 10px;
        bottom: 10px;
    }
    .before-label {
        left: 10px;
    }
    .after-label {
        right: 10px;
    }
    .handle-button {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr; /* Single column stack */
    }
    .gallery-wrapper {
        margin-top: 50px !important;
    }
}

