body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  font-size:16px;
}

.container {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  line-height: 1.3;
}

.maintext{
  padding:40px 20px;
}

.container p{
  margin-bottom:15px;

}

h2{
font-size:48px;
margin-bottom:15px;  
}


.header {
  min-height: 90px;  
  background-color: #fff;
}

.header .container{
  display: flex;
  align-items: center;
  justify-content: space-between; 
}

.header-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}

.logo-image { 
  margin-right: 10px;
  margin-top:20px;
}

.company-name {
  font-size: 38px;
  font-weight: 800;
  font-style: italic;  
  margin: 0;
  color: #666;
}

.company-name span{
  color: #000;
}

.tagline {
  font-size: 12px;
  font-weight: 400;
  margin-left: 3px;
  line-height: 0;
}

.header-contact {
  display: flex;
  align-items: center;
  margin-left:70px;
}

.social-icons {
  display: flex;
}

.social-icon {
  margin: 0 5px;
}

.icon-image {
  width: 36px;
  height: 36px;
}

.phone-number {
  display: block;
  margin-left: 10px;
  color: #666;
}

.phone-link {
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}

.btn {
  display: block;
  padding: 6px 16px;
  background-color: #cc0000;
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  border:2px solid #cc0000;
}

.btn:hover {
  background-color: #990000;  
}

.btn.white {
  background-color: rgba(0,0,0,0.5);
  color: #FFF;
  border:2px solid #FFF;
}

.btn.white:hover {
  background-color: rgba(255,255,255,0.2);
}

.main-nav {
  background-color: #000;
}

.main_menu ul{
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; 
}

.main_menu li{
  flex: 1 1 auto;
  text-align: center;
}

.main_menu li a{
  display: block;
  padding: 15px 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #cccccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.main_menu li a:hover {
  background-color: #222;
  color: #fff;
}

.video-text-container .container{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin:40px auto;  
}

.video-wrapper {
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  width: 30%; 
  aspect-ratio: 9 / 16;
  max-height: 100vh;
  overflow: hidden;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  z-index: 2;
}

.actual-video {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.text-content {
  flex-grow: 1;
  max-width: 60%;
  margin-left:5%;
}

.sandblasting .content{
color: #fff;  
}

.sandblasting .background-container {
  position: relative;
  width: 100%;
  padding: 40px 0 60px 0;
  background-image: url('/images/bg_sandblasting.png');
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}


.sandblasting .background-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, #000, rgba(0, 0, 0, 0)); 
  z-index: 0;
}

.sandblasting .left-column {
  width: 50%;
}

.sandblasting .title {
  font-size: 48px;
  font-weight: 400;
  margin: 20px 0;
}

.sandblasting .description {
  margin-bottom: 30px;
}

.sandblasting .buttons {
  display: flex;
  gap: 10px;
}


.welding .content{
color: #fff;  
display: flex;  
 justify-content: space-between;   
}

.welding .background-container {
  position: relative;
  width: 100%;
  padding: 40px 0 60px 0;
  background-image: url('/images/bg_welding.png?1');
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}


.welding .background-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(to left, #000, rgba(0, 0, 0, 0)); 
  z-index: 0;
}

.welding .right-column {
  width: 50%;
}

.welding .title {
  font-size: 48px;
  font-weight: 400;
  margin: 20px 0;
}

.welding .description {
  margin-bottom: 30px;
}

.welding .buttons {
  display: flex;
  gap: 10px;
}

.anticorrosion .content{
color: #fff;  
}

.anticorrosion .background-container {
  position: relative;
  width: 100%;
  padding: 40px 0 60px 0;
  background-image: url('/images/bg_anticorrosion.png');
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}


.anticorrosion .background-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, #000, rgba(0, 0, 0, 0)); 
  z-index: 0;
}

.anticorrosion .left-column {
  width: 50%;
}

.anticorrosion .title {
  font-size: 48px;
  font-weight: 400;
  margin: 20px 0;
}

.anticorrosion .description {
  margin-bottom: 30px;
}

.anticorrosion .buttons {
  display: flex;
  gap: 10px;
}

.sandblasting .background-container, 
.welding .background-container, 
.anticorrosion .background-container {
  padding:5vw 0 10vw 0;
}

.portfolio {
  padding: 60px 0;
  background-color: #ededed;
}

.portfolio h3 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 48px;
  font-weight: 400;
}

.portfolio ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.portfolio li {
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: left; 
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background: #fff;
  padding:0 20px;
  border-radius:5px;
}

.portfolio li a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;  
  width: 100%;
  font-size:14px;
  font-weight:600;
}

.portfolio li img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  margin-bottom:10px;
  border-radius: 5px;
}

.portfolio li a::after {
  content: attr(title);
  display: block;
  padding: 15px 15px 0 15px;
  font-size: 1px;
}

.partners {
  padding: 60px 0;  
}

.partners h3 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 48px;
  font-weight: 400;
}

