/*
Theme Name: Divi Child
Theme URI: https://elegantthemes.com
Description: A custom child theme for the Divi parent theme.
Author: Your Name
Author URI: https://yourwebsite.com
Template: Divi
Version: 1.0.0
*/

html {
  scroll-behavior: smooth;
}

body {
	font-size: 16px !important;
	font-weight: 400;
	color: #1d1d1d;
}

p {
	font-weight: 400 !important;
}

#et-main-area {
	position: relative;
}

header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
}

.toolbar {
  border-bottom: 1px solid rgba(240,240,240,0.15);
  font-size: 14px;
}

.toolbar-right-item {
	width: auto !important;
}

.toolbar-right-item *, a, .main-header .et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar::before,
.blue-txt-link *, .link-box .blue-txt-link * {
	transition: 0.3s ease-in-out;
}

p a {
	color: #1d1d1d;
	text-decoration: underline;
}

p a:hover {
	color: #1e95a0;
	text-decoration: underline;
}

.toolbar .et_pb_row {
	column-gap: 25px;
	justify-content: space-between;
}

.toolbar .et_pb_row .et_pb_row {
justify-content: normal;
}

.toolbar .toolbar-right-item:hover *,
.toolbar .toolbar-right-item:hover .et-pb-icon,
.main-header li a:hover, 
.main-header .et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar:hover::before,
.blue-txt-link:hover *,
.link-box:hover .blue-txt-link *, ul li.current-menu-item > a {
	color: #1e95a0 !important;
}

.nav li li a {
	line-height: 1.2em;
}

.main-header {
	padding: 15px 45px !important;
}

.main-header .et_pb_menu, .toolbar, .main-header {
	background: none !important;
}

.main-header .et_pb_menu a, .toolbar, .main-header .et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar::before {
	color: #f0f0f0;
}

.main-header .sub-menu {
	background: rgba(0, 0, 0, 0.8);
}

.main-header li a {
	padding-bottom: 0px !important;
}

li.contact-btn a {
	border: 2px solid #f0f0f0;
  padding: 13px 25px !important;
  border-radius: 100px;
}

li.contact-btn {
	padding-right: 0px !important;
}

#menu-main-navigation li {
	align-items: center;
}

li.contact-btn a:hover {
	background: #f0f0f0;
	color: #1d1d1d !important;
}

li.contact-btn.current-menu-item a {
	background: #1e95a0;
	color: #f0f0f0 !important;
	border-color: #1e95a0;
}

.main-header * {
	opacity: 1 !important;
}

span.sub-title {
	font-style: italic;
	font-weight: 400;
}

.banner span.sub-title {
	line-height: 1em;
  display: inline-block;
  vertical-align: top;
}

.banner span.sub-title.reverse-styling {
  vertical-align: bottom;
}


.home .banner span.sub-title {
  display: inline-block;
}


h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	margin-bottom: 25px;
	padding-bottom: 0;
}

h1, h2, h3, h4, h5, .h1-styling, .h2-styling, .h3-styling, .h4-styling, .h5-styling {
	line-height: 1em;
}

h1, .h1-styling {
	font-size: 115px;
	line-height: 1em;
	font-weight: bold;
}

h1 span.sub-title {
	font-size: 85px;
}

h2, h2 span.sub-title, .h2-styling {
	font-size: 85px;
}

h3, h3 span.sub-title, .h3-styling, .h3-styling span.sub-title {
	font-size: 65px;
}

h4, h4 span.sub-title, .h4-styling, .h4-styling span.sub-title {
	font-size: 36px;
}

h5, h5 span.sub-title,.h5-styling, .h5-styling span.sub-title  {
	font-size: 28px;
	margin-bottom: 0;
  padding-bottom: 0;
}

h6, h6 span.sub-title, .h6-styling, .h6-styling span.sub-title  {
	font-size: 20px;
	line-height: 1.2em;
}

.disclaimer {
	font-size: 12px;
	font-style: italic;
}

.grid-3-2 .et_pb_text_inner {
 align-content: center;
  width: 100%;
  height: 100%;
}

.bg-move {
	position: relative;
  	overflow: hidden;
}

.bg-move::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: luminosity !important;
  background-image: url('/wp-content/uploads/2026/07/why-choose-mesagen.jpg') !important;
  background-size: cover;
  background-position: center;
  animation: zoomAndPan 15s ease-in-out infinite alternate;
}

