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

.html {
  font-size: 62.5%;
}

body {
  font-family: "Poppins", sans-serif;
}

/* ///////////..utility classes../////////// */

.container {
  max-width: 1200px;
  width: 100%;
  margin: auto;
}

/* This is button Контакти. */
.button-85 {
  padding: 0.6em 2em;
  border: none;
  outline: none;
  color: #0790fa;
  background: #111;
  cursor: pointer;
  position: relative;
  left: 18%;
  top: 50px;
  z-index: 0;
  border-radius: 50px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-85:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-button-85 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 50px;
}

@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.button-85:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #222;
  left: 0;
  top: 0;
  border-radius: 50px;
}

.button-85-style {
  font-size: 20px;
  padding: 7px;  /*Align text vertically*/
  width: 120px;
  height: 38px;
  text-decoration: none;
}

.button-85:hover {
  background-color: black;
  color: #33ff55;
  transition: background 0.3s ease-in-out;
}

/* Scroll to top button style. */
#scroll-top-button {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 9; /* Make sure it does not overlap */
  border-style: solid;
  border-color: #33ff55;
  border-width: 5px;
  outline: none; /* Remove outline */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-image: url("images_plam_consult_ruse/to top button-modified.png");  /* Set a image as button */
  background-size: cover; 
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
}

/* ............/navbar/............ *

/* ........./// desktop mode............/// */

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
  display: none;
}

.phone-number {
  display: none;
}

.navbar {
  box-shadow: 0px 5px 10px 0px #aaa;
  position: fixed;
  width: 100%;
  background: #fff;
  color: #000;
  opacity: 1;
  height: 65px;
  z-index: 12;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  height: 65px;
  align-items: center;
}

.menu-items {
  order: 2;
  display: flex;
}

.menu-items li {
  list-style: none;
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.menu-items a {
  text-decoration: none;
  color: #0790fa;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.menu-items a:hover {
  color: #66fb0a;
  transition: color 0.3s ease-in-out;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.logo-styling {
  max-width: 150px; 
  max-height: 99px; 
  clip-path: ellipse(50% 35%); 
  padding-left: 5px; 
  padding-right: 5px; 
  margin-bottom: 0.5rem;
}

.switch-language {
  max-width: 4rem; 
  max-height: 2rem; 
  padding-left: 5px; 
  padding-right: 5px; 
}

.switch-language img {
  max-width: 4rem; 
  max-height: 2rem; 
}

/* ............//// Showcase styling ////......... */

.showcase-area {
  background: linear-gradient(
      rgba(240, 240, 240, 0.65),
      rgba(255, 255, 255, 0.1)
    ),
    url("images_plam_consult_ruse/заглавна страница сайт малка.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100svh;
}

.showcase-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 100px;
  height: 100%;
  font-size: 2.3rem;
}

.showcase-container h2 {
  font-size: 2rem;
}

.main-title {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 1rem; 
}

/* ......//about annual closing//...... */

#about-annual-closing {
  padding: 50px 0;
  background: #f5f5f7;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.about-text h2 {
  font-size: 3rem;
  font-weight: 400;
  color: #555;
}

.about-text p {
  font-size: 1.4rem;
  color: #555;
}

.about-text-inner {
  padding-left: 20px;
}

.about-img {
  flex: 1 1 400px;
  padding: 30px;  
}

.about-text {
  flex: 1 1 400px;
  padding: 30px;
  margin: auto;
}

@keyframes about-text-animation {
  100% {
    transform: translate(0);
  }
}

.about-img img {
  display: block;
  height: 400px;
  max-width: 100%;
  margin: auto;
  object-fit: cover;
  object-position: right;
}

/* .........../Service Menu/............ */

.service-menu-heading {
  text-align: center;
  padding-top: 7rem;
}

.service-menu-heading h2 {
  font-size: 3rem;
  font-weight: 400;
  color: #666;
}

.service-menu-heading p {
  font-size: 1.8rem;
  color: #333;
  text-decoration: underline;
  max-width: 90%;
  margin: auto;
  padding-top: 10px;
}

.service-menu-container {
  display: flex;
  flex-wrap: wrap;
  padding: 50px 0px 30px 0px;
}

.service-menu-container img {
  display: block;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover; 
  object-position: center;
}

.service-menu-item {
  display: flex;
  flex: 1 1 600px;
  justify-content: space-evenly;
  margin-bottom: 3rem;
}

.service-description {
  margin: auto 1.5rem;  
}

.service-description p {
  font-size: 1.4rem;
  color: #555;
  font-weight: 500;
}

#hr-service-menu {
  background-color: #eaeaea;
}


/* ........./ company-registration /.......... */

#company-registration {
  padding: 7rem 0;
  background: rgba(243, 243, 243);
}

.company-registration-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 400;
  color: #555;
}

.company-registration-container {
  display: flex;
  justify-content: space-between;
  font-size: 1.4rem;
  padding: 1rem;
}


/* The text below the pictures*/
.company-registration-box .company-registration-text {
  margin: 2rem 0;
  color: #444;
}

