@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
}

:root {
  --primary-theme: #001d3d;
  --primary-clr: #3d52a0;
  --secondary-clr: #7091e6;
  --white-clr: #fff;
  --gray-clr: #8697c4;
  --light-gray-clr: #adbbda;
  --light-white-clr: #ede8f5;
  --dark-clr: #00173c;
  --black-clr: #000000;
  --yellow-clr: #f8a501;
  --orange-clr: #ff7c69;
}

.bg_element_seo {
  background: url("../assets/bg-main-4-setting-icon.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.seo_intro_img {
  /* border: 1px solid red; */
  display: flex;
  justify-content: center;
  align-items: center;
}
.seo_intro_img img {
  /* border: 1px solid red; */
  border-radius: 10px;
  width: 350px;
}

.seo_optimization_gif_l1 {
  /* border: 1px solid red; */
  width: 350px;
  border-radius: 10px;
  height: 350px;
}

@media (min-width: 768px) and (max-width: 990px) {
  .responsive_seo_opt_section2 h2 {
    font-size: 20px;
  }
  .responsive_seo_opt_section2 p {
    font-size: 12px;
  }
}
@media (min-width: 990px) and (max-width: 1280px) {
  .responsive_seo_opt_section2 h2 {
    font-size: 24px;
  }
  .responsive_seo_opt_section2 p {
    font-size: 14px;
  }
}
/* -------------------------- seo_services_wrapper- ------------------------ */

.seo_services_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.seo-services {
  /* border: 1px solid red; */
  width: 80%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.content {
  max-width: 50%;
  background-color: white;
  border-radius: 20px;
  padding: 30px;
  -webkit-box-shadow: -8px 1px 22px 0px rgba(82,82,82,1);
  -moz-box-shadow: -8px 1px 22px 0px rgba(82,82,82,1);
  box-shadow: -8px 1px 22px 0px rgba(82,82,82,1);
}

.content p{
 padding-bottom: 20px;
}

.read-more-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.read-more-btn:hover {
  background-color: #0056b3;
}

.canvarContainer {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* border: 1px solid red; */

  /* overflow: visible !important; */
}
canvas {
  width: 500px !important;
  height: 500px !important;
}
.seo_name {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 24px;
  font-size: 20px;
  font-weight: 700;
}

@media (max-width: 430px) {
  .seo-services {
    /* border: 1px solid red; */
    width: 90%;
    flex-direction: column-reverse;
    padding: 30px 0;
    gap: 20px;
  }
  .content {
    max-width: 100%;
    padding: 30px;
  }
  .canvarContainer {
    width: 100%;
  }
  canvas {
    width: 100% !important;
    height: auto !important;
  }
}
@media (min-width: 430px) and (max-width: 768px) {
  .seo-services {
    /* border: 1px solid red; */
    width: 90%;
     flex-direction: column-reverse; 
    padding: 30px 0;
    gap: 20px;
  }
  .content {
    max-width: 100%;
    padding: 30px;
  }
  .canvarContainer {
    width: 60%;
  }
  canvas {
    width: 100% !important;
    height: auto !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .seo-services {
    /* border: 1px solid red; */
    width: 90%;
    /* flex-direction: column-reverse; */
    padding: 30px 0;
    gap: 20px;
  }
  .content {
    max-width: 40%;
    padding: 30px;
  }
  .canvarContainer {
    width: 60%;
  }
  canvas {
    width: 100% !important;
    height: auto !important;
  }
}

/* #seoPieChart {
  animation: rotate 10s linear infinite;
}
@keyframes rotate {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

#seoPieChart.stop-rotation {
  animation-play-state: paused;
} */

/* @media only screen and (min-width: 1200px) { */
@media (max-width: 1199px) {
  .seo_how_it_works_wrapper_responsive {
    display: block !important;
  }
  .seo_how_it_works_wrapper {
    display: none !important;
  }

  .seo_how_it_words_responsive {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    flex: 1; /* Make the card take up equal space */
  }
  .seo_how_it_words_responsive .seo_process_card_responsive {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: start;
    align-items: center;
    width: 300px;
    background-color: var(--white-clr);
    border-radius: 4px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  }
}
@media (min-width: 1200px) and (max-width: 2560px) {
  .seo_how_it_works_wrapper_responsive {
    display: none !important;
  }
  /* ------------------- seo_how_it_works -------------- */

  .seo_how_it_works_wrapper {
    display: flex;
    flex-direction: column;

    padding: 50px 200px 10px 200px;
  }
  .seo_how_it_works_wrapper .left {
    display: flex;
    align-items: end;
  }

  .seo_how_it_works_wrapper .right {
    display: flex;
    align-items: end;
    justify-content: end;
  }

  .seo_process_card {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 300px;
    background-color: var(--white-clr);
    border-radius: 4px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  }
  .seo_process_card img {
    width: 300px;
    border-radius: 4px;
  }
  .seo_process_card h5 {
    padding: 2px 10px;
    font-weight: 700;
    margin-top: 5px;
  }
  .seo_process_card p {
    font-size: 12px;
    padding: 2px 10px;
  }

  /* -------- left --------- */

  .seo_how_it_works_wrapper .left .left_animated_content {
    /* border: 1px solid red; */
    width: 100%;
    background-image: url("../assets/dotted-lines2.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;

    /* padding-left: 200px; */
    padding-top: 100px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--dark-clr);
  }
  .seo_how_it_works_wrapper .left .left_animated_content i:first-child {
    font-size: 50px;
    margin-left: 60px;
  }
  .seo_how_it_works_wrapper .left .left_animated_content i:last-child {
    font-size: 50px;
    margin-left: 60px;
  }
  .seo_how_it_works_wrapper .left .left_animated_content i:nth-child(2) {
    font-size: 66px;
  }

  /* -------- right --------- */
  .seo_how_it_works_wrapper .right .right_animated_content {
    /* border: 1px solid red; */
    /* width: 100%; */
    width: 100%;
    background-image: url("../assets/dotted-lines.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;

    /* padding-right: 200px; */
    padding-top: 150px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--dark-clr);
  }

  .seo_how_it_works_wrapper .right .right_animated_content i:first-child {
    font-size: 50px;
    margin-right: 60px;
  }
  .seo_how_it_works_wrapper .right .right_animated_content i:last-child {
    font-size: 66px;
    margin-right: 90px;
  }

  .fa-gear {
    transition: transform 0.5s ease-in-out;
  }

  .fa-spin {
    animation: spin 2s linear infinite;
  }

  .fa-spin-reverse {
    animation: spin-reverse 2s linear infinite;
  }

  @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  @keyframes spin-reverse {
    from {
      transform: rotate(360deg);
    }
    to {
      transform: rotate(0deg);
    }
  }
}
