/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    line-height: 1.5; /* Line spacing for all text */
}

body {
    margin: 0 auto;
    max-width: 1200px; /* Ensuring the body max-width is 1200px */
    width: 100%;
    font-family: 'Avenir Next', Arial, sans-serif;
    background: black;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

header {
    padding: 10px 0;
    width: 100%;
    text-align: center;
}

header .logo img {
    height: 50px;
    width: auto;
}

.cta {
    margin: 20px 0;
}

.cta button {
    font-size: 18px;
    background-color: lightgreen;
    color: black;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
}

.cta button:hover {
    background-color: darkgreen;
}

main {
    flex: 1;
    padding: 20px 0;
    width: 100%;
}

main .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

main .content .box {
    flex: 1;
    min-width: 300px;
    margin: 20px;
    padding: 20px;
    background: white;
    color: black;
    border-radius: 8px;
}

.image-section {
    width: 66.67%; /* 2/3 of the available width */
    margin: 0 auto; /* Center the section */
    text-align: center; /* Center the text within the section */
    padding: 20px; /* Optional: Add padding for better readability */
    box-sizing: border-box; /* Ensure padding is included in the width calculation */
}

.image-section h1 {
    margin-bottom: 20px;
}

.image-container {
    display: inline-block;
    margin: 0 15px;
    text-align: center;
}

.image-container img {
    width: 80px;
    height: auto;
    /*border-radius: 10px; !* Adjust the value to change the roundness of the corners *!*/
    /*box-shadow: 0 0 20px 10px rgba(192, 192, 192, 0.5); !* Large fuzzy shadow effect *!*/
    display: block;
    margin: 0 auto;
}

.image-container .caption {
    margin-top: 10px;
    font-size: 14px;
}

.video-container {
    max-width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(192, 192, 192, 0.5);
    margin: 20px 0;
}

.video-container video {
    width: 100%;
    border-radius: 15px;
    display: block;
}

.statement {
    width: 66.67%; /* 2/3 of the available width */
    margin: 0 auto; /* Center the section */
    padding: 20px; /* Optional: Add padding for better readability */
    box-sizing: border-box; /* Ensure padding is included in the width calculation */
    text-align: justify; /* Justify text */
}

/* Ensure proper wrapping of text */
.statement p {
    overflow-wrap: break-word;
}

/* Optional: Adjust heading styles for better readability */
.statement h1, .statement h2 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.statement h1 {
    margin-bottom: 20px;
}

.statement h3 {
    font-size: 30px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* START_LERNREISE */
.journey-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 40px 0;
}

.left-column {
    flex: 1;
    min-width: 150px;
    max-width: 20%; /* Left column takes 1/5 of the width */
    margin: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-sizing: border-box; /* Ensures padding is included in the width calculation */
    overflow-wrap: break-word; /* Ensures long words break and wrap to the next line */
}

.right-column {
    flex: 4;
    min-width: 300px;
    max-width: 80%; /* Right column takes 4/5 of the width */
    margin: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-sizing: border-box; /* Ensures padding is included in the width calculation */
}

.journey-info img.rounded-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.journey-image {
    max-width: 40%; /* Set the maximum width to 40% of the available width */
    height: auto; /* Maintain the aspect ratio */
}

@media (max-width: 768px) {
    .journey-section {
        flex-direction: column;
    }

    .left-column, .right-column {
        max-width: 100%;
        flex: 1 1 100%; /* Allows columns to take full width on smaller screens */
    }
}
/* END_LERNREISE */

.feature-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 0;
    gap: 40px; /* 40px vertical space between feature sections */
}

.feature-section {
    width: 100%; /* Takes the whole available width */
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 5px solid rgba(192, 192, 192, 0.5); /* 5px border */
    box-shadow: 0 0 20px 10px rgba(192, 192, 192, 0.5); /* Larger silver shadow */
    display: flex;
    align-items: center;
    text-align: left; /* Align text to the left */
    margin-bottom: 40px; /* Increased margin-bottom for extra vertical space */
}

.text-container {
    flex: 1; /* Take up remaining space */
}

.feature-section img.feature-section-image {
    max-height: 100px; /* Image height at most 100px */
    width: auto; /* Maintain aspect ratio */
    margin-left: 20px; /* Space between text and image */
    border-radius: 10px; /* Rounded corners for images */
}

.extra-section, .price-section, .faq-container {
    margin: 40px 0;
    padding: 20px;

    border-radius: 10px;
    text-align: center;
}

.price-section {
    width: 100%; /* Takes the whole available width */
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 5px solid rgba(192, 192, 192, 0.5); /* 5px border */
    box-shadow: 0 0 20px 10px rgba(192, 192, 192, 0.5); /* Larger silver shadow */
    text-align: center; /* Center text */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* Space between elements */
}

.price-section p {
    font-size: 300%; /* Increase font size to three times its current size */
}

.price-section img#logo {
    max-height: 50px; /* Image height at most 50px */
    width: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners for images */
}

.cta-button {
    display: inline-block;
    margin: 20px 0;
    padding: 10px 20px;
    background-color: lightgreen;
    color: black;
    border: 2px solid white;
    border-radius: 25px;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: darkgreen;
}

/* START_FAQ */
.faq-container {
    width: 100%; /* Takes the entire width of the body */
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-sizing: border-box; /* Ensures padding is included in the width calculation */
    border: 5px solid rgba(192, 192, 192, 0.5); /* 5px border */
    box-shadow: 0 0 20px 10px rgba(192, 192, 192, 0.5); /* Larger silver shadow */
}

