/* ELUX UX/UI Improvements - Focused Enhancements */



/* 2. Improved Hero Section Readability */
.hero-overlay {
    background: linear-gradient(135deg, 
        rgba(0, 31, 63, 0.95) 0%, 
        rgba(0, 51, 102, 0.9) 50%, 
        rgba(0, 31, 63, 0.98) 100%);
}

.hero-title {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-subtitle {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-description {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* 3. Enhanced Mobile Typography */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
}

/* 4. Better Mobile Button Experience */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
        font-size: 1rem;
        font-weight: 600;
    }
    
    .btn-primary {
        background: var(--accent-color);
        border: 2px solid var(--accent-color);
    }
    
    .btn-primary:hover {
        background: #0056b3;
        border-color: #0056b3;
    }
}

/* 5. Improved Mobile Card Layouts */
@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .expertise-card {
        height: 300px;
    }
    
    .expertise-content {
        padding: 1.5rem;
    }
    
    .expertise-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .expertise-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* 6. NEW: Clean Solution Cards with Simple Flip Logic */
.solutions {
    padding: 80px 0;
    background-color: var(--secondary-color);
    position: relative;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.solution-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    min-height: 300px;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.solution-card-front,
.solution-card-back {
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
}

.solution-card-front {
    background: linear-gradient(135deg, var(--primary-color) 0%, #002a5a 100%);
    color: var(--white);
    position: relative;
    z-index: 2;
}

.solution-card-back {
    background: var(--white);
    color: var(--text-dark);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    transform: rotateY(180deg);
    z-index: 1;
}

.solution-card:hover .solution-card-front {
    opacity: 0;
    visibility: hidden;
    transform: rotateY(-180deg);
}

.solution-card:hover .solution-card-back {
    opacity: 1;
    visibility: visible;
    transform: rotateY(0);
}

/* Keep .flipped class for mobile touch support */
.solution-card.flipped .solution-card-front {
    opacity: 0;
    visibility: hidden;
    transform: rotateY(-180deg);
}

.solution-card.flipped .solution-card-back {
    opacity: 1;
    visibility: visible;
    transform: rotateY(0);
}

.solution-icon {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.solution-card-back .solution-icon {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.solution-card-front h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.solution-card-back h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.solution-preview {
    color: var(--white);
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.5;
}

.solution-card-back p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.solution-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 31, 63, 0.1);
}

/* 7. Better Mobile Benefits Grid */
/* Desktop Grid Layout - Ensure horizontal arrangement */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .benefit-item {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .benefit-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .benefit-item h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .benefit-item p {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: none;
    }
}

/* 8. Improved Mobile Trust Section */
/* Desktop Grid Layout - Ensure horizontal arrangement */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .trust-item {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .trust-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .trust-item h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .trust-item p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* 9. Enhanced Mobile Partners Section */
@media (max-width: 768px) {
    .partners-carousel {
        animation-duration: 40s;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .partner-logo {
        width: 120px;
        height: 80px;
        margin: 0 1rem;
        padding: 0.8rem;
    }
    
    .partner-img {
        max-width: 75%;
        max-height: 75%;
    }
}

/* 10. Better Mobile Reviews Section */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }
    
    .review-card {
        padding: 2rem 1.5rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .review-avatar {
        width: 70px;
        height: 70px;
    }
    
    .review-text {
        font-size: 1rem;
        line-height: 1.6;
        padding-left: 1rem;
    }
    
    .review-text::before {
        font-size: 2.5rem;
        top: -0.3rem;
    }
}

/* 11. Enhanced Mobile Contact Section */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .contact-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-icon {
        font-size: 1.4rem;
        width: 40px;
        margin-right: 1rem;
    }
}

/* 12. Improved Mobile Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
        text-align: center;
    }
    
    .footer-section h3::after,
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
        padding: 0.8rem;
        font-size: 1.1rem;
    }
}

/* 13. Enhanced Mobile FAQ Section */
@media (max-width: 768px) {
    .faq-list {
        padding: 0 15px;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* 14. Better Mobile CTA Section */
@media (max-width: 768px) {
    .cta {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* 15. Enhanced Touch Interactions */
@media (hover: none) and (pointer: coarse) {
    .solution-card:active {
        transform: translateY(-4px);
    }
    
    .expertise-card:active {
        transform: translateY(-4px);
    }
    
    .benefit-item:active,
    .trust-item:active {
        transform: translateY(-4px);
    }
    
    .btn:active {
        transform: translateY(-1px);
    }
}

/* 16. Improved Loading States */
.btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 17. Enhanced Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 116, 217, 0.1);
}

/* 18. Better Mobile Spacing */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 15px;
    }
    
    .expertise,
    .why-retrofit,
    .solutions,
    .partners,
    .reviews,
    .trust,
    .cta,
    .faq,
    .contact {
        padding: 50px 0;
    }
}

/* 19. Improved Mobile Image Handling */
@media (max-width: 768px) {
    .expertise-bg-img,
    .about-hero-img {
        object-position: center;
    }
    
    .nav-logo-img {
        height: 45px;
        max-width: 130px;
    }
}

/* 20. Enhanced Mobile Form Experience */
@media (max-width: 768px) {
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        box-shadow: 0 0 0 3px rgba(0, 116, 217, 0.15);
        border-color: var(--accent-color);
    }
    
    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: #999;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* 21. Solutions Section Background Overlay */
.solutions-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 31, 63, 0.05) 0%, 
        rgba(0, 51, 102, 0.03) 50%, 
        rgba(0, 31, 63, 0.08) 100%);
    z-index: 1;
    pointer-events: none;
}

