/* sec-1 */

.about-sec-1 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100vh;
  min-height: 700px;
  width: 100%;
  background-color: #000;
  overflow: hidden;
}

.about-sec-1 img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50%;
  object-fit: cover;
  filter: brightness(0.5);
}

.about-sec-1-container {
  position: relative;
  z-index: 2;
  width: 50%;
  padding: 0 5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.about-sec-1-container h1 {
  font-size: 3rem;
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
  max-width: 450px;
  margin: auto;
  margin-bottom: 2rem;
  text-align: center;
}

.about-sec-1-container p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  max-width: 400px;
  text-align: center;
  margin: auto;
  margin-bottom: 2rem;
}

.about-sec-1-container button {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  width: fit-content;
  transition: all 0.3s ease;
  margin: auto;
}

.about-sec-1-container button:hover {
  background: #e5e5e5;
  transform: translateX(3px);
}

.about-sec-1-container button svg {
  margin-left: 8px;
}

@media (max-width: 1100px) {
  .about-sec-1-container {
    width: 100%;
    padding: 1rem;
  }

  .about-sec-1 img {
    height: 100%;
    width: auto;
  }
}

/* sec-2 */

.about-sec-2 {
  position: relative;
  display: flex;
  align-items: center;
  height: 100vh;
  min-height: 700px;
  width: 100%;
  background-color: #ffffff;
  overflow: hidden;
  margin-top: -40px;
  border-radius: 40px;
}

.about-sec-2 img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50%;
  object-fit: cover;
}

.about-sec-2-container {
  position: relative;
  z-index: 2;
  width: 50%;
  padding: 0 5rem;
  color: #000000;
  display: flex;
  flex-direction: column;
}

.about-sec-2-container h1 {
  font-size: 3rem;
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
  margin-bottom: 2rem;
}

.about-sec-2-container p {
  font-size: 1rem;
  line-height: 1.6;
  margin: auto;
  margin-bottom: 2rem;
}

@media (max-width: 1100px) {
  .about-sec-2-container {
    width: 100%;
    padding: 1rem;
    text-align: center;
    max-width: 500px;
    margin: auto;
  }

  .about-sec-2 img {
    height: 100%;
    width: auto;
  }
}

/* sec-3 */

.about-sec-3 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100vh;
  min-height: 700px;
  width: 100%;
  background-color: #ffffff;
  overflow: hidden;
  padding: 3rem 2rem;
  margin: 3rem 0rem;
}

.about-sec-3-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  width: 100%;
  background-color: #000000;
  border-radius: 40px;
  overflow: hidden;
}

.about-sec-3 img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50%;
  object-fit: cover;
}

.about-sec-3-wrapper {
  position: relative;
  z-index: 2;
  width: 50%;
  padding: 0 5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.about-sec-3-wrapper h1 {
  font-size: 3rem;
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
  max-width: 450px;
  margin: auto;
  margin-bottom: 2rem;
  text-align: center;
}

.about-sec-3-wrapper p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  max-width: 400px;
  text-align: center;
  margin: auto;
  margin-bottom: 2rem;
}

.about-sec-3-wrapper button {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  width: fit-content;
  transition: all 0.3s ease;
  margin: auto;
}

.about-sec-3-wrapper button:hover {
  background: #e5e5e5;
  transform: translateX(3px);
}

.about-sec-3-wrapper button svg {
  margin-left: 8px;
}

@media (max-width: 1100px) {
  .about-sec-3-wrapper {
    width: 100%;
    padding: 1rem;
  }

  .about-sec-3 img {
    height: 100%;
    width: auto;
  }
}

/* about-sec-4  */
.about-sec-4 {
  display: flex;
  width: 100%;
  background-color: #fff;
  position: relative;
  z-index: 6;
  margin-top: -40px;
  border-radius: 40px 40px 0px 0px;
}

.about-sec-4-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.125rem 0.5rem;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #d7d7d7;
}

.about-sec-4-container .title {
  font-size: 2rem;
  text-align: center;
  color: #000000;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-sec-4-container .sub-title {
  font-size: 1rem;
  text-align: center;
  margin: 0rem auto 2rem auto;
  font-weight: 300;
  max-width: 350px;
}

.about-sec-4-container .card-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 0.5rem;
}

.about-sec-4-container .card-container::-webkit-scrollbar {
  display: none;
}

