/* Styling for the consultation section container */
#consultation {
    text-align: center;
}

/* The main single tile container */
.consultation-tile {
    display: flex;
    flex-wrap: wrap; /* Allows stacking on smaller screens */
    background-color: #2c2c2e; /* Dark tile background */
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    margin: 30px auto;
    max-width: 1000px; /* Control the overall width */
    overflow: hidden; /* Ensures child elements adhere to the border radius */
    text-align: left;
}

/* Left side for contact info */
.contact-info-panel {
    flex: 1;
    padding: 40px;
    background-color: #333335; /* Slightly different shade for distinction */
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start; /* Align items to the top for better control */
    gap: 20px;
    text-decoration: none;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.contact-method:not(:last-child) {
    margin-bottom: 1rem;
}

.contact-method:hover {
    background-color: #444;
}

.contact-method i {
    color: var(--accent-color); /* USE ESTABLISHED ACCENT COLOR */
    font-size: 1.6rem;
    margin-top: 3px; /* Add a small top margin to visually center with the title */
}

.contact-method h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.contact-method p {
    margin: 0;
    color: #aaa;
    font-size: 1rem;
}

/* Right side for the form */
.form-panel {
    flex: 1.5; /* Give the form a bit more space */
    padding: 40px;
    min-width: 300px;
}

.form-panel form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-panel input[type="text"],
.form-panel input[type="email"],
.form-panel textarea {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #555;
    background-color: #444;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    box-sizing: border-box;
}

.form-panel input[type="text"]:focus,
.form-panel input[type="email"]:focus,
.form-panel textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.form-panel input[type="text"]::placeholder,
.form-panel input[type="email"]::placeholder,
.form-panel textarea::placeholder {
    color: #aaa;
}

.form-panel textarea {
    min-height: 120px;
    resize: vertical;
}

.form-panel button[type="submit"] {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
}

.form-panel button[type="submit"]:hover {
    background-color: var(--text-color); /* Lighten on hover */
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--glow-color);
}

/* Responsive adjustments */
@media (max-width: 850px) {
    .consultation-tile {
        flex-direction: column;
    }
}
