/*
Theme Name: Theme Settings
Description: A child theme for the Enfold Wordpress Theme. 
Version: 1.0
Author: Armour Creative
Author URI: https://www.armourcreative.com
Template: enfold
*/
/* BODY */
html {
  font-size: 16px;
}
body {
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  font-weight: 300;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
}
.template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 {
  text-transform: none;
}
#top h5 {
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-weight: 300;
}
#top .dark h5 {
  color: #3db2e3;
}

#top .avia_textblock ul {
  list-style: disc !important;
  padding-left: 1.5em !important;
}
#top .avia_textblock li {
  position: static !important;
}
#top .avia_textblock li::before {
  display: none !important;
}
#top .avia_textblock li::marker {
  font-size: 0.6em;
}
.rounded img {
  border-radius: 20px;
}
/* TOP MENU */
#header_meta {
  padding: 5px 0;
    background-color: #000000 !important;
}
.logo img {
  padding: 10px;
}
#top .social_bookmarks a, #top #wrap_all .phone-info a {
  color: #fff;
  font-size: 20px;
  opacity: 1;
}
#top #wrap_all .social_bookmarks li a:focus, #top #wrap_all .social_bookmarks li:hover a, #top #wrap_all .phone-info a:hover {
  color: #fff;
  opacity: .8;
  background: none;
}
#top #wrap_all .phone-info a {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 14px;
  text-transform: uppercase;
  vertical-align: text-bottom;
}
.avia-button {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 300;
}



/* HERO */
.hero {
  position: relative;
  overflow: hidden;
}
.hero__video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero__video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}
#top .hero h1 {
  font-size: 4vw;
	text-transform: uppercase;
}
#top .hero h2 {
  font-size: 2vw;
  font-weight: 300;
  text-transform: none;
}

@media screen and (max-width: 768px) {
  #top .hero h1 {
    font-size: 40px;
	  text-transform: none;
  }
  #top .hero h2 {
    font-size: 20px;
  }
	#top .hero .container {
		height: inherit;
	}
}

/* MISC */

@media screen and (max-width: 768px) {
	#top .flex_column_table.av-equal-height-column-flextable:not(:first-child) {
    	margin-top: 0;
	}
}

/* SERVICE BOX */
#top .service-box {
  background: url('/wp-content/uploads/2025/06/polkadots.png') center center no-repeat;
  background-size: cover;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 200px;
  height: 180px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid transparent;
  margin-top: 15px;
}

#top .service-box:hover {
  transform: translateY(-5px);
  border: 1px solid #fff;
}
#top .service-box img {
  margin-top: 20px;
    height: 95px;
}
#top .service-box .avia_textblock {
  height: 50px;
  width: 100%;
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translate(-50%, -50%);
}
#top .service-box h3 {
  font-size: 14px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
#top .service-box h3::after {
  content: "";
  width: 1em;
  height: 1em;
  background: url(/wp-content/uploads/2025/06/arrow-right-long-white.svg) no-repeat center / contain;
  display: inline-block;
  margin-left: 5px;
  vertical-align: bottom;
}
#top .services-grid .flex_column_table.av-equal-height-column-flextable:not(:first-child) {
  margin-top: 0;
}
#top .services-grid {
	padding-top: 10px;
}
#top .services-grid svg {
	height: 140px;
    width: 140px;
    padding: 20px;
}

#top #wrap_all .three-titles .flex_column{
	margin-bottom: 0;
}

.box.flex_column {
  border: 1px solid #61a5f8;
  border-radius: 15px;
  padding: 30px;
  background: #000000;
}
.box h3 {
  font-weight: 300;
  font-size: 16px;
  background: #821425;
  width: 70%;
  margin: -30px auto 30px;
  padding: 11px 0;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translate(-50%, -50%) !important;
}


@media screen and (max-width:  768px) {
	
	.responsive #top #wrap_all .flex_column.box {
		margin-bottom: 60px;
	}
	.responsive #top #wrap_all .flex_column.box:last-of-type {
		margin-bottom: 0;
	}
	#top .service-box img {
		width: 90px;
		margin: 20px auto;
	}
	#top .services-grid .flex_cell_inner {
		display: flex;
    	column-gap: 20px;
		max-width: 400px !important;
    	margin-bottom: 50px !important;
	}
}

/* CTA */
@media screen and (max-width: 768px) {
	#top .cta .av-section-color-overlay {
		opacity: .5;
		background: #000;
	}
	#top .cta .flex_column {
		display: flex;
		justify-content: center;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: center;
		text-align: center;
	}
}

