/* Header Background */
.header-background {
    position: relative;
    min-height: 60vh;
    overflow: hidden;
    background-color: #0d0e10;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    filter: brightness(0.5) blur(5px);
    background-image: url("../../images/backgrounds/ContactPage/headerBackground.webp");
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeIn 2s ease-in-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    color: #b8b8b8;
}

/* Section Header */
.section-header {
    width: 100%;
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.section-header p {
    font-size: 1.25rem;
    color: #b8b8b8;
    max-width: 600px;
    margin: 0 auto;
}

.contact-cards {
    padding: 5rem 2rem;
    background-color: #08080C;
    color: white;
    text-align: center;
}

.contact-cards-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-card {
    background: rgba(31, 31, 31, 0.23);
    backdrop-filter: blur(10px);
    padding: 2rem 1rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.21);
    width: 300px;

}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #4b8aff;
}

.contact-card:hover .card-icon {
    transform: scale(1.1);
    color: #3168d0;
    transition: transform 0.3s ease 0s, color 0.3s ease 0s;
}
.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-card p {
    text-align: center;
    width: 100%;
    margin: 0;
}

.contact-card a {
    display: inline-block;  /* Changed from block to inline-block */
    text-align: center;
    color: #5865F2;
    text-decoration: none;
    transition: opacity 0.3s ease;
    margin: 0 auto;  /* This will center the inline-block element */
}
.contact-card a:hover {
    opacity: 0.8;
    cursor: pointer;
}
/* Discord Card */
.discord-card {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.discord-card .card-icon {
    color: #5865F2;
}
.discord-card:hover .card-icon {
    color: #6470f3;
    transform: scale(1.1);
    transition: transform 0.3s ease 0s, color 0.3s ease 0s;
}
.discord-card h3 {
    color: #5865F2;
}

.discord-card a {
    color: #5865F2;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.discord-card a:hover {
    opacity: 0.8;
    cursor: pointer;
}


/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Mobile Styles */
@media (max-width: 768px) {
    /* Header Background */
    .header-background {
        min-height: 50vh;
    }

    /* Hero Section */
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Contact Cards Section */
    .contact-cards {
        padding: 2rem 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .contact-cards-content {
        gap: 1rem;
    }

    .contact-card {
        padding: 1.5rem;
        width: 100%;
    }

    .card-icon {
        font-size: 1.5rem;
    }

    .contact-card h3 {
        font-size: 1.25rem;
    }

    .contact-card p {
        font-size: 0.9rem;
    }

    /* Discord Card */
    .discord-card {
        background: rgba(88, 101, 242, 0.1);
        border: 1px solid rgba(88, 101, 242, 0.3);
    }

    .discord-card .card-icon {
        color: #5865F2;
    }

    .discord-card:hover .card-icon {
        color: #6470f3;
        transform: scale(1.1);
        transition: transform 0.3s ease 0s, color 0.3s ease 0s;
    }

    .discord-card h3 {
        color: #5865F2;
    }

    .discord-card a {
        color: #5865F2;
        text-decoration: none;
        transition: opacity 0.3s ease;
    }

    .discord-card a:hover {
        opacity: 0.8;
        cursor: pointer;
    }
}
