/* Sample Page Styles */

/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/b53bcdb62be1e9a221f8afc150ceaeac.png');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-text-overlay {
    text-align: center;
    width: 90%;
    max-width: 1200px;
}

.hero-text-overlay p {
    color: #ffffff;
    font-size: clamp(20px, 2vw, 32px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Form Section */
.form-section {
    padding: 60px 0 40px;
    background-color: #fff;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-group label {
    width: 100px;
    text-align: right;
    margin-right: 20px;
    font-weight: bold;
    color: #555;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 12px;
    /* Align with input text */
}

.input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    color: #333;
    background-color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    /* Align label to top for textarea */
    margin-top: 0;
}

/* Special handling for textarea label alignment */
.form-group:has(textarea) {
    align-items: flex-start;
}

/* Fallback for older browsers if :has isn't supported, though most do now. 
   Alternatively we can target the label specifically if we added a class, 
   but let's try to keep HTML clean. 
   Actually, let's just use a more specific selector approach or inline style in HTML if needed, 
   but CSS is better. 
   Let's target the label sibling of textarea if possible, or just set align-items: flex-start on .form-group 
   and use margin-top on label for inputs. 
   Better approach:
*/
.form-group {
    align-items: flex-start;
    /* Align everything to top by default */
}

.form-group label {
    margin-top: 12px;
    /* Push label down to center with single-line inputs */
}

.form-group textarea {
    margin-top: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ffb07c;
    box-shadow: 0 0 0 2px rgba(255, 176, 124, 0.2);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ccc;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-left: 120px;
    /* Offset for label width + margin to center visually relative to inputs, or just center relative to container */
}

/* Actually, the image shows the button centered relative to the whole form width, not aligned with inputs. */
.form-actions {
    padding-left: 0;
}

.btn-submit {
    background-color: #F89966;
    /* Light orange from image */
    color: #fff;
    padding: 12px 60px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: auto;
    /* Auto width based on padding */
    min-width: 200px;
}

.btn-submit:hover {
    background-color: #e68a5c;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(248, 153, 102, 0.3);
}

.form-message {
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    color: green;
}

.form-message.error {
    color: red;
}

/* Section Headers (Contact Us) */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 14px;
    color: #888;
    font-weight: 400;
    margin-bottom: 15px;
}

.orange-underline {
    width: 60px;
    height: 3px;
    background: #F89966;
    margin: 0 auto;
    border-radius: 2px;
}

.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background-color: #fff6f6;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.contact-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-info {
    flex: 1;
}

.contact-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.contact-text {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

/* Responsive */
@media (max-width: 991px) {
    .section-title {
        font-size: 36px;
    }

    .contact-grid {
        gap: 20px;
    }

    .contact-card {
        padding: 30px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 300px;
    }

    .form-section,
    .contact-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-card {
        padding: 25px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
    }

    .contact-title {
        font-size: 18px;
    }
}