@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
}

/* === Section Backgrounds === */
.about-first-section,
.about-second-section,
.about-third-section {
  background-color: #fff;
}

.about-first-section {
  margin-top: 30px;
}

/* === Flex Containers === */
.about-container,
.about-second-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 30px;
  margin: 0 auto;
}

.about-text {
  flex: 1 1 500px;
}

.about-title {
  font-size: 40px;
  font-weight: 400;
  margin: 0;
  padding: 20px 0 0 0;
  letter-spacing: -0.5px;
  font-family: 'Righteous';
}

.about-description {
  font-size: 1rem;
  color: #646464;
  margin-bottom: 30px;
  line-height: 2;
  font-family: 'DM Sans';
  font-weight: 400;
}

/* === Image Wrapper === */
.about-image-wrapper,
.about-second-image-wrapper {
  border-radius: 30px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  max-width: 100%;
}

/* Image visibility for desktop/mobile */
.second-container-image-sm,
.third-container-image-sm {
  display: none;
}

.second-container-image-md,
.third-container-image-md {
  display: block;
  width: 100%;
  height: auto;
}

/* === Third Section Text Content === */
.about-text-content {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
}

.about-third-title {
  font-size: 18px;
  font-weight: 400;
  font-family: 'Righteous', sans-serif;
}

.about-third-description,
.why-luvo {
  font-size: 18px;
  color: #646464;
  line-height: 1.5;
  font-family: 'DM Sans';
  font-weight: 400;
  margin: 10px 0;
}

.about-text-content ul {
  font-size: 18px;
  color: #646464;
  font-family: 'DM Sans';
  font-weight: 400;
  padding-left: 20px;
  margin: 10px 0;
}

@media (min-width: 768px) {
  .contact-section-container {
    padding: 0 30px;
  }
}


/* === Mobile Responsive Fix === */
@media (max-width: 768px) {
  .about-container,
  .about-second-container {
    flex-direction: column;
    gap: 0;
  }

  .about-image-wrapper,
  .about-second-image-wrapper {
    order: -1;
    padding: 0;
    width: 100%;
  }

  .about-text,
  .about-text-content {
    width: 100%;
    text-align: center;
  }

  .about-title {
    font-size: 1.7rem;
  }

  .about-text {
    flex: none;
  }
  /* Show mobile images, hide desktop ones */
  .second-container-image-sm,
  .third-container-image-sm {
    display: block;
  }

  .second-container-image-md,
  .third-container-image-md {
    display: none;
  }

  .about-image {
    width: 100%;
    height: auto;
  }
}

/* === Contact Section === */
.contact-section-container {
  margin-top: 50px;
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 10px !important;
    }
}