/* Contact Page Styles */

/* Hero Section Animation */
.hero-section {
    background: linear-gradient(45deg, #2563eb, #1d4ed8);
    animation: gradientBG 10s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Contact Card Hover Effects */
.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Icons Animation */
.contact-icon {
    transition: all 0.3s ease;
}

.contact-info:hover .contact-icon {
    transform: scale(1.2) rotate(360deg);
    color: #2563eb;
}

/* Form Input Styles */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-input:focus {
    transform: translateY(-2px);
    border-color: #2563eb;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
}

.form-input.error {
    border-color: #ef4444;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Submit Button Styles */
.btn-submit {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-submit:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-submit:hover:before {
    width: 200%;
    height: 200%;
}

.btn-submit.loading-state {
    background-color: #1d4ed8;
}

.btn-submit .loading {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.btn-submit.loading-state .loading {
    display: block;
}

.btn-submit.loading-state .btn-text {
    visibility: hidden;
}

/* Map Container Styles */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.map-container:hover {
    transform: scale(1.01);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Success Message Animation */
.success-message {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info .contact-icon {
        margin-bottom: 1rem;
    }

    .form-container {
        padding: 1.5rem;
    }
}

/* Loading Spinner Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading i {
    animation: spin 1s linear infinite;
}

/* Social Media Icons */
.social-icons a {
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: #2563eb !important;
} 