:where([class^="ri-"])::before {
    content: "\f3c2";
}

.animate-ripple {
    animation: ripple 3s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.delay-2000 {
    animation-delay: 2s;
}

.animate-ripple.delay-1000 {
    animation-delay: 1s;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.8s ease forwards;
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.hero-title {
    font-family: 'Playfair Display', serif;
}

.section-title {
    font-family: 'Playfair Display', serif;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #794692;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.active::after {
    width: 100%;
}

.metric-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.program-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.qualification-card {
    transition: transform 0.3s ease;
}

.qualification-card:hover {
    transform: translateY(-3px);
}

#testimonials .group {
    cursor: pointer;
}

.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #e5e7eb;
    top: 0;
    bottom: 0;
    left: 16px;
    z-index: 0;
}

.timeline-item:first-child::before {
    top: 16px;
}

.timeline-item:last-child::before {
    height: 16px;
}

.timeline-dot {
    position: relative;
    z-index: 1;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover .value-icon {
    transform: translateY(-10px);
}

.value-card:hover .value-title {
    color: #794692;
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

.animate-delay-400 {
    animation-delay: 0.4s;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }

}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }

}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}







/* Add this to your theme's CSS file */

/* Spinner animation for loading states */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Form validation states */
.border-red-500 {
    border-color: #ef4444 !important;
}

.border-green-500 {
    border-color: #10b981 !important;
}

/* Smooth transitions for form elements */
input, select, textarea {
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Focus states */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Message animations */
.message-fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Button hover effects */
button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .grid-cols-1.md\\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
}