/* style3.css - Specific styles for business_co2.php */

/* General Body Styling (Similar to style2.css, ensures sticky footer) */


/* Inner Content Wrapper - Consistent max-width for content */
.inner-content {
    max-width: 1000px; /* Slightly narrower for forms to feel focused */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.text-center {
    text-align: center;
}

/* Reusing general button styles - Keep if not defined globally in styles.css */
/* These button styles should ideally come from your main styles.css */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #007bff; /* Blue */
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3; /* Darker Blue */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: #28a745; /* Green */
    color: #fff;
}

.btn-secondary:hover {
    background-color: #218838; /* Darker Green */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-submit {
    margin-top: 30px; /* Space above submit button */
    width: auto; /* Allow button to size to content */
    padding: 15px 35px; /* Make submit button a bit larger */
    font-size: 1.1rem;
}

/* Required field asterisk */
.required {
    color: #dc3545; /* Bootstrap red for required fields */
    margin-left: 2px;
    font-weight: bold;
}

/* Text link style for privacy policy */
.text-link {
    color: #007bff; /* Primary blue for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Form hint text */
.form-hint {
    font-size: 0.9em;
    color: #6c757d; /* Muted grey for hints */
    display: block; /* Ensure it takes its own line */
    margin-top: 5px;
}


/* Header Section */

.business-header {
    background: linear-gradient(rgba(31, 81, 83, 0.747), rgba(0, 140, 117, 0.678));
    color: #fff;
    padding: 110px 0; /* Vertical padding for the section */
    margin-bottom: 40px;
    padding-bottom:30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    justify-content: center; 
    display: flex;
}

.business-header h1 {
    font-size: 3.2rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.business-header .tagline {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Introduction Section */
.business-intro-section {
    padding: 50px 0; /* Vertical padding for the section */
    background-color: #fff; /* White background for readability */
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow */
    border-radius: 8px; /* Slightly rounded corners */
}

.business-intro-section p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px; /* Spacing between paragraphs */
}

.business-intro-section p:last-child {
    margin-bottom: 0;
}

/* Inquiry Form Section */
.inquiry-form-section {
    background-color: #fff;
    padding: 60px 0; /* Vertical padding for the section */
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); /* More prominent shadow for the form block */
    border-radius: 12px;
}

.inquiry-form-section h2 {
    font-size: 2.2rem;
    color: #00a896;
    margin-bottom: 20px;
}

.inquiry-form-section .form-intro-text {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 30px auto; /* Center and add bottom margin */
    line-height: 1.6;
}

.form-wrapper {
    max-width: 700px; /* Max width for the form itself */
    margin: 0 auto; /* Center the form wrapper */
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #fdfdfd; /* Slightly different background for the form area */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.03); /* Inner shadow */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 1.05rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    color: #555;
    box-sizing: border-box; /* Crucial for width: 100% with padding */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.form-group textarea {
    resize: vertical; /* Allow vertical resizing only */
    min-height: 120px; /* Set a minimum height for the textarea */
}

.checkbox-group {
    display: flex;
    align-items: flex-start; /* Align checkbox with text top */
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 5px; /* Align checkbox visually with first line of text */
    margin-right: 10px;
    min-width: 18px; /* Ensure checkbox is visible */
    min-height: 18px;
}

.checkbox-group label {
    font-weight: normal; /* Checkbox labels typically not bold */
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0; /* Remove default label margin */
}

/* Alert messages (for success/error from PHP) */
.alert {
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Back Link Section */
.back-link-section {
    padding: 30px 0;
    margin-bottom: 50px; /* Space before footer */
}

/* Footer */
.business-page-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: auto; /* Pushes footer to the bottom */
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .business-header h1 {
        font-size: 2.8rem;
    }
    .business-header .tagline {
        font-size: 1.2rem;
    }
    .inquiry-form-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .inner-content {
        padding: 0 15px;
    }

    .business-header {
        padding: 60px 0;
        padding-top:120px;
    }
    .business-header h1 {
        font-size: 2.2rem;
    }
    .business-header .tagline {
        font-size: 1rem;
    }
    .business-intro-section {
        padding: 30px 0;
    }
    .inquiry-form-section {
        padding: 40px 0;
    }
    .form-wrapper {
        padding: 20px;
    }
    .form-group label {
        font-size: 1rem;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    .btn-submit {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .checkbox-group label {
        font-size: 0.9rem;
    }
    .alert {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .inner-content {
        padding: 0 10px;
    }
    .business-header {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    .business-header h1 {
        font-size: 1.8rem;
    }
    .business-header .tagline {
        font-size: 0.9rem;
    }
    .business-intro-section {
        padding: 25px 0;
        margin-bottom: 30px;
    }
    .business-intro-section p {
        font-size: 0.95rem;
    }
    .inquiry-form-section {
        padding: 30px 0;
        margin-bottom: 30px;
    }
    .inquiry-form-section h2 {
        font-size: 1.8rem;
    }
    .inquiry-form-section .form-intro-text {
        font-size: 1rem;
    }
    .form-wrapper {
        padding: 15px;
    }
    .form-group {
        margin-bottom: 15px;
    }
    .checkbox-group {
        flex-direction: column; /* Stack checkbox and label */
        align-items: flex-start;
    }
    .checkbox-group input[type="checkbox"] {
        margin-bottom: 5px;
    }
}