/* General Styling */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F4F1EB; /* Neutral beige background */
    color: #58595B; /* Deep green */
}

header {
    background-color: #e1e2ec;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Default Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    transition: max-height 0.3s ease; /* Smooth expand/collapse */
}

.nav-links a {
    text-decoration: none;
    color: #5E65C4;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #5E65C4;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #5E65C4;
    border-radius: 2px;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: flex; /* Show hamburger menu */
        flex-direction: column; /* Ensure vertical alignment of the lines */
        gap: 5px; /* Add spacing between the lines */
    }

    .nav-links {
        display: none; /* Hide links by default */
        flex-direction: column;
        gap: 10px;
        background-color: #e1e2ec;
        padding: 10px;
        position: absolute;
        top: 60px; /* Adjust based on your navbar height */
        right: 10px;
        width: 200px;
        z-index: 1000; /* Ensure it appears above other elements */
    }

    .nav-links.show {
        display: flex; /* Show links when toggled */
        max-height: none; /* Ensure no height limitation */
        visibility: visible; /* Ensure visibility */
    }
}

.logo-image {
    height: 50px;
    width: auto;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    height: 85vh; /* Hero section height */
    background-color: #e1e2ec; /* Fallback background */
    overflow: hidden; /* Ensure no content overflows */
    padding: 0 10%; /* Inset the content horizontally by 10% */
}

/* Background image */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 6.25%; /* Inset image 10% from the left */
    right: 6.25%; /* Inset image 10% from the right */
    height: 87.5%; /* Image spans 87.5% vertically */
    background: url('../images/main_page.jpg') no-repeat center center; /* Add the image */
    background-size: cover; /* Ensure the image covers the container */
    filter: brightness(50%); /* Apply grayscale filter */
    opacity: 0.9; /* Adjust this value to control transparency */
    z-index: 0; /* Place it behind the content */
}

/* Content area */
.hero-content {
    position: absolute; /* Position the content over the image */
    top: 0;
    left: 0;
    width: 100%; /* Cover the full width of the section */
    height: 85%; /* Match the height of the image */
    display: flex; /* Use flexbox for alignment */
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    z-index: 1; /* Ensure content is above the image */
    color: #FFFFFF; /* Purple text color */
    text-align: center; /* Center the text */
    padding: 0px;
}

/* Headline styles */
.primary-hero h1 {
    font-size: 3em;
    font-weight: 400; /* Use a lighter weight */
    margin-top: 150px;
    margin-left: 6.25%; /* Inset image 10% from the left */
    margin-right: 6.25%; /* Inset image 10% from the right */
    margin-bottom: 25px;

}

.primary-hero h3 {
    margin-top: -10px; /* Pull h3 closer to h2 */
    word-wrap: break-word; /* Ensure words break if needed */
    white-space: normal; /* Allow text to wrap */
    line-height: 1.5; /* Adjust line spacing for better readability */
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #58595B; /* Dark button background */
    color: #ffffff; /* White text */
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 500;
    border-radius: 30px;
    border: 2px solid #ffffff; /* Optional white border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: all 0.3s ease;
    margin-top: 100px;
}

/* Headline styles */
.primary-hero h2 {
    font-size: 2em;
    color: #e1e2ec;
    margin-bottom: 0;
    padding: 0; /* Remove padding if any */
}

/* Headline styles */
.primary-hero h3 {
    font-size: 1.3em;
    color: #e1e2ec;
    font-weight: 300;
    font-family: 'YourFontName', sans-serif;
    font-style: italic;
    margin: 0; /* Reset all margin */
    padding: 0; /* Remove padding */
    margin-top: 0.2em; /* Add minimal space */
}

/* Info Section */
.info-section {
    text-align: center;
    padding: 60px 2.5%;
    max-width: 95%;
    background-color: #e1e2ec; /* Matches hero section background */
    color: #58595B; /* Darker text color */
}

