/* Custom Styles for Strategist Website */

/* Smooth Animations */
html {
    scroll-behavior: smooth;
}

/* Hero Image Float Animation */
.hero-image {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Floating Cards */
.floating-card {
    animation: float 3s ease-in-out infinite;
}

.floating-card-2 {
    animation: float 4s ease-in-out infinite 1s;
}

/* Service Card Hover Effect */
.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
}

.service-icon {
    transition: all 0.6s ease;
}

/* Progress Bar Animation */
.progress-bar {
    width: 0;
    animation: progressBar 1.5s ease forwards;
}

@keyframes progressBar {
    to {
        width: 100%;
    }
}

.service-card:hover .progress-bar {
    background: linear-gradient(to right, #2563eb, #3b82f6);
}

/* WhatsApp Button Pulse */
.whatsapp-btn {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
}

/* Testimonial Card Styles */
.testimonial-card {
    min-height: 300px;
}

/* FAQ Accordion */
.faq-item {
    overflow: hidden;
}

.faq-answer {
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-icon.rotated {
    transform: rotate(180deg);
}

/* College Card Hover Effect */
.college-card {
    transition: all 0.3s ease;
}

.college-card:hover {
    transform: translateY(-8px);
}

.college-card img {
    transition: transform 0.5s ease;
}

.college-card:hover img {
    transform: scale(1.1);
}

/* Counter Animation */
.counter {
    font-variant-numeric: tabular-nums;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Form Focus States */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Button Hover Effects */
button {
    transition: all 0.3s ease;
}

/* Swiper Custom Styles */
.swiper-slide {
    height: auto;
}

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Success Message */
.success-message {
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-image {
        animation: none;
    }
    
    .floating-card,
    .floating-card-2 {
        position: static;
        margin-top: 1rem;
        animation: none;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-15deg); }
    60% { transform: rotate(10deg); }
    80% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}

.animate-shake {
    display: inline-block;
    animation: shake 2s ease-in-out infinite;
    transform-origin: center;
}
