@charset "UTF-8";
/**
 * Author: Andrew L Kwabula
 * KAL Computaz - http://kalcomputaz.com
 * Project: Rehoboth Consulting Engineers Ltd
 * Custom SASS file compiles to custom css file
 * May 2024
 */
/**
 * Khula Font Family 

 .khula-light {
  font-family: "Khula", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.khula-regular {
  font-family: "Khula", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.khula-semibold {
  font-family: "Khula", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.khula-bold {
  font-family: "Khula", sans-serif;
  font-weight: 700;
  font-style: normal;
}

IBM Plex Serif Font Family 
.khula-extrabold {
  font-family: "Khula", sans-serif;
  font-weight: 800;
  font-style: normal;
}
.ibm-plex-serif-thin {
  font-family: "IBM Plex Serif", serif;
  font-weight: 100;
  font-style: normal;
}

.ibm-plex-serif-extralight {
  font-family: "IBM Plex Serif", serif;
  font-weight: 200;
  font-style: normal;
}

.ibm-plex-serif-light {
  font-family: "IBM Plex Serif", serif;
  font-weight: 300;
  font-style: normal;
}

.ibm-plex-serif-regular {
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-serif-medium {
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  font-style: normal;
}

.ibm-plex-serif-semibold {
  font-family: "IBM Plex Serif", serif;
  font-weight: 600;
  font-style: normal;
}

.ibm-plex-serif-bold {
  font-family: "IBM Plex Serif", serif;
  font-weight: 700;
  font-style: normal;
}

.ibm-plex-serif-thin-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 100;
  font-style: italic;
}

.ibm-plex-serif-extralight-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 200;
  font-style: italic;
}

.ibm-plex-serif-light-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 300;
  font-style: italic;
}

.ibm-plex-serif-regular-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.ibm-plex-serif-medium-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  font-style: italic;
}

.ibm-plex-serif-semibold-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 600;
  font-style: italic;
}

.ibm-plex-serif-bold-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 700;
  font-style: italic;
}
*/
/*Variables*/
.about-rehoboth,
.project-container {
  background: url(../img/brushed_alu.webp) repeat !important;
}

.project-container {
  background: url(../img/brushed_alu.webp) repeat !important;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 8px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.project-container:hover {
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 12px 35px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Project Overview Card */
.project-overview-card {
  border-left: 6px solid #7d370a;
  padding-left: 10px;
  border-radius: 10px;
  margin-bottom: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: transparent;
}

.project-overview-card p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #222;
}

/*General Styles*/
body,
p {
  color: #222;
  font-family: "Khula", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2rem;
}

.blog-title-link {
  color: #0000ff !important;
  text-decoration: underline !important;
  text-underline-offset: 0.3rem;
}

.project-gallery-description {
  margin-bottom: 2px;
}

.breadcrumb-container {
  margin-top: -3rem;
  margin-bottom: 1rem !important;
}

h1,
.h1 {
  font-size: 2.4rem;
}

h2,
.h2 {
  font-size: 2, 0rem;
}

h3,
.h3 {
  font-size: 1.6rem;
}

h4,
.h4 {
  font-size: 1.3rem;
}

h5,
.h5 {
  font-size: 1rem;
}

h6,
.h6 {
  font-size: 0.9rem;
}

h1,
.h1 {
  font-weight: 200;
  font-family: "IBM Plex Serif";
  font-size: 60px;
  line-height: 1.2 !important;
}

h2,
h3,
h4,
h5,
h6,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-weight: 600;
  font-family: "IBM Plex Serif";
  line-height: 1.2 !important;
  color: #7d370a;
}

.testimonial-author p {
  margin-bottom: 0.5rem !important;
}

.testimonial-author h3 {
  margin-bottom: 0.9rem !important;
}

.testimonial-blog-wrapper {
  background-color: #ccc !important;
}

/**FAQ Container */
.faq-container p {
  background: #0a507d !important;
  margin-left: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  color: #fff !important;
}

/**Project Styles */
.project-container {
  margin-top: -1.4rem;
  margin-bottom: 0.625rem;
  padding: 0.5rem;
}

