/* Main Styles for Meg Patakota Portfolio */

/* Smooth scrolling */
* {
    scroll-behavior: smooth;
}

/* Gradient Text Utility */
.gradient-text {
    background: linear-gradient(135deg, #A4243B 0%, #68505B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient Background Utility */
.gradient-bg {
    background: linear-gradient(135deg, #A4243B 0%, #68505B 100%);
}

/* Soft Gradient Background */
.soft-gradient-bg {
    background: linear-gradient(135deg, #fef7e2 0%, #f3e7f6 100%);
}

/* Gradient Border Component */
.gradient-border {
    position: relative;
    background: white;
    border-radius: 1rem;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, #A4243B, #68505B);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

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

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

/* Process Step Arrow */
.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #A4243B, transparent);
}

.process-step:last-child::after {
    display: none;
}

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

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Logo Shimmer Animation */
@keyframes shimmer {
    0%, 100% { 
        filter: grayscale(1) brightness(1);
        opacity: 0.7;
    }
    50% { 
        filter: grayscale(0.3) brightness(1.1);
        opacity: 0.85;
    }
}

.logo-shimmer {
    animation: shimmer 4s ease-in-out infinite;
}

.logo-shimmer:nth-child(1) { animation-delay: 0s; }
.logo-shimmer:nth-child(2) { animation-delay: 1s; }
.logo-shimmer:nth-child(3) { animation-delay: 2s; }
.logo-shimmer:nth-child(4) { animation-delay: 3s; }

/* Stats Number Styling */
.stat-number {
    font-size: 3rem;
    font-weight: 800;
}

/* Responsive: Hide process arrows on mobile */
@media (max-width: 768px) {
    .process-step::after {
        display: none;
    }
}

/* Toast Notification Animation */
@keyframes slideDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.animate-slide-down {
    animation: slideDown 0.3s ease-out;
}
