* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 28px;
  font-size: 14px;
  background-color: #eff2f1;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background-color: #3b5d50;
  padding: 20px 0;
}

.navbar-brand {
  font-size: 35px;
  font-weight: 500;
}

.navbar .navbar-nav li a {
  color: whitesmoke;
  opacity: 0.9;
  margin-right: 1.5rem;
  position: relative;
  padding-bottom: 5px;
}

.navbar .navbar-nav li a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #ffc107;
}

.navbar .navbar-nav li a:not(.active)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #ffc107;
  transition: left 0.3s ease;
}

.navbar .navbar-nav li a:not(.active):hover::after {
  width: 100%;
  transition: 0.3s;
}

/* Hero Section */
#hero {
  background: #3b5d50;
  color: white;
  overflow-x: hidden;
  padding-bottom: 100px;
}

#hero .title {
  font-size: 50px;
  font-weight: 500;
  margin-top: 90px;
}

#hero p {
  opacity: 0.8;
  line-height: 28px;
}

#hero a.btn {
  color: black;
  background-color: rgb(255, 201, 4);
  border: solid 2px rgb(255, 201, 4);
  border-radius: 30px;
  font-weight: 600;
  opacity: 1;
}

#hero a.btn:hover {
  color: white;
  box-shadow: 0 0 50px #3ae2a2;
  transition: 0.3s;
  background-color: transparent;
  border: 2px solid white;
}

.btn {
  padding: 15px 35px;
  background-color: #3b5d50;
  border: solid 2px white;
  color: rgb(255, 255, 255);
  border-radius: 30px;
  transition: 0.3s;
}

.btn:hover {
  box-shadow: 0 0 50px #3ae2a2;
}

.image {
  background-image: url(../images/dots-light.svg);
  background-repeat: no-repeat;
  background-position: top right;
}

/* Card Section */
#card .container {
  padding-top: 100px;
}

.product-card {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  position: relative;
  transition: 0.4s;
  background-color: white;
}

.product-card img {
  transition: 0.4s;
  border-radius: 12px;
}

.product-card .plus {
  position: absolute;
  font-size: 40px;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: black;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.4s;
}

.product-card:hover {
  background: #f1f3f5;
}

.product-card:hover img {
  transform: translateY(-10px);
}

.product-card:hover .plus {
  bottom: -20px;
  opacity: 1;
}

/* Carousel Section */
#carousel {
  margin-top: 100px;
}

#testimonialCarousel {
  background-color: #f8f9fa; 
  padding: 60px 0;
  max-width: 100%;
  margin: 0 auto;
}

.carousel-item p {
  font-style: italic;
  color: #555;
  margin-bottom: 30px;
}

.rounded-circle {
  border: 3px solid #fff;
}

.carousel-control-prev span, 
.carousel-control-next span {
  background-color: gray;
}

/* About Section */
#about .container {
  padding-top: 200px;
}

#about h2 {
  font-size: 44px;
  font-weight: 550;
}

#about .icon {
  font-size: 25px;
}

#about h6 {
  font-size: 18px;
  padding-top: 15px;
}

#about p {
  opacity: 0.8;
  line-height: 28px;
}

#about .col-6 {
  padding: 20px;
}

#about .image img {
  border-radius: 15px;
}

/* Blog Section */
.blog-section {
  padding: 7rem 0 12rem;
}

.blog-section .post-entry a {
  text-decoration: none;
}

.blog-section .post-entry .post-thumbnail {
  display: block;
  margin-bottom: 20px;
}

.blog-section .post-entry .post-thumbnail img {
  border-radius: 20px;
  transition: 0.3s all ease;
}

.blog-section .post-entry .post-content-entry {
  padding: 0 15px;
}

.blog-section .post-entry .post-content-entry h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 7px;
}

.blog-section .post-entry .post-content-entry .meta {
  font-size: 14px;
}

.blog-section .post-entry .post-content-entry .meta a {
  font-weight: 600;
}

.blog-section .post-entry:hover .post-thumbnail img {
  opacity: 0.7;
}

.blog-section a {
  text-decoration: none;
  color: black;
}

/* Footer */
.footer-section {
  padding: 80px 0;
  background: #ffffff;
}

.footer-section .relative {
  position: relative;
}

.footer-section a {
  text-decoration: none;
  color: #2f2f2f;
  transition: .3s all ease;
}

.footer-section a:hover {
  color: rgba(47, 47, 47, 0.5);
}

.footer-section .subscription-form {
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  margin-top: 100px;
}

.footer-icon li a {
  width: 50px;
  height: 50px;
  color: #3b5d50;
  margin-right: 15px;
  font-size: 20px;
  background-color: #e9f0ef;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.footer-icon li a:hover {
  background-color: #3b5d50;
  color: #ffffff;
}

