/* Global styles */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
}
@font-face {
  font-family: 'IranSans';
  src: url('https://hpuzzle.com/digitalmorph/WebFonts/fonts/IranSans.eot');
  src: url('https://hpuzzle.com/digitalmorph/WebFonts/fonts/IranSans.eot?#iefix') format('embedded-opentype'),
       url('https://hpuzzle.com/digitalmorph/WebFonts/fonts/IranSans.woff2') format('woff2'),
       url('https://hpuzzle.com/digitalmorph/WebFonts/fonts/IranSans.woff') format('woff'),
       url('https://hpuzzle.com/digitalmorph/WebFonts/fonts/IranSans.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;

}

:lang(ar) {
    font-family: 'IranSans', sans-serif;
}

:lang(fa) {
    font-family: 'IranSans', sans-serif;
}

h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
  color: #3c3c3c;
}


.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header styles */
header {
	height: 100vh;
	background: url('https://hpuzzle.com/wp-content/uploads/2023/04/background-1.jpg') no-repeat center center/cover;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.hero {
  background-color: #ffffffa8;
  padding: 32px;
  text-align: center;
  margin-top: 48px;
  border-radius: 5px;
}

h1 {
  font-size: 48px;
  margin-bottom: 16px;
  color: #3c3c3c;
}

p {
  font-size: 18px;
  margin-bottom: 32px;
  color: #777;
  text-align: center;

}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #0f5389d9;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 4px;
  font-size: 18px;
}

.btn:hover {
  background-color: #3E8E41;
}

/* Form styles */
label {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}

input,
textarea {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 18px;
  margin-bottom: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

input[type="submit"] {
  background-color: #4CAF50;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 18px;
}

input[type="submit"]:hover {
  background-color: #3E8E41;
}

/* Footer styles */
footer {
  background-color: #333;
  color: #FFFFFF;
  padding: 16px;
  text-align: center;
}

footer p {
  font-size: 16px;
  margin: 0;
}

#services {
  background-color: #f9f9f9;
  padding: 80px 0;
}

#services h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
  color: #3c3c3c;
}

.service-box {
  background-color: #ffffff;
  text-align: center;
  padding-bottom: 40px;
  margin-bottom: 30px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.service-box i {
  font-size: 48px;
  color: #0f5389d9;
  margin-bottom: 30px;
}

.service-box h3 {
  font-size: 24px;
  color: #3c3c3c;
  margin-bottom: 20px;
}

.service-box p {
  font-size: 18px;
  color: #777777;
}


/* Mobile styles */

@media screen and (max-width: 767px) {
  header {
    background-image: url('https://hpuzzle.com/wp-content/uploads/2023/04/mobile-background-1.jpg');
  }

}


.service-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  border-radius: 5px 5px 0px 0px;
}

.service-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  height: inherit;
}



.service-box {
  border: 1px solid #ddd;
  margin-bottom: 30px;
  text-align: center;
}

.service-box h3 {
  font-size: 24px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Three column layout for medium and larger devices */
@media (min-width: 768px) {
  .col-md-4 {
    float: left;
    width: 32%;
    margin:2px;
  }
}


.contact-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4%;

}

.contact-icons a {
  display: inline-block;
  margin: 0 10px;
}

.contact-icons a i {
  font-size: 30px;
  color: #000;
}

.contact-icons a i:hover {
  color: #007bff;
}




.language-selector label {
  margin-right: 10px;
}

.language-selector select {
  padding: 5px;
  border-radius: 5px;
  border: none;
  background-color: #ffffffbf;
  color: #333;
}