/* Adapted from Binnaria Contact Page */
body {
    background-color: var(--dark-bg);
}

:root {
    --bin-accent: #DC2626;
    /* Adapted to Marius Red */
    --bin-accent-glow: rgba(220, 38, 38, 0.3);
    --bin-text-secondary: #A0A0A0;
    --bin-bg-card: #111111;
}

/* Animations */
.bin-animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.bin-animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.bin-stagger-1 {
    transition-delay: 0.1s;
}

.bin-stagger-2 {
    transition-delay: 0.2s;
}

.bin-stagger-3 {
    transition-delay: 0.3s;
}

/* Contact Hero */
.bin-hero {
    min-height: 50vh;
    padding: 8rem 0 4rem;
    /* Added padding to account for fixed header */
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
}

.bin-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.bin-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cards Grid */
.bin-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.bin-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bin-card:hover {
    transform: translateY(-8px);
    border-color: var(--bin-accent);
    box-shadow: 0 10px 40px var(--bin-accent-glow);
}

.bin-card-icon-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 6rem;
    opacity: 0.05;
}

.bin-card-icon {
    height: 4rem;
    margin-bottom: 1.5rem;
    font-size: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bin-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
}

.bin-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: auto;
}

.bin-btn-outline {
    background: transparent;
    border: 2px solid var(--bin-accent);
    color: var(--bin-accent);
}

.bin-btn-outline:hover {
    background: var(--bin-accent);
    color: white;
    box-shadow: 0 0 20px var(--bin-accent-glow);
}

.bin-bg-glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* WhatsApp specific overrides */
.bin-whatsapp-card {
    background: linear-gradient(145deg, rgba(37, 211, 102, 0.12), rgba(37, 211, 102, 0.05));
    border: 2px solid rgba(37, 211, 102, 0.3);
}

.bin-whatsapp-card:hover {
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.3);
    border-color: #25D366;
}

.bin-btn-whatsapp {
    border-color: #25D366;
    color: #25D366;
}

.bin-btn-whatsapp:hover {
    background: #25D366;
    color: white;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

/* Floating Button */
.bin-whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: bin-pulse 2s infinite;
}

.bin-whatsapp-float:hover {
    transform: scale(1.1);
}

.bin-whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@keyframes bin-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}