:root {
  --body-color: #202020;
  --primary-text-color: #f5f5f5;
  --secendary-text-color: #dddddd;
  --box-color: #242424;
  --color-orange: #fd4e0e;
  --color-emerald: #01a9c1;
  --color-burgundy: #8b0043;
  --color-pink-carnation: #de91c5;
  --color-lime: #95a306;
  --brand-color: var(--color-emerald);
  --border-radius: 17px;
  --bs-carousel-indicator-active-bg: var(--brand-color);
}

body.dark-mode {
  --body-color: #f9f7f7;
  --primary-text-color: #131313;
  --secendary-text-color: #242424;
  --box-color: #f3f3f3;
  --brand-color: var(--color-emerald);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: 'https://fonts.googleapis.com/css2?family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&display=swap', sans-serif;
  color: var(--primary-text-color);
  background-color: var(--body-color);
  text-align: left;
  position: relative;
  width: 100%;
  direction: ltr;
  text-align: start;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

.container {
  overflow: hidden;
}

.home-rtl {
  text-align: right;
}

.switch-button {
  border-radius: 50%;
  border: none;
  outline: none;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-left: 12px;
  border: 0.5px solid var(--brand-color);
}

.dark-mode .header {
  background-color: #f9f7f7d0;
  backdrop-filter: blur(12px);
  box-shadow: 0px 12px 17px -17px var(--brand-color);
}

.dark-mode .btn{
  color: var(--box-color);
}

.btn-light-mode {
  background-color: var(--box-color);
  color: var(--primaryColor);
}

::selection {
  color: var(--body-color);
  background-color: var(--brand-color);
}

.title {
  color: var(--primary-text-color);
  font-size: 54px;
  text-transform: capitalize;
  font-weight: bold;
  position: relative;
  text-align: start;
}

.sub-title {
  color: var(--primary-text-color);
  font-size: 28px;
  font-weight: bold;
  position: relative;
  text-transform: capitalize;
  text-align: start;
}

.unique-text {
  color: var(--brand-color);
}

a,
a:hover,
a:focus {
  text-decoration: none;
  color: unset;
}

.navbar-brand{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  
  img{
    width: 50px;
    height: 50px;
    object-fit: contain;
  }

  h1{
    color: var(--brand-color);
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s linear;
    margin: 0;
  }

  &:hover h1,
  &:focus h1{
    transform: translateY(-4px);
  }
}

.logo,
.logo:hover {
  color: var(--brand-color);
}

.bg-box {
  background-color: var(--box-color);
  border-radius: var(--border-radius);
}

.btn {
  background-color: var(--brand-color);
  color: var(--primary-text-color);
  font-weight: 800;
  border-radius: var(--border-radius);
  padding: 12px 17px;
  font-size: 14px;
  width: fit-content;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  justify-content: center;
  text-transform: capitalize;
  align-items: center;
  text-align: center;
  letter-spacing: 0.5px;
  outline: none;
  font-weight: 600;
  cursor: pointer;
  z-index: 1;
  border: solid 2px var(--brand-color);
}

.btn:hover {
  color: var(--primary-text-color);
  background-color: var(--body-color);
  border: solid 2px var(--brand-color);
}

.learn-more {
  text-transform: capitalize;
  color: var(--brand-color);
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  background-color: transparent;
  display: flex;
  align-items: center;
}

.learn-more:hover {
  color: var(--primary-text-color);
}

.learn-more .bi {
  font-size: 22px;
  margin-inline: 5px;
}


@media (max-width: 768px) {
  .btn {
    padding: 6px 17px;
    font-size: 17px;
  }

  img {
    height: auto !important;
  }

  .title {
    font-size: 32px;
  }

  .title-2 {
    font-size: 17px;
  }

  .pretitle {
    font-size: 14px;
  }

  p {
    font-size: 14;
    line-height: 28;
  }
}

p {
  color: var(--secendary-text-color);
  font-size: 17px;
  line-height: 32px;
  font-weight: 300;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  border-radius: var(--border-radius);
}


#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--body-color);
  z-index: 9999;
}

.spinner {
  position: absolute;
  top: 45%;
  left: 45%;
  border: 16px solid #e6e6e6;
  border-top: 16px solid var(--brand-color);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



#progress {
  position: fixed;
  bottom: 17px;
  right: 12px;
  height: 70px;
  width: 70px;
  display: none;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 800;
}