.home .banner {
	position: relative;
  	overflow: hidden;
}

.home .banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg,#001322 22%,rgba(31,54,72,0) 100%),url('https://mesagen.wpenginepowered.com/wp-content/uploads/2026/07/mesagen_home_main.jpg') !important;
  background-size: cover;
  background-position: center;
  animation: zoomAndPan 15s ease-in-out infinite alternate;
}

.banner h1 {
	margin-bottom: 0;
	padding: 0;
}


@keyframes zoomAndPan {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.15) translate(-2%, -3%); /* Zooms in slightly and shifts */
  }
}



/******* ACCORDION STYLING *******/
.et_pb_accordion_item {
	padding: 0px;
}

h3.et_pb_toggle_title {
	font-size: 18px;
	margin-bottom: 0;
	font-weight: 600;
  	padding: 25px 50px 25px 25px !important;
}	

.et_pb_toggle_content {
	padding: 25px 0;
	margin: 0 25px;
	border-top: 1px solid rgba(102,102,102,.2);
}

.et_pb_toggle_open, .et_pb_accordion_toggling, .et_pb_toggle:hover {
	border-color: rgba(102,102,102,.5) !important;
}

.et_pb_toggle_open:hover {
	border-color: rgba(102,102,102,1) !important;
}

.et_pb_toggle_title::before {
	right: 25px !important;
}

.et_pb_toggle_open .et_pb_toggle_title::after {
	font-family: "FontAwesome" !important;
content: '\f068' !important;
  font-weight: 900 !important;
  color: rgba(102,102,102,0.5);
  font-size: 10px;
  line-height: 10px;
  transition-property: color;
  transition-duration: 300ms;
  transition-timing-function: ease;
  transition-delay: 0ms;
	right: 25px !important;
}

.et_pb_toggle_title::after {
  position: absolute;
  top: 50%;
  margin-top: -.5em;
}

.et_pb_toggle_open:hover .et_pb_toggle_title::after {
	color: rgba(102,102,102,1);
}


/****** BIOS ******/
/*.four-white-boxes.bios .et_pb_image {
	margin-top: -100px;
}

.four-white-boxes.bios .et_pb_column {
	overflow: visible;
}
*/



/******* CONTACT US *******/
.contact-us-banner .toolbar-social {
	display: none;
}

.contact-us-banner a {
	color: #f0f0f0;
}

.gform_button {
	border-radius: 100px !important;
	background: #1f4394 !important;
	padding: 15px 25px !important;
	margin: auto !important;
	font-size: 16px !important;
}

.gform-theme input[type="email"], .gform-theme input[type="text"], .gform-theme input[type="tel"], .gform-theme textarea, .gform-theme .ginput_container_phone input, 
.gform_button, .gform-theme select,.gform-theme ::placeholder, .gform-theme legend, .gform-theme label  {
	font-size: 16px !important;
}

.gform_button:hover {
	background: #182f61 !important;
}

.gform_fields {
	row-gap: 15px !important;
}

.gform-theme input[type="email"], .gform-theme input[type="text"], .gform-theme input[type="tel"], .gform-theme textarea, .gform-theme .ginput_container_phone input {
	padding: 25px 15px !important;
}

.gform-theme select {
	height: 52px !important;
  	padding: 6.5px 15px !important;
}

.gform-theme ::placeholder {
  color: #999999 !important;
  font-style: italic;     /* Makes the text italic */
}

.gform_required_legend {
	display: none;
}

.gform_confirmation_message {
	text-align: center;
  font-size: 22px;
}

.gform_confirmation_message {
	text-align: center !important;
  font-size: 45px !important;
  line-height: 1.3em !important;
  border: 1px solid #e0e0e0 !important;
  padding: 45px !important;
}


/******* MOBILE MENU **********/
.et_mobile_menu {
	position: fixed;
  top: 0 !important;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,0.9) !important;
  align-content: center;
  text-align: center !important;
  z-index: 0;
}

.mobile_menu_bar {
	z-index: 1;
}

.opened .mobile_menu_bar::before {
  content: "\4d";
}




/****** READY SECTION *******/
.ready-section {
	padding-bottom: 405px !important;
}




/****** NUMBER CARDS ******/
.number-cards-group {
	border-radius: 25px;
	padding: 25px;
	background: #fff;
	filter: drop-shadow(-10px 10px 8px rgba(0, 0, 0, 0.3));
}

