/* Contact Page Variables */
:root {
    --primary: #991b1b;
    --primary-light: #dc2626;
    --secondary: #ff7f7f;
    --dark: #111827;
    --darker: #0f172a;
    --gray-dark: #1f2937;
    --gray: #4b5563;
    --gray-light: #9ca3af;
    --light: #f3f4f6;
    --lighter: #f9fafb;
    --white: #ffffff;
    --border: #e5e7eb;
}

/* Contact Wrapper */
.contact-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 60px auto;
    gap: 40px;
    align-items: flex-start;
}

/* Main Contact Container */
.contact-container {
    max-width: 900px;
    background: var(--white);
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--gray-dark);
    line-height: 1.8;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    animation: fadeIn 0.6s ease-out forwards;
    flex: 1;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.contact-container h1 {
    font-size: 2.5rem;
    color: var(--darker);
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    padding-bottom: 1rem;
}

.contact-container h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.contact-container p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--gray);
}

.contact-container strong {
    color: var(--dark);
    font-weight: 500;
}

.contact-form-wrapper {
    margin-top: 3rem;
}

/* Social Section */
.contact-social-section {
    width: 300px;
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-social-section h3 {
    font-size: 1.5rem;
    color: var(--darker);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    padding-bottom: 0.75rem;
    text-align: center;
    width: 100%;
}

.contact-social-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Social Icons */
.contact-social-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.contact-social-btn {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
}

.contact-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.contact-social-btn:active,
.contact-social-btn:focus,
.contact-social-btn:visited {
    color: var(--white) !important;
}

.contact-social-btn i {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Social Button Colors */
.contact-social-btn.x {
    background-color: #000000;
}

.contact-social-btn.ig {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.contact-social-btn.fb {
    background-color: #1877F2;
}

.contact-social-btn.gnews {
    background-color: #4285F4;
}

.contact-social-btn.tg {
    background-color: #0088CC;
}

.contact-social-btn.wa {
    background-color: #25D366;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-container {
        padding: 3rem;
        width: 100%;
    }
    
    .contact-social-section {
        width: 100%;
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 2rem;
        margin: 0;
        border-radius: 12px;
    }
    
    .contact-container h1 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}