/*!*************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./node_modules/sass-resources-loader/lib/loader.js??ruleSet[1].rules[0].use[3]!./src/scss/blocks/text-image.scss ***!
  \*************************************************************************************************************************************************************************************************************************************/
:root {
  --font-family-Roboto: "Roboto";
  --max-container-size: 1240px;
  --default-padding: 24px;
  --tablet-padding: 16px;
  --mobile-padding: 12px;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-grey: #666666;
  --color-light-grey: #c7c7c7;
  --color-blue: #2382f2;
  --background-black: #000000;
  --background-white: #ffffff;
  --background-blue: #2382f2;
  --border-black: #000000;
  --border-white: #ffffff;
  --border-grey: #666666;
  --border-light-grey: #c7c7c7;
  --border-blue: #2382f2;
}

.section-text-image {
  padding: 48px var(--default-padding);
}
.section-text-image .container {
  max-width: var(--max-container-size);
}
@media (max-width: 768px) {
  .section-text-image {
    padding: 32px var(--tablet-padding);
  }
}

.text-image__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.text-image__wrapper.text-image--image-left {
  grid-template-columns: 1fr 1fr;
}
.text-image__wrapper.text-image--image-right {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
  .text-image__wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.text-image__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInUp 0.6s ease-out;
}
@media (max-width: 768px) {
  .text-image__content {
    order: 2;
    gap: 16px;
  }
}

.text-image__heading {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-blue);
  margin: 0;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 16px;
}
.text-image__heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-blue), rgba(35, 130, 242, 0.3));
  border-radius: 2px;
}
@media (max-width: 768px) {
  .text-image__heading {
    font-size: 28px;
    padding-bottom: 12px;
  }
  .text-image__heading::after {
    height: 3px;
    width: 50px;
  }
}
@media (max-width: 480px) {
  .text-image__heading {
    font-size: 24px;
  }
}

.text-image__description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-grey);
  margin: 0;
  font-weight: 400;
}
@media (max-width: 768px) {
  .text-image__description {
    font-size: 14px;
  }
}

.text-image__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--color-blue) 0%, #1a5fc9 100%);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 10px;
  border: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-weight: 600;
  width: fit-content;
  font-size: 16px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(35, 130, 242, 0.2);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-transform: capitalize;
}
.text-image__link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}
.text-image__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(35, 130, 242, 0.3);
}
.text-image__link:hover::before {
  width: 300px;
  height: 300px;
}
.text-image__link:active {
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .text-image__link {
    padding: 12px 24px;
    font-size: 14px;
  }
}

.text-image__image {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  animation: fadeInRight 0.6s ease-out;
}
.text-image__image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.text-image__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
}
.text-image__image img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}
@media (max-width: 768px) {
  .text-image__image {
    order: 1;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  }
}

.text-image--image-left .text-image__image {
  order: -1;
  animation: fadeInLeft 0.6s ease-out;
}
@media (max-width: 768px) {
  .text-image--image-left .text-image__image {
    order: 1;
    animation: fadeInUp 0.6s ease-out;
  }
}
@media (max-width: 768px) {
  .text-image--image-left .text-image__content {
    order: 2;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
