/* Robbins Consult - Modern Business Theme */
/* Inspired by contemporary design patterns */

:root {
    --robbins-primary: #171717;
    --robbins-secondary: #ffffff;
    --robbins-accent: #ed0c32;
    --robbins-gray-light: #efefef;
    --robbins-gray-medium: #6c757d;
    --robbins-gray-dark: #343a40;
    --robbins-success: #28a745;
    --robbins-warning: #ffc107;
    --robbins-danger: #ed0c32;
}

/* Mobile-first responsive design */
* {
    box-sizing: border-box;
}


html,
body {
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--robbins-gray-dark);
    background-color: var(--robbins-secondary);

}

.bg-emerald {
    background-color: #264834 !important;
}

.bg-indigo {
    background-color: #293945 !important;
}

.bg-maroon {
    background-color: #3c2742 !important;
}

.text-emerald {
    color: #02431d !important;
}

.text-indigo {
    color: #293945 !important;
}

.text-maroon {
    color: #3c2742 !important;
}

.text-accent {
    color: var(--robbins-accent) !important;
}

.text-light {
    color: var(--robbins-gray-light) !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    height: 3.75rem;
    min-width: 13.75rem;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: -.01em;
    border-radius: 0px;
    line-height: 1;
}

/* Mobile button adjustments */
@media (max-width: 767.98px) {

    .btn {
        height: 3rem;
        min-width: 10rem;
        font-size: 0.75rem;
        padding: 0.75rem 1.5rem;
    }

    .btn-lg {
        height: 3.25rem;
        min-width: 11rem;
        font-size: 0.8rem;
    }
}

.btn-dark {
    background-color: var(--robbins-primary);
    color: var(--robbins-secondary);
}

.btn-dark:hover {
    background-color: #0f0f0f;
    color: var(--robbins-secondary);
    transform: translateY(-2px);
}

.btn-red {
    background-color: var(--robbins-danger);
    color: var(--robbins-secondary);
}

.btn-red:hover {
    background-color: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Accent button styling */
.btn-accent {
    background-color: var(--robbins-accent);
    color: white;
    border: none;
    font-weight: 600;
}

.btn-accent:hover {
    background-color: #b30000;
    color: var(--robbins-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 89, 89, 0.3);
}

.btn-accent:focus {
    background-color: #b30000;
    color: var(--robbins-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 89, 92, 0.25);
}

.btn-outline-accent {
    background-color: transparent;
    color: var(--robbins-accent);
    border: 2px solid var(--robbins-accent);
}

.btn-outline-accent:hover {
    background-color: var(--robbins-accent);
    color: var(--robbins-secondary);
    transform: translateY(-2px);
}

.btn-outline-accent:focus {
    background-color: var(--robbins-accent);
    color: var(--robbins-secondary);
    box-shadow: 0 0 0 0.2rem rgba(237, 12, 50, 0.25);
}

.hover-underline:hover {
    text-decoration: underline !important;
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

.text-dark {
    color: var(--robbins-primary) !important;
}

.text-red {
    color: var(--robbins-danger) !important;
}

.text-grey {
    color: var(--robbins-gray-medium) !important;
}

.ls-tight {
    letter-spacing: 0.1em;
}


p.lead {
    font-size: 1.125rem !important;
}


.mb-6 {
    margin-bottom: 4rem !important;
}


.mt-6 {
    margin-top: 4rem !important;
}

.mt-md-6 {
    margin-top: 4rem !important;
}

.mb-7 {
    margin-bottom: 5rem !important;
}


.pe-6 {
    padding-right: 3rem !important;
}



.pe-7 {
    padding-right: 5rem !important;
}

.pe-md-7 {
    padding-right: 5rem !important;
}

.pe-8 {
    padding-right: 6rem !important;
}

.pe-md-8 {
    padding-right: 6rem !important;
}


.py-7 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.py-md-7 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.py-8 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.py-md-8 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.my-7 {
    margin-top: 5rem !important;
    margin-bottom: 5rem !important;
}

.my-8 {
    margin-top: 6rem !important;
    margin-bottom: 6rem !important;
}






/* 
/* Typography Utilities */
.tracking-wide {
    letter-spacing: 0.1em;
}

.fw-900 {
    font-weight: 900;
}

/* Bootstrap Extensions - Additional Utility Classes */

.fs-1 {
    font-size: 0.75rem !important;
}

.fs-2 {
    font-size: 0.875rem !important;
    /* 14px */
}

.fs-3 {
    font-size: 1rem !important;
    /* 16px */
}

.fs-4 {
    font-size: 1.125rem !important;
    /* 18px */
}

.fs-5 {
    font-size: 1.25rem !important;
    /* 20px */
}

.fs-6 {
    font-size: 1.5rem !important;
    /* 24px */
}

.fs-7 {
    font-size: 1.75rem !important;
    /* 28px */
}

.fs-8 {
    font-size: 2rem !important;
    /* 32px */
}

.fs-9 {
    font-size: 2.25rem !important;
    /* 36px */
}

.fs-10 {
    font-size: 2.5rem !important;
    /* 40px */
}

.fs-11 {
    font-size: 3rem !important;
    /* 48px */
}

.fs-12 {
    font-size: 3.5rem !important;
    /* 56px */
}

.fs-13 {
    font-size: 4rem !important;
    /* 64px */
}




.letter-spacing-tight {
    letter-spacing: -0.025em;
}

.letter-spacing-wide {
    letter-spacing: 0.1em;
}



/* styles on md or larger screens */
@media (min-width: 768px) {
    body {
        padding-top: 80px !important;
        /* Match header height */
    }

    .fs-md-13 {
        font-size: 4rem !important;
        /* 72px */
    }

    .w-md-50 {
        width: 50% !important;
    }

    .w-md-75 {
        width: 75% !important;
    }

    .w-md-100 {
        width: 100% !important;
    }
}




@keyframes slideInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Remove hero-subtitle as it's now handled by Bootstrap lead class */




/* Testimonials - Custom Quote Styling Only */
.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--robbins-gray-dark);
    font-style: italic;
}

