body {
  font-family: Arial, sans-serif;
  background-color: #ffed8e;/*Change to your chosen color ebe9e1*/
}

html {
  scroll-behavior: smooth;
}

.menu-bar {
  display: flex;
  background-color: #333; /* Background color of the menu */
  width: 100%;
  padding: 0; /* Remove any default padding */
}

.menu-bar ul {
  display: flex; /* Make the <ul> a flex container */
  justify-content: space-between; /* Spread items across the full width */
  align-items: center; /* Vertically center items */
  list-style-type: none; /* Removes bullets */
  margin: 0; /* Removes margin */
  padding: 0; /* Removes padding */
  width: 100%; /* Makes ul stretch across menu bar */
}

.menu-bar li {
  flex: 1; /* Each menu item takes equal width */
  text-align: center; /* Center the text inside each item */
}

.menu-bar a {
  display: block; /* Fill the width of each li */
  color: white; /* Text color */
  text-decoration: none; /* Remove underline */
  font-size: 24px; /* Adjust font size as needed */
  font-weight: bold; /* Makes text bold */
  padding: 24px 0; /* Vertical padding */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-bar a:hover,
.menu-bar a.active {
  background-color: #783EAE; /* Background color on hover or active */
  color: black; /* Text color on hover or active */
}

/* Responsive video */
.responsive-video {
  width: 100%;
  aspect-ratio: 16/9; /* Maintain video aspect ratio */
  max-width: 800px;
  height: auto;
}

/* Responsive video */
.new-responsive-video {
  width: 100%;
  aspect-ratio: 16/9; /* Maintain video aspect ratio */
  max-width: 550px;
  height: auto;
}



/* Logo */
.logo-container {
  position: relative; /* Make this the reference point for absolute positioning */
  display: flex;
  justify-content: center; /* Center the logo */
  align-items: center; /* Center them vertically */
}

.header {
    display: flex;
    justify-content: center; /* Center them horizontally */
    align-items: center; /* Center them vertically */
    gap: 20px; /* Space between the logo and image */
    padding: 20px; /* Optional: Add some padding */
}


.logo {
  /*max-width: 100%;*/
max-width: 200px; /* Adjust the size of the logo */
  z-index: 1; /* Bring the logo above the other images */
  height: auto;
}
@media (min-width: 768px) {
  .logo {
    max-width: 450px; /* Set a maximum width of 450px for screens larger than 768px */
  }
}


.side-image {
  max-width: 25%; /* Adjust the size of the side images */
  position: absolute; /* Position absolutely */
}

.left {
  left: 50px; /* Move this image to the left */
  top: 70px; *//* Center it vertically */
  /*transform: translateY(-50%);*/ /* Adjust for height */
}

.left2 {
  left: 20px;
  top: 1000px;
}

.right {
  position: absolute;
  right: 30px; /* Move this image to the right */
  top: 10px; /* Center it vertically */

}

.right2 {
  position: absolute;
  right: 20px;
  top: 1000px;
}

.bottom-image {
  position: absolute;
  bottom: -380px; /* Position it below the logo */
  right: 50px; /* Center it horizontally */
  /*transform: translateX(-50%);*/ /* Adjust for width */
  max-width: 25%; /* Adjust the size as needed */
}

/* Flex container */
.flex-container {
  display: flex;
  justify-content: center;
  align-items: center; /* Optional: Centers vertically too */
}

/* Contact section */
.contact p {
  font-size: 16px; /* Default font size for all screens */
}


.additional-icons {
  position: relative;
  width: 50%;
  margin: 0 auto;
}



.icon-header {
    text-align: center;
    font-size: 40px;
}

.description h2 {
  font-size: 40px; /* Adjust the font size as needed */
}

.description p {
  font-size: 30px;
}

.icon-slider {
  overflow: hidden;
  white-space: nowrap;
}



.icon-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center; /* Horizontally center */
  align-items: center; /* Vertically center */
  transition: transform 0.5s ease;
  max-width: 150%; /* Adjusted to 150% */
  max-height: 150%; /* Adjusted to 150% */
  padding-left: 5850px; 
}

.icon-container img {
  max-width: 300px;
  max-height: 300px;
  margin: 0 10px;
  align-self: center;
  justify-self: center;
}