/*Box with text*/
.company-registration-box {
  text-align: center;
  padding: 1rem;
  width: 30%;  /*Just added*/
}

.registration-photo img {
  display: block;
  width: 170px;  
  height: 170px;  
  object-fit: fill;  /*Was cover*/
  object-position: center;
  border-radius: 50%;  /*Cyrcle pictures*/
  border: 2px solid #0790fa;  /*Added*/
  margin: auto;
}

/* ..........////Price category///........... */

#price {
  padding: 7rem 0 10rem 0;
}

#price h2 {
  text-align: center;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 40px;
  text-transform: uppercase;
  color: #555;
}

/*Next 3 classes coppied from @media max-width 768px*/
.price-container {
  flex-direction: column;
  align-items: stretch;
  width: 70%;
}

.price-type:not(:last-child) {
  margin-bottom: 3rem;
}

.price-type {
  box-shadow: 5px 5px 10px 0 #aaa;
}

/*Coppied from @media max-width 768px and added some settings*/
.img-container {
  margin: 0;
  font-size: 1.4rem;
  padding: 1rem;
  color: #444;
  position: relative;  /*Has to be relative in order to show up the animation*/
  max-height: auto;
}

.img-container p {
  padding-left: 1.3rem;
  padding-bottom: 0.5rem;
}

.img-content {
  position: relative;
  width: 96%;
  top: 15%;  
  left: 2%;
}

.img-content p {
  padding-left: 0.25rem;
  font-size: 1rem;
  color: #444;
  text-align: left;
}

table, th, td {
  border: 1px solid #444;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: #444;
}

th, td {
  text-align: left;
  padding: 8px;
  font-size: 1rem;
}

/* ........ Contact Us........... */

#contact {
  padding: 5rem 0;
  background: rgb(226, 226, 226);
}

.contact-container {
  display: flex;
  background: linear-gradient(
      rgba(153, 191, 243, 0.144),
      rgba(99, 134, 223, 0.336)
    ),
  url("images_plam_consult_ruse/небе_2.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-form-container {
  padding: 1rem;
  width: 90%;
  margin: auto;
}

.contact-form-data {
  display: block;
  margin-left: 10%;
  font-size: 1.3rem;
}

.contact-form-data img {
  height: 2rem;
  width: 2rem;
  float: left;
  margin-right: 2%;
  border-radius: 7px;
}

.contact-form-data a {
  color: #000; 
  text-decoration: none;
}

.contact-form-container h2 {
  font-size: calc(1vw + 2rem); 
  font-weight: 500;
  color: #000; 
  margin-bottom: 1rem;
  margin-top: -0.5rem;
}

#footer h2 {
  text-align: center;
  font-size: 1.2rem;
  padding: 1.5rem;
  font-weight: 500;
  color: #fff;
  background: rgb(65, 65, 65);
}


/* ..........////Cookie consent///........... */

.cookie-consent-wrapper {
  position: fixed;
  bottom: 50px;
  display: none;  /*Was right: -600px;*/
  max-width: 500px;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  padding: 15px 25px 22px;
  transition: right 0.3s ease;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.8);
}

.cookie-consent-wrapper.show {
  display: block;  /*Just added it*/
  right: 20px;
}

.cookie-consent-wrapper header {
  display: flex;
  text-align: center;
}

header h2 {
  color: #4070f4;
  font-weight: 600;
  margin: auto;
}

.cookie-consent-wrapper .data {
  margin-top: 16px;
}

.cookie-consent-wrapper .data p {
  color: #fff;
  font-size: 16px;
}

.cookie-consent-wrapper .cookie-buttons {
  margin-top: 16px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-buttons .button {
  border: none;
  color: #fff;
  padding: 8px 0;
  font-size: 16px;
  border-radius: 4px;
  background: #4070f4;
  cursor: pointer;
  width: calc(100% / 2 - 10px);
  transition: all 0.2s ease;
}

.cookie-buttons #acceptBtn:hover {
  background-color: #034bf1;
}

#declineBtn {
  border: 2px solid #4070f4;
  background-color: #fff;
  color: #4070f4;
}

#declineBtn:hover {
  background-color: #4070f4;
  color: #fff;
}


/* ......../ media query /.......... */

