/* line */
.line {
  width: 60px;
  height: 4px;
  background: #5a6f8f;
  margin-bottom: 30px;
}
.back-1 {
  background-color: #f5f7fa;
  opacity: 0.97;
  transition:
    background 0.3s,
    border-radius 0.3s,
    opacity 0.3s;
}

.product-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 80px;

  flex-wrap: wrap;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
}

/* IMAGE */
.image-doffin {
  flex: 1;
  text-align: center;
  padding: -5px;
  max-width: 50% !important;
}

.image-doffin img {
  width: 90%;
  display: block;

  border-style: solid;
  border-color: #dbdbdb;
  border-radius: 5px 5px 5px 5px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}
.image-doffin,
.content {
  flex: 0 0 50%;   /* 🔥 exact 50%-50% */
  max-width: 45%;
}

/* CONTENT */
.content {
  flex: 1;
  /* max-width: 500px; */
}

.content .ase {
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  color: #546a8c;

  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.content .asd {
  color: rgba(0, 0, 0, 0.8);
  font-family: "Roboto", Sans-serif;
  font-size: 2.7rem;
  font-weight: 500;
  line-height: 1.1666em;
}

.subtitle {
  color: #47768a;
  font-family: "Roboto", Sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
}

.content ul {
  padding-left: 18px !important;
  list-style-position: outside;
  color: #777777;
  font-size: 15px;
  line-height: 1.617em;
}

.content ul li {
  margin-left: 5px;
}

/* ✅ Tablet */
@media (max-width: 992px) {
  .product-section {
    padding: 40px;
  }

  .content .asd {
    font-size: 32px;
  }
}

/* ✅ Mobile */
@media (max-width: 768px) {
  .product-section {
    flex-direction: column;
  }

  .content {
    order: 1; /* 🔥 text pehle */
  }

  .image-doffin {
    order: 2; /* 🔥 image niche */
  }
}

/* ✅ Small Mobile */
@media (max-width: 480px) {
  .product-section {
    padding: 20px;
  }

  .content h.asd {
    font-size: 22px;
  }
}

.image-1 {
  display: flex;
  justify-content: center;
  padding-bottom: 30px;
}
.image-1 img {
  height: auto;
  max-width: 65%;
}

.gallery-section-1 {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.gallery-1 {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
}

/* CARD */
.card-1 {
  width: 30%; /* 3 in one row */
  background: #f3f3f3;
  border-radius: 1px;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-align: center;
}

/* IMAGE */
.card-1 img {
  width: 100%;
  height: auto;

  border-style: solid;
  border-color: #dbdbdb;
  border-radius: 5px 5px 5px 5px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

/* ✅ Tablet */
@media (max-width: 992px) {
  .card-1 {
    width: 45%; /* 2 per row */
  }
}

/* ✅ Mobile */
@media (max-width: 600px) {
  .card-1 {
    width: 100%; /* 1 per row */
  }
}


/* ✅ Tablet (<= 992px) */
@media (max-width: 992px) {
  .product-section {
    padding: 40px 30px;
    gap: 30px;
  }

  .image-doffin,
  .content {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .image-doffin img {
    width: 80%;
    margin: 0 auto;
  }

  .content {
    text-align: center;
  }

  .content ul {
    text-align: left;
  }
}

/* ✅ Mobile (<= 768px) */
@media (max-width: 768px) {
  .product-section {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }

  .content {
    order: 1;
    width: 100%;
    max-width: 100%;
  }

  .image-doffin {
    order: 2;
    width: 100%;
    max-width: 100%;
  }

  .image-doffin img {
    width: 100%; /* 🔥 full width */
    max-width: 100%;
    margin: 0 auto;
  }

  .image-1 img {
    width: 65%; /* 🔥 same as above image */
    max-width: 65%;
    margin: 0 auto;
    display: block;
  }

  .gallery-1 {
    flex-direction: column;
    align-items: center;
  }

  .card-1 {
    width: 100%; /* 🔥 full width */
  }
}

/* ✅ Small Mobile (<= 480px) */
@media (max-width: 480px) {
  .product-section {
    padding: 20px 15px;
  }

  .content .asd {
    font-size: 22px;
  }

  .subtitle {
    font-size: 15px;
    line-height: 24px;
  }

  .image-doffin img {
    width: 100%;
  }

  .image-1 img {
    width: 65%;
  }
}

@media (max-width: 768px) {
  .image-doffin {
    text-align: center;
  }

  .image-doffin img {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto; /* 🔥 center */
  }
}

@media (max-width: 768px) {
  .image-doffin {
    width: 100%;
    max-width: 1200px; /* 🔥 same as gallery */
    margin: 0 auto; /* 🔥 center container */
    display: flex;
    justify-content: center;
  }

  .image-doffin img {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 768px) {
  .image-doffin {
    flex: 0 0 100% !important;   /* 🔥 override 50% */
    max-width: 100% !important;  /* 🔥 full width */
    width: 100%;
    margin: 0 auto;
    display: block;
    text-align: center;
  }

  .image-doffin img {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .image-1 img {
    width: 90%;
    max-width: 90%;
    display: block;
    margin: 0 auto; /* center */
  }
}
/* ✅ Tablet */
@media (max-width: 992px) {
  .line {
    margin: 20px auto; /* 🔥 center + text ke niche */
    display: block;
  }
}

/* ✅ Mobile */
@media (max-width: 768px) {
  .line {
    margin: 20px auto; /* 🔥 center */
    display: block;
  }
}