/*
   TOC:
   a. General Styles
   b. Header Styles
   c. About Section
   d. Resume Section
   e. Portfolio Section
   f. Call To Action Section
   g. Testimonials Section
   h. Contact Section
   i. Footer

===================================================================== */

/* ------------------------------------------------------------------ */
/* a. General Styles
/* ------------------------------------------------------------------ */

body { background: #0f0f0f; }

/* ------------------------------------------------------------------ */
/* b. Header Styles
/* ------------------------------------------------------------------ */

header {
   position: relative;
   height: 800px;
   min-height: 500px;
   width: 100%;
   background: #161415 url(../images/diak/bg.jpg) no-repeat top center;
   background-size: cover !important;
	-webkit-background-size: cover !important;
   text-align: center;
   overflow: hidden;
}

/* vertically center banner section */
header:before {
   content: '';
   display: inline-block;
   vertical-align: middle;
   height: 100%;
}
header .banner {
   display: inline-block;
   vertical-align: middle;
   margin: 0 auto;
   width: 85%;
   padding-bottom: 30px;
   text-align: center;
}

header .banner-text { width: 100%; }
header .banner-text h1 {
   font: 90px/1.1em 'opensans-bold', sans-serif;
   color: #fff;
   letter-spacing: -2px;
   margin: 0 auto 18px auto;
   text-shadow: 0px 1px 3px rgba(0, 0, 0, .8);
}
header .banner-text h3 {
   font: 18px/1.9em 'librebaskerville-regular', serif;
   color: #A8A8A8;
   margin: 0 auto;
   width: 70%;
   text-shadow: 0px 1px 2px rgba(0, 0, 0, .5);
}
header .banner-text h3 span,
header .banner-text h3 a {
   color: #fff;
}
header .banner-text hr {
   width: 60%;
   margin: 18px auto 24px auto;
   border-color: #2F2D2E;
   border-color: rgba(150, 150, 150, .1);
}

/* header social links */
header .social {
   margin: 24px 0;
   padding: 0;
   font-size: 30px;
   text-shadow: 0px 1px 2px rgba(0, 0, 0, .8);
}
header .social li {
   display: inline-block;
   margin: 0 15px;
   padding: 0;
}
header .social li a { color: #fff; }
header .social li a:hover { color: #11ABB0; }

/* scrolldown link */
header .scrolldown a {
   position: absolute;
   bottom: 30px;
   left: 50%;
   margin-left: -29px;
   color: #fff;
   display: block;
   height: 42px;
   width: 42px;
   font-size: 42px;
   line-height: 42px;
   color: #fff;
   border-radius: 100%;

   -webkit-transition: all .3s ease-in-out;
   -moz-transition: all .3s ease-in-out;
   -o-transition: all .3s ease-in-out;
   transition: all .3s ease-in-out;
}
header .scrolldown a:hover { color: #11ABB0; }

/* primary navigation
--------------------------------------------------------------------- */
#nav-wrap ul, #nav-wrap li, #nav-wrap a {
	 margin: 0;
	 padding: 0;
	 border: none;
	 outline: none;
}

/* nav-wrap */
#nav-wrap {
   font: 12px 'opensans-bold', sans-serif;
   width: 100%;
   text-transform: uppercase;
   letter-spacing: 2.5px;
   margin: 0 auto;
   z-index: 100;
   position: fixed;
   left: 0;
   top: 0;
}
.opaque { background-color: #333; }

/* hide toggle button */
#nav-wrap > a.mobile-btn { display: none; }

ul#nav {
   min-height: 48px;
   width: auto;

   /* center align the menu */
   text-align: center;
}
ul#nav li {
   position: relative;
   list-style: none;
   height: 48px;
   display: inline-block;
}

/* Links */
ul#nav li a {

/* 8px padding top + 8px padding bottom + 32px line-height = 48px */

   display: inline-block;
   padding: 8px 13px;
   line-height: 32px;
	text-decoration: none;
   text-align: left;
   color: #fff;

	-webkit-transition: color .2s ease-in-out;
	-moz-transition: color .2s ease-in-out;
	-o-transition: color .2s ease-in-out;
	-ms-transition: color .2s ease-in-out;
	transition: color .2s ease-in-out;
}

ul#nav li a:active { background-color: transparent !important; }
ul#nav li.current a { color: #F06000; }


/* ------------------------------------------------------------------ */
/* c. About Section
/* ------------------------------------------------------------------ */

/* About Section */
#about {
   background: #2B2B2B;
   padding: 90px 0 100px;
   overflow: hidden;
}

#about .section-title {
   font: 32px/40px 'opensans-bold', sans-serif;
   color: #fff;
   text-align: center;
   margin-bottom: 60px;
   text-transform: uppercase;
   letter-spacing: 2px;
}

#about .about-content {
   margin-top: 0;
}

#about .profile-pic {
   width: 100%;
   height: auto;
   border-radius: 8px;
   box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
   object-fit: cover;
   max-height: 550px;
}

#about .main-col {
   padding-left: 40px;
}

#about .about-intro {
   margin-bottom: 50px;
   padding-bottom: 30px;
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#about .about-intro h3 {
   font: 28px/36px 'opensans-bold', sans-serif;
   color: #11ABB0;
   margin-bottom: 20px;
}

#about .lead {
   font-size: 18px;
   line-height: 32px;
   color: #fff;
   margin-bottom: 20px;
   font-weight: 400;
}

#about p {
   line-height: 28px;
   color: #c9c9c9;
   font-size: 16px;
   margin-bottom: 20px;
}

#about .value-item {
   margin-bottom: 35px;
}

#about .value-item h4 {
   font: 18px/26px 'opensans-semibold', sans-serif;
   color: #11ABB0;
   margin-bottom: 12px;
   text-transform: uppercase;
   letter-spacing: 1px;
}

#about .value-item p {
   margin-bottom: 15px;
}

#about a, #about a:visited {
   color: #11ABB0;
   text-decoration: none;
}

#about a:hover, #about a:focus {
   color: #0E8388;
}

