/* Custom styles for Infinra website */

/* Responsive adjustments */
@media (max-width: 768px) {
    .layout-content-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .package-card {
        margin-bottom: 1.5rem;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .contact-section {
        flex-direction: column;
    }
    
    .contact-form, .contact-info {
        width: 100%;
    }
}

/* RTL adjustments */
[dir="rtl"] .ml-auto {
    margin-right: auto;
    margin-left: 0;
}

[dir="rtl"] .mr-auto {
    margin-left: auto;
    margin-right: 0;
}

/* Animation for package cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.package-animation {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* WhatsApp button animation */
.whatsapp-button {
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

/* Form styling */
.form-input:focus {
    border-color: #4338CA;
    box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.1);
}

/* Accordion animation */
.accordion-content {
    transition: max-height 0.3s ease-out;
    overflow: hidden;
}

.accordion-content.open {
    max-height: 1000px;
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(67, 56, 202, 0.2);
}

/* Card hover effect */
.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);
}

/* Section spacing */
.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* Pricing badge */
.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #14B8A6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Highlight section */
.highlight-section {
    background: linear-gradient(135deg, #4338CA 0%, #14B8A6 100%);
    color: white;
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin: 2rem 0;
}

.highlight-section h2, 
.highlight-section p {
    color: white;
}

/* Testimonial styling */
.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Feature list */
.feature-list li::before {
    content: "✓";
    color: #14B8A6;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: 0.5em;
}

/* Social icons */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* Utility classes */
.text-gradient {
    background: linear-gradient(90deg, #4338CA 0%, #14B8A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-light {
    background: linear-gradient(135deg, #EEF2FF 0%, #D1FAE5 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #111827 0%, #065F46 100%);
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Notification toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: #14B8A6;
    color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}