*,
*::before,
*::after {
  outline: none !important;
  box-sizing: border-box;
}

* {
  outline: 1px solid red;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background-color: #4e4e4e;
  background-color: #fafafa;
  padding-top: 114px;
  padding-bottom: 64px;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  border: none;
  background: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul,
ol {
  list-style: none;
}

#root,
#__next {
  isolation: isolate;
}

.ai-services {
  display: flex;
  flex-direction: column;
  max-width: 1114px;
  margin: 0 auto;
}

header {
  width: 512px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  outline: 3px solid green;
}

h2.ai-services-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 12px;

  color: #4c4e61;
}
h3.ai-services-subtitle {
  font-size: 36px;
  font-weight: 200;
  text-align: center;
  line-height: 36px;
  margin-bottom: 3px;
  color: #697077;
}

p.ai-services-description {
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0.15px;
  text-align: center;
  margin-bottom: 75px;
  color: #697077;
}

.ai-tools {
  display: flex;
  gap: 32px;
  max-width: 1114px;
  margin: 0 auto;
  height: auto;
}

.article-wrap {
  display: flex;
  flex-direction: column;
  width: 350px;
  justify-content: center;
  height: 530px;
}

.article-wrap.dos {
  gap: 32px;
  height: auto;
}

.ai-tool {
  background: #fff;
  border-radius: 8px;
  padding: 40px 32px 48px 32px;
  box-shadow: 0 15px 30px rgba(0, 50, 100, 0.1);
  box-shadow: 0 10px 15px rgba(217, 225, 235, 0.9);
  overflow: hidden;
  position: relative;
}

h4.ai-tool-title {
  margin-bottom: 9px;
  font-size: 20px;
  line-height: 20px;
  font-weight: bold;
  color: #4c4e61;
}

p.ai-tool-description {
  font-weight: 400;
  font-size: 13px;
  line-height: 21px;
  letter-spacing: 0.13px;
  color: red;
  margin-bottom: 30px;
  width: 94%;
  color: #697077;
}
figure {
  display: flex;
  justify-content: flex-end;
}

hr {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 5px;
}

hr.green {
  background-color: #3ebebe;
}
hr.red {
  background-color: #f45b69;
}
hr.orange {
  background-color: #fcae4f;
}

hr.blue {
  background-color: #548cfc;
}
/* ====== Responsive Design ====== */

@media (max-width: 1179px) {
  body {
    padding-left: 32px;
    padding-right: 32px;
  }

  .article-wrap {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 1024px) {
  p.ai-services-description {
    max-width: 515px;
  }
}

@media (max-width: 728px) {
  body {
    padding-top: 65px;
    padding-bottom: 48px;
  }

  header {
    width: 100%;
  }
  .ai-tools {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 0 auto;
    height: auto;
  }

  p.ai-services-description {
    margin-bottom: 60px;
    width: 100%;
    outline: 2px dotted purple;
  }
}

@media (max-width: 522px) {
  p.ai-services-description {
    width: 100%;
    outline: 1px solid black;
  }

  h2.ai-services-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 12px;
    color: #4c4e61;
  }

  h3.ai-services-subtitle {
    font-size: 24px;
    font-weight: 200;
    text-align: center;
    line-height: 30px;
    margin-bottom: 3px;
    color: #697077;
  }
}
