:root {
  --whiteColor: #fff;
  /* --primaryColor: #161a30; */
  /* --primaryColor: #001d3d; -2*/
    --primaryColor: #49A078;
  /* --primaryColorHover: #31304d; */
  /* --primaryColorHover: #415a77; -2*/
    --primaryColorHover: #9CC5A1;
  /* --secondaryColor: #b6bbc4; */
  --secondaryColor: #003566;
  --secondaryColorHover: #cdf2fb;
  /* --primaryColoLight: #f0ece5; */
  --primaryColoLight: #edf2fb;
  /* --shadowColor: #001d3d; -2*/
  --shadowColor:#377759;
  --blackColor: #000;
}

/* ///////////////////////Global reset////////////////// */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  text-decoration: none;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

@font-face {
  font-family: bpgmrgvlovani;
  src: url(/wp-content/themes/template001/fonts/fonts/bpg_mrgvlovani_2009.ttf);
  font-weight: normal;
}


/* Main Styles */

body {
  background: var(--primaryColoLight);
  font-family: "bpgmrgvlovani";
}

.site-area {
  width: 100%;
  max-width: 1360px;
}

.page-area {
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-content {
  display: flex;
  justify-content: center;
  width: 100%;
}

.content-area {
  width: 100%;
  margin-bottom: 0px;
  padding: 7.5rem 1rem 1rem 1rem;
  min-height: calc(100vh - 21rem)
}

.wide-image{
  width: 100%;
}

@media screen and (max-width: 768px) {
  .content-area {
    min-height: calc(100vh - 32.72rem);
  }

}

/* Header */
.main-header {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 5rem;
  padding: 0.5rem 1rem;
  z-index: 1000;
  background-color: var(--whiteColor);
   box-shadow: 0 -6px 10px 5px rgba(0,0,0,0.5);
}

.logo a {
  color: var(--primaryColor);
  font-size: 1.3rem;
  font-style: italic;
  transition: all 0.3s ease;
}

.logo a:hover {
  color: var(--primaryColorHover);
}

.main-navigation ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-navigation ul li {
  /* padding: 1rem 0.5rem; */
  cursor: pointer;
}

.main-navigation ul li a {
  border-radius: 0.2rem;
  font-size: 12px;
  color: var(--blackColor);
  padding: 1rem 0.5rem;
  transition: all 0.3s ease;
}

.main-navigation ul li a:hover {
  background-color: var(--primaryColorHover);
  color: var(--whiteColor);
}

.gtranslate_wrapper{
    z-index: 1001;
}

/* flags */
.main-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flags {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--whiteColor);
  border-radius: 0.5rem;
  padding: 0.5rem;
  margin: 0.5rem;
}

.flags img {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 0.3rem;
}

.language-change .flags {
  flex-direction: column;
  background-color: transparent;
}

@media screen and (max-width: 1080px) {
  .flags {
    justify-content: flex-start;
    margin: 0 1.4rem;
  }

  .main-navigation {
    flex-direction: column;
    align-items: flex-end;
    margin-top: 2.5rem;
  }

  .main-navigation .flags {
    border-radius: 0.3rem;
    padding:1rem 0.5rem 0.2rem 0.5rem;
    margin: 0;
    z-index: 1005;
  }
}

/*  */


.menu-checkbox {
  display: none;
}

.hamburger-menu {
  display: none;
}

@media screen and (max-width: 1430px) {
  .main-navigation ul li a {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 1080px) {
  .hamburger-menu {
    display: block;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.9rem 0.5rem;
    z-index: 100;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    background-color: var(--shadowColor);
    transition: all 0.5s ease-out;
  }

  .hamburger-menu:hover {
    background-color: var(--primaryColorHover);
  }

  .hamburger-menu span {
    display: block;
    width: 2rem;
    height: 0.2rem;
    margin-bottom: 0.3rem;
    background: var(--whiteColor);
    border-radius: 0.2rem;
    transition: transform 0.3s ease;
  }

  #menu-toggle:checked ~ .hamburger-menu span:nth-child(1) {
    transform: translatey(8px) rotate(45deg);
  }

  #menu-toggle:checked ~ .hamburger-menu span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .hamburger-menu span:nth-child(3) {
    transform: translatey(-8px) rotate(-45deg);
  }

  #menu-toggle:checked ~ .menu-menu-1-container .right,
  #menu-toggle:checked~.menu-menu-en-container .right,
  #menu-toggle:checked~.menu-menu-ru-container .right {
    display: block;
  }

  

  .main-navigation ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 5rem;
    right: 0;
    width: 300px;
    height: 100vh;
    padding-top: 2rem;
    background-color: var(--whiteColor);
    z-index: 1000;
    transition: transform 0.9s ease;
    animation: slideInMenu 0.5s forwards;
  }

  @keyframes slideInMenu {
    0% {
      transform: translateX(300px);
    }
    100% {
      transform: translateX(0px);
    }
  }

  @keyframes slideOutMenu {
    0% {
      transform: translateX(0px);
    }
    100% {
      transform: translateX(300px);
    }
  }

  .main-navigation ul li {
    width: 100%;
    margin: 0.5rem auto;
    padding: 0.3rem 0;
  }


  .main-navigation ul li a {
    color: var(--blackColor);
    text-align: left;
    display: block;
    font-size: 1rem;
    line-height: 1rem;
    padding-left: 1rem;
  }
}

