/*
Theme Name: Integracare
Author: Josh Yager
Author URI: https://thedevq.com/
Description: Custom Theme build by The Dev Q
Version: 1.0.1
*/

/* Note: CSS Variables are set dynamically in header.php */

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body, p, ul, li {
  font-family: var(--font2);
  font-weight: 400;
  color: #333131;
  line-height: 1.5;
}

@media (max-width:991px){
	body, html{
		overflow-x:hidden;
		width:100vw; 
	}
}


nav#menu:not(.mm-menu) {
  display: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font1);
  color: var(--primary);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 10px;
}

.bigger-title {
  font-size: 4rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

.cs-topper {
  font-family: var(--font2);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  margin-top: 0;
  color: var(--secondary);
  letter-spacing: 3px;
}

.cs-title {
  font-size: 34px;
  margin: 0;
  line-height: 1;
  font-weight: 800;
  max-width: 530px;
  color: var(--primary);
}

/*--------------------------------------------------------------
# Layout & Containers
--------------------------------------------------------------*/
html, body {
  position: relative;
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
}

.container-fluid {
  max-width: 2400px;
  margin: auto;
}

img {
  max-width: 100%;
}

.mobileonly {
  display: none;
}

html {
  scroll-behavior: smooth;
}

.maincopy ul li {
  list-style: none;
  position: relative;
  margin-bottom: 15px;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Column layouts */
.col25 {
  width: 25%;
  padding: 5px 10px !important;
  display: inline-block;
  clear: both;
}

.col33 {
  width: 33.33%;
  padding: 5px 10px !important;
  display: inline-block;
  clear: both;
}

.col50 {
  width: 50%;
  padding: 5px 10px !important;
  display: inline-block;
  clear: both;
}

.col100 {
  width: 100%;
  padding: 5px 10px !important;
  display: inline-block;
  clear: both;
}

/*--------------------------------------------------------------
# Buttons & Form Elements
--------------------------------------------------------------*/
/* Standard Button */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 30px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  font-weight: 500;
  text-align: center;
  background: var(--primary);
  color: white;
  min-width: 250px;
  box-shadow: 0 0 6px 2px rgba(128, 0, 47, 0.3);
  /* Subtle glow matching primary color */
}

.btn i {
  margin-right: 8px;
  font-size: 14px;
}

.btn.btn-secondary {
  background: var(--secondary);
  box-shadow: 0 0 6px 2px rgba(140, 198, 63, 0.3);
  /* Subtle glow matching secondary color */
}

.btn.btn-tertiary {
  background-color: var(--tertiary);
  color: white;
  border: 2px solid var(--tertiary);
  box-shadow: 0 0 6px 2px rgba(255, 194, 14, 0.3);
  /* Subtle glow matching tertiary color */
}

.btn.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.4);
  /* Subtle glow matching white color */
}

.btn.white:hover {
  background: var(--primary);
  color: white;
}

.btn:hover {
  background: var(--tertiary) !important;
  color: white;
}

.btn.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn.btn-tertiary:hover {
  background-color: var(--primary) !important;
  color: white;
}

.btn-outline-white {
  border: 2px solid white;
  color: white;
  background-color: transparent;
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.2);
  /* Subtle glow matching white border */
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline-black {
  border: 2px solid #000;
  color: #000;
  background-color: transparent;
  box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.15);
  /* Subtle glow matching black border */
}

.btn-outline-black:hover {
  background-color: #000;
  color: #fff;
}

@media (max-width:767px) {
  .btn {
    margin: auto;
  }
}

/* Forms */
.devqform {
  width: 100%;
  padding-bottom: 40px;
  max-width: 1200px;
  margin: auto;
}

.devqform input, .devqform textarea, .devqform select {
  padding: 10px;
  display: inline-block;
  border-radius: 0;
  font-size: 18px;
  font-family: var(--font1);
  background: #ecebec;
  border: 1px solid #b3b3b3;
  border-radius: 0;
  margin-bottom: 1rem !important;
}

.devqform select {
  text-transform: uppercase;
}

.devqform input::placeholder, .devqform textarea::placeholder, .devqform select::placeholder {
  font-weight: 300;
  color: #a9a9a9;
  font-family: var(--font2);
  font-size: 16px;
}

