.apply-section {
    background: url('./images/camera.jpg') no-repeat center center/cover;
    padding: 200px 20px; /* Increased padding for more height */
    text-align: center;
    position: relative;
    font-family: 'Roboto', sans-serif; /* Adding a clean font */
}

.apply-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.apply-content {
    position: relative;
    z-index: 2; /* Ensures visibility above the overlay */
    color: white;
    max-width: 90%; /* Increased width to allow more space */
    margin: auto;
    text-align: center;
}

.apply-content h2 {
    font-size: 2.5rem; /* Increased font size for better visibility */
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif; /* Stylish font for the header */
    white-space: nowrap; /* Keeps text in a single line */
    display: inline-block; /* Prevents forced line breaks */
    width: auto; /* Ensures it takes up only as much space as needed */
}

.apply-content p {
    font-size: 1.4rem; /* Increased font size */
    line-height: 1.6; /* More line spacing for readability */
    margin-bottom: 30px; /* Increased margin for spacing */
    font-family: 'Open Sans', sans-serif; /* Modern font for the paragraph */
}

/* Apply Button */
.apply-btn {
    display: inline-block;
    background: #7abd98;
    color: white;
    padding: 14px 28px; /* Slightly bigger padding for better button size */
    font-size: 1.3rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.apply-btn:hover {
    background: #5a9b78;
}

/* 🔹 Responsive Adjustments */
@media (max-width: 768px) {
    .apply-section {
        padding: 100px 15px; /* Increased top padding to prevent overlap */
    }

    .apply-content {
        max-width: 90%;
        margin: 0 auto;
        text-align: center;
    }

    .apply-content h2 {
        font-size: 1.8rem;
        white-space: normal;
        max-width: 100%;
        padding-top: 20px; /* Added padding above h2 */
    }

    .apply-content p {
        font-size: 1.1rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .apply-btn {
        font-size: 1rem;
        padding: 10px 20px;
        width: 30%;
        max-width: 300px;
        display: block;
        margin: 15px auto;
    }
}

/* 🔹 Extra Small Screens (Phones) */
@media (max-width: 480px) {
    .apply-section {
        padding: 80px 10px; /* Further increased top padding */
    }

    .apply-content {
        max-width: 95%;
    }

    .apply-content h2 {
        font-size: 1.6rem;
        padding-top: 25px; /* More padding for very small screens */
    }

    .apply-content p {
        font-size: 1rem;
    }

    .apply-btn {
        font-size: 0.95rem;
        padding: 8px 18px;
    }
}




.benefits-section {
    text-align: center;
    padding: 80px 20px;
    background: #f8f8f8; /* Light grey background for a clean look */
    color: #333;
}

.benefits-section h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
}

.benefits-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.benefit {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
    width: 260px;
}

.benefit:hover {
    transform: translateY(-10px);
}

.benefit img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.benefit h3 {
    font-size: 1.6rem;
    color: #7abd98;
    margin-bottom: 10px;
}

.benefit p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.5;
}

/* Responsive Design */
/* Responsive Design */
@media (max-width: 992px) {
    .benefits-container {
        gap: 15px;
    }

    .benefit {
        width: 45%; /* Two cards per row */
        padding: 18px;
    }
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 40px 10px; /* Reduce section padding */
    }

    .benefits-container {
        flex-direction: column;
        align-items: center;
    }

    .benefit {
        width: 90%; /* Full width for mobile */
        padding: 15px; /* Reduced padding */
    }

    .benefit h3 {
        font-size: 1.2rem;
    }

    .benefit p {
        font-size: 0.95rem;
    }
}




/* General Section Styling */
.how-it-works {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background-color: #1a1919;
}