/* content */

.content-area h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.content-area h3{
  font-weight: 700;
  line-height: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-area p{
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-area a{
  color: var(--blackColor);
  transition: all 0.3s ease;
}

.content-area a:hover{
  color: var(--secondaryColor);
}

.content-area strong{
  font-weight: 700;
}
/*  map-container */

.map-container img{
  width: 100%;
}

/* about */

.about-content-1 p{
  line-height: 2rem;
  padding: 1rem 2rem 1rem 0;
}

.about-image-container{
  padding-left: 1rem;
  display:flex;
  justify-content:center;
  align-items:center;
}

.about-image-container img{
  width: 80%;
  height: auto;
  border-radius: 0.5rem;
}

.wide-content{
  width:100%;
}

.about-content-2{
  margin-top: 1rem;
}

.about-content-2 p{
  line-height: 2rem;
}

.about-content-2 .map {
  margin-top: 1rem;
  border-radius: 0.5rem;
}

@media screen and (max-width: 1360px){
  .about-content-1 p,  
  .about-content-2 p{
    line-height: 1.7rem;
    padding: 0;
  }
}

@media screen and (max-width: 1360px){
  .about-image-container img {
    width:100%;
  }
}

@media screen and (max-width: 768px){
  .about-image-container {
    padding: 0;
  }
}

/* services */

.service-text-content {
  line-height:1.7rem;
  padding: 0 5rem;
}

.service-images-container{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin: 1rem 5rem 4rem 5rem;
  place-items:center;
}

.service-images-container img{
  width: 300px;
  max-height: 320px;
  object-fit:cover;
  border-radius: 0.5rem;
  transition: all 0.3s ease-out;
}

.service-image:hover{
  opacity:0.7;
  cursor:pointer;
}

.service-text-content i{
  color:green;
  font-size:1.5rem; 
  padding-right: 0.5rem;
}

.service-modal{
  display:none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1009;
  width: 100vw; 
  height:100vh;
  background-color: #333;
  opacity: 0.95;
  display:flex;
  justify-content:center;
  align-items:center; 
  overflow: auto; 
}

.modal-content {
  display:flex;
  justify-content:center;
  align-items:center;
  margin: 5% auto; 
  padding: 20px;
  width: 80%; 
  max-width: 700px; 
  height:85vh; 
}

.modal-content img{
  max-height: 85vh;
  object-fit:cover;
}

.close {
  position: fixed;
  top:1rem; 
  right:1rem;
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  transition: all 0.5s ease;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (max-width: 1360px){
  .service-images-container {
    grid-template-columns: 1fr 1fr;
    place-items: center;
  }

  .service-text-content {
  padding: 0;
}
}

@media screen and (max-width: 768px){
  .service-images-container {
    grid-template-columns: 1fr;
    place-items: center;
    margin: 1rem 0.5rem 2rem 0.5rem; 
  }
}

@media screen and (max-width: 420px){
  .service-images-container img{
    width: 100%;
  }

  .service-text-content {
  padding: 0rem 0.5rem;
}
}

/* main page content */

.swiper {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 5rem);
    z-index: 5;
    margin-top: 5rem;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    position: relative;
}

.swiper-slide img {
    display: block;
    width: 100%;
	max-height: calc(100vh - 5rem);
  object-fit:cover;
  object-position: top;
}

.swiper-slide p {
    position: absolute;
    /* width:80%; */
    /* top: calc(75vh - 5rem); */
    top:1rem;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 10;
    font-size: 1.5rem;
    letter-spacing: 0.3rem;
    line-height: 3rem;
    text-align: center;
    color: var(--whiteColor);
    font-weight: 700;
    padding: 0.5rem 1.6rem;
    background-color: var(--shadowColor);
    border-radius: 0.3rem;
    opacity: 0.95;
    animation: showSliderText 1.5s forwards;
}

@keyframes showSliderText {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 0.8;
    }
}

.swiper-button-next,
.swiper-button-prev {
    padding: 0.5rem;
    border: none;
    border-radius: 0.2rem;
    width: 2.8rem;
    height: 2.8rem;
    background-color: var(--shadowColor);
    transition: all 0.3s ease-out;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primaryColorHover);
}


.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 2rem;
    color: var(--whiteColor);
}

@media screen and (max-width: 1350px) {
  .swiper-slide p {
    font-size: 1.2rem;
    /* top: calc(70vh - 5rem); */
    top: 2rem;
    left: 50%;
    padding: 0.3rem 1.5rem;
    letter-spacing: normal;
  }
}

@media screen and (max-width: 1280px) {
    .swiper-slide p {
        /* top: 80%; */
        top: 2rem;
        left: 50%;
        line-height: 1.7rem;
        transform: translate(-50%, -50%);
    }
}

