/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */


:root   {
    --dbd-primary: #013F58;
    --dbd-secondary: #40586a;
    --dbd-avenue-2: #0075A4;
    --dbd-grey: #464f54;
    --dbd-light-grey: #ECECEC;
    /*--dbd-heading-font: "Eudonet", sans-serif;*/
}

.dbd-container  {
  width: 90%;
    max-width: 1600px;
    margin: 0 auto;
}

.dbd-btn  {
  display: inline-block;
  transition: background-color .2s ease-in-out;
}

address {
  font-style: normal;
}

/* Header 
-------------------------------------------------------------*/

.admin-bar .site-header {
    top: 32px;
  }
  
  .site-header {
    transition: background-color 0.3s ease-in-out;
    padding: 1rem 0;
    display: flex;
    align-items: center;
  }
  
  .dbd-transparent-header {
    background-color: transparent;
  }
  
  .dbd-transparent-header.active {
    background-color: var(--dbd-primary);
   
  }
  
  .dbd-fixed-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    height: 110px;
  }
  
  .dbd-fixed-header.active {
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .site-header .dbd-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .site-header .logo-wrap {
    width: 100%;
    max-width: 350px;
  }
  
  .site-header .logo-wrap img {
    max-width: 100%;
    height: auto;
  }


  .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 1rem;
    padding-top: 0.75rem;
  }

  .header-right .header-contact p {
    color: #fff;
    font-size: 1em;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    padding: 0;
    margin: 0;
  }

  .header-right .header-contact p a {
    font-size: 1.3em;
    color: #fff !important;
    text-decoration: none !important; 
  }

  .dbd-mobile-tel-icon  {
    display: none;
  }


/* NAVIGATION
  ------------------------------------------------*/


  /* Mobile Menus */


  /* Toggle Button (Hamburger) */
.mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 25px;
    background: transparent;
    border: none;
    padding: 0;
    margin-left: 1.5rem;
    cursor: pointer;
}

.mobile-nav-toggle:hover  {
  background-color: transparent;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #fff;
    transition: transform 0.3s ease;
}
/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background: var(--dbd-avenue-2);
  color: #fff;
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
    touch-action: pan-y;
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.3); /* Left-side shadow */
}

.mobile-nav-overlay.open {
  right: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  color: #fff;       
  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-size: 2rem;    
}

.mobile-nav-close .icon-close {
  width: 1em;        
  height: 1em;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  display: block;     
}

.mobile-menu {
    padding: 4rem 1.5rem 2rem;
}

.mobile-menu li {
list-style: none;
}

.mobile-menu li a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 1rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .menu-item-has-children > a {
  position: relative;
  padding-right: 2rem;
}


.mobile-menu .menu-item-has-children > a::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.9rem;
  transition: transform 0.3s ease;
}

.mobile-menu .menu-item.submenu-open > a::after {
  content: '-';
}

/* Mobile Menu - Sub Menus */

.mobile-menu .sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin-left: 1rem;
}



.mobile-menu .menu-item.submenu-open > .sub-menu {
  
    max-height: 500px; /* enough to show any list */
}


  /************************************
  Main Nav - Large Screens
  *************************************/

  .main-nav {
    margin: 0 2rem;
    display: none;
  }

  .main-nav > ul  {
    list-style-type: none;
    margin: 0;
    display: flex;
    align-items: center;
  }

  .main-nav > ul > li {
    padding: 0.7rem;
    position: relative;
  }

  .main-nav > ul > li > a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    font-weight: 400;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
  } 

/*Main Nav - Large Screens - dropdown menus*/

.main-nav ul li a:not(:only-child):after,
.main-nav ul li.dbd-mega-menu:after {
  content: '\25bc';
  font-size: 0.6em;
  position: relative;
  top: -2px;
  left: 2px;
  color: #fff;
}

  /* Add arrow to sub-menu */
  .main-nav .menu-item-has-children .sub-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--dbd-avenue-2);
  }

.main-nav .sub-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: var(--dbd-avenue-2);
    margin-top: 10px;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.main-nav  .sub-menu.nav-open {
  visibility: visible;
  opacity: 1;
}

/*

.main-nav .menu-item-has-children:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
*/
.main-nav .sub-menu {
  list-style-type: none;
  width: 250px;
}

.main-nav .sub-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0.3rem;
  transition: padding .2s ease-in-out;
}

.main-nav .sub-menu a:hover {
  padding-left: 0.6rem;
}

/************ MEGA MENUS ******************/

