@charset "UTF-8";

body {
	height: 100%;
  width: 100%;
  margin:0; 
	padding: 0;
	color: #6D6D6D;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 26px;
	font-weight: 300;
	background-color: #fafafa;
	/**background-image: url(../images/intersect.svg);
	background-position: right top;
	background-repeat: no-repeat;
	background-size: 50%;**/
}

h1, h2, h3, h4 {
	font-family: "Poppins", century gothic, arial, serif;
	color: #182F7B;
	margin-top: 2%;
	margin-bottom: 2%;
	/*border-bottom-color: #c2493b; border-bottom-width: 4px; border-bottom-style: solid;*/
}
h1 {
	font-size: 42px;
	line-height: 50px;

}
h2 {
	/*font-family: "Covered By Your Grace", "Poppins", arial, serif;*/
	font-size: 36px;
	line-height: 40px;
}
h3 {
	font-size: 26px;
	line-height: 30px;
	font-weight: bold;
}
h4 {
	font-size: 22px;

}
ul {
	font-size: 16px;
	line-height: 24px;
}
a {
	text-decoration: none;
	color: #E02D15;
	cursor: pointer;
}
.large  {
	font-size: 2em;
	line-height: 2em;
}
.reversed {
	color: #fff;	
}
.reversed a {
	text-decoration: underline;
	color: #E02D15;	
}

.btn {
      display: inline-block;
      background-color: #E02D15;
      color: #fff;
      padding: 8px 16px;
      border-radius: 75px;
      font-size: 20px;
      font-weight: 400;
      margin: 4px;
      cursor: pointer;
 }

.headline {
	margin-bottom: 2.5%;
}
	
	
.icons {
	width: 40%; 
	padding-bottom: 8%;
}
	

.tag {
      display: inline-block;
      background-color: #DEEEFF;
      color: #182F7B;
      padding: 4px 14px;
      border-radius: 50px;
      font-size: 12px;
      font-weight: bold;
      margin: 4px;
      font-family: sans-serif;
    }

header {
	width: 1024px;
	/*background-color: red;*/
	margin: 0 auto;
	padding-left: 2%;
	padding-right: 2%;
	padding-top: .25%;
	padding-bottom: .25%;
	font-size: 14px; 
	line-height: 8px;
}

.label {
	font-weight: bold;
	color: #182F7B;
}

.quote {
	font-size: 26px;
	line-height: 34px;
	font-style: italic;
	color: #555;
	font-weight: lighter;
}

footer {
	width: 1024px;
	/*background-color: blue;*/
	margin: 0 auto;
	padding-left: 2%;
	padding-right: 2%;
	padding-top: 1.5%;
	padding-bottom: 1.5%;
}

section {
	width: 1024px;
	margin: 0 auto;
	padding-left: 2%;
	padding-right: 2%;
	padding-top: 2%;
	padding-bottom: 3%;

}
.fullscreen {
	width: 100%;
	background-color: #f1f1f1;
}
.two-thirds {
	width: 700px;
	margin: 0 auto;
}

.align-right  {
	text-align: right;
}
.align-center  {
	text-align: center;
}
.no-margin {
	margin-top: 3%;
	margin-bottom: 1%;
}
.extra-padding {
	padding-top: 6%;
	padding-bottom: 6%;
}
.grid-full {
	width: 96%;
	background-color: #f1f1f1;
	padding-left: 2%;
	padding-right: 2%;
	overflow: hidden;
}

.grid-one {
  display: grid;
  grid-template-columns: 1fr; /* 21 columns */
  gap: 4%;
  overflow: hidden;
}
.grid-one > div {
  /*background-color: lightgray;*/
  padding: 0%;
  box-sizing: border-box;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns */
  gap: 4%;
  overflow: hidden;
}
.grid-two > div {
  /*background-color: lightgray;*/
  padding: 0%;
  box-sizing: border-box;
}

.left-right {
	  grid-template-areas: "text image";
}
.right-left {
	  grid-template-areas: "image text";
}
.image {
  grid-area: image;
}

.text {
  grid-area: text;
}