.solutions .container {
    position: relative;
    z-index: 2;
}

/* 22. Enhanced Section Subtitles */
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 1rem;
        max-width: 500px;
        padding: 0 15px;
    }
}

/* 23. Mobile Solution Cards */
@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .solution-card {
        min-height: 280px;
    }
    
    .solution-card-front,
    .solution-card-back {
        padding: 1.5rem 1rem;
    }
    
    .solution-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .solution-card-front h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .solution-card-back h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .solution-preview {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .solution-card-back p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* 24. Mobile Carousel System */
@media (max-width: 768px) {
    /* Carousel Container Styles - Simplified and Fixed */
    .carousel-container {
        position: relative;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        min-height: 200px;
    }
    
    .carousel-track {
        display: flex;
        /* Temporarily removed transition to fix transform issues */
        /* transition: transform 0.4s ease-in-out; */
        width: 300%; /* 3 slides × 100% each */
        transform: translateX(0px);
    }
    
    .carousel-slide {
        flex: 0 0 33.333%;
        min-width: 33.333%;
        padding: 0 5px;
        box-sizing: border-box;
    }
    
    /* Mobile-specific carousel adjustments */
    @media (max-width: 768px) {
        .carousel-track {
            width: 300%; /* 3 slides × 100% each on mobile */
        }
        
        .carousel-slide {
            flex: 0 0 100%;
            min-width: 100%;
        }
    }
    
    /* Prevent horizontal scrolling on mobile */
    body {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }
    
    /* Ensure all carousel sections don't overflow */
    .expertise-carousel,
    .benefits-carousel,
    .solutions-carousel,
    .trust-carousel,
    .reviews-carousel {
        overflow: hidden;
        max-width: 100%;
        width: 100%;
        position: relative;
    }
    
    /* Navigation Buttons */
    .carousel-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        margin-top: 2rem;
        padding: 0 15px;
    }
    
    .carousel-btn {
        background: var(--primary-color);
        color: var(--white);
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
        font-size: 1.2rem;
        box-shadow: var(--shadow);
    }
    
    .carousel-btn:hover {
        background: #002a5a;
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
    }
    
    .carousel-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }
    
    .carousel-btn:disabled:hover {
        background: #ccc;
        transform: none;
        box-shadow: none;
    }
    
    /* Carousel Indicators */
    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    
    .carousel-indicator {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(0, 31, 63, 0.3);
        cursor: pointer;
        transition: var(--transition);
        border: 2px solid transparent;
    }
    
    .carousel-indicator.active {
        background: var(--primary-color);
        border-color: var(--primary-color);
        transform: scale(1.2);
    }
    
    .carousel-indicator:hover {
        background: var(--accent-color);
        border-color: var(--accent-color);
    }
    
    /* Swiper.js Navigation and Pagination Styling */
    .swiper-button-next,
    .swiper-button-prev {
        background: var(--primary-color);
        color: var(--white);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: #002a5a;
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 1.2rem;
        font-weight: bold;
    }
    
    .swiper-pagination {
        position: relative;
        margin-top: 2rem;
    }
    
    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background: rgba(0, 31, 63, 0.3);
        opacity: 1;
        transition: var(--transition);
    }
    
    .swiper-pagination-bullet-active {
        background: var(--primary-color);
        transform: scale(1.2);
    }
    
    /* Mobile navigation styling - transparent background */
    @media (max-width: 768px) {
        .swiper-button-next,
        .swiper-button-prev {
            background: transparent;
            color: var(--primary-color);
            width: 40px;
            height: 40px;
        }
        
        .swiper-button-next:hover,
        .swiper-button-prev:hover {
            background: transparent;
            transform: none;
            box-shadow: none;
        }
    }
    
    /* Hide desktop grid layouts on mobile */
    .expertise-grid,
    .benefits-grid,
    .solutions-grid,
    .trust-grid {
        display: none !important;
    }
    
    /* Show carousel containers on mobile */
    .expertise-carousel,
    .benefits-carousel,
    .solutions-carousel,
    .trust-carousel {
        display: block !important;
    }
}

