Spaces:
Running
Running
File size: 2,644 Bytes
296e4a0 a332ada 296e4a0 a332ada 296e4a0 a332ada 296e4a0 a332ada 296e4a0 a332ada 296e4a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | /* Custom CSS for MileTruck Project */
/* Custom Animations */
@keyframes blob {
0% {
transform: translate(0px, 0px) scale(1);
}
33% {
transform: translate(30px, -50px) scale(1.1);
}
66% {
transform: translate(-20px, 20px) scale(0.9);
}
100% {
transform: translate(0px, 0px) scale(1);
}
}
@keyframes partner-scroll {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
}
}
.animate-blob {
animation: blob 7s infinite;
}
.animation-delay-2000 {
animation-delay: 2s;
}
.animate-partner-scroll {
animation: partner-scroll 30s linear infinite;
}
/* Smooth Scroll */
html {
scroll-behavior: smooth;
}
/* Custom Stat Card Styling */
.stat-card {
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
border-radius: 1rem;
border: 1px solid #e2e8f0;
transition: all 0.3s ease;
}
.stat-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(30, 64, 175, 0.1);
border-color: #3b82f6;
}
/* Partner Logo Styling */
.partner-logo {
flex-shrink: 0;
width: 160px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
background: white;
border-radius: 0.75rem;
padding: 1rem;
border: 1px solid #e5e7eb;
transition: all 0.3s ease;
}
.partner-logo:hover {
border-color: #1E40AF;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
/* Fleet Card Styling */
.fleet-card {
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
/* RTL Specific Adjustments */
[dir="rtl"] .space-x-reverse > :not([hidden]) ~ :not([hidden]) {
--tw-space-x-reverse: 1;
}
/* Custom Button Hover Effects */
.hover-lift {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
/* Responsive Typography */
@media (max-width: 640px) {
.text-responsive {
font-size: 1.5rem;
}
}
/* Loading Animation */
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.animate-pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #1E40AF;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #1E3A8A;
} |