/* Gallery Page Styles */
.page-hero {
    background: linear-gradient(135deg, rgba(123, 191, 57, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
}

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--black);
}

.page-hero p {
    font-size: 18px;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

.gallery-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    border: none;
    background-color: var(--gray);
    color: var(--dark-gray);
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 1/1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: var(--white);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.gallery-overlay h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.gallery-expand {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-expand {
    opacity: 1;
}

.gallery-cta {
    text-align: center;
    margin-top: 40px;
}

.testimonials-preview {
    padding: 60px 0;
    background-color: var(--white);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 8px;
}

.lightbox-caption {
    position: absolute;
    /* bottom: -40px; */
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--white);
    padding: 10px 0;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.lightbox-prev,
.lightbox-next {
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

  /* Gallery Specific Styles */
        .gallery-hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../../assets/images/gallery-hero-bg.webp') center/cover no-repeat;
            color: var(--white);
            text-align: center;
            padding: 150px 0 100px;
            position: relative;
        }
        
        .gallery-hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
            animation: fadeInDown 1s ease;
        }
        
        .gallery-hero p {
            max-width: 700px;
            margin: 0 auto 30px;
            font-size: 18px;
            opacity: 0.9;
        }
        
        .breadcrumb {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
        }
        
        .breadcrumb a {
            color: var(--secondary);
            transition: var(--transition);
        }
        
        .breadcrumb a:hover {
            color: var(--primary-light);
        }
        
        .breadcrumb span {
            margin: 0 10px;
            color: var(--gray);
        }
        
        /* Gallery Filter */
        .gallery-filter {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 40px;
        }
        
        .filter-btn {
            padding: 8px 20px;
            background-color: var(--light-gray);
            border: none;
            border-radius: 50px;
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .filter-btn:hover, .filter-btn.active {
            background-color: var(--primary);
            color: var(--white);
        }
        
        /* Gallery Grid */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }
        
        .gallery-item {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        
        .gallery-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }
        
        .gallery-item img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            display: block;
            transition: var(--transition);
        }
        
        .gallery-item:hover img {
            transform: scale(1.05);
        }
        
        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 20px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            color: var(--white);
            opacity: 0;
            transition: var(--transition);
        }
        
        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }
        
        .gallery-overlay h3 {
            margin-bottom: 5px;
            font-size: 20px;
        }
        
        .gallery-overlay p {
            font-size: 14px;
            opacity: 0.9;
        }
        
        .gallery-icon {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            opacity: 0;
            transform: translateY(10px);
            transition: var(--transition);
        }
        
        .gallery-item:hover .gallery-icon {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Before & After Section */
        .before-after {
            background-color: var(--light-gray);
            padding: 80px 0;
        }
        
        .ba-container {
            max-width: 1000px;
            margin: 0 auto;
        }
        
        .ba-slider {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: var(--shadow);
        }
        
        .ba-slider img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .resize {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 50%;
            overflow: hidden;
        }
        
        .handle {
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 4px;
            margin-left: -2px;
            background: var(--secondary);
            cursor: ew-resize;
        }
        
        .handle:after {
            content: '';
            position: absolute;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--secondary);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        
        .ba-label {
            position: absolute;
            top: 20px;
            padding: 5px 15px;
            background-color: rgba(0, 0, 0, 0.7);
            color: var(--white);
            border-radius: 4px;
            font-size: 14px;
        }
        
        .before-label {
            left: 20px;
        }
        
        .after-label {
            right: 20px;
        }
        
        /* Testimonials in Gallery */
        .gallery-testimonials {
            padding: 80px 0;
        }
        
        /* Animation */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            .gallery-hero {
                padding: 120px 0 80px;
            }
            
            .gallery-hero h1 {
                font-size: 36px;
            }
            
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 20px;
            }
            
            .gallery-item img {
                height: 250px;
            }
        }
        
        @media (max-width: 576px) {
            .gallery-hero {
                padding: 100px 0 60px;
            }
            
            .gallery-hero h1 {
                font-size: 32px;
            }
            
            .gallery-filter {
                gap: 8px;
            }
            
            .filter-btn {
                padding: 6px 15px;
                font-size: 14px;
            }
            
            .gallery-grid {
                grid-template-columns: 1fr;
            }
        }

/* gallery.html  */
 .ba-section {
            margin: 60px 0;
        }
        
        .ba-section-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .ba-section-title {
            font-size: 28px;
            color: var(--primary-dark);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .ba-section-title i {
            color: var(--secondary);
        }
        
        .ba-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
            gap: 40px;
        }
        
        .ba-comparison {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .ba-comparison h3 {
            background-color: var(--primary);
            color: white;
            padding: 12px 20px;
            font-size: 18px;
            margin: 0;
        }
        
        .ba-slider {
            position: relative;
            height: 400px;
        }
        
        .ba-slider img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        .resize {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 50%;
            overflow: hidden;
        }
        
        .handle {
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 4px;
            margin-left: -2px;
            background: var(--secondary);
            cursor: ew-resize;
            z-index: 10;
        }
        
        .handle:after {
            content: '\f337';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            position: absolute;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--secondary);
            color: white;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            box-shadow: 0 0 10px rgba(0,0,0,0.2);
        }
        
        .ba-label {
            position: absolute;
            top: 20px;
            padding: 8px 15px;
            background-color: rgba(0, 0, 0, 0.7);
            color: var(--white);
            border-radius: 4px;
            font-size: 14px;
            z-index: 2;
        }
        
        .before-label {
            left: 20px;
        }
        
        .after-label {
            right: 20px;
        }
        
        @media (max-width: 768px) {
            .ba-grid {
                grid-template-columns: 1fr;
            }
            
            .ba-slider {
                height: 300px;
            }
        }