.devqform .gform_footer {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.devqform .button {
  background: var(--primary);
  color: white;
  margin: 0;
  cursor: pointer;
  transition: all .5s;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  width: 300px;
  max-width: 100%;
  margin-right: 10px;
}

.devqform .button:hover {
  background: var(--tertiary);
  color: initial;
}

.devqform textarea {
  height: 110px !important;
}

.devqform .gform_fields {
  grid-row-gap: 4px !important;
}

.devqform h2 {
  margin-bottom: 30px;
}

.devqform .gform_button_select_files {
  padding: 15px;
  font-family: var(--font1);
  font-size: 18px;
  border: 0;
}

.boxFormFlex .gfield_checkbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.boxFormFlex .gchoice {
  width: 33%;
  height: 50px;
  display: flex;
  align-items: center;
}

.boxFormFlex input {
  margin: 0 10px 0 0 !important;
}

.boxFormFlex {
  margin: 30px 0 !important;
}

/*--------------------------------------------------------------
# Header Styles
--------------------------------------------------------------*/
/* Common Header Elements */
.header-container {
  width: 100%;
}

/* Sticky Header Styles */
.desktop-menu.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Community sticky header */
.is-community-page .desktop-menu.is-sticky {
  background-color: var(--secondary);
}

/* Corporate sticky header */
.is-corporate-page .desktop-menu.is-sticky {
  background-color: var(--primary);
}

.mainLogo {
  padding: 0;
  display: block;
  width: 200px;
  height: auto;
  margin: 0;
  position: relative;
}

.nav-logo {
  width: 33.33%;
  padding: 0 15px;
  position: relative;
}

.nav-logo img {
  max-width: 250px;
}

/* Community Header Styles */
.header-container.community-header .nav-logo img {
  position: absolute;
  z-index: 2;
  /* background: #222222; */
  padding: 30px 30px;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  height: 140px;
  object-fit: contain;
}

/* Corporate Header Styles */
.corporate-header-wrapper {
  background-color: var(--primary);
  position: relative;
  color: white;
  padding: 10px 0;
}

.corporate-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

/* Logo Section */
.corporate-logo-section {
  width: 25%;
  display: flex;
  align-items: center;
}

.corporate-logo-section a {
  display: block;
}

.corporate-logo-section img {
  max-height: 100px;
  width: auto;
}

/* Content Section */
.corporate-content-section {
  width: 75%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Corporate Utility Bar */
.corporate-utility-bar {
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

.corporate-utility-bar-inner {
  width: 100%;
}

.corporate-utility-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.corporate-utility-left {
  font-size: 16px;
  font-weight: 500;
}

.corporate-utility-right {
  display: flex;
  gap: 15px;
}

/* Corporate Menu */


.corporate-menu .main-navigation {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.corporate-menu .menu-corporate {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: flex-end;
}

.corporate-menu .menu-corporate>li {
  margin: 0 15px;
  position: relative;
}

.corporate-menu .menu-corporate>li>a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 0;
  display: block;
  transition: opacity 0.3s;
}

.corporate-menu .menu-corporate>li>a:hover {
  opacity: 0.8;
}

.corporate-menu .menu-corporate .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 100;
  padding: 10px 0;
  list-style: none;
}

.corporate-menu .menu-corporate .has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
}

.corporate-menu .menu-corporate .submenu li {
  padding: 0;
  margin: 0;
}

.corporate-menu .menu-corporate .submenu a {
  padding: 8px 20px;
  display: block;
  color: #333;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.corporate-menu .menu-corporate .submenu a:hover {
  background: #f5f5f5;
  color: var(--primary);
}

.corporate-menu .special-button a {
  background: var(--tertiary);
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 30px;
  border: 2px solid var(--tertiary);
  box-shadow: 0 0 6px 2px rgba(255, 194, 14, 0.3);
  /* Subtle glow matching tertiary color */
}

.corporate-menu .special-button a:hover {
  background: transparent;
  color: var(--tertiary) !important;
}

/*--------------------------------------------------------------
# Navigation Styles
--------------------------------------------------------------*/
/* Desktop Navigation */
nav.main-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.menutop ul {
  display: flex;
  list-style: none;
}

.menu-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.menu-left,
.menu-right {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  width: 33.33%;
}

.menu-left {
  justify-content: flex-end;
}

.menu-right {
  justify-content: flex-start;
}

nav.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav.main-navigation ul li {
  position: relative;
  padding: 0 15px;
}

nav.main-navigation ul li a {
  color: white;
  text-decoration: none;
  padding: 10px 0;
  display: block;
}

nav.main-navigation ul li.special-button a {
  width: 130px;
  height: 60px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  text-align: center;
  border: 1px solid white;
  transition: all .3s ease-in-out;
}

nav.main-navigation ul li.special-button a:hover {
  background: var(--primary);
}

nav.main-navigation ul li.has-submenu>ul li a {
  color: black;
  font-weight: 500;
  text-align: left;
  transition: all .1s ease-in-out;
}

nav.main-navigation ul li.has-submenu>ul li a:hover {
  background: var(--primary);
  color: white;
}

nav.main-navigation ul li a:hover{
  opacity: 0.8!important;
}

/* Dropdown Menu */
nav.main-navigation ul li.has-submenu>ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
  flex-direction: column;
}