.info-section h2 {
    font-size: 1.7em;
    font-weight: 400;
    margin-bottom: 40px;
    color: #58595B; /* Same purple as headline in hero */
}

.info-cards {
    display: flex;
    justify-content: center;
    gap: 100px; /* Space between cards */
    flex-wrap: wrap; /* Ensure responsive layout */
}

/* How Vie Works Section */
.steps-section {
    text-align: center;
    padding: 60px 5%;
    max-width: 95%;
    background-color: #e1e2ec; /* Matches overall theme */
    color: #58595B;
    margin: 0 auto;
}

.steps-section h2 {
    font-size: 2.8em;
    font-weight: 400;
    color: #5E65C4; /* Purple heading */
    margin-bottom: 40px;
}

.steps-section h5 {
    font-size: 1.8em;
    font-weight: 400;
    color: #484955; /* Purple heading */
    margin-bottom: 40px;
}

.steps-cards {
    display: flex;
    justify-content: center;
    gap: 60px; /* Space between cards */
    flex-wrap: wrap; /* Ensure responsive layout */
}

.step-card {
    max-width: 600px;
    padding: 30px;
    text-align: left;
    border-radius: 16px;
    color: #58595B; /* Text color changes for gradients */
    line-height: 1.6;
    position: relative;
    overflow: hidden; /* Ensures content stays within rounded edges */
}

.step-card h3 {
    font-size: 2.5em;
    color: #484955; /* Purple for step number */
    text-align: center;
}

.step-card h4 {
    font-size: 1.9em;
    margin: 10px 0;
    font-weight: 700;
    color: #5f65be; /* Purple for titles */
    text-align: center;
}

.h8-boxes {
    display: flex; /* Arrange boxes side by side */
    gap: 20px; /* Add space between boxes */
    justify-content: space-between; /* Spread boxes evenly */
    margin-top: 20px; /* Add spacing above the boxes */
}

.h8-box {
    flex: 1; /* Make all boxes the same size */
    background-color: #ffffff; /* Set background color */
    padding: 20px; /* Add padding inside the box */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
    
    display: flex; /* Enable flexbox */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    text-align: center; /* Center text */
    min-height: 100px; /* Ensure a reasonable height */
}

@media screen and (max-width: 768px) {
    .h8-boxes {
        flex-direction: column; /* Stack boxes vertically */
        gap: 10px; /* Reduce space between boxes */
    }
}

.step-card .subheading {
    font-size: 1.1em;
    font-weight: 500;
    color: #646464; /* Subtle gray */
    margin-bottom: 10px;
    text-align: center;
}

.step-card .description {
    font-size: 0.9em;
    color: #888; /* Softer gray for descriptions */
    line-height: 1.6;
    margin-bottom: 15px;
}

.step-card .details {
    font-size: 0.9em;
    color: #58595B; /* Slightly darker text for details */
    line-height: 1.6;
}

.card {
    text-align: center;
    max-width: 600px;
    flex: 1;
    padding: 20px 0;
    color: #5E65C4; /* Text color */
}

.card img {
    width: 275px; /* Increase the size of the circle */
    height: 275px; /* Match the height to the width */
    object-fit: cover;
    border-radius: 50%; /* Keeps the image circular */
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adds a slight shadow for depth */
}

.card h3 {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #5f65be; /* Purple for headings */
}

.card p {
    font-size: 1.5em;
    font-weight: 500;
    margin-bottom: 10px;
    color: #646464; /* Subtle gray for text */
}

.card span {
    font-size: 0.9em;
    color: #888; /* Softer gray for additional details */
    line-height: 1.6;
}

/* Offerings Section */
.offerings-section {
    text-align: center;
    padding: 60px 5%;
    max-width: 95%;
    background-color: #e1e2ec; /* Matches overall theme */
    color: #58595B;
    margin: 0 auto;
}