.number-cards .et_pb_column {
	padding: 25px;
	border-radius: 45px;
	position: relative;
}

.number-cards .et_pb_column::before {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	content: '';
	border-radius: 45px;
	border-width: 1px;
	border-style: solid;
}

.number-cards .et_pb_column::after {
	position: absolute;
	content: '';
	width: 25px;
  height: 25px;
  clip-path: polygon(0% 0%, 0% 100%, 50% 50%);
  right: -25px;
  top: 47%;
}

.number-cards .et_pb_column:nth-child(1)::before {
	background: linear-gradient(126deg,rgba(255, 255, 255, 0.05) 50%, rgba(31, 54, 72, 1) 50%);
	border-color: #1f3648;
}

.number-cards .et_pb_column:nth-child(1)::after {
  background-color: #1f3648;
}

.number-cards .et_pb_column:nth-child(2)::before {
	background: linear-gradient(126deg,rgba(255, 255, 255, 0.05) 50%, rgba(31, 67, 148, 1) 50%);
	border-color: #1f4394;
}

.number-cards .et_pb_column:nth-child(2)::after {
  background-color: #1f4394;
}

.number-cards .et_pb_column:nth-child(3)::before {
	background: linear-gradient(126deg,rgba(255, 255, 255, 0.05) 50%, rgba(30, 149, 160, 1) 50%);
	border-color: #1e95a0;
}

.number-cards .et_pb_column:nth-child(3)::after {
  background-color: #1e95a0;
  display: none;
}

.number-cards .et_pb_column.card-number-style-two {
	border-radius: 25px;
	position: relative;
}

.number-cards .et_pb_column.card-number-style-two::before {
	border-radius: 25px;
	border:none;
}


.number-cards .et_pb_column.card-number-style-two:nth-child(1)::before {
	background:#1f3648;
}

.number-cards .et_pb_column.card-number-style-two:nth-child(1)::after {
  background-color: #1f3648;
}

.number-cards .et_pb_column.card-number-style-two:nth-child(2)::before {
	background: #1f4394;
}

.number-cards .et_pb_column.card-number-style-two:nth-child(2)::after {
  background-color: #1f4394;
}

.number-cards .et_pb_column.card-number-style-two:nth-child(3)::before {
	background: #1e95a0;
}

.number-cards .et_pb_column.card-number-style-two:nth-child(2){
	z-index: -1;
}

.number-cards .et_pb_column.card-number-style-two:nth-child(3) {
  z-index: -2;
}


/***** FOOTER *******/
footer {
	position: absolute;
  bottom: 0;
  width: 100%;
}

.footer-menu {
	font-size: 14px !important;
}

.footer-toolbar .et_pb_row_1_tb_footer {
	column-gap: 25px;
	justify-content: end;
}

.footer-toolbar .toolbar-right-item, .footer-toolbar .toolbar-social, .et_pb_column_2_tb_footer, .et_pb_row_2_tb_footer {
	width: auto;
}

.footer-toolbar *, .footer-toolbar .et_pb_social_media_follow_0_tb_footer li.et_pb_social_icon a.icon::before, .et_pb_icon_0_tb_footer .et_pb_icon_wrap .et-pb-icon, .et_pb_icon_1_tb_footer .et_pb_icon_wrap .et-pb-icon {
	color: #f0f0f0 !important;
}

.footer-toolbar *:hover, .footer-toolbar .et_pb_social_media_follow_0_tb_footer li.et_pb_social_icon a.icon:hover::before, .toolbar-right-item:hover .et_pb_icon_0_tb_footer .et_pb_icon_wrap .et-pb-icon, 
.toolbar-right-item:hover .et_pb_icon_1_tb_footer .et_pb_icon_wrap .et-pb-icon {
	color: #1e95a0 !important;
}

.footer-toolbar .et_pb_row_2_tb_footer {
	column-gap: 25px;
}

#menu-footer li {
	border-left: 1px solid #f0f0f0;
}

#menu-footer li:first-child {
	border: none;
}

#menu-footer li a {
	padding-bottom: 0px;
}

.footer-toolbar {
	float: right;
  width: auto;
  display: contents;
}

/* Four-up cards: shared rows so icon / heading / text / link align */
.et_pb_row.card-grid {
  row-gap: 0;                 /* spacing now comes from the cards */
  grid-auto-rows: auto;
}

