/* Global Styles */

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #1f1f1f;
}

a {
  text-decoration: none;
}

/* Button styles */
.custom-button {
  color: #ffffff;
  padding: 0.875rem;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  background-color: #0141a3;
  border: 0.125rem solid #0141a3;
  border-radius: 0.5rem;
  cursor: pointer;
}

.custom-button > a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}

.custom-button:hover {
  border: 0.125rem solid #828fff;
  box-shadow: 0 0 0.25rem 0.125rem #0017e84d;
}

/* Scroll-to-top button styles */
.scroll-top {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 3rem;
  height: 3rem;
  color: #ffffff;
  background-color: #262626;
  border: 0.0625rem solid #d9d9d9;
  border-radius: 0.5rem;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
}

.scroll-top:hover {
  box-shadow: 0 0 1.25rem 0.25rem rgba(255, 255, 255, 0.8);
}

/* Banner styles */
.banner {
  display: flex;
  width: 100%;
}

/* Rotated image styles */
.rotated-image {
  transform: rotate(180deg);
}

/* HEADER */

.header-tray {
  height: 45px;
  padding: 0 6.25rem;
  background-color: #262626;
  color: #ffffff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.header-tray > .header-text {
  font-weight: 600;
  letter-spacing: 0.06875rem;
}

.header-tray div {
  align-content: center;
}

.header-tray-contact {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header-tray-contact > a {
  display: flex;
}

.header-tray-contact > a > img {
  width: 16px;
  height: 16px;
  align-self: center;
}

.header-tray-phone {
  border-left: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  padding: 0 1rem;
  display: flex;
  gap: 1rem;
}

.header-tray-phone-number {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.06875rem;
}

.dropdown {
  position: relative;
  display: inline-block;
  text-align: end;
}

.dropdown-button {
  background-color: transparent;
  color: white;
  padding: 0;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-button > .selected-language {
  margin-bottom: 2px;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  /* margin-top: 0.125rem;
    margin-left: 0.25rem; */
  transform: rotate(180deg);
}

/* Rotate the arrow when dropdown is open */
.dropdown:hover .dropdown-arrow,
.dropdown:focus-within .dropdown-arrow {
  transform: rotate(0deg);
}

.arrow-mobile {
  margin-top: 0.125rem;
}

.dropdown-content {
  margin-top: -5px;
  width: 60px;
  left: -15px;
  display: none;
  text-align: left;
  position: absolute;
  background-color: #262626;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.dropdown-content a {
  color: #ffffff;
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 56.25rem) {
  .header-tray {
    padding: 0 2rem;
  }
}

/* Hide Header Tray on Small Screens */
@media screen and (max-width: 48rem) {
  .header-tray {
    display: none;
  }

  .header-nav {
    display: none;
  }

  .dropdown-content {
    margin-top: 0;
    left: -10px;
  }
}

.moving-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;
  transition: transform 0.3s ease-in-out;
  transform: translateY(0);
}

.moving-header.hidden {
  transform: translateY(-100%);
}

.announcement-bar {
  background-color: #69C0FF;
  justify-content: center;
  text-align: center;
  padding: 0.625rem 1rem;
}

.announcement-bar > .announcement-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
}

.header {
  height: 80px;
  padding: 0.625rem 6.25rem;
  background-color: #ffffff;
  color: #262626;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: 1px solid #d9d9d9;
}

@media screen and (max-width: 48rem) {
  .moving-header.hidden {
    transform: none;
  }
}

.header > .logo-container > .logo {
  height: 70px;
}

.header div {
  align-content: center;
}

.header-nav {
  display: flex;
  gap: 1rem;
}

.header-nav > a {
  color: #1f1f1f;
  align-self: center;
  font-weight: 600;
}

.header-nav > a.header-nav-highlighted-link {
  color: #0141a3;
}

.header-nav-mobile > a.header-nav-highlighted-link {
  color: #0141a3;
  margin-right: 1rem;
  font-weight: 600;
  align-content: center;
}

.header-tray-dropdown {
  display: block;
}

.header-nav-mobile {
  display: none;
}

@media screen and (max-width: 56.25rem) {
  .header {
    padding: 0 2rem;
  }
}

