.aboutFred {
  margin-top: 9rem;
  min-height: 50vh;
}
#aboutFred {
  font-family: "helveticaNow";
  text-transform: uppercase;
  font-size: 1.8rem;
  text-align: center;
  padding: 3rem;
}
#aboutFred span {
  color: orange;
  font-weight: 800;
}
.quoteMarked {
  /* margin-bottom: 100px; */
  overflow: hidden;
  /* background-color: red; */
  padding: 0px 4px;
  display: inline-block;
  /* position: absolute; */
  color: black;
  /* width: 50px; */
  /* height: 20px; */
}
#changingWord {
  /* background-color: red; */
  font-weight: 800;
  overflow: hidden;
  color: royalblue;
  position: relative;
  display: inline-block;
  /* width: 500px; */
}
.title {
  font-size: 4rem;
  font-family: "Worksans-B2";
  text-align: center;
}
.benefitsOfFred {
  margin-top: 4rem;
  min-height: 60vh;
}
.benefitsOfFredTitle {
  font-family: "Worksans-B2";
  text-align: center;
  font-size: 4rem;
}
.benefitsOfFredTitle2 {
  font-family: aptos;
  text-align: center;
  font-size: 3rem;
}
.integratingFred {
  font-family: "helveticaNow";
  text-transform: uppercase;
  font-size: 2rem;
  margin-top: 1rem;
  width: 80%;
  transform-origin: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.integratingFred2 {
  font-family: "helveticaNow";
  text-transform: lowercase;
  font-size: 2rem;
  margin-top: 1rem;
  width: 80%;
  transform-origin: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.integratingFred span {
  font-weight: 800;
  color: orange;
}
.integratingFred span:nth-child(2) {
  color: #25d366;
}
.benefitsOfFred .title {
  font-family: "Worksans-B2";
  text-align: center;
  font-size: 4rem;
}
.bend {
  font-family: "helveticaNowIt";
}
.changingGreeting {
  font-weight: 800;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 32%);
  grid-gap: 2rem;
  /* background-color: red; */
  width: 95%;
  margin: auto;
}
.benefit {
  font-family: "helveticaNow";
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  padding: 2rem;
  padding-top: 100px;
  padding-bottom: 80px;
}
#boostingProductivity {
  color: #25d366;
}
.aBenefit .iconContainer {
  background-color: #25d3655b;
  width: fit-content;
  margin: 0 auto;
  padding: 1rem;
  /* margin: auto; */
  border-radius: 10px;
}
.aBenefit svg {
  width: 28px;
  height: 28px;
}
.benefitTitle {
  text-align: center;
  font-family: "helveticaNow";
  text-transform: uppercase;
  font-weight: 800;
  margin-top: 0.7rem;
}
.benefitDescription {
  font-family: "helveticaNow";
  text-align: justify;
  margin-top: 1.5rem;
  margin-left: 30px;
  margin-right: 30px;
}
@media screen and (max-width: 490px) {
  .aboutFred {
    margin-top: 0rem;
  }
  .aBenefit .iconContainer {
    margin: auto;
  }
  .title {
    font-size: 2.3rem;
  }
  #aboutFred {
    font-size: 1.3rem;
    padding: 1rem;
  }
  .benefitsOfFredTitle {
    font-size: 2.3rem;
    padding: 1rem;
  }
  .integratingFred {
    font-size: 1.2rem;
    width: 95%;
  }
  .benefitsOfFred .title {
    font-size: 2.3rem;
  }
  .benefitTitle {
    text-align: center;
  }
  .benefitDescription {
    margin: 1.5rem 0 0 0;
    text-align: center;
  }
  .benefit {
    font-size: 1.7rem;
    margin-top: 3rem;
    padding: 1rem;
  }
  .benefits {
    grid-template-columns: repeat(1, 96%);
    width: 100%;
  }
  .aBenefit {
    padding: 1rem;
  }

  .container3 {
    grid-template-columns: repeat(1, 1fr) !important;
    width: 100% !important;
  }

  .container4 {
    display: flex;
    flex-direction: column;
    padding: 60px 20px 0 20px !important;
    height: 100% !important;
  }

  .text-content {
    margin-right: unset !important;
  }

  .text-content h2 {
    font-size: 24px !important;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  .image-content img {
    margin-top: unset !important;
  }

  .container3 {
    padding-left: unset !important;
    width: 85%;
  }

  .overlay1 {
    background-color: royalblue;
  }
  .overlay2 {
    background-color: #1dbf73;
  }

  .overlay3 {
    background-color: #ff6900;
  }

  .overlay4 {
    background-color: #8080c0;
  }

  .overlay1 img {
    object-fit: contain;
    width: 100% !important;
    max-height: 600px !important;
  }
  .overlay2 img {
    object-fit: contain;
    width: 100% !important;
    max-height: 600px !important;
  }
  .overlay3 img {
    width: 100% !important;
    max-height: 600px !important;
  }
  .overlay4 img {
    object-fit: contain;
    width: 100% !important;
    max-height: 600px !important;
  }
  .box {
    width: fit-content !important;
    max-height: 430px !important;
    margin: 0 10px;
  }
}

/* New Addtions */

/* Keyframes for sliding and fading in */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Keyframes for scaling */
@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.container3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-left: 80px;
  width: 80%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 40px;
}