/* Responsive */
@media only screen and (max-width: 900px) {
   #about .four.columns {
      width: 100%;
      margin-bottom: 40px;
   }
   
   #about .eight.columns {
      width: 100%;
      padding-left: 0;
   }
   
   #about .main-col {
      padding-left: 0;
   }
}

.pj-columns {
  width:30%;
}
/* ------------------------------------------------------------------ */
/* d. services Section
/* ------------------------------------------------------------------ */

#services {
   background: #fff;
   padding-top: 90px;
   padding-bottom: 72px;
   overflow: hidden;
}

#services a, #services a:visited  { color: #11ABB0; }
#services a:hover, #services a:focus { color: #313131; }

#services .nine.columns.main-col{
  width: 100%;
  float: none;
  margin: 0;
  padding: 0;                 /* removes template spacing */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* gap: -10px;          */
  align-items: start;
}

#services h1 {
   font: 18px/24px 'opensans-bold', sans-serif;
   text-transform: uppercase;
   letter-spacing: 1px;
   text-align: center;    
   margin-bottom: 48px;   

}

#services h1 span {
   border-bottom: 3px solid #11ABB0;
   padding-bottom: 6px;
}

#services h3 {
   font: 25px/30px 'opensans-bold', sans-serif;
   text-align: center;
}

#services .header-col { padding-top: 9px; }

/* .education, .work {
   margin-bottom: 48px;
   padding-bottom: 24px;
   border-bottom: 1px solid #E8E8E8;
} */

#services .row.item {
   margin: 10px 0 14px;
}

#services > .row{
  max-width: 1200px;     /* adjust: 1100–1400 */
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

#services .twelve.columns.collapsed{
  float: none;
  width: 100%;
  margin: 0;
  text-align: center;
}

#services .service-icon{
  width: 175px;              /* adjust size */
  height: 175px;             /* keep equal for perfect circle */
  border-radius: 50%;
  object-fit: cover;         /* crops square nicely if needed */
  border: 6px solid #000;    /* <-- adjust thickness here */
  display: block;
  margin: 0 auto 18px auto;  /* centered + space under image */
}


#services .info {
   font: 16px/24px 'librebaskerville-italic', serif;
   color: #6E7881;
   margin-bottom: 18px;
   margin-top: 9px;
}
#services .info span {
   margin-right: 5px;
   margin-left: 5px;
}
#services .date {
   font: 15px/24px 'opensans-regular', sans-serif;
   margin-top: 6px;
}

/* NEW — styled bullet list */
.diak-list{
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 18px;
}

#services .diak-list{
  width: fit-content;
  margin: 0 auto;
  text-align: left;
  padding-left: 0;
}

#services .diak-list li{
  margin-bottom: 8px;
}

#services .row.item .twelve.columns{
  text-align: center;
}

.diak-list li{
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* custom bullet */
.diak-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #11ABB0; /* brand color */
  border-radius: 50%;
}

/* NEW — services bottom image */
.services-bottom-image{
   margin-top: 60px;
   text-align: center;
}

.services-bottom-image img{
   max-width: 50%;
   width: 100%;
   height: auto;
   display: inline-block;
}


/* NEW: responsive columns */
@media (max-width: 900px) {
   #services .nine.columns.main-col {
      grid-template-columns: repeat(2, minmax(0, 1fr));
   }
}

@media (max-width: 600px) {
   #services .nine.columns.main-col {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 600px){
  #services .service-icon,
  #services .row.item img:first-child{
    width: 110px;
    height: 110px;
    border-width: 5px;       /* tweak if you want */
  }
}

/*----------------------------------------------*/
/*	Skill Bars
/*----------------------------------------------*/

.bars {
	width: 95%;
	float: left;
	padding: 0;
	text-align: left;
}
.bars .skills {
  	margin-top: 36px;
   list-style: none;
}
.bars li {
   position: relative;
  	margin-bottom: 60px;
  	background: #ccc;
  	height: 42px;
  	border-radius: 3px;
}
.bars li em {
	font: 15px 'opensans-bold', sans-serif;
   color: #313131;
	text-transform: uppercase;
   letter-spacing: 2px;
	font-weight: normal;
   position: relative;
	top: -36px;
}
.bar-expand {
   position: absolute;
   left: 0;
   top: 0;

   margin: 0;
   padding-right: 24px;
  	background: #313131;
   display: inline-block;
  	height: 42px;
   line-height: 42px;
   border-radius: 3px 0 0 3px;
}

.photoshop {
  	width: 60%;
  	-moz-animation: photoshop 2s ease;
  	-webkit-animation: photoshop 2s ease;
}
.illustrator {
  	width: 55%;
  	-moz-animation: illustrator 2s ease;
  	-webkit-animation: illustrator 2s ease;
}
.wordpress {
  	width: 50%;
  	-moz-animation: wordpress 2s ease;
  	-webkit-animation: wordpress 2s ease;
}
.css {
  	width: 90%;
  	-moz-animation: css 2s ease;
  	-webkit-animation: css 2s ease;
}
.html5 {
  	width: 80%;
  	-moz-animation: html5 2s ease;
  	-webkit-animation: html5 2s ease;
}
.jquery {
  	width: 50%;
  	-moz-animation: jquery 2s ease;
  	-webkit-animation: jquery 2s ease;
}

@-moz-keyframes photoshop {
  0%   { width: 0px;  }
  100% { width: 60%;  }
}
@-moz-keyframes illustrator {
  0%   { width: 0px;  }
  100% { width: 55%;  }
}
@-moz-keyframes wordpress {
  0%   { width: 0px;  }
  100% { width: 50%;  }
}
@-moz-keyframes css {
  0%   { width: 0px;  }
  100% { width: 90%;  }
}
@-moz-keyframes html5 {
  0%   { width: 0px;  }
  100% { width: 80%;  }
}
@-moz-keyframes jquery {
  0%   { width: 0px;  }
  100% { width: 50%;  }
}