/*Site map 
* Used view source code to see which classes to target
*/
/* Blue links for main li items */
.wsp-pages-list > li > a {
  color: #0c60ba; /* Change this to your desired blue color */
  text-decoration: underline; /* Underline for main links */
}

.wsp-pages-list > li > a:hover {
  color: #4a79ab; /* Darker shade on hover */
}

/* Lighter shade of blue for child list items */
.wsp-pages-list .children > li > a {
  color: #2283ea; /* Change this to a lighter blue color */
  text-decoration: underline; /* Underline for child links */
}

.wsp-pages-list .children > li > a:hover {
  color: #5ba3e2; /* Darker shade on hover for child links */
}

/**parent pages links*/
.menu-parent-page a {
  color: blue; /* Change to your desired blue color */
  text-decoration: underline; /* Underline the links */
}

.menu-parent-page a:hover {
  color: rgb(24, 24, 130); /* Change to a darker blue on hover (optional) */
}

/**page with hyperlinks, class is in Gutenberg */
.page-with-hyperlinks a {
  color: #0000ff; /* Set the link color to blue */
  text-decoration: underline; /* Underline all links */
  text-underline-offset: 0.2rem;
}

.page-with-hyperlinks a:hover {
  color: #0000ff; /* Change to a darker blue on hover */
  text-decoration: none; /* Remove underline on hover (optional) */
}

/**Sidebar Default */
.blog-titles ul {
  list-style: none;
  padding: 0;
}

.blog-titles ul li {
  margin-bottom: 10px;
}

.blog-titles ul li a {
  color: #0000ff;
  text-decoration: none;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.blog-titles ul li a:hover {
  color: #ff0000;
}

.blog-titles .post-date {
  color: #555;
  font-size: 0.9em;
}

.sidebar-section {
  padding-left: 0.625rem;
}

.recent-projects {
  list-style: none;
  padding: 0;
}

.recent-projects li {
  margin-bottom: 20px;
}

.project-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
}

.project-image-wrapper {
  position: relative;
}

.project-image {
  width: 100%;
  height: auto;
  display: block;
}

.project-name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  text-align: center;
  font-size: 1.2em;
  transition: background 0.3s ease;
}

.project-link:hover .project-name-overlay {
  background: rgba(0, 0, 0, 0.8);
}

