/* CSS reset */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
fieldset,
img {
  border: 0;
}
input {
  border: 1px solid #b0b0b0;
  padding: 3px 5px 4px;
  color: #979797;
  width: 190px;
}
address,
caption,
cite,
code,
dfn,
th,
var {
  font-style: normal;
  font-weight: normal;
}
ol,
ul {
  list-style: none;
}
caption,
th {
  text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
/* apply a natural box layout model to all elements */
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
q:before,
q:after {
  content: "";
}
abbr,
acronym {
  border: 0;
}
::selection {
  background: #5a5617; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #5a5617; /* Gecko Browsers */
}

body {
  font-family: "Roboto", sans-serif;
  /*font-family: "Helvetica Neue";*/
  background: #000;
  font-weight: 400;
  font-size: 13px;
  color: #fff;
  height: 100%;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}
a,
img {
  outline: 0;
  text-decoration: none;
  -moz-transition: all 0.5s; /* Firefox 4 */
  -webkit-transition: all 0.5s; /* Safari and Chrome */
  -o-transition: all 0.5s; /* Opera */
  outline: 0;
}
#supersized li a,
#supersized li a img {
  -moz-transition: all 0s !important;
  -webkit-transition: all 0s !important;
  -o-transition: all 0s !important;
}
.bottom-details {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  padding: 60px;
  bottom: 0;
}
.bottom-details .left-part {
  float: left;
  text-align: left;
}
.bottom-details .right-part {
  float: right;
  text-align: right;
}
.bottom-details .right-part .logos {
  margin-top: 58px;
  /*	display: none;
	opacity: 0;
	visibility: hidden;*/
}
.bottom-details .left-part h1 {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 40px;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.bottom-details .left-part h4 {
  font-size: 15px;
  color: #fff;
}
.bottom-details .right-part .logos span img {
  max-height: 40px;
  display: block;
  position: relative;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  -khtml-opacity: 0.7;
  opacity: 0.7;

  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;

  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -webkit-transform: translateZ(0);
  transform: rotate(0);
}
.bottom-details .right-part .logos span img:hover {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
  filter: alpha(opacity=1);
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
  display: block;

  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;

  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -webkit-transform: translateZ(0);
  transform: rotate(0);
}
.bottom-details .right-part .logos span {
  vertical-align: middle;
  margin: 0 5px;
  float: left;
  display: block;
  position: relative;

  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;

  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -webkit-transform: translateZ(0);
  transform: rotate(0);
}
.bottom-details .right-part .logos a.one {
  margin-left: 0;
}
.bottom-details .left-part .contact-me {
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 13px;
  text-transform: uppercase;
  margin-left: 0px;
  line-height: 14px;
  display: inline-block;
  margin-bottom: 0px;
  margin-top: 15px;
}
.bottom-details .left-part .contact-me.bb {
  margin-bottom: 0;
  bottom: 20px;
  right: 20px;
  position: absolute;
}
.bottom-details .left-part .contact-me:hover {
  background: #ffffff;
  color: #000000;
}

/* Large desktop */
@media (max-width: 1200px) {
}
@media (max-width: 1024px) {
  .bottom-details .right-part .contact-me {
    display: block !important;
    clear: both;
    margin: 20px auto 0 auto !important;
    max-width: 130px;
  }
}

/* Portrait tablet to landscape and desktop */
@media (max-width: 979px) {
}
/* Landscape phone to portrait tablet */
@media (max-width: 1024px) {
  .bottom-details .right-part {
    float: left;
    width: 100%;
    margin-top: 15px;
  }
  .bottom-details .left-part {
    float: left;
    width: 100%;
    clear: both;
  }
  .bottom-details .right-part .logos {
    text-align: left;
    margin-top: 0px;
    float: left;
  }
  .bottom-details .right-part .logos span img {
    max-height: 33.5px;
  }
}
@media (max-width: 640px) {
  .bottom-details .left-part h1 {
    font-size: 28px;
    line-height: 28px;
  }
  .bottom-details .left-part h4 {
    font-size: 14px;
    line-height: 14px;
  }
  .bottom-details {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
  }
  .bottom-details .right-part .logos span img {
    max-height: 22.5px;
  }
}
/* Landscape phones and down */
@media (max-width: 480px) {
  .bottom-details .left-part h1 {
    font-size: 24px;
    line-height: 24px;
  }
  .bottom-details .left-part h4 {
    font-size: 12px;
    line-height: 12px;
  }
  .bottom-details .right-part .logos span img {
    max-height: 19px;
  }
}
/* Portrait phones and down */
@media (max-width: 320px) {
}

.top-side {
  position: relative;
  height: 100vh;
  width: 100%;
}

.pg-canvas {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
}
.portfolio-wrapper{
  display: block;
  background: #ffffff;
}
.portfolio {
  margin: 0 auto;
  padding: 83px 0 0 0;
  padding-top: 83px;
  position: relative;
  z-index: 1;
  background: #ffffff;
  height: auto;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  display: inline-block;
}
.portfolio_block {
  width: 100%;
  background: #ffffff;
}
.portfolio_in {
  display: block;
  padding: 70px 0 137px 0;
}
.portfolio_in h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 48px;
  color: #16406d;
  font-weight: 400;
  text-align: center;
  padding: 0 0 76px 0;
}
.portfolio_in h2 span {
  font-weight: 600;
}
.portfolio_in ul {
  display: inline-block;
}
.portfolio_in ul li {
  float: left;
  display: inlune-block;
  margin: 10px;
  background-color: white;
}
.portfolio_in ul li a {
  display: block;
  position: relative;
  width: 186px;
  height: 186px;
  border: 1px solid #e7e7e7;
}
.portfolio_in ul li a.phase {
  width: 187px;
}
.portfolio_in ul li a:hover .tooltip {
  display: block !important;
}
.portfolio_in ul li a:hover {
  border: 1px solid #218bc3;
}
/* ---------------------------------------------------------*/

