/* Custom CSS for Website */

/* Root Variables */
:root {
    /* Light Mode Colors */
    --primary-color: #7B5FB8;
    --secondary-color: #3F2D6B;
    --accent-color: #8A6ECF;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #3F2D6B, #7B5FB8);
    --gradient-secondary: linear-gradient(135deg, #4A377A, #6A4E9E);
    
    /* Extended Light Mode Variables */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e9ecef;
    --bg-card: #ffffff;
    --bg-navbar: #ffffff;
    --bg-footer: #343a40;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #6c757d;
    --text-white: #ffffff;
    --border-color: #dee2e6;
    --border-light: #e9ecef;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --primary-color: #8A6ECF;
    --secondary-color: #4A377A;
    --accent-color: #7B5FB8;
    --text-dark: #e5e5e5;
    --text-light: #b3b3b3;
    --bg-light: #1e1e1e;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, #4A377A, #8A6ECF);
    --gradient-secondary: linear-gradient(135deg, #3F2D6B, #7B5FB8);
    
    /* Extended Dark Mode Variables */
    --bg-primary: #1e1e1e;
    --bg-secondary: #2a2a2a;
    --bg-tertiary: #333333;
    --bg-card: #2a2a2a;
    --bg-navbar: #1e1e1e;
    --bg-footer: #1a1a1a;
    --text-primary: #e5e5e5;
    --text-secondary: #b3b3b3;
    --text-muted: #999999;
    --text-white: #ffffff;
    --border-color: #404040;
    --border-light: #333333;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.4);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy Loading */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[data-src].loaded {
    opacity: 1;
}

/* Performance Optimizations */
.carousel-item img,
.hero-slide {
    will-change: transform;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile-First Responsive Design */
@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .navbar-brand .brand-text {
        font-size: 1rem;
    }
    
    .logo {
        width: 30px;
        height: 30px;
    }
}

/* Tablet Responsive */
@media (min-width: 577px) and (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

/* Touch-friendly buttons */
@media (hover: none) and (pointer: coarse) {
    .btn, .nav-link, .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Navigation */
.navbar {
    padding: 0.25rem 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background: var(--gradient-primary) !important;
    box-shadow: 0 2px 20px rgba(63, 45, 107, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: none;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--white) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar .navbar-toggler {
    border: none;
}

/* Mobile Sidebar (Offcanvas) Styling */
#mobileSidebar {
    background: linear-gradient(135deg, #0b1220 0%, #1a2332 100%) !important;
    color: #ffffff;
    border-right: 0;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.35);
}

#mobileSidebar .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#mobileSidebar .offcanvas-title {
    color: #ffffff;
}

#mobileSidebar .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

#mobileSidebar .btn-close:hover {
    opacity: 1;
}

#mobileSidebar .nav-link,
#mobileSidebar .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 12px;
    border-radius: 8px;
}

#mobileSidebar .nav-link:hover,
#mobileSidebar .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

#mobileSidebar .dropdown-toggle::after {
    filter: invert(1);
    opacity: 0.85;
}

#mobileSidebar .dropdown-menu {
    background: rgba(10, 15, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    margin-top: 6px;
}

#mobileSidebar .dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
}

#mobileSidebar .dropdown-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

#mobileSidebar .theme-toggle {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

#mobileSidebar .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 991.98px) {
    .offcanvas-start {
        width: 270px;
    }
}

[data-theme="dark"] #mobileSidebar {
    background: linear-gradient(160deg, #070b16 0%, #131c2b 60%, #1d2b40 100%) !important;
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 8px 0 28px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] #mobileSidebar .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] #mobileSidebar .nav-link,
[data-theme="dark"] #mobileSidebar .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] #mobileSidebar .nav-link:hover,
[data-theme="dark"] #mobileSidebar .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

[data-theme="dark"] #mobileSidebar .dropdown-menu {
    background: rgba(7, 11, 22, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] #mobileSidebar .theme-toggle {
    border-color: rgba(255, 255, 255, 0.35);
}

/* Dropdown Animations */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 0.75rem;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
    visibility: hidden;
    pointer-events: none;
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.dropdown-menu.dropdown-warning {
    opacity: 0.7;
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.3);
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    border-radius: 0.5rem;
    margin: 0 0.5rem;
}

.dropdown-item:hover {
    background-color: rgba(123, 95, 184, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Hero Slider */
.hero-slider {
    margin-top: 80px;
    position: relative;
}

.hero-slide {
    height: 80vh;
    position: relative;
    overflow: hidden;
}

/* Slider image styling */
.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Slider overlay for text content */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25));
    display: flex;
    align-items: center;
    z-index: 2;
}

/* Fallback styling when image fails to load */
.slider-fallback {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.3vw, 1.25rem);
    color: var(--white);
    margin-bottom: 0.75rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.hero-buttons .btn {
    padding: clamp(0.55rem, 1.2vw, 0.8rem) clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
    border-radius: 0.5rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: clamp(0.9rem, 1.6vw, 1.1rem);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 0.5rem;
    border: 2px solid var(--white);
    background-color: transparent;
    transition: var(--transition);
}

.carousel-indicators button.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* Features Section */
.features-section {
    padding: 1.5rem 0;
    background-color: var(--white);
}

.feature-card {
    padding: 1rem;
    border-radius: 1rem;
    transition: var(--transition);
    height: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    transition: var(--transition);
}

.feature-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Services Preview */
.services-preview {
    padding: 1.5rem 0;
    background-color: var(--bg-light);
}