.testimonial-author h5 {
    font-weight: 800;
    color: var(--robbins-primary);
    letter-spacing: 0.02em;
}





/* Footer */
.footer-custom {
    background-color: var(--robbins-primary);
    color: white;
    padding: 80px 0 40px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: white;
}

.footer-social a {
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    opacity: 1;
}

/* Service Cards - Enhanced Bootstrap Cards */
.service-card-modern {
    background: white;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    border-radius: 0;
    /* Override Bootstrap default rounded corners for modern look */
}

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

.service-number {
    font-size: 1.5rem;
}

.service-title-modern {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--robbins-primary);
    letter-spacing: 0.02em;
}

.service-description {
    color: var(--robbins-gray-medium);
    line-height: 1.7;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tag {
    background: #f8f9fa;
    color: var(--robbins-gray-medium);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-link {
    color: var(--robbins-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--robbins-accent);
}


/* CTA Section - Simplified */
.cta-section-modern {
    background: var(--robbins-primary);
    padding: 100px 0;
}

.cta-title-modern {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: white;
}


/* ============================================ */
/* RESPONSIVE IMPROVEMENTS */
/* ============================================ */

/* Mobile-first responsive design improvements */
@media (max-width: 575.98px) {

    /* Hero section mobile optimizations */
    .hero-section-modern {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .hero-title-modern {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-content-modern p.lead {
        font-size: 1rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
    }

    /* Service cards mobile stack */
    .service-card-modern {
        border-right: none !important;
        border-bottom: 1px solid #dee2e6 !important;
        margin-bottom: 1rem !important;
    }

    .service-card-modern:last-child {
        border-bottom: none !important;
    }

    /* Testimonials mobile optimization */
    .testimonial-quote {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    /* Button responsive sizing */
    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
        min-width: auto !important;
        width: 100% !important;
        max-width: 280px !important;
    }

    /* Typography mobile adjustments */
    .section-title-modern {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }

    .expertise-item h5 {
        font-size: 1rem !important;
    }

    /* CTA section mobile */
    .cta-title-modern {
        font-size: 2rem !important;
        line-height: 1.1 !important;
    }
}

/* Tablet optimizations */
@media (min-width: 576px) and (max-width: 991.98px) {
    .hero-title-modern {
        font-size: 3rem !important;
        line-height: 1.1 !important;
    }

    .service-card-modern {
        min-height: 350px;
    }

    /* Two-column service layout on medium tablets */
    @media (min-width: 768px) {
        .service-card-modern {
            border-right: 1px solid #dee2e6 !important;
        }

        .col-md-6:nth-child(2n) .service-card-modern {
            border-right: none !important;
        }
    }
}

/* Large tablet to desktop */
@media (min-width: 992px) {
    .service-card-modern {
        border-right: 1px solid #dee2e6 !important;
        border-bottom: none !important;
        min-height: 400px;
    }

    .col-lg-4:last-child .service-card-modern {
        border-right: none !important;
    }

    .pe-md-6 {
        padding-right: 3rem !important;
    }
}

/* Service tags responsive */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background-color: var(--robbins-gray-light);
    color: var(--robbins-gray-dark);
    border-radius: 4px;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .service-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Responsive spacing utilities */
@media (max-width: 575.98px) {
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .mt-5 {
        margin-top: 2rem !important;
    }
}

/* Text alignment responsive helpers */
@media (max-width: 575.98px) {
    .text-center-mobile {
        text-align: center !important;
    }

    .text-start-mobile {
        text-align: left !important;
    }
}

/* Container responsive padding */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Improve touch targets on mobile */
@media (max-width: 767.98px) {
    .service-link {
        display: inline-block;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        font-size: 0.9rem;
    }

    .testimonial-author h5 {
        font-size: 0.9rem;
    }

    .testimonial-author p {
        font-size: 0.8rem;
    }
}

/* ============================================ */
/* NAVBAR DROPDOWN STYLES */
/* ============================================ */

/* Services dropdown styling */
.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
}

.dropdown-item {
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    color: var(--robbins-gray-dark);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--robbins-gray-light);
    color: var(--robbins-primary);
}

.dropdown-item i {
    color: var(--robbins-accent);
    width: 16px;
}

.dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.3;
}

/* Navbar link custom styling */
.nav-link-custom {
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    color: white !important;
    transition: color 0.2s ease;
}

.nav-link-custom:focus {
    color: white !important;
    font-weight: 700;
}

.nav-link-custom:hover {
    color: white !important;
}

.nav-link-custom.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Mobile navigation improvements */
@media (max-width: 991.98px) {
    .navbar-nav {
        display: none;
    }

    .offcanvas {
        width: 300px;
    }

    .offcanvas-body .list-unstyled a {
        display: block;
        padding: 0.5rem 0;
        transition: all 0.2s ease;
    }

    .offcanvas-body .list-unstyled a:hover {
        transform: translateX(4px);
        color: var(--robbins-primary) !important;
    }
}

/* ============================================ */
/* FIXED HEADER STYLES */
/* ============================================ */

/* Fixed header styling */
header.fixed-top {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

/* Header shadow on scroll */
header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}


/* Hero section spacing adjustment for fixed header */
.hero-section-fixed {
    padding-top: 120px;
    margin-top: 0;
}

/* Smooth scroll offset for anchor links */
html {
    scroll-padding-top: 100px;
}



/* Page header spacing for service pages */
.page-header {
    padding-top: 120px !important;
}

/* Service page specific adjustments */
@media (max-width: 575.98px) {
    .page-header {
        padding-top: 100px !important;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .breadcrumb-item+.breadcrumb-item::before {
        margin: 0 0.25rem;
    }
}

/* ============================================ */
/* ANIMATION AND INTERACTIVE ENHANCEMENTS */
/* ============================================ */

/* Fade in animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 {
    transition-delay: 0.2s;
}

.fade-in-delay-2 {
    transition-delay: 0.4s;
}

.fade-in-delay-3 {
    transition-delay: 0.6s;
}

/* Slide in from left/right */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Counter animation */
.counter {
    font-size: 2rem;
    font-weight: 400;
    /* color: var(--robbins-accent); */
    line-height: 1;
}

.counter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--robbins-gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Stats card hover effects */
.stats-card {
    background: white;
    border-radius: 2px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    /* border: 1px solid #e9ecef; */
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--robbins-accent);

}

/* Enhanced service cards with better hover effects */
.service-card-enhanced {
    background: #fbfbfb;
    border-radius: 12px;
    padding: 2.5rem;
    /* transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); */
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

/* .service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.6s ease;
} */

/* .service-card-enhanced:hover::before {
    left: 100%;
}

.service-card-enhanced:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 0px solid;
    border-color: rgb(230, 230, 230);
} */

/* Testimonial carousel enhancements */
.testimonial-carousel .carousel-item {
    padding: 2rem;
    transition: all 0.5s ease;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--robbins-accent);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--robbins-primary);
    border: none;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--robbins-accent);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev {
    left: -60px;
}