.et_pb_row.card-grid > .et_pb_column.link-box {
  display: grid;
  grid-row: span 4;           /* icon, heading, paragraph, link */
  grid-template-rows: subgrid;
  row-gap: 15px;              /* spacing between items inside each card */
  align-items: start;
  justify-items: center;
}


/* Why Choose: icon / heading / paragraph share rows across columns */
.et_pb_row.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
  row-gap: 0;
}

.et_pb_row.why-grid > .et_pb_column {
  display: grid;
  grid-row: span 3;               /* icon, heading, paragraph */
  grid-template-rows: subgrid;
  row-gap: 15px;
  align-items: start;
  justify-items: center;
}


/******* RESPONSIVENESS *******/
@media (max-height: 600px) {
	.et_mobile_menu {
		overflow-x: auto;
	}
}

@media (max-width: 1366px) {
	h1, .h1-styling {
		font-size: 80px;
	}

	h1 span.sub-title {
		font-size: 60px;
	}

	h2, h2 span.sub-title, .h2-styling {
		font-size: 60px;
	}

	h3, h3 span.sub-title, .h3-styling, .h3-styling span.sub-title {
		font-size: 45px;
	}

	h4, h4 span.sub-title, .h4-styling, .h4-styling span.sub-title {
		font-size: 30px;
	}

	h5, h5 span.sub-title,.h5-styling, .h5-styling span.sub-title  {
		font-size: 26px;
	}

	.number-cards-container {
		max-width: 100% !important;
		width: 95% !important;
	}

	.gform_confirmation_message {
	  font-size: 35px !important;
	}
}

@media (max-width: 1199px) {
	.locations .et_pb_column {
		width: 100%;
	} 

	.locations {
		flex-wrap: wrap !important;
	}

	.four-white-boxes .et_pb_column {
		padding: 25px;
	}

	.header-logo img {
		max-width: none;
		width: 200px;
	}

	.main-header {
		padding: 15px 25px !important ;
	}

	.toolbar {
		padding: 10px 15px !important;
	}

	.main-header .et_pb_menu .et-menu > li {
	  padding-left: 0;
	  padding-right: 20px;
	}

}

@media (max-width: 1199px) {
  .main-header .et_pb_menu .et-menu > li {
    padding-left: 0;
    padding-right: 0.95vw;
  }
}

@media (min-width: 981px) {
	/* team grid */
	.et_pb_row.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 0;
  }

  .et_pb_row.team-grid > .team-card {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
  }

	/* Three columns share three rows: icon / heading / description */
  .et_pb_row.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0;
  }
}

@media (max-width: 980px) {
	li.contact-btn a {
	  padding: 9px 25px !important;
	  display: inline-block !important;
	  margin-top: 15px !important;
	}

	h1, h2, h3, h4, h5, h6 {
		margin-bottom: 15px;
	}

	footer .et_pb_menu__menu {
		display: flex !important;
	}

	footer .et_mobile_nav_menu {
		display: none !important;
	}

	footer * {
		font-size: 12px !important;
	}

	.gform_confirmation_message {
	  font-size: 25px !important;
	}

	.et_pb_column_6_tb_footer .et_pb_menu--style-left_aligned.et_pb_text_align_center .et_pb_menu__wrap {
		justify-content: center !important;
	}

	.img-col {
		display: block !important;
	}

	.banner::before {
	  background-image: linear-gradient(90deg,#001322 0%,rgba(31,54,72,0.5) 100%),url('https://mesagen.wpenginepowered.com/wp-content/uploads/2026/07/mesagen_home_main.jpg') !important;
	}

	.menu-item-has-children a {
		display: none !important;
	}

/*	.menu-item-has-children {
		margin-bottom: 25px;
	}*/

	.menu-item-has-children .sub-menu a {
		pointer-events: auto;
		text-align: center;
		display: inline-block !important;
	}

	.sub-menu, .sub-menu li {
		padding: 0 !important;
		margin: 0 !important;
		background: none !important;
		text-align: center;
	}

	.et_mobile_menu a {
		font-weight: bold;
		display: inline-block;
	}

	.ready-section {
		padding-bottom: 465px !important;
	}


}



@media (min-width: 768px) {

	/* Three columns share three rows: icon / heading / description */
  .et_pb_row.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0;
  }

  .et_pb_row.steps-grid > .step-card {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
  }

  /* Three columns share 4 rows */
  .et_pb_row.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0;
  }

  .et_pb_row.facts-grid > .fact-card {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
  }


  /* Both cards share the same three row tracks */
  .et_pb_row.card-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto 1fr auto; /* heading | text | button */
    column-gap: var(--row-gutter-horizontal, 5.5%); /* same gap Divi uses now */
    row-gap: 20px;
  }

  /* Each card adopts the parent's rows */
  .et_pb_column.card-col {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 20px; /* the one spacing value for heading > text > button */
    width: auto;
  }

  /* Two cards share four rows: description / price / list / button */
  .et_pb_row.price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0;
  }

  .et_pb_row.price-grid > .price-card {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
  }

  /* Header group = rows 1-2, body group = rows 3-4 */
  .price-card > .et_pb_group:first-child,
  .price-card > .et_pb_group:last-child {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
  }

  /* Keeps the list and button left-aligned like they are now */
  .price-card > .et_pb_group:last-child {
    justify-items: start;
  }

  /* Two cards share four rows: title / subhead / description / may support */
  .et_pb_row.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0;
  }

  .et_pb_row.info-grid > .info-card {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
  }
}

