/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

/** Post author box **/
.author-article-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding: 20px;
  background-color: #f7f7f7;
  text-decoration: none; /* remove underline from the whole block link */
  color: inherit; /* keep default text color */
  gap: 20px; /* cleaner spacing between image and content */
}

.author-article-image {
  flex-shrink: 0;
}

.author-article-image img {
  max-width: 100px;
  height: auto;
  border-radius: 50%;
  display: block;
}

.author-article-content {
  flex: 1;
  display: block;
}

.author-name {
  font-weight: bold; 
  margin: 0 0 5px;
}
 .author-title {
  margin: 0 0 5px;
}



/**  Insights post excerpt *  **/
.insights{
	border:2px solid #888;
}
.insights-content{
	padding-top:20px;
}
.insights-content a{
	text-decoration:none;
  	color:#000;
}
.insights-category{
	font-weight:bold;
  	text-decoration:none; 
}
.insights-service{
	font-weight:bold;
  	text-decoration:none;
}
.background .insights-content{
  padding:20px;
}


/** author box css */
.author{
	display:flex;
  	flex-direction:row;
  	align-items:center;
}
.author-name{
	font-weight:bold;
}
.author-image{
	 
}
.author-image img{
	width:50px;
    border-radius: 100%;
}
.author-content{
	padding:20px;
 	display:block;
}

