/* =====================================
   GLOBAL LAYOUT & CONTAINERS
   ===================================== */
.container {
  max-width: 1400px;
}
.t4-offcanvas .t4-off-canvas-header a img {
  max-height: 100%;
  outline: none;
}
.t4-offcanvas .t4-off-canvas-body .navbar-nav > li > a, .t4-offcanvas .t4-off-canvas-body .navbar-nav > li > span {
  text-transform: none;
  font-weight: 500;
}
.t4-offcanvas .t4-off-canvas-header {
  background: transparent;
}
.t4-offcanvas .navbar-nav, .t4-offcanvas .oc-level-0 .drilldown-effect .navbar-nav {
  transform: translateX(0);
  transition: all .35s ease-in-out;
  margin-top: 40px;
}
.t4-offcanvas .t4-off-canvas-body .navbar .btn-toggle {
    right: 30px;  
}
.dropdown-item {
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: wrap;
}
body {
  color: #000;
  font-family: Lora;
  font-size: 13pt;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;
  text-align: justify;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* =====================================
   PROFILE SECTIONS
   ===================================== */
.profile-box {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 1300px;
  margin: 0 auto 80px auto;
  flex-wrap: wrap;
}

.profile-image {
  flex: 0 0 350px;
  position: relative;
  z-index: 2;
  margin-top: 20px;
  margin-left: -20px;
  margin-right: -20px;
}

.profile-image img {
  width: 100%;
  border-radius: 50%;
  border: 6px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.profile-text {
  background: #dbe7f5;
  padding: 30px;
  border-radius: 25px;
  z-index: 1;
  flex: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.profile-text h2 {
  color: #1a4ea3;
  margin-top: 0;
  font-size: 1.8em;
}

.profile-text h3 {
  font-size: 1.2em;
  margin-top: 10px;
}

.profile-text p {
  line-height: 1.6;
  margin-top: 15px;
}

.profile-box.jocelyn .profile-image {
  margin-left: 20px;
}

.profile-box.jocelyn .profile-text {
  margin-left: -100px;
}

.profile-box.mary {
  flex-direction: row-reverse;
}

.profile-box.mary .profile-image {
  margin-right: 20px;
}

.profile-box.mary .profile-text {
  margin-right: -100px;
}

@media (max-width: 768px) {
  .profile-box,
  .profile-box.mary {
    flex-direction: column;
    align-items: center;
  }

  .profile-text {
    margin: 0;
    padding: 20px;
    width: 100%;
  }

  .profile-image {
    margin: 20px auto 0 auto;
  }
}

/* =====================================
   SECTION HEADINGS
   ===================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: Open Sans;
  font-weight: 400;
  font-style: normal;
  color: #004aad;
}

h2.section-heading {
  background-color: #dbe7f5;
  padding: 12px 20px;
  border-radius: 0 25px 25px 0;
  font-style: italic;
  font-weight: 600;
  font-size: 1.4em;
  display: inline-block;
  color: #000;
  margin: 30px 0 15px 0;
}

h3, .h3 {
  font-size: 20px;
  line-height: 1.333;
  font-weight: 500;
  text-align: center;
  color: #004aad;
}

/* =====================================
   GENERAL LAYOUT / STRUCTURE
   ===================================== */
.t4-main-body {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

div[id*="t4-section-"],
div[id^="t4-section-"],
div[id*="t4-spotlight-"],
div[id^="t4-spotlight-"] {
  padding-top: 0;
  padding-bottom: 0;
}

/* =====================================
   HEADER & NAVIGATION
   ===================================== */
#t4-header {
  padding: 0;
  background: #004aad;
}

.t4-palette-mainnav .t4-navbar .navbar-nav > li > a {
  color: #fff !important;
}

.t4-megamenu .navbar-nav > li > a,
.t4-megamenu .navbar-nav > li > .nav-link {
  color: rgba(0, 0, 0, 0.7);
  padding: 16px 13px;
  font-size: 16px;
  line-height: 2;
}

.nav-breakpoint-lg div.t4-megamenu .navbar-nav > li > a,
.nav-breakpoint-lg div.t4-megamenu .navbar-nav > li > .nav-link {
  display: block;
  padding: 0.85715rem 1rem;
  margin-left: 0;
  height: auto;
  background: #004aad;
}

.nav-header.nav-link.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  padding-right: 1rem;
}

.nav-header .menu-item-title {
  display: inline-block;
  white-space: nowrap;
}

.nav-header .item-caret {
  font-size: 0.65rem;
  display: inline-block;
  margin-left: auto;
  line-height: 1;
  pointer-events: none;
  vertical-align: middle;
}

.nav-header.dropdown-toggle::after {
  display: none !important;
}

.t4-navbar .navbar-nav > li {
  margin-right: 1.2rem;
}

@media (max-width: 992px) {
  .t4-navbar .navbar-nav > li {
    margin-right: 0.8rem;
  }
}

/* =====================================
   SIDEBAR, FOOTER, BUTTONS
   ===================================== */
.sidebar-r {
  border-left: 1px solid #f4f4f4;
  margin-left: 16px;
  padding-left: 0;
}

.t4-footnav {
  color: #000;
  background-color: #f5f5f5;
}

.t4-footnav .container {
  padding-top: 10px;
  padding-bottom: 10px;
}

.t4-footer {
  background-color: #f5f5f5;
}

.btn-info {
  color: #fff;
  background-color: #004aad;
  border-color: #00bcd4;
  display: inline-block;
  padding: 10px;
}

/* =====================================
   TESTIMONIAL SLIDER (UNIFIED STYLE)
   ===================================== */
.testimonial-scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding: 3rem 1rem;
  background-color: #dbe7f5;
  scroll-behavior: smooth;
}

.testimonial-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
}

.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto;
  text-align: center;
  border: 3px solid #e6f0f7;
}

.testimonial-card .quote {
  font-size: 2.5rem;
  color: #8599bd;
  margin-bottom: 1rem;
  display: block;
}

.testimonial-card em {
  display: block;
  margin-top: 1rem;
  font-style: italic;
  font-size: 0.95rem;
  color: #555;
}

/* =====================================
   PAGE SECTIONS / CONTENT BLOCKS
   ===================================== */
.section {
  padding: 3rem 2rem;
  margin: 0;
  border-radius: 16px;
  box-sizing: border-box;
}

.light-bg {
  background-color: #dbe7f5;
}

.white-bg {
  background-color: #ffffff;
}

.soft-border {
  background-color: #f9f9f9;
  border: 2px solid #dbe7f5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.section h1,
.section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.section p,
.section li {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.section ul {
  padding-left: 1.5rem;
}

.section li {
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .section {
    padding: 2rem 1rem;
  }
}
/* --- Fix Safari menu wrapping issue --- */
.navbar-nav {
  flex-wrap: nowrap !important;          /* Prevents wrapping */
  white-space: nowrap !important;        /* Ensures items stay on one line */
}

.navbar-nav > li {
  flex: 0 1 auto;                        /* Avoid stretching */
}

.navbar-nav > li > a.nav-link {
  display: inline-block;
  white-space: nowrap;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

/* Optional: tighten up spacing slightly for Safari */
@supports (-webkit-touch-callout: none) {
  .navbar-nav > li > a.nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
/* =====================================
   CTA MODULE
   ===================================== */
.cta-module {
  background-color: #dbe7f5;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  margin: 3rem auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cta-module h2 {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: #004aad;
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  background-color: #004aad;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #00357c;
}
