/*contact.css*/

.contact-page {
    padding: 20px;
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
}

/*splits the for and info and columns */
.contact-session {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.contact-info, .contact-form {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/*contact info*/
.contact-info h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
}

.contact-info p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.info-group {
    display: flex;
    align-items: normal;
    margin-bottom: 1rem;
    padding: 20px;
}

.icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    opacity: 0.7;
}

.info-group strong {
    font-weight: bold;
    color: #333;
    margin-right: 5px;
}

/*contact form */
.contact-form h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
}

.contact-form h3{
    margin-bottom: 1.5rem;
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    background-color: #0057B7;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: rgba(255,197,35,255);
}

#thank-you {
  font-size: 1.1rem;
  color: green;
  font-weight: 500;
  background: #f1fdf1;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #b7e6b7;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .contact-session {
        grid-template-columns: 1fr; /* Make it a single column layout */
    }

    .contact-info {
        display: none; /* Hide the contact info section */
    }

    .contact-form {
        padding: 15px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        font-size: 0.95rem;
    }

    .submit-button {
        width: 100%;
    }

    .contact-form h3 {
        text-align: center;
        font-size: 1.4rem;
    }
}