/* CSS for image buttons */
#prevBtn,
#nextBtn {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    width: 40px; /* Adjust width as needed */
    height: auto;
    cursor: pointer;
}

/* Styling for left arrow */
#prevBtn {
    left: 0;
}

/* Styling for right arrow */
#nextBtn {
    right: 0;
}


@media (max-width: 768px) {
  .video-container {
    flex-wrap: wrap; /* Wrap videos on smaller screens */
  }
  
  .additional-icons {
     width: 90%; 
  } 

  .icon-slider {
     width: 100%; 
   } 

}

@media (min-width: 1200px) {
  .responsive-video {
    max-width: 500px;
  }
}

@media (min-width: 768px) {
  .contact p {
    font-size: 20px; /* Larger font size for screens wider than 768px */
  }
}

.special {
	display: inline-flex;
	align-items: baseline;
}

.entries-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Adjust column width as needed */
    gap: 10px; /* Adjust the gap between entries */
}

.image-container{
   position:relative;
} 

.entry {
    border: 1px solid #ccc; /* Add a border around each entry */
    padding: 1px; /* Add padding to each entry */
    display: flex; /* Use flexbox to center items */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    position: relative;
}

.entry-title {
    margin-top: 0; /* Remove default margin for the title */
    text-align: center;
}

.entry-image {
    max-width: 100%; /* Ensure images don't exceed the width of their container */
    height: auto; /* Maintain aspect ratio */
    max-height: 200px;
}

.entry-image2 {
    height: auto;
    max-width: 70%;
}

.entry-icon {
    display: block; /* Ensure the icon is displayed as a block element */
    margin-top: 10px; /* Add some space between the image and icon */
}

/* Styling for the video text */
.video-text {
  text-align: center;
  margin-bottom: 10px; /* Adjust spacing between text and video */
  font-size:30px;
}

/* Styling for the video wrapper */
.video-wrapper {
  text-align: center;
  margin-bottom: 20px; /* Adjust spacing between videos */
}

@media (min-width: 1024px) {
  .video-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Display two videos per row */
    gap: 20px; /* Adjust the gap between videos */
  }
  
  .responsive-video {
    max-width: 100%; /* Adjust video width */
    height: auto; /* Maintain aspect ratio */
    max-height: 300px; /* Set maximum height for larger videos */
  }
}

@media (max-width: 768px) {
   .side-image {
	display: none; /* Hide side images on small screens */
   }
   .bottom-image {
 	display: none; /* Hide bottom image on small screen */
   }
}


.box-container {
  display: flex; 
  justify-content: center; 
  width: 80%; /* Width of the container */
  max-width: 1200px; /* Maximum width to prevent stretching */
  margin: 0 auto;
}

.box {
  max-width: 300px;
  width: 90%; 
  border: 6px solid #000000; 
  padding: 20px; 
  background-color: #f9f9f9; 
  border-radius: 5px; 
  position: relative; 
}

.left-box {
  margin-right: 20px; /* Add spacing between boxes */
}

.right-box {
  margin-left: 20px; /* Add spacing between boxes */
}

.box h3 {
  margin-top: 0; 
  text-align: center;
}

.box ul {
  list-style-type: none; 
  padding-left: 0; 
  margin: 0; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
}

.box li {
  text-align: center; 
  margin: 5px 0; 
}

.large-box {
  width: 50%; /* Set width to 70% for larger screens */
  max-width: 1200px; /* Maximum width */
  border: 6px solid #000000; 
  padding: 20px; 
  background-color: #f9f9f9; 
  border-radius: 5px; 
  margin: 20px auto; /* Center the box */
}

@media (max-width: 768px) {
  .large-box {
    width: 100%; /* Set width to 80% for smaller screens */
    margin: 10px auto; /* center with margin  NEW */
  }
}


.menu-bar a.hovered {
  background-color: #783EAE; /* Same as hover background */
  color: black; /* Same as hover text color */
}

.columns {
  display: flex;
  justify-content: space-between; /* Space columns evenly */
}

.column {
  margin: 0 10px; /* Space between columns */
  flex: 0 0 40%;
}