/* Desktop: Hide carousels */
@media (min-width: 769px) {
    .expertise-carousel,
    .benefits-carousel,
    .solutions-carousel,
    .trust-carousel {
        display: none !important;
    }
    
    .expertise-grid,
    .benefits-grid,
    .solutions-grid,
    .trust-grid {
        display: grid !important;
    }
}

/* Enhanced Carousel Animations */
@media (max-width: 768px) {
    .carousel-slide {
        opacity: 0.8;
        transform: scale(0.95);
        transition: all 0.4s ease-in-out;
    }
    
    .carousel-slide.active {
        opacity: 1;
        transform: scale(1);
    }
    
    /* Smooth slide transitions */
    .carousel-track {
        will-change: transform;
    }
    
    /* Touch-friendly carousel */
    .carousel-container {
        touch-action: pan-y pinch-zoom;
    }
    
    /* Carousel slide content adjustments */
    .carousel-slide .expertise-card,
    .carousel-slide .benefit-item,
    .carousel-slide .solution-card,
    .carousel-slide .trust-item {
        margin: 0;
        height: auto;
        min-height: 300px;
    }
    
    .carousel-slide .expertise-content,
    .carousel-slide .benefit-item,
    .carousel-slide .solution-card-front,
    .carousel-slide .trust-item {
        padding: 1.5rem;
    }
    
    /* Reviews carousel specific styling */
    .reviews-carousel .carousel-slide .review-card {
        margin: 0 auto;
        max-width: 400px;
        box-shadow: var(--shadow);
        border-radius: var(--border-radius);
        background: var(--white);
        padding: 1.5rem;
    }
    
    .reviews-carousel .carousel-slide .review-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1rem;
    }
    
    .reviews-carousel .carousel-slide .review-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        overflow: hidden;
        border: 3px solid var(--primary-color);
    }
    
    .reviews-carousel .carousel-slide .avatar-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .reviews-carousel .carousel-slide .review-rating {
        display: flex;
        gap: 2px;
    }
    
    .reviews-carousel .carousel-slide .review-rating i {
        color: #ffd700;
        font-size: 0.9rem;
    }
    
    .reviews-carousel .carousel-slide .review-content {
        margin-bottom: 1rem;
    }
    
    .reviews-carousel .carousel-slide .review-text {
        font-style: italic;
        line-height: 1.6;
        color: var(--text-dark);
        margin: 0;
    }
    
    .reviews-carousel .carousel-slide .review-footer {
        text-align: center;
        border-top: 1px solid rgba(0, 31, 63, 0.1);
        padding-top: 1rem;
    }
    
    .reviews-carousel .carousel-slide .client-name {
        color: var(--primary-color);
        margin: 0 0 0.25rem 0;
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .reviews-carousel .carousel-slide .client-location {
        color: var(--text-light);
        font-size: 0.9rem;
        font-weight: 500;
    }
    
    /* Responsive carousel navigation */
    @media (max-width: 768px) {
        .carousel-btn {
            width: 40px;
            height: 40px;
            font-size: 0.9rem;
        }
        
        .carousel-nav {
            margin-top: 1.5rem;
        }
        
        .carousel-indicators {
            margin-top: 1rem;
        }
        
        .carousel-indicator {
            width: 10px;
            height: 10px;
        }
    }
    
    @media (max-width: 480px) {
        .carousel-btn {
            width: 35px;
            height: 35px;
            font-size: 0.8rem;
        }
        
        .carousel-nav {
            margin-top: 1rem;
        }
        
        .carousel-indicators {
            margin-top: 0.8rem;
        }
        
        .carousel-indicator {
            width: 8px;
            height: 8px;
        }
    }
}

