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

body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

h1, h2 {
    font-family: 'Alfa Slab One', cursive;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.contact-tree {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tree-item {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tree-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tree-item i {
    font-size: 1.5rem;
    color: #4a4a4a;
    width: 30px;
    text-align: center;
}

.tree-item a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.1rem;
}

.tree-item a:hover {
    color: #007bff;
}

.logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-img {
    max-width: 150px;
    height: auto;
}

.contact-form {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.contact-form h2 {
    font-family: 'Alfa Slab One', cursive;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #1a1a1a;
    letter-spacing: 1px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

.form-group label::after {
    content: "*";
    color: #dc3545;
    margin-left: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-group input[type="tel"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input[type="tel"]:focus {
    outline: none;
    border-color: #007bff;
}

.form-group input[type="tel"]:invalid {
    border-color: #dc3545;
}

.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #dc3545;
}

.form-group input:focus:invalid,
.form-group textarea:focus:invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

.form-group input:focus:valid,
.form-group textarea:focus:valid {
    border-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.25);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.submit-btn.loading .button-text {
    visibility: hidden;
}

.loading-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

.submit-btn.loading .loading-spinner {
    display: block;
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .tree-item {
        padding: 0.8rem;
    }
    
    .tree-item i {
        font-size: 1.2rem;
    }
    
    .tree-item a {
        font-size: 1rem;
    }
} 