/** Start No JS - Menu CSS Code **/
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.nojs-navigation {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.nojs-nav-toggle,
.nojs-submenu-toggle {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/***** BURGER ICON *****/
.nojs-burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 40px;
	height: 40px;
	padding: 6px;
	cursor: pointer;
}

.nojs-burger span {
	display: block;
	width: 100%;
	height: 3px;
	background: currentColor;
	border-radius: 1px;
	transition: transform .3s ease, opacity .2s ease;
	transform-origin: center;
}

.nojs-nav-toggle:checked+.nojs-burger span:nth-child(2) {
	transform: translateY(9px) rotate(45deg);
}

.nojs-nav-toggle:checked+.nojs-burger span:nth-child(4) {
	transform: translateY(-9px) rotate(-45deg);
}

.nojs-nav-toggle:checked+.nojs-burger span:nth-child(3) {
	opacity: 0;
}

/***** MOBILE OVERLAY MENU *****/
.nojs-menu {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	/* moved 10px down */
	background: #fff;
	min-width: 300px;
	max-width: 80vw;
	border-radius: 6px;
	z-index: 9999;
	margin: 0;
	padding: 0;
	text-align: right;
	display: none;
	list-style: none !important;
}

/* shadow removed */
.nojs-nav-toggle:checked~.nojs-menu {
	display: block;
}

/***** LIST RESET (all levels) *****/
.nojs-menu ul,
.nojs-submenu,
.nojs-submenu ul {
	list-style: none !important;
	margin: 0;
	padding: 0;
}

/***** ITEMS & LINKS *****/
.nojs-item {
	position: relative;
}

.nojs-link {
	display: block;
	padding: .75rem 1rem;
	text-decoration: none;
	text-align: right;
	padding:15px 10px;
}

.nojs-toggle-btn {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	cursor: pointer;
}

.nojs-submenu-toggle:checked+.nojs-toggle-btn {
	display: none;
}

.nojs-submenu-toggle:not(:checked)+.nojs-toggle-btn+.nojs-link {
	pointer-events: none;
}

/***** SUB-MENUS *****/
.nojs-submenu {
	display: none;
	background: #fff;
}

.nojs-submenu-toggle:checked+.nojs-toggle-btn+.nojs-link+.nojs-submenu {
	display: block;
}

.nojs-submenu.depth-1 .nojs-link {
	padding-left: 2rem;
}

.nojs-submenu.depth-2 .nojs-link {
	padding-left: 3rem;
}

/***** DESKTOP *****/
@media (min-width:768px) {
	.nojs-navigation {
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
	}

	.nojs-burger,
	.nojs-nav-toggle {
		display: none;
	}

	.nojs-menu {
		position: static;
		display: flex !important;
		box-shadow: none;
		border-radius: 0;
		gap: 1rem;
		top: auto;
	}



	.nojs-toggle-btn {
		display: none;
	}

	.nojs-submenu {
		position: absolute;
		right: 0;
		top: 100%;
		min-width: 280px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
	}

	.nojs-parent:hover>.nojs-submenu {
		display: block;
	}

	.nojs-submenu.depth-1 .nojs-parent:hover>.nojs-submenu {
		right: 100%;
		top: 0;
	}
}
/** End No JS - Menu CSS Code **/

/** Start No JS - FAQs */

/* --- accordion container --- */
.faq-accordion{

margin-inline:auto;
color:#1d2333;
}

/* --- summary (header) --- */
.faq-accordion summary{
display:flex;
justify-content:space-between;
align-items:center;
gap:1rem;
font-size:16px;
padding:15px 20px;               /* ≈ 10 px spacing */
margin:0;
background:#fff;
border-radius:4px;
box-shadow:0px 0px 40px -10px rgba(175,175,175,0.42);
        /* 17 px */
font-weight:600;
cursor:pointer;
transition:box-shadow .25s;
}

/* remove default ▶ marker */
.faq-accordion summary::marker,
.faq-accordion summary::-webkit-details-marker{display:none}

/* hover / focus */
.faq-accordion summary:hover,
.faq-accordion summary:focus-visible{
box-shadow:0 3px 10px rgba(0,0,0,.12);
outline:0;
}

/* plus / minus icon (right side) */
.faq-accordion summary::after{
content:"+";
font-size:2.5rem;               /* a bit larger than text */
line-height:1;
flex-shrink:0;
color:#11111;                   /* brand blue — tweak if needed */
transition:transform .25s, content .25s;
}

/* open state */
.faq-accordion details[open] summary::after{
content:"–";                     /* en dash looks nicer than hyphen */
transform:rotate(180deg);         /* subtle twist */
}

/* --- answer panel --- */
.faq-accordion .content{
                /* slight separation from header */
padding: 20px 25px;
animation:fade .25s ease;
box-shadow:0px 0px 40px -10px rgba(175,175,175,0.42);

}
@keyframes fade{from{opacity:0}to{opacity:1}}

/* typography resets */
.faq-accordion p,
.faq-accordion ul,
.faq-accordion ol{margin:.75rem 0}
.faq-accordion ul,
.faq-accordion ol{padding-left:1.25rem}

/* gap between items */
.faq-accordion details+details{margin-top:10px}

/** End No JS - Accordion/FAQ **/


/** NO JS - Tabs **/
.tabs {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background: #ff6600;
  box-shadow: 0 48px 80px -32px rgba(0,0,0,0.3);
}
.input {
  position: absolute;
  opacity: 0;
}
.label {
  width: 100%;
  padding: 10px 20px;
  background: #ff6600;
  cursor: pointer;
  font-size: 16px;
  font-weight:normal;
  color: #fff;
  transition: background 0.1s, color 0.1s;
  margin-bottom:0px;
}
.label:hover {
  background: #026D9C;
}
.label:active {
  background: #026D9C;
}
.input:focus + .label {
  z-index: 1;
}
.input:checked + .label {
  background: #026D9C;
  color: #fff;
}

.panel {
  display: none;
  padding: 20px 30px 30px;
  background: #fff;
  width: 100%;
}

.input:checked + .label + .panel {
  display: block;
}
picture, picture img {
     max-width: 100%;
}

@media (min-width: 600px) {
  .panel {
    order: 99;
  }
    .label {
    width: auto;
  }
  picture, picture img{
     max-width: 50%;
     width:100%;
}
}


/** End NO JS - Tabs **/

/** Start NO JS - Timeline**/
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
   
    font-family: system-ui, sans-serif;
  }

  .timeline-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .timeline-item .text-content {
    flex: 1;
    min-width: 250px;
  }

  .timeline-item .image-content {
    flex-shrink: 0;
  }

  .timeline-item img {
    max-width: 300px;
    height: auto;
    border-radius: 4px;
    display: block;
  }

  .timeline h3 {
    margin-top: 0;
    color: #203250 !important;
  }

  .timeline p {
    margin-bottom: 0;
    line-height: 1.6;
     color: #203250 !important;
  }
  .timeline a {
    text-decoration: underline;
     color: #203250 !important;
  }

  @media (max-width: 768px) {
    .timeline-item {
      flex-direction: column;
      align-items: flex-start;
    }

    .timeline-item .image-content {
      align-self: center;
    }
  }
/** End No JS - Timeline **/



/** Start No JS - Form CSS Code **/
.contact-form {
	border-radius: 8px;
}

.contact-form fieldset {
	border: none;
	padding: 0;
}

.contact-form legend {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 10px;
}

.contact-form label {
	font-size: 16px;
	margin: 0px;
	display: block;
}

.contact-form input, .contact-form select, .contact-form textarea {
	width: 100%;
	padding: 8px;
	margin: 5px 0 15px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.contact-form .required {
	color: red;
}

.contact-form button {
	background-color: #204ce5;
	color: #fff;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.contact-form button:hover {
	background-color: #0064d2;
}

.contact-form .g-recaptcha {
	margin-top: 20px;
}

.contact-form p {
	margin-bottom: 10px;
}

.contact-form input[type="checkbox"] {
	width: auto;
}

.success-message {
	background-color: #dff0d8;
	color: #3c763d;
	padding: 15px;
	margin-top: 20px;
	border-radius: 4px;
	border: 1px solid #d6e9c6;
}
/** End NO JS - Contact Form **/