@media screen and (max-width: 48rem) {
  .header {
    padding: 0 1rem;
  }

  .header-nav {
    display: none;
  }

  .header-nav-mobile {
    display: flex;
    flex-direction: row;
  }

  .dropdown-button {
    font-size: 20px;
    color: #262626;
  }

  .header-tray-dropdown {
    display: none;
  }

  .header > .logo-container > .logo {
    width: auto;
    height: 40px;
  }
}

@media screen and (max-width: 23.4375rem) {
  .header-nav-mobile > a.header-nav-highlighted-link {
    font-size: 0.75rem;
  }
}

/* BODY */

.section-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1500px;
  margin: 250px auto 0 auto;
}

.section-1 > .distributor-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.25rem 0.75rem;
}

.section-1 > .distributor-info > .logo {
  height: 50px;
  margin: 0.625rem;
}

.section-1 > .distributor-info > .distributor-info-text {
  font-family: "Roboto", sans-serif;
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 2.5rem;
}

.section-1 > .title {
  text-align: center;
  margin: 2.5rem 0;
  padding: 0 1rem;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 4.375rem;
}

.section-1 > .subtitle {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.5rem;
  font-family: "Rajdhani";
  font-weight: 600;
  line-height: 1.9375rem;
}

.contact-us-button {
  padding: 0.5rem 3rem;
  margin-bottom: 2rem;
}

@media screen and (max-width: 67.5rem) {
  .section-1 > .distributor-info {
    margin: 0 1rem;
    max-width: 800px;
    justify-content: center;
  }

  /* First row: logo, text, pudu logo - keep them together */
  .section-1 > .distributor-info > img[alt="Telmekom Robotics"] {
    order: 1;
    margin-right: 0.5rem;
  }

  .section-1 > .distributor-info > .distributor-info-text:nth-of-type(1) {
    order: 2;
    margin-right: 0.5rem;
  }

  .section-1 > .distributor-info > img[alt="Pudu"] {
    order: 3;
    /* margin-right: auto; */
  }

  /* Second row: text and italy flag - they wrap together */
  .section-1 > .distributor-info > .distributor-info-text:nth-of-type(2) {
    order: 4;
    margin-right: 0.5rem;
  }

  .section-1 > .distributor-info > img[alt="Italy"] {
    order: 5;
  }

  .section-1 > .title {
    margin: 2.5rem 1rem;
  }
}

@media screen and (max-width: 48rem) {
  .section-1 {
    margin-top: 180px;
    padding: 0 1.5rem;
    text-align: center;
  }

  .section-1 > .title {
    margin: 1.5rem 0;
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 2.25rem;
    text-align: center;
  }

  .section-1 > .subtitle {
    line-height: 1.75rem;
  }
}

.section-3 {
  background-image: url("../images/line.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 1500px;
  margin: auto;
  height: 960px;
  align-content: center;
}

.section-3 > .wrapper {
  display: flex;
  flex-direction: row;
  gap: 6.25rem;
  margin: 0 6.25rem;
}

.section-3 > .wrapper > .text {
  width: 50%;
  align-content: center;
}

.section-3 > .wrapper > .text > .title {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 4.375rem;
  margin-bottom: 2rem;
}

.section-3 > .wrapper > .text > .subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
}

.section-3 > .wrapper > .image {
  display: flex;
  justify-content: center;
  width: 50%;
}

.section-3 > .wrapper > .image > img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 1200px) {
  .section-3 > .wrapper > .image {
    align-items: center;
  }

  .section-3 > .wrapper > .image > img {
    width: 350px;
    height: 350px;
  }

  .section-3 > .wrapper > .text > .title {
    font-size: 30px;
    line-height: 2.25rem;
    font-weight: 600;
    padding-top: 1rem;
  }
}

