@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

/* Background Animated Circles */
.circles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.circles-bg::before,
.circles-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

/* Red circles */
.circles-bg::before {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(181, 30, 34, 0.15), rgba(181, 30, 34, 0.05));
    top: 10%;
    left: 5%;
    animation: float 15s infinite ease-in-out;
}

.circles-bg::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(181, 30, 34, 0.1), rgba(181, 30, 34, 0.03));
    bottom: 10%;
    right: 5%;
    animation: float 20s infinite ease-in-out reverse;
}

/* Additional circles */
body::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(192, 192, 192, 0.15), rgba(192, 192, 192, 0.05));
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 18s infinite ease-in-out;
    z-index: 0;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Logo used in place of brain icon */
.brain-logo {
    display: block;
    width: 560px; /* larger logo */
    max-width: 90%;
    height: auto;
    object-fit: contain;
    filter: none; /* show original logo colors */
    opacity: 1;
}

@media (max-width: 768px) {
    .brain-logo {
        width: 420px;
    }
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

/* @keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
} */

/* Fade In Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-fadeInDown {
    animation: fadeInDown 1s ease-out forwards;
}

.animate-fadeInUp {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

/* Social Icons Hover Effect */
.social-icon {
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(181, 30, 34, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.social-icon:hover::before {
    width: 100px;
    height: 100px;
}

/* Card Hover Effects */
.hover\:-translate-y-1:hover {
    transform: translateY(-4px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .circles-bg::before {
        width: 200px;
        height: 200px;
    }
    
    .circles-bg::after {
        width: 250px;
        height: 250px;
    }
    
    body::before {
        width: 150px;
        height: 150px;
    }
    
    .brain-circles::before {
        width: 120px;
        height: 120px;
    }
    
    .brain-circles::after {
        width: 160px;
        height: 160px;
    }
}