.carousel-control-next {
    right: -60px;
}

.carousel-indicators {
    margin-bottom: -50px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--robbins-gray-medium);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--robbins-accent);
    opacity: 1;
    transform: scale(1.2);
}

/* Floating action elements */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s ease;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-cta .btn {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(255, 89, 89, 0.3);
    }

    50% {
        box-shadow: 0 5px 30px rgba(255, 89, 89, 0.6);
    }
}

/* Progress bars for skills */
.progress-modern {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-modern {
    background: linear-gradient(90deg, var(--robbins-accent), #45e085);
    height: 100%;
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
    position: relative;
}

.progress-bar-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Icon animations */
.icon-bounce {
    transition: transform 0.3s ease;
}

.icon-bounce:hover {
    transform: scale(1.2) rotate(5deg);
}

/* Stagger animation delays for lists */
.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

.stagger-5 {
    animation-delay: 0.5s;
}

.stagger-6 {
    animation-delay: 0.6s;
}

/* Parallax effect for hero section */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Enhanced buttons with more interactivity */
.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-enhanced:hover::before {
    left: 100%;
}

.btn-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Additional visual enhancements */

/* Expertise section icons animation */
.expertise-list i {
    transition: all 0.3s ease;
}

.expertise-list .fade-in:hover i {
    transform: scale(1.1);
    color: #45e085 !important;
}

/* Enhanced gradient backgrounds */
.bg-gradient-accent {
    background: linear-gradient(135deg, var(--robbins-accent), #45e085);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--robbins-primary), #0f0f0f);
}

/* Subtle animations for better UX */
@keyframes gentle-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.gentle-bounce {
    animation: gentle-bounce 2s ease-in-out infinite;
}

/* Enhanced shadow utilities */
.shadow-accent {
    box-shadow: 0 10px 30px rgba(89, 255, 145, 0.2) !important;
}

.shadow-dark {
    box-shadow: 0 10px 30px rgba(23, 23, 23, 0.1) !important;
}

/* Better hover states for links */
.enhanced-link {
    position: relative;
    text-decoration: none;
}

.enhanced-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--robbins-accent);
    transition: width 0.3s ease;
}

.enhanced-link:hover::after {
    width: 100%;
}

/* Service cards enhanced interaction */
.service-card-enhanced .service-number {
    transition: all 0.3s ease;
    font-weight: 400;
    color: #cfcfcf;
}

.service-card-enhanced:hover .service-number {
    color: var(--robbins-accent);
    transform: scale(1.1);
}

/* Testimonial carousel improvements */
.carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

/* Loading skeleton for better perceived performance */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Print styles for better accessibility */
@media print {

    .floating-cta,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators {
        display: none !important;
    }

    .fade-in,
    .slide-in-left,
    .slide-in-right {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Modern Testimonial Cards - Tailwind-inspired Bootstrap design */
.testimonial-card-modern {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(229, 231, 235, 0.8);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--robbins-accent);
}

.testimonial-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--robbins-accent), #45e085);
    border-radius: 12px 12px 0 0;
}