.offerings-section h2 {
    font-size: 2.8em;
    font-weight: 400;
    color: #5E65C4; /* Purple heading */
    margin-bottom: 40px;
}

/* Cards Container */
.offerings-cards {
    display: flex;
    justify-content: center;
    gap: 40px; /* Space between cards */
    flex-wrap: wrap; /* Ensure responsive layout */
}

/* Individual Cards */
.offering-card {
    max-width: 300px;
    padding: 30px;
    text-align: left;
    border-radius: 16px;
    color: #ffffff; /* Text color changes for gradients */
    line-height: 1.6;
    position: relative;
    overflow: hidden; /* Ensures content stays within rounded edges */
}

/* Center the Image */
.offering-image {
    display: block;
    margin: 0 auto 20px; /* Centers the image and adds spacing below it */
    width: 100%; /* Adjust to fit card width */
    max-width: 350px; /* Limit the maximum width of the image */
    border-radius: 8px; /* Slight rounding for the image corners */
    object-fit: cover; /* Ensures the image maintains its aspect ratio */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Gradient Backgrounds */
.gradient-bg-1 {
    background: linear-gradient(135deg, #A5A9E9, #A5A9E9); /* Soft lavender and lilac */
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #5E65C4, #5E65C4); /* Soft mint and teal */
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #3A3F9F, #3A3F9F); /* Soft pastel pinks */
}

/* Text and List Styling */
.offering-card h3 {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 0px;
    text-align: center; /* Centers the title text */
}

.offering-card .price {
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 20px;
    color: #ffffff; /* Slightly lighter text */
    text-align: center; /* Centers the price text */
}

.offering-card h4 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center; /* Centers the subtitle */
}

.offering-card h5 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center; /* Centers the subtitle */
    font-weight: 300;
}

.offering-card h6 {
    font-size: 1em;
    font-weight: 300;
    margin-bottom: 15px;
    text-align: center; /* Centers the subtitle */
    font-weight: 300;
    margin-top: 5px; /* Reduce space above h6 */
}

.offering-card ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.offering-card ul li {
    margin-bottom: 10px;
    font-size: 1em;
}

.offering-card p {
    font-size: 0.95em;
    margin-top: 10px;
    line-height: 1.6;
    color: #ffffff; /* Lighter text */
    text-align: center;
}

.cta-button2 {
    display: inline-block;
    padding: 15px 30px;
    background-color: #58595B; /* Dark button background */
    color: #ffffff; /* White text */
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 500;
    border-radius: 30px;
    border: 2px solid #ffffff; /* Optional white border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: all 0.3s ease;
    margin-top: 50px;
}

.content-box {
    background-color: #F4F1EB;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow */
    max-width: 800px;
    width: 100%; 
    text-align: center;
}

.content-box h2 {
    font-size: 2.2em;
    color: #8DC2E0;
    margin-bottom: 15px;
}

.content-box p {
    font-size: 1.1em;
    color: #58595B;
    margin-bottom: 25px;
}

/* Pioneering Generational Health Section */
.pioneering-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 5%;
    background-color: #e1e2ec; /* Matches the site's soft background theme */
}

.content-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    flex-wrap: wrap; /* Ensures responsiveness */
    align-items: flex-start;
}

.image-container {
    flex: 1;
    min-width: 300px;
    margin-top: 50px; /* Adjust this value to move the image down */
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 12px; /* Optional for a softer look */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adds subtle depth */
}

.text-container {
    flex: 2;
    min-width: 300px;
    color: #484955; /* Neutral text color */
    line-height: 1.6;
}

.text-container h2 {
    font-size: 2.8em;
    font-weight: 400;
    color: #5E65C4; /* Purple tone for headings */
    margin-bottom: 20px;
}

.text-container p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #58595B;
}