#progress-value {
  display: block;
  height: calc(100% - 15px);
  width: calc(100% - 15px);
  border-radius: 50%;
  display: grid;
  background-color: var(--body-color);
  place-items: center;
  font-size: 35px;
  color: var(--brand-color);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #242424d0;
  backdrop-filter: blur(12px);
  width: 100%;
  z-index: 100;
  box-shadow: 0px 12px 17px -17px var(--brand-color);
}

.navbar {
  z-index: 900;
}

.navbar .container {
  overflow: visible !important;
}

.navbar ul li a {
  font-weight: 400;
  text-transform: capitalize;
  margin-inline: 12px;
  color: var(--secendary-text-color);
}

.navbar ul .dropdown-menu {
  background-color: var(--box-color) !important;
  color: var(--secendary-text-color);
}

.navbar ul .dropdown-menu .dropdown-item:hover {
  background-color: transparent !important;
}

.navbar-toggler i {
  color: var(--primary-text-color) !important;
  font-size: 32px;
}

.navbar-toggler,
.navbar-toggler:active,
.navbar-toggler:focus {
  border: none;
  box-shadow: none;
}

.navbar ul li a:hover {
  color: var(--brand-color);
}


.hero {
  margin-top: 10rem;
  position: relative;
  padding: 60px 0;

  .btn{
    margin-bottom: 17px;
  }
}

.hero .hero-text .title {
  font-size: 50px;
  line-height: 65px;
}

@media (max-width: 768px) {
  .hero .hero-text .title {
    font-size: 32px;
    line-height: 44px;
  }
}