@media screen and (max-width: 900px) {
  .section-3 {
    height: auto;
    background-image: none;
  }

  .section-3 > .wrapper {
    margin: 0 1.25rem;
    padding: 1.25rem 0;
    flex-direction: column;
    gap: 1.5625rem;
  }

  .section-3 > .wrapper > .text {
    width: 100%;
  }

  .section-3 > .wrapper > .text > .title {
    text-align: center;
    font-size: 30px;
    line-height: 2.25rem;
    font-weight: 600;
    padding-top: 1rem;
  }

  .section-3 > .wrapper > .text > .subtitle {
    text-align: left;
    line-height: 1.25rem;
    font-size: 14px;
  }

  .section-3 > .wrapper > .image {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .section-3 > .wrapper > .image > img {
    width: 250px;
    height: 250px;
  }
}

@media screen and (max-width: 768px) {
  .section-3 > .wrapper > .text > .title {
    text-align: center;
    font-size: 24px;
    line-height: 2rem;
    font-weight: 600;
    padding-top: 1rem;
  }

  .section-3 > .wrapper > .text > .subtitle {
    text-align: center;
    line-height: 1.25rem;
    font-size: 14px;
  }
}

.section-4 {
  border-top: 1px solid #d9d9d9;
}

.section-4 > .title {
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 4.375rem;
}

.section-4 > .tabs {
  display: flex;
  flex-direction: row;
  margin-bottom: 2.5rem;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.section-4 > .tabs > .tab {
  padding: 0.375rem 0.75rem;
  cursor: pointer;
}

.section-4 > .tabs > .tab.active {
  border-radius: 4px;
  background: #f1f5f9;
}

.section-4 > .tabs > .tab:hover {
  opacity: 0.8;
  cursor: pointer;
}

.section-4 > #product-content {
  /* padding: 0 6.25rem; */
  width: 100%;
  max-width: 1500px;
  margin: auto;
  padding-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Wrapper for sliding animation */
.products-content-wrapper {
  position: relative;
  width: 100%;
}

/* Slide animations - push effect */
@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideOutToLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideOutToRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

.products-content-wrapper.slide-in-right {
  animation: slideInFromRight 0.5s ease-out;
}

.products-content-wrapper.slide-out-left {
  animation: slideOutToLeft 0.5s ease-out;
}

.products-content-wrapper.slide-in-left {
  animation: slideInFromLeft 0.5s ease-out;
}

.products-content-wrapper.slide-out-right {
  animation: slideOutToRight 0.5s ease-out;
}

.products-grid {
  padding-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 2rem;
  margin: 0 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 3rem 2.5625rem;
  /* border: 1px solid #E2E8F0; */
  box-shadow: 0px 4px 14px 0px #0d0d0d40;
  border-radius: 20px;
  background-color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.product-card > .product-image {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.product-card > .product-title {
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #1f1f1f;
}

.product-card > .product-subtitle {
  color: #1f1f1f;
  font-size: 0.875rem;
  margin-top: 0;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

.product-card > .product-link {
  color: #0141a3;
  font-size: 1rem;
  line-height: 1rem;
  background: none;
  border: none;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  cursor: pointer;
  text-align: left;
  width: auto;
}

.product-card > .product-link:hover {
  cursor: pointer;
}

@media screen and (max-width: 960px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media screen and (max-width: 820px) {
  .section-4 > .tabs {
    margin: 0 1.5rem 2.5rem 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .section-4 > #product-content > .products-grid > .product-card {
    padding: 1.5rem 1.25rem;
  }
}

@media screen and (max-width: 768px) {
  .section-4 > .title {
    font-size: 2.25rem;
    line-height: 2.75rem;
    margin: 1.875rem 1.5rem 1.25rem 1.5rem;
  }

  .section-4 > #product-content {
    /* padding: 0 0; */
  }

  .section-4 > #product-content > .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 0 2rem;
  }
}

.scroll-top {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: rgba(38, 38, 38, 0.8);
  border: 1px solid #d9d9d9;
  border-radius: 0.5rem;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
}

.scroll-top:hover {
  box-shadow: 0 0 20px 4px rgba(255, 255, 255, 0.8);
}

.section-5 {
  background-color: #0d0d0d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.section-5 > .container {
  background-image: url("../images/contact-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 1500px;
  margin: auto;
}

.section-5 > .container > .wrapper {
  padding: 5.3125rem 4.375rem;
  gap: 5rem;
  align-content: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.section-5 > .container > .wrapper > .text {
  width: 50%;
  align-content: center;
  text-align: left;
  justify-content: center;
}

.section-5 > .container > .wrapper > .text > .title {
  font-size: 56px;
  font-weight: 600;
  line-height: 4.375rem;
}

.section-5 > .container > .wrapper > .text > .subtitle {
  font-size: 24px;
  font-weight: 700;
  line-height: 2.25rem;
  margin-bottom: 60px;
}

.section-5 > .container > .wrapper > .text > .description {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5rem;
}

.section-5 > .container > .wrapper > .form {
  position: relative;
  width: 50%;
  max-width: 50%;
  color: #1f1f1f;
  text-align: left;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 8px rgba(13, 13, 13, 0.6);
}

.section-5 > .container > .wrapper > .form > .form-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1rem;
  margin-bottom: 3rem;
}

.section-5 > .container > .wrapper > .form > .form-title-email {
  font-size: 24px;
  font-weight: 600;
  line-height: 1rem;
  margin-bottom: 1rem;
}

.section-5 > .container > .wrapper > .form > .form-email-wrapper {
  margin-top: 1.5rem;
}

.section-5 > .container > .wrapper > .form > .form-email-wrapper > .form-email {
  text-decoration: none;
  color: #1f1f1f;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1rem;
  letter-spacing: 0;
}

.section-5
  > .container
  > .wrapper
  > .form
  > .form-email-wrapper
  > .form-email:hover {
  cursor: pointer;
  color: #0141a3;
}

.section-5 > .container > .wrapper > .form > .form-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 3rem 0;
}

.section-5 > .container > .wrapper > .form > .form-divider::before,
.section-5 > .container > .wrapper > .form > .form-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #c3c6d2;
}

.section-5 > .container > .wrapper > .form > .form-divider span {
  padding: 0 0.5rem;
  color: #1a1c20;
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.4px;
  font-weight: 500;
}

.section-5 > .container > .wrapper > .form > form > input {
  width: 100%;
  padding: 7px 0;
  font-size: 16px;
  outline: none;
  border: none;
}

.section-5 > .container > .wrapper > .form > form > textarea {
  width: 100%;
  padding: 7px 0;
  font-size: 16px;
  outline: none;
  border: none;
  resize: none;
}

.section-5 > .container > .wrapper > .form > form > hr {
  border: 1px solid #d9d9d9;
  margin-top: 0;
  margin-bottom: 32px;
}

.section-5 > .container > .wrapper > .form > form > .custom-button {
  width: 100%;
  margin-top: 8px;
}

.section-5 > .container > .wrapper > .form > form > .checkbox-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding-top: 0.5rem;
  gap: 0.5rem;
}

input[type="checkbox"] {
  margin: 0.375rem;
  transform: scale(1.5);
  cursor: pointer;
}

.section-5
  > .container
  > .wrapper
  > .form
  > form
  > .checkbox-wrapper
  > .checkbox-label-wrapper
  > .checkbox-label {
  cursor: pointer;
}

.section-5
  > .container
  > .wrapper
  > .form
  > form
  > .checkbox-wrapper
  > .checkbox-label-wrapper
  > .privacy-policy-text {
  font-size: 12px;
  color: #757575;
}

.email-alert {
  position: fixed;
  top: 20px;
  right: -300px;
  background-color: #4caf50;
  color: white;
  padding: 15px;
  border-radius: 5px;
  z-index: 1000;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: right 0.5s ease, opacity 0.5s ease;
}

/* Slide in animation */
.email-alert.show {
  right: 20px;
  opacity: 1;
}

/* Hide the alert (for animation) */
.email-alert.hide {
  right: -300px;
  opacity: 0;
}

/* Overlay styles */
#emailOverlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  border-radius: 20px;
}

.overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  padding: 50px;
  box-sizing: border-box;
  border-radius: 20px;
}