.logos_block .left-part,
.what-we-re .left-part {
  width: 35%;
  float: left;
}
.logos_block .right-part,
.what-we-re .right-part {
  width: 55%;
  float: right;
}
.logos_block h2 {
  background: none;
  font-weight: 600;
  text-align: right;
  padding-top: 76px;
  font-size: 43px;
  color: #5f5f5f;
}
.logos_block ul {
  padding: 20px 0 !important;
}
.logos_block ul li {
  width: 200px;
  text-align: center;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  margin-right: 80px;
  float: left;
  display: inline-block;
}

.logos_block {
  display: block;
  position: relative;
  z-index: 9999;
}
.logos_block h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 42px;
  color: #5f5f5f;
  font-weight: 400;
  text-align: center;
  background: url(../images/line.png) no-repeat center bottom;
  padding: 33px 0 7px 0;
}
.logos_block ul {
  display: inline-block;
  margin: 0 auto;
  padding: 64px 0 51px 0;
  width: 100%;
}
.logos_block ul li {
  float: left;
  display: inline-block;
  width: auto;
  text-align: center;
  height: 86px;
  text-align: center;
  margin: 0 88px 0 0;
}
.logos_block ul li {
  width: 200px;
  text-align: center;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  margin-right: 80px;
}
.logos_block ul li a {
  display: block;
}
.logos_block ul li img {
  display: block;
  width: auto;
  height: 100%;
  margin: auto;
  max-width: 100%;
  max-height: auto;
}
.portfolio .container {
  width: auto !important;
  max-width: 1170px;
  padding-left: 15px;
  padding-right: 15px;
  margin: auto;
}

@media only screen and (min-width: 1024px) {
  .logos_block ul li {
    height: 82px;
  }
}
@media only screen and (min-width: 1200px) {
  .portfolio_in ul {
    margin: 0px 75px;
  }
}
@media only screen and (min-width: 600px) and (max-width: 767px) {
  .portfolio_in ul {
    margin: 0px 80px;
  }
}

