/* Contact Page Styles */
.contact-section {
    padding: 3rem 0;
    min-height: 80vh;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    animation: fadeInUp 0.5s ease;
}

.card-3d {
    transform: perspective(1000px) rotateX(0) rotateY(0);
}

.card-3d:hover {
    transform: perspective(1000px) rotateX(-10deg) rotateY(10deg) translateY(-10px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    color: white;
    animation: float 3s ease-in-out infinite;
}

.contact-card:nth-child(2) .card-icon {
    animation-delay: 0.5s;
}

.contact-card:nth-child(3) .card-icon {
    animation-delay: 1s;
}

.contact-card:nth-child(4) .card-icon {
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.contact-card .btn-3d {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* Message Form */
.message-form {
    padding: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
    animation: slideIn 0.6s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message-form h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-send {
    width: 100%;
    background: #25D366;
    color: white;
    padding: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-send:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
    animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    border-radius: 30%;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
    animation-duration: 25s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    border-radius: 40%;
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
    animation-duration: 30s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-50px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateY(30px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translateY(-30px) rotate(270deg) scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .message-form {
        padding: 1.5rem;
    }
    
    .shape {
        display: none;
    }
}