@-webkit-keyframes photoshop {
  0%   { width: 0px;  }
  100% { width: 60%;  }
}
@-webkit-keyframes illustrator {
  0%   { width: 0px;  }
  100% { width: 55%;  }
}
@-webkit-keyframes wordpress {
  0%   { width: 0px;  }
  100% { width: 50%;  }
}
@-webkit-keyframes css {
  0%   { width: 0px;  }
  100% { width: 90%;  }
}
@-webkit-keyframes html5 {
  0%   { width: 0px;  }
  100% { width: 80%;  }
}
@-webkit-keyframes jquery {
  0%   { width: 0px;  }
  100% { width: 50%;  }
}

/* ------------------------------------------------------------------ */
/* e. PEOPLE Section
/* ------------------------------------------------------------------ */

#people {
   background: #ffffff;
   padding-top: 90px;
   padding-bottom: 60px;
}
#people h1 {
   font: 18px/24px 'opensans-bold', sans-serif;
   text-transform: uppercase;
   letter-spacing: 1px;
   text-align: center;    
   margin-bottom: 48px;   
}

#people h1 span {
   border-bottom: 3px solid #11ABB0;
   padding-bottom: 6px;
}


/* people Content */
#people-wrapper .columns { margin-bottom: 36px; }
.people-item .item-wrap {
   background: #fff;
   overflow: hidden;
   position: relative;

   -webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.people-item .item-wrap a {
   display: block;
   cursor: pointer;
}

/* overlay */
.people-item .item-wrap .overlay {
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;

	opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);

   -webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;

   background: url(../images/overlay-bg.png) repeat;
}
.people-item .item-wrap .link-icon {
   display: block;
   color: #fff;
   height: 30px;
   width: 30px;
   font-size: 18px;
   line-height: 30px;
   text-align: center;

   opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);

   -webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;

   position: absolute;
   top: 50%;
   left: 50%;
   margin-left: -15px;
   margin-top: -15px;
}
.people-item .item-wrap img {
   vertical-align: bottom;
}
.people-item .people-item-meta { padding: 18px }
.people-item .people-item-meta h5 {
   font: 14px/21px 'opensans-bold', sans-serif;
   color: #fff;
}
.people-item .people-item-meta p {
   font: 12px/18px 'opensans-light', sans-serif;
   color: #c6c7c7;
   margin-bottom: 0;
}

/* on hover */
.people-item:hover .overlay {
	opacity: 1;
	-moz-opacity: 1;
	filter:alpha(opacity=100);
}
.people-item:hover .link-icon {
   opacity: 1;
	-moz-opacity: 1;
	filter:alpha(opacity=100);
}


/* ================================
   DIAK PROJECT GRID (unique)
================================ */

/* Grid layout for DIAK only (ignores template .columns math) */
#gallery > .row{
  max-width: 1600px;          /* bump this up to give room */
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;         /* keep breathing room */
  padding-right: 20px;
  box-sizing: border-box;
}

#gallery h1 {
   font: 18px/24px 'opensans-bold', sans-serif;
   text-transform: uppercase;
   letter-spacing: 1px;
   text-align: center;    
   margin-bottom: 48px;   

}

#gallery h1 span {
   border-bottom: 3px solid #11ABB0;
   padding-bottom: 6px;
}


#gallery #diak-project-grid::before,
#gallery #diak-project-grid::after{
  content: none !important;
  display: none !important;
}

#gallery #diak-project-grid{
  display: grid;
  gap: 24px;
  margin-top: 24px;

  grid-template-columns: repeat(3, minmax(0, 1fr)); /* <-- GUARANTEED 4 */
  justify-content: center;

  /* IMPORTANT: don't cap it smaller than the row */
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;

  /* avoid grid overflow weirdness */
  box-sizing: border-box;
}
/* Override the template's .columns ONLY inside our DIAK grid */
#gallery #diak-project-grid > .columns.diak-project-card{
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;               /* critical for grid shrink */
}


/* Your original spacing rule, adapted for grid */
.diak-project-grid .diak-project-card{
  margin-bottom: 0; /* grid gap handles spacing */
}

.diak-project-card__wrap{
  background: #fff;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.diak-project-card__link{
  display: block;
  cursor: pointer;
  position: relative;
}

.diak-project-card__img{
  width: 100%;
  aspect-ratio: 4 / 3;        /* change to 16/9, 1/1, 3/2, etc */
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}


/* overlay */
.diak-project-card__overlay{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  background: url(../images/overlay-bg.png) repeat;
}

.diak-project-card__meta{ padding: 18px;}

.diak-project-card__meta h5{
  font: 14px/21px 'opensans-bold', sans-serif;
  color: #fff;
  margin: 0 0 4px;
}

.diak-project-card__meta p{
  font: 18px/24px 'opensans-light', sans-serif;
  color: #c6c7c7;
  margin: 0;
}

.diak-project-card__icon{
  display: block;
  color: #fff;
  height: 30px;
  width: 30px;
  font-size: 18px;
  line-height: 30px;
  text-align: center;

  opacity: 0;
  transition: opacity 0.3s ease-in-out;

  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15px;
  margin-top: -15px;
}

/* hover */
.diak-project-card:hover .diak-project-card__overlay{ opacity: 1; }
.diak-project-card:hover .diak-project-card__icon{ opacity: 1; }
.diak-project-card:hover .diak-project-card__img{ transform: scale(1.03); }

