/*
 * contact.css - Styles for the Contact Us page
 */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Hero Section - Consistent with other pages */
.page-hero {
  position: relative;
  background: url('../images/build1.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 150px 20px 80px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.726); /* درجة التعتيم */
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(112, 112, 112, 0.822) 100%);
  z-index: 2;
}


.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}


.page-hero h1,
.page-hero p {
  position: relative;
  z-index: 1;
}


/* Contact Page Section */
.contact-page-section {
    padding: 80px 0;
    background-color:none;
}

.contact-container {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Contact Info Block (Left Side) */
.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 15px;
}

.contact-info > p {
    color: #050505;
    line-height: 1.7;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: #ff6a00;
    margin-top: 5px;
    width: 25px;
    text-align: center;
}

.info-item strong {
    display: block;
    font-size: 1.2rem;
    color: #111111;
    margin-bottom: 5px;
}

.info-item p {
    margin: 0;
    color: #080808;
    font-size: 1rem;
}

/* Contact Form Container (Right Side) */
.contact-form-container {
    flex: 1.5;
    background-color: #979797;
    padding: 40px;
    border-radius: 20px;
    min-width: 320px;
}

.contact-form-container form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 1 calc(50% - 10px); /* Two columns layout */
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    flex-basis: 100%;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6a00;
    box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #333;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .form-group {
        flex-basis: 100%;
    }
    .contact-form-container {
        padding: 25px;
    }
}