/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Back Button Styles - Updated */
.back-button {
    position: absolute;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.back-button:hover .arrow-background {
    background: rgba(255, 255, 255, 0.25);
}

.back-button svg {
    width: 24px;
    height: 24px;
}

.arrow-background {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Header styles */
header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
}

.header-content {
    text-align: center;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main content */
main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Contact form styles */
.contact-form-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-form-section h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Contact methods styles */
.contact-methods {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-methods h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 1.8rem;
    text-align: center;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    text-align: center;
    padding: 35px 25px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #fafafa;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    background: white;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.email-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.telegram-icon {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: white;
}

.contact-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.6rem;
    font-weight: 700;
}

.contact-card p {
    margin-bottom: 20px;
    color: #666;
    font-size: 1.2rem;
    font-weight: 500;
}

.contact-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.qr-code {
    margin-top: 20px;
}

.qr-code img {
    width: 150px !important;
    height: 150px !important;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    max-width: 150px !important;
    max-height: 150px !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .back-button {
        left: 15px;
        width: 45px;
        height: 45px;
    }
    
    .back-button svg {
        width: 20px;
        height: 20px;
    }
    
    main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 15px;
    }
    
    .contact-form-section,
    .contact-methods {
        padding: 20px;
    }
    
    .contact-card {
        min-height: 250px;
        padding: 30px 20px;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .contact-card h3 {
        font-size: 1.4rem;
    }
    
    .contact-card p {
        font-size: 1.1rem;
    }
    
    .contact-link {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .qr-code img {
        width: 130px !important;
        height: 130px !important;
        max-width: 130px !important;
        max-height: 130px !important;
    }
}

@media (max-width: 480px) {
    .back-button {
        left: 10px;
        width: 40px;
        height: 40px;
    }
    
    .back-button svg {
        width: 18px;
        height: 18px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .contact-card {
        min-height: 220px;
        padding: 25px 15px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-card p {
        font-size: 1rem;
    }
    
    .contact-link {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .qr-code img {
        width: 110px !important;
        height: 110px !important;
        max-width: 110px !important;
        max-height: 110px !important;
    }
}