.column:first-child {
  flex: 0 0 60%; /* Adjust if needed */
}

.column:not(:first-child) {
  flex: 0 0 40%; /* Remaining column size */
  margin: 0 auto;
  text-align: center;
}

.column h4 {
  margin-top: 0; /* Remove default margin */
  text-align: center; /* Center align the headings */
}

.container {
    width: 66.67%;
    max-width: 1200px; /* Optional: Set a maximum width for larger screens */
    margin: 0 auto; /* Centers the container */
}

.main-image {
    max-width: 400px;
}

.quote {
    text-align: center;
 font-weight: bold; /* Makes the text bold */
    font-size: 1.2em; /* Adjusts the font size (1.2em = 120% of the base size) */
    margin: 20px 0; /* Space around the quote */
    padding: 10px; /* Optional: Add padding for better spacing */
}

.introduction {
   text-align: center;
   margin: 0 auto; 
   width: 66.67%;
font-weight: bold; /* Makes the text bold */
    font-size: 1.2em; /* Adjusts the font size (1.2em = 120% of the base size) */
    padding: 10px; /* Optional: Add padding for better spacing */
}


@media (max-width: 768px) {
    .header {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Align items to the left */
    }

    .logo {
        margin-right: 0; /* Remove right margin */
        margin-bottom: 10px; /* Add space below logo */
 max-width: 300px; /* Set a maximum width for larger screens */
    }
    .main-image {
        max-width: 100%; /* Make the image responsive */
        height: auto; /* Maintain aspect ratio */
        display: block; /* Remove inline-block spacing issues */
        margin: 0 auto; /* Center the image */
    }

    .container {
        width: 100%; 
        max-width: none;/* Remove max-width on small screens */
        padding: 0; /* Optional: add some padding for better spacing */
    }

.box-container {
    flex-direction: column; /* Stack boxes vertically */
    align-items: center; /* Center boxes */
  }

  .left-box, .right-box {
    width: 90%; /* Make boxes wider for mobile */
    margin: 10px 0; /* Add space between stacked boxes */
  }

 .large-box {
    width: 70%; /* Set width to 90% for smaller screens */
    margin: 10px auto; /* Center the box with some margin */
  }

}
.break-text {
            display: inline; /* Prevents wrapping on desktop */
        }  

@media (max-width: 768px) {
            .break-text {
        display: block; /* Forces the break on mobile */
    }
}


.cta-button {
    position: relative;
     display: flex; /* Use flexbox to center */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin: 0 auto; /* Center the button within its container */
    width: 300px; /* Set width for the button */
    height: auto; /* Adjust height automatically */
}

.button-image {
    display: block;
    width: 100%; /* Adjust size as needed */
    height: auto; /* Maintain aspect ratio */
    transition: opacity 0.3s ease; /* Smooth transition */
}

.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0; /* Start invisible */
}

.cta-button:hover .normal {
    opacity: 0; /* Hide normal button */
}

.cta-button:hover .hover {
    opacity: 1; /* Show hover button */
}

.contact-form {
    max-width: 600px; /* Maximum width of the form */
    margin: 0 auto; /* Center the form */
    padding: 20px; /* Padding around the form */
    border: 1px solid #ccc; /* Border around the form */
    border-radius: 5px; /* Rounded corners */
    background-color: #f9f9f9; /* Light background color */
}

.name-section {
    margin-bottom: 20px; /* Space below the name section */
}

.name-label {
    font-size: 1.6em; /* Normal font size for "Name" */
    margin-bottom: 5px; /* Space below label */
    color: #696969;
}

.name-inputs {
    display: flex; /* Flexbox for side-by-side inputs */
    justify-content: space-between; /* Space between inputs */
}

.input-group {
    flex: 1; /* Allow input groups to grow equally */
    margin-right: 10px; /* Space between first and last name input */
}

.input-group:last-child {
    margin-right: 0; /* Remove right margin for last input */
    width: 100%; /* Ensure it takes the remaining space */
}

.first-name-label,
.last-name-label {
    display: block; /* Block display for labels */
    font-size: 0.8em; /* Smaller font size for "First Name" and "Last Name" */
    color: #666; /* Lighter color */
    margin-bottom: 5px; /* Space below labels */
}