.box {
  position: relative;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 50px;
  width: 500px;
  height: 550px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  padding-bottom: 0px;
}

.box:hover {
  transform: translateY(-10px);
}

.content {
  padding: 60px;
  text-align: left;
  z-index: 2;
  position: relative;
  font-family: DMSansR;
}

.content h3 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: royalblue;
}
.content:hover h3 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: royalblue;
}

.content h4 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #1dbf73;
}
.content h4:hover {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: white;
}

.content h5 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #ff6900;
}
.content h5:hover {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: white;
}

.content h6 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #8080c0;
}
.content h6:hover {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: white;
}

.content p {
  font-size: 1rem;
  color: #666;
}

.overlay {
  position: absolute;
  top: 100%;
  left: 100%;
  width: 100%;
  height: 100%;
  background-color: #28a745;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.8s ease;
}
.overlay1 {
  position: absolute;
  top: 100%;
  left: 100%;
  width: 100%;
  height: 100%;
  /* background-color: #28a745; */
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.8s ease;
  z-index: 30;
}
.overlay2 {
  position: absolute;
  top: 100%;
  left: 100%;
  width: 100%;
  height: 100%;
  /* background-color: #28a745; */
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.8s ease;
  z-index: 30;
}
.overlay3 {
  position: absolute;
  top: 100%;
  left: 100%;
  width: 100%;
  height: 100%;
  /* background-color: #28a745; */
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.8s ease;
  z-index: 30;
}
.overlay4 {
  position: absolute;
  top: 100%;
  left: 100%;
  width: 100%;
  height: 100%;
  /* background-color: #28a745; */
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.8s ease;
  z-index: 30;
}

.overlay1 img {
  max-width: 100%;
}

.box:hover .overlay1 {
  top: 0;
  left: 0;
}
.overlay2 img {
  max-width: 100%;
}

.box:hover .overlay2 {
  top: 0;
  left: 0;
}
.overlay3 img {
  max-width: 100%;
}

.box:hover .overlay3 {
  top: 0;
  left: 0;
}
.overlay4 img {
  max-width: 100%;
}

.box:hover .overlay4 {
  top: 0;
  left: 0;
}

.body {
  font-family: Arial, sans-serif;
  background-color: white;
  width: 100%;
  height: 100vh;
  padding-top: 130px;
  padding-bottom: 0px;
}

.container4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px;
  border-radius: 80px;
  background-color: #24aa4e;
  color: white;
  height: 70vh;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 80px;
  margin-bottom: 20px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

.text-content {
  flex: 1;
  margin-right: 20px;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out forwards;
}

.text-content h2 {
  font-size: 40px;
  margin-bottom: 50px;
  font-family: DMSansR;
}

.text-content p {
  font-size: 1rem;
  margin-bottom: 30px;
}

.text-content .email-input {
  display: flex;
  align-items: center;
}

.text-content input[type="email"] {
  padding: 15px;
  border: none;
  border-radius: 20px;
  outline: none;
  width: 67%;
  font-size: 16px;
}

.text-content button {
  padding: 20px;
  border: none;
  border-radius: 20px;
  background-color: black;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out forwards 0.5s;
}

.image-content img {
  width: 80%;
  max-width: 300px;
  height: 60vh;
  border-radius: 15px;
  margin-top: 130px;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.faq-header {
  text-align: center;
  margin-bottom: 20px;
}
.faq-header h1 {
  font-size: 36px;
  margin: 0;
}

.faq-header p {
  color: #555;
  font-size: 16px;
  margin: 5px 0 0;
}
.faq-item {
  margin: 10px 0;
}
.faq-question {
  padding: 15px;
  background-color: #f1f1f1;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-question:hover {
  background-color: #e7e7e7;
}
.faq-answer {
  display: none;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  color: #333;
}
.faq-icon {
  font-weight: bold;
  font-size: 18px;
}
/* Animated Placeholder Section */
.coming {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  width: 100%;
  height: 45vh;
  padding-top: 30px;
}
.placeholder-section {
  /* max-width: 800px; */
  width: 50%;
  margin: 0px auto;
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.placeholder-title {
  font-size: 24px;
  margin-bottom: 10px;
}
.placeholder-content {
  font-size: 16px;
  margin-bottom: 20px;
}
.placeholder-button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #fff;
  color: #2575fc;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.placeholder-button:hover {
  transform: scale(1.1);
}
.placeholder-animation {
  display: inline-block;
  margin: 20px auto;
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s infinite linear;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.heroSection {
  transition: transform 0.3s ease;
}

@media screen and (min-width: 540px) and (max-width: 720px) {
  .container3 {
    grid-template-columns: 1fr;
    padding-left: unset;
  }

  .box {
    width: 400px;
    height: 400px;
  }

  .benefits {
    grid-template-columns: unset;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .box {
    padding: 60px;
  }
  .content {
    padding: unset;
  }
  .container3 {
    padding-left: unset;
    width: 93%;
  }

  .benefits {
    margin-bottom: 70px;

    grid-template-columns: 1fr 1fr;
  }

  .benefitDescription {
    margin: unset;
  }

  .container4 {
    padding: 50px 50px 0 50px;
    flex-direction: column;
    height: unset;
  }

  .image-content img {
    width: unset;
    height: unset;
    max-width: 350px;
    object-fit: contain;
  }
}