/* Desktop Reviews Grid Layout */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 31, 63, 0.1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-rating {
    display: flex;
    gap: 3px;
}

.review-rating i {
    color: #ffd700;
    font-size: 1.1rem;
}

.review-content {
    margin-bottom: 1.5rem;
}

.review-text {
    font-style: italic;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
    font-size: 1rem;
}

.review-footer {
    text-align: center;
    border-top: 1px solid rgba(0, 31, 63, 0.1);
    padding-top: 1.5rem;
}

.client-name {
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.client-location {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

/* 25. Enhanced Carousel Accessibility & Touch */
@media (max-width: 768px) {
    /* Improved touch targets */
    .carousel-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .carousel-indicator {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Focus states for accessibility */
    .carousel-btn:focus {
        outline: 3px solid var(--accent-color);
        outline-offset: 2px;
    }
    
    .carousel-indicator:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 1px;
    }
    
    /* Smooth transitions for all interactive elements */
    .carousel-btn,
    .carousel-indicator {
        transition: all 0.2s ease-in-out;
    }
    
    /* Hover effects for touch devices */
    @media (hover: hover) {
        .carousel-btn:hover {
            transform: translateY(-2px) scale(1.05);
        }
        
        .carousel-indicator:hover {
            transform: scale(1.1);
        }
    }
    
    /* Active states for touch feedback */
    .carousel-btn:active {
        transform: translateY(0) scale(0.95);
    }
    
    .carousel-indicator:active {
        transform: scale(0.9);
    }
    
    /* Loading state for carousel transitions */
    .carousel-track.transitioning {
        pointer-events: none;
    }
    
    /* Better visual feedback for current slide */
    .carousel-slide.active {
        z-index: 2;
    }
    
    .carousel-slide:not(.active) {
        z-index: 1;
    }
}

/* 26. Reviews Carousel - Dual Mode (Mobile: 1, Desktop: 2) */
.reviews-carousel {
    display: block; /* Always show on both mobile and desktop */
    overflow: hidden; /* Prevent horizontal overflow */
    max-width: 100%;
    width: 100%;
}

.reviews-carousel .carousel-container {
    overflow: hidden;
    margin: 0 -15px;
    padding: 0 15px;
    max-width: 100vw;
    width: 100%;
}

.reviews-carousel .carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    gap: 0;
}

.reviews-carousel .carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 5px;
}

