HYGHYN's picture
Clone website 100% Clone no modified
f89ea03 verified
Raw History Blame Contribute Delete
3.77 kB
/* Custom Animations */
@keyframes fade-in {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in {
animation: fade-in 1s ease-out;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #2563eb;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #1d4ed8;
}
/* Smooth Scroll */
html {
scroll-behavior: smooth;
}
/* Counter Animation */
.counter {
transition: all 0.3s ease;
}
/* FAQ Toggle Animation */
.faq-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-out;
}
.faq-content.show {
max-height: 500px;
transition: max-height 0.5s ease-in;
}
.faq-toggle.active i {
transform: rotate(180deg);
}
/* Hover Effects */
.hover-lift {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
/* Gradient Text */
.gradient-text {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Glass Effect */
.glass {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.18);
}
/* Form Validation */
input:invalid {
border-color: #ef4444;
}
input:valid {
border-color: #10b981;
}
/* Loading Spinner */
.spinner {
border: 3px solid #f3f3f3;
border-top: 3px solid #2563eb;
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Mobile Menu Animation */
.mobile-menu {
transform: translateX(-100%);
transition: transform 0.3s ease-in-out;
}
.mobile-menu.active {
transform: translateX(0);
}
/* Pulse Animation */
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
/* Responsive Typography */
@media (max-width: 640px) {
.text-responsive {
font-size: 1.5rem;
}
}
/* Card Hover Effect */
.card-hover {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
transform: scale(1.05);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Button Gradient */
.btn-gradient {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
transition: all 0.3s ease;
}
.btn-gradient:hover {
background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* Navigation Active State */
.nav-link {
position: relative;
}
.nav-link::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 2px;
background: #2563eb;
transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
width: 100%;
}
/* Success/Error Messages */
.message-success {
background-color: #10b981;
color: white;
padding: 1rem;
border-radius: 0.5rem;
margin-top: 1rem;
}
.message-error {
background-color: #ef4444;
color: white;
padding: 1rem;
border-radius: 0.5rem;
margin-top: 1rem;
}
/* Image Hover Zoom */
.image-zoom {
overflow: hidden;
}
.image-zoom img {
transition: transform 0.3s ease;
}
.image-zoom:hover img {
transform: scale(1.1);
}