Inmunofluor Medical Products
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: \'Inter\', sans-serif;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
min-height: 100vh;
padding: 40px 20px;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.section-header {
text-align: center;
margin-bottom: 50px;
animation: fadeInDown 1s ease;
}
.section-header h1 {
color: #2c3e50;
font-size: 2.5rem;
margin-bottom: 15px;
font-weight: 800;
position: relative;
display: inline-block;
}
.section-header h1::after {
content: \'\';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 4px;
background: linear-gradient(90deg, #3498db, #2ecc71);
border-radius: 2px;
}
.section-header p {
color: #7f8c8d;
font-size: 1.1rem;
margin-top: 20px;
}
.products-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 25px;
margin-top: 40px;
}
.product-card {
background: white;
border-radius: 20px;
padding: 30px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
position: relative;
overflow: hidden;
border: 2px solid transparent;
cursor: pointer;
text-decoration: none;
display: block;
}
.product-card::before {
content: \'\';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 5px;
background: linear-gradient(90deg, #3498db, #2ecc71);
transform: scaleX(0);
transition: transform 0.4s ease;
}
.product-card:hover {
transform: translateY(-10px) scale(1.02);
box-shadow: 0 20px 40px rgba(0,0,0,0.15);
border-color: #3498db;
}
.product-card:hover::before {
transform: scaleX(1);
}
.icon-wrapper {
width: 70px;
height: 70px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
position: relative;
transition: all 0.3s ease;
}
.product-card:hover .icon-wrapper {
transform: rotate(360deg) scale(1.1);
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.icon-wrapper i {
font-size: 28px;
color: white;
}
.product-content h3 {
color: #2c3e50;
font-size: 1.4rem;
margin-bottom: 10px;
font-weight: 700;
transition: color 0.3s ease;
}
.product-card:hover .product-content h3 {
color: #3498db;
}
.product-content p {
color: #7f8c8d;
font-size: 0.95rem;
line-height: 1.6;
}
.arrow-icon {
position: absolute;
top: 30px;
right: 30px;
width: 40px;
height: 40px;
background: #ecf0f1;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}
.arrow-icon i {
color: #7f8c8d;
font-size: 16px;
transition: all 0.3s ease;
}
.product-card:hover .arrow-icon {
background: #3498db;
}
.product-card:hover .arrow-icon i {
color: white;
transform: translateX(3px);
}
.badge {
position: absolute;
top: 20px;
left: 20px;
background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
color: white;
padding: 5px 15px;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
}
@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
.floating-bg {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: -1;
overflow: hidden;
}
.floating-bg::before,
.floating-bg::after {
content: \'\';
position: absolute;
width: 300px;
height: 300px;
border-radius: 50%;
background: rgba(52, 152, 219, 0.05);
animation: float 6s ease-in-out infinite;
}
.floating-bg::before {
top: 10%;
right: 10%;
}
.floating-bg::after {
bottom: 10%;
left: 10%;
animation-delay: 3s;
background: rgba(46, 204, 113, 0.05);
}
@media (max-width: 768px) {
.products-grid {
grid-template-columns: 1fr;
}
.section-header h1 {
font-size: 1.8rem;
}
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4); }
70% { box-shadow: 0 0 0 20px rgba(52, 152, 219, 0); }
100% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); }
}
// Animation on scroll
document.addEventListener(\'DOMContentLoaded\', function() {
const cards = document.querySelectorAll(\'.product-card\');
const observer = new IntersectionObserver((entries) => {
entries.forEach((entry, index) => {
if (entry.isIntersecting) {
setTimeout(() => {
entry.target.style.opacity = \'1\';
entry.target.style.transform = \'translateY(0)\';
}, index * 100);
}
});
}, { threshold: 0.1 });
cards.forEach(card => {
card.style.opacity = \'0\';
card.style.transform = \'translateY(30px)\';
card.style.transition = \'all 0.6s ease\';
observer.observe(card);
});
});