/*
* This file has been refactored to use the global variables
* defined in style/main.css.
*/

/* ========================================= */
/* Main Elements */
/* ========================================= */


/* ----------------------------- */
.About-content {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border-radius: 15px;
  padding: 40px;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
}

/* Left text section */
.content-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-text h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.content-text h3 {
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.6;
  color: var(--color-font-dark-gray); /* Refactored */
  /* margin-bottom: 20px; */
}

.content-text h2 {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.6;
  color: var(--color-font-dark-gray); /* Refactored */
  margin-bottom: 5px;
}

.content-text > a {
  text-decoration: none;
  color: var(--color-font-dark-blue); /* Refactored */
  margin-bottom: 15px;
}

.content-text > a:hover {
  color: var(--color-brand-yellow-dark); /* Refactored */
  transition: all 0.3s ease-in-out;
}

.content-text > a > img {
  transform: translateY(5px);
}

/* Social */
.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-icons a {
  text-decoration: none;
  font-size: 20px;
  padding: 10px;
  border-radius: 15px;
}

.social-icons a img {
  width: 25px;
}

.social-icons .facebook {
  background-color: var(--color-social-facebook); /* Refactored */
}

.social-icons .instagram {
  background-color: var(--color-social-instagram); /* Refactored */
}

.social-icons .linkedin {
  background-color: var(--color-social-linkedin); /* Refactored */
}

/* aboutImg section */
.aboutImg {
  flex: 1;
  border-radius: 15px;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.aboutImg > img {
  width: -webkit-fill-available;
}

/* Scroll Buttons */
.scroll-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: var(--color-brand-dark); /* Refactored */
  color: var(--color-white); /* Refactored */
  border: none;
  width: 40px;
  height: 40px;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 100;
}

.scroll-btn:hover {
  background-color: var(--color-brand-yellow-light); /* Refactored */
  color: var(--color-black); /* Refactored */
}

.scroll-btn.left {
  left: 5px;
}

.scroll-btn.right {
  right: 5px;
}

html[dir="rtl"] .scroll-btn.left {
  left: auto;
  right: 5px;
}

html[dir="rtl"] .scroll-btn.right {
  right: auto;
  left: 5px;
}

.blogsButton {
  border: none;
  outline: none;
  display: block;
  margin: 0 15px 15px;
  padding: 8px 15px;
  background: var(--color-brand-dark); /* Refactored */
  color: var(--color-white); /* Refactored */
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s;
}

.blogsButton:hover {
  background: var(--color-brand-yellow-light); /* Refactored */
  color: var(--color-black); /* Refactored */
  cursor: pointer;
}


@media (max-width: 992px) {
  .About-content {
    flex-direction: column;
    padding: 20px;
  }
  .aboutImg {
    padding: 20px;
  }

  .scroll-btn.left {
    left: 5px;
  }

  .scroll-btn.right {
    right: 5px;
  }
}