/* Desktop: Show 2 reviews at once */
@media (min-width: 769px) {
    .reviews-carousel .carousel-slide {
        flex: 0 0 50%;
        min-width: 50%;
    }
    
    .reviews-carousel .carousel-track {
        gap: 1rem;
    }
    
    .reviews-carousel .carousel-slide .review-card {
        margin: 0;
        height: auto;
        min-height: 280px;
    }
}

/* Mobile: Show 1 review at once */
@media (max-width: 768px) {
    .reviews-carousel .carousel-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .reviews-carousel .carousel-slide .review-card {
        margin: 0 auto;
        max-width: 400px;
        height: auto;
        min-height: 300px;
    }
}

/* Reviews carousel specific styling */
.reviews-carousel .carousel-slide .review-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: var(--transition);
}

.reviews-carousel .carousel-slide .review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.reviews-carousel .carousel-slide .review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reviews-carousel .carousel-slide .review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.reviews-carousel .carousel-slide .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviews-carousel .carousel-slide .review-rating {
    display: flex;
    gap: 2px;
}

.reviews-carousel .carousel-slide .review-rating i {
    color: #ffd700;
    font-size: 0.9rem;
}

.reviews-carousel .carousel-slide .review-content {
    margin-bottom: 1rem;
}

.reviews-carousel .carousel-slide .review-text {
    font-style: italic;
    line-height: 1.6;
    color: var(--text-light);
}

.reviews-carousel .carousel-slide .review-footer {
    text-align: center;
}

.reviews-carousel .carousel-slide .client-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.reviews-carousel .carousel-slide .client-location {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 27. Prevent Horizontal Scrolling - Global Fixes */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

/* Ensure all sections don't overflow */
section {
    overflow: hidden;
    max-width: 100%;
    width: 100%;
}

/* Container overflow control */
.container {
    overflow: hidden;
    max-width: 100%;
    width: 100%;
}

/* Prevent horizontal scrolling on all elements */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure the main page wrapper doesn't overflow */
body > * {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Additional carousel overflow fixes */
@media (max-width: 768px) {
    /* Force all carousel elements to stay within bounds */
    .carousel-container,
    .carousel-track,
    .carousel-slide {
        overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Ensure carousel slides don't create horizontal space */
    .carousel-slide > * {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Prevent any horizontal margins or padding from causing overflow */
    .carousel-container {
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ensure the page body cannot scroll horizontally */
    body {
        position: relative;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Fix for iOS Safari horizontal scrolling */
    @supports (-webkit-touch-callout: none) {
        body {
            -webkit-overflow-scrolling: touch;
            overflow-x: hidden !important;
        }
    }
    
    /* Additional carousel slide containment */
    .carousel-slide .expertise-card,
    .carousel-slide .benefit-item,
    .carousel-slide .solution-card,
    .carousel-slide .trust-item,
    .carousel-slide .review-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* Ensure carousel track doesn't exceed container width */
    .carousel-track {
        /* Remove the !important transform override to allow JavaScript to work */
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Force carousel slides to be exactly 100% width */
    .carousel-slide {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 5px !important;
        box-sizing: border-box !important;
    }
}

/* 15. Enhanced Contact Form Styling */
.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 116, 217, 0.1);
}

/* Form Error States */
.form-group.form-error input,
.form-group.form-error select,
.form-group.form-error textarea {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.field-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.field-error::before {
    content: "⚠️";
    font-size: 0.75rem;
}

/* Button Loading State */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Form Success State */
.form-group.form-success input,
.form-group.form-success select,
.form-group.form-success textarea {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Enhanced Form Validation */
.form-group input:valid:not(:placeholder-shown),
.form-group select:valid:not([value=""]),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #28a745;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not([value=""]),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

/* Form Submission Feedback */
.contact-form.submitting {
    opacity: 0.7;
    pointer-events: none;
}

.contact-form.submitting .form-group {
    position: relative;
}

.contact-form.submitting .form-group::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    z-index: 1;
}

/* 26. Enhanced Section Subtitles - Mobile Responsiveness */
.section-subtitle {
    text-align: center;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .section-subtitle {
        margin: 1.5rem auto;
    }
}

@media (max-width: 480px) {
    .section-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
        padding: 0 10px;
        margin: 1rem auto;
        line-height: 1.5;
    }
}

@media (max-width: 375px) {
    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 8px;
        margin: 0.8rem auto;
    }
}

/* 27. CTA Section Mobile Responsiveness */
.cta-content h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    hyphens: auto;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2.2rem;
        line-height: 1.2;
        padding: 0 15px;
        margin-bottom: 1rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 1.8rem;
        padding: 0 10px;
        line-height: 1.3;
    }
    
    .cta-content p {
        font-size: 0.95rem;
        padding: 0 10px;
    }
}

@media (max-width: 375px) {
    .cta-content h2 {
        font-size: 1.6rem;
        padding: 0 8px;
    }
    
    .cta-content p {
        font-size: 0.9rem;
        padding: 0 8px;
    }
}

/* 27. Enhanced Navigation - Centered Menu */
.nav-container {
    position: relative;
}

.nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
}

.nav-cta {
    z-index: 1002;
}

/* 28. ELUX-Style Mobile Hamburger Menu - Matches Site Design */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
    position: relative;
    transition: var(--transition);
}

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

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
    box-shadow: var(--shadow);
}

