.contactcontainer {
    margin: 4rem;
    padding: 0;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

.contactSection {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contactheader {
    background: linear-gradient(135deg, rgba(237, 240, 243, 0.8) 0%, rgb(110, 172, 230) 50%, rgba(4, 12, 239, 0.8) 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contactheader::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

.contactheader h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.contactheader p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.contactcontent {
    padding: 60px 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    background: linear-gradient(135deg, rgba(237, 240, 243, 0.8) 0%, rgb(110, 172, 230) 50%, rgba(4, 12, 239, 0.8) 100%);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.contact-info {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #764ba2;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contactheader {
        padding: 40px 20px;
    }

    .contactheader h1 {
        font-size: 2.2rem;
    }

    .contactcontent {
        padding: 40px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .contactheader h1 {
        font-size: 1.8rem;
    }

    .contactheader p {
        font-size: 1rem;
    }

    .contact-card {
        padding: 20px;
    }

}