.faq-container h2, .faq-container h3 {
    text-align: center;
}

.faq-question {
    cursor: pointer;
    font-size: calc(100% + 7px); /* Increase font size by 4px from the base font size */
    margin: 10px 0;
    padding: 10px;
    background: #333; /* Dark grey background */
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically centers the chevron */
    color: #fff; /* White text color */
    transition: background 0.3s ease; /* Smooth background transition */
}

.faq-question:hover {
    background: #444; /* Slightly lighter background on hover */
}

.faq-question p {
    margin: 0;
    flex: 1;
}

.faq-answer {
    width: 80%; /* Set to 80% of the available width */
    font-size: calc(100% + 7px); /* Increase font size by 7px from the base font size */
    line-height: 1.5; /* Set line spacing to 1.5 */
    margin: 10px auto; /* Center horizontally and maintain 10px vertical margin */
    padding: 0 10px; /* Maintain initial padding */
    background: #333; /* Dark grey background */
    border-radius: 5px; /* Maintain border radius for aesthetics */
    max-height: 0; /* Start with zero height for collapsed state */
    overflow: hidden; /* Hide overflow content when collapsed */
    transition: max-height 0.3s ease, padding 0.3s ease; /* Smooth transitions for expanding and collapsing */
    max-height: unset; /* Allow height to expand to fit content when visible */
    text-align: justify; /* Justify the text within the element */
}


.chevron {
    font-size: 1.5em; /* Adjust size if necessary */
    color: #fff; /* White color for the chevron */
    transition: transform 0.3s ease; /* Smooth rotation transition */
}

.chevron.active {
    transform: rotate(180deg); /* Rotate chevron when active */
}
/* END_FAQ */

/* START_FOOTER */
footer {
    color: #fff;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    margin-top: 100px;
}

footer nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

footer nav ul li {
    display: inline;
    margin: 0 15px;
}

footer nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 3px;
}
/* END_FOOTER */

.table_3columns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px; /* Add some space between the boxes */
    padding: 20px;
}

.table_3columns_box {
    flex: 1; /* All boxes will have the same width */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;

    border-radius: 8px;
    text-align: center;
}

.journey-image {
    max-width: 100%; /* Ensure the image takes up the full width of its box */
    height: auto; /* Maintain the aspect ratio */
}

@media (max-width: 768px) {
    .table_3columns {
        flex-direction: column; /* Stack the boxes on smaller screens */
        gap: 10px;
    }
}


/* Responsive Font Sizes */
h1 {
    font-size: 2.5em; /* Large font size for h1 */
}

h2 {
    font-size: 2em; /* Medium font size for h2 */
}

h3 {
    font-size: 1.5em; /* Normal font size for h3 */
}

@media (max-width: 1200px) {
    h1 {
        font-size: 2em; /* Adjust h1 font size for smaller screens */
    }

    h2 {
        font-size: 1.75em; /* Adjust h2 font size for smaller screens */
    }

    h3 {
        font-size: 1.25em; /* Adjust h3 font size for smaller screens */
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.75em; /* Further adjust h1 font size for smaller screens */
    }

    h2 {
        font-size: 1.5em; /* Further adjust h2 font size for smaller screens */
    }

    h3 {
        font-size: 1.2em; /* Further adjust h3 font size for smaller screens */
    }
    .extra-section {
        max-width: 1200px;
        margin: auto;
    }
    .box {
        height: 800px;
    }

    .video-container, .journey-section, .feature-container {
        flex-direction: column;
    }

    .video-container video, .rounded-image {
        width: 100%;
    }

    .statement {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .box {
        height: auto;
    }
}

@media (min-width: 768px) {
    .extra-section {
        max-width: 1600px;
        margin: auto;
    }
    .box {
        height: auto;
    }
}


/* CONTACT FORM START */
.contact-section {
    width: 100%; /* Take all the width of the containing section */
    border: 1px solid lightgrey;
    padding: 10px;
    border-radius: 10px;
}

.contact-form {
    width: 100%; /* Take all the width of the form */
}

.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    resize: none; /* Prevent resizing */
}

.contact-form textarea {
    height: auto; /* Allow height to adjust based on rows */
    overflow-y: auto; /* Show scrollbar if needed */
}

.input-group {
    margin-bottom: 20px;
    margin-right: 10px;
    margin-top: 10px;
}

.input-group label {
    display: inline-block;
    width: 30%; /* Label takes 30% of the width */
    font-size: 15px;
}

.input-group input[type="text"],
.input-group input[type="email"] {
    width: 50%; /* Input fields take 70% of the width */
    font-size: 15px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
/* CONTACT FORM END */

--- NEW STUFF ---

    /* Form Structure */
.extra-section {
    text-align: center;
    padding: 50px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.5);
    max-width: 500px;
    margin: 0 auto;
    border-radius: 10px;
}

/* Form Styles */
.extra-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

/* Input Fields */
.extra-section input {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

/* Radio Options */
.radio-option {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
}

/* Radio Input */
.radio-option input {
    margin-right: 10px;
    transform: scale(1.2);
}

/* Label & Description */
.radio-label {
    font-weight: bold;
    color: white;
    margin-right: 10px;
}

.description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Button */
.extra-section button {
    width: 100%;
    padding: 12px;
    background: cyan;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: black;
    border-radius: 5px;
    font-weight: bold;
}

.extra-section button:hover {
    background: #00ffcc;
}

/* Form Labels */
.extra-section label {
    font-weight: bold;
    text-align: left;
    display: block;
    color: white;
}
