.contact-page {
    padding: 60px 0;
    background-color: var(--dark-bg);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

.contact-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 90%;
    letter-spacing: 0.5px;
}

.contact-methods {
    margin-top: 50px;
}

/* Telegram Button Styles */
.telegram-button-container {
    position: relative;
    margin-bottom: 20px;
    animation: pulse 2s infinite ease-in-out;
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background: var(--telegram-color);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px var(--telegram-glow), 
                0 0 20px var(--telegram-glow), 
                inset 0 0 10px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.telegram-button i {
    font-size: 1.8rem;
    margin-right: 15px;
    animation: bounce 2s infinite ease-in-out;
}

.button-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(0, 136, 204, 0) 70%);
    transform: rotate(45deg);
    animation: buttonGlow 3s infinite;
    z-index: 1;
}

.telegram-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-2);
    z-index: -1;
    border-radius: 52px;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.telegram-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px var(--telegram-glow), 
                0 0 30px var(--telegram-glow), 
                inset 0 0 15px rgba(255, 255, 255, 0.3);
}

.telegram-button:hover::before {
    opacity: 1;
}

.telegram-button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 5px 15px var(--telegram-glow);
}

.response-time {
    display: flex;
    align-items: center;
    margin-top: 15px;
    color: var(--text-gray);
    font-size: 1rem;
    background: rgba(30, 30, 30, 0.5);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(76, 175, 80, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.response-time i {
    margin-right: 8px;
    color: var(--primary-color);
    animation: spin 4s infinite linear;
}

.response-time strong {
    color: var(--text-light);
    font-weight: 700;
    text-shadow: 0 0 10px var(--primary-glow);
}

/* Social Icons Styles */
.social-icons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(30, 30, 30, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon i {
    font-size: 1.5rem; /* Ensure all icons are exactly the same size */
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-icon:nth-child(1) {
    background: linear-gradient(135deg, #0088cc, #0077b5);
    border-color: #0088cc;
}

.social-icon:nth-child(2) {
    background: linear-gradient(135deg, #0077b5, #00669c);
    border-color: #0077b5;
}

.social-icon:nth-child(3) {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #e1306c;
}

/* Animations */
@keyframes buttonGlow {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Variables */
:root {
    --primary-color: #4CAF50;
    --primary-glow: rgba(76, 175, 80, 0.6);
    --secondary-color: #2E7D32;
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --card-bg: #1E1E1E;
    --text-light: #FFFFFF;
    --text-gray: #AAAAAA;
    --accent-color: #FF5722;
    --highlight-blue: #3F51B5;
    --telegram-color: #0088cc;
    --telegram-glow: rgba(0, 136, 204, 0.8);
    --gradient-1: linear-gradient(135deg, var(--primary-color), var(--highlight-blue));
    --gradient-2: linear-gradient(135deg, var(--telegram-color), var(--accent-color));
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-title {
        font-size: 2.8rem;
    }
    
    .contact-description {
        font-size: 1rem;
    }
    
    .telegram-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .telegram-button i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .contact-title {
        font-size: 2.2rem;
    }
    
    .contact-page {
        padding: 40px 0;
    }
}