.grid-two-footer {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns */
  gap: 4%;
  overflow: hidden;
}
.grid-two-footer > div {
  /*background-color: lightgray;*/
  padding: 0%;
  box-sizing: border-box;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 4%; /* applies both column and row gaps */
  overflow: hidden;
}

.grid-three > div {
  /*background-color: lightblue;*/
  padding: 0%;
  box-sizing: border-box;
}
.grid-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4%;
  overflow: hidden;

}
.grid-four > div {
  /*background-color: lightcoral;*/
  padding: 0%;
  box-sizing: border-box;

}
.grid-four-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2%;
  overflow: hidden;

}
.grid-four-numbers > div {
  padding-top: 2%;
  padding-left: 10%;
  padding-right: 2%;
  padding-bottom: 0%;
  box-sizing: border-box;
  background-image: url(../images/left-divider.jpg); 
	background-repeat: no-repeat;

}
.grid-25-25-50 {
  display: grid;
  grid-template-columns: 22% 22% 48%;
  gap: 4%; /* optional spacing */
  overflow: hidden;
}
.grid-25-25-50 > div {
  /*background-color: lightgray;*/
  padding: 0%;
  box-sizing: border-box;
}


.portfolio-item {
  cursor: pointer;
  text-align: center;
}

.thumbnail {
  cursor: pointer;
}
#modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#modalImage {
  max-width: 60vw !important;
  max-height: 60vh !important;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  justify-content: center;
  align-items: center;
  touch-action: pan-y;
}

.stats {
	padding-top: 3%; padding-bottom: 0%;
}

.modal-content {
		background-color: white;

  max-width: 60vw;
  max-height: 60vh;
  object-fit: contain;
}
.modal-caption {
  color: white;
  text-align: center;
  font-size: 1rem;
  max-width: 60vw;
  user-select: none;
  font-size: 20px;
  line-height: 24px;
  background-color: black;
  padding-top: 2%;
  margin-top: -1%;
  padding-bottom: 2%;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  padding: 16px;
  user-select: none;
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}


}
.bg-blacktrans {
	background: rgba(0,0,0,0.75);
}
.bg-black {
	background: #000;
}
.bg-gray {
	background-color: #262626;
}
.bg-lgray {
	background-color: #f1f1f1;
}
.bg-blue {
		background-color: #041B67;
}
.bg-tan {
		background-color: #FFEFDC;
}
.bg-gold {
	background-color: #c7b480;
}
.bg-lblue {
	background-color: #366d8f;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.modal-content {
  max-width: 90%;
  max-height: 80vh;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  color: white;
  font-size: 2rem;
  padding: 16px;
  user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}





@media screen and (max-width: 1024px) {

header{
	width: 92%;
	padding-left: 4%;
	padding-right: 4%;
	}
section {
	width: 92%;
	padding-left: 4%;
	padding-right: 4%;
	}
footer{
	width: 92%;
	padding-left: 4%;
	padding-right: 4%;
	}

.fullscreen {
	width: 92%;
}

}



@media screen and (max-width: 800px) {

	section {
		padding-top: 2%;
	}

	footer {
		padding-top: 4%;
		padding-bottom: 4%;
	}

h1 {
	font-size: 30px;
	line-height: 40px;
}

	.grid-two {
    grid-template-columns: 1fr; /* Stack on mobile */
    row-gap: .75rem; /* vertical space between stacked items */
    grid-template-areas:
      "image"
      "text";
  }

	.grid-three {
    grid-template-columns: 1fr; /* Stack on mobile */
    row-gap: .75rem; /* vertical space between stacked items */
  }

.grid-four {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    row-gap: .75rem; /* vertical space between stacked items */
  }

  .grid-four-numbers {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    row-gap: .75rem; /* vertical space between stacked items */


  }
  .grid-four-numbers > div {
  	background-image: none;

  }

.two-thirds {
	width: 92%;
}

.stats {
	padding-top: 12%; padding-bottom: 6%;
}
.icons {
	width: 20%; 
	padding-top: 4%;
		padding-bottom: 2%;
}

}

@media screen and (max-width: 500px) {



 /* .grid-four {
    grid-template-columns: 1fr; /* Single column */
    row-gap: .75rem; /* vertical space between stacked items */
  }*/


}