@charset "UTF-8";

/* ---------------------------
   No-Wrap Header
---------------------------- */
#sp-vr1ra2.header-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  flex-direction: row !important;
}

#sp-vr1ra2.header-row > figure.sp-sitelogo-wrapper,
#sp-vr1ra2.header-row > .sp-nav {
  flex: 1 1 0 !important;      
  width: 100% !important;      
  white-space: normal !important;
}

#sp-vr1ra2.header-row .sub-menu {
  background-image: url('/wp-content/uploads/2025/06/wood-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  padding: 20px;
  min-width: 200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#sp-vr1ra2.header-row .sub-menu a {
  color: #fff !important;
}

/* ---------------------------
   Image Styling
---------------------------- */
.category-loop img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 2em 0;
}

.project-gallery a {
    display: block;
    aspect-ratio: 3 / 4; 
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.project-gallery a:hover {
    transform: scale(1.02);
}

.project-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; /* Rounded corners handled by container */
    display: block;
}

/* ---------------------------
   Video Background Position
---------------------------- */

@media only screen and (max-width: 768px) {
  .vidbg-container video, .vidbg-container img {
    /* scale to always cover the container */
    object-fit: cover !important;  
    object-position: 90% 100% !important;      
    /* ensure full-container sizing */
    width: 100% !important;
    height: 100% !important;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1440px) {
  .vidbg-container video, .vidbg-container img {
    /* scale to always cover the container */
    object-fit: cover !important;  
    /* shift the visible area: left, top */
    object-position: 100% 100% !important;      
    /* ensure full-container sizing */
    width: 100% !important;
    height: 100% !important;
  }
	#sp-j327em437fsu {
		height: 500px !important;
	}
	
}

/* ---------------------------
   Testimonials
---------------------------- */
.wpmtst-testimonial-content .wpmtst-testimonial-heading {
  margin-bottom: 1rem !important;
}

.testimonial-name {
  margin-top: 1rem !important;
  font-weight: bold;
	font-size: 1.5em;
}

p.testimonial-intro {
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
  font-size: 1.2em;
}

/* ---------------------------
   Neomorphic Cards & Boxes
---------------------------- */
.neobox,
.neomorphic-card {
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease-in-out;
}

/* Shared hover effect */
.neobox:hover,
.neomorphic-card:hover {
  transform: translateY(-2px);
}

/* .neobox styles */
.neobox {
  background-color: #1C3B72;
  color: #FFFFFF;
  box-shadow: 5px 5px 15px #162F58, -5px -5px 15px #28518A;
  margin: 10px;
}

.neobox:hover {
  box-shadow: inset 5px 5px 15px #d1d1d1, inset -5px -5px 15px #ffffff;
}

/* .neomorphic-card styles */
.neomorphic-card {
  background: #e0e0e0;
  box-shadow: 8px 8px 15px #a3a3a3, -8px -8px 15px #ffffff;
  margin: 20px;
  text-align: center;
}

.neomorphic-card:hover {
  box-shadow: inset 8px 8px 15px #a3a3a3, inset -8px -8px 15px #ffffff;
}

/* ---------------------------
   Gravity Forms
---------------------------- */
.gform_description {
  margin-top: 20px;
}

.gform_button {
  padding: 10px;
}

.gform_wrapper .gform_body .gform_fields .gfield {
  margin-bottom: 30px;
}

/* ---------------------------
   Buttons
---------------------------- 
.sp-posts-block-read-more a,
.sidebar-list li {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  background-color: #0062cc;
  text-align: center;
  color: #fff !important;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
} 

.sidebar-list li:hover {
  background-color: #B22222;
}

.sp-posts-block-read-more a:hover {
  background-color: #8AB0A4;
} */

#gform_submit_button_1 {
	border-width: 2px;
	border-color: #000;
	border-radius: 5px;
	font-size: 20px; 
	padding: 10px 20px;
}

.white-button {
	color: #fff;
}

.link-button a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #113450;
  color: #fff;
  text-decoration: none;
  margin: 30px 0;
}

/* ---------------------------
   Services Cards
---------------------------- */

.service-card .sp-taxonomy-badge-link, .service-card .sp-container-badge.sp-posts-text.sp-py-2 { display: none !important;}

/* ---------------------------
   Article / Typography
---------------------------- */
.post-content ol li,
.post-content ul li {
  margin-top: 20px;
}

.post-content p strong {
  margin-top: 40px;
  margin-bottom: 20px;
}

.post-content p {
  margin: 1em 0 !important;
}

.post-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.post-content h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.text-justify,
.neobox-text p {
  text-align: justify;
}

.small-text {
  font-size: 12px;
}

.quote {
  position: relative;
  background: #70988A;
  color: #fff;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  max-width: calc(100% - 200px);
  margin: 0 auto;
}

.quote::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: #70988A transparent transparent transparent;
}

/* ---------------------------
   Alignment Helpers
---------------------------- */
.alignleft {
  float: left;
  padding-right: 20px;
  padding-bottom: 20px;
}

.alignright {
  float: right;
  padding-left: 20px;
  padding-bottom: 20px;
}

.aligncenter,
img.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.clearfix::after {
  content: " ";
  display: block;
  clear: both;
  visibility: hidden;
  font-size: 0;
  height: 0;
}

.nopad {padding:0 !important;}

/* ---------------------------
   WP Core Buttons
---------------------------- */
.wp-element-button {
  padding: 15px;
  border-radius: 10px;
}

/* ---------------------------
   Responsive Layouts
---------------------------- */
@media only screen and (orientation: portrait) {
  .mediarow,
  .mediarow-reverse {
    display: flex;
    flex-wrap: wrap;
  }

  .mediarow-reverse {
    flex-wrap: wrap-reverse;
  }

  .mediacol {
    width: 100% !important;
  }

}

@media screen and (max-width: 767px) {
  .gc-wrapless {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .cta-bar h3 {
    font-size: 18px !important;
  }
	
	.fp-buttons {
		justify-content: center !important;
	}
}