@media (max-width: 767px) {
	h1, .h1-styling {
		font-size: 60px;
	}

	h1 span.sub-title {
		font-size: 45px;
	}

	h2, h2 span.sub-title, .h2-styling {
		font-size: 45px;
	}

	h3, h3 span.sub-title, .h3-styling, .h3-styling span.sub-title {
		font-size: 28px;
	}

	h4, h4 span.sub-title, .h4-styling, .h4-styling span.sub-title {
		font-size: 20px;
	}

	h5, h5 span.sub-title,.h5-styling, .h5-styling span.sub-title  {
		font-size: 18px;
	}

	h6, h6 span.sub-title, .h6-styling, .h6-styling span.sub-title  {
		font-size: 16px;
	}

	.main-header {
	  padding: 45px 45px 25px !important;
	}

	.footer-toolbar .et_pb_row_2_tb_footer, .footer-toolbar .et_pb_row_1_tb_footer {
		display: block;
	}

	.ready-section {
		padding-bottom: 505px !important;
	}

	.footer-toolbar .toolbar-right-item, .et_pb_social_media_follow_0_tb_footer.et_pb_module {
		justify-content: center !important;
	}

	#menu-footer li {
		border: none;
	}

	h3.et_pb_toggle_title {
		font-size: 16px;
	}	

	.gform_confirmation_message {
	  font-size: 15px !important;
	}

	.et_pb_row.why-grid {
    grid-template-columns: 1fr;
  }

  .number-cards .et_pb_column::after {
	  clip-path: polygon(0% 0%, 100% 0%, 50% 50%);
	  right: 47%;
	  bottom: -25px;
	  top: auto;
	}

	.number-cards .et_pb_column:nth-child(1)::before {
		background: linear-gradient(215deg,rgba(255, 255, 255, 0.05) 50%, rgba(31, 54, 72, 1) 50%);
	}

	.number-cards .et_pb_column:nth-child(2)::before {
		background: linear-gradient(215deg,rgba(255, 255, 255, 0.05) 50%, rgba(31, 67, 148, 1) 50%);
	}

	.number-cards .et_pb_column:nth-child(3)::before {
		background: linear-gradient(215deg,rgba(255, 255, 255, 0.05) 50%, rgba(240, 240, 240, 1) 50%);
	}

	.et_pb_row.card-grid > .et_pb_column.link-box {
    margin-bottom: 20px;
  }

  .et_pb_row.why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 530px) {
	body, .gform_button, body #page-container .et_pb_section .et_pb_button_module_wrapper a.et_pb_button,
	.gform-theme input[type="email"], .gform-theme input[type="text"], .gform-theme input[type="tel"], .gform-theme textarea, .gform-theme .ginput_container_phone input, 
.gform_button, .gform-theme select,.gform-theme ::placeholder, .gform-theme legend, .gform-theme label {
		font-size: 12px !important;
    	line-height: 1.7em;
	}

	.banner p, body #page-container .banner.et_pb_section .et_pb_button_module_wrapper a.et_pb_button {
		font-size: 16px !important;
	}

	p.h2-styling {
		font-size: 45px !important;
	}

	.footer-menu * {
		font-size: 12px !important;
	}

}
