/*
Theme Name: UCPB-child
Theme URI: https://UCPB.com/ucpb-theme
Author: Zeus
Author URI: https://wordpress.org/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 3.8
Tested up to: 6.2
Requires at least: 3.6
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, footer-widgets, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready, block-patterns
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

:root {
  --dark: #141412;
  --gray: #737082;
  --jungleGreen: #00984b;
  --white: #ffffff;

  --secondary: var(--dark);
  --secondary: var(--jungleGreen);
}
html,
button,
input,
select,
textarea,
li {
  font-family: "Work Sans", sans-serif;
}

body,
html {
  overflow-x: hidden;
  color: #141412;
  line-height: 1.5;
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Work Sans", sans-serif;
}
/* GLOBAL */
#page {
  width: 100%;
  margin: 0 auto;
  /* position: fixed;
	z-index: 4; */
}
h1.page-title {
  color: var(--GREEN, #17a351);
  font-family: "Work Sans";
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 125%;
  letter-spacing: 0.36px;
  margin: 5rem 0 2rem;
}
.page-header hr {
  background: linear-gradient(90deg, #00de6c 0%, #06984b 100%),
    var(--GREEN-100, #00984b);
  width: 216px;
  height: 18px;
  border: unset;
  margin: 0 0 2rem;
}
.site-header {
  background: linear-gradient(90deg, #00de6c 0%, #06984b 100%),
    var(--GREEN-100, #00984b) !important;
}
a.header_logo {
  width: 18rem;
  margin-top: 17px;
}
header #site-navigation {
  padding: 0 0 1.5rem;
}
.menu-main-menu-container {
  width: calc(100% - 14.5rem);
  margin-top: 17px;
}
nav#site-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.space_created {
  display: flex;
  margin: 50px 0;
}
.space_created-md {
  display: flex;
  margin: 30px 0;
}
span.highlights {
  display: block;
  background: linear-gradient(45deg, #00984b, #00ed75);
  width: 18%;
  height: 18px;
}
span.highlights-md {
  display: block;
  background: linear-gradient(45deg, #00984b, #00ed75);
  width: 35%;
  height: 5px;
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
}
span.highlights-descriptions {
  display: block;
  background: linear-gradient(180deg, #00984b, #00ed75);
  width: 100%;
  height: 5px;
}
.home li {
    display: inline-block;
	padding: 0 10px;
}
.hide-on-page{
    display:none;
}
/* timestamp */
.timestamp {
  position: relative;
}
.timestamp .advisory {
  left: 7%;
  color: #fff;
  font-family: "Work Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 125%;
  letter-spacing: 0.16px;
  text-transform: uppercase;
  margin: 0;
}
.timestamp .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}
#time {
  color: #fff;
  font-family: "Work Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  margin: 0;
  line-height: 125%;
  letter-spacing: 0.16px;
  text-transform: uppercase;
}
/* main header settings */
nav#site-navigation {
  margin-left: auto;
  margin-right: auto;
  padding-left: 80px;
  padding-right: 80px;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
}
.header_logo > img {
  padding: 0 100px 0 0;
  width: 100%;
  max-width: 300px;
  object-fit: contain;
  height: auto;
}
ul#primary-menu {
    margin: 0;
    padding: 0;
}

ul#primary-menu ul {
    margin: initial;
    padding: initial;
    text-align: left;
}
.nav-menu li {
  display: inline-block;
  padding: 0 10px;
}
.nav-menu li:last-child {
  padding-left: 0;
}

.p-21 {
  font-size: 21px;
  font-weight: 400;
  font-style: normal;
  font-family: "Work Sans", sans-serif;
  color: #444058;
  line-height: 125%;
}
.nav-menu li a {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  border-bottom: 2px solid transparent;
  padding-bottom: 5px;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
}
.nav-menu li a:hover {
  display: inline-block;
  padding-bottom: 5px;
  color: #caefff;
  text-decoration: none;
  border-bottom: 2px solid #caefff;
}
/* Carousel Settigns */
/* .banner_carousel .item > img {
  object-fit: scale-down;
} */
.item {
  position: relative;
}
.services .item {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease-in-out 0.2s, box-shadow 0.3s ease-in-out 0.2s;
}
/* Hover effect */
.services .item:hover {
  transform: scale(1.2);
}
.services svg {
  width: 80%;
}
.banner_container {
  position: absolute;
  top: 20%;
  left: 20%;
}
.banner_container h2,
.banner_container h3 {
  color: #fff;
  margin: 0;
}
.banner_container > h2 {
  font-size: 76px;
  line-height: 1;
}
h3 {
  font-size: 42px;
}
/* carousel arrow settings */
h2.service_title {
  text-align: left;
  font-size: 36px;
  color: #00984b;
  font-weight: 700;
  margin: 0;
}
.mt-5 {
  margin-top: 4rem;
}
.mt-2 {
  margin-top: 1rem;
}
header.page-header {
  width: 841px;
}
header.page-header hr {
  background: linear-gradient(90deg, #00de6c 0%, #06984b 100%),
    var(--GREEN-100, #00984b);
  width: 216px;
  height: 18px;
  border: unset;
  margin: 0 0 2rem;
}
h1.news_and_event,
h1.awards,
h1.help {
  font-size: 36px;
  color: #00984b;
  font-weight: 700;
  margin: 0;
}
i.fa {
  font-size: 100px;
  font-weight: bold;
  color: #00984b;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
  opacity: 0.5;
}

.part1_left {
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.part2_left {
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
}

.part1_right {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.part2_right {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
}

i.fa:hover {
  color: #fff;
  opacity: unset;
}
.banner_textoutput {
  color: #fff;
  text-align: center;
  position: absolute;
  top: 96%;
  transform: translateX(-4%);
}
.banner_textoutput a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
}
.banner_textoutput h3 {
  font-size: 21px;
  margin: 0;
  background: linear-gradient(45deg, #00984b, #00ed75);
  display: inline;
  padding: 10px 15px;
  border-radius: 30px;
}
.services .item img {
  object-fit: scale-down;
  width: 311px;
  height: 311px;
}
ul.custom-post-list {
  display: flex;
  align-items: center;
  justify-content: center;
      flex-wrap: wrap;
      gap: 24px 0;
}
.front_page_newsandevent_container,
.front_page_our_awards_container,
.front_page_help_container {
  width: 80%;
  margin: 0 auto;
}
.front_page_our_awards_background {
  background: linear-gradient(180deg, #fff, #e8f6ee);
  padding: 0 0 50px 0;
}
.service-section .owl-carousel .owl-stage-outer {
  padding-bottom: 5rem;
}
.service-section button.owl-prev {
  position: absolute;
  left: 0;
  top: 30%;
}
.owl-theme .owl-nav [class*="owl-"]:hover {
  background-color: transparent;
}
.service-section button.owl-next {
  position: absolute;
  right: 0;
  top: 30%;
}
ul.help-list {
  padding: 0 149px;
}
/* news and event settings */
.description {
  font-size: 21px;
}

.news_and_event_post ul {
  padding: 0;
}

.news_container {
  width: 428px;
  height: 400px;
  border-radius: 20px;
  box-shadow: 0 4px 20px #00000040;
  max-height: 500px;
}
.news_container a {
  text-decoration: none;
}
.news_container img {
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  max-height: 258px;
}
.news_container h2 {
  margin: 0;
  font-size: 24px;
  color: #00984b;
  font-weight: 600;
  padding: 0 20px;
}
.news_container p {
  padding: 0 20px;
  font-size: 15px;
  font-weight: 400;
}
a.readmore {
  text-decoration: underline;
  color: #00984b;
  padding: 0 20px;
}
.news_and_event_btn,
.awards_btn {
  margin: 50px 0 0;
  text-align: center;
  display: flex;
  justify-content: center;
}
.news_and_event_btn a,
.awards_btn a {
  background: linear-gradient(45deg, #00984b, #00ed75);
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0 5px;
}
/* Awards Settings */
.awardscontainer {
  /*background-image: url(/wp-content/themes/UCPB-child/images/Background.png);*/
  text-align: center;
      width: 314px;
  height: 246px;
  /*border-radius: 20px;*/
  /*box-shadow: 0 4px 20px #00000040;*/
  max-height: 500px;
  position: relative;
  /*background-repeat: no-repeat;*/
  /*background-size: 200px;*/
  /*background-position: top center;*/
}
.awardscontainer a {
  text-decoration: none;
}
.awardscontainer img {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 267px;
  height: 214px;
}
.awardscontainer h2 {
  font-size: 12px;
  font-weight: 500;
  color: #00984b;
  margin: 0 10px;
  position: absolute;
  bottom: 20%;
}
.added-padding {
  padding: 0 20px;
}
/* Help Settings */
ul.help-list li {
  width: 40%;
  padding: 0 20px;
}
ul.help-list li a {
  text-decoration: none;
  color: #000;
}
.help_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
.help_flex i {
  color: #00984b;
}
/* Carousel Settigns */
.item {
  position: relative;
  display: flex;
  justify-content: center;
}
.banner_container {
  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
}
.banner_container h2,
.banner_container h3 {
  color: var(--white);
  margin: 0;
}
.banner_container > h2 {
  font-size: 76px;
  line-height: 1;
  color: #00984b;
}
h3 {
  font-size: 42px;
}
/* mobile resposive */
@media (min-width: 1200px) {
  .container,
  div#content,
  nav#site-navigation,
  .row {
    max-width: 1474px !important;
  }
  ul#primary-menu {
    text-align: right;
}
}

.heroshot-item {
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-position: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.heroshot-item .container {
  display: flex;
  align-items: center;
  justify-content: left;
  height: 45rem;
}

.heroshot-item .heroshot-wrap {
  max-width: 61rem;
  text-align: left;
  z-index: 1;
}

.heroshot-item h1 {
  color: var(--GREEN-100, #17a351);
  font-family: "Work Sans";
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 125%; /* 80px */
  letter-spacing: 0.64px;
}
.banner_carousel .owl-dots {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  display: flex; /* Ensures dots are aligned horizontally */
  gap: 8px; /* Adjusts spacing between dots */
}
#home-banner button.owl-prev {
  padding: 10px !important;
  position: absolute;
  width: 100%;
  height: auto;
  background: rgba(0, 0, 0, 0.5) !important;
  top: 50%;
  left: -6px;
  max-width: 60px;
}
#home-banner button.owl-next {
  padding: 10px !important;
  position: absolute;
  width: 100%;
  height: auto;
  background: rgba(0, 0, 0, 0.5) !important;
  top: 50%;
  right: -6px;
  max-width: 60px;
}
#home-banner button.owl-next svg,
#home-banner button.owl-prev svg {
  fill: #fff !important;
  position: static;
  margin: unset;
}
#home-banner button.owl-next,
#home-banner button.owl-prev {
  opacity: 0;
  transition: opacity 0.5s ease; /* Added transition for smooth fade */
}

#home-banner:hover button.owl-next,
#home-banner:hover button.owl-prev {
  opacity: 1;
}

.banner_carousel .owl-dots .owl-dot span {
  margin: 0.2rem;
  padding: 6px;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #00984b;
}

.banner_carousel.owl-dot.active {
  background-color: #333; /* Active dot color */
}
@media (min-width: 992px) {
  .heroshot-item h1 {
    font-size: 4.5rem;
    line-height: 6.1rem;
    width: 100%;
    margin: 0;
  }
}

@media (min-width: 992px) {
  .banner_carousel .heroshot-content p {
    width: 500px;
  }
}

.banner_carousel .heroshot-content p {
  color: #000;
  font-family: "Work Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 125%; /* 30px */
  letter-spacing: -0.24px;
}

.banner_carousel .curves {
  position: relative;
  overflow: hidden;
}

.banner_carousel .curves svg {
  width: 100%;
}
a.inquire-now {
  border-radius: 10px;
  background: var(--GREEN-100, #17a351);
  color: var(--WHITE, #fff);
  text-align: center;
  font-family: "Work Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  display: flex;
  width: 180px;
  height: 40px;
  padding: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.banner_carousel .curves svg.cmiddle {
  opacity: 0.75;
  bottom: -1rem;
}

.banner_carousel .curves svg:not(.cbottom) {
  position: absolute;
  left: 0;
}

@media (min-width: 768px) {
  .banner_carousel .curves svg.ctop {
    bottom: -3rem;
  }

  .banner_carousel .curves svg.cmiddle {
    bottom: -1.5rem;
  }
}

@media (min-width: 992px) {
  .banner_carousel .curves svg.ctop {
    bottom: -6rem;
  }

  .banner_carousel .curves svg.cmiddle {
    bottom: -3rem;
  }
}

@media (min-width: 576px) {
  .banner_carousel .container {
    height: 100vh;
  }
  body:not(.home) .banner_carousel .container {
    height: auto;
    min-height: 50vh;
    padding: 50px 0;
}
body:not(.home) .heroshot-item {
        background-position: center;
}
}

@media (min-width: 992px) {
  .banner_carousel .container {
    height: 100vh;
  }
body:not(.home) .banner_carousel .container {
    height: auto;
    min-height: 50vh;
    padding: 50px 0;
}
body:not(.home) .heroshot-item {
        background-position: center;
}

}

.pt-2 {
  padding-top: 2rem;
}

.branches .branche .programimg {
  display: block;
  position: relative;
}
    .branches .branches-wrapper {
        margin-top: 2.5rem;
    }

.branches .branche .programimg span {
  background: rgba(39, 217, 69, 0.397);
  color: #fff;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 1rem 1rem 0 0;
  border-radius: 1rem 1rem 0 0;
  border-radius: 1rem 1rem 0 0;
  width: 100%;
  height: 100%;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
}
.branches .branche .programimg span svg {
  display: block;
}

.branches .branche:hover .programimg span {
  opacity: 1;
}

.branches .wrapper {
  background: #fff;
  border-radius: 3rem;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  height: 100%;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.branches h3 {
  color: var(--GREEN, #17a351);
  font-family: "Work Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 125%;
  letter-spacing: 0.24px;
  text-transform: uppercase;
}
.branches img {
  display: block;
  width: 100%;
      height: 250px;
    object-fit: cover;
}

.branches .wrap {
  text-align: left;
  border-radius: 0 0 3rem 3rem;
  -moz-border-radius: 0 0 3rem 3rem;
  -webkit-border-radius: 0 0 3rem 3rem;
}

.branches .wrap header {
  background: #fbda03;
  padding: 2rem 3rem;
}

.branches .wrap header span {
  font-weight: 700;
  color: #1e95ad;
  display: block;
  margin-top: 0.75rem;
}
/* Hamburger Button */
.hamburger-menu {
  display: none; /* Hidden by default */
    width: 100%;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 999;
    color: #fff;
    text-align: right;
    padding-right: 2rem;
}

/* Back Button (Inside the Sliding Menu) */
.back-button {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin: 1rem;
  display: none;
}

/* Mobile Menu Styles */
@media (max-width: 900px) {
    nav#site-navigation {
    align-items: start;
    flex-direction: column;

    justify-content:unset;
    padding: 0;
    
}
    .mobile-menu #primary-menu li{
       border-bottom: 0.1rem solid #f2f2f2;
        padding: .8rem .5rem !important;
    }
.mobile-menu .menu-main-menu-container {
    /* width: calc(100% - 17.5rem); */
    margin-top: 17px;
    width: 100%;
}
.mobile-menu  #primary-menu li {
    position: relative;
    display: block;
            padding: 0 10px 40px;
}
.mobile-menu  .nav-menu li {
    display: inline-block;
    padding: 0 10px;
}
.mobile-menu .nav-menu li a {
    font-size: 16px;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
    font-family: "Work Sans", sans-serif;
    font-weight: 400;
}
button#back-button {
  margin: 2rem 0 0;
}
  .hamburger-menu {
    display: block; /* Show hamburger on mobile */
  }
  button#back-button {
    display: block;
  }

  /* Hide menu off-screen */
  .navigation {
    position: fixed;
    top: 0;
    right: -100rem;
    width: 250px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    z-index: 998;
    overflow-y: auto; /* Ensure scroll if content is long */
  }

  /* Slide menu when active */
  .navigation.is-active {
    right: 0; /* Slide in */
  }

  /* Ensure logo visibility */
  .header_logo {
    display: none;
    padding: 1rem;
  }
}

.branches .wrap h4 {
  font-size: 2rem;
  color: #f26b26;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.branches .wrap h4 a {
  color: #f26b26;
  text-decoration: none;
}

.branches .wrap div {
  padding: 0 2rem 2rem;
}

.branches .wrap div .btn {
  color: var(--GREEN, #17a351);
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 125%; /* 20px */
  letter-spacing: -0.48px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.branches .curves {
  z-index: 0;
  position: absolute;
  bottom: -0.1rem;
  left: 0;
  width: 100%;
}

.branches .owl-carousel .owl-dots button.owl-dot {
  border: 0.1rem solid #fbda03;
}

.branches .owl-carousel .owl-dots button.owl-dot.active {
  background: #fbda03;
}

@media (min-width: 992px) {
  .branches .branches-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 30px;
  }

  .branches .branche {
    width: 31.3333%;
    padding: 0;
  }
}