/**Projects */
/* General styles for project buttons */
.project-button {
  display: inline-block;
  background: #0a507d;
  color: #ffffff !important;
  font-size: 1.2rem !important;
  border-radius: 0.625rem;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.project-button:hover {
  background-color: #0056b3; /* Darker blue on hover */
  text-decoration: underline;
}

/* Disabled button styles */
.disabled-button {
  background-color: #ccc; /* Gray background for disabled state */
  color: #666; /* Darker gray text */
  cursor: not-allowed; /* Cursor indicates non-clickable */
  pointer-events: none; /* Disable all pointer events (clicks, hovers, etc.) */
  text-decoration: none; /* Remove underline for disabled items */
}

/* Optional: Disabled button when hovered (if pointer-events are enabled) */
.disabled-button:hover {
  background-color: #ccc; /* Keep gray background on hover */
  color: #666; /* Keep gray text */
  text-decoration: none; /* Ensure no underline on hover */
}

/**Add CSS styling for sector name under image */
.blog-titles .move-down {
  margin-bottom: -0.3rem;
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.project-name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px;
  text-align: center;
}

.sector-name {
  font-size: 14px;
  text-align: center;
  margin-top: 5px;
  color: #333;
}

/**pagination styling */
/* Pagination Container */
.blog-list_pagination-links {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.blog-list_pagination-links .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.blog-list_pagination-links .page-numbers:hover {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.blog-list_pagination-links .current {
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
  border-color: #007bff;
}

.blog-list_pagination-links .prev,
.blog-list_pagination-links .next {
  display: inline-block;
  margin: 0 10px;
  padding: 10px 15px;
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
}

.blog-list_pagination-links .prev:hover,
.blog-list_pagination-links .next:hover {
  color: #0056b3;
}

.success-message {
  color: #060 !important;
}

.error-message {
  color: #f00 !important;
}

/* Ensure the card has no rounded corners */
.customform input,
.customform textarea {
  border: 1 px dotted #eeeeee !important;
  background: rgba(0, 0, 0, 0) !important;
  border-bottom: 1px dashed rgb(130, 130, 130) !important;
  color: #000;
  font-size: 15px !important;
}

/* Rehoboth Contact Forms Styling */
.rcf-form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.rcf-form {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.rcf-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.rcf-form-group {
  flex: 1;
  margin-bottom: 20px;
}

.rcf-form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.rcf-form-group input,
.rcf-form-group select,
.rcf-form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.rcf-form-group input:focus,
.rcf-form-group select:focus,
.rcf-form-group textarea:focus {
  outline: none;
  border-color: #0a507d;
  box-shadow: 0 0 5px rgba(10, 80, 125, 0.3);
}

/* Radio button styling */
.rcf-radio-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.rcf-radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal !important;
}

.rcf-radio-label input[type=radio] {
  width: auto;
  margin-right: 8px;
  transform: scale(1.2);
}

.rcf-radio-label span {
  font-size: 16px;
  color: #333;
}

/* Conditional field styling */
.rcf-conditional-field {
  transition: all 0.3s ease;
}

/* reCAPTCHA styling */
.g-recaptcha {
  margin: 10px 0;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .g-recaptcha {
    transform: scale(0.77);
    transform-origin: 0 0;
  }
}
.rcf-submit-btn {
  background: #0a507d;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.rcf-submit-btn:hover {
  background: rgb(6.2222222222, 49.7777777778, 77.7777777778);
}

.rcf-submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.rcf-form-response {
  margin-top: 20px;
  padding: 15px;
  border-radius: 4px;
  display: none;
}

.rcf-form-response.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.rcf-form-response.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
  .rcf-form-row {
    flex-direction: column;
    gap: 0;
  }
  .rcf-form {
    padding: 20px;
  }
  .rcf-radio-group {
    flex-direction: column;
    gap: 10px;
  }
}
/**BLOGS IN SIDEBAR */
/* Style for the post links */
.blog-titles,
.sidebar-projects {
  background: url(../img/brushed_alu.webp) repeat !important;
  border-radius: 0.8rem !important;
  padding: 0.3rem;
}

.blog-titles__list {
  list-style: none; /* Removes bullet points */
  padding-left: 0; /* Removes default padding */
}

.blog-titles__list li.disabled {
  cursor: not-allowed;
  pointer-events: none; /* Prevent clicking */
  color: #999; /* Optional: grey out the text */
  text-decoration: none; /* Remove underline */
}

.blog-titles__list li {
  line-height: 1.5rem; /* Adjust the line-height to reduce spacing */
}

.blog-titles__list li a {
  color: #0000ff !important; /* Make links blue */
  text-decoration: underline; /* Add underline to links */
  text-underline-offset: 0.2rem;
  display: block; /* Ensures the title is on its own line */
  padding: 0.6rem;
}

/* Style for the date */
.blog-titles__date {
  display: block; /* Moves the date to a new line */
  font-size: 0.9em; /* Slightly smaller font for the date */
  color: #222; /* Grey color for the date */
  padding: 0 0.5rem 0.6rem 0.5rem;
}

.disabled .blog-titles__date {
  color: #888 !important;
}

/* Style for alternating rows */
.blog-titles__list li.even {
  background-color: #cccccc; /* Light grey background for even rows */
}

.blog-titles__list li.odd {
  background-color: #ffffff; /* White background for odd rows */
}

/* Style for the currently viewed (disabled) item */
.blog-titles__list li.disabled a {
  color: #888 !important; /* Light grey for the disabled post */
  cursor: not-allowed; /* Show 'not-allowed' cursor */
  text-decoration: none; /* Remove underline */
}

.blog-titles__list li.disabled a {
  pointer-events: none; /* Disable clicking on the link */
  color: inherit; /* Inherit the grey color from the parent */
  text-decoration: none; /* Ensure no underline */
}

/** Categories */
.aside-nav ul.chevron li a {
  color: #303192; /* Primary brand color for regular links */
  text-decoration: underline; /* Regular link underline */
  cursor: pointer;
  transition: color 0.3s ease; /* Smooth color transition */
}

.aside-nav ul.chevron li a:hover {
  color: #f58221; /* Secondary brand color on hover */
}

.aside-nav ul.chevron li span.disabled {
  color: #888; /* Consistent disabled link color */
  text-decoration: none; /* Remove underline */
  cursor: default; /* Make the cursor non-clickable */
}

/* Disabled state for both All and categories */
.aside-nav ul.chevron li span.disabled,
.aside-nav ul.chevron li.disabled span {
  color: #888; /* Consistent disabled link color */
  text-decoration: none; /* Remove underline */
  cursor: default; /* Non-clickable cursor */
  padding-left: 1.3rem;
}

/* Mobile Menu Z-Index Fix */
@media screen and (max-width: 768px) {
  /* Ensure mobile navigation appears above page overlay */
  .show-menu .top-nav {
    z-index: 1001 !important; /* Higher than page-overlay's z-index: 1000 */
  }
  /* Also ensure nav-text (hamburger menu) is above overlay */
  .nav-text {
    z-index: 1002 !important;
  }
  /* Hide page overlay when mobile menu is active */
  body.show-menu #page-overlay {
    display: none !important;
  }
  /* Additional fix: Lower the page overlay z-index on mobile to ensure menu is always above */
  #page-overlay {
    z-index: 999 !important; /* Lower than mobile nav */
  }
  /* Ensure page overlay is completely hidden after initial load on mobile */
  body:not(.show-menu) #page-overlay {
    animation: fadeOutOverlay 3s forwards;
  }
}
/* Keyframe animation to ensure overlay disappears */
@keyframes fadeOutOverlay {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    display: none;
  }
}
/* Buttons */
.rehoboth-button-white,
.rehoboth-button-color,
.rehoboth-button-cta {
  border-radius: 0.6rem;
}