/* Responsive grid */
@media (max-width: 900px){
  #gallery #diak-project-grid.diak-project-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 600px){
  #gallery #diak-project-grid.diak-project-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* ================================
   DIAK PROJECT MODAL (stacked + scroll)
================================ */

/* IMPORTANT: prevent background page scroll while Magnific Popup is open.
   Magnific adds these classes automatically. */
html.mfp-ready,
body.mfp-ready{
  overflow: hidden !important;
  height: 100%;
}

/* keep centered helper (your current approach) */
.mfp-wrap .mfp-container{
  text-align: center;
}
.mfp-wrap .mfp-container:before{
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.mfp-wrap .mfp-content{
  text-align: left;
}
.mfp-wrap .mfp-content .diak-project-modal{
  display: inline-block;
  vertical-align: middle;
}

/* Modal shell becomes the scroll container */
.diak-project-modal{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: 92vw;
  max-width: 85%;
  max-height: 90vh;

  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  /* prevents scroll chaining to background on supported browsers */
  overscroll-behavior: contain;

  z-index: 9999;
}

/* Stack layout (image top, content bottom) */
.diak-project-modal__row{
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: none;
}

/* Top media area */
.diak-project-modal__media{
  width: 100%;
  background: #111;
}
.diak-project-modal__media img{
  width: 100%;
  height: auto;          /* lets image keep aspect ratio */
  display: block;
}

/* Body below image */
.diak-project-modal__body{
  width: 100%;
  padding: 34px 44px;
  border-left: none;
  border-top: 1px solid rgba(0,0,0,.08);
  box-sizing: border-box;
  overflow: visible;
}

/* Footer stays reachable */
.diak-project-modal__footer{
  padding: 16px 44px 18px;
  background: #0e0e0e;
  text-align: right;

  position: sticky;
  bottom: 0;
}
.diak-project-modal__close{
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font: 600 12px/1 'opensans-regular', sans-serif;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.35);
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-block;
}

/* Mobile padding tweaks */
@media (max-width: 900px){
  .diak-project-modal{
    width: 94vw;
    max-width: 94vw;
    max-height: 92vh;
  }
  .diak-project-modal__body{
    padding: 24px 22px;
  }
  .diak-project-modal__footer{
    padding: 14px 22px;
  }
}


/* ================================
   DIAK PROJECT META – TYPOGRAPHY
================================ */

.diak-project-modal__title{
  margin: 0 0 8px;
  font: 700 30px/1.15 'opensans-bold', sans-serif;
  color: #111;
}

.diak-project-modal__subtitle{
  margin: 0 0 18px;
  font-family: 'opensans-regular', sans-serif;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #6a6a6a;
}

/* Overall meta block */
.diak-project-modal__meta{
  display: grid;
  gap: 16px;
  margin: 0 0 24px;

  font-family: 'opensans-regular', sans-serif;
  color: #222;
}

/* Each row value text */
.diak-project-modal__meta > div{
  font-size: 24px;
  line-height: 1.65;
}

/* Labels */
.diak-project-modal__meta span{
  display: block;
  margin-bottom: 6px;

  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #666;
}

/* Long description row */
.diak-project-modal__meta > div:last-child{
  font-size: 24px;
  line-height: 1.75;
  /* max-width: 100ch; */
  color: #333;
}

/* Divider between fact rows and description (second-to-last item) */
.diak-project-modal__meta > div:nth-last-child(2){
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}



/* ------------------------------------------------------------------ */
/* e. Gallery Section
/* ------------------------------------------------------------------ */

#gallery {
   background: #ebeeee;
   padding-top: 90px;
   padding-bottom: 60px;
}
#gallery h1 {
   font: 20px/34px 'opensans-semibold', sans-serif;
   text-transform: uppercase;
   letter-spacing: 1px;
   text-align: center;
   margin-bottom: 48px;
   color: #000000;
}

/* people Content */
#gallery-wrapper .columns { margin-bottom: 36px; }
.gallery-item .item-wrap {
   background: #fff;
   overflow: hidden;
   position: relative;

   -webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.gallery-item .item-wrap a {
   display: block;
   cursor: pointer;
}

/* overlay */
.gallery-item .item-wrap .overlay {
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;

	opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);

   -webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;

   background: url(../images/overlay-bg.png) repeat;
}
.gallery-item .item-wrap .link-icon {
   display: block;
   color: #fff;
   height: 30px;
   width: 30px;
   font-size: 18px;
   line-height: 30px;
   text-align: center;

   opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);

   -webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;

   position: absolute;
   top: 50%;
   left: 50%;
   margin-left: -15px;
   margin-top: -15px;
}
.gallery-item .item-wrap img {
   vertical-align: bottom;
}
.gallery-item .gallery-item-meta { padding: 18px }
.gallery-item .gallery-item-meta h5 {
   font: 14px/21px 'opensans-bold', sans-serif;
   color: #fff;
}
.gallery-item .gallery-item-meta p {
   font: 12px/18px 'opensans-light', sans-serif;
   color: #c6c7c7;
   margin-bottom: 0;
}

/* on hover */
.gallery-item:hover .overlay {
	opacity: 1;
	-moz-opacity: 1;
	filter:alpha(opacity=100);
}
.gallery-item:hover .link-icon {
   opacity: 1;
	-moz-opacity: 1;
	filter:alpha(opacity=100);
}

/* ------------------------------------------------------------------ */
/* e. Projects Section
/* ------------------------------------------------------------------ */

#projects {
   background: #ffffff;
   padding-top: 90px;
   padding-bottom: 60px;
}
#projects h1 {
   font: 15px/24px 'opensans-semibold', sans-serif;
   text-transform: uppercase;
   letter-spacing: 1px;
   text-align: center;
   margin-bottom: 48px;
   color: #95A3A3;
}

/* people Content */
#projects-wrapper .columns { margin-bottom: 36px; }
.projects-item .item-wrap {
   background: #fff;
   overflow: hidden;
   position: relative;

   -webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.projects-item .item-wrap a {
   display: block;
   cursor: pointer;
}

/* overlay */
.projects-item .item-wrap .overlay {
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;

	opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);

   -webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;

   background: url(../images/overlay-bg.png) repeat;
}
.projects-item .item-wrap .link-icon {
   display: block;
   color: #fff;
   height: 30px;
   width: 30px;
   font-size: 18px;
   line-height: 30px;
   text-align: center;

   opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);

   -webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;

   position: absolute;
   top: 50%;
   left: 50%;
   margin-left: -15px;
   margin-top: -15px;
}
.projects-item .item-wrap img {
   vertical-align: bottom;
}
.projects-item .projects-item-meta { padding: 18px }
.projects-item .projects-item-meta h5 {
   font: 14px/21px 'opensans-bold', sans-serif;
   color: #fff;
}
.projects-item .projects-item-meta p {
   font: 12px/18px 'opensans-light', sans-serif;
   color: #c6c7c7;
   margin-bottom: 0;
}

