.team-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers all rows */
}

.team-area .col-md-6.col-lg-3 {
    width: 30%; /* First three in a row */
}

/* Center the second row */
.team-area .row:nth-child(2) {
    display: flex;
    justify-content: center; /* Ensures the second row is centered */
    width: 100%;
}

/* Style the last two profiles */
.team-area .col-md-6.col-lg-3:nth-child(4),
.team-area .col-md-6.col-lg-3:nth-child(5) {
    width: 30%; /* Ensure consistent width */
    margin-top: 20px; /* Adds spacing to push them into a second row */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers contents inside */
}

/* Ensure the name card stays aligned properly */
.team-area .col-md-6.col-lg-3:nth-child(4) .card,
.team-area .col-md-6.col-lg-3:nth-child(5) .card {
    width: 100%; /* Ensures cards take full width */
    text-align: center; /* Centers text inside */
    margin: 0 auto; /* Ensures proper centering */
}

/* ===== Mobile Fixes for ALL Profiles ===== */
@media screen and (max-width: 768px) {
    .team-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-area .col-md-6.col-lg-3 {
        width: 100% !important; /* Force each profile to take full width */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 20px; /* Adds spacing between team members */
    }

    .team-area .col-md-6.col-lg-3 .card {
        width: 90% !important; /* Ensures proper centering */
        max-width: 300px; /* Prevents excessive width */
        text-align: center;
    }

    .team-area img {
        max-width: 100%;
        height: auto;
    }

.main-navigation ul.navbar-nav li.menu-item-has-children:hover ul.sub-menu{
    display:block;
}
}



/*  */
.page_img_design img{
	border-radius: 16px;
   box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.main-navigation img.custom-logo {
    width: 150px;
}
.menu-quick-links-container ul.menu.footer-list li.menu-item-has-children:hover ul.sub-menu{
	display:block;
}
.menu-quick-links-container ul.menu.footer-list li.menu-item-has-children ul.sub-menu li a{
	color:#000;
}
/*  */


@media(min-width:1200px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
		max-width: 1350px;
    }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    justify-content: flex-end;
  }
}
.appointment-content h2 , .cta-area h2{
	color:#fff;
}

.blog .site-breadcrumb header {
	display:none;
}
/** FAQ page */
body.page-id-326 .faq-area .accordion-item a {
    text-decoration: underline;
    color: #9c360b;
}
/* Hide ONLY the bottom list under the Subscribe bar (copyright strip) */
footer .copyright .col-lg-4,
footer .copyright .menu,
footer .copyright .menu ul {
  display: none !important;
}

/* Let the copyright text span the full width & stay tidy */
footer .copyright .col-lg-8 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  text-align: center;
  margin: 0 auto;
  padding: 10px 0 !important;
}