@font-face {
  font-family: BNaznnBd;
  src: url("../fonts/BNaznnBd.ttf") format("truetype"),
    url("../font/BNaznnBd.woff") format("woff"),
    url("../font/BNaznnBd.woff2") format("woff2");
}
@font-face {
  font-family: BNaznin;
  src: url("../fonts/BNaznin.ttf") format("truetype"),
    url("../font/BNaznin.woff") format("woff"),
    url("../font/BNaznin.woff2") format("woff2");
}
* {
  font-family: BNaznnBd;
  box-sizing: border-box;
  list-style: none;
}
a {
  text-decoration: none;
}
p {
  line-height: 2rem;
  font-size: 1.1rem;
}
ul {
  padding-right: 0;
}
.accordion-item {
  box-shadow: none !important;
}
.accordion-button {
  box-shadow: none !important;
  background-color: #3a0080bd;
  color: white;
}
.accordion-button:not(.collapsed) {
  background-color: #341e5d;
  color: white;
}
.form-control:focus {
  box-shadow: none;
  outline: none;
}
select:focus {
  box-shadow: none !important;
}
input[type="submit"] {
  background: #2f2b8d;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  width: 10rem;
  margin-top: 1rem;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  margin: 0;
}
.offcanvas-body,
.offcanvas-header {
  background-color: rgb(139, 105, 211);
}
.offcanvas-body .dropdown-toggle:focus,
.offcanvas-body .dropdown-toggle:hover {
  color: black;
}
.offcanvas-body .dropdown-menu .dropdown-item:hover,
.offcanvas-body .dropdown-menu .dropdown-item:focus {
  background-color: #2f2b8d !important;
  color: white !important;
}
.offcanvas-body .dropdown-menu {
  width: 100%;
}
.offcanvas-body a:not(.dropdown-item) {
  color: white !important;
}
.index-menu li {
  padding: 0.5rem 1rem;
}
.index-menu li:hover {
  background: #2f2b8d;
  border-radius: 0.3rem;
}
.index-menu li:hover a {
  color: white !important;
}
.dropdown-item {
  color: black !important;
}
.dropdown-item:hover {
  background: #2f2b8d;
  color: white;
}
.index-menu .dropdown-toggle {
  margin: 0 !important;
  padding: 0 !important;
}
main {
  background-color: ghostwhite;
}
.header {
  background-color: #fcfafe;
}
.header-menu {
  min-height: 10rem;
}
.header-menu img {
  transition: transform 0.5s ease-in-out;
}

.header-menu img:hover {
  transform: rotateX(180deg);
}
.header-menu a {
  color: black;
}
.header-menu a:hover {
  color: white;
}
.header-menu .dropdown .btn {
  --bs-btn-color: black;
  border: none;
}
.header-menu .dropdown-menu {
  background-color: white !important;
}

.header-menu .dropdown-menu .dropdown-item {
  color: black !important;
}