/* on hover */
.projects-item:hover .overlay {
	opacity: 1;
	-moz-opacity: 1;
	filter:alpha(opacity=100);
}
.projects-item:hover .link-icon {
   opacity: 1;
	-moz-opacity: 1;
	filter:alpha(opacity=100);
}

/* ------------------------------------------------------------------ */
/* e. Design Principles Section
/* ------------------------------------------------------------------ */

#designprinciples {
   background: #ebeeee;
   padding-top: 90px;
   padding-bottom: 60px;
}
#designprinciples h1 {
   font: 18px/24px 'opensans-bold', sans-serif;
   text-transform: uppercase;
   letter-spacing: 1px;
   text-align: center;    
   margin-bottom: 48px;   
}

#designprinciples h1 span {
   border-bottom: 3px solid #11ABB0;
   padding-bottom: 6px;
}


/* people Content */
#designprinciples-wrapper .columns { margin-bottom: 36px; }
.designprinciples-item .item-wrap {
   background: #fff;
   overflow: hidden;
   position: relative;

   -webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.designprinciples-item .item-wrap a {
   display: block;
   cursor: pointer;
}

/* overlay */
.designprinciples-item .item-wrap .overlay {
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;

	opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);

   -webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;

   background: url(../images/overlay-bg.png) repeat;
}

.designprinciples-item .overlay-static {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25); /* transparent background */
}

.designprinciples-item .item-wrap .link-icon {
   display: block;
   color: #fff;
   height: 30px;
   width: 30px;
   font-size: 18px;
   line-height: 30px;
   text-align: center;

   opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);

   -webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;

   position: absolute;
   top: 50%;
   left: 50%;
   margin-left: -15px;
   margin-top: -15px;
}
.designprinciples-item .item-wrap img {
   vertical-align: bottom;
   width: 260px;
   height: 233px;
   object-fit: cover; /* This crops the image to fit without distortion */
}
.designprinciples-item .designprinciples-item-meta { padding: 18px }
.designprinciples-item .designprinciples-item-meta h5 {
   font: 24px/26px 'opensans-bold', sans-serif;
   color: #fff;
}
.designprinciples-item .designprinciples-item-meta p {
   font: 12px/18px 'opensans-light', sans-serif;
   color: #c6c7c7;
   margin-bottom: 0;
}

/* on hover */
.designprinciples-item:hover .overlay {
	opacity: 1;
	-moz-opacity: 1;
	filter:alpha(opacity=100);
}
.designprinciples-item:hover .link-icon {
   opacity: 1;
	-moz-opacity: 1;
	filter:alpha(opacity=100);
}




/* ------------------------------------------------------------------ */
/* e. Portfolio Section
/* ------------------------------------------------------------------ */

#portfolio {
   background: #ebeeee;
   padding-top: 90px;
   padding-bottom: 60px;
}
#portfolio h1 {
   font: 15px/24px 'opensans-semibold', sans-serif;
   text-transform: uppercase;
   letter-spacing: 1px;
   text-align: center;
   margin-bottom: 48px;
   color: #95A3A3;
}

/* Portfolio Content */
#portfolio-wrapper .columns { margin-bottom: 36px; }
.portfolio-item .item-wrap {
   background: #fff;
   overflow: hidden;
   position: relative;

   -webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.portfolio-item .item-wrap a {
   display: block;
   cursor: pointer;
}

/* overlay */
.portfolio-item .item-wrap .overlay {
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;

	opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);

   -webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;

   background: url(../images/overlay-bg.png) repeat;
}
.portfolio-item .item-wrap .link-icon {
   display: block;
   color: #fff;
   height: 30px;
   width: 30px;
   font-size: 18px;
   line-height: 30px;
   text-align: center;

   opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);

   -webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;

   position: absolute;
   top: 50%;
   left: 50%;
   margin-left: -15px;
   margin-top: -15px;
}
.portfolio-item .item-wrap img {
   vertical-align: bottom;
}
.portfolio-item .portfolio-item-meta { padding: 18px }
.portfolio-item .portfolio-item-meta h5 {
   font: 14px/21px 'opensans-bold', sans-serif;
   color: #fff;
}
.portfolio-item .portfolio-item-meta p {
   font: 12px/18px 'opensans-light', sans-serif;
   color: #c6c7c7;
   margin-bottom: 0;
}

/* on hover */
.portfolio-item:hover .overlay {
	opacity: 1;
	-moz-opacity: 1;
	filter:alpha(opacity=100);
}
.portfolio-item:hover .link-icon {
   opacity: 1;
	-moz-opacity: 1;
	filter:alpha(opacity=100);
}


/* ------------------------------------------------------------------ */
/* popup modal people section
/* ------------------------------------------------------------------ */
.popup-modal-pfp{
   max-width: 1200px;     
   width: 100%;
   background: #fff;
   border-radius: 10px;
   overflow: hidden;         /* ensures image corners match radius */
   box-shadow: 0 18px 60px rgba(0,0,0,.25);
   position: relative;
   margin: 0 auto;
}

	/* max-width: 1200px;
	background: #fff;
	position: relative;
	margin: 0 auto;
    */
.popup-modal-pfp .modal-row {
  display: flex;
  align-items: stretch;
  min-height: 520px;  
}