.overlay-container > .title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1rem;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#overlayMessage {
  font-weight: 600;
}

.retry-button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.retry-button:hover {
  background-color: #0056b3;
}

@media screen and (max-width: 768px) {
  .section-5 {
    padding: 0;
  }

  .section-5 > .container {
    height: auto;
  }

  .section-5 > .container > .wrapper {
    padding: 16px 24px;
    flex-direction: column;
    gap: 20px;
  }

  .section-5 > .container > .wrapper > .text {
    width: 100%;
  }

  .section-5 > .container > .wrapper > .text > .title {
    font-size: 30px;
    font-weight: 600;
    line-height: 2.5rem;
    text-align: center;
    padding: 20px 0;
  }

  .section-5 > .container > .wrapper > .text > .subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 1.75rem;
    text-align: center;
  }

  .section-5 > .container > .wrapper > .text > .description {
    font-size: 14px;
    line-height: 1.5rem;
    text-align: left;
  }

  .section-5 > .container > .wrapper > .form {
    width: 100%;
    padding: 0;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .section-5 > .container > .wrapper > .form > form {
    padding: 24px;
  }

  .section-5 > .container > .wrapper > .form > .form-title {
    padding: 32px;
    margin-bottom: 0px;
  }

  .section-5 > .container > .wrapper > .form > .form-title-email {
    padding: 32px;
    margin-bottom: 0px;
  }

  .section-5 > .container > .wrapper > .form > .form-email-wrapper {
    margin: 0 2rem;
  }

  .section-5 > .container > .wrapper > .form > .form-divider {
    margin: 3rem 2rem;
  }

  .section-5 > .container > .wrapper > .form > form {
    padding: 32px;
  }
}

