@tailwind base;
@tailwind components;
@tailwind utilities;

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&display=swap");

@layer base {
  html {
    font-family: "Inter", sans-serif !important;
  }
}

.title__linear {
  display: inline;
  background: linear-gradient(271deg, #6a6d85 0%, #0c0f23 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 6px 0;
}

.title__linear--contact {
  display: inline;
  background: linear-gradient(149deg, #d1d8e1 0%, #fff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 6px 0;
}

/* Blogs Section */
.parent {
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;

  height: 100%;
}

.div1 {
  grid-row-start: 1;
  grid-column-start: 1;
  grid-row-end: 2;
  grid-column-end: 3;
}

.div2 {
  grid-row-start: 1;
  grid-column-start: 3;
  grid-row-end: 2;
  grid-column-end: 4;
}
.div3 {
  grid-row-start: 1;
  grid-column-start: 4;
  grid-row-end: 3;
  grid-column-end: 5;
}
.div4 {
  grid-row-start: 2;
  grid-column-start: 1;
  grid-row-end: 3;
  grid-column-end: 2;
}
.div5 {
  grid-row-start: 2;
  grid-column-start: 2;
  grid-row-end: 3;
  grid-column-end: 3;
}
.div6 {
  grid-row-start: 2;
  grid-column-start: 3;
  grid-row-end: 3;
  grid-column-end: 4;
}

#burger_icon span {
  width: 18px;
  height: 2px;
  background-color: #09121f;
  position: absolute;
  transition: all 0.3s;
}

#burger_icon span:nth-child(1) {
  width: 11px;
  top: -7px;
  margin-left: auto;
  margin-right: 2px;
}
#burger_icon span:nth-child(2) {
  width: 18px;
  top: 0px;
}
#burger_icon span:nth-child(3) {
  width: 11px;
  margin-left: 2px;
  top: 7px;
}

.mobile__menu #burger_icon span:nth-child(2) {
  opacity: 0;
  display: none;
}

.mobile__menu #burger_icon span:nth-child(1) {
  width: 18px;
  margin: 0;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
}
.mobile__menu #burger_icon span:nth-child(3) {
  width: 18px;
  margin: 0;
  transform: rotate(-45deg);
  position: absolute;
  top: 0;
}
#content {
  transition: max-height 1s;
}

@media only screen and (max-width: 1024px) {
  nav a {
    padding: 18px 0;
    width: 100%;
    text-align: right;
    border-bottom: 1px solid #f5f6ff;
  }
  .social-text {
    display: none;
  }
  .blogs__side--card-2 a {
    border-top: 0 !important;
  }
  .border-top-blog {
    border-top: 1px solid #f5f6ff;
  }
}

.mobile__menu #content {
  max-height: 450px !important;
}

img[alt="Avatar"] {
  max-height: 150px;
  width: 100%;
  object-fit: cover;
}

.splide__pagination {
  display: none !important;
}

.shadow__card {
  box-shadow: 0px 15px 30px 0px rgba(221, 217, 230, 0.7);
}

.hero__container {
  position: relative;
}
.hero__container .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background-color: white;
}

.splide__arrow--prev {
  transform: rotate(180deg) !important;
}

.splide__arrow {
  background: transparent !important;
}
.cart_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cart_box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.blog__card {
  width: 100%;
  height: 350px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid #fff;
  background: var(--BG-color, #f5f6ff);
  background: #f5f6ff;
  /* lower */
  box-shadow: none;
  padding: 15px;
}

.blog__card img {
  width: 100%;
  height: 100%;
  /* max-height: 100%; */
  object-fit: cover;
}

.blogs__side {
  min-width: 376px;
  display: flex;
  gap: 32px;
  flex-direction: column;
}
@media only screen and (max-width: 1024px) {
  .blogs__side {
    min-width: 0;
  }
}
@media screen and (max-width: 991px) {
  #contact .container .contact__grid {
    padding: 0 0;
  }
  .cart_box {
    grid-template-columns: repeat(1, 1fr);
  }
}
.blogs__side--card {
  border-radius: 16px;
  background: rgba(122, 206, 250, 0.12);
  display: flex;
  padding: 32px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  height: auto;
  width: 100%;
}

.blogs__side--card h4 {
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}
.blogs__side--card input {
  border-radius: 8px;
  border: 1px solid rgba(235, 235, 235, 0.75);
  background: #fff;
  width: 100%;
  padding: 16px;
  outline: none;
}

.blogs__side--card button {
  border-radius: 8px;
  padding: 16px 0px;
  width: 100%;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

.blogs__side--card-2 {
  display: flex;
  padding: 32px;
  flex-direction: column;
  gap: 16px;
  align-self: stretch;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.04);
  color: #334254;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.blogs__side--card-2 a {
  padding-top: 16px;
  border-top: 1px solid #f5f6ff;
}

.detail a {
  border: 0 !important;
}

.detail a:first-child {
  border-top: 1px solid #f5f6ff !important;
}

.blog__title {
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.blog__detail-card .title__linear {
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
}

.detail__avatar {
  width: 48px;
  height: 48px;
  border: 2px solid #fff;
  border-radius: 90px;
  object-fit: cover;
}

.blog__detail-user .user__name {
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.blog__detail-user .user__experience {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.blog__detail-user .user__title {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.suggested__blogs--title h3 {
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 36px;
}

.suggested__blogs--title a {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.compain__bar .title__linear {
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

.compain__bar .text-site_text_color {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.compain__bar .text-site_purple {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
}

.modal__content .modal__header {
  display: flex;
  justify-content: center;
  position: relative;
}

.modal__content .modal__header button {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  outline: none;
}

.modal__content .modal__header h2 {
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 56px; /* 116.667% */
  letter-spacing: -1.44px;
  text-align: center;
}

.modal__content .modal__description p {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

.modal__content .divider {
  width: 100%;
  height: 1px;
  background: #f5f6ff;
}

.modal__content .offer p {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.modal__content .time h4 {
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.modal__content .time p {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.modal__content .contact button {
  display: flex;
  padding: 16px 32px;
  align-items: center;
  border-radius: 8px;
  background: #6a5cff;
  color: white;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  justify-content: center;
}

.modal__content .contact h5 {
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

.modal__content .contact input {
  border-radius: 8px;
  border: 1px solid rgba(235, 235, 235, 0.75);
  background: #fff;
  padding: 16px;
}

@media screen and (max-width: 1024px) {
  .modal__content {
    width: 95%;
  }
  .modal__content .modal__header button {
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(0);
    background: transparent;
    border: 0;
    outline: none;
  }
}

.request-page {
  background: rgba(106, 92, 255, 0.1);

  padding: 32px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.request-page .modal {
  position: relative !important;
  top: 0;
  z-index: 0;
  left: 0;
  width: 100%;
  transform: translate(0);
  background-color: transparent !important;
  display: flex;
  justify-content: center;
}

.request-page .modal__content {
  position: relative !important;
  top: 0;
  left: 0;
  transform: translate(0);
  width: 50%;
}

.comments__item img {
  border-radius: 100% !important;
  border: 1px solid black;
}

@media screen and (max-width: 1024px) {
  .request-page .modal__content {
    width: 100%;
  }
}

@media screen and (max-width: 450px) {
  .title__linear--contact {
    font-size: 30px;
  }
}

@media screen and (max-width: 576px) {
  .cart_box a {
    width: 100%;
  }

  #contact {
    padding: 0rem;
  }
  #mobile-links{
    margin-top: 130px;
  }
}