.rehoboth-button-color,
a.rehoboth-button-color,
a.rehoboth-button-color:link,
a.rehoboth-button-color:active,
a.rehoboth-button-color:visited {
  background: #0a507d none repeat scroll 0 0;
  font-size: 1.2rem;
  padding: 0.6rem 1.3rem;
}

.rehoboth-button-cta,
a.rehoboth-button-cta,
a.rehoboth-button-cta:link,
a.rehoboth-button-cta:active,
a.rehoboth-button-cta:visited {
  background: #7d370a none repeat scroll 0 0;
  color: #fff;
  padding: 0.8rem 1.5rem;
}

.cta-button .button,
.cta-button a.button,
.cta-button a.button:link,
.cta-button a.button:visited {
  font-size: 1.2rem;
}

.all-projects-button a {
  font-size: 1.5rem;
}

.rehoboth-button-white,
a.rehoboth-button-white,
a.rehoboth-button-white:link,
a.rehoboth-button-white:active,
a.rehoboth-button-white:visited {
  border: 0;
  color: #000;
  background: #ffffff none repeat scroll 0 0;
  font-size: 1.2rem;
  padding: 0.6rem 1.3rem;
}

.rehoboth-button-white:hover.button,
.rehoboth-button-white:hover a.button,
.rehoboth-button-white:hover a.button:link,
.rehoboth-button-white:hover a.button:active,
.rehoboth-button-white:hover a.button:visited {
  background: #dddddd;
}

/**Home page button */
.button-wrapper .rehoboth-button-white,
.button-wrapper a.rehoboth-button-white,
.button-wrapper a.rehoboth-button-white:link,
.button-wrapper a.rehoboth-button-white:active,
.button-wrapper a.rehoboth-button-white:visited {
  border: 0;
  color: #000;
  background: #ffffff none repeat scroll 0 0 !important;
  font-size: 1.2rem;
  padding: 0.8rem 1.5rem;
}

.button-wrapper a.rehoboth-button-white:hover {
  color: #7d370a;
  background: #dddddd none repeat scroll 0 0 !important;
}

/**Overriding Template styles and components styles */
/* Stroke Buttons */
.button.button-white-stroke,
a.button.button-white-stroke,
a.button.button-white-stroke:link,
a.button.button-white-stroke:visited,
.primary-color-white .button.button-primary-stroke,
.primary-color-white a.button.button-primary-stroke,
.primary-color-white a.button.button-primary-stroke:link,
.primary-color-white a.button.button-primary-stroke:visited {
  background: #0a507d;
  border: 1px solid #fff;
  box-shadow: none;
  border-radius: 0.625rem;
  color: #fff;
}