.about-sec-4-container .card-item {
  box-shadow: 0px 1px 9px -2px #ddd;
  border-radius: 12px;
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  margin-bottom: 2rem;
  transform: translateY(0);
  transition: all 0.3s ease-in;
}

.about-sec-4-container .card-item:hover {
  transform: translateY(-3px);
}

.about-sec-4-container .card-item img {
  width: auto;
  height: 8rem;
  margin: 0rem auto;
}

.about-sec-4-container .card-item p {
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
}

/* Horizontal scroll carousel wrapper and navigation styles */
.horizontal-scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.horizontal-scroll-container {
  flex: 1;
}

.scroll-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 2;
}

.scroll-nav-btn:hover:not(.scroll-nav-btn-disabled) {
  background-color: #000;
  color: #fff;
  border-color: #000;
  transform: scale(1.05);
}

.scroll-nav-btn-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.scroll-nav-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .horizontal-scroll-wrapper {
    gap: 0.5rem;
  }

  .scroll-nav-btn {
    width: 2rem;
    height: 2rem;
  }

  .scroll-nav-btn svg {
    width: 1rem;
    height: 1rem;
  }

  .about-sec-4-container .card-container {
    padding: 0;
  }
}

/* about-sec-5  */
.about-sec-5 {
  display: flex;
  width: 100%;
  position: relative;
  z-index: 6;
  background-color: #fff;
}

.about-sec-5-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.125rem 2rem;
  display: flex;
  flex-direction: column;
}

.about-sec-5-container .title {
  font-size: 2rem;
  text-align: center;
  color: #000000;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-sec-5-container .sub-title {
  font-size: 1rem;
  text-align: center;
  margin: 0rem auto 2rem auto;
  font-weight: 300;
  max-width: 300px;
}

.about-sec-5-container .card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.about-sec-5-container .card-item {
  position: relative;
  box-shadow: 0px 1px 9px -2px #ddd;
  border-radius: 12px;
  width: 300px;
  min-height: 400px;
  margin: auto;
  cursor: pointer;
  margin-bottom: 2rem;
  transform: translateY(0);
  transition: all 0.3s ease-in;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.about-sec-5-container .card-item .card-image {
  position: absolute;
  inset: 0; /* fill the card */
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps aspect ratio */
  z-index: 0; /* stay behind text */
}

.about-sec-5-container .overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background: linear-gradient(2deg, #000000, transparent);
}

.about-sec-5-container .card-item:hover {
  transform: translateY(-3px);
}

.about-sec-5-container .card-item .name {
  position: absolute;
  top: 0px;
  left: 0px;
  color: #000000;
  background-color: #ffffff;
  padding: 8px 12px;
  border-radius: 0px 0px 12px 0px;
  font-size: 1rem;
  font-weight: 500;
}

.about-sec-5-container .card-item .content {
  margin-top: auto;
  position: relative;
  padding: 12px;
}

.about-sec-5-container .card-item .content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #fff;
}

.about-sec-5-container .card-item .content ul li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.about-sec-5-container .card-item .content ul li .modal {
  background-color: #fff;
  color: #000;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 40px;
}

.about-sec-5-container .card-item .content .button-container {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.about-sec-5-container .card-item .content .button-container .price {
  width: 140px;

  color: #fff;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.about-sec-5-container .card-item .content .button-container .price label {
  font-size: 0.6rem;
  font-weight: 300;
}

.about-sec-5-container .card-item .content .button-container .price span {
  font-size: 1.2rem;
  font-weight: 500;
}

.about-sec-5-container .card-item .content .button-container .view {
  width: 100%;
  background-color: #c8102e;
  border: none;
  color: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  padding: 0.6rem;
  font-weight: 700;
  cursor: pointer;
}

.about-sec-5-container .card-item .content .button-container .view svg {
  width: 1rem;
  height: 1rem;
}

.about-sec-5-container .show-more-btn {
  width: fit-content;
  margin: auto;
  background-color: #000000;
  color: #fff;
  padding: 0.6rem 1rem;
  border: none;
  font-size: 1rem;
  border-radius: 60px;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  transform: translateY(0);
  transition: all 0.3s ease-in-out;
}

.about-sec-5-container .show-more-btn:hover {
  background-color: #111;
  transform: translateY(-3px);
}

.about-sec-5-container .show-more-btn svg {
  width: 1rem;
  height: 1rem;
}