/* Container Layout */
.how-it-works-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Left Section: Steps */
.how-it-works-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Centered Title */
.how-it-works-content h2 {
    font-size: 2rem;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Step Cards - Vertical Alignment with Reduced Height */
.step-card {
    background: #f8f9fa;
    padding: 10px 20px;  /* Reduced padding on top and bottom */
    border-radius: 8px;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;  /* Less space between cards */
    transition: transform 0.3s ease-in-out;
    min-height: 60px; /* Adjusted height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-card:hover {
    transform: translateX(5px);
}

.step-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
}

.step-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* Right Section: Image */
.how-it-works-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.how-it-works-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



@media (max-width: 900px) {
    .how-it-works {
        background: #f4f4f4; /* Light gray background for better readability */
    }

    .how-it-works-container {
        flex-direction: column; /* Stack content vertically */
        background: none; /* Remove background */
        box-shadow: none;
        border-radius: 0;
    }

    .how-it-works-content {
        padding: 20px;
        text-align: left;
    }

    .how-it-works-content h2 {
        font-size: 1.6rem;
        text-align: center;
        margin-bottom: 15px;
    }

    .step-card {
        background: none;
        border-radius: 0;
        box-shadow: none;
        padding: 8px 0;
        margin-bottom: 8px;
        min-height: auto;
        border-left: 3px solid #0077b6;
    }

    .step-card h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .step-card p {
        font-size: 0.9rem;
        color: #555;
    }

    /* Hide Image on Mobile */
    .how-it-works-image {
        display: none;
    }
}

@media (max-width: 600px) {
    .how-it-works-content {
        padding: 15px;
    }

    .how-it-works-content h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .step-card {
        padding: 5px 0;
        border-left-width: 2px;
    }

    .step-card h3 {
        font-size: 1rem;
    }

    .step-card p {
        font-size: 0.85rem;
    }
}





.faq {
    width: 100%;
    min-height: 70vh; /* Ensure the FAQ section takes full height of the viewport */
    margin: 0;
    padding: 30px 30px 0; /* Padding on top and sides, remove bottom padding */
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;  /* Bright background */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;  /* Align content to the top */
    align-items: center;  /* Center content horizontally */
    box-sizing: border-box;
}

.faq h2 {
    text-align: center;  /* Center the header */
    margin-top: 0;  /* Remove excessive space above */
    margin-bottom: 20px;  /* Reduce space below the header */
    font-size: 2.5em;
    color: #333;
    font-weight: bold;
    width: 100%;
}

.faq-item {
    margin-bottom: 15px;  /* Space between FAQ items */
    width: 100%;
}

.faq-item:last-child {
    margin-bottom: 0;  /* Remove space below the last FAQ item */
}

.faq-question {
    width: 100%;
    padding: 15px;
    font-size: 1.15em;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 5px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-weight: 600;
}

.faq-question:hover {
    background-color: #f4f4f4;
    border-color: #b0b0b0;
}

.faq-answer {
    display: none;
    margin-top: 10px;
    font-size: 1em;
    padding: 15px;
    background-color: #fafafa;
    border-left: 4px solid #0077b6;
    border-radius: 5px;
    color: #666;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    background-color: #0077b6;
    color: #fff;
    border-color: #0077b6;
}

.faq-item.active .faq-question:hover {
    background-color: #005f8f;
    border-color: #005f8f;
}

/* Responsive Design */
@media (max-width: 900px) {
    .faq {
        padding: 30px 15px; /* Adjust padding for medium screens */
    }

    .faq h2 {
        font-size: 2rem;  /* Reduce font size of header */
        margin-bottom: 15px;  /* Reduce bottom margin */
    }

    .faq-question {
        font-size: 1.1em;  /* Reduce font size of questions */
        padding: 12px;  /* Reduce padding inside questions */
    }

    .faq-answer {
        padding: 12px;  /* Reduce padding inside answers */
        font-size: 0.95em;  /* Smaller font size for answers */
    }
}

@media (max-width: 600px) {
    .faq {
        padding: 20px 10px; /* Reduced padding for very small screens */
    }

    .faq h2 {
        font-size: 1.6rem;  /* Further reduce font size of header */
        margin-bottom: 10px;  /* Less space below the header */
    }

    .faq-question {
        font-size: 1em;  /* Even smaller font size for questions */
        padding: 10px;  /* Reduced padding for smaller screens */
    }

    .faq-answer {
        padding: 10px;  /* Reduced padding for answers */
        font-size: 0.9em;  /* Even smaller font size for answers */
    }
}




/* Pop-up Form Styles */
/* Background overlay */
.apply-now-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow-y: auto; /* Enables scrolling if form is too large */
    padding: 20px;
}

/* Pop-up container */
.apply-now-container {
    background: #fff;
    padding: 25px;
    width: 700px; /* Optimal width for readability */
    max-height: 85vh; /* Ensures popup fits within the viewport */
    border-radius: 12px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    overflow-y: auto; /* Enables internal scrolling if needed */
    animation: fadeIn 0.3s ease-in-out;
}

/* Close button */
.apply-now-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    font-weight: bold;
    color: #444;
    transition: 0.3s;
}

.apply-now-close-btn:hover {
    color: #d9534f;
}

/* Heading */
.apply-now-container h2 {
    color: #222;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

/* Grid layout for name, email, city, state */
.apply-now-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px; /* Space between columns */
    row-gap: 15px; /* Space between rows */
}

/* Full-width fields like phone, services, equipment, portfolio link */
.full-width {
    grid-column: span 2;
}

/* General spacing between form fields */
.apply-now-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px; /* Adds spacing between fields */
}

/* Labels */
.apply-now-field label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px; /* Adds space between label and input */
}

/* Input fields */
.apply-now-input {
    width: 90%; /* Reduce width so there's space between inputs */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    background: #f9f9f9;
    transition: border 0.3s ease-in-out, background 0.3s ease-in-out;
}

.apply-now-input:focus {
    border-color: #7abd98;
    outline: none;
    background: #fff;
}

/* Full-width fields should take full width */
.full-width .apply-now-input {
    width: 100%;
}

/* Multi-select box */
#apply-now-services {
    height: 80px;
    padding: 8px;
    background: #f9f9f9;
}

/* Textarea improvements */
textarea.apply-now-input {
    min-height: 50px;
    resize: vertical;
    margin-bottom: 12px; /* Adds space below textareas */
}

/* Submit button */
.apply-now-submit-btn {
    background: #7abd98;
    color: white;
    border: none;
    padding: 12px 18px;
    width: 150px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: 0.3s;
    font-weight: bold;
}

.apply-now-submit-btn:hover {
    background: #68a783;
}

/* Show pop-up when active */
.apply-now-popup.active {
    display: flex;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 🔹 Responsive Adjustments */
@media (max-width: 768px) {
    .apply-now-container {
        width: 85%; /* Reduce width to fit small screens */
        max-width: 500px; /* Prevents excessive stretching */
        padding: 20px; /* Reduce padding for better fit */
    }
}

/* 🔹 Extra Small Screens (Phones) */
@media (max-width: 480px) {
    .apply-now-container {
        width: 85%; /* Further reduce width */
        max-width: 400px; /* Keeps it compact */
        padding: 15px;
    }
}