.button.button-white-stroke:hover,
a.button.button-white-stroke:hover,
.primary-color-white .button.button-primary-stroke:hover,
.primary-color-white a.button.button-primary-stroke:hover {
  background: #fff none repeat scroll 0 0;
  color: #002633;
}

.button.submit-btn,
a.button.submit-btn,
a.button.submit-btn:link,
a.button.submit-btn:active,
a.button.submit-btn:visited {
  background: #0a507d none repeat scroll 0 0;
}

.copyright {
  font-size: 0.9rem !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

footer .rehoboth-button-white,
footer a.rehoboth-button-white,
footer a.rehoboth-button-white:link,
footer a.rehoboth-button-white:active,
footer a.rehoboth-button-white:visited {
  border: 0;
  color: #000;
  background: #ffffff;
  font-size: 1.2rem;
  padding: 0.6rem 1.3rem;
}

footer a.rehoboth-button-white:hover {
  color: #7d370a;
  background: #dddddd;
}

.project-image {
  padding-top: 0.6rem !important;
}

/*Project Styles end*/
.entity-image {
  padding-top: 0.6rem !important;
}

.entity-container {
  margin-top: -1rem;
  margin-bottom: 0.625rem;
}

/*Home Page*/
.rehoboth-container {
  padding-top: 0.8rem;
}

div,
li,
dl,
blockquote,
table,
td,
kbd {
  font-size: 1.2rem;
}

.aside-nav > ul > li > a:hover,
.aside-nav > ul > li.active-item > a:link,
.aside-nav > ul > li.active-item > a:visited {
  border-style: solid;
  border-width: 0 0 0 5px;
  border-color: #e5e5e5;
  background: none;
  color: #222;
  font-size: 1.1rem;
  background: #cccccc;
  margin: 0.4rem 0;
}

.established h2 {
  clear: both;
  word-wrap: break-word;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: center;
}

.image-with-text-overlay {
  position: relative;
}

.image-text-overlay-content {
  position: relative;
}

.card-wrapper {
  position: relative;
  top: -50px; /* Move the card-wrapper upwards by 50px */
}

.text-orange {
  color: #ffa500;
  font-size: 30px;
  margin-bottom: 10px;
}

footer div {
  font-size: 1rem !important;
}

footer .a,
footer a:link,
footer a:visited,
footer a:hover,
footer a:active {
  color: #ccc;
}

footer a:hover {
  color: #ff0000;
}

.text-white {
  color: #fff;
  font-size: 16px; /* Adjust as needed */
}

.grey-text {
  color: #ccc;
}

.text-white-header {
  color: #fff;
  font-size: 1.6rem; /* Adjust as needed */
}

.text-white-shade {
  color: #eee;
  font-size: 1.6rem; /* Adjust as needed */
}

/**Sidebar underline */
.aside-nav ul li a {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  color: #0000ff !important; /* Optional: Set the color for the links */
}

.aside-nav ul li a:hover {
  text-decoration-color: #007bff; /* Optional: Change underline color on hover */
}

.card-wrapper {
  background-color: rgba(0, 0, 0, 0.7); /* Dark background with transparency */
  padding: 20px; /* Add padding inside the card */
  border-radius: 10px; /* Optional: rounded corners */
  position: relative; /* Ensure the wrapper is positioned relative to its contents */
  overflow: hidden; /* Prevent contents from overflowing */
}

.button-wrapper {
  text-align: center; /* Center the button inside the wrapper */
  margin-top: 20px; /* Add some space above the button */
}

/**Blog Styles */
.blog-links a,
.blog-links a:link,
.blog-links a:visited,
.blog-links a:hover,
.blog-links a:active {
  color: #0000ff;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.blog-links a:hover {
  color: #ff0000;
}

.rehoboth-primary-background {
  background-color: #0a507d !important;
}

.rehoboth-primary-background p,
.rehoboth-primary-background div {
  color: #fff;
}

footer {
  background: #0a507d;
}

/* Media Queries */
/* Up to 480px */
@media only screen and (max-width: 480px) {
  /* Add your styles here */
  cta-button {
    margin-top: 1rem;
  }
}
/* Up to 768px */
@media only screen and (max-width: 768px) {
  /* Mobile Menu Z-Index Fix */
  /* Ensure mobile navigation appears above page overlay */
  .show-menu .top-nav {
    z-index: 1001 !important; /* Higher than page-overlay's z-index: 1000 */
  }
  /* Also ensure nav-text (hamburger menu) is above overlay */
  .nav-text {
    z-index: 1002 !important;
  }
  /* Hide page overlay when mobile menu is active */
  body.show-menu #page-overlay {
    display: none !important;
  }
  /* Additional fix: Lower the page overlay z-index on mobile to ensure menu is always above */
  #page-overlay {
    z-index: 999 !important; /* Lower than mobile nav */
  }
  /* Ensure page overlay is completely hidden after initial load on mobile */
  body:not(.show-menu) #page-overlay {
    animation: fadeOutOverlay 3s forwards;
  }
  /* Fix mobile menu positioning issue - ensure menu items are always visible regardless of scroll position */
  .top-nav > ul {
    top: 0 !important; /* Remove the 60px offset that causes issues when scrolled */
    padding-top: 60px !important; /* Add padding instead to account for hamburger button space */
  }
  /* Fix mobile menu text color issue - ensure text is always white regardless of scroll position */
  .show-menu .top-nav li a,
  .show-menu .top-nav li a:link,
  .show-menu .top-nav li a:visited,
  .show-menu .top-nav li a:hover {
    color: #ffffff !important; /* Force white text color when mobile menu is open */
  }
  /* Submenu items styling */
  .show-menu .top-nav li ul li a,
  .show-menu .top-nav li ul li a:link,
  .show-menu .top-nav li ul li a:visited {
    color: #222 !important; /* Dark text for regular submenu items */
    background: #fff !important;
  }
  .show-menu .top-nav li ul li a:hover {
    color: #ffffff !important;
    background-color: #7d370a;
  }
  /* Active submenu item - this is the key fix */
  .show-menu .top-nav li ul li.active-item a,
  .show-menu .top-nav li ul li.active-item a:link,
  .show-menu .top-nav li ul li.active-item a:visited,
  .show-menu .top-nav li ul li a:active {
    background-color: #7d370a !important;
    color: #ffffff !important;
  }
  /* Brand color styling for mobile menu */
  /* Hamburger button styling - use secondary color */
  .nav-text span,
  .nav-text:before,
  .nav-text:after {
    background-color: #ffffff !important; /* Use secondary brand color for hamburger lines */
  }
  .top-nav li ul li a,
  .background-white .top-nav li ul li a,
  .top-nav .active-item li a {
    background: #fff none repeat scroll 0 0;
    color: rgba(0, 0, 0, 0.75);
  }
  /* Mobile menu background - use primary color */
  .show-menu .top-nav,
  .show-menu .top-nav ul {
    background-color: #0a507d !important; /* Use primary brand color for menu background */
  }
  /* Ensure submenu items also use primary color background */
  .show-menu .top-nav ul ul {
    background-color: #0a507d !important;
  }
}
/* Arrow Object - Diagonal Clip Effect (CSS-only, no SVG needed) */
.arrow-object {
  position: absolute;
  bottom: -35px;
  left: 0;
  width: 100%;
  height: 80px;
  clip-path: polygon(-10% 60%, 110% 0%, 110% 100%, -10% 100%);
  z-index: 1;
  pointer-events: none;
}