.partners ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.partners li {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 calc(25% - 22.5px); 
  max-width: 25%;
  min-width: 150px;
  box-sizing: border-box;
}

.partners img {
  max-width: 100%;
  height: auto;
  display: block;
}


.feedback {
  background-image: url('/images/bg_feedback.png');
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  color: #fff; 
}

.feedback a{
  color: #fff;   
}

.feedback .content {
  display: flex;
  gap: 40px;
}

.feedback .left-column,
.feedback .right-column {
  flex: 1;
  padding:0 5%;
}

.feedback form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feedback input[type="text"],
.feedback textarea {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  color: black; 
}

.feedback textarea {
  height:90px;
  resize: none;
}

.feedback .btn{
  margin:0 auto 10px auto;
  width:calc(100% - 60px);
  min-width: 200px;
  padding:10px
}

.feedback input[name="img_code"]{
  font-size: 14px;
  padding:5px;
}

.feedback small{
 display: block;
  margin:0 auto;
  text-align: center;
}

.feedback .right-column{
  margin-top:70px;
}

.feedback .right-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feedback .right-column li {
  position: relative;
  padding-left: 90px;
  margin: 20px 0;
}

.feedback .right-column b{
  display: block;
}

.feedback .right-column li::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 37px;
  height: 37px;
  background-image: url('/images/icons.png');
  background-repeat: no-repeat;
  background-size: cover;
}


.feedback .right-column li:nth-child(1)::before {
  background-position: 0 0;
}

.feedback .right-column li:nth-child(2)::before {
  background-position: 0px -70px;
}

.feedback .right-column li:nth-child(3)::before {
  background-position: 0px -143px;
}


.feedback .left-column small {
  font-size: 0.8rem;
}

.copyrights {
  background-color: #333333;
  color: #fff;
  padding: 30px 0;
}

.copyrights a {
  color: #fff;
  text-decoration: none;
}

.copyrights a:hover {
  text-decoration: none;
}

.copyrights .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.copyrights-left,
.copyrights-right { 
  font-size: 16px;
  height:50px;
}

.copyrights-right {
  text-align: right;
}

.copyrights-left::before {
  content: '';
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url('/images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;  
  float: left;
  margin-right:10px;
}

.copyrights-right .ribena-logo {  
  margin-left: 5px;
  float:right;
}

/***********************************************************************************************/

@media (max-width: 768px) {
  
  h2{
font-size:28px;
margin-bottom:5px;  
}
 
  
  .header .container{  
    flex-direction: column;
    align-items:center;
    padding: 0px 0;
    margin-bottom: 20px;
  }

  .header-link {
    margin-bottom: 10px;
  }

  .header-contact {
    flex-direction: column;
    align-items: flex-start;
    margin-left:0px;
  }  

  .phone-number {
    margin: 20px 10px;
  }
  
.main_menu li {
    flex: 1 1 100%;
  }

.main_menu li a {
    font-size: 16px;
    padding: 12px 0;
  }

  .video-wrapper {
    width: 100%;
    aspect-ratio: 9 / 16;
  }

  .text-content {
    width: 100%;
    max-width: 100%;
    margin:0;
  }
   .sandblasting .content {
    flex-direction: column-reverse;
  }

  .sandblasting .left-column {
    width: 100%;
  }
.sandblasting .background-container {
  padding: 300px 0 60px 0;
  background-image: url('/images/bg_sandblasting.png');
  background-size: cover;
  background-position: 70%;
  overflow: hidden;
}

  .sandblasting .background-container::before {
    width: 100%;
    background: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
  }
  
  .sandblasting .title{
    font-size:42px;
  }

  .welding .content {
    flex-direction: column-reverse;
  }

  .welding .right-column {
    width: 100%;
  }
.welding .background-container {
  padding: 300px 0 60px 0;
  background-image: url('/images/bg_welding.png');
  background-size: cover;
  background-position: 25%;
  overflow: hidden;
}

  .welding .background-container::before {
    width: 100%;
    background: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
  }
  
  .welding .title{
    font-size:42px;
  }  
   .anticorrosion .content {
    flex-direction: column-reverse;
  }

  .anticorrosion .left-column {
    width: 100%;
  }
.anticorrosion .background-container {
  padding: 300px 0 60px 0;
  background-image: url('/images/bg_anticorrosion.png');
  background-size: cover;
  background-position: 85%;
  overflow: hidden;
}

  .anticorrosion .background-container::before {
    width: 100%;
    background: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
  }
  
  .anticorrosion .title{
    font-size:34px;
    font-weight: 600;
  }

  .portfolio ul {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feedback .content {
    flex-direction: column;
  }
  .feedback .left-column {
    order: 2; 
  }
  .feedback .right-column {
    order: 1; 
  }
.feedback .left-column,
.feedback .right-column {
  flex: 1;
  padding:0 20px;
}
.portfolio li { 
  padding:0 5px;
}
  
}