.popup-modal-pfp .modal-photo {
  width: 50%;
  max-width: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.popup-modal-pfp .description-box {
  width: 50%;
  padding: 44px 52px;
  box-sizing: border-box;
  border-left: 1px solid rgba(0,0,0,.08);
}

.popup-modal-pfp .description-box h4{
  font: 700 34px/1.15 'opensans-bold', sans-serif;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
  color: #111;
}

.popup-modal-pfp .title{
  font: 600 18px/1.4 'opensans-regular', sans-serif;
  color: #222;
  margin: 0 0 18px;
}

.popup-modal-pfp .description-box p{
  font: 16px/1.75 'opensans-regular', sans-serif;
  color: #333;
  margin: 0;
  max-width: 70ch; /* keeps the paragraph from getting too wide */
}

.popup-modal-pfp .credentials{
  font: 600 14px/1.4 'opensans-regular', sans-serif;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #6a6a6a;
  margin: 0 0 14px;
}

.popup-modal-pfp .description-box{
  width: 75%;
  padding: 36px 44px;
  box-sizing: border-box;
}
/* .popup-modal-pfp .description-box p {
  font: 24px/34px 'opensans-regular', sans-serif;
  margin-bottom: 12px;
  color: #000; 
} */

.popup-modal-pfp .link-box{
  display: flex;
  justify-content: flex-start;
  padding: 18px 44px 22px;
  background: #0e0e0e; /* matches your dark bar */
}

.popup-modal-pfp .popup-modal-dismiss{
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font: 600 12px/1 'opensans-regular', sans-serif;
  transition: all .2s ease;
}


@media (max-width: 768px) {
  .popup-modal-pfp {
    max-width: 95%;
  }

  .popup-modal-pfp .modal-row {
    flex-direction: column;
  }

  .popup-modal-pfp .modal-photo,
  .popup-modal-pfp .description-box {
    width: 100%;
    max-width: 100%;
  }

  .popup-modal-pfp .modal-photo {
    height: 260px; /* adjust */
  }
}

/* 
.popup-modal-pfp .description-box-change { 
   padding: 12px 36px 18px 36px;  
   /* background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/diak/change.jpg');  */
   /* background-image: url('../images/diak/change.jpg');  
   background-size: 1200px auto; 
   background-position: center top;
   background-repeat: no-repeat;
   min-height: 300px;
} */
/* 
.popup-modal-pfp .description-box-change h4 {
   font: 24px/34px 'opensans-bold', sans-serif;
	margin-bottom: 12px;
   color: #ffffff;
} */
/* .popup-modal-pfp .description-box-change p {
	font: 24px/34px 'opensans-regular', sans-serif;
   color: #ffffff;
   margin-bottom: 12px;
} */
/* .popup-modal-pfpl .description-box-change .categories {
   font: 24px/34px 'opensans-light', sans-serif;
   color: #ffffff;
   text-transform: uppercase;
   letter-spacing: 2px;
   display: block;
   text-align: left;
}
.popup-modal-pfp .description-box-change .categories i {
   margin-right: 8px;
} */



/* popup modal */
.popup-modal {
	max-width: 1200px;
	background: #fff;
	position: relative;
	margin: 0 auto;
}

/* ------------------------------------------------------------------ */
/* e. Design Principlels - Economy - Section
/* ------------------------------------------------------------------ */
.popup-modal .description-box-change { 
   background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/diak/change.jpg'); 
   background-size: cover;
   background-position: center bottom;
   background-repeat: no-repeat;
   height: auto;
}

.popup-modal .description-box-discovery { 
   background-image: linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)), url('../images/diak/discovery.jpg'); 
   background-size: cover;
   background-position: center bottom;
   background-repeat: no-repeat;
   height: auto;
}

.popup-modal .description-box-economy { 
   background-image: linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)), url('../images/diak/economy.jpg'); 
   background-size: cover;
   background-position: center bottom;
   background-repeat: no-repeat;
   height: auto;
}

.popup-modal .description-box-ecosystems{ 
   background-image: linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)), url('../images/diak/ecosystems.jpg'); 
   background-size: cover;
   background-position: center bottom;
   background-repeat: no-repeat;
   height: auto;
}

.popup-modal .description-box-energy { 
   background-image: linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)), url('../images/diak/energy.jpg'); 
   background-size: cover;
   background-position: center bottom;
   background-repeat: no-repeat;
   height: auto;
}

.popup-modal .description-box-equitablecommunities { 
   background-image: linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)), url('../images/diak/equitablecommunities.jpg'); 
   background-size: cover;
   background-position: center bottom;
   background-repeat: no-repeat;
   height: auto;
}

.popup-modal .description-box-integration { 
   background-image: linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)), url('../images/diak/integration.jpg'); 
   background-size: cover;
   background-position: center bottom;
   background-repeat: no-repeat;
   height: auto;
}

.popup-modal .description-box-resources { 
   background-image: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)), url('../images/diak/resources.jpg'); 
   background-size: cover;
   background-position: center bottom;
   background-repeat: no-repeat;
   height: auto;
}

.popup-modal .description-box-water { 
   background-image: linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)), url('../images/diak/water.jpg'); 
   background-size: cover;
   background-position: center bottom;
   background-repeat: no-repeat;
   height: auto;
}

.popup-modal .description-box-wellbeing { 
   background-image: linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)), url('../images/diak/wellbeing.jpg'); 
   background-size: cover;
   background-position: center bottom;
   background-repeat: no-repeat;
   height: auto;
}

.description-box-formatting {
   padding: 12px 36px 18px 36px;  
}

.popup-modal .description-box-formatting h4 {
   font: 24px/34px 'opensans-bold', sans-serif;
	margin-bottom: 12px;
   color: #ffffff;
}
.popup-modal .description-box-formatting p {
	font: 24px/34px 'opensans-regular', sans-serif;
   color: #ffffff;
   margin-bottom: 12px;
}
.popup-modal .description-box-formatting .categories {
   font: 24px/34px 'opensans-light', sans-serif;
   color: #ffffff;
   text-transform: uppercase;
   letter-spacing: 2px;
   display: block;
   text-align: left;
}
.popup-modal .description-box-formatting .categories i {
   margin-right: 8px;
}

.popup-modal .bullet-list {
   list-style-type: square;
   font-size: 20px;
   line-height: 24px;
   font-family: 'opensans-light', sans-serif;
   color: #ffffff;
   margin-left: 3%;
}

.popup-modal .end-tag {
   font: 16px/22px 'opensans-light', sans-serif;
   color: #ffffff;
   text-transform: uppercase;
   letter-spacing: 2px;
   display: block;
   text-align: left;
}


.popup-modal .description-box { padding: 12px 36px 18px 36px;}