.arrow-object[data-arrow=white] {
  background: #ffffff;
}

.arrow-object[data-arrow=blue] {
  background: #0a507d;
}

.arrow-object[data-arrow=red] {
  background: #c81010;
}

section:has(~ footer) .arrow-object {
  bottom: -35;
}

/* 769px and above */
@media only screen and (min-width: 769px) {
  /* Add your styles here */
  .nav-wrapper {
    margin-top: 1rem;
  }
  .logo img {
    margin: 1.8rem 0 0 1.8rem;
    width: 170px;
    position: relative;
  }
  .our-work-container {
    display: block;
    height: 30%;
    overflow: hidden;
    position: relative;
  }
  .our-work-container > img {
    transform: scale(1);
    filter: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="g"><feColorMatrix type="matrix" values="0.3 0.3 0.3 0 0 0.3 0.3 0.3 0 0 0.3 0.3 0.3 0 0 0 0 0 1 0"/></filter></svg>#g');
    filter: grayscale(100%);
    filter: progid:DXImageTransform.Microsoft.BasicImage(grayScale=1);
    transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    -ms-transition: all 0.2s linear 0s;
    -moz-transition: all 0.2s linear 0s;
    -webkit-transition: all 0.2s linear 0s;
    width: 100%;
  }
  .our-work-container:hover > img {
    transform: scale(1.1);
    filter: none;
    filter: grayscale(0%);
    filter: progid:DXImageTransform.Microsoft.BasicImage(grayScale=0);
  }
  .our-work-text {
    background: #7d370a none repeat scroll 0 0;
    bottom: 0;
    display: block;
    left: 0;
    opacity: 0;
    padding: 0.6em;
    position: absolute;
    right: 0;
    text-align: center;
    transition: opacity 0.2s linear 0s;
    -o-transition: opacity 0.2s linear 0s;
    -ms-transition: opacity 0.2s linear 0s;
    -moz-transition: opacity 0.2s linear 0s;
    -webkit-transition: opacity 0.2s linear 0s;
    width: 100%;
    z-index: 3;
  }
  .our-work-text:before {
    background: #fff none repeat scroll 0 0;
    border: 2px solid #00283a;
    border-radius: 30px;
    color: #00283a;
    content: "\f50d";
    display: block;
    font-family: mfg;
    height: 30px;
    left: 50%;
    line-height: 30px;
    margin-left: -15px;
    position: absolute;
    top: -15px;
    width: 30px;
  }
  .our-work-container:hover > .our-work-text {
    opacity: 1;
  }
  .our-work-text h4 {
    color: #fff;
    font-size: 1em;
    font-weight: 600;
  }
  .our-work-text p {
    color: #fff !important;
    font-size: 0.8em;
    opacity: 0.7;
  }
}
/* Keyframe animation to ensure overlay disappears */
@keyframes fadeOutOverlay {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    display: none;
  }
}
/* Gutenberg helper classes (frontend and editor) */
/* Cards */
/* Base card styles also apply when only a variant class is used */
.re-card,
.re-card-primary,
.re-card-secondary,
.re-card-accent,
[class*=wp-block] .re-card,
[class*=wp-block] .re-card-primary,
[class*=wp-block] .re-card-secondary,
[class*=wp-block] .re-card-accent,
.wp-block-group.re-card,
.wp-block-group.re-card-primary,
.wp-block-group.re-card-secondary,
.wp-block-group.re-card-accent,
.wp-block-column.re-card,
.wp-block-column.re-card-primary,
.wp-block-column.re-card-secondary,
.wp-block-column.re-card-accent {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 1.25rem;
  border-left: 4px solid transparent;
}

