@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
body {
    font-family: 'Inter', sans-serif;
}

/* TM positioning fix */
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
/* Custom animations for heavy equipment */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse-grow {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-grow {
    animation: pulse-grow 2s infinite;
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-on-scroll {
    opacity: 0;
}
@keyframes cardHover {
    from {
        transform: translateY(0);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    to {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.service-card {
    transition: all 0.3s ease;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    animation-delay: calc(var(--order) * 0.15s);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.forfait-card {
    transition: all 0.3s ease;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    animation-delay: calc(var(--order) * 0.15s);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}

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

.forfait-card ul {
    padding-left: 0;
    margin: 0;
}

.forfait-card li {
    list-style: none;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.border-brown-500 {
    border-left-color: #92400e;
}
/* Why Rust Proofing Section Styles */
.border-l-4 {
    border-left-width: 4px;
}
/* Enhanced table styles */
table th {
    background-color: #1E3A8A;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

table tr:nth-child(even) {
    background-color: #f9fafb;
}

table tr:hover {
    background-color: #f3f4f6;
    transition: background-color 0.2s ease;
}

table td, table th {
    padding: 12px 15px;
    text-align: left;
}

table td:not(:first-child) {
    text-align: center;
}
/* Hero title spacing */
.container.mx-auto.px-4 .max-w-3xl {
    padding-top: 1rem;
}
.container.mx-auto.px-4 .max-w-3xl h1 {
    font-size: 3rem;
    line-height: 1.2;
}
/* Services Images Styles */
.grid img {
    transition: all 0.3s ease;
    filter: grayscale(20%);
}
.grid img:hover {
    transform: scale(1.03);
    filter: grayscale(0%);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
/* Testimonial Cards */
.bg-gray-50 {
    transition: all 0.3s ease;
}
.bg-gray-50:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
/* Horizontal testimonial scroll */
.flex.overflow-x-auto {
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.flex.overflow-x-auto::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.flex.overflow-x-auto > div {
    scroll-snap-align: start;
    display: flex;
    gap: 1.5rem;
}

.min-w-[300px] {
    min-width: 300px;
    transition: transform 0.3s ease;
}

.min-w-[300px]:hover {
    transform: translateY(-5px);
}
/* Products Section */
.border-l-4 {
    border-left-width: 4px;
}

/* Custom styles for components */
.testimonial-card {
position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 60px;
    color: rgba(245, 158, 11, 0.1);
    font-family: serif;
    line-height: 1;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}
/* Prix forfait styles */
.text-sm.text-accent.font-bold.mb-1 {
    margin-bottom: 0.25rem;
}

/* Custom styles for forfait checkboxes */
input[type="checkbox"]:checked + label {
    border-color: #F59E0B;
    background-color: rgba(245, 158, 11, 0.1);
}

/* Custom button styles */
.btn-primary {
    background-color: #F59E0B;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #E58E0B;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #1E3A8A;
    color: white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #1A3273;
    transform: translateY(-2px);
}