/* FOOTER */
.footer-logo {
	max-width: 150px;
}
#top #footer-page a {
	text-decoration: none;
}
#footer-page a:hover {
	opacity: .8;
}

/* floating box */

#top .floating-box {
  display: flex;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1000px;
  width: 100%;
  margin-bottom: -75px;
  padding: 10px 10px;  
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  background: #1a2d5c;
  z-index: 10;
}
#top .floating-box .flex_column_table {
	table-layout: fixed;
    width: 100%;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}
#top .floating-box .content {
  padding-top: 20px;
  padding-bottom: 5px;
}
#top .floating-box .container {
  padding-right: 20px;
  padding-left: 20px;
}
.floating-box h2, .floating-box p {
  color: #fff;
}
#top .floating-box .flex_column {
  display: flex;
  align-items: center;
  justify-content: center;
	
}

@media screen and (max-width: 990px) {
	#top .floating-box {
    	width: 90% !important;
	}
	#top .floating-box .flex_column {
		width: 100%;
	}
	#top .floating-box .flex_column_table {
		   display: flex;
			justify-content: center;
			flex-wrap: nowrap;
			flex-direction: column;
		width: 100%;
	}
  #top .floating-box .avia-button a {
    float: none;
  }
  #top .floating-box h2, .floating-box p {
    text-align: center;
  }
}
.social-links img {
	vertical-align: middle;
	max-width: 30px;
	fill: red;
	max-height: 25px;
	margin: 0 5px;
}

/* FOOTER 2026 */
#footer {display: none;} .floating-box h2, .floating-box p {
  color: inherit;
	
}
#top .floating-box {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  background: #fff;
}
.spaceman-footer img {
  min-width: 400px;
  position: absolute;
  top: -110px;
  left: -100px;
} 
.footer-box-content { 
	padding-right: 30px; 
} 
.footer-box-button { 
	margin-bottom: 20px; 
}
@media screen and (max-width: 990px) {
	#top .floating-box {
		margin-bottom: 0;
	}
	.floating-box-content {
		padding-right: 0;
	} 
	.footer-box-button { 
		margin-bottom: 0; 
	} 
	.spaceman-footer img { 
		display: none; 
	}
}





	/* 
	 * SERVICES GRID 
	 */
  #top .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 items per row on mobile */
    gap: 16px;
    padding: 0 12px;
  }
  #top .service-box {
    max-width: 100%;
    width: 100%; /* Ensure full width within the column */
  }
}
@media (max-width: 768px) {
  .trusted-partner-section {
    padding: 20px;
  }
  .trusted-partner-section div {
    text-align: left;
  }
}
@media only screen and (max-width: 767px) {
  .mobile-left-button {
    margin-left: 0 !important;
    margin-right: auto !important;
    display: block !important;
    text-align: left !important;
  }
}
/* 1) Master rule for every service-button */
.service-button p {
position: relative;
    padding-left: 55px;
    color: #276fb7;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Montserrat';
}
.service-button p::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: var(--icon-blue);
  transition: background-image .2s;
}
.service-button:hover p,
.service-button.active p{
  color: #fff;
}

.service-button:hover p::before,
.service-button.active p::before{
  background-image: var(--icon-white);
}

.service-button.cyber {
  --icon-blue:  url('/wp-content/uploads/2025/06/cyber-security-blue.svg');
  --icon-white: url('/wp-content/uploads/2025/06/cyber-security.svg');
}
.service-button.managed {
  --icon-blue:  url('/wp-content/uploads/2025/06/system-administration-blue.svg');
  --icon-white: url('/wp-content/uploads/2025/06/system-administration.svg');
}
.service-button.co-managed {
  --icon-blue:  url('/wp-content/uploads/2025/06/handshake-blue.svg');
  --icon-white: url('/wp-content/uploads/2025/06/handshake.svg');
}
.service-button.cloud {
  --icon-blue:  url('/wp-content/uploads/2025/06/server-blue.svg');
  --icon-white: url('/wp-content/uploads/2025/06/server.svg');
}
.service-button.consulting {
  --icon-blue:  url('/wp-content/uploads/2025/06/consulting-blue.svg');
  --icon-white: url('/wp-content/uploads/2025/06/consulting.svg');
}
.service-button.devops {
  --icon-blue:  url('/wp-content/uploads/2025/06/infinity-blue.svg');
  --icon-white: url('/wp-content/uploads/2025/06/infinity.svg');
}


.flex_cell.service-content-area .service-content {
  display: none;
}
.flex_cell.service-content-area .service-content.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