.footer-section .sofa {
  position: relative; 
}

.footer-section .sofa img {
  position: absolute;
  top: -50px; 
  right: 0;
  z-index: 1;
}

.footer-section .last {
  border: none;
  background-color: #4BA099;
}

.footer-section .last:hover {
  background-color: #0f6a47;
}


.footer-section input:focus {
  outline: none;
  border: none;
  box-shadow: 0 0 50px #4BA099;
  transition: 1s;
}


#img {
  margin-top: 50px;
}

.service {
  line-height: 1.5;
}

.service .service-icon {
  border-radius: 10px;
  flex: 0 0 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: #3b5d50;
  margin-right: 20px;
  color: #ffffff;
}

textarea {
  height: auto !important;
}

.footer-section {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
}


.footer-sofa-wrap {
  position: relative;
  margin-top: -180px; 
  z-index: 5;
}

.footer-sofa-wrap img {
  max-width: 100%;
  height: auto;
}


.subscription-form .form-control {
  height: 50px;
  border-radius: 10px;
  border: 1px solid #ced4da;
}

.subscription-form .btn.last {
  height: 50px;
  background-color: #3b5d50;
  border: none;
  color: white;
  border-radius: 10px;
}


.footer-icon li a {
  width: 40px;
  height: 40px;
  background: #eff2f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: #3b5d50;
  text-decoration: none;
  transition: 0.3s;
}

.footer-icon li a:hover {
  background: #3b5d50;
  color: #fff;
}


@media (max-width: 991px) {
  .footer-sofa-wrap {
    margin-top: 30px;
    text-align: center;
  }
}


.untree_co-section {
  padding: 100px 0;
}


.service-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  background: #3b5d50; 
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.service-contents p {
  margin-bottom: 0;
  color: #6a6a6a;
  font-size: 14px;
}

.contact-form .form-control {
  height: 54px;
  border-radius: 10px;
  border: 1px solid #dce2e0;
}

.contact-form .form-control:focus {
  border-color: #3b5d50;
  box-shadow: none;
}


.contact-form textarea.form-control {
  height: auto;
}


.contact-btn {
  background: #2f2f2f;
  color: #ffffff;
  padding: 15px 40px;
  border-radius: 30px;
  border: 2px solid #2f2f2f;
  transition: 0.3s;
  font-weight: 600;
}

.contact-btn:hover {
  background: transparent;
  color: #2f2f2f;
}


label.text-black {
  font-weight: 500;
}

#cart{
  margin-top: 50px;
  height: 125vh;
}


.quantity-picker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-picker input {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 1.2rem;
  border: 1px solid #ccc;
  background-color: #fff;
}


.quantity-picker input::-webkit-outer-spin-button,
.quantity-picker input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-picker button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 10px;
}

.quantity-picker button:hover {
  color: #007bff;
}

.btn-dark {
    background-color: #2d2d2d !important;
    border: none;
}


.form-control {
    border: 1px solid #dee2e6;
    color: #6c757d;
}

.form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}


.cart-totals-side {
    min-width: 350px;
    width: 100%;
    max-width: 450px;
}


.btn-dark-custom {
    background-color: #2d2d2d;
    color: white;
    border: none;
    height: 54px;
    transition: 0.3s;
}

/*  */


.coupon-input {
    height: 54px;
    max-width: 350px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.coupon-input:focus {
    box-shadow: none;
}


.hr-bold {
    height: 2px;
    background-color: #333;
    border: none;
    opacity: 0.1;
}

/* تعديل بسيط للموبايل */
@media (max-width: 991px) {
    .cart-totals-side {
        max-width: 100%;
    }
    .coupon-input {
        max-width: 100%;
    }
}

#checkout{
  margin-top: 100px;
  height: 150vh;
}

.custom-input {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    font-size: 14px;
}

.custom-input:focus {
    box-shadow: none;
    border-color: #ced4da;
}


.btn-dark {
    background-color: #2f2f2f !important;
    border: none;
    font-size: 14px;
}

.btn-dark:hover {
    background-color: #000 !important;
}


h2.h3 {
    font-size: 24px;
    color: #000;
}


.table td, .table th {
    vertical-align: middle;
}

.btn-dark-pill {
    background-color: #2f2f2f;
    color: white;
    border-radius: 50px; 
    border: none;
    transition: 0.3s;
}

@media (max-width: 991px) {
  #card .col-md-3 img {
    width: 250px;
    margin: 100px;
  }
}



@media (max-width: 768px) {

  #hero {
    text-align: center;
  }

  #hero .row {
    justify-content: center;
  }

  #hero .col-md-5 {
    text-align: center;
  }

  #hero .btn {
    margin: 10px 5px;
  }
   #hero .col-md-7 img{
    width:400px ;
  }

}