shivay00001's picture
each button should be responsive and when click then smothhly open dynamically comprehensive description and details and more like professional website
65931c3 verified
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
}
/* Smooth scrolling for anchor links */
html {
scroll-behavior: smooth;
}
/* Expandable content animations */
.expandable-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease-out, opacity 0.3s ease;
opacity: 0;
}
.expandable-content.active {
max-height: 500px;
opacity: 1;
}
/* Button hover effects */
.btn-hover-effect {
transition: all 0.3s ease;
transform: translateY(0);
}
.btn-hover-effect:hover {
transform: translateY(-2px);
}
/* Card hover effects */
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Research section animations */
.research-card {
transition: all 0.3s ease;
transform: translateY(0);
}
.research-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Gradient backgrounds */
.gradient-card {
background: linear-gradient(135deg, var(--gradient-from), var(--gradient-to));
transition: all 0.3s ease;
}
.gradient-card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}
/* Custom animation for cards */
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Gradient text */
.gradient-text {
background-clip: text;
-webkit-background-clip: text;
color: transparent;
background-image: linear-gradient(to right, #1e40af, #3b82f6);
}
/* Custom button styles */
.btn-primary {
transition: all 0.3s ease;
}
.btn-primary:hover {
transform: translateY(-2px);
}
/* Responsive adjustments */
@media (max-width: 768px) {
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.25rem;
}
}