.re-card-primary {
  border-left-color: #0a507d;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.re-card-secondary {
  border-left-color: #7d370a;
  margin-bottom: 1.5rem;
  margin-top: 2rem !important;
}

.re-card-accent {
  border-left-color: rgb(17.5555555556, 140.4444444444, 219.4444444444);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.re-feature-card,
.wp-block-group.re-feature-card,
.wp-block-column.re-feature-card {
  text-align: center;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
}

/* Card grid */
.re-card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

@media (min-width: 992px) {
  .re-card-grid > * {
    grid-column: span 4;
  }
}
@media (min-width: 600px) and (max-width: 991px) {
  .re-card-grid > * {
    grid-column: span 6;
  }
}
@media (max-width: 599px) {
  .re-card-grid > * {
    grid-column: span 12;
  }
}
/* Lists */
.re-styled-list {
  list-style: none;
  padding-left: 0;
}

.re-styled-list li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.re-styled-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  transform: rotate(45deg);
  background: #7d370a;
}

.re-checklist {
  list-style: none;
  padding-left: 0;
}

.re-checklist li {
  position: relative;
  padding-left: 2rem;
  margin: 0.5rem 0;
}

.re-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #7d370a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  line-height: 1;
}

.re-numbered-list {
  counter-reset: re-num;
  list-style: none;
  padding-left: 0;
  border-left: 4px solid #0a507d;
}

