/* ==================================== */
/* File: offerings.css                  */
/* OFFERINGS PAGE STYLES                */
/* Page ID: 43                          */
/* ==================================== */

/* ================ */
/* SECTION HEADINGS */
/* ================ */

/* Sections with colored background - white letters */
.section-heading-light {
  position: relative;
  font-size: 3rem; /* Adjust as needed */
  color: white;  /* Ensures text is white for contrast */
  letter-spacing: 1.5px; /* Adds some spacing between letters */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);  /* Subtle dark shadow for visibility */
}

.section-heading-light::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);  /* Semi-transparent background for contrast */
  z-index: -1;  /* Ensure the overlay is behind the text */
}

/* END SECTION HEADINGS */
/* ==================== */

/* =========================== */
/* SECTION – OFFERINGS OVERVIEW */
/* =========================== */

/* Layout: 3 cards on desktop, 2 on tablet, 1 on mobile */
.services-intro-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 1.75rem;
}
 
/* Card layout (how many per row) */
.services-intro-grid > .service-card {
  box-sizing: border-box;
  flex: 0 1 calc(33.333% - 1.17rem);
  /* max-width: calc(33.333% - 1.17rem); */
  width: auto !important;           /* override Elementor full-width */
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .services-intro-grid > .service-card {
    flex: 0 1 calc(50% - 0.9rem);
    /* max-width: calc(50% - 0.9rem); */
  }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
  .services-intro-grid > .service-card {
    flex: 0 1 100%;
    /* max-width: 100%; */
  }
}

/* Visual styling for cards */
.services-intro-grid .service-card {
  background: #ffffff;
  border: 1px solid var(--bering-dark-grey);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
  box-sizing: border-box;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.services-intro-grid .service-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.14);
}

.services-intro-grid .service-card .elementor-heading-title {
  margin: 0 0 0.4rem 0;
}

.services-intro-grid .service-card .elementor-widget-text-editor {
  margin-top: 0.25rem;
}

.services-intro-grid .service-card .elementor-widget-text-editor a {
  display: inline-block;
  margin-top: 0.5rem;
}

/* END SECTION – OFFERINGS OVERVIEW */
/* =============================== */

/* ==================== */
/* SECTION – CONSULTING */
/* ==================== */

/* ========================================= */
/* OFFERINGS – OUR APPROACH (5 approaches)   */
/* Applies when the Approaches block is on   */
/* the main Offerings page (not in accordion)*/
/* Wrapper classes: .acc-page.acc-inner      */
/* ========================================= */

.acc-page.acc-inner .consulting-approaches {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 1.5rem !important;
}

/* Each approach card (direct child container) */
.acc-page.acc-inner .consulting-approaches > .e-con {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  /* mobile default */
  flex: 0 1 100% !important;
  max-width: 100% !important;
}

/* 768–1366px: 2 per row */
@media (min-width: 768px) and (max-width: 1366px) {
  .acc-page.acc-inner .consulting-approaches > .e-con {
    flex: 0 1 calc(50% - 0.75rem) !important;
    max-width: calc(50% - 0.75rem) !important;
  }
}

/* ≥1367px: 3 per row */
@media (min-width: 1367px) {
  .acc-page.acc-inner .consulting-approaches > .e-con {
    flex: 0 1 calc(33.333% - 1rem) !important;
    max-width: calc(33.333% - 1rem) !important;
  }
}

/* END SECTION – CONSULTING */
/* ======================== */


/* ================================ */
/* SECTION – PROJECT MANAGEMENT     */
/* Modal spacing fix                */
/* ================================ */

body.pr-modal-open #services-project-management {
  padding-bottom: 800px !important; /* keep your tested value */
}

/* END SECTION – PROJECT MANAGEMENT */
/* =============================== */

/* ======================== */
/* SECTION – CALL TO ACTION */
/* ======================== */

/* Constrain inner width & center everything */
#services-cta .container-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* CTA body text + note */
#services-cta .services-cta-text,
#services-cta .services-cta-note {
  max-width: 640px;
  margin: 0 auto 18px;
}

/* Base button styling (shared) */
#services-cta .elementor-widget-button.bering-btn-primary .elementor-button,
#services-cta .elementor-widget-button.bering-btn-secondary .elementor-button {
  border-radius: 999px;
  border-style: solid;
  border-width: 2px;
  padding: 0.7rem 1.8rem; /* baseline padding */
  font-weight: 600;
}

/* 🔧 Primary button gets +1px vertical padding */
#services-cta .elementor-widget-button.bering-btn-primary .elementor-button {
  padding-top: 12px !important;
  padding-bottom: 12px !important;

  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: var(--bering-accent-hover) !important;
}

/* Secondary button: transparent + white outline */
#services-cta .elementor-widget-button.bering-btn-secondary .elementor-button {
  background-color: transparent;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* Hover for both */
#services-cta .elementor-widget-button.bering-btn-primary .elementor-button:hover,
#services-cta .elementor-widget-button.bering-btn-secondary .elementor-button:hover {
  background-color: var(--bering-accent-hover) !important;
  border-color: var(--bering-accent-hover) !important;
  color: #ffffff !important;
}

/* ========================== */
/* END SECTION CALL TO ACTION */
/* ========================== */

/* ========================================== */
/* HARD OVERRIDE – SERVICES INTRO GRID LAYOUT */
/* ========================================== */

.services-intro-grid.e-con.e-flex {
  display: flex !important;
  flex-direction: row !important;   /* <– stop vertical stacking */
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
}

/* Make sure cards behave as flex columns, not full-width blocks */
.services-intro-grid.e-con.e-flex > .service-card.e-con {
  box-sizing: border-box;
  flex-grow: 0 !important;
  flex-shrink: 1 !important;
  flex-basis: calc(33.333% - 1.17rem) !important;
  /* max-width: calc(33.333% - 1.17rem) !important; */
  width: auto !important;
}

/* Tablet Landscape(≤1200px): 2 cards per row */
@media (max-width: 1200px) {
  .services-intro-grid.e-con.e-flex > .service-card.e-con {
    flex-basis: calc(50% - 0.9rem) !important;
    /* max-width: calc(50% - 0.9rem) !important; */
  }
}

/* Mobile (≤767px): 1 card per row */
@media (max-width: 767px) {
  .services-intro-grid.e-con.e-flex > .service-card.e-con {
    flex-basis: 100% !important;
    /* max-width: 100% !important; */
  }
}

/* END HARD OVERRIDE – SERVICES INTRO GRID LAYOUT */
/* ============================================== */

/* End of file offerings.css */