.email-label,
.info-label {
    font-size: 1.6em; /* Same size as "Name" */
    color: #696969; /* Lighter color */
    margin-bottom: 5px; /* Space below labels */
}

.required {
    font-size: 0.8em; /* Smaller font for "required" */
    color: #999; /* Lighter gray color */
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: calc(100% - 22px); /* Full width minus padding/border */
    padding: 10px; /* Padding inside the fields */
    margin-bottom: 20px; /* Space below each field */
    border: 1px solid #ccc; /* Border for input fields */
    border-radius: 5px; /* Rounded corners */
    font-size: 1em; /* Font size for input fields */
}

textarea {
    height: 100px; /* Height for the textarea */
}

.submit-button {
    background-color: #783EAE; /* Button background color */
    color: white; /* Button text color */
    padding: 10px 20px; /* Padding inside the button */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners for the button */
    font-size: 1em; /* Font size for button text */
    cursor: pointer; /* Pointer cursor on hover */
}

.submit-button:hover {
    background-color: #5b2b80; /* Darker shade on hover */
}

.submit-button-container {
    text-align: center; /* Center the button horizontally */
    margin-top: 20px; /* Space above the button */
}


.show-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.upcoming-images {
    display: flex;
    flex-direction: column; /* Stack images vertically */
    align-items: center; /* Center horizontally */
    gap: 5px; /* Add space between images */
}

.upcoming-images img {
    display: block;
    max-width: 100%; /* Ensure responsiveness */
    height: auto; /* Maintain aspect ratio */
}

.page-title {
    text-align: center; /* Centers text */
    font-size: 36px; /* Large size for visibility */
    font-weight: bold; /* Makes it stand out */
    color: #333; /* Dark grey for contrast */
    margin: 40px 0 20px 0; /* Spacing around the title */
    text-transform: uppercase; /* Makes it more prominent */
}

@media (max-width: 768px) {
    .page-title {
        font-size: 28px; /* Smaller size for mobile */
        margin: 20px 0; /* Adjust spacing */
    }
}

.headline-section {
  text-align: center;
  margin: 40px auto;
  padding: 20px;
  margin-top: 10px;
}

.headline-title {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: bold;
}

.headline-grid {
  display: flex;
  justify-content: center; /* Centers the whole row */
  align-items: center; /* Vertically center images */
  gap: 20px; /* Space between images */
  flex-wrap: nowrap; /* Keep all images in one row */
  max-width: 1000px; /* Optional, adjust as needed */
  margin: 0 auto; /* Center the container on the page */
}

.headline-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
 /* box-shadow: 0 4px 8px rgba(0,0,0,0.1); */
}

@media (min-width: 1024px) {
  .headline-image {
    max-width: 250px;
  }
}

@media (max-width: 600px) {
  .headline-grid {
    row-gap: 30px; /* extra vertical space between rows */
  }
}

.improvbook-image {
    width: 140px; /* Sets the width to 10px */
    height: auto; /* Keeps aspect ratio */   
    margin-left: 30px;
}



/* ===== Mobile adjustments for menu ===== */
@media (max-width: 768px) {
  /* Allow menu items to wrap instead of overflowing */
  .menu-bar ul {
    flex-wrap: wrap;
    justify-content: center; /* Center menu items when wrapped */
  }

  /* Allow list items to shrink and wrap */
  .menu-bar li {
    flex: 1 1 auto; /* Items can shrink */
    min-width: 120px; /* Optional: prevent items from being too small */
  }

  /* Adjust links inside menu items */
  .menu-bar a {
    font-size: 20px; /* smaller font for mobile */
    padding: 12px 0; /* reduce vertical padding */
  }

  /* Optional: reduce spacing for long menus */
  .menu-bar li:not(:last-child) {
    margin-bottom: 5px; /* spacing when wrapped */
  }
  
  /* Ensure no horizontal scroll */
  body, html {
    overflow-x: hidden;
  }
}

@media (max-width: 768px) {
  .headline-grid {
    flex-direction: column; /* Stack images vertically */
    align-items: center; /* Center images horizontally */
    row-gap: 20px; /* Optional: space between stacked images */
  }
}