nav.main-navigation ul li.has-submenu:hover>ul {
  display: block;
}

nav.main-navigation ul li.has-submenu>ul li {
  width: 100%;
  padding: 0;
}

nav.main-navigation ul li.has-submenu>ul li a {
  padding: 10px 20px;
  white-space: nowrap;
}

.dropdown-menu {
  display: none;
  transform-origin: center top 0;
  transition: all .1s ease 0s;
  min-width: 270px;
  left: -10px;
  overflow: hidden;
  padding-top: 10px;
}

.menu-depth-1 {
  position: relative;
}

/* Mobile Navigation */
.mobilemen {
  display: none;
}

.mm-menu {
  --mm-color-background: #fff;
}

.mm-listitem__text, .mm-navbar__title>span {
  font-weight: 600;
  color: var(--primary);
}

.mm-iconbar__top i {
  color: var(--primary);
}

/* Hamburger Styles */
.mburger strong {
  display: block;
  position: absolute;
  left: calc(var(--mb-button-size)*((1 - var(--mb-bar-width))/2));
  width: calc(var(--mb-button-size)*var(--mb-bar-width));
  height: var(--mb-bar-height);
  border-radius: calc(var(--mb-bar-height)/2);
  background: white !important;
  /* Make hamburger menu white */
  color: inherit;
  opacity: 1;
}

.mburger strong {
  border-radius: 0px;
  height: 2px !important;
  /* Thinner lines for a more modern look */
}

.mburger {
  color: #fff;
  --mb-button-size: 30px;
  /* Slightly larger clickable area */
  --mb-bar-width: 0.6;
  /* Slightly shorter lines */
  --mb-bar-height: 2px;
  /* Thinner lines */
  --mb-bar-spacing: 6px;
  /* More spacing between lines */
}

.mburger:hover, .mburger:focus, .mburger:active {
  color: #fff;
  opacity: 0.8;
  /* Add hover effect */
}

.mburger strong:nth-of-type(1) {
  bottom: calc(45% + var(--mb-bar-spacing));
}

.mburger strong:nth-of-type(3) {
  top: calc(45% + var(--mb-bar-spacing));
}