/* Content Grid Section */
#content-grid {
    display: grid; /* Use CSS Grid for layout */
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 60px; /* Space between grid items */
    padding: 40px 20px; /* Padding around the grid */
    max-width: 1200px; /* Center content */
    margin: 40px auto; /* Center align grid and add spacing */
    background-color: transparent; /* Remove background color */
    border-radius: 0; /* Remove rounded corners */
    box-shadow: none; /* Remove shadow */
}

/* Individual Content Box */
#content-grid .content-box {
    background-color: #FFFFFF; /* White background */
    padding: 40px 20px; /* Padding inside the content box */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: center;
    margin: 0; /* Ensure no margin is added around individual boxes */
}

/* Content Box Text Styling */
#content-grid .content-box h2 {
    font-size: 1.8em;
    color: #8DC2E0; /* Deep green */
    margin-bottom: 15px;
}

#content-grid .content-box p {
    font-size: 1em;
    color: #8DC2E0; /* Subtle text color */
    line-height: 1.6; /* Improve readability */
    margin-bottom: 10px;
}

/* Responsive Design for Content Grid */
@media (max-width: 768px) {
    #content-grid {
        grid-template-columns: 1fr; /* Switch to single column layout */
        gap: 30px; /* Adjust gap for smaller screens */
    }
}

/* Call-to-Action Button */
.join-vie-container {
    display: flex;
    justify-content: center;
    margin-top: 30px; /* Space above the button */
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #58595B; /* Matches the purple color */
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 25px; /* Rounded button */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #5f65be; /* Darker shade on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Slightly deeper shadow */
}

/* Section Styles */
.section {
    padding: 60px 20px;
    background-color: #FFFFFF; /* Clean white background */
    text-align: center;
}

.section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #8DC2E0; /* Deep green */
}

.section p {
    font-size: 1.1em;
    color: #8DC2E0;
    margin-bottom: 30px;
}

/* FAQ Section */
.faq-section {
    text-align: center;
    padding: 50px 10%;
    background-color: #e1e2ec; /* Matches site theme */
    color: #58595B;
  }

.faq-section h2 {
    text-align: center;
    font-size: 2.8em;
    font-weight: 400;
    color: #5E65C4; /* Purple heading */
    margin-bottom: 40px;
    max-width: 95%;
}
  
  .faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
  }
  
  .faq-item {
    border-bottom: 1px solid #ccc;
    padding: 15px 0;
  }
  
  .faq-question {
    font-size: 1.2em;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .faq-question:hover {
    color: #5f65be;
  }
  
  .faq-answer {
    font-size: 1em;
    color: #646464;
    display: none;
    margin-top: 10px;
    line-height: 1.6;
  }
  
  .faq-toggle {
    font-size: 1.5em;
    color: #5f65be;
    cursor: pointer;
  }  

/* Connect Section */
.connect-section {
    text-align: center;
    padding: 60px 5%;
    background-color: #e1e2ec; /* Soft background matching site theme */
    color: #58595B; /* Neutral text color */
}

.connect-section h2 {
    font-size: 2.5em;
    font-weight: 400;
    color: #646bc8; /* Purple heading */
    margin-bottom: 20px;
}

.connect-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Space between button and email */
}

.connect-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #58595B; /* Dark button background */
    color: #ffffff; /* White text */
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 500;
    border-radius: 30px;
    border: 2px solid #ffffff; /* Optional white border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: all 0.3s ease;
}

.connect-button:hover {
    background-color: #646bc8; /* Lighter purple hover effect */
    color: #ffffff;
    transform: scale(1.05); /* Slightly enlarges on hover */
}

.email-text {
    font-size: 1em;
    color: #58595B; /* Neutral gray */
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: #E1E2EC;
    color: #58595B;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .primary-hero h1 {
        font-size: 2.4em;
    }

    .primary-hero p,
    .content-box p {
        font-size: 1em;
    }

    .content-box h2 {
        font-size: 2em;
    }

    .cta-button {
        font-size: 1em;
        padding: 12px 25px;
    }
}