
root {
    --primary-color: #755ea3;
    --hover: #5d4a82;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin-top: 100px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
}

.contact-container {
    margin: 2rem auto;
    max-width: 1300px;
    width: 90%;
}

.contact-header {
    margin-top: 150px;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.1rem;
    color: #666;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(117, 94, 163, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #755ea3;
    box-shadow: 0 0 5px rgba(117, 94, 163, 0.2);
}

.submit-btn {
    background-color: #755ea3;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    box-shadow: 0 2px 5px rgba(117, 94, 163, 0.2);
}

.submit-btn:hover {
    background-color: #5a4a7a;
    box-shadow: 0 4px 8px rgba(117, 94, 163, 0.3);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    padding: 0;
    text-align: left;
}

.error {
    border-color: #dc3545 !important;
}

.success-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.success-message.active { display: flex; }
.success-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: slideIn 0.3s ease-out;
}
.success-content i {
    font-size: 3rem;
    color: #755ea3;
    margin-bottom: 1rem;
}
.success-content h3 { color: #333; margin-bottom: 0.5rem; }
.success-content p { color: #666; margin-bottom: 1.5rem; }
.close-btn {
    background-color: #755ea3;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}
.close-btn:hover { background-color: #5a4a7a; }
@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.success-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.success-message.active {
    display: flex;
}

.success-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 5px 15px rgba(117, 94, 163, 0.2);
}

.success-content i {
    font-size: 3rem;
    color: #755ea3;
    margin-bottom: 1rem;
}

.success-content h3 {
    color: #755ea3;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.success-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.close-btn {
    background-color: #755ea3;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(117, 94, 163, 0.2);
    width: 100%;
    margin-top: 1rem;
}

.close-btn:hover {
    background-color: #5a4a7a;
    box-shadow: 0 4px 8px rgba(117, 94, 163, 0.3);
    transform: translateY(-2px);
}

.contact-popup-btn {
    background-color: #755ea3;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(117, 94, 163, 0.2);
    width: 100%;
    margin-top: 1rem;
}

.contact-popup-btn:hover {
    background-color: #5a4a7a;
    box-shadow: 0 4px 8px rgba(117, 94, 163, 0.3);
    transform: translateY(-2px);
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
} 