.service-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(63, 45, 107, 0.8), rgba(123, 95, 184, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-content {
    padding: 1.5rem;
    text-align: center;
}

.service-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    padding: 1.5rem 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.cta-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Dynamic Slider Styling */
.hero-slide {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 80vh;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.35));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Slider fallback for missing images */
.hero-slide[style*="url('')"] {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

/* Mobile Slider Optimization */
@media (max-width: 768px) {
    .hero-slider {
        height: auto !important;
        margin-top: 70px !important;
        margin-bottom: 2rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .hero-slider .carousel {
        margin-bottom: 1.5rem !important;
    }
    
    .hero-slider .carousel-inner {
        margin-bottom: 0.5rem !important;
    }
    
    .hero-slide {
        min-height: 220px !important;
        max-height: 260px !important;
        padding: 0.75rem 0 !important;
    }
    
    .hero-slide .container {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero-slide .row {
        height: 100% !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero-content {
        padding: 0.5rem 0.75rem !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
    
    .hero-title {
        font-size: 1.15rem !important;
        line-height: 1.15 !important;
        margin-bottom: 0.4rem !important;
        font-weight: 600 !important;
    }
    
    .hero-subtitle {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.6rem !important;
        opacity: 0.9 !important;
    }
    
    .hero-buttons {
        flex-direction: row !important;
        gap: 0.5rem !important;
        margin-top: 0.35rem !important;
        flex-wrap: wrap !important;
    }
    
    .hero-buttons .btn {
        width: auto !important;
        margin: 0 !important;
        padding: 0.45rem 0.9rem !important;
        font-size: 0.75rem !important;
        border-radius: 0.4rem !important;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: auto !important;
        margin-top: 70px !important;
        margin-bottom: 1.75rem !important;
        padding-bottom: 1.25rem !important;
    }
    
    .hero-slider .carousel {
        margin-bottom: 1rem !important;
    }
    
    .features-section {
        padding: 1rem 0 0.5rem !important;
        margin-top: 0.5rem !important;
    }
    
    .features-section .container {
        padding-top: 1.5rem !important;
    }
    
    .hero-slide {
        min-height: 200px !important;
        max-height: 240px !important;
        padding: 0.6rem 0 !important;
    }
    
    .hero-title {
        font-size: 0.72rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.48rem !important;
        margin-bottom: 0.35rem !important;
    }
    
    .hero-content {
        max-width: 85% !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .hero-buttons {
        justify-content: center !important;
        gap: 0.4rem !important;
        margin-bottom: 0.3rem !important;
    }

    .hero-buttons .btn {
        width: auto !important;
        padding: 0.28rem 0.55rem !important;
        font-size: 0.48rem !important;
        max-width: none !important;
        border-radius: 0.35rem !important;
    }

    .hero-slider .carousel-indicators {
        bottom: 10px !important;
    }

    .hero-slider .carousel-indicators button {
        width: 7px !important;
        height: 7px !important;
        margin: 0 0.25rem !important;
    }
}

@media (max-width: 480px) {
    /* Navbar optimizations for very small mobile */
    .navbar-brand {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
    }
    
    .navbar-brand img {
        height: 22px !important;
        width: auto !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.8rem !important;
        padding: 0.35rem 0.5rem !important;
        font-weight: 500 !important;
    }
    
    .navbar-toggler {
        padding: 0.15rem 0.3rem !important;
        font-size: 0.75rem !important;
    }
    
    .dropdown-menu {
        font-size: 0.75rem !important;
        padding: 0.3rem 0 !important;
    }
    
    .dropdown-item {
        padding: 0.35rem 0.7rem !important;
        font-size: 0.75rem !important;
    }
    
    /* Logo optimizations for very small mobile */
    .logo {
        max-height: 25px !important;
        width: auto !important;
    }
    
    .brand-text {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
    }
    
    .hero-slide {
        min-height: 190px !important;
    }

    .hero-title {
        font-size: 0.66rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.42rem !important;
    }

    .hero-buttons {
        justify-content: center !important;
        gap: 0.3rem !important;
    }

    .hero-buttons .btn {
        padding: 0.24rem 0.45rem !important;
        font-size: 0.42rem !important;
        border-radius: 0.28rem !important;
    }

    .hero-slider .carousel-indicators {
        bottom: 6px !important;
    }

    .hero-slider .carousel-indicators button {
        width: 6px !important;
        height: 6px !important;
    }

    /* CTA Section for very small mobile */
    .cta-section h1,
    .cta-section h2,
    .cta-section .section-title {
        font-size: 1.2rem !important;
    }
    
    .cta-section p {
        font-size: 0.75rem !important;
    }
    
    /* Footer brand text */
    .footer-brand .brand-text {
        font-size: 1rem !important;
    }
    
    .footer-brand p {
        font-size: 0.75rem !important;
    }
    
    /* Page titles */
    .page-title {
        font-size: 1.3rem !important;
    }
    
    .page-subtitle {
        font-size: 0.8rem !important;
    }
    
    .hero-slide {
        min-height: 24vh !important;
        max-height: 160px !important;
        padding: 0.5rem 0 !important;
    }
    
    .hero-title {
        font-size: 1rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.7rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-buttons .btn {
        width: 60% !important;
        padding: 0.3rem 0.6rem !important;
        font-size: 0.75rem !important;
        max-width: 150px !important;
    }
}

/* Tablet and Medium Screen Optimizations */
@media (max-width: 992px) {
    /* Navbar optimizations for tablets */
    .navbar-brand {
        font-size: 1.3rem !important;
        font-weight: 600 !important;
    }
    
    .navbar-brand img {
        height: 35px !important;
        width: auto !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.95rem !important;
        padding: 0.6rem 0.8rem !important;
        font-weight: 500 !important;
    }
    
    .navbar-toggler {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.95rem !important;
    }
    
    .dropdown-menu {
        font-size: 0.9rem !important;
        padding: 0.6rem 0 !important;
    }
    
    .dropdown-item {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Logo optimizations for tablets */
    .logo {
        max-height: 40px !important;
        width: auto !important;
    }
    
    .brand-text {
        font-size: 1.2rem !important;
        font-weight: 600 !important;
    }
}

/* Comprehensive Mobile Optimizations */
@media (max-width: 768px) {
    /* Navbar optimizations */
    .navbar-brand {
        font-size: 1.2rem !important;
        font-weight: 600 !important;
    }
    
    .navbar-brand img {
        height: 30px !important;
        width: auto !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.9rem !important;
        padding: 0.5rem 0.75rem !important;
        font-weight: 500 !important;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .navbar-collapse {
        margin-top: 0.5rem !important;
    }
    
    .dropdown-menu {
        font-size: 0.85rem !important;
        padding: 0.5rem 0 !important;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    /* Logo optimizations */
    .logo {
        max-height: 35px !important;
        width: auto !important;
    }
    
    .brand-text {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
    }
    
    /* Section spacing and padding */
    .features-section {
        padding: 1.5rem 0 1rem !important;
        margin-top: 1rem !important;
    }
    
    .service-process,
    .cta-section,
    .testimonials-section,
    .stats-section {
        padding: 2rem 0 !important;
    }
    
    /* Features section specific spacing */
    .features-section .container {
        padding-top: 2rem !important;
    }
    
    .features-section .row {
        margin-top: 1rem !important;
    }
    
    /* Global text size reductions */
    h1, .h1 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    h2, .h2 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }
    
    h3, .h3 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }
    
    h4, .h4 {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
    }
    
    h5, .h5 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }
    
    h6, .h6 {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }
    
    p, .p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.6rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.3 !important;
    }
    
    .section-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* CTA Section optimizations */
    .cta-section h1,
    .cta-section h2,
    .cta-section .section-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }
    
    .cta-section p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Footer brand text */
    .footer-brand .brand-text {
        font-size: 1.2rem !important;
    }
    
    .footer-brand p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    /* Page titles */
    .page-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .page-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    /* Feature cards */
    .feature-card {
        padding: 1.5rem 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .feature-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 1rem !important;
    }
    
    .feature-icon i {
        font-size: 1.5rem !important;
    }
    
    .feature-card h4 {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .feature-card p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    /* Service cards */
    .service-card {
        padding: 1.5rem 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .service-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 1rem !important;
    }
    
    .service-icon i {
        font-size: 1.5rem !important;
    }
    
    .service-card h4 {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .service-card p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    /* Category cards */
    .category-card {
        padding: 1.5rem 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .category-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 1rem !important;
    }
    
    .category-icon i {
        font-size: 1.5rem !important;
    }
    
    .category-card h4 {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .category-card p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    /* Buttons */
    .btn {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    /* Process steps */
    .process-step {
        margin-bottom: 2rem !important;
    }
    
    .process-number {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
    
    .process-step h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .process-step p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .testimonial-text {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
    }
    
    .testimonial-author {
        font-size: 0.85rem !important;
    }
    
    /* Stats */
    .stat-item {
        margin-bottom: 1.5rem !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .stat-label {
        font-size: 0.9rem !important;
    }
    
    /* CTA Section */
    .cta-section h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .cta-section p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem !important;
    }
    
    .footer h5 {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem !important;
    }
    
    .footer-links a {
        font-size: 0.9rem !important;
    }
    
    .contact-info p {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }
}

@media (max-width: 576px) {
    /* Navbar optimizations for small mobile */
    .navbar-brand {
        font-size: 1rem !important;
        font-weight: 600 !important;
    }
    
    .navbar-brand img {
        height: 25px !important;
        width: auto !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.6rem !important;
        font-weight: 500 !important;
    }
    
    .navbar-toggler {
        padding: 0.2rem 0.4rem !important;
        font-size: 0.8rem !important;
    }
    
    .dropdown-menu {
        font-size: 0.8rem !important;
        padding: 0.4rem 0 !important;
    }
    
    .dropdown-item {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
    }
    
    /* Logo optimizations for small mobile */
    .logo {
        max-height: 30px !important;
        width: auto !important;
    }
    
    .brand-text {
        font-size: 1rem !important;
        font-weight: 600 !important;
    }
    
    /* Even smaller screens - more aggressive text reduction */
    h1, .h1 {
        font-size: 1.5rem !important;
    }
    
    h2, .h2 {
        font-size: 1.3rem !important;
    }
    
    h3, .h3 {
        font-size: 1.2rem !important;
    }
    
    h4, .h4 {
        font-size: 1.1rem !important;
    }
    
    h5, .h5 {
        font-size: 1rem !important;
    }
    
    h6, .h6 {
        font-size: 0.9rem !important;
    }
    
    p, .p {
        font-size: 0.85rem !important;
    }
    
    .section-title {
        font-size: 1.3rem !important;
    }
    
    .section-subtitle {
        font-size: 0.85rem !important;
    }
    
    /* CTA Section for small mobile */
    .cta-section h1,
    .cta-section h2,
    .cta-section .section-title {
        font-size: 1.3rem !important;
    }
    
    .cta-section p {
        font-size: 0.8rem !important;
    }
    
    /* Footer brand text */
    .footer-brand .brand-text {
        font-size: 1.1rem !important;
    }
    
    .footer-brand p {
        font-size: 0.8rem !important;
    }
    
    /* Page titles */
    .page-title {
        font-size: 1.5rem !important;
    }
    
    .page-subtitle {
        font-size: 0.85rem !important;
    }
    
    .feature-card,
    .service-card,
    .category-card {
        padding: 1rem 0.75rem !important;
    }
    
    .feature-icon,
    .service-icon,
    .category-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .feature-icon i,
    .service-icon i,
    .category-icon i {
        font-size: 1.2rem !important;
    }
    
    .feature-card h4,
    .service-card h4,
    .category-card h4 {
        font-size: 1.1rem !important;
    }
    
    .feature-card p,
    .service-card p,
    .category-card p {
        font-size: 0.85rem !important;
    }
    
    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    .btn-lg {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem !important;
    }
}

/* Tablet optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-slide {
        min-height: 64vh !important;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
}

/* Carousel Mobile Optimizations */
@media (max-width: 768px) {
    .carousel-indicators {
        bottom: 5px !important;
        margin-bottom: 0 !important;
    }
    
    .carousel-indicators button {
        width: 6px !important;
        height: 6px !important;
        border-radius: 50% !important;
        margin: 0 3px !important;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 30px !important;
        height: 30px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    .carousel-control-prev {
        left: 5px !important;
    }
    
    .carousel-control-next {
        right: 5px !important;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 15px !important;
        height: 15px !important;
    }
}

@media (max-width: 480px) {
    .carousel-indicators {
        bottom: 3px !important;
    }
    
    .carousel-indicators button {
        width: 5px !important;
        height: 5px !important;
        margin: 0 2px !important;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 25px !important;
        height: 25px !important;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 12px !important;
        height: 12px !important;
    }
}

/* Floating WhatsApp Button */
/* Clean Dark Mode Styles */
[data-theme="dark"] {
    /* Body and main backgrounds */
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* Dark Mode Cards */
[data-theme="dark"] .card {
    background-color: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .card-body {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

[data-theme="dark"] .card-header {
    background-color: var(--bg-tertiary);
    border-bottom-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .card-footer {
    background-color: var(--bg-tertiary);
    border-top-color: var(--border-color);
    color: var(--text-primary);
}

/* Dark Mode Bootstrap Classes */
[data-theme="dark"] .bg-white {
    background-color: var(--bg-card) !important;
}

[data-theme="dark"] .bg-light {
    background-color: var(--bg-secondary) !important;
}

[data-theme="dark"] .text-dark {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .text-muted {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .border {
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .shadow {
    box-shadow: var(--shadow) !important;
}

/* Dark Mode Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(180deg);
}

/* Dark Mode Sections */
[data-theme="dark"] .features-section,
[data-theme="dark"] .services-section,
[data-theme="dark"] .products-section,
[data-theme="dark"] .gallery-section,
[data-theme="dark"] .about-section,
[data-theme="dark"] .contact-section,
[data-theme="dark"] .testimonials-section,
[data-theme="dark"] .stats-section,
[data-theme="dark"] .team-section,
[data-theme="dark"] .cta-section {
    background-color: var(--bg-secondary);
}

/* Dark Mode Page Headers */
[data-theme="dark"] .page-header {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .page-title {
    color: var(--text-primary);
}

[data-theme="dark"] .page-subtitle {
    color: var(--text-secondary);
}

/* Dark Mode Hero Sections */
[data-theme="dark"] .hero-slide {
    color: var(--text-white);
}

[data-theme="dark"] .hero-title {
    color: var(--text-white);
}

[data-theme="dark"] .hero-subtitle {
    color: var(--text-white);
}

/* Dark Mode Feature Cards */
[data-theme="dark"] .feature-card {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-white);
    transition: all 0.3s ease;
    box-shadow: none;
}

[data-theme="dark"] .feature-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .feature-card h4 {
    color: var(--text-white);
}

[data-theme="dark"] .feature-card p {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .feature-icon {
    background: rgba(123, 95, 184, 0.25);
}

/* Dark Mode Service Cards */
[data-theme="dark"] .service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .service-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .service-content h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .service-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Dark Mode CTA Section */
[data-theme="dark"] .cta-section {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .cta-section h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .cta-section p {
    color: var(--text-secondary);
}

/* Dark Mode Services Preview */
[data-theme="dark"] .services-preview {
    background-color: var(--bg-secondary);
}

/* Dark Mode Section Titles */
[data-theme="dark"] .section-title {
    color: var(--text-primary);
}

[data-theme="dark"] .section-subtitle {
    color: var(--text-secondary);
}

/* Dark Mode Category Cards (Products Page) */
[data-theme="dark"] .category-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .category-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .category-card h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .category-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .category-icon {
    color: var(--primary-color);
}

/* Dark Mode Product Cards (Products Page) */
[data-theme="dark"] .product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .product-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .product-content h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .product-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .product-price .price {
    color: var(--primary-color);
}

[data-theme="dark"] .product-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Dark Mode Process Steps (Services Page) */
[data-theme="dark"] .process-step {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .process-step:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .process-step h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .process-step p {
    color: var(--text-secondary);
}

[data-theme="dark"] .step-number {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Dark Mode Advantage Items (About Page) */
[data-theme="dark"] .advantage-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .advantage-item:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .advantage-content h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .advantage-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .advantage-icon {
    color: var(--primary-color);
}

/* Dark Mode Service Features Lists */
[data-theme="dark"] .service-features {
    color: var(--text-secondary);
}

[data-theme="dark"] .service-features li {
    color: var(--text-secondary);
}

/* Dark Mode Story Content (About Page) */
[data-theme="dark"] .story-content {
    color: var(--text-primary);
}

[data-theme="dark"] .story-content p {
    color: var(--text-secondary);
}

/* Dark Mode Team Cards (About Page) */
[data-theme="dark"] .team-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .team-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .team-card h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .team-card p {
    color: var(--text-secondary);
}

/* Form Placeholder Text in Dark Mode */
[data-theme="dark"] .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

[data-theme="dark"] .form-control::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

[data-theme="dark"] .form-control::-moz-placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1;
}

[data-theme="dark"] .form-control:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

[data-theme="dark"] .form-control:-moz-placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1;
}

/* Textarea placeholder in dark mode */
[data-theme="dark"] textarea.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

[data-theme="dark"] textarea.form-control::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

[data-theme="dark"] textarea.form-control::-moz-placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1;
}

[data-theme="dark"] textarea.form-control:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

[data-theme="dark"] textarea.form-control:-moz-placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1;
}

/* Dark Mode Stats Cards */
[data-theme="dark"] .stats-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .stats-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .stats-card h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .stats-card p {
    color: var(--text-secondary);
}

/* Dark Mode Gallery Cards */
[data-theme="dark"] .gallery-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .gallery-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .gallery-card h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .gallery-card p {
    color: var(--text-secondary);
}

/* Dark Mode Contact Cards */
[data-theme="dark"] .contact-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .contact-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .contact-card h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .contact-card p {
    color: var(--text-secondary);
}

/* Dark Mode Testimonial Cards */
[data-theme="dark"] .testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .testimonial-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .testimonial-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .testimonial-author {
    color: var(--text-primary);
}

/* Dark Mode Info Cards */
[data-theme="dark"] .info-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .info-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .info-card h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .info-card p {
    color: var(--text-secondary);
}

/* Dark Mode Contact Form */
[data-theme="dark"] .contact-form-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 2rem;
    border-radius: 0.5rem;
}

[data-theme="dark"] .contact-form-map {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .contact-icon {
    color: var(--primary-color);
}

/* Dark Mode Gallery Elements */
[data-theme="dark"] .gallery-grid {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .gallery-overlay {
    background-color: rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .gallery-content h5 {
    color: var(--text-white);
}

[data-theme="dark"] .gallery-content p {
    color: var(--text-white);
}

/* Dark Mode Form Select */
[data-theme="dark"] .form-select {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .form-select:focus {
    background-color: var(--bg-tertiary);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(138, 110, 207, 0.25);
}

/* Dark Mode Invalid Feedback */
[data-theme="dark"] .invalid-feedback {
    color: var(--danger-color);
}

/* Dark Mode Valid Feedback */
[data-theme="dark"] .valid-feedback {
    color: var(--success-color);
}

/* Dark Mode Filter Buttons */
[data-theme="dark"] .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

[data-theme="dark"] .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

[data-theme="dark"] .btn-outline-primary.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Dark Mode Single Pages - Product Single */
[data-theme="dark"] .breadcrumb-section {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .breadcrumb {
    background-color: transparent;
}

[data-theme="dark"] .breadcrumb-item a {
    color: var(--primary-color);
}

[data-theme="dark"] .breadcrumb-item.active {
    color: var(--text-secondary);
}

[data-theme="dark"] .product-details {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .product-gallery {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
}

[data-theme="dark"] .product-info {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
}

[data-theme="dark"] .product-title {
    color: var(--text-primary);
}

[data-theme="dark"] .product-rating .stars {
    color: var(--warning-color);
}

[data-theme="dark"] .rating-text {
    color: var(--text-secondary);
}

[data-theme="dark"] .current-price {
    color: var(--primary-color);
}

[data-theme="dark"] .original-price {
    color: var(--text-muted);
}

[data-theme="dark"] .discount {
    color: var(--success-color);
}

[data-theme="dark"] .product-description p {
    color: var(--text-secondary);
}

[data-theme="dark"] .quantity-selector {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
}

[data-theme="dark"] .quantity-selector button {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .quantity-selector input {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .finish-options {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
}

[data-theme="dark"] .form-check-label {
    color: var(--text-primary);
}

[data-theme="dark"] .product-features h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .feature-list {
    color: var(--text-secondary);
}

[data-theme="dark"] .feature-list li {
    color: var(--text-secondary);
}

[data-theme="dark"] .thumbnail {
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .thumbnail.active {
    border-color: var(--primary-color);
}

/* Dark Mode Single Pages - Service Single */
[data-theme="dark"] .service-details {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .service-info {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
}

[data-theme="dark"] .service-title {
    color: var(--text-primary);
}

[data-theme="dark"] .service-description p {
    color: var(--text-secondary);
}

[data-theme="dark"] .service-highlights {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
}

[data-theme="dark"] .highlight-item {
    color: var(--text-primary);
}

[data-theme="dark"] .service-image {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
}

[data-theme="dark"] .service-overview {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .service-feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    padding: 2rem;
}

[data-theme="dark"] .service-feature-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .service-feature-card h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .service-feature-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .service-feature-card .feature-icon {
    color: var(--primary-color);
}

[data-theme="dark"] .service-feature-card .feature-list {
    color: var(--text-secondary);
}

[data-theme="dark"] .service-feature-card .feature-list li {
    color: var(--text-secondary);
}

/* Dark Mode Pricing Tables */
[data-theme="dark"] .pricing-table {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .pricing-header {
    background-color: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .pricing-title {
    color: var(--text-primary);
}

[data-theme="dark"] .pricing-price {
    color: var(--primary-color);
}

[data-theme="dark"] .pricing-features {
    color: var(--text-secondary);
}

[data-theme="dark"] .pricing-features li {
    color: var(--text-secondary);
}

/* Dark Mode FAQ Sections */
[data-theme="dark"] .faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .faq-question {
    color: var(--text-primary);
}

[data-theme="dark"] .faq-answer {
    color: var(--text-secondary);
}

/* Dark Mode Related Products/Services */
[data-theme="dark"] .related-section {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .related-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .related-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .related-card h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .related-card p {
    color: var(--text-secondary);
}

/* Dark Mode Reviews Section */
[data-theme="dark"] .reviews-section {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .review-author {
    color: var(--text-primary);
}

[data-theme="dark"] .review-text {
    color: var(--text-secondary);
}

[data-theme="dark"] .review-rating {
    color: var(--warning-color);
}

/* Dark Mode About Page Specific Sections */
[data-theme="dark"] .company-stats {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .stat-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .stat-item:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .stat-number {
    color: var(--primary-color);
}

[data-theme="dark"] .stat-label {
    color: var(--text-secondary);
}

[data-theme="dark"] .technology-section {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .technology-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
}

[data-theme="dark"] .technology-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .tech-features {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

[data-theme="dark"] .tech-feature {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .tech-feature:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .tech-feature h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .tech-feature p {
    color: var(--text-secondary);
}

[data-theme="dark"] .tech-feature i {
    color: var(--primary-color);
}

[data-theme="dark"] .technology-image {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
}

[data-theme="dark"] .certifications-section {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .cert-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .cert-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .cert-card h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .cert-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .cert-icon {
    color: var(--primary-color);
}

/* Dark Mode Contact Page Specific Sections */
[data-theme="dark"] .contact-sidebar {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .sidebar-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

[data-theme="dark"] .sidebar-card h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .business-hours {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
}

[data-theme="dark"] .hours-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

[data-theme="dark"] .hours-item .day {
    color: var(--text-primary);
    font-weight: 600;
}

[data-theme="dark"] .hours-item .time {
    color: var(--text-secondary);
}

[data-theme="dark"] .quick-contact {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
}

[data-theme="dark"] .quick-link {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

[data-theme="dark"] .quick-link:hover {
    background-color: var(--bg-tertiary);
    color: var(--primary-color);
    transform: translateX(5px);
}

[data-theme="dark"] .quick-link i {
    color: var(--primary-color);
}

[data-theme="dark"] .social-links {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
}

[data-theme="dark"] .social-link {
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .social-link:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* Contact page social links specific styling */
.contact-form-map .social-link {
    background-color: rgba(123, 95, 184, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(123, 95, 184, 0.2);
}

.contact-form-map .social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

[data-theme="dark"] .contact-form-map .social-link {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .contact-form-map .social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

[data-theme="dark"] .map-section {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .map-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
}

[data-theme="dark"] .faq-section {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .accordion-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .accordion-button {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(123, 95, 184, 0.25);
    border-color: var(--primary-color);
}

[data-theme="dark"] .accordion-body {
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* Dark Mode Gallery Page Specific Sections */
[data-theme="dark"] .gallery-stats {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .gallery-item {
    background-color: transparent;
}

[data-theme="dark"] .gallery-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

[data-theme="dark"] .gallery-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .gallery-overlay {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(42, 42, 42, 0.9));
}

[data-theme="dark"] .gallery-content h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .gallery-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .gallery-content .btn-light {
    background-color: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .gallery-content .btn-light:hover {
    background-color: var(--bg-tertiary);
    color: var(--primary-color);
}

/* Dark Mode Value Cards (About Page) */
[data-theme="dark"] .value-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .value-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .value-card h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .value-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .value-icon {
    color: var(--primary-color);
}

/* Dark Mode Story Section (About Page) */
[data-theme="dark"] .story-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
}

[data-theme="dark"] .story-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .story-image {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
}

/* Dark Mode Mission & Values Section */
[data-theme="dark"] .mission-values {
    background-color: var(--bg-secondary);
}

/* Dark Mode Team Section Enhancements */
[data-theme="dark"] .team-section {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .team-overlay {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(42, 42, 42, 0.9));
}

[data-theme="dark"] .team-social .social-link {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .team-social .social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Service Card Links */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.service-card-link:hover .service-card {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Dark Mode Service Card Links */
[data-theme="dark"] .service-card-link:hover .service-card {
    background-color: var(--bg-tertiary);
    box-shadow: var(--shadow-lg);
}

/* Featured Products Section Styles */
.featured-products {
    background-color: var(--bg-light);
    padding: 1.5rem 0;
}

.featured-products .section-title {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.featured-products .section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.product-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.product-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.product-card-link:hover .product-card {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(123, 95, 184, 0.9), rgba(63, 45, 107, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    align-items: center;
}

.product-actions .btn {
    min-width: 120px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-actions .btn:hover {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-badge.new {
    background-color: var(--success-color);
}

.product-badge.sale {
    background-color: var(--danger-color);
}

.product-content {
    padding: 1.5rem;
    text-align: center;
}

.product-content h4 {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.3;
}

/* Dark Mode Featured Products */
[data-theme="dark"] .featured-products {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .featured-products .section-title {
    color: var(--text-primary);
}

[data-theme="dark"] .featured-products .section-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .product-card-link:hover .product-card {
    background-color: var(--bg-tertiary);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .product-overlay {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(42, 42, 42, 0.9));
}

[data-theme="dark"] .product-content h4 {
    color: var(--text-primary);
}

/* Mobile Responsiveness for Featured Products */
@media (max-width: 768px) {
    .featured-products {
        padding: 3rem 0;
    }
    
    .featured-products .section-title {
        font-size: 2rem;
    }
    
    .featured-products .section-subtitle {
        font-size: 1rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .product-content h4 {
        font-size: 1.1rem;
    }
    
    .product-actions {
        flex-direction: row;
        gap: 0.25rem;
    }
    
    .product-actions .btn {
        min-width: 100px;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 576px) {
    .featured-products .section-title {
        font-size: 1.75rem;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-content h4 {
        font-size: 1rem;
    }
    
    .product-actions .btn {
        min-width: 80px;
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Dark Mode Forms */
[data-theme="dark"] .form-control {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .form-control:focus {
    background-color: var(--bg-tertiary);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(138, 110, 207, 0.25);
}

[data-theme="dark"] .form-label {
    color: var(--text-primary);
}

/* Dark Mode Buttons */
[data-theme="dark"] .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

[data-theme="dark"] .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

[data-theme="dark"] .btn-outline-secondary {
    color: var(--text-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .btn-outline-secondary:hover {
    background-color: var(--text-secondary);
    border-color: var(--text-secondary);
    color: var(--white);
}

/* Dark Mode Dropdown */
[data-theme="dark"] .dropdown-menu {
    background-color: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .dropdown-item {
    color: var(--text-primary);
}

[data-theme="dark"] .dropdown-item:hover {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Dark Mode Tables */
[data-theme="dark"] .table {
    color: var(--text-primary);
}

[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: var(--bg-tertiary);
}

[data-theme="dark"] .table-hover tbody tr:hover {
    background-color: var(--bg-tertiary);
}

/* Dark Mode Alerts */
[data-theme="dark"] .alert {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

/* Dark Mode Modal */
[data-theme="dark"] .modal-content {
    background-color: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .modal-header {
    background-color: var(--bg-tertiary);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .modal-footer {
    background-color: var(--bg-tertiary);
    border-top-color: var(--border-color);
}

/* Dark Mode Navbar */
[data-theme="dark"] .navbar {
    background: var(--gradient-primary) !important;
}

/* Dark Mode Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(180deg);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 80px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float i {
    font-size: 30px;
    line-height: 1;
}

/* WhatsApp pulse animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float.pulse {
    animation: whatsapp-pulse 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 70px;
        right: 15px;
        font-size: 25px;
    }
    
    .whatsapp-float i {
        font-size: 25px;
    }
}

/* Copyright year styling */
.copyright-year {
    font-weight: 500;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand .brand-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.social-links {
    margin-top: 1.5rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(123, 95, 184, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: var(--primary-color);
    margin-right: 0.75rem;
    transition: var(--transition);
    border: 1px solid rgba(123, 95, 184, 0.2);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    color: var(--white);
    border-color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--white);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .cta-section .row {
        text-align: center;
    }
    
    .cta-section .col-lg-4 {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .logo {
        height: 30px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .service-image {
        height: 200px;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem 0 1.5rem;
    margin-top: 80px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.min-vh-50 {
    min-height: auto;
}

/* Breadcrumb */
.breadcrumb-section {
    padding: 1rem 0;
    background-color: var(--bg-light);
    margin-top: 80px;
}

.breadcrumb {
    margin-bottom: 0;
    background: none;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* Product Categories */
.product-categories {
    padding: 1.5rem 0;
}

.category-card {
    background-color: var(--white);
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow);
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    transition: var(--transition);
}

.category-icon i {
    font-size: 1rem;
    color: var(--white);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 0.6rem;
    font-size: 0.75rem;
    line-height: 1.2;
}

/* Responsive Category Cards */
@media (max-width: 1200px) {
    .category-card {
        padding: 0.6rem;
    }
    
    .category-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0.4rem;
    }
    
    .category-icon i {
        font-size: 0.9rem;
    }
    
    .category-card h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }
    
    .category-card p {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 992px) {
    .category-card {
        padding: 0.5rem;
    }
    
    .category-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 0.3rem;
    }
    
    .category-icon i {
        font-size: 0.8rem;
    }
    
    .category-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .category-card p {
        font-size: 0.65rem;
        margin-bottom: 0.4rem;
    }
}

@media (max-width: 768px) {
    .product-categories {
        padding: 3rem 0;
    }
    
    .category-card {
        padding: 0.4rem;
        margin-bottom: 1rem;
    }
    
    .category-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 0.25rem;
    }
    
    .category-icon i {
        font-size: 0.75rem;
    }
    
    .category-card h4 {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .category-card p {
        font-size: 0.6rem;
        margin-bottom: 0.3rem;
        line-height: 1.1;
    }
    
    .category-card .btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .product-categories {
        padding: 2rem 0;
    }
    
    .category-card {
        padding: 0.3rem;
        margin-bottom: 0.8rem;
    }
    
    .category-icon {
        width: 25px;
        height: 25px;
        margin-bottom: 0.2rem;
    }
    
    .category-icon i {
        font-size: 0.7rem;
    }
    
    .category-card h4 {
        font-size: 0.8rem;
        margin-bottom: 0.15rem;
    }
    
    .category-card p {
        font-size: 0.55rem;
        margin-bottom: 0.25rem;
        line-height: 1.1;
    }
    
    .category-card .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }
}

/* Product Cards */
.product-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(63, 45, 107, 0.8), rgba(123, 95, 184, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 1.5rem;
}

.product-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.product-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Product Details Page */
.product-details {
    padding: 3rem 0;
}

.product-gallery .main-image {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
}

.thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.product-info {
    padding-left: 2rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: var(--accent-color);
}

.rating-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1.25rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.product-options {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.option-group {
    margin-bottom: 1rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    max-width: 150px;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
}

.quantity-selector input {
    margin: 0 0.5rem;
    max-width: 60px;
}

.finish-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-actions {
    margin-bottom: 2rem;
}

.product-features {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

/* Product Specifications */
.product-specs {
    padding: 3rem 0;
}

.spec-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: var(--text-dark);
}

.spec-item:last-child {
    border-bottom: none;
}

.delivery-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.delivery-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-dark);
}

.delivery-item i {
    color: var(--primary-color);
    width: 20px;
}

/* Related Products */
.related-products {
    padding: 3rem 0;
}

/* Feature Items */
.feature-item {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-item .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-item .feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Gallery Styles */
.gallery-filter {
    padding: 2rem 0;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.filter-buttons .btn {
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-buttons .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    padding: 3rem 0;
}

.gallery-item {
    margin-bottom: 1.5rem;
}

.gallery-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(63, 45, 107, 0.8), rgba(123, 95, 184, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: var(--white);
    padding: 1rem;
}

.gallery-content h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Gallery Stats */
.gallery-stats {
    padding: 3rem 0;
}

.stat-item {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Service Cards - Compact Version */
.service-card {
    background-color: var(--white);
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    transition: var(--transition);
}

.service-icon i {
    font-size: 1rem;
    color: var(--white);
}

.service-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.service-card p {
    margin-bottom: 0.6rem;
    font-size: 0.75rem;
    line-height: 1.2;
    color: var(--text-light);
}

.service-card .btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
}

/* Responsive Page Header */
@media (max-width: 1200px) {
    .page-header { padding: 1.5rem 0 1rem; }
    .page-title { font-size: 2.2rem; margin-bottom: 0.4rem; }
    .page-subtitle { font-size: 1rem; }
}

@media (max-width: 992px) {
    .page-header { padding: 1.2rem 0 0.8rem; }
    .page-title { font-size: 2rem; margin-bottom: 0.3rem; }
    .page-subtitle { font-size: 0.95rem; }
}

@media (max-width: 768px) {
    .page-header { padding: 1rem 0 0.6rem; margin-top: 60px; }
    .page-title { font-size: 1.8rem; margin-bottom: 0.25rem; }
    .page-subtitle { font-size: 0.9rem; }
}

@media (max-width: 576px) {
    .page-header { padding: 0.8rem 0 0.5rem; margin-top: 50px; }
    .page-title { font-size: 1.5rem; margin-bottom: 0.2rem; }
    .page-subtitle { font-size: 0.85rem; }

    .product-card h4,
    .service-card h4 {
        font-size: 0.78rem;
        line-height: 1.15;
    }

    .product-card p,
    .service-card p {
        font-size: 0.66rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .page-header { padding: 0.6rem 0 0.4rem; margin-top: 45px; }
    .page-title { font-size: 1.3rem; margin-bottom: 0.15rem; }
    .page-subtitle { font-size: 0.8rem; }

    .product-card,
    .service-card {
        padding: 0.42rem;
    }

    .product-card h4,
    .service-card h4 {
        font-size: 0.68rem;
        line-height: 1.08;
        margin-bottom: 0.2rem;
    }

    .product-card p,
    .service-card p {
        font-size: 0.52rem;
        line-height: 1.12;
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 360px) {
    .product-card,
    .service-card {
        padding: 0.38rem;
    }

    .product-card h4,
    .service-card h4 {
        font-size: 0.62rem;
        line-height: 1.05;
        margin-bottom: 0.18rem;
    }

    .product-card p,
    .service-card p {
        font-size: 0.46rem;
        line-height: 1.1;
        margin-bottom: 0.22rem;
    }

    .service-card .btn,
    .product-card .btn {
        font-size: 0.56rem;
        padding: 0.28rem 0.55rem;
    }
}

/* Responsive Service Cards */
@media (max-width: 1200px) {
    .service-card { padding: 0.6rem; }
    .service-icon { width: 32px; height: 32px; margin-bottom: 0.4rem; }
    .service-icon i { font-size: 0.9rem; }
    .service-card h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
    .service-card p { font-size: 0.7rem; margin-bottom: 0.5rem; }
}

@media (max-width: 992px) {
    .service-card { padding: 0.5rem; }
    .service-icon { width: 30px; height: 30px; margin-bottom: 0.3rem; }
    .service-icon i { font-size: 0.8rem; }
    .service-card h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
    .service-card p { font-size: 0.65rem; margin-bottom: 0.4rem; }
}

@media (max-width: 768px) {
    .services-overview { padding: 3rem 0; }
    .service-card { padding: 0.4rem; margin-bottom: 1rem; }
    .service-icon { width: 28px; height: 28px; margin-bottom: 0.25rem; }
    .service-icon i { font-size: 0.75rem; }
    .service-card h4 { font-size: 0.85rem; margin-bottom: 0.2rem; }
    .service-card p { font-size: 0.6rem; margin-bottom: 0.3rem; line-height: 1.1; }
    .service-card .btn { padding: 0.3rem 0.6rem; font-size: 0.7rem; }
}

@media (max-width: 576px) {
    .services-overview { padding: 2rem 0; }
    .service-card { padding: 0.3rem; margin-bottom: 0.8rem; }
    .service-icon { width: 25px; height: 25px; margin-bottom: 0.2rem; }
    .service-icon i { font-size: 0.7rem; }
    .service-card h4 { font-size: 0.8rem; margin-bottom: 0.15rem; }
    .service-card p { font-size: 0.55rem; margin-bottom: 0.25rem; line-height: 1.1; }
    .service-card .btn { padding: 0.25rem 0.5rem; font-size: 0.65rem; }
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Service Process */
.service-process {
    padding: 1.5rem 0;
}

.process-step {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.process-step h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Choose Us */
.why-choose-us {
    padding: 1.5rem 0;
}

.advantages {
    margin-top: 2rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.advantage-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.advantage-content h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.advantage-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.service-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* Testimonials */
.testimonials {
    padding: 1.5rem 0;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content .stars {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-info h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Page Styles */
.contact-info {
    padding: 3rem 0;
}

.contact-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.contact-icon i {
    font-size: 2rem;
    color: var(--white);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.contact-form-map {
    padding: 3rem 0;
}

.contact-form-section {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.contact-sidebar {
    padding-left: 2rem;
}

.sidebar-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.sidebar-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.business-hours {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
    color: var(--text-dark);
}

.time {
    color: var(--text-light);
}

.quick-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.quick-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 0;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.faq-section {
    padding: 3rem 0;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-button {
    background-color: var(--white);
    border: none;
    font-weight: 600;
    color: var(--text-dark);
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--white);
    color: var(--text-light);
    line-height: 1.6;
}

/* About Page Styles */
.company-story {
    padding: 1.5rem 0;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.story-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.mission-values {
    padding: 1.5rem 0;
}

.value-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.value-icon i {
    font-size: 2rem;
    color: var(--white);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.team-section {
    padding: 1.5rem 0;
}

.team-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(63, 45, 107, 0.8), rgba(123, 95, 184, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 1rem;
}

.team-social .social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.team-social .social-link:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: scale(1.1);
}

.team-content {
    padding: 1.5rem;
}

.team-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.company-stats {
    padding: 3rem 0;
}

.technology-section {
    padding: 1.5rem 0;
}

.technology-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tech-feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.tech-feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.tech-feature h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.tech-feature p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.technology-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.certifications-section {
    padding: 1.5rem 0;
}

.cert-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.cert-icon i {
    font-size: 2rem;
    color: var(--white);
}

.cert-card:hover .cert-icon {
    transform: scale(1.1) rotate(5deg);
}

.cert-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.cert-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Service Single Page Styles */
.service-hero {
    padding: 3rem 0;
}

.service-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--text-dark);
}

.service-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.service-overview {
    padding: 1.5rem 0;
}

.service-feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.service-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-feature-card .feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-feature-card .feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-feature-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-feature-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-feature-card .feature-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.service-feature-card .feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-process {
    padding: 5rem 0;
}

.service-pricing {
    padding: 1.5rem 0;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-body {
    padding: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid #f3f4f6;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.portfolio-preview {
    padding: 1.5rem 0;
}

.portfolio-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(63, 45, 107, 0.8), rgba(123, 95, 184, 0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    text-align: center;
    padding: 1rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== COMPREHENSIVE RESPONSIVE OPTIMIZATION ===== */

/* Mobile First Approach - Base styles for mobile */
/* Text sizes optimized for mobile - SMALLER TEXT */
.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.section-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Icon sizes optimized for mobile */
.contact-icon,
.feature-icon,
.service-icon,
.category-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: var(--white);
}

.contact-icon i,
.feature-icon i,
.service-icon i,
.category-icon i {
    font-size: 1.2rem;
}

/* Card optimizations for mobile - SMALLER TEXT */
.product-card,
.service-card,
.category-card,
.feature-card {
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.product-card h4,
.service-card h4,
.category-card h4 {
    font-size: 0.45rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.product-card p,
.service-card p,
.category-card p {
    font-size: 0.375rem;
    line-height: 1.15;
    margin-bottom: 0.3rem;
}

/* Button optimizations - SMALLER TEXT */
.btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 0.375rem;
}

.btn-lg {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

/* Form optimizations - SMALLER TEXT */
.form-control {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

/* Navbar optimizations - SMALLER TEXT */
.navbar-brand {
    font-size: 1rem;
    font-weight: 600;
}

.nav-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
}

/* Logo optimizations */
.logo {
    max-height: 35px;
    width: auto;
}

/* ===== TABLET OPTIMIZATIONS (768px - 991px) ===== */
@media (min-width: 768px) and (max-width: 991px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-icon,
    .feature-icon,
    .service-icon,
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i,
    .feature-icon i,
    .service-icon i,
    .category-icon i {
        font-size: 1.4rem;
    }
    
    .product-card h4,
    .service-card h4,
    .category-card h4 {
        font-size: 1.1rem;
    }
    
    .product-card p,
    .service-card p,
    .category-card p {
        font-size: 0.9rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .logo {
        max-height: 40px;
    }
}

/* ===== DESKTOP OPTIMIZATIONS (992px+) ===== */
@media (min-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.2rem;
    }
    
    .contact-icon,
    .feature-icon,
    .service-icon,
    .category-icon {
        width: 70px;
        height: 70px;
    }
    
    .contact-icon i,
    .feature-icon i,
    .service-icon i,
    .category-icon i {
        font-size: 1.6rem;
    }
    
    .product-card h4,
    .service-card h4,
    .category-card h4 {
        font-size: 1.2rem;
    }
    
    .product-card p,
    .service-card p,
    .category-card p {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .logo {
        max-height: 45px;
    }
}

/* ===== MOBILE SPECIFIC OPTIMIZATIONS (max-width: 767px) ===== */
@media (max-width: 767px) {
    /* Reduce padding on sections */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Optimize page headers */
    .page-header {
        padding: 1rem 0 0.5rem;
        margin-top: 60px;
    }
    
    /* Optimize hero sections - SMALLER TEXT */
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* Optimize contact cards - SMALLER TEXT */
    .contact-card {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-card h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .contact-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* Optimize form elements - SMALLER TEXT */
    .form-control {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .form-label {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    /* Optimize buttons - SMALLER TEXT */
    .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .btn-lg {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    /* Optimize social links */
    .social-link {
        width: 35px;
        height: 35px;
        line-height: 35px;
        margin-right: 0.5rem;
    }
    
    .social-link i {
        font-size: 0.9rem;
    }
    
    /* Optimize WhatsApp float button */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 70px;
        right: 15px;
    }
    
    .whatsapp-float i {
        font-size: 1.2rem;
    }
}

/* ===== DARK MODE MOBILE CARD OPTIMIZATIONS ===== */
[data-theme="dark"] .product-card,
[data-theme="dark"] .service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

[data-theme="dark"] .product-content h4,
[data-theme="dark"] .service-content h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .product-content p,
[data-theme="dark"] .service-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .product-content .btn,
[data-theme="dark"] .service-content .btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

[data-theme="dark"] .product-content .btn:hover,
[data-theme="dark"] .service-content .btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

[data-theme="dark"] .gallery-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

[data-theme="dark"] .gallery-content h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .gallery-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .gallery-content .btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

[data-theme="dark"] .gallery-content .btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

[data-theme="dark"] .category-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

[data-theme="dark"] .category-card h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .category-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .category-card .btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

[data-theme="dark"] .category-card .btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Dark mode mobile specific optimizations */
@media (max-width: 767px) {
    [data-theme="dark"] .product-card,
    [data-theme="dark"] .service-card {
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    }
    
    [data-theme="dark"] .gallery-card {
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    }
    
    [data-theme="dark"] .category-card {
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    }
    
    [data-theme="dark"] .gallery-overlay {
        background: linear-gradient(transparent, rgba(0,0,0,0.8));
    }
}

@media (max-width: 480px) {
    [data-theme="dark"] .product-card,
    [data-theme="dark"] .service-card {
        box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    }
    
    [data-theme="dark"] .gallery-card {
        box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    }
    
    [data-theme="dark"] .category-card {
        box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    }
}
@media (max-width: 767px) {
    /* Force 2-column layout on mobile */
    .row.g-4 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
    
    .row.g-3 {
        --bs-gutter-x: 0.4rem;
        --bs-gutter-y: 0.4rem;
    }
    
    /* Ensure proper 2-column grid - FORCE 2 COLUMNS */
    .col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    /* Override any single-column mobile styles */
    .col-lg-4.col-md-6.col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    /* Ensure proper spacing between cards */
    .row.g-4 > * {
        padding-right: 0.25rem !important;
        padding-left: 0.25rem !important;
    }
    
    .row.g-3 > * {
        padding-right: 0.2rem !important;
        padding-left: 0.2rem !important;
    }
    
    /* Optimize product/service cards for 2-column mobile - CLEAN GRID DESIGN */
    .product-card,
    .service-card {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
        height: auto;
        min-height: 180px;
        border-radius: 0.5rem;
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
    }
    
    .product-image,
    .service-image {
        height: 100px;
        overflow: hidden;
        border-radius: 0.375rem;
        margin-bottom: 0.5rem;
        flex-shrink: 0;
    }
    
    .product-image img,
    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .product-content,
    .service-content {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .product-content h4,
    .service-content h4 {
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 0.3rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .product-content p,
    .service-content p {
        font-size: 0.7rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        text-align: center;
        flex-grow: 1;
    }
    
    .product-content .btn,
    .service-content .btn {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        margin-top: auto;
        align-self: center;
    }
    
    /* Optimize gallery cards for 2-column mobile - CLEAN GRID DESIGN */
    .gallery-card {
        height: 180px;
        overflow: hidden;
        border-radius: 0.5rem;
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .gallery-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .gallery-overlay {
        padding: 0.5rem;
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
    }
    
    .gallery-content h5 {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
        text-align: center;
    }
    
    .gallery-content p {
        font-size: 0.65rem;
        margin-bottom: 0.3rem;
        text-align: center;
    }
    
    .gallery-content .btn {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
        display: block;
        margin: 0 auto;
    }
    
    /* Optimize category cards for 2-column mobile - CLEAN GRID DESIGN */
    .category-card {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
        min-height: 140px;
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        border-radius: 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .category-icon {
        width: 35px;
        height: 35px;
        margin: 0 auto 0.4rem;
        flex-shrink: 0;
    }
    
    .category-icon i {
        font-size: 0.9rem;
    }
    
    .category-card h4 {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }
    
    .category-card p {
        font-size: 0.65rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
        flex-grow: 1;
    }
    
    .category-card .btn {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
        margin-top: auto;
    }
}

/* ===== VERY SMALL MOBILE OPTIMIZATIONS (max-width: 480px) ===== */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.1rem;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
    }
    
    .page-title {
        font-size: 1.3rem;
    }
    
    .page-subtitle {
        font-size: 0.8rem;
    }
    
    .contact-icon,
    .feature-icon,
    .service-icon,
    .category-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon i,
    .feature-icon i,
    .service-icon i,
    .category-icon i {
        font-size: 1.1rem;
    }
    
    .product-card,
    .service-card,
    .category-card {
        padding: 0.75rem;
    }
    
    .product-card h4,
    .service-card h4,
    .category-card h4 {
        font-size: 0.88rem;
        line-height: 1.2;
    }
    
    .product-card p,
    .service-card p,
    .category-card p {
        font-size: 0.72rem;
        line-height: 1.3;
    }
    
    .navbar-brand {
        font-size: 0.9rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
    }
    
    .logo {
        max-height: 30px;
    }
    
    .btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .btn-lg {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        line-height: 32px;
        margin-right: 0.4rem;
    }
    
    .social-link i {
        font-size: 0.8rem;
    }
    
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 60px;
        right: 12px;
    }
    
    .whatsapp-float i {
        font-size: 1.1rem;
    }
    
    /* Very small mobile 2-column optimizations - MAINTAIN CLEAN GRID */
    .product-card,
    .service-card {
        padding: 0.4rem;
        min-height: 160px;
    }
    
    .product-image,
    .service-image {
        height: 90px;
        margin-bottom: 0.4rem;
    }
    
    .product-content h4,
    .service-content h4 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .product-content p,
    .service-content p {
        font-size: 0.65rem;
        margin-bottom: 0.4rem;
    }
    
    .product-content .btn,
    .service-content .btn {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    .gallery-card {
        height: 160px;
    }
    
    .gallery-content h5 {
        font-size: 0.75rem;
    }
    
    .gallery-content p {
        font-size: 0.6rem;
    }
    
    .gallery-content .btn {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
    }
    
    .category-card {
        padding: 0.4rem;
        min-height: 120px;
    }
    
    .category-icon {
        width: 30px;
        height: 30px;
    }
    
    .category-icon i {
        font-size: 0.8rem;
    }
    
    .category-card h4 {
        font-size: 0.75rem;
    }
    
    .category-card p {
        font-size: 0.6rem;
    }
    
    .category-card .btn {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }
}