.hero .hero-text .icons .icon {
  background-color: var(--brand-color);
  color: var(--body-color);
  border-radius: 50%;
  margin-inline: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .hero-text .icons i {
  font-size: 17px;
}

@media (min-width: 893px){

  .hero .hero-images .hero-img {
    height: 500px;
  }
}

.hero .hero-images .hero-img img {
  border-radius: var(--border-radius);
  object-fit: cover;
  overflow: hidden;
  height: 100%;
  width: 100%;
  transition: linear 0.5s;

  &:hover,
  &:focus{
    transform: scale(1.02);
  }
}

.hero .hero-numbers .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero .hero-numbers .box h2 {
  font-size: 55px;
  color: var(--brand-color);
  font-weight: bold;
  text-align: center;
}

.hero .hero-numbers .box h6 {
  color: var(--secendary-text-color);
  font-size: 17px;
  font-weight: 400;
}


.services .service-title {
  font-size: 30px;
  color: var(--primary-text-color);
  font-weight: bold;
  position: relative;
  width: 100%;
  display: inline-block;
  transition: 0.3s linear;

  &:hover,
  &:focus{
    color: var(--brand-color);
  }
}

@media (max-width: 768px) {
  .services .service-title {
    font-size: 20px;
  }

  .services .service-title::before {
    visibility: hidden;
  }
  .about .feature-title .sub-title::after {
    visibility: hidden;
  }
}

.services .service-title::before {
  position: absolute;
  content: "";
  top: 100%;
  background-color: var(--brand-color);
  width: 60px;
  height: 7px;
  border-radius: var(--border-radius);
}

.home-rtl .service-title::before {
  right: 0;
}

.about .feature-title .sub-title {
  position: relative;
}

.about .feature-title .sub-title::after {
  position: absolute;
  content: "";
  width: 80px;
  height: 6px;
  left: 0;
  top: 100%;
  background-color: var(--brand-color);
  border-radius: var(--border-radius);
}

.home-rtl .about .feature-title .sub-title::after {
  display: none;
}

.about .feature-title i {
  font-size: 30px;
  color: var(--brand-color);
}

.portfolio a{
  transition: 0.3s linear;

  &:hover,
  &:focus{
    color: var(--brand-color);
  }
}

.portfolio img {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  height: 450px;
  object-fit: cover;
}

.portfolio-icon {
  font-size: 42px;
  color: var(--brand-color);
}

.testimonials h3 {
  font-size: 30px;
  text-transform: capitalize;
  font-weight: 500;
}

.testimonials h6 {
  font-size: 17px;
  text-transform: capitalize;
  font-weight: 300;
  margin-block: 5px;
  color: var(--secendary-text-color);
}

.testimonials p {
  font-size: 22px;
}

.testimonials img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.testimonials i {
  font-size: 30px;
  color: var(--brand-color);
}

.blog img {
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.blog h4 {
  color: var(--secendary-text-color);
  font-size: 17px;
  text-transform: capitalize;
  font-weight: 400;

  span{
    text-transform: lowercase !important;
  }
}

.blog .blog-title {
  text-transform: capitalize;
  font-weight: 600;
  font-size: clamp(24px, 4vw, 34px);
  display: inline-block;
  transition: 0.3s linear;

  &:hover,
  &:focus{
    color: var(--brand-color);
  }
}

.blog-single img {
  height: auto;
  width: 100%;
  object-fit: contain;
}

.blog-single h4 {
  font-size: 24px;
}

.blog-single h2 {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: bold;
  color: var(--primary-text-color);
}

.blog-single p {
  font-size: 17px;
}

.newsletter .form {
  display: flex;
  justify-content: space-between;
  height: 45px;
  border: 2px solid var(--primary-text-color);
  border-radius: var(--border-radius);
}

.newsletter .form input {
  border: 0;
  outline: 0;
  font-size: 17px;
  flex: 0.75;
  padding-left: 12px;
}

.newsletter .form button {
  color: var(--body-color);
  background-color: var(--primary-text-color);
  height: 100%;
  flex: 0.25;
  border: 0;
  outline: 0;
}

.faq i {
  font-size: 22px;
  color: var(--primary-text-color);
}

.faq h5 {
  font-size: 26px;
  font-weight: 600;
  color: var(--primary-text-color);
}

.faq h4 {
  font-size: 22px;
  font-weight: 400;
}

.rotate-icon {
  transition: transform 0.3s ease-in-out;
}

.rotate-icon.rotated {
  transform: rotate(180deg);
}

.contact i {
  font-size: 35px;
  color: var(--brand-color);
}

.contact h5 {
  font-size: 17px;
  font-weight: 400;
  color: var(--secendary-text-color);
}

.testimonials .main-form h6,
.contact .main-form h6 {
  font-size: 17px;
  font-weight: 300;
  color: var(--secendary-text-color);
}

.testimonials .main-form input,
.testimonials .main-form textarea,
.contact .main-form input,
.contact .main-form textarea {
  width: 100%;
  padding: 17px;
  border: none;
  outline: none;
  background-color: var(--box-color);
  border-radius: var(--border-radius);
  color: var(--primary-text-color);
}

.footer {
  background-color: var(--box-color);
  border-radius: 40px 40px 0 0;
}

.footer .box p {
  color: var(--secendary-text-color);
  font-weight: 400;
}

.footer .box i {
  color: var(--brand-color);
  font-size: 17px;
}

.footer h4 {
  color: var(--primary-text-color);
  font-size: 17px;
  font-weight: 600;
}

.footer ul {
  margin: 0;
  padding: 0;
}

.footer ul li {
  margin: 1rem 0;
  color: var(--primary-text-color);
  cursor: pointer;
}

.footer ul li a {
  font-size: 12px;
  font-weight: 300;
  text-transform: capitalize;
  color: var(--primary-text-color);
}

.footer ul li a i {
  font-size: 12px;
}

.footer .copyrights a {
  color: var(--secendary-text-color);
}

.footer .copyrights p {
  color: var(--secendary-text-color);
}

.fzf {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fzf .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.fzf .content h1 {
  font-size: 200px;
  font-weight: bold;
  color: var(--brand-color);
}

.fzf .content h2 {
  font-size: 65px;
  font-weight: bold;
  color: var(--primary-text-color);
}

.first-word  {
  color: var(--brand-color); 
}

.navbar-expand-xl .navbar-nav{
  flex-wrap: wrap;
  justify-content: center;
}

.price-plan{
  padding: 17px;
}
.plan{
  border: 1px solid var(--brand-color);
  padding: 40px 17px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 17px;
  justify-content: center;
}

.price{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
}


.modal {
  position: fixed;
  bottom: -300%;
  left: 0;
  width: 100%;
  height: auto;
  background: rgba(0, 0, 0, 0.8);
  transition: bottom 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  z-index: 1050;
  display: block;
  pointer-events: none;
}

.modal.show {
  bottom: 0;
  opacity: 1;
  pointer-events: auto;
  direction: ltr !important;

  .btn{
    margin-top: 17px;
  }
}

.modal-dialog {
  border-radius: 12px 12px 0 0;
  padding: 17px;
  max-width: 1000px;
  transform: translate(-50%, -50%) !important;
  top: 50%;
  left: 50%;
  margin: 0;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
  top: 17px;
  right: 17px;
  position: absolute;

  &:hover,
  &:focus{
    color: var(--brand-color);
  }
}


body.dark-mode {
  .modal-content{
    color: #131313;
    background-color: #FFF;
  }

  .btn-close {
    color: #131313;
  }

  .form-control{
    background-color: #fff;
    color: #131313;
  
    &:focus{
      background-color: #fff !important;
      color: #131313 !important;
      box-shadow: 3px 3px 12px var(--brand-color), -3px -3px 12px var(--brand-color);
    }
  }
}

.modal-content{
  background-color: #131313;
  color: #fff;
  border: 1px solid var(--brand-color);
}

.form-control{
  background-color: #131313;
  color: #fff;
  border: 1px solid var(--brand-color);

  &:focus{
    background-color: #131313 !important;
    color: #fff !important;
    border: 1px solid var(--brand-color);
    box-shadow: 3px 3px 12px var(--brand-color), -3px -3px 12px var(--brand-color);
  }
}


.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  vertical-align: middle;
  margin-right: 12px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background-color: var(--brand-color);
}

.switch input:checked + .slider:before {
  transform: translateX(26px);
}

.billing-label {
  display: inline-block;
  font-size: 14px;
  vertical-align: middle;
}

.active-price{
  color: var(--brand-color);
}

.form-privacy{
  color: var(--brand-color);
}

.custom-checkbox {
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  font-size: 17px;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.custom-checkbox input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  left: 0;
  height: 0;
  width: 0;
}

.custom-checkbox .checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 22px;
  width: 22px;
  background-color: #eee;
  border-radius: 4px;
  border: 2px solid #ccc;
  transition: all 0.2s ease;
}

.custom-checkbox:hover .checkmark {
  background-color: #f1f1f1;
  border-color: #888;
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--brand-color); 
  border-color: var(--brand-color);
}

.custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark::after {
  display: block;
}

.custom-checkbox .checkmark::after {
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#pricingForm{
  display: flex;
  flex-direction: column;
  gap: 7px;

}

.plan-cta,
.plan-list,
.billing-switch,
.plan-head{
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.plane-name{
  color: var(--brand-color);
}

.plan-list{
  padding: 0;
}

.map{
  margin-top: 70px;
  width: 100%;
  height: 500px;

  iframe{
    width: 100%;
    height: 100%;
    border: 1px solid var(--brand-color);
    border-radius: 12px;
  }
}


.section-top{
  margin-top: 150px !important;
}


.service-single-box,
.blog-single-box{
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.no-comments-text,
#moderation-message{
  margin-top: 40px;
  color: var(--brand-color);
  font-weight: 700;
  text-align: center;
}
.hidden-message{
  display: none;
}

#reply{
  max-width: 1000px;
}

.portfolio-single-img{
  float: left;
  padding: 17px;
}

.portfolio-single-img-1{
  width: 100% !important;

  img{
    width: 100%;
    height: auto;
  }
}

.sign-in-form{
  max-width: 600px;
  margin: 0 auto;
}
.sign-in-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 17px;
  align-items: center;
  justify-content: center;
}

.sign-in-group .btn {
  color: white;
  border: none;
  background-color: transparent;
  transition: background-color 0.3s, color 0.3s;
}

.sign-in-group .btn.active-btn {
  background-color: var(--brand-color);
  color: white;
  border-color: var(--brand-color);
}

.about-img{
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 340px;
  width: 100%;
  
  img{
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

.reverse{
  display: flex;
  flex-direction: column-reverse;
}

.collapse.show{
  margin-top: 17px;
  text-align: start;
}

.main-form{
  display: flex;
  flex-direction: column;

  .btn{
    margin-top: 17px;
  }
}

.portfolio-singl,
.blog-single,
.about,
.privacy {
  ul{
    list-style: disc !important;
  }
}

.modal-title{
  color: var(--brand-color);
  margin-bottom: 17px;
}

.hero-2 .hero-text{
  display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.blog,
.portfolio{
  .bg-box {
    background-color: var(--box-color);
    border-radius: var(--border-radius);
    height: 100%;
  }
}

.carousel{
  direction: ltr !important;
}

.dark-mode #cookie-modal{
  color: #fff;
}

.dark-mode #registerBtn{
  color: #131313;
}

.blog-single{
  p{
    img{
      margin: 17px 0;
    }
  }
}

.social{
  gap: 12px;

  a i{
    margin: 0 !important;
  }
}

.services img{
  width: 100%;
  height: 278px;
  object-fit: cover;
}