/* FOOTER */

.footer {
  background-color: #262626;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer > .content {
  padding: 0 6.25rem;
  display: flex;
  flex-direction: column;
  max-width: 1500px;
  margin: auto;
}

@media screen and (max-width: 1024px) {
  .footer > .content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    max-width: 1500px;
    margin: auto;
  }
}

.footer > hr {
  margin: 0;
  border: 0.5px solid #d9d9d9;
}

.footer-section-1 {
  margin: 4.375rem 0;
  display: flex;
  flex-direction: row;
  gap: 1.5625rem;
}

.footer-section-1 > .title {
  width: 50%;
  font-size: 42px;
  font-weight: 700;
  line-height: 63px;
}

.footer-section-1 > .description {
  width: 50%;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
}

.footer-section-2 {
  margin: 4.375rem 0;
  display: flex;
  flex-direction: row;
  width: 100%;
}

.image-container {
  position: relative;
  overflow: hidden;
  width: 50%;
  height: auto;
}

.image-link {
  display: block;
  position: relative;
  height: 100%;
}

.image-link img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
  z-index: 1;
}

.image-link:hover > img {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 1s ease, box-shadow 1s ease;
}

.image-link:hover .overlay {
  background-color: rgba(0, 0, 0, 0.3);
}

.fixed-text {
  position: absolute;
  bottom: 0.625rem;
  left: 0.625rem;
  color: white;
  font-size: 16px;
  padding: 1rem;
  border-radius: 5px;
  z-index: 2;
}

.image-text-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.image-text {
  margin: 0;
  width: 75%;
  font-size: 27px;
  font-weight: 700;
  line-height: 40px;
}

@media screen and (max-width: 768px) {
  .image-text {
    width: 100%;
    line-height: 30px;
  }
}

.line-divider {
  width: 120px;
  height: 4px;
  background-color: #279fc4;
  margin-bottom: 2rem;
}

.footer-section-3 {
  margin: 4.375rem 0;
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 1.625rem;
  align-items: stretch;
  justify-content: space-between;
}