.mburger span {
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Utility Bar Styles
--------------------------------------------------------------*/
/* Community Utility Bar */
.utility-bar {
  padding: 15px 0;
  background: var(--primary);
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.utility-bar-inner {
  display: flex;
  justify-content: space-between;
  color: white;
  align-items: center;
}

.utility-left {
  display: flex;
  align-items: center;
}

.utility-link {
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: opacity 0.3s ease;
}

.utility-link:hover {
  opacity: 0.8;
}

.utility-link i {
  margin-right: 5px;
}

.utility-separator {
  margin: 0 15px;
  color: white;
  font-weight: 300;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.community-call-text {
  font-weight: 400;
  margin-right: 5px;
}

.community-phone {
  color: white;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.community-phone:hover {
  opacity: 0.8;
}

.phone-icon {
  color: var(--tertiary);
}

/* Only make the utility bar sticky for community pages */
.is-community-page .utility-bar {
  position: relative;
  top: 0;
  z-index: 1000;
}

/* Community Header */
.header-container.community-header {
  background-color: var(--secondary);
  position: relative;
  padding: 10px 0;
}

/* Logo Circle */
.nav-logo {
  position: relative;
  z-index: 10;
}

.logo-circle {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 2;
}

.logo-circle img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Make primary nav items bolder */
nav.main-navigation ul li a {
  color: white;
  text-decoration: none;
  padding: 10px 0;
  display: block;
  font-weight: 700;
}

/* Special Button Style */
nav.main-navigation ul li.special-button a {
  background: var(--tertiary);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  border: 2px solid var(--tertiary);
  transition: all 0.3s ease;
  height: auto;
  width: auto;
  min-width: 200px;
  display: inline-block !important;
  box-shadow: 0 0 6px 2px rgba(255, 194, 14, 0.3);
  /* Subtle glow matching tertiary color */
}

nav.main-navigation ul li.special-button a:hover {
  background: transparent;
  color: white;
}

/*--------------------------------------------------------------
# Misc Styles
--------------------------------------------------------------*/
::selection {
  background: var(--primary);
  color: var(--tertiary);
}

::-webkit-scrollbar-track {
  background-color: #f5f5f5;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: var(--tertiary);
}

::-webkit-scrollbar {
  width: 10px;
}

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/
/* @media (min-width: 1600px) {
  .container {
    max-width: 1500px;
  }
} */

@media (min-width: 1200px) {
  .mobile-header {
    display: none;
  }

  .nav-logo-mobile {
    display: none;
  }
}

@media (min-width: 1199px) {

  .main-navigation .menu-left li a,
  .main-navigation .menu-right li a {
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
  }

  .main-navigation .menu-left li a::after,
  .main-navigation .menu-right li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 3px;
    left: 50%;
    background-color: var(--secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  .main-navigation .menu-left li a:hover::after,
  .main-navigation .menu-right li a:hover::after {
    width: 100%;
  }

  nav.main-navigation ul li.has-submenu>ul li a:after,
  nav.main-navigation ul li.special-button a:after {
    display: none;
  }

  /* Submenu hover effect */
  .main-navigation .submenu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }

  .main-navigation li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Submenu items hover effect */
  .main-navigation .submenu li {
    transform: translateX(-10px);
    opacity: 0;
    transition: all 0.3s ease;
  }

  .main-navigation li:hover .submenu li {
    transform: translateX(0);
    opacity: 1;
  }

  /* Chevron rotation animation */
  .main-navigation .submenu-icon {
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.3s ease;
  }

  .main-navigation li:hover .submenu-icon {
    transform: rotate(180deg);
  }

  ul.menu-left li:first-child {
    padding-left: 0;
  }

  ul.menu-right li:last-child {
    padding-right: 0;
  }

  .rightft1 {
    min-width: 45%;
  }
}

@media (max-width: 1199px) {
  .desktopOnly {
    display: none;
  }

  .mobileOnly {
    display: initial;
  }

  .footerfluidcolor {
    padding: 70px 0 40px;
  }

  .footerfluid2 p {
    text-align: center;
  }

  .mobilemen {
    display: inherit;
  }

  .menutop {
    display: none;
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background-color: var(--secondary);
  }

  .nav-logo-mobile {
    display: block;
  }

  .nav-logo-mobile img,
  .nav-logo-mobile img.logo-light {
    max-height: 100px;
    width: auto;
    display: block;
    object-fit: contain;
  }

  .mobilemen {
    display: block;
    margin-left: 20px;
    padding-right: 15px;
  }

  /* Hide the desktop logo */
  .nav-logo {
    display: none;
  }

  /* Adjust the mobile menu icon position */
  .mburger {
    margin: 0;
  }

  .tagline {
    display: none;
  }

  .mobileonly {
    display: inherit;
  }

  .mainLogo {
    margin: 0px auto;
    width: 200px;
    height: auto;
  }

  /* Community Header Responsive */
  .utility-bar {
    height: auto;
    padding: 10px 0;
    display: none;
  }

  .utility-bar-inner {
    flex-direction: row;
    /* Keep horizontal on tablet */
    gap: 10px;
  }

  .utility-left, .utility-right {
    width: auto;
    justify-content: center;
  }

  .logo-circle {
    top: -40px;
    width: 140px;
    height: 140px;
  }

  /* Corporate Header Mobile Styles */
  .corporate-header-wrapper {
    padding: 0;
  }

  .corporate-header-inner {
    flex-direction: column;
  }

  .corporate-logo-section {
    width: 100%;
    justify-content: center;
    padding: 15px 0;
  }

  .corporate-logo-section img {
    max-height: 60px;
  }

  .corporate-content-section {
    width: 100%;
  }

  .corporate-utility-bar {
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.1);
  }

  .corporate-utility-content {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .corporate-utility-right {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .corporate-utility-right a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 991px) {
  .hidemobile {
    display: none;
  }

  a.back-to-corporate {
    display: none;
  }

  .bigger-title {
    font-size: 3rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 2rem;
  }

  h4 {
    font-size: 1.75rem;
  }

  h5 {
    font-size: 1.5rem;
  }

  .boxFormFlex .gchoice {
    width: 50%;
  }

  .col50, .col25, .col33, .col100 {
    width: 100%;
    padding: 5px 0 !important;
  }

  /* Community Header Responsive */
  .utility-separator {
    margin: 0 10px;
  }

  .utility-left {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  }

  .logo-circle {
    top: -30px;
    width: 120px;
    height: 120px;
    padding: 15px;
  }
}

@media (max-width: 767px) {

  /* Improved mobile styles */
  .utility-bar {
    padding: 8px 0;
  }

  .utility-bar-inner {
    flex-direction: column;
    gap: 8px;
  }

  .utility-left, .utility-right {
    width: 100%;
    justify-content: center;
  }

  .utility-link {
    font-size: 14px;
  }

  .utility-separator {
    margin: 0 8px;
  }

  .community-call-text {
    display: none;
  }

  .community-phone {
    padding: 5px 10px;
    background-color: var(--tertiary);
    border-radius: 20px;
    font-weight: 700;
  }

  .phone-icon {
    color: white;
  }

  .logo-circle {
    top: -25px;
    width: 100px;
    height: 100px;
    padding: 10px;
  }

  /* Mobile menu improvements */
  .mobile-header {
    padding: 10px 0;
  }

  /* Corporate header mobile improvements */
  .corporate-logo-section {
    padding: 10px 0;
  }

  .corporate-logo-section img {
    max-height: 40px;
  }

  .corporate-utility-left {
    font-size: 14px;
    text-align: center;
  }
  /*13-05-2025*/
  .why-choose-section, .integradefaultcontent2-button{
    display: flex;
    justify-content: center;
  }
  .csl-section, .hb-link{
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .utility-left {
    flex-wrap: wrap;
  }

  .utility-link {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .utility-separator {
    margin: 0 5px;
  }
}

/*--------------------------------------------------------------
# Footer Styles
--------------------------------------------------------------*/
/* Colorful Horizontal Bar */
.footer-color-bar {
  padding: 0;
  overflow: hidden;
}

.footer-color-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 15px;
}

.footer-color-segment {
  height: 100%;
}

.footer-color-segment.primary {
  background-color: var(--primary);
}

.footer-color-segment.secondary {
  background-color: var(--secondary);
}

.footer-color-segment.tertiary {
  background-color: var(--tertiary);
}

.footer-color-segment.dark-green {
  background-color: var(--dark-green);
}

/* Community Info and Contact Form Section */
.footer-main-section {
  position: relative;
  overflow: hidden;
}

.footer-main-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 50px);
  background-color: var(--primary);
  z-index: -1;
}

.footer-main-section.community::after {
  background-color: var(--secondary);
}

.footer-main-inner {
  display: flex;
  position: relative;
  align-items: center;
}

/* Community Info Section */
.footer-community-info {
  width: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 700px;
  /* margin-bottom: 80px; */
}

.footer-community-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.footer-community-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-bottom-right-radius: 350px;
}

.footer-community-box {
  position: relative;
  background-color: white;
  padding: 30px;
  margin: 60px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
  text-align: center;
  min-width: 400px;
  max-width: 100%;
}

.footer-community-logo {
  text-align: center;
  margin-bottom: 20px;
}

.footer-community-logo img {
  max-width: 200px;
  height: auto;
}

.footer-community-details {
  margin-bottom: 20px;
  text-align: center;
}

.footer-community-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  max-width: 300px;
  margin: 15px auto;
  text-align: left;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
  text-align: center;
}

.footer-community-item i {

  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
}

.footer-community-item a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-community-item a:hover {
  color: var(--primary);
}

.footer-community-cta {
  text-align: center;
  margin-bottom: 20px;
}

.footer-pricing-info {
  text-align: center;
}

.footer-pricing-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.footer-pricing-subtitle {
  font-size: 1rem;
  margin-top: 0;
}

/* Contact Form Section */
.footer-contact-form {
  width: 50%;
  padding: 0px 40px 50px;
  color: white;
  position: relative;
}

.footer-form-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-form-subtitle {
  font-size: 1rem;
  margin-bottom: 10px;
  font-family: var(--font1);
  color: white;
  margin-top: 0;
}

.footer-form-title {
  font-size: 3.5rem;
  margin-top: 0;
  margin-bottom: 20px;
  color: white;
}

.footer-form-copy p,
.rsvp .gform_wrapper .gform_body p {
  margin-bottom: 20px;
  color: white;
}

.footer-form .gform_wrapper form,
.rsvp .gform_wrapper form {
  margin-bottom: 0;
}

.footer-form .gform_wrapper .gfield_label,
.rsvp .gform_wrapper .gfield_label {
  display: none !important;
}

.footer-form .gform_wrapper .gfield input,
.footer-form .gform_wrapper .gfield select,
.footer-form .gform_wrapper .gfield textarea,
.rsvp .gform_wrapper .gfield input,
.rsvp .gform_wrapper .gfield select,
.rsvp .gform_wrapper .gfield textarea {
  border: 1px solid white !important;
  background-color: transparent !important;
  color: white !important;
  border-radius: 5px;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
}

div#gform_fields_1,
div#gform_fields_6 {
  gap: 20px;
}

.footer-form .gform_wrapper .gfield select option,
.rsvp .gform_wrapper .gfield select option {
  background-color: var(--tertiary) !important;
  color: white !important;
}

.footer-form .gform_wrapper .gfield textarea,
.rsvp .gform_wrapper .gfield textarea {
  height: 150px !important;
}

.footer-form .gform_wrapper .gfield input::placeholder,
.footer-form .gform_wrapper .gfield textarea::placeholder,
.rsvp .gform_wrapper .gfield input::placeholder,
.rsvp .gform_wrapper .gfield textarea::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Style select dropdowns */
.footer-form .gform_wrapper .gfield select,
.rsvp .gform_wrapper .gfield select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-color: transparent !important;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="16" height="16"><path fill="%23FFFFFF" d="M98.079,151.675l157.354,157.354l157.354-157.354L448,192.942l-192,192l-192-192L98.079,151.675z"/></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: right 15px center !important;
  background-size: 12px auto !important;
  padding-right: 35px !important;
  height: 50px !important;
  line-height: 1.5 !important;
  cursor: pointer !important;
}

