/**======================
 * CONTACT PAGE STYLES
 ======================*/
:root {
    --form-bg: rgba(17, 24, 39, 0.6);
    --input-bg: rgba(17, 24, 39, 0.8);
    --form-border: rgba(255, 255, 255, 0.1);
    --label-color: rgba(255, 255, 255, 0.7);
    --input-border: rgba(255, 255, 255, 0.1);
    --input-focus-border: rgba(0, 85, 255, 0.4);
}

/**=================
 * HERO SECTION
 =================*/
.contact__hero {
    display: flex;
    min-height: 50vh;
    overflow: hidden;
    position: relative;
    align-items: center;
    padding: 8rem 0 4rem;
}

.contact__hero-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 70% 30%, var(--blue-200) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, var(--cyan-100) 0%, transparent 40%);
}

.contact__hero-content {
    z-index: 1;
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
    position: relative;
}

.contact__hero-title {
    opacity: 0;
    color: white;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
    font-size: clamp(2.5rem, 7vw, 5rem);
}

.contact__hero-subtitle {
    opacity: 0;
    margin: 0 auto;
    max-width: 600px;
    transform: translateY(30px);
    color: var(--text-secondary);
    animation: fadeInUp 0.8s 0.3s forwards;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/**======================
 * CONTACT FORM SECTION
 ======================*/
.contact__form {
    padding: 5rem 0;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-dark);
}

.contact__wrapper {
    gap: 3rem;
    z-index: 1;
    display: grid;
    position: relative;
    grid-template-columns: minmax(300px, 1fr) minmax(400px, 1.5fr);
}

/* Contact Info Styles */
.contact__info {
    padding: 2rem;
    background: var(--form-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--form-border);
}

.contact__info-title {
    color: white;
    font-weight: 700;
    position: relative;
    margin-bottom: 1.5rem;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.contact__info-title::after {
    left: 0;
    height: 3px;
    width: 60px;
    content: '';
    bottom: -10px;
    position: absolute;
    border-radius: 2px;
    background: var(--gradient-primary);
}

.contact__info-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.contact__info-items {
    gap: 1.5rem;
    display: flex;
    margin-bottom: 2.5rem;
    flex-direction: column;
}

.contact__info-item {
    gap: 1rem;
    display: flex;
    align-items: flex-start;
}

.contact__info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    flex-shrink: 0;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(0, 85, 255, 0.1);
    border: 1px solid rgba(0, 85, 255, 0.3);
}

.contact__info-item:hover .contact__info-icon {
    transform: translateY(-3px);
    background: rgba(0, 85, 255, 0.2);
}

.contact__info-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
}

.contact__info-details h3 {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact__info-details p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact__social h3 {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact__social-links {
    gap: 1rem;
    display: flex;
}

.contact__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(0, 85, 255, 0.1);
}

.contact__social-link:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
}

.contact__social-link svg {
    width: 18px;
    height: 18px;
    color: white;
}

/*========== Form Container Styles ==========*/
.contact__form-container {
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
}

.contact__form-title {
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/**====================
 * BREAKPOINT STYLES
 ====================*/
@media (max-width: 992px) {
    .contact__wrapper {
        grid-template-columns: 1fr;
    }

    .contact__info {
        order: 2;
    }

    .contact__form-container {
        order: 1;
    }
}

@media (max-width: 768px) {
    .form__group--split {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .contact__form {
        padding: 3rem 0;
    }

    .contact__form-container,
    .contact__info {
        padding: 1.5rem;
    }
}