.testimonial-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--robbins-gray-dark);
    font-style: normal;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--robbins-accent);
    font-family: Georgia, serif;
    position: absolute;
    top: -20px;
    left: -10px;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-author-modern {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--robbins-accent), #45e085);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.testimonial-author-modern h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--robbins-primary);
    margin-bottom: 2px;
}

.testimonial-author-modern small {
    font-size: 0.85rem;
    color: var(--robbins-gray-medium);
    font-weight: 500;
}

/* Stars styling */
.testimonial-card-modern .stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.testimonial-card-modern .stars i {
    font-size: 0.9rem;
    color: #fbbf24;
}

/* CTA within testimonials */
.testimonial-cta {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 2px solid var(--robbins-accent);
    margin-top: 1rem;
}

.testimonial-cta h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--robbins-primary);
}

/* Floating Testimonials Animation */
.floating-testimonials-container {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0;
    margin: 2rem 0;
}

.floating-testimonials-wrapper {
    display: flex;
    gap: 2rem;
    height: 100%;
    padding: 0 2rem;
    align-items: flex-start;
}

.floating-column {
    flex: 1;
    animation: floatUp 30s linear infinite;
    animation-delay: var(--animation-delay);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 100vh;
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-200vh);
    }
}

.testimonial-card-floating {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(229, 231, 235, 0.6);
    margin-bottom: 2rem;
    min-height: 200px;
    position: relative;
    backdrop-filter: blur(10px);
    opacity: 0.95;
    transition: all 0.3s ease;
}