/* === Fullscreen Overlay === */
.dbd-mega-overlay {
  position: fixed;
  inset: 0;
  background: var(--dbd-primary, #1d1d1d);
  color: #fff;
  z-index: 9999;
   opacity: 0;
  transform: translateY(2%);
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
   overflow: hidden;
}

.dbd-overlay-scroll-area {
  height: 100%;
  overflow-y: auto;
  padding: 2rem;
}


.dbd-mega-overlay.active {
   opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.dbd-mega-close {
  position: absolute;
  top: 1.5rem;
  right: 3rem;
  font-size: 1rem;
  background: none;
  border: solid 1px #fff;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}

.dbd-mega-close-icon  {
  font-size: 1.3em;
}

/* === Layout === */


.dbd-overlay-column-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 3rem;
}


.dbd-overlay-column-1 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2rem;
}

.mega-overlay-contact-details {
  margin: 2rem 0;
}

.dbd-overlay-photo {
  width: 100%;
  border-radius: 12px; /* Example curved mask */
  object-fit: cover;
  border: solid 4px #fff;
}

.dbd-overlay-column-2 {
  padding: 2rem 2rem 0 0;
  overflow-y: auto;
   display: flex;
  flex-direction: column;
  justify-content: center;
}

.dbd-mega-inner {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.dbd-mega-block {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.dbd-mega-links {
  columns: 2 350px;
  column-gap: 2.5rem;
  list-style: none;
  padding: 0;
}

.mega-overlay-contact-details a,
.mega-overlay-contact-details a:visited {
  color: #fff !important;
  text-decoration: none;
}
.dbd-mega-label {
 width: 170px;
  display: flex;
  align-items: center;
}

.dbd-mega-label h2 {
  margin: 0.5rem 0 0 0.5rem;
  font-size: 1.4rem;
  color: #fff;
}

.dbd-mega-label img {
  width: 50px;
  height: 50px;
}


.dbd-mega-links li {
  break-inside: avoid;
  margin-bottom: 0.4rem;
}

.dbd-mega-links a,
.dbd-mega-links a:hover,
.dbd-mega-links a:visited   {
  color: #fff;
  text-decoration: none;
}

.dbd-mega-links a:hover {
  text-decoration: underline;
}


/*
Meet the Team Accordion
-------------------------------------------*/

.dbd-accordion-item {
  margin-bottom: 15px;
}

.dbd-accordion-trigger {
  background-color: var(--dbd-avenue-2);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  gap: 1rem;
}

.dbd-accordion-trigger:hover,
.dbd-accordion-trigger.dbd-open {
  background-color: var(--dbd-primary);
}

.dbd-trigger-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dbd-logo-icon {
  width: 45px;
  height: auto;
}

.dbd-trigger-text {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

h3.dbd-name {
  margin: 0 !important;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.dbd-position {
  font-size: 1.2rem;
}

.dbd-toggle-icon {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
}


.dbd-accordion-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;  
  border: 1px solid #ddd;
  border-top: none;
  padding: 0; 
}

.dbd-accordion-panel.dbd-open {
  opacity: 1;
    margin-bottom: 1.5rem;;
}


.dbd-panel-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding: 2.5rem; 
 box-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}


.dbd-panel-image  {
  flex: 0 0 300px;
 }

.dbd-panel-image img {
  width: 300px;
  height: auto;
  border-radius: 4px;
  border: 1px solid #ccc; 
  box-shadow: 0 2px 2px  rgba(0, 0, 0, 0.3); 
}

.dbd-panel-image h3 {
  margin-bottom: 0 !important;
}

.dbd-panel-image p  {
  margin-bottom: 0.2rem !important;
}

.dbd-panel-text  {
 flex: 1 1 0; 
}


.dbd-panel-text h3 {
  margin-top: 0;
}




/*
Footer
-------------------------------------------*/

.dbd-site-footer {
    background-color: var(--dbd-primary);
    padding: 3rem 0;
    border-top: solid 4px var(--dbd-avenue-2);
    border-bottom: solid 4px var(--dbd-avenue-2);
  }
  
  .dbd-site-footer  .dbd-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 2rem;
  }
  
  .dbd-site-footer h3 {
    color: #fff;
    font-size: 1.4em;
    font-weight: 800;
    margin-bottom: 0.65rem;
  }
  
  .dbd-site-footer h3::after {
    content: '';
    height: 4px;
    width: 40px;
    display: block;
    margin: 0.3rem auto;
    background-color: var(--dbd-avenue-2);
  }
  
  /* Footer Contact Info */
  
  .footer-contact-method:not(:last-of-type) {
    margin-bottom: 2rem;
  }
  
  .dbd-site-footer p,
  .dbd-site-footer address,
  .dbd-site-footer a,
  .dbd-site-footer a:hover,
  .dbd-site-footer a:visited {
    color: #fff;
    font-style: normal;
    text-decoration: none;
    padding: 0;
    margin: 0;
  }

.footer-legal {
  font-size: 0.9em;
}

.cqc  {
  margin-bottom: 1.5rem;
}

.cqc p  {
  margin-bottom: 0.8rem;
}

.cqc img  {
  display: inline-block;
  margin: 0 auto;
}

.dbd-footer-links ul {
  margin: 0;
}

/*
.footer-services ul  {
  columns: 2;
  column-gap: 2rem; 
}
*/
.dbd-footer-links li  {
  list-style-type: none;
  padding: 0.1rem 0;

}

.dbd-footer-links li::before  {
  content: '\276F'; 
  margin-right: 0.5em;
  font-size: 0.75em; 
  color: var(--dbd-avenue-2); 
}

.dbd-footer-links li a,
.dbd-footer-links li a:visited  {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
}

.dbd-footer-links li a:hover  {
  text-decoration: underline;
}
  
    
  /* Footer Right Col / Social */
  
  .footer-social {
    margin-bottom: 1rem;
  }
  
  .footer-social a {
    display: inline-block;
    margin-right: 0.2rem;
  }

  .dbd-footer-legal {
    background-color: #cccccc;
    padding: 0.3rem ;
  }

   .dbd-footer-legal .dbd-container  {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      text-align: center;
  }

  .dbd-footer-legal p {
    padding: 0.3rem;
    margin: 0;
    font-size: 0.8em;
  }
 
  .sub-footer {
    background-color:#fff;
  }
  
  .sub-footer .dbd-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .sub-footer p {
    font-size: 0.8em;
    line-height: 2.2em;
    color: #000;
    margin: 0;
    padding: 0;
  }
  
  .sub-foot-link {
    font-size: 0.75em;
    line-height: 2.2em;
    text-decoration: none;
    margin-left: 2.5em;
    color: #000;
  }
  
  .dbd {
    color: var(--dbd-primary);
    text-decoration: none;
  }
/*
Media Queries
-------------------------------------------*/


@media (min-width: 1251px) and (max-width: 1550px ) {
  .site-header .logo-wrap {
    width: 100%;
    max-width: 270px;
  }
  
}



/* Desktop */
@media (min-width: 1251px) {
  /* Header and Navigation*/

  .site-header .dbd-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .site-header .header-right  {
    align-items: center;
    justify-content: space-between;
    width:65%;
  }

    .header-right .header-contact p {
      text-align: left;
    }
  
  .main-nav {
    display: flex;
    align-items: center;
  }

  .mobile-nav-toggle {
    display: none;
  }
  /* MEGA MENU */

  .dbd-mega-overlay {
    display: flex;
    align-items: center;
    justify-content: center; /* Optional */
  }

  .dbd-overlay-scroll-area {
    max-height: 100vh;
    overflow-y: auto;
    margin: auto 0;
    width: 100%;
  }

.dbd-overlay-column-1 {
  width: 30%;
}
  

.dbd-overlay-column-2 {
  width: 60%;
} 

/* Footer */
.dbd-site-footer .dbd-container {
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
}

.footer-col {
    margin-bottom: 0;
}

.footer-col-2  {
  max-width: 25%;
}

.dbd-site-footer h3::after {
  margin: 0.3rem 0 0 0;
}

.cqc img  {
  margin: 0 0;
}

.sub-footer .dbd-container {
  flex-direction: row;
  justify-content: space-between;
  text-align: left;
}

  
}

@media (min-width: 1251px) and (max-width: 1315px) {
  .site-header .header-right  {
    align-items: center;
    justify-content: space-between;
    width:70%;
  }

}

/* Desktop */
@media (min-width: 1025px) and (max-width: 1250px) {
   /*Mega Overlay*/



.dbd-overlay-column-container {
  flex-direction: column-reverse;
}
.dbd-overlay-column-1,
.dbd-overlay-column-2 {
  width: 100%;
  align-items: center;
}

.dbd-overlay-column-1 {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}

.dbd-mega-block {
  flex-direction: column;
}

/* Footer */

.dbd-site-footer  .dbd-container {
  flex-wrap:wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
}

.dbd-site-footer  .dbd-container > div {
  width: 50%;
}

.dbd-site-footer h3::after {
  margin: 0.3rem 0 0 0;
}

}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  /*Mega Overlay*/

  .dbd-overlay-column-container {
    flex-direction: column-reverse;
  }
  .dbd-mega-block {
    flex-direction: column;
  }
}

@media (max-width: 767px) {

  .dbd-fixed-header {
    height: 90px;
  }

   .header-left {
    width: 65%;
   }

  .header-right {
    width: 30%;
  }

  .header-right .header-contact   {
    display: none;
  }

 .dbd-mobile-tel-icon  {
    display: block;
  }



 /*Mega Overlay*/

 .dbd-mega-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
  }


.dbd-mega-close-text  {
  display: none;
}
 
.dbd-overlay-column-1 {
  width: 100%;
}


 .dbd-overlay-column-2 {
  width:100%;
}

.dbd-overlay-column-container {
    flex-direction: column-reverse;
  }

  .dbd-mega-block {
    flex-direction: column;
  }
}