.footer-section-3 > .column {
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid {
  display: grid;
}

.align-end {
  align-content: flex-end;
}

.footer-section-3 > .column > .title {
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  margin-bottom: 0.625rem;
}

.footer-section-3 > .column > .description {
  flex-grow: 1;
}

.footer-section-3 > .column > .description > .links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section-3 > .column > .description > .links > .contact-link {
  color: #279fc4;
  text-decoration: underline;
}

.footer-section-3 > .column > .description > .links > a {
  color: #ffffff;
  text-decoration: none;
}

.footer-section-4 {
  margin: 4.375rem 0;
  display: flex;
  flex-direction: row;
  justify-content: end;
}

.footer-section-4 > .wrapper > .row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footer-section-4 > .wrapper > .row:first-of-type {
  margin-bottom: 1rem;
}

.footer-section-4 > .wrapper > .row > .links {
  gap: 0.625rem;
  display: flex;
}

.footer-section-4 > .wrapper > .row > .links.inline {
  font-size: 12px;
}

.footer-section-4 > .wrapper > .row > .links.inline > .pages > a {
  font-size: 12px;
}

.footer-section-4 > .wrapper > .row > .links > a {
  gap: 0.5rem;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
}

.footer-section-4 > .wrapper > .row > .links > .pages > a {
  gap: 0.5rem;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
}

.footer-section-4 > .wrapper > .row > .icons {
  gap: 1rem;
  display: flex;
  align-items: center;
}

.footer-section-4 > .wrapper > .row > .icons > a {
  width: 18px;
  height: 18px;
}

.footer > .copyright-container {
  padding: 6.25rem 0;
  align-content: flex-start;
  width: 100%;
  max-width: 1500px;
  margin: auto;
}

.footer > .copyright-container > .copyright {
  padding: 0 6.25rem;
}

@media screen and (max-width: 920px) {
  .footer > .content {
    padding: 0 1.25rem;
  }

  .footer-section-1 {
    flex-direction: column;
    margin: 1.25rem 0;
  }

  .footer-section-1 > .title {
    width: 100%;
    font-size: 30px;
    line-height: 2rem;
    margin-top: 1.25rem;
  }

  .footer-section-1 > .description {
    width: 100%;
    font-size: 14px;
    line-height: 1.5rem;
    text-align: left;
  }

  .footer-section-2 {
    margin: 1.25rem 0;
    flex-direction: column;
  }

  .footer-section-2 > .image-container {
    width: 100%;
  }

  .image-link .overlay {
    background-color: rgba(0, 0, 0, 0.3);
  }

  .fixed-text > .image-text {
    font-size: 14px;
  }

  .footer-section-3 {
    margin: 1.25rem 0;
    flex-direction: column;
    gap: 2.25rem;
  }

  .footer-section-3 > .column {
    width: 100%;
  }

  .contact-links-wrapper {
    gap: 0 !important;
    margin-bottom: 1.25rem;
  }

  .footer-section-4 {
    flex-direction: column;
    margin: 2.5rem 0;
  }

  .footer-section-4 > .wrapper > .row {
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer-section-4 > .wrapper > .row > .links {
    display: block;
  }

  .footer-section-4 > .wrapper > .row > .icons {
    gap: 1.25rem;
    margin-bottom: 0.25rem;
  }

  .footer-section-4 > .wrapper > .row > .icons > .label > a {
    width: 24px;
    height: 24px;
  }

  .footer-section-4 > .wrapper > .row > .icons > .label > a > img {
    width: 24px;
    height: 24px;
  }

  .footer > .copyright-container {
    margin: 0 1.25rem;
    padding: 1.25rem 0;
    width: auto;
  }

  .footer > .copyright-container > .copyright {
    padding: 0;
    font-size: 12px;
  }

  .scroll-top {
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
  }
}

/* Product Modal Styles */
.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.product-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.product-modal-content {
  position: relative;
  width: 90%;
  height: 90%;
  max-width: 1400px;
  background-color: #ffffff;
  border-radius: 12px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background-color: #262626;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.close-modal:hover {
  background-color: #0141a3;
}

.product-iframe {
  position: absolute;
  top: -64px;
  left: 0;
  width: 100%;
  height: calc(100% + 64px + 240px);
  border: none;
}

@media screen and (max-width: 900px) {
  .product-iframe {
    position: absolute;
    top: -64px;
    left: 0;
    width: 100%;
    height: calc(100% + 64px + 550px);
    border: none;
  }
}

.modal-loader {
  transition: opacity 0.3s ease;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  z-index: 10001;
}

.modal-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #0141a3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media screen and (max-width: 768px) {
  .product-modal-content {
    width: 95%;
    height: 95%;
  }

  .close-modal {
    top: 10px;
    right: 10px;
  }
}