.testimonial-card-floating:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    opacity: 1;
}

.testimonial-card-floating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--robbins-accent), #45e085);
    border-radius: 16px 16px 0 0;
}

.testimonial-card-floating .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--robbins-gray-dark);
    font-style: italic;
    position: relative;
    margin-bottom: 1rem;
}

.testimonial-card-floating .testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--robbins-accent);
    font-family: Georgia, serif;
    position: absolute;
    top: -15px;
    left: -10px;
    line-height: 1;
    opacity: 0.2;
}

.testimonial-author-floating h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--robbins-primary);
    margin-bottom: 2px;
}

.testimonial-author-floating small {
    font-size: 0.8rem;
    color: var(--robbins-gray-medium);
    font-weight: 500;
}

.testimonial-card-floating .stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.testimonial-card-floating .stars i {
    font-size: 0.8rem;
    color: #fbbf24;
}

.testimonial-card-floating .avatar-placeholder {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--robbins-accent), #45e085);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Fade overlays */
.testimonials-fade-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0.8) 50%, rgba(248, 249, 250, 0) 100%);
    z-index: 10;
    pointer-events: none;
}

.testimonials-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(0deg, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0.8) 50%, rgba(248, 249, 250, 0) 100%);
    z-index: 10;
    pointer-events: none;
}