.re-numbered-list li {
  counter-increment: re-num;
  position: relative;
  padding-left: 2.2rem;
  margin: 0.6rem 0;
}

.re-numbered-list li::before {
  content: counter(re-num);
  position: absolute;
  left: -0.9rem;
  top: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #0a507d;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Tables */
/* Support when class is on <figure> wrapper or on <table> element */
.re-enhanced-table table,
.re-styled-table table,
table.re-enhanced-table,
table.re-styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

/* Table headers */
.re-enhanced-table thead th,
.re-styled-table thead th,
table.re-enhanced-table thead th,
table.re-styled-table thead th {
  background: linear-gradient(180deg, #0a507d, rgb(6.9777777778, 55.8222222222, 87.2222222222));
  color: #fff;
  padding: 0.75rem;
  text-align: left;
}

/* Table cells */
.re-enhanced-table tbody td,
.re-styled-table tbody td,
table.re-enhanced-table tbody td,
table.re-styled-table tbody td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid #e9ecef;
}

/* Zebra and hover */
.re-enhanced-table tbody tr:nth-child(odd),
.re-styled-table tbody tr:nth-child(odd),
table.re-enhanced-table tbody tr:nth-child(odd),
table.re-styled-table tbody tr:nth-child(odd) {
  background: #fafbfc;
}

.re-enhanced-table tbody tr:hover,
.re-styled-table tbody tr:hover,
table.re-enhanced-table tbody tr:hover,
table.re-styled-table tbody tr:hover {
  background: #f2f6fb;
}

.table-responsive {
  overflow-x: auto;
  width: 100%;
}

/* Gutenberg Table wrapper support + headerless fallback */
/* Ensure styling applies when class is on a parent Column and table is inside Figure */
.re-enhanced-table figure.wp-block-table table,
.re-styled-table figure.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.re-enhanced-table figure.wp-block-table thead th,
.re-styled-table figure.wp-block-table thead th {
  background: linear-gradient(180deg, #0a507d, rgb(6.9777777778, 55.8222222222, 87.2222222222));
  color: #fff;
  padding: 0.75rem;
  text-align: left;
}

.re-enhanced-table figure.wp-block-table tbody td,
.re-styled-table figure.wp-block-table tbody td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid #e9ecef;
}

.re-enhanced-table figure.wp-block-table tbody tr:nth-child(odd),
.re-styled-table figure.wp-block-table tbody tr:nth-child(odd) {
  background: #fafbfc;
}

.re-enhanced-table figure.wp-block-table tbody tr:hover,
.re-styled-table figure.wp-block-table tbody tr:hover {
  background: #f2f6fb;
}

/* Fallback when Table block has no header row (no <thead>) */
.re-enhanced-table figure.wp-block-table tbody td:first-child,
.re-styled-table figure.wp-block-table tbody td:first-child,
table.re-enhanced-table tbody td:first-child,
table.re-styled-table tbody td:first-child {
  font-weight: 600;
  color: #0a507d;
}

/* Light borders for all cells */
.re-enhanced-table figure.wp-block-table td,
.re-styled-table figure.wp-block-table td,
table.re-enhanced-table td,
table.re-styled-table td {
  border: 1px solid #e9ecef;
}

/* Links & Buttons */
.re-enhanced-links a {
  color: rgb(13.0222222222, 104.1777777778, 162.7777777778);
  text-decoration: underline;
  text-underline-offset: 0.18rem;
  transition: color 0.2s ease;
}

.re-enhanced-links a:hover {
  color: rgb(25.8333333333, 154.1666666667, 236.6666666667);
}

.re-btn-primary {
  background: #0a507d;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.re-btn-secondary {
  background: #7d370a;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.re-btn-outline {
  background: transparent;
  color: #0a507d;
  border: 2px solid #0a507d;
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  display: inline-block;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.re-btn-primary:hover,
.re-btn-secondary:hover,
.re-btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.re-btn-outline:hover {
  background: #0a507d;
  color: #fff;
}

/* End Gutenberg helper classes */
.section {
  overflow: hidden;
  position: relative;
}

.section-head {
  overflow: hidden;
  position: relative;
}

h2:not(:first-of-type),
h3:not(:first-of-type) {
  padding-top: 1.5rem;
}/*# sourceMappingURL=custom.css.map */