.popup-modal .description-box h4 {
   font: 15px/24px 'opensans-bold', sans-serif;
	margin-bottom: 12px;
   color: #ffffff;
}
.popup-modal .description-box p {
	font: 14px/24px 'opensans-regular', sans-serif;
   color: #ffffff;
   margin-bottom: 12px;
}
.popup-modal .description-box .categories {
   font: 11px/21px 'opensans-light', sans-serif;
   color: #ffffff;
   text-transform: uppercase;
   letter-spacing: 2px;
   display: block;
   text-align: left;
}
.popup-modal .description-box .categories i {
   margin-right: 8px;
}
.popup-modal .link-box {
   padding: 18px 36px;
   background: #111;
   text-align: left;
}
.popup-modal .link-box a {
   color: #fff;
	font: 11px/21px 'opensans-bold', sans-serif;
	text-transform: uppercase;
   letter-spacing: 3px;
   cursor: pointer;
}
.popup-modal a:hover {	color: #00CCCC; }
.popup-modal a.popup-modal-dismiss { margin-left: 24px; }

.popup-modal-pfp .link-box {
   padding: 18px 36px;
   background: #111;
   text-align: left;
}
.popup-modal-pfp .link-box a {
   color: #fff;
	font: 11px/21px 'opensans-bold', sans-serif;
	text-transform: uppercase;
   letter-spacing: 3px;
   cursor: pointer;
}

/* fadein/fadeout effect for modal popup
/* ------------------------------------------------------------------ */

/* content at start */
.mfp-fade.mfp-wrap .mfp-content .popup-modal {
   opacity: 0;
   -webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	-ms-transition: all 200ms ease-in-out;
   transition: all 200ms ease-in-out;
}
/* content fadein */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content .popup-modal {
   opacity: 1;
}
/* content fadeout */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content .popup-modal {
   opacity: 0;
}

/* ------------------------------------------------------------------ */
/* f. Call To Action Section
/* ------------------------------------------------------------------ */

#call-to-action {
   background: #212121;
   padding-top: 66px;
   padding-bottom: 48px;
}
#call-to-action h1 {
   font: 18px/24px 'opensans-bold', sans-serif;
   text-transform: uppercase;
   letter-spacing: 3px;
   color: #fff;
}
#call-to-action h1 span { display: none; }
#call-to-action .header-col h1:before {
   font-family: 'FontAwesome';
   content: "\f0ac";
	padding-right: 10px;
	font-size: 72px;
   line-height: 72px;
   text-align: left;
   float: left;
   color: #fff;
}
#call-to-action .action {
   margin-top: 12px;
}
#call-to-action h2 {
   font: 28px/36px 'opensans-bold', sans-serif;
   color: #EBEEEE;
   margin-bottom: 6px;
}
#call-to-action h2 a {
   color: inherit;
}
#call-to-action p {
   color: #636363;
   font-size: 17px;
}
/*#
call-to-action .button {
	color:#fff;
   background: #0D0D0D;
}
*/
#call-to-action .button:hover,
#call-to-action .button:active {
   background: #FFFFFF;
   color: #0D0D0D;
}
#call-to-action p span {
	font-family: 'opensans-semibold', sans-serif; 
	color: #D8D8D8;
}

/* ------------------------------------------------------------------
/* g. Testimonials
/* ------------------------------------------------------------------ */

#testimonials {
   background: #1F1F1F url(../images/testimonials-bg.jpg) no-repeat center center;
   background-size: cover !important;
	-webkit-background-size: cover !important;
   background-attachment: fixed;

   position: relative;
   min-height: 200px;
   width: 100%;
   overflow: hidden;
}
#testimonials .text-container {
   padding-top: 96px;
   padding-bottom: 66px;
}
#testimonials h1 {
   font: 18px/24px 'opensans-bold', sans-serif;   
   text-transform: uppercase;
   letter-spacing: 3px;
   color: #fff;
}
#testimonials h1 span { display: none; }
#testimonials .header-col { padding-top: 9px; }
#testimonials .header-col h1:before {
   font-family: 'FontAwesome';
   content: "\f10d";
	padding-right: 10px;
	font-size: 72px;
   line-height: 72px;
   text-align: left;
   float: left;
   color: #fff;
}

/*	Blockquotes */
#testimonials blockquote {
   margin: 0 0px 30px 0px;
   padding-left: 0;
   position: relative;
   text-shadow: 0px 1px 3px rgba(0, 0, 0, 1);
}
#testimonials blockquote:before { content: none; }
#testimonials blockquote p {
   font-family: 'librebaskerville-italic', serif;
   padding: 0;
   font-size: 24px;
   line-height: 48px;
   color: #fff
}
#testimonials blockquote cite {
   display: block;
   font-size: 12px;
   font-style: normal;
   line-height: 18px;
   color: #fff;
}
#testimonials blockquote cite:before { content: "\2014 \0020"; }
#testimonials blockquote cite a,
#testimonials blockquote cite a:visited { color: #8B9798; border: none }

/* Flex Slider
/* ------------------------------------------------------------------ */

/* Reset */
.flexslider a:active,
.flexslider a:focus  { outline: none; }
.slides,
.flex-control-nav,
.flex-direction-nav { margin: 0; padding: 0; list-style: none; }
.slides li { margin: 0; padding: 0;}

/* Necessary Styles */
.flexslider {
   position: relative;
   zoom: 1;
   margin: 0;
   padding: 0;
}
.flexslider .slides { zoom: 1; }
.flexslider .slides > li { position: relative; }

/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides > li { display: none; -webkit-backface-visibility: hidden; }
/* Suggested container for slide animation setups. Can replace this with your own */
.flex-container { zoom: 1; position: relative; }

/* Clearfix for .slides */
.slides:before,
.slides:after {
   content: " ";
   display: table;
}
.slides:after {
   clear: both;
}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child { display: block; }

/* Slider Styles */
.slides { zoom: 1; }
.slides > li {
   /*margin-right: 5px; */
   overflow: hidden;
}