@media only screen and (max-width: 1170px) {
  .logos_block h2 {
    font-size: 34px;
  }
  .logos_block ul li {
    width: 35%;
    margin-right: 30px;
  }
}

@media only screen and (max-width: 992px) {
  .logos_block ul li {
    width: 20%;
  }
  .logos_block .left-part,
  .logos_block .right-part {
    width: 100%;
    float: none;
  }
  .logos_block ul {
    padding-bottom: 0 !important;
  }
  .logos_block ul li {
    height: 70px;
    margin: 0 !important;
    padding: 10px;
    text-align: center;
  }
  .logos_block ul li img {
    width: auto;
    height: 100%;
  }
  .portfolio {
    height: auto;
    padding: 40px 0;
  }
  .pg-canvas {
    height: 100%;
  }
}

@media only screen and (max-width: 640px) {
  .logos_block ul li {
    display: inline-block;
    width: 100%;
    margin: 0;
    height: auto;
  }
}

/* Facebook style button CSS */
/* --- variables --- */
:root {
  --fb-blue: #1877f2;
  --fb-blue-dark: #165ec9;
  --btn-padding: 0.6rem 1rem;
  --btn-radius: 999px; /* pill */
  --btn-font-size: 16px;
  --btn-gap: 0.6rem;
  --shadow: 0 6px 18px rgba(24, 119, 242, 0.18);
}

/* --- base reset for the button link --- */
.fb-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--btn-gap);
  padding: var(--btn-padding);
  background: linear-gradient(
    180deg,
    var(--fb-blue) 0%,
    var(--fb-blue-dark) 100%
  );
  color: #fff;
  text-decoration: none;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: var(--btn-font-size);
  line-height: 1;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  will-change: transform, box-shadow;
  border: none;
  cursor: pointer;
}

.fb-btn .fb-icon {
  display: inline-flex;
  width: 1.6em;
  height: 1.6em;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.35em;
  border-radius: 50%;
  flex: 0 0 auto;
}

/* use icon color from the button text color */
.fb-btn svg {
  color: #fff;
  display: block;
}

/* small size modifier */
.fb-btn.small {
  --btn-font-size: 14px;
  --btn-padding: 0.4rem 0.75rem;
}

/* outline / ghost variant (for light backgrounds) */
.fb-btn.ghost {
  background: transparent;
  color: var(--fb-blue);
  box-shadow: none;
  border: 2px solid rgba(24, 119, 242, 0.12);
}
.fb-btn.ghost .fb-icon {
  background: rgba(24, 119, 242, 0.08);
  color: var(--fb-blue);
}

/* hover / active / focus states */
.fb-btn:hover,
.fb-btn:focus {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(24, 119, 242, 0.18);
  text-decoration: none;
  outline: none;
  opacity: 0.98;
}
.fb-btn:active {
  transform: translateY(-1px) scale(0.995);
}

.fb-btn:focus-visible {
  outline: 3px solid rgba(24, 119, 242, 0.18);
  outline-offset: 4px;
}

/* accessible reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .fb-btn {
    transition: none;
    transform: none;
  }
}

/* responsive: make button full-width on very small screens if needed */
@media (max-width: 380px) {
  .fb-btn.full-width {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}

.bottom-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

@media (max-width: 1240px) {
  .bottom-flex {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
  }
}
.phone-number, .email-address {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 28px!important;
  line-height: 1.4!important;
}
@media (max-width: 767px) {
  .phone-number, .email-address {
    font-size: 22px!important;
	  align-items: flex-start;
    flex-direction: column;
  }
}
.gallery-wrapper {
  background: #ffffff;
  padding: 83px;
  display: flex;
  justify-content: center;
}

.gallery {
  width: 100%;
  max-width: 1000px; /* adjust to your design */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.gallery div {
  width: 100%;
  aspect-ratio: 1 / 1; /* Makes each item a perfect square */
  overflow: hidden;
  border-radius: 8px; /* optional */
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}