/* Hero Section Background Image */
.hero::after {
    background-image: url('../images/membership/hands_img.jpeg');
}

/* FAQ Section Styles */
.faq-section {
    width: 70%;
    margin: 0 auto;
    /* Center the section */
    margin-bottom: 30px;
}

.faq-item {
    border-bottom: 1px solid #1c352c;
    /* Divider between FAQ items */
    padding: 26px 0;
    /* Vertical padding for each FAQ item */
}

.faq-question {
    font-weight: bold;
    /* Bold question text */
    cursor: pointer;
    /* Change cursor to pointer on hover */
    display: flex;
    /* Flexbox layout for spacing */
    justify-content: space-between;
    /* Space between question and icon */
    align-items: center;
    /* Center align items vertically */
    color: #1c352c;
    /* Question text color */
    font-size: 19px;
    /* Font size for question */
}

.faq-answer {
    display: none;
    /* Hidden by default */
    margin-top: 15px;
    /* Space above answer */
    padding: 10px;
    /* Inner padding */
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    /* Transition effects */
    overflow: hidden;
    /* Hide overflow */
    background: rgb(28, 53, 44);
    color: white;
    /* Background color */
    border-radius: 10px;
    /* Rounded corners */
    margin-top: 16px;
    /* Margin below question */
}

.faq-item.open .faq-answer {
    display: block;
    /* Display answer when item is open */
}

.perks-detalis {
    background-color: #3c5148;

}

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .flex-item {
        width: 100%;
        /* Stack items vertically on smaller screens */
    }
}

/* Input Styles */
.flex-input {
    width: 100%;
    /* Full width */
    display: flex;
    /* Flexbox for layout */
}

.flex-input input,
.flex-input select {
    width: 50%;
    /* Default width for inputs */
}

/* Edit Section Styles */
.heading-edit {
    padding-top: 30px;
    /* Space above heading */
    background-color: #D5DDDF;
    /* Background color */
    margin: 0;
    /* Remove margins */
}

.heading {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0;
}

.heading h1 {
    font-size: 1.875rem;
    font-weight: 400;
    font-style: normal;
    margin-top: 35px;
}

.container-contact {
    display: flex;
    /* Flexbox for layout */
    flex-wrap: wrap;
    /* Wrap items */
    padding: 20px;
    /* Padding for container */
    align-items: flex-start;
    /* Align items to the top */
    justify-content: center;
    /* Center content */
}

.heading-edit p {
    font-size: 24px;
    /* Font size */
    margin: 20px;
    /* Margins for spacing */
    color: #688E4E;
    /* Text color */
}

/* Contact Info Styles */
.contact-info {
    padding-top: 0;
    /* Remove top padding */
}

.contact-info img {
    width: 91%;
    height: 74vh;
    margin-top: -36px;
}

/* Left and Right Columns */
.left {
    padding: 30px;
    /* Padding for left column */
}

.left img {
    width: 100%;
    /* Full width */
    height: 400px;
    /* Fixed height */
    border-radius: 12px;
    /* Rounded corners */
}

.right {
    padding: 30px 60px;
    padding-bottom: 35px;
}

.right h1 {
    font-size: 24px;
    /* Font size for heading */
    margin: 20px 0;
    /* Vertical margins */
    color: #688E4E;
    /* Text color */
}

.right p {
    color: #1B2727;
    line-height: 23px;
    margin: 20px 0;
}

.perks-detalis {
    background-image: url('../images/perks.jpg');
    /* Replace with your image path */
    background-size: cover;
    /* Adjusts the image to cover the entire div */
    background-position: center;
    /* Centers the image */
    background-repeat: no-repeat;
    /* Prevents the image from repeating */
    width: 100%;
    /* Set the width of the div */

}


.right i {
    margin: 0 5px;
    /* Margin for icons */
    margin-left: 0;
    /* Remove left margin */
}

.faq-section i {
    color: #688E4E;
    background-color: rgb(206, 214, 216);
    /* FAQ icon color */
}