.footer-form .gform_wrapper .gfield select:focus,
.rsvp .gform_wrapper .gfield select:focus {
  outline: none !important;
  border-color: white !important;
}

.footer-form .gform_wrapper .gform_footer input[type="submit"],
.rsvp .gform_footer input[type="submit"] {
  height: 50px !important;
  min-width: 200px !important;
  margin: auto !important;
  display: block !important;
  background-color: var(--tertiary) !important;
  color: white !important;
  border-radius: 30px !important;
  border: none !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.footer-form .gform_wrapper .gform_footer input[type="submit"]:hover,
.rsvp .gform_footer input[type="submit"]:hover {
  background-color: var(--primary) !important;
  color: #fff !important;
  border: 2px solid var(--tertiary) !important;
}

/* Social Media and Awards Section */
.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social-awards {
  background-color: white;
  padding: 20px 0 30px;
}

.footer-social-awards-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-social-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-family: var(--font1);
  color: var(--primary);
}

.footer-social-icons {
  display: flex;
  gap: 15px;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.footer-social-icon.facebook {
  background-color: #1877F2;
}

.footer-social-icon.twitter {
  background-color: #000000;
}

.footer-social-icon.linkedin {
  background-color: #0A66C2;
}

.footer-social-icon.instagram {
  background: linear-gradient(45deg, #833AB4, #FD1D1D, #F77737);
}

.footer-social-icon.youtube {
  background-color: #FF0000;
}

/* Hide social section when no links are available */
.no-social-links {
  display: none;
}

.no-social-links+.footer-social-title,
.no-social-links~.footer-social-icons {
  display: none;
}

.footer-social:has(.no-social-links) {
  display: none;
}

.footer-awards {
  display: flex;
  gap: 30px;
  align-items: center;
}

.footer-award-item img {
  max-height: 100px;
  width: auto;
}

/* Footer Menu and Copyright Section */
.footer-bottom {
  background-color: white;
  padding-bottom: 50px;
}

.footer-divider {
  border-top: 1px solid #e0e0e0;
  margin: 0 0 50px;
}

.footer-logo {
  text-align: center;
  margin-bottom: 30px;
}

.footer-logo img {
  max-width: 200px;
  height: auto;
}

.footer-menu-container {
  text-align: center;
  /*margin-bottom: 30px;*/
  margin-bottom: 0px;
}

ul.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

ul.footer-menu li a {
  color: #000;
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.3s ease;
  font-weight: 700;
}

ul.footer-menu li a:hover {
  color: var(--primary);
}

.footer-copyright {
    color: #363434;
    text-align: center;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    font-size: 1rem;
    font-weight: 400;
}

.footer-copyright p {
  margin-bottom: 15px;
}

ul.footer-copyright-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/*ul.footer-copyright-menu li a {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}*/
ul.footer-copyright-menu li a {
    color: #363434;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

ul.footer-copyright-menu li a:hover {
  color: var(--primary);
}

.footer-accessibility {
  text-align: center;
}

.footer-accessibility img {
  max-width: 200px;
  height: auto;
}

/* Footer Responsive Styles */
@media (max-width: 1199px) {
  .footer-community-box {
    margin: 60px 40px;
    padding: 30px;
  }

  .footer-contact-form {
    padding: 60px 40px;
  }

  .footer-form-title {
    font-size: 2.2rem;
  }

  .footer-community-image {
    display: none;
  }

  .footer-community-info {
    height: initial;
  }

  .footer-main-section::after {
    height: 100%;
  }
}

@media (max-width: 991px) {
  .footer-main-inner {
    flex-direction: column;
  }

  .footer-community-info,
  .footer-contact-form {
    width: 100%;
  }

  .footer-community-image {
    position: relative;
    height: 300px;
  }

  .footer-community-image img {
    border-bottom-right-radius: 0;
  }

  .footer-community-box {
    margin: 0;
    border-radius: 0;
  }

  .footer-social-awards-inner {
    flex-direction: column;
    gap: 30px;
  }

  .footer-social,
  .footer-awards {
    text-align: center;
  }

  .footer-social-icons {
    justify-content: center;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 767px) {
  .footer-community-box {
    padding: 20px;
  }

  .footer-contact-form {
    padding: 40px 20px;
  }

  .footer-form-title {
    font-size: 1.8rem;
  }

  .footer-form-subtitle {
    font-size: 1rem;
  }

  .footer-awards {
    flex-wrap: wrap;
    justify-content: center;
  }

  ul.footer-menu {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 575px) {
  .footer-community-logo img {
    max-width: 150px;
  }

  .footer-award-item img {
    max-height: 70px;
  }
}

.corporate-utility-right .btn {
  box-shadow: none;
}

/*Landing Page Logo CSS*/

@media (max-width: 1024px) {
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    height: 80px;
    padding: 0 16px;
    box-shadow: none;
  }

  .nav-logo-mobile {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 80px;
    padding: 0;
    background: transparent;
  }
  .nav-logo-mobile img.logo-light {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 10px 0;
  }
  .mobilemen {
    display: flex;
    align-items: center;
  }
}
@media (max-width: 480px) {
  /*CSS updated for the logo on 05/21/2025*/
  .nav-logo-mobile img.logo-light {
    min-width: 150px;
    padding: 17px 0;
  }
  .defaultcommunityhero-bg {
     z-index: -1!important;
  }
  .nav-logo-mobile {
    height: 56px;
  }
  .mobile-header {
    height: 56px;
    padding: 0 8px;
  }
}

/*CSS for footer icons & text alignments added on 05/22/2025*/
.footer-community-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.footer-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem; /* slight upward adjustment to center with text */
}

.footer-icon {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

/* Optional: unify font-awesome icon sizing */
.footer-community-item i {
    font-size: 1.1rem;
    color: var(--tertiary); /* keep icon color consistent */
}

/*End here*/

.blog-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 30px auto 20px;
  font-size: 18px;
  color: var(--primary);
  font-weight: 500;

  a,
  a:hover,
  a:visited,
  a:active {
    color: var(--primary);
    text-decoration: none;
  }

  *:not(:last-child):after {
    content: '>';
    display: inline-block;
    color: var(--primary);
    margin: 0 5px;
  }

  *:last-child {
    color: initial;
  }
}

/*Gold Button same design*/
#filter-button{
	padding: 12px 20px;
	font-size: 1.1rem;
	cursor: pointer;
}

/** community specific css **/
.is-community-page.magnolias-of-lancaster nav.main-navigation ul.menu-right {
  justify-content: space-evenly;
}