/* Page Layout */
.page {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
  }
  
  /* Main content (left) */
  main {
    flex: 0 0 70%; /* 70% width for main content */
    overflow-y: auto; /* Allow main content to scroll */
    padding: 20px;
    box-sizing: border-box;
  }
  
  /* Sticky Form Section (right) */
  .sticky-form-section {
    flex: 0 0 30%; /* 30% width for the form */
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    background-image: url('../images/new/bg_4.jpg');
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat;
    background: rgba(16, 86, 100, 0.4);
    
  }
  
  /* Sticky Behavior with Scrollable Form */
  .form-container {
    position: sticky;
    top: 80px; /* Adjust to match header/nav height */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-height: calc(100vh - 100px); /* Ensure the form fits in the viewport */
    box-sizing: border-box;
    overflow-y: auto; /* Enable form scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }
  
  /* Form Styling */
  .contact-form .form-group {
    margin-bottom: 20px;
  }
  
  .contact-form .form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .contact-form .form-control {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .contact-form .btn-submit {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .contact-form .btn-submit:hover {
    background: #0056b3;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .page {
      flex-direction: column;
    }
  
    main {
      flex: 1;
      padding-right: 0;
    }
  
    .sticky-form-section {
      flex: 1;
      position: static; /* Disable sticky behavior on mobile */
      margin-top: 20px;
    }
  
    .form-container {
      max-height: none; /* Allow full form visibility on mobile */
      overflow-y: visible; /* Remove scroll on mobile */
    }
  }

  
/* Global Scrollbar Styling for Webkit Browsers */
::-webkit-scrollbar {
    width: 8px; /* Slim vertical scrollbar */
    height: 6px; /* Slim horizontal scrollbar */
  }
  
  ::-webkit-scrollbar-thumb {
    background: #d8d8d8; /* Scrollbar thumb color */
    border-radius: 10px; /* Rounded edges */
    height: 20px; /* Minimum height for the vertical scrollbar thumb */
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #d8d8d8; /* Darker shade on hover */
  }
  
  ::-webkit-scrollbar-track {
    background: #f0f0f0; /* Light background for the track */
    border-radius: 10px; /* Rounded edges for the track */
  }
  
  /* For Firefox (Global Scrollbar Styling) */
  * {
    scrollbar-width: thin; /* Slim scrollbar */
    scrollbar-color: #d8d8d8 #f0f0f0; /* Thumb color and track color */
  }

  /* For Mobile View (Adjust width and height as needed) */
@media (max-width: 768px) {
    /* Button that peeks out at the bottom */
    .register-button-container {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 40px;
        background-color: #007bff; /* Button background */
        border-radius: 15px 15px 0 0; /* Rounded top corners */
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999; /* Ensure it's above other content */
    }

    .register-button {
        background: none;
        border: none;
        color: #fff;
        font-size: 16px;
        font-weight: bold;
        text-transform: uppercase;
        cursor: pointer;
    }

    /* Optional hover effect for button */
    .register-button:hover {
        color: #d1d1d1;
    }

    /* Sticky Registration Form Styling */
    .registration-form-container {
        position: -webkit-sticky;
        position: sticky;
        top: 60px; /* Adjust to just below the header */
        padding: 10px;
    }

    /* Contact Form */
    .form-group {
        margin-bottom: 15px;
    }

    .form-control {
        width: 100%;
        padding: 12px;
    }
}

@media (min-width: 768px) {
    .register-button-container {
        display: none;
    }

    /* Style for the form container */
    .sticky-form-section {
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {

    /* Style for the form container */
    .sticky-form-section {
        max-width: 600px;
        margin: 0;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}




/* Additional Fields */
.additional-fields {
    margin-top: 20px;
}

/* Optional: Adjust dropdown and form inputs */
.form-control {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 14px;
}

/* Submit button styling */
.btn-submit {
    background-color: #007bff;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #0056b3;
}

/* Adjust label font size and style */
.form-group label {
    font-size: 14px;  /* Smaller font size for better readability */
    font-weight: 500;  /* Medium weight for clarity */
    color: #555;  /* Lighter grey color for a subtle look */
    margin-bottom: 5px;  /* Small space below the label */
    display: block;  /* Ensure the label is a block-level element */
}

.page-section-about {
  position: relative; /* Ensures the overlay and content are positioned correctly */
  background-image: url('../images/new/bg_1.jpg'); /* Replace with your image path */
  background-size: cover; /* Ensures the image covers the entire section */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat;
  color: white; /* Ensures the text is visible on the overlay */
}

.page-section-about::before {
  content: ''; /* Adds an overlay */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent black overlay */
  z-index: 1; /* Places the overlay below the content */
}

.page-section-benifits {
  position: relative; /* Ensures the overlay and content are positioned correctly */
  background-image: url('../images/new/bg_3.jpg'); /* Replace with your image path */
  background-size: cover; /* Ensures the image covers the entire section */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat;
  color: white; /* Ensures the text is visible on the overlay */
}

.page-section-benifits::before {
  content: ''; /* Adds an overlay */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent black overlay */
  z-index: 1; /* Places the overlay below the content */
}

.page-section-home {
  position: relative; /* Ensures the overlay and content are positioned correctly */
  background-image: url('../images/new/edmonton_1.jpg'); /* Replace with your image path */
  background-size: cover; /* Ensures the image covers the entire section */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat;
  color: white; /* Ensures the text is visible on the overlay */
}

.page-section-home::before {
  content: ''; /* Adds an overlay */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  z-index: 1; /* Places the overlay below the content */
}

.section-container-custom {
  z-index: 2; /* Ensures content appears above the background */
}

  