.camera-section {
  position: relative;
  width: 100vw;
  margin-top: 5%;
  overflow: hidden;
}

/* --- Main Image --- */
.camera-main-img-wrapper {
  position: relative;
  z-index: 1;
}

.camera-main-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Inside Image --- */
.camera-inside-img {
  position: absolute;
  top: 28%;
  right: 39%;
  width: 32px;
  height: auto;
  z-index: 2;
}

/* --- Center Image --- */
.camera-center-img-wrapper {
  position: absolute;
  top: 60%;
  left: 52.8%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}

.camera-center-img {
  width: 54px;
  height: auto;
  object-fit: contain;
  transition: width 0.3s ease;
}

/* --- White Vector Overlay --- */
.camera-white-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 4;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  pointer-events: none;
}

.camera-white-bg {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* --- Left Content (texts) --- */
.left-content-mobile {
  display: none;
}

.left-how-content {
  display: flex;
  flex-direction: column;
  position: absolute;
  z-index: 10;
  color: var(--text-dark);

  width: clamp(250px, 50vw, 700px);
  height: clamp(200px, 40vw, 500px);
  gap: clamp(20px, 4vw, 40px);
  top: clamp(100px, 10vw, 200px);
  left: clamp(100px, 10vw, 200px);
  transition: all 0.3s ease;
}

.left-how-content h1 {
  font-weight: 700;
  font-size: clamp(1.5rem, 5vw, 4rem);
  line-height: 1.2;
  transition: font-size 0.3s ease;
}

.left-how-content p {
  font-weight: 400;
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.4;
  color: var(--text-gray);
  transition: font-size 0.3s ease;
}

.logo-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.logo-content p {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.55;
  color: var(--text-muted);
  white-space: nowrap;
  transition: font-size 0.3s ease;
}

.logo-content img {
  width: clamp(80px, 10vw, 106.22px);
  height: clamp(48px, 6vw, 64px);
  transition: width 0.3s ease, height 0.3s ease;
}

.btn-green-camera {
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(200px, 40vw, 351px);
  height: clamp(48px, 8vw, 64px);
  border-radius: 999px;
  gap: clamp(8px, 2vw, 16px);
  background-color: #3fb84b;
  border: none;
  text-decoration: none;

  /* Font text inside the button */
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: clamp(20px, 2.5vw, 22px);
  color: #fff;
  transition: all 0.3s ease;
}

.btn-green-camera .btn-icon {
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
}

.btn-green-camera .btn-icon path {
  fill: #fff;
  transition: fill 0.3s ease;
}

/* Media Queries */
@media (max-width: 1200px) {
  .camera-section {
    display: flex;
  }

  .camera-center-img {
    width: 38px;
  }

  .camera-inside-img {
    top: 26%;
    right: 36%;
    width: 24px;
  }

  .logo-content {
    gap: 1rem;
  }

  .logo-content p {
    font-size: 12px;
    line-height: 20px;
    white-space: nowrap;
  }

  .logo-content img {
    width: 90px;
    height: 54px;
  }

  .small-sc {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .camera-center-img {
    width: 32px;
  }

  .camera-inside-img {
    top: 25%;
    right: 54%;
    width: 20px;
  }

  .left-how-content {
    width: clamp(150px, 40vw, 400px); /* smaller width */
    height: clamp(110px, 35vw, 300px); /* smaller height */
    top: clamp(50px, 6vw, 100px);
    left: clamp(50px, 6vw, 100px);
    gap: 1px;
  }

  .left-how-content h1 {
    font-size: clamp(1rem, 3vw, 2rem); /* smaller heading */
  }

  .left-how-content p {
    font-size: clamp(11px, 1.2vw, 16px); /* smaller subtitle */
  }

  .logo-content p {
    font-size: clamp(10px, 1vw, 13px);
  }

  .logo-content img {
    width: clamp(50px, 6vw, 70px);
    height: clamp(30px, 4vw, 40px);
  }

  .btn-green-camera {
    width: clamp(120px, 30vw, 220px);
    height: clamp(34px, 5vw, 45px);
    font-size: clamp(10px, 1vw, 12px);
    gap: clamp(4px, 0.8vw, 8px);
  }
}

@media (max-width: 768px) {
  .camera-white-bg {
    display: none;
  }

  .left-how-content {
    display: none !important;
  }

  .left-content-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 10px;
    padding: 30px;
    margin: 0 auto;
    color: var(--text-gray);
  }

  .left-content-mobile p {
    font-size: 20px;
    line-height: 30px;
    color: var(--text-gray);
  }

  .left-content-mobile h2 {
    font-size: 48px;
    color: var(--text-dark);
  }

  .left-content-mobile .logo-content {
    align-items: center;
  }

  .left-content-mobile .logo-content p {
    font-size: 0.8rem;
  }

  .left-content-mobile img {
    width: 100px;
    height: auto;
  }

  .left-content-mobile .btn-green-camera {
    font-size: 0.9rem;
    padding: 10px 14px;
    gap: 5px;
    width: 100%;
    max-width: 280px;
    height: 48px;
  }

  .camera-center-img {
    width: 26px;
  }

  .camera-inside-img {
    top: 24%;
    right: 30%;
    width: 16px;
  }

  .btn-camera-cont {
    width: 80%;
    white-space: nowrap;
  }

  .small-sc {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 55%;
  }
}

@media (max-width: 599px) {
  .left-content-mobile p {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 576px) {
  .camera-center-img {
    width: 22px;
  }

  .camera-inside-img {
    top: 22%;
    right: 27%;
    width: 14px;
  }

  .btn-camera-cont {
    height: 100%;
    display: flex;
    align-items: end;
  }

  .small-sc {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .left-content-mobile h2 {
    font-size: 28px;
  }
}

/* Responsive for.camera-section  left-content */
@media (max-width: 1900px) {
  .left-how-content {
    width: clamp(200px, 40vw, 600px); /* smaller max width */
    height: clamp(150px, 35vw, 400px); /* smaller max height */
    top: clamp(80px, 8vw, 150px); /* slightly move content up */
    left: clamp(80px, 8vw, 150px); /* slightly move content left */
    gap: clamp(15px, 3vw, 30px); /* reduce gaps */
  }

  .left-how-content h1 {
    font-size: clamp(1.3rem, 4vw, 3.2rem); /* shrink title */
  }

  .left-how-content p {
    font-size: clamp(14px, 1.8vw, 20px); /* shrink subtitle */
  }

  .logo-content p {
    font-size: clamp(12px, 1.5vw, 16px); /* smaller font */
  }

  .logo-content img {
    width: clamp(70px, 8vw, 90px);
    height: clamp(40px, 5vw, 55px);
  }

  .btn-green-camera {
    width: clamp(150px, 35vw, 300px);
    height: clamp(40px, 6vw, 55px);
    font-size: clamp(12px, 1.3vw, 14px);
    gap: clamp(6px, 1.5vw, 12px);
  }
}

@media (max-width: 1370px) {
  .left-how-content {
    top: 20%;
    left: clamp(60px, 6vw, 120px);
    gap: 5px;
  }

  .left-how-content h1 {
    font-size: clamp(1.1rem, 3.5vw, 2.5rem);
  }

  .left-how-content p {
    font-size: clamp(12px, 1.5vw, 18px);
  }

  .logo-content p {
    font-size: clamp(11px, 1.2vw, 14px);
  }

  .logo-content img {
    width: clamp(60px, 7vw, 80px);
    height: clamp(35px, 4vw, 45px);
  }

  .btn-green-camera {
    width: clamp(140px, 30vw, 250px);
    height: clamp(36px, 5vw, 50px);
    font-size: clamp(11px, 1.2vw, 13px);
    gap: clamp(5px, 1vw, 10px);
  }
}