@media screen and (max-width: 768px) {
    .swiper-slide p {
       width: 80%;
        font-size: 0.9rem;
        padding: 0.3rem 0.2rem;
        opacity: 0.5;
    }
}

@media screen and (max-width: 460px) {
.swiper-slide p {
  width:90%;
  top: 10.5rem;
  line-height: 1.1rem;
}
}

@media screen and (max-width: 400px) {
  .swiper-slide p {
    font-size: 0.8rem;
  }
}

/* about-grid */

.grid-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  margin: 0 auto;
  max-width: 1360px;
}


/* btn */

.btn {
  padding: 0.5rem 0.8rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--whiteColor);
  background-color: var(--primaryColor);
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.btn:hover {
  background-color: var(--primaryColorHover);
}


@media screen and (max-width: 768px) {
  .grid-content {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
  }
}

/* project page */

.grid-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  margin: 0 auto;
  max-width: 1360px;
}

.download-project {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}

/* .btn {
  padding: 0.5rem 0.8rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--whiteColor);
  background-color: var(--primaryColor);
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.btn:hover {
  background-color: var(--primaryColorHover);
} */

.project-slider {
  margin: 1rem auto;
  width: 80%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .grid-content {
    grid-template-columns: 1fr;
  }

  .project-slider {
    width: 100%;
  }

  /* .btn {
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
  } */
}


/* danishnuleba-container */
.danishnuleba-container {
  padding: 1rem;
}

.danishnuleba-container img {
  width: 100%;
  height: auto;
}

/* footer */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  font-size: 0.9rem;
  color: var(--whiteColor);
  background-color: var(--primaryColor);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
  padding: 2rem;
}

.footer-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-navigation ul {
  margin-right: 2rem;
}

.footer-navigation ul li {
  line-height: 2rem;
  list-style-type: none;
  margin-right: 1rem;
  color: var(--whiteColor);
  transition: all 0.5s ease-out;
}

.footer-navigation ul li a {
  color: var(--whiteColor);
}

.footer-navigation ul li a::before{
    content: "\f105";
    font-family: FontAwesome;
    margin-right: 5px;
}

.footer-navigation ul li:hover {
  transform: translateX(0.3rem);
}

.footer-navigation ul li a:hover {
  color: var(--secondaryColorHover);
}

.footer-contact {
  width: 100%;
  max-width: 20rem;
}

.footer-contact-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  line-height: 1.2rem;
  margin-bottom: 1rem;
}

.footer-contact-item i {
  margin-right: 0.5rem;
}

.footer-contact-item a {
  color: var(--whiteColor);
  transition: all 0.3s ease;
}

.footer-contact-item a:hover {
  color: var(--secondaryColorLight);
}

footer hr {
  width: 90%;
  margin: 1rem;
}

.copyright {
  text-align: center;
  margin-bottom: 2rem; 
}

.copyright p{
  padding:  0.5rem;
  line-height: 1.5rem;
}

@media screen and (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    place-items: left;
    padding-bottom: 0.5rem;
  }

  .footer-navigation {
    width: 19rem;
    justify-content: left;
    padding-left: 1rem;
    margin-bottom: 2rem;
  }

  .footer-navigation ul {
      margin-right: 0.1rem;
  }

  .footer-navigation ul li{
    margin-right: 0.1rem;
    line-height:1.7rem;
  }

  .footer-contact{
    width: 18rem;
    font-size: 0.8rem;
  }

  .copyright{
    font-size: 0.8rem;
  }
}

/* gallery */

.gallery-folders-container {
  width: 100%;
  max-width: 1360px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 1rem auto;
}

.gallery-folder {
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  text-align: center;
  -webkit-box-shadow: 8px 8px 5px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 8px 8px 5px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 8px 8px 5px 0px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.gallery-folder:hover {
  -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
}

.gallery-folder img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.gallery-folder h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 3rem;
  color: #000;
}

@media screen and (max-width: 992px) {
  .gallery-folders-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 460px) {
  .gallery-folders-container {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1px;
  text-align: center;

}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
  margin: 5px;
  padding: 0;
  width: 240px;
  height: 240px;
  border-radius: 3px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.gallery-item:hover {
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.3);
}



.gallery-caption {
  display: block;
}


/*---------------------------------------------------------------*/
/*  gallery-page */
/*---------------------------------------------------------------*/
.gallery-text {
    text-align: center;
    margin-top: 7rem;
    color: var(--whiteColor);
    padding: 0 2rem;
}

.gallery-box {
  margin: -25px 0 0 0;
  padding-top: 20px;
  background-color: black;
}

.gallery-page {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 90%;
  margin: 0 auto;
  margin-top: 0.5rem;
}

.gallery-page a {
  height: 200px;
  width: 300px;
  margin: 20px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 3px 5px #000;
}

.gallery-page a img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.gallery-page a img:hover {
  transform: scale(1.1);
  transition: all 0.5s linear;
}