.faq-container {
    color: #688E4E;
    background-color: rgb(206, 214, 216);
    padding: 30px 0px;
    padding-top: 10px;
}

/* Contact Form Styles */
.contact-form {
    background-color: #D5DDDF;
    /* Background color */
    border-radius: 0;
    /* No border radius */
    padding-bottom: 50px;
    /* Bottom padding */
}

/* Input Fields */
#make,
#model,
#year,
#message {
    width: 50%;
    /* Default width */
    margin: 12px 10px;
    /* Margins */
    padding: 10px;
    /* Inner padding */
    border: 1px solid !important;
    /* Border styling */
    border-color: #688E4E !important;
    /* Border color */
    border-radius: 5px;
    /* Rounded corners */
}

/* General Input and Textarea Styles */
input,
select,
textarea {
    margin: 12px 10px;
    /* Margins */
    padding: 10px;
    /* Inner padding */
    border: none;
    /* Remove default border */
    border-radius: 5px;
    /* Rounded corners */
    outline: none;
    /* Remove outline */
    border: 1px solid !important;
    /* Custom border */
    border-color: #688E4E !important;
    /* Border color */
}

input:focus,
select:focus,
textarea:focus {
    outline: 1px solid #688E4E;
    /* Outline on focus */
}

/* Message Input Field */
#message {
    margin: 12px 10px;
    /* Margins for spacing */
    padding: 10px;
    /* Inner padding */
    border: none;
    /* Remove default border */
    border-radius: 5px;
    /* Rounded corners */
    width: 47.5%;
    /* Width of the message input */
}

/* Contact Form Button */
.contact-form button {
    padding: 10px;
    /* Inner padding */
    border: none;
    /* Remove default border */
    background-color: #1B2727;
    /* Button background color */
    color: white;
    /* Button text color */
    border-radius: 5px;
    /* Rounded corners */
    cursor: pointer;
    /* Change cursor to pointer */
    width: 110px;
    /* Fixed button width */
    margin-top: 25px;
    /* Margin above button */
}

#Bob-label {
    position: absolute;
    top: 0px;
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    left: 18px;
    font-size: 13px;
    color: #688E4E;
}

/* Responsive Adjustments for Larger Screens */
@media (max-width: 930px) {
    .contact-form {
        width: 100%;
        /* Full width for contact form */
        min-width: 100%;
        /* Ensure minimum width */
    }
}

/* Responsive Adjustments for Medium Screens */
@media (max-width: 545px) {
    .contact-form {
        width: 100%;
        /* Full width for contact form */
        min-width: 100%;
        /* Ensure minimum width */
    }

    #Bob-label {

        left: 9px;

    }

    /* Flexbox adjustments for input fields */
    .flex-input {
        width: 100%;
        /* Full width for flex container */
        display: flex;
        /* Flexbox layout */
        flex-direction: column;
        /* Stack items vertically */
        align-items: center;
        /* Center align items */
        justify-content: center;
        /* Center justify items */
    }

    /* Input, select, and textarea styles */
    .flex-input input,
    .flex-input select,
    .flex-input textarea {
        width: 100%;
        /* Full width for inputs */
    }

    /* Adjusting message input for small screens */
    #message {
        width: 100%;
        /* Full width for message input */
    }
}

/* Responsive Adjustments for Smaller Screens */
@media (max-width: 596px) {
    .hero h1 {
        color: #fff;
        /* Hero heading text color */
        font-size: 3rem;
        /* Font size for hero heading */
    }
}

/* Responsive Adjustments for Extra Small Screens */
@media (max-width: 480px) {
    .hero h1 {
        color: #fff;
        /* Hero heading text color */
        font-size: 3rem;
        /* Font size for hero heading */
        margin: 0 20px;
        /* Margin for hero heading */
    }
}

/* Further adjustments for very small screens */
@media (max-width: 376px) {
    .hero h1 {
        color: #fff;
        /* Hero heading text color */
        font-size: 37px;
        /* Font size for hero heading */
        margin: 0 20px;
        /* Margin for hero heading */
    }
}

/* Success message styling */
.success-message {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(20px);
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}