/* Contact Page Specific Styles */

/* Contact Info Cards with Hover Effects */
.contact-info-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(18, 18, 18, 0.95) 100%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 243, 38, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-info-card:hover::before {
    left: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 243, 38, 0.2);
}

.contact-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 243, 38, 0.1) 0%, rgba(255, 243, 38, 0.05) 100%);
    border: 1px solid rgba(255, 243, 38, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
}

.contact-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.contact-info-card:hover .contact-icon-wrapper::after {
    opacity: 1;
    transform: scale(1.2);
}

.contact-info-card:hover .contact-icon-wrapper {
    background: var(--primary-color);
    color: #000;
    transform: rotate(360deg);
}

/* Contact Form Container with Glass Effect */
.contact-form-container {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(18, 18, 18, 0.98) 100%);
    padding: 50px;
    border-radius: 25px;
    border: 1px solid rgba(255, 243, 38, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 243, 38, 0.05) 0%, transparent 70%);
    animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
    position: relative;
    animation: slideUp 0.6s ease forwards;
    opacity: 0;
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group:nth-child(4) {
    animation-delay: 0.4s;
}

.form-group:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 2;
}

.form-control {
    width: 100%;
    padding: 18px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 2;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 4px rgba(255, 243, 38, 0.1), 0 5px 20px rgba(255, 243, 38, 0.2);
    transform: translateY(-2px);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button Enhancement */
.contact-form-container .btn {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    padding: 20px 40px;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(255, 243, 38, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(255, 243, 38, 0.3);
    }

    50% {
        box-shadow: 0 10px 40px rgba(255, 243, 38, 0.5);
    }
}

.contact-form-container .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 243, 38, 0.5);
}

/* Floating Animation for Contact Icons */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.contact-icon-wrapper {
    animation: float 3s ease-in-out infinite;
}

.contact-info-card:nth-child(1) .contact-icon-wrapper {
    animation-delay: 0s;
}

.contact-info-card:nth-child(2) .contact-icon-wrapper {
    animation-delay: 0.3s;
}

.contact-info-card:nth-child(3) .contact-icon-wrapper {
    animation-delay: 0.6s;
}

/* Map Container Enhancement */
.map-container {
    height: 500px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid rgba(255, 243, 38, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 243, 38, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 30px 25px;
    }

    .form-control {
        padding: 15px;
    }

    .map-container {
        height: 350px;
        border-radius: 15px;
    }
}