/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.contact-container {
    width: 90%;
    margin: 0 auto;
}

.contact-header-title, .contact-community-title, .contact-how-it-works-title, .contact-success-stories-title, .contact-faq-title, .contact-cta-title, .contact-signup-title {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

ul {
    list-style: none;
}

/* Header Section */
.contact-header-section {
    background: url("./images/GT_contact_hero.jpg");
    color: white;
    padding: 50px 0;
    text-align: center;
    background-position: center;
    background-size: cover;
    height: 500px;
}

.contact-header-title {
    font-size: 2.5rem;
}

.contact-cta-button {
    background: #ffbb00;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.contact-community-section {
    background-color: #f4f4f4; /* Light background for contrast */
    padding: 60px 20px; /* Increased padding for more space */
    border-radius: 8px; /* Rounded corners */
    text-align: center; /* Center text */
}

.contact-community-title {
    margin-bottom: 40px; /* Space below the heading */
    color: #333; /* Darker color for the heading */
}

.contact-community-features {
    display: flex; /* Use flexbox for alignment */
    flex-wrap: wrap; /* Allow wrapping of items */
    justify-content: center; /* Center items */
    gap: 20px; /* Space between features */
}

.contact-community-feature {
    background-color: #fff; /* White background for each feature */
    padding: 20px; /* Padding around each feature */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.2s; /* Smooth transform on hover */
    flex: 0 1 calc(33.33% - 20px); /* Flex-grow, flex-shrink, and basis for responsiveness */
    max-width: calc(30% - 20px);
    display: flex; /* Use flexbox for inner content alignment */
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center items horizontally */
    text-align: center;
}

.contact-community-feature:hover {
    transform: translateY(-5px); /* Lift effect on hover */
}

.contact-community-icon {
    font-size: 50px; /* Increase size for better visibility */
    color: #a3e635; /* Color for the icons */
    margin-bottom: 15px; /* Space between icon and title */
}

.contact-feature-title {
    margin: 10px 0; /* Space around the title */
    color: #007BFF; /* Color for the titles */
}

.contact-feature-description {
    color: #555; /* Color for the paragraph text */
    line-height: 1.5; /* Improve readability */
}

/* Mobile Responsiveness for Various Widths */
@media (max-width: 1200px) {
    .contact-community-feature {
        flex: 0 1 calc(33.33% - 20px); /* Three cards in a row */
        max-width: calc(33.33% - 20px);
    }
}

@media (max-width: 992px) {
    .contact-community-feature {
        flex: 0 1 calc(50% - 20px); /* Two cards in a row */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .contact-community-features {
        flex-direction: column; /* Stack features on smaller screens */
        align-items: center; /* Center items */
    }

    .contact-community-feature {
        max-width: 90%; /* Allow more width on mobile */
        flex: 0 1 calc(100% - 20px); /* One card in a row */
        max-width: calc(100% - 20px); 
    }
}

@media (max-width: 576px) {
    .contact-community-icon {
        font-size: 30px; /* Smaller icons on very small screens */
    }

    .contact-feature-title {
        font-size: 1.2em; /* Slightly smaller headings */
    }

    .contact-feature-description {
        font-size: 0.9em; /* Slightly smaller paragraph text */
    }
}

/* How It Works */
.contact-how-it-works-section {
    padding: 50px 0;
    background: #e2e2e2;
}

.contact-how-it-works-steps {
    display: flex;
    justify-content: space-around;
}

.contact-how-it-works-step {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    text-align: center; 
}

.contact-how-it-works-step h3 {
    color: #007BFF;
}

.contact-how-it-works-step p {
    color: #555;
}

/* Success Stories */
.contact-success-stories-section {
    padding: 50px 0;
    background: #f9f9f9;
}

.contact-success-stories-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.contact-success-story {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 10px;
    text-align: center;
    width: 380px;
    border: 1px solid;

}

.contact-success-story img {
    max-width: 100%;
    border-radius: 10px;
    border: 2px solid;
}

.contact-success-story-quote {
    font-style: italic;
    color: #555;
}

/* FAQ Section */
.contact-faq-section {
    padding: 50px 0;
    background: #e2e2e2;
}

.contact-faq-title {
    text-align: center;
    margin-bottom: 30px;
}

.contact-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.contact-faq-item {
    background: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.contact-faq-question {
    font-weight: bold;
}

.contact-faq-answer {
    color: #555;
}

/* Call to Action Section */
.contact-cta-section {
    padding: 50px 0;
    background: #ffb6c1;
    color: white;
    text-align: center;
}

.contact-cta-description {
    margin-bottom: 20px;
}

/* Sign-Up Form */
/* body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
} */

.signup-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

.form-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.form-container h2 {
    margin: 0 0 20px;
    font-weight: 500;
}

.form-container input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-container button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.form-container label {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.form-container label input {
    margin-right: 10px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}
