﻿/* General Styling */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 2rem;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: left; /* Ensures the label is left-aligned */
    display: block; /* Makes the label a block element */
}

.form-control {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0.75rem;
}

textarea.form-control {
    resize: none;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

    button:hover {
        background-color: #0056b3;
    }

address {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .col-lg-7,
    .col-lg-4 {
        width: 100%;
        margin: 0;
    }

        .col-lg-4.offset-lg-1 {
            margin-left: 0;
        }
}

@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem; /* Adjust padding for tablet screens */
    }

    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    address {
        font-size: 0.85rem; /* Slightly smaller font size for address */
    }

    .faq-item {
        margin-bottom: 1rem; /* Reduces space between FAQ items */
    }

    .form-group {
        margin-bottom: 1rem; /* Adjust spacing between form fields */
    }
}

@media (max-width: 576px) {
    .row {
        display: block;
    }

    .col-lg-7,
    .col-lg-4 {
        width: 100%;
        margin-bottom: 2rem; /* Adds spacing between stacked columns */
    }

    .card-body {
        padding: 1rem; /* Adjust padding for mobile */
    }

    .form-control,
    textarea.form-control {
        font-size: 0.9rem; /* Smaller font size for form fields */
    }

    .form-label {
        font-size: 0.9rem; /* Smaller font size for labels on mobile */
        text-align: left; /* Ensures labels are aligned to the left */
    }

    button {
        font-size: 1rem; /* Button font size adjustment for mobile */
        padding: 10px 20px; /* Adjust padding */
    }

    .faq-item {
        margin-bottom: 1rem; /* Adjusts spacing */
    }

    .card-body.text-center {
        padding: 1rem; /* Adjust padding for centered text */
    }

    address {
        font-size: 0.8rem; /* Further reduce address font size on mobile */
    }
}