/* ELUX-style hamburger animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: var(--accent-color);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background-color: var(--accent-color);
}

/* Mobile menu overlay - ELUX-style floating card */
.mobile-menu-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 90%;
    max-width: 380px;
    min-height: 480px;
    background: var(--white);
    z-index: 10000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 2rem;
    opacity: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid rgba(0, 31, 63, 0.1);
}

/* Page overlay for depth - ELUX-style */
.mobile-menu-overlay::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 31, 63, 0.2);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.mobile-menu-overlay.active::after {
    opacity: 1;
}

.mobile-menu-overlay.active {
    display: flex;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Mobile menu items - ELUX-style staggered animation */
.mobile-menu-item {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    position: relative;
    width: 100%;
}

.mobile-menu-overlay.active .mobile-menu-item {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-item:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-item:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-item:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-item:nth-child(5) { transition-delay: 0.3s; }

/* Mobile menu links - ELUX-style button design */
.mobile-menu-link {
    font-size: 1.1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    background: var(--white);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    text-align: center;
    width: 100%;
    max-width: 280px;
    position: relative;
    display: block;
    box-shadow: var(--shadow);
}

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

.mobile-menu-link:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

/* Close button - ELUX-style design */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-weight: 600;
}

.mobile-menu-close:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.mobile-menu-close:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-overlay {
        width: 85%;
        max-width: 360px;
        min-height: 460px;
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
    }
    
    .mobile-menu-link {
        font-size: 1rem;
        padding: 14px 28px;
        max-width: 260px;
    }
}

/* Tablet responsive adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu {
        gap: 2rem;
    }
    
    .nav-menu .nav-link {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .mobile-menu-overlay {
        width: 90%;
        max-width: 320px;
        min-height: 420px;
        padding: 2rem 1.5rem;
        gap: 1.2rem;
    }
    
    .mobile-menu-link {
        font-size: 0.95rem;
        padding: 12px 24px;
        max-width: 240px;
    }
    
    .mobile-menu-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
    
    .hamburger {
        width: 26px;
        height: 22px;
    }
    
    .hamburger .bar {
        height: 2px;
    }
}