.header-menu .dropdown-menu .dropdown-item:hover {
  background: #2f2b8d;
  color: white !important;
}
.container-top-header-tell {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 0.3rem 0;
}
.top-header-tell {
  background: #2f2b8d;
  border-radius: 2rem;
  padding: 0.2rem 0.5rem;
  color: white;
  margin-left: 5%;
}
.top-header-tell:hover {
  box-shadow: 0 0 2px black;
}
.btn-register-login a {
  background: #2f2b8d;
}
.btn-register-login-offcanvas {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.btn-register-login-offcanvas a {
  background-color: #10093b;
  padding: 0.3rem 3rem;
  width: 9rem;
  text-align: center;
}
.introduce-container {
  height: 40rem;
  background-image: url("../img/clipart-royalty-free-library-pink-wallpaper-lines-gradient.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.introduce-container img {
  width: 36rem;
  border-radius: 3rem;
  box-shadow: 0 0 8px purple;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.introduce-container img {
  animation: float 2s infinite ease-in-out;
}
.introduce-container h1 {
  color: purple;
  text-shadow: 2px 2px plum;
}
.container-site-history {
  width: 100%;
  text-align: center;
  background-image: url("../img/23eba5278f2db09b9c8ec794ca21a8cd.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 2rem;
}
.container-site-history h2 {
  width: 100%;
  text-align: center;
  background-color: #341e5d;
  padding: 1rem;
}
.site-history {
  padding: 3rem 2rem 2rem;
  margin: 1rem auto 2rem;
  color: #2f2b8d;
  gap: 2rem;
}
.container-Services {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  perspective: 1000rem;
  margin-bottom: 4rem;
  background-image: url("../img/2402f3a7a7b6823606a49f637231aff2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin: 2rem auto 0;
}
.container-Services-items {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  background-color: white;
  padding: 2rem;
  width: 26rem;
  margin-bottom: 1rem;
  transition: transform 0.7s ease, box-shadow 0.7s ease;
  border: 1px solid gainsboro;
  border-radius: 1rem;
  box-shadow: 0 0 8px #3a0080;
}

.container-Services-items a {
  color: #3a0180 !important;
}
.container-Services-items img {
  width: 5rem;
}
.container-Services-title {
  padding: 1rem;
  background-color: #341e5d;
  color: white;
  border-radius: 1rem;
  width: 100%;
  margin-bottom: 1rem;
}

.container-Services-items:hover {
  transform: translateZ(0.001px) scale(1);
  box-shadow: 0 0 18px #3a0080;
}
.container-Services-items img {
  transition: transform 0.5s ease-in-out;
}
.container-Services-items:hover img {
  transform: rotateX(360deg);
}
.container-Services-items:hover a {
  color: #3a0180;
}
.container-Services-items a {
  color: #6a7680;
  font-size: 1.2rem;
}
.container-property-rayana {
  display: flex;
  flex-direction: column;
  margin: 1.5rem auto 0;
  align-items: center;
}
.container-property-rayana h2 {
  color: #3a0080;
}
.container-property-rayana-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.container-property-rayana-items {
  text-align: center;
  margin: 0 0.6rem;
  width: 15rem;
}
.container-property-rayana-items img {
  width: 6rem;
  width: 100px;
  transition: transform 0.5s ease-in-out;
}
.container-property-rayana-items img:hover {
  transform: rotateY(360deg);
}
.container-property-rayana-item .middle-img {
  width: 40rem;
  margin-bottom: 1rem;
}
.plans {
  padding: 0 0 4rem 0;
  background-image: url("../img/23eba5278f2db09b9c8ec794ca21a8cd.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-bottom: 2rem;
}
.plans h2 {
  background: #341e5d;
  width: 100%;
  color: white;
  padding: 1rem;
}
.container-plans {
  margin-top: 4rem;
}
.plans-item {
  border: 1px solid #2f2b8d;
  color: #2f2b8d;
  border-radius: 1rem;
  background-color: white;
}
.why-rayanaweb {
  padding: 3rem;
  background-image: url("../img/file44776.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.why-rayanaweb h2 {
  text-shadow: 2px 2px #2f2b8d;
}
.container-why-rayanaweb {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.container-why-rayanaweb-item {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  color: #2f2b8d;
  position: relative;
  background: white;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}
.container-why-rayanaweb-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(108, 33, 206, 0.3);
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
}

.container-why-rayanaweb-item:hover::before {
  transform: translateX(100%);
  opacity: 1;
}

.container-why-rayanaweb-item:hover {
  transform: scale(1.05);
}
.consultation-container {
  background-image: url("../img/tekstura-texture-fioletovyy.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 26rem;
  margin: 1rem auto 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  padding: 4rem 2rem;
  gap: 2rem;
}
.consultation-container-right {
  background-color: rgba(52, 53, 136, 0.25);
  color: white;
  padding: 20px;
  height: 26rem;
  flex: 1;
  border-radius: 1rem;
  border: 2px solid #2f2b8d;
}
.consultation-container-left {
  background-image: url("../img/website-development-consultant.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 26rem;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.5); /* ایجاد لایه تیره */
  background-blend-mode: darken;
  flex: 1;
  border-radius: 1rem;
  border: 2px solid #2f2b8d;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.consultation-container-left-inputs {
  width: 49%;
}
.container-contact {
  padding: 2rem 1rem;
  background-image: url("../img/purple-downloads.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 2rem 0;
}
.container-contact h4 {
  color: white;
  text-shadow: 1px 1px black;
}
.container-contacts {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  gap: 1rem;
  align-items: center;
}
.container-contacts-items {
  background-color: #2f2b8d;
  padding: 0.8rem 0;
  border-radius: 0.5rem;
  width: 11rem;
  box-shadow: 3px 3px 3px #3d1579ba;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container-contacts-items:hover {
  background-color: transparent !important;
  outline: 3px solid #341e5d;
}
.container-contacts-items:hover i,
.container-contacts-items:hover span {
  color: black !important;
}
.container-support {
  margin: 2rem auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.container-support-options {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #9932cc;
  width: 32rem;
  height: 22rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 0 20px rgba(147, 41, 245, 0.6);
  transition: all 0.5s ease-in-out;
}
.container-support-options:hover {
  box-shadow: 0 0 30px rgba(147, 41, 245, 0.9);
}

.container-support-options h2 {
  font-size: 4rem;
  color: #9932cc;
}
.container-support-options h5 {
  font-size: 1.6rem;
}
.container-support-options:hover {
  background-color: #341e5d;
  color: white;
}

.container-support-options:hover h2 {
  color: white;
}
.Projects {
  background-image: url("../img/tekstura-texture-fioletovyy.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-bottom: 2rem;
}
.Projects h2 {
  background: #341e5d;
  width: 100%;
  color: white;
  padding: 1rem;
}
.Projects .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.Projects .card-body .btn {
  background-color: #2f2b8d;
  color: white;
}
.Projects .card {
  transition: transform 0.3s ease-in-out;
}
.Projects .card:hover {
  transform: translatey(-5px);
}
.Projects .card:hover .btn {
  background-color: transparent;
  color: #2f2b8d;
  outline: 2px solid #2f2b8d;
}
.questions {
  margin: 2rem auto;
  padding: 4rem;
  background-image: url("../img/shroud_lines_purple-1184384.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 43rem;
}
#accordionquestions {
  max-width: 50rem;
  margin: 0 auto;
}
.footer {
  background-color: #0d0f1b;
  color: white;
  padding: 3rem;
}
.footer-items {
  width: 20rem;
  text-align: center;
}
.footer-items a {
  font-size: 1.2rem;
  color: white;
}
.footer-down {
  background-color: #1c2e44;
}
.container-404 {
  padding: 6rem 0;
  width: 42rem;
  text-align: center;
  background-color: rgba(160, 165, 234, 0.7);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  margin: 24rem auto;
}
.container-404 a {
  background-color: #341e5d;
  padding: 1rem;
  border-radius: 1rem;
  color: white;
}
@media (max-width: 1200px) {
  .container-property-rayana-item .middle-img {
    display: none;
  }
}

@media (max-width: 992px) {
  .consultation-container-left-inputs {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .index-menu {
    display: none !important;
  }
  .introduce-container img {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    display: block;
  }
  .site-history {
    padding: 1rem;
  }
  .container-Services-items {
    width: 92%;
  }
  .form-control {
    width: 100%;
  }
  .consultation-container-right,
  .consultation-container-left {
    width: 100%;
  }
  input[type="submit"] {
    width: 100%;
  }
  .footer-items {
    margin-bottom: 3rem;
  }
  .questions {
    padding: 1rem;
    height: 53rem;
  }
  #accordionquestions {
    width: 100%;
  }
  .container-support-options {
    width: 92%;
  }
  .why-rayanaweb {
    padding: 2rem;
  }
  .consultation-container {
    flex-direction: column;
    padding: 1rem;
  }
  .container-404 {
    width: 100%;
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .offcanvasRight {
    display: none;
  }
  .consultation-container-right,
  .consultation-container-left {
    max-width: 48%;
  }
}
@media (max-width: 576px) {
  .why-rayanaweb {
    padding: 1rem;
  }
}