/* Pause animation on hover */
.floating-testimonials-container:hover .floating-column {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-testimonials-container {
        height: 500px;
    }

    .floating-testimonials-wrapper {
        gap: 1rem;
        padding: 0 1rem;
    }

    .testimonial-card-floating {
        padding: 1rem;
        min-height: 160px;
        margin-bottom: 1.5rem;
    }

    .testimonial-card-floating .testimonial-text {
        font-size: 0.85rem;
    }

    .testimonial-card-floating .avatar-placeholder {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .floating-column {
        animation: floatUp 25s linear infinite;
    }

    /* Additional mobile optimizations */
    .hero-title-modern {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    /* Navigation improvements */
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        border: none;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    /* Button mobile improvements */
    .btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Card grid mobile adjustments */
    .row>[class*="col-"] {
        margin-bottom: 1rem;
    }

    /* Typography mobile adjustments */
    h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    /* Section padding mobile */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .floating-testimonials-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .floating-testimonials-container {
        height: 400px;
    }

    .floating-column {
        flex: none;
        animation: floatUp 20s linear infinite;
    }

    /* Extra small screen optimizations */
    .hero-title-modern {
        font-size: 2rem !important;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Navbar brand smaller on very small screens */
    .navbar-brand img {
        height: 10px !important;
    }

    /* Section spacing for small screens */
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    /* Typography extra small */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* Offcanvas mobile improvements */
    .offcanvas {
        width: 100% !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

    /* .service-card-enhanced:hover,
    .icon-bounce:hover,
    .btn-enhanced:hover {
        transform: none !important;
    } */

    /* Better touch targets */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .min-vh-100 {
        min-height: -webkit-fill-available;
    }

    body {
        min-height: -webkit-fill-available;
    }
}

/* ===== MOBILE RESPONSIVENESS FIXES ===== */

/* Mobile Typography */
@media (max-width: 575.98px) {

    h1,
    .h1 {
        font-size: 1.75rem !important;
    }

    h2,
    .h2 {
        font-size: 1.5rem !important;
    }

    h3,
    .h3 {
        font-size: 1.25rem !important;
    }

    h4,
    .h4 {
        font-size: 1.125rem !important;
    }

    h5,
    .h5 {
        font-size: 1rem !important;
    }

    h6,
    .h6 {
        font-size: 0.875rem !important;
    }

    .hero-title-modern {
        font-size: 2.25rem !important;
        line-height: 1.2 !important;
    }

    .display-1 {
        font-size: 2.5rem !important;
    }

    .display-2 {
        font-size: 2rem !important;
    }

    .display-3 {
        font-size: 1.75rem !important;
    }

    .display-4 {
        font-size: 1.5rem !important;
    }
}

/* Mobile Header Fixes */
@media (max-width: 991.98px) {

    .navbar {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .navbar-brand img {
        height: 12px !important;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1.125rem;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }
}

/* Mobile Button Fixes */
@media (max-width: 575.98px) {
    .btn {
        min-width: auto !important;
        padding: 0.75rem 1.5rem !important;
        font-size: 0.875rem !important;
        height: auto !important;
    }

    .btn-lg {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }

    .btn-sm {
        padding: 0.5rem 1rem !important;
        font-size: 0.75rem !important;
    }
}

/* Mobile Service Cards */
@media (max-width: 767.98px) {

    .service-card-enhanced,
    .service-card-modern {
        margin-bottom: 1.5rem !important;
        /* border: 1px solid #ebedf0 !important; */
        border-radius: 0.5rem !important;
        min-height: auto !important;
        padding: 1.5rem !important;
    }

    .service-card-enhanced:hover,
    .service-card-modern:hover {
        transform: none !important;
    }
}

/* Mobile Spacing */
@media (max-width: 575.98px) {

    /* .container,
    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    } */

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .my-4 {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .px-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .mx-5 {
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }

    .mx-4 {
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }
}

/* Mobile Forms */
@media (max-width: 575.98px) {

    .form-control,
    .form-select {
        padding: 0.75rem !important;
        font-size: 1rem !important;
    }

    .form-control-lg {
        padding: 1rem !important;
        font-size: 1.125rem !important;
    }

    .form-control-sm {
        padding: 0.5rem !important;
        font-size: 0.875rem !important;
    }
}

/* Mobile Offcanvas Improvements */
@media (max-width: 575.98px) {
    .offcanvas-end {
        width: 100% !important;
        max-width: 320px !important;
    }

    .offcanvas-body {
        padding: 1rem !important;
    }

    .offcanvas-header {
        padding: 1rem !important;
    }
}

/* Mobile Image Responsiveness */
@media (max-width: 767.98px) {
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    .img-fluid {
        width: 100% !important;
    }
}

/* Mobile Table Responsiveness */
@media (max-width: 767.98px) {
    .table-responsive {
        border: none !important;
    }

    .table {
        font-size: 0.875rem !important;
    }

    .table th,
    .table td {
        padding: 0.5rem !important;
    }
}

/* Disable animations on mobile for performance */
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile Touch Improvements */
@media (max-width: 767.98px) {

    .btn,
    .nav-link,
    .dropdown-item,
    a {
        /* min-height: 44px !important; */
        display: flex !important;
        align-items: center !important;
        touch-action: manipulation !important;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
}

/* Prevent zoom on input focus (iOS) */
@media (max-width: 767.98px) {

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Mobile Header Auto-Hide */
@media (max-width: 767.98px) {
    header {
        transition: transform 0.3s ease !important;
        will-change: transform;
    }

    header.header-hidden {
        transform: translateY(-100%) !important;
    }

    header.header-visible {
        transform: translateY(0) !important;
    }
}

/* CSS Custom Properties for Mobile VH */
:root {
    --vh: 1vh;
}

.min-vh-100-mobile {
    min-height: calc(var(--vh, 1vh) * 100);
}

/* Mobile Safe Areas (iPhone X+) */
@supports (padding-top: env(safe-area-inset-top)) {
    .mobile-safe-top {
        padding-top: env(safe-area-inset-top);
    }

    .mobile-safe-bottom {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-safe-left {
        padding-left: env(safe-area-inset-left);
    }

    .mobile-safe-right {
        padding-right: env(safe-area-inset-right);
    }
}

/* Improved Mobile Offcanvas */
@media (max-width: 575.98px) {
    .offcanvas-backdrop {
        background-color: rgba(0, 0, 0, 0.8) !important;
    }

    .offcanvas {
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3) !important;
    }
}

/* Mobile Focus Improvements */
@media (max-width: 767.98px) {

    .nav-link:focus,
    .btn:focus,
    .dropdown-item:focus,
    input:focus,
    textarea:focus,
    select:focus {
        outline: 3px solid var(--robbins-accent) !important;
        outline-offset: 2px !important;
    }
}