/* buttons: rely on .active to style them */
.flex_cell.service-list .service-button {
  background:#fff;
  color:#2563eb;
}
.flex_cell.service-list .service-button.active,
.flex_cell.service-list .service-button:hover {
  background:#b91c1c;
  color:#fff;
}

.flex_cell.service-content-area .service-content.cyber { 
  display: block; 
}

.flex_cell.service-list .service-button.cyber {
  /* highlight the default button */
  background-color: #b91c1c;
  color: #fff;
}
.flex_cell.service-list .flex_column.service-button {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #2563eb;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

/* make the icon sit nicely to the left */
.flex_cell.service-list .flex_column.service-button .avia_textblock img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  display: block;
}

/* hover or “active” state */
.flex_cell.service-list .flex_column.service-button:hover,
.flex_cell.service-list .flex_column.service-button.active {
  background-color: #600202;
  color: #fff;
}

/* ensure the <p> text inside your button flexes correctly */
.flex_cell.service-list .flex_column.service-button .avia_textblock p {
  margin: 0;
  flex: 1;
}

/* 3. Right panel: hide all content sections by default */
.flex_cell.service-content-area .flex_column.service-content {
  display: none;
	padding: 30px;
    border: 1px solid #cccccc;
    border-radius: 20px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, .2);
}
.flex_cell.service-list .flex_column,
.flex_cell.service-content-area .flex_column {
	margin-top: 0;
}

/* Optional spacing on the right panel */
.flex_cell.service-content-area {
  padding-left: 2rem;
}


.service-content-area img {
	border-radius: 15px;
    margin-bottom: 15px;
}
/* Simple fade‐in keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media screen and (max-width: 768px) {
	#top .flex_cell.service-list .flex_column {
		margin-bottom: 5px !important;
	}
}

/* Bubbles */
.bubbles .flex_column {
	border: 1px solid #a8a8a8;
    border-radius: 15px;
    box-shadow: 5px 5px;
    padding: 30px;
    width: fit-content;
	background: #fff;
}
.flex_cell.right .flex_cell_inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end; 
  gap: 2rem; 
}
.flex_cell.left .flex_cell_inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  gap: 2rem; 
}

@media screen and (max-width: 768px) {
  .flex_cell.right .flex_cell_inner {
    align-items: center;
  }

  .flex_cell.right .flex_column {
    text-align: center;
    align-items: center;
  }
}

/** Footer Styles **/

.footer-heading {
    font-weight: bold;
    margin-bottom: 20px !important;
	
}
.jf_custom_footer {
	display: none;
}
.jf_custom_footer .footer-contact-main a:hover{
	color: #fff !important;
	 
}


.footer-list {
    list-style: none !important; 
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 10px !important;
}

.footer-list li a {
    text-decoration: none !important; 
    transition: color 0.3s ease !important; 
}

.footer-list li a:hover {
    color: #fff !important; 
}

.footer-heading-careers {
    margin-top: 30px;
}


ul.footer-list li {
    padding-bottom: 10px;
}

.jf_custom_footer{ padding: 60px 0px !important;}


/* HOME SPACEMAN */

#top .spaceman-hero h1,
#top .spaceman-hero h2 {
    text-shadow: #000000 1px 0 10px;
    text-transform: uppercase;
}
#top .spaceman-hero h1 {
    font-weight: 500;
    font-size: 65px;
}
#top .spaceman-hero h2 {
    font-size: 21px;
    max-width: 600px;
    font-weight: 300;
    margin: 30px auto 40px;
}
#top .spaceman-hero .avia-button-wrap {
display: flex;
}
#top .spaceman {
	min-width: 520px;
}
#jf-awards {
   padding: 50px 0 30px;
}
#top .spaceman.mobile {
	display: none;
}
#top .spaceman.browser { 
	display: block;
}
#top .hero-button-row a {
    box-shadow: 3.5px 3.5px 0px 0px #111111;
    transition: all 0.4s ease-in-out;
}
@media screen and (max-width: 1100px) {
	#top .spaceman-hero h1 {
		font-size: 55px;
	}
}
@media screen and (max-width: 989px) {
	#top .spaceman-hero h1 {
		font-size: 45px;
	}
	#top .spaceman {
		min-width: inherit;
	}
	#top .spaceman.mobile {
		display: block;
		position: relative;
		margin-bottom: -70px;
		max-width: 300px;
	}
	#top .spaceman.browser { 
		display: none;
	}
	#jf-awards {
		padding: 20px 0 0;
		margin-bottom: -45px;
	}
}