@media (max-width: 768px) {
  .button-85-style {
    font-size: 15px;
    padding: 5px;  /*Align text vertically*/
    width: 90px;
    height: 29px;
  }
  
  .navbar {
    opacity: 0.95;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    display: block;
    position: relative;
    height: 64px;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 35px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 23px;
    width: 35px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #333;
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 100px;
    background: #fff;
    height: 100svh;
    max-width: 340px; 
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    box-shadow: 5px 0px 10px 0px #aaa;
  }

  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
  }

  .switch-language {
    display: block;
    position: absolute;
    top: 15px;
    left: 16vw;
    max-width: 3.2rem;
    max-height: 1.6rem;
  }

  .switch-language img {
    max-width: 3.2rem;
    max-height: 1.6rem;
  }

  .phone-number {
    display: block;
    position: absolute;
    top: 13px;
    left: 30vw;
    width: 40%;
    height: 2rem;
  }

  .phone-number img {
    height: 2rem;
    width: 2rem;
    float: left;
    margin-right: 1vw;
  }

  .phone-number p {
    height: 2rem;
    padding-top: 0.25rem;
  }

  .phone-number a {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
  }

  .logo-styling {
    position: absolute;
    max-height: 70px;
    top: -2px;   
    right: 15px;
    font-size: 2rem;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(35deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-35deg);
  }

  #scroll-top-button {
    width: 40px; 
    height: 40px; 
    border-width: 3px;
  } 

  /* ......./ price /......... */

  .price-container {
    flex-direction: column;
    align-items: stretch;
    width: 90%;
  }

  .price-type:not(:last-child) {
    margin-bottom: 3rem;
  }

  .price-type {
    box-shadow: 5px 5px 10px 0 #aaa;
  }

  .img-container {
    margin: 0;
  }

  th, td {
    padding: 5px;
    font-size: calc(0.1vw + 0.7rem);  /*Just added*/
  }

  /* ......./ company registration /......... */

  /*Company registration container*/
  .company-registration-container {
    flex-direction: column;
    text-align: center;
  }

  /*Box with text*/
  .company-registration-box {
    text-align: center;
    padding: 1rem;
    width: 100%;
  }

}

             /*Was 500px*/
@media (max-width: 550px) {
  html {
    font-size: 65%;
  }

  .switch-language {
    display: block;
    position: absolute;
    top: 16px;
    left: 16vw;
    max-width: 4.6rem;
    max-height: 2.3rem;
  }

  .switch-language img {
    max-width: 4.6rem;
    max-height: 2.3rem;
  }

  .phone-number img {
    height: 3rem;
    width: 3rem;
  }

  .phone-number p {
    height: 3rem;
    padding-top: 5px;
  }

  .phone-number a {
    font-size: 4vw;
    padding-top: 10px;
  }

  .showcase-area {
    background: linear-gradient(
        rgba(240, 240, 240, 0.65),
        rgba(255, 255, 255, 0.1)
      ),
      url("images_plam_consult_ruse/заглавна страница сайт малка 900x1200.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100svh;
  }

  .showcase-container {
    margin-left: 5%;
    margin-right: 5%;
  }
    
  .showcase-container {
    font-size: calc(1vw + 2rem);
  }

  .showcase-container h2 {
    font-size: 2.5rem;
  }

  .company-registration-container {
    flex-direction: column;
    text-align: center;
  }

  .service-menu-container img {
    margin: auto;
    width: 170px;
    height: 170px;
  }

  .service-menu-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-container {
    display: flex;
    flex-direction: column;
  }

  .contact-form-data {
    margin-left: 5%;
  }

  .contact-img {
    width: 90%;
    margin: 3rem auto;
  }

  .logo-styling {
    position: absolute;
    max-height: 70px;
    top: -2px;  
    right: 15px;
    font-size: 3rem;
  }

  .navbar .menu-items li {
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    font-weight: 500;
  }

  th, td {
    padding: 3px;
    font-size: 0.7rem;
  }

  .cookie-consent-wrapper {
    max-width: calc(100% - 40px);
    margin-left: 10px;
  }

}

/*From .navbar down to .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3
coppied from @media (max-width: 768px) on 26012025*/
@media (min-width: 769px) and (max-width: 1200px) {

  .button-85-style {
    font-size: 15px;
    padding: 5px;  /*Used it to align text vertically*/
    width: 90px;
    height: 29px;
  }

  .navbar {
    opacity: 0.95;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    display: block;
    position: relative;
    height: 64px;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 35px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 23px;
    width: 35px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #333;
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 100px;
    background: #fff;
    height: 100svh;
    max-width: 350px;  
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    box-shadow: 5px 0px 10px 0px #aaa;
  }

  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
  }

  .switch-language {
    display: block;
    position: absolute;
    top: 15px;
    left: 20vw;
  }

  .phone-number {
    display: block;
    position: absolute;
    top: 13px;
    left: 35vw;
    width: 35%;
    height: 2rem;
  }

  .phone-number img {
    height: 2rem;
    width: 2rem;
    float: left;
    margin-right: 1vw;
  }

  .phone-number p {
    height: 2rem;
    padding-top: 0.25rem;
  }

  .phone-number a {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
  }

  .logo-styling {
    position: absolute;
    max-height: 75px;
    top: -2px;   
    right: 15px;
    font-size: 3rem;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(35deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-35deg);
  }

  #scroll-top-button {
    width: 40px; 
    height: 40px; 
    border-width: 3px;
  }

  /* ......./ price /......... */

  th, td {
    padding: 6px;
    font-size: 0.8rem;
  }

}


@media (orientation: landscape) and (max-height: 500px) {
  .showcase-area {
    height: 50vmax;
  }

}