/* Control Nav */
.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: -20px;
    text-align: left;
}
.flex-control-nav li {
    margin: 0 6px;
    display: inline-block;
    zoom: 1;
    display: inline;
}
.flex-control-paging li a {
    width: 12px;
    height: 12px;
    display: block;
    background: #ddd;
    background: rgba(255, 255, 255, .3);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
    box-shadow: inset 0 0 3px rgba(255, 255, 255, .3);
}
.flex-control-paging li a:hover {
    background: #CCC;
    background: rgba(255, 255, 255, .7);
}
.flex-control-paging li a.flex-active {
    background: #fff;
    background: rgba(255, 255, 255, .9);
    cursor: default;
}

/* ================================
   CONTACT (clean grid version)
================================ */

#contact{
  background: #191919;
  padding: 28px 0;            /* KNOB: shrink/expand section height */
  color: #e6e6e6;
}

#contact > .row{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* 3 equal columns desktop, stacked mobile */
#contact .contact-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;       /* forces equal height columns */
}

/* Panel look = professional */
#contact .contact-panel{
  /* background: rgba(255,255,255,0.04); */
  /* border: 1px solid rgba(255,255,255,0.08); */
  border-radius: 10px;
  padding: 22px;
  box-sizing: border-box;
  text-align: left;
}

/* Left column typography */
#contact .contact-logo{
  margin: 0 0 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#contact .logo.pink{ color:#F080A0; }
#contact .logo.blue{ color:#00B0E0; }

#contact .contact-tagline{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

#contact .contact-sub-tagline{
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #d7d7d7;
}

/* Form - no floats, clean stack */
#contact form{ margin: 0; }
#contact fieldset{ border: 0; padding: 0; margin: 0; }

#contact .contact-field{ margin-bottom: 14px; }

#contact label{
  display: block;
  margin: 0 0 6px;
  font: 14px/1.2 'opensans-bold', sans-serif;
  color: #EBEEEE;
}

#contact input,
#contact textarea{
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 0;
  border-radius: 6px;
  outline: none;
  background: #373233;
  color: #eee;
  font-size: 20px;
}

#contact textarea{
  min-height: 140px;          /* KNOB: message height */
  resize: vertical;
}

#contact input:focus,
#contact textarea:focus{
  background: #11ABB0;
  color: #fff;
}

#contact .required{ color:#11ABB0; }

/* Button */
#contact button.submit{
  margin-top: 6px;
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  font: 13px/1 'opensans-bold', sans-serif;
  background: #0D0D0D;
  color: #fff;
}

.submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

#contact button.submit:hover{
  background: #fff;
  color: #0D0D0D;
}

/* Map column */
#contact .contact-map h4{
  margin: 0 0 10px;
  font: 16px/1.2 'opensans-bold', sans-serif;
  color: #fff;
}

#contact .address{
  margin: 0 0 12px;
  font-size: 16px;            /* KNOB: address font size */
  line-height: 1.6;
  color: #e6e6e6;
}

#contact .address span{
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
}

/* Map height control */
#contact .map-wrap{
  height: 240px;              /* KNOB: map height */
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

#contact .map-wrap iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Messages full width inside panel */
#contact #message-warning,
#contact #message-success{
  width: 100%;
  margin: 14px 0 0;
  padding: 12px 12px;
  box-sizing: border-box;
  background: #0F0F0F;
  border-radius: 6px;
}

/* White background behind the badge */
.badge-white-bg{
  background: #fff;
  display: inline-flex;   /* keeps wrapper tight to the image */
  padding: 1px;          /* space around the badge */
  border-radius: 10px;    /* optional: rounded corners */
}

.contact-left .badge-white-bg{
  background: #fff;
  display: inline-block;   /* shrink to image size */
  padding: 12px;
  border-radius: 10px;
  margin: 16px auto 0;     /* centers the div */
}

.badge-img{
  display: block;
  max-width: 175px;   /* adjust size here */
  height: auto;
}

#contact .contact-left .badge-center{
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

#contact .contact-left .badge-white-bg{
  background: #fff;
  padding: 5px;
  border-radius: 10px;
}

#contact .contact-left .badge-img{
  display: block;
  max-width: 200px;
  height: auto;
}

/* Mobile stack: Left, Form, Map */
@media (max-width: 900px){
  #contact .contact-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  #contact{
    padding: 22px 0;          /* KNOB mobile section padding */
  }
  #contact .map-wrap{
    height: 220px;            /* KNOB mobile map height */
  }
}



/* Twitter Feed */
#twitter {
   margin-top: 12px;
   padding: 0;
}
#twitter li {
   margin: 6px 0px 12px 0;
   line-height: 30px;
}
#twitter li span {
   display: block;
}
#twitter li b a {
   font: 13px/36px 'opensans-regular', Sans-serif;
   color: #474747 !important;
   border: none;
}


/* ------------------------------------------------------------------ */
/* i. Footer
/* ------------------------------------------------------------------ */

footer {
   padding-top: 48px;
   margin-bottom: 48px;
   color: #303030;
   font-size: 14px;
   text-align: center;
   position: relative;
}

footer a, footer a:visited { color: #525252; }
footer a:hover, footer a:focus { color: #fff; }

/* copyright */
footer .copyright {
    margin: 0;
    padding: 0;
 }
footer .copyright li {
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 24px;
}
.ie footer .copyright li {
   display: inline;
}
footer .copyright li:before {
    content: "\2022";
    padding-left: 10px;
    padding-right: 10px;
    color: #095153;
}
footer .copyright  li:first-child:before {
    display: none;
}

/* social links */
footer .social-links {
   margin: 18px 0 30px 0;
   padding: 0;
   font-size: 30px;
}
footer .social-links li {
    display: inline-block;
    margin: 0;
    padding: 0;
    margin-left: 42px;
    color: #F06000;
}

footer .social-links li:first-child { margin-left: 0; }

/* Go To Top Button */
#go-top {
	position: absolute;
	top: -24px;
   left: 50%;
   margin-left: -30px;
}
#go-top a {
	text-decoration: none;
	border: 0 none;
	display: block;
	width: 60px;
	height: 60px;
	background-color: #525252;

	-webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;

   color: #fff;
   font-size: 21px;
   line-height: 60px;
 	border-radius: 100%;
}
#go-top a:hover { background-color: #0F9095; }

