@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
body {
  font-family: "Raleway", sans-serif;
  min-height: 3000px;
}
:root {
  --main-color: #eebf00;
  --second-color: #232838;
}
* {
  margin: 0;
  padding: 0;
}
/* start nav */
nav {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 10;
  background-color: #fff;
}
.top_nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--second-color);
  padding: 10px 50px;
  color: #fff;
}
.top_nav .left_nav * {
  margin-left: 5px;
}
.top_nav .right_nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.top_nav .right_nav div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  position: relative;
}
.top_nav .right_nav div i {
}
.top_nav .right_nav div p {
  transition: 0.5s;
  cursor: pointer;
  margin-left: 3px;
}
.top_nav .right_nav div p:hover {
  color: var(--main-color);
}
.top_nav .right_nav div:nth-of-type(3) i {
  font-size: 18px;
  transition: 0.5s;
}
.top_nav .right_nav div:nth-of-type(3) i:hover {
  transform: rotate(360deg);
}
.top_nav .right_nav div:nth-of-type(3) p {
  height: 20px;
  width: 20px;
  text-align: center;
  padding: 5px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: red;
}
.top_nav .right_nav div:not(:last-of-type)::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 2px;
  top: 0;
  right: -15px; /*-15 is half of gap*/
  background-color: #fff;
}

.fa-bars {
  font-size: 25px;
  transition: 0.5s;
  cursor: pointer;
  display: none;
}
.fa-bars.open {
  transform: rotate(90deg);
  text-shadow: 2px 2px 5px var(--main-color);
}

@media (max-width: 768px) {
  .fa-bars {
    display: block;
  }
}

/* end nav */

/* start down_nav */
.down_nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 50px 5px;
  flex-direction: column;
  gap: 10px;
}
.down_nav .top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.down_nav .top .ayhaga {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.down_nav ul {
  display: flex;
  gap: 4px;
  transition: 0.5s;
}
.down_nav ul li {
  list-style: none;
}
.down_nav ul li a {
  display: block;
  text-decoration: none;
  color: #000;
  padding: 15px 20px;
  font-weight: 600px;
  transition: 0.5s;
}
.down_nav ul li a:hover,
.down_nav ul li a.active {
  background-color: var(--main-color);
  color: #fff;
}
@media (max-width: 768px) {
  .down_nav .top .ayhaga:nth-of-type(2) {
    display: none;
  }
  .down_nav {
    position: relative;
  }
  .down_nav ul {
    position: absolute;
    top: 200%;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    padding: 20px;
    transition: 0.5s;
    opacity: 0;
    height: 0;
    overflow: hidden;
  }
  .down_nav ul.open {
    opacity: 1;
    height: auto;
    padding: 20;
    overflow: visible;
    top: 100%;
  }
  .down_nav ul li {
  }
  .down_nav ul a {
    text-align: center;
  }
}

/* end down_nav */

/* start header */
header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 50vh;
  background: url(../img/hero.png) bottom no-repeat;
  background-size: cover;
  margin-top: 50px;
}
header .header_title {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
header .header_title b {
  display: flex;
  align-items: center;
  gap: 10px;
}
header .header_title h1 {
  font-size: 40px;
}
header .header_title h1 span {
  color: var(--main-color);
}
header .header_title p {
  font-weight: 700;
  opacity: 0.5;
}
header .header_title div button {
  padding: 10px 15px;
  background-color: var(--main-color);
  color: #fff;
  border-radius: 5px;
  border: 2px solid var(--main-color);
  cursor: pointer;
  font-size: 16px;
  transition: 0.5s;
}
header .header_title div button:hover {
  background-color: #fff;
  color: var(--main-color);
}
header .header_title div button:nth-of-type(2),
.btn {
  color: #fff;
  background-color: var(--second-color);
  border: 2px solid var(--second-color);
}
header .header_title div button:nth-of-type(2):hover,
.btn:hover {
  color: var(--second-color);
  background-color: #fff;
}
header > img:nth-of-type(1) {
  margin-top: 120px;
  width: 280px;
  animation: logo 1s linear alternate infinite;
}
@keyframes logo {
  100% {
    transform: translateY(-20px);
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 10px 0;
  }
  header .header_title {
    padding: 20px;
  }
  header .header_title b {
    font-size: 15px;
  }
  header .header_title h1 {
    font-size: 30px;
  }
  @keyframes logo {
    100% {
      transform: translatex(-20px);
    }
  }
  header > img:nth-of-type(1) {
    width: 250px;
    animation: logo 1s linear alternate infinite;
  }
}
/* end header */

/* start section top_products */
section {
  padding: 100px 0;
}
section .sec_title {
  font-size: 40px;
  font-style: italic;
  position: relative;
  text-align: center;
  width: max-content;
}
section .sec_title::before {
  content: "";
  position: absolute;
  height: 35px;
  width: 100%;
  background: url(../img/download.png) no-repeat center;
  background-size: 100% 100%;
  bottom: -70%;
  left: 50%;
  transform: translateX(-50%);
}
.top_products {
  background-color: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 70px;
  position: relative; 
  
} 

.top_products .slider {
  width: 100%;
  padding: 0 130px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;                                                    
}
.top_products .slider .card {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  transition: 0.5s;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.top_products .slider .card:hover {
  box-shadow: 5px 5px 10px 3px var(--main-color),
    -5px -5px 10px 3px var(--main-color);
  border-radius: 30px;
}

.top_products .slider .card > div:nth-of-type(1) {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top_products .slider .card div:nth-of-type(1) img {
  width: 80%;
  height: 230px;
}
.top_products .slider .card div:nth-of-type(2) {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.top_products .slider .card div:nth-of-type(2) b {
  font-size: 25px;
}
.top_products .slider .card div:nth-of-type(2) div {
  display: flex;
  gap: 2px;
}
.top_products .slider .card div:nth-of-type(2) div i {
  color: var(--main-color);
}
.top_products .slider .card div:nth-of-type(2) p {
  font-size: 18px;
  color: green;
  font-weight: bold;
}
.top_products .slider .card div:nth-of-type(2) p del {
  color: red;
  margin-left: 5px;
}
.top_products .Addtocart {
  width: 50%;
  border: 2px solid var(--main-color);
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  transition: 0.5s;
  z-index: 1;
}
.top_products .Addtocart i {
  padding: 8px;
  background-color: var(--main-color);
  color: #fff;
}
.top_products .Addtocart::after {
  content: "";
  position: absolute;
  background-color: var(--main-color);
  width: 0;
  height: 100%;
  left: 0;
  top: 0;
  transition: 0.5s;
}
.top_products .Addtocart:hover::after {
  width: 100%;
  z-index: -1;
}
.top_products .Addtocart:hover {
  color: #fff;
}

.slick_track {
  padding: 40px 0;
}
.slick-slide {
  margin: 5px 20px;
}
.top_products .slider_icon {
  position: absolute;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  border: none;
  background-color: var(--main-color);
  border-radius: 10px;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
} 
.top_products .slider_icon.slide_to_right{
  right: 130px;
  
} 
  .top_products .slider_icon.slide_to_left{
  left: 100px;
  

} 


.top_products .icon {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  z-index: 2;
} 


.slick-dots {
  position: absolute;
  bottom: 30;
  left: 50%;
  transform: translateX(-50%);
}

.view_more {
  padding: 12px 18px;
  border: 3px solid #000;
  font-style: italic;
  cursor: pointer;
  font-weight: 700;
  font-family: "Raleway", sans-serif;
  background-color: transparent;
  font-size: 16px;
  position: relative;
  z-index: 2;
}
.view_more::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: var(--main-color);
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}
.view_more::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: var(--main-color);
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
}
.view_more:hover::after {
  animation: right 0.5s linear forwards;
}
.view_more:hover::before {
  animation: left 0.5s linear forwards;
}
@keyframes right {
  50% {
    right: 0;
  }
  100% {
    right: 0;
    height: 100%;
    width: 50%;
    background-color: var(--main-color);
    border-radius: 0;
    z-index: -2;
  }
}
@keyframes left {
  50% {
    left: 0;
  }
  100% {
    left: 0;
    height: 100%;
    width: 50%;
    background-color: var(--main-color);
    border-radius: 0;
    z-index: -2;
  }
}
.view_more:hover {
  letter-spacing: 2px;
  color: #fff;
  border: 3px solid #000;
  transition: 0.5s 0.5s;
}
.About {
  position: relative;
}
.About .sec_title {
  position: absolute;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
}

@media (max-width: 1024px) {
  .top_products .icon {
    display: none;
  }
}

/* end section top_products*/

/* start sec-About */
.About {
  display: flex;
  flex-direction: column;
  gap: 220px;
  background-color: #fff;
}
.About .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
.About .container div {
  width: 50%;
}
.About .container div:nth-of-type(1) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.About .container div:nth-of-type(1) img {
  width: 80%;
}
.About .container div:nth-of-type(2) {
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.About .container div:nth-of-type(2) b {
  font-size: 25px;
  font-style: italic;
}
.About .container div:nth-of-type(2) p {
  line-height: 1.5;
  opacity: 0.7;
}
.About .container div:nth-of-type(2) .btn {
  width: max-content;
  letter-spacing: 1.5px;
  padding: 10px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}
/* end sec-About */
.scroll_to_top {
  height: 50px;
  width: 50px;
  background-color: var(--main-color);
  color: #fff;
  border: 2px solid #fff;
  outline: 2px solid var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  position: fixed;
  left: 50px;
  bottom: 50px;
  animation: toTop 1s ease infinite alternate;
}

.scroll_to_top:hover {
  animation-play-state: paused;
  border-radius: 50%;
  background-color: #fff;
  color: var(--main-color);
  outline: 3px solid var(--main-color);
}
@keyframes toTop {
  50% {
    transform: translateY(-25px);
  }
  100% {
    transform: translateY(0);
  }
}
/* start cart */
.cart {
  position: fixed;
  bottom: 0;
  width: 400px;
  height: 98vh;
  background-color: var(--second-color);
  z-index: 11;
  color: #fff;
  border-top: 2px solid var(--main-color);
  border-left: 2px solid var(--main-color);
  padding: 20px;
  box-sizing: border-box;
  border-radius: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  right: -400px;
  overflow-y: auto;
}
.cart.open {
  display: flex;
  right: 0px;
  gap: 20px;
}
.cart > b {
  font-size: 30px;
}
.cart .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.cart .container .card{
  background-color: #eeeeee71;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-radius: 5px;
}
.cart .container .card img{
  width: 80px;
  height: 80px;
  border-radius: 50%;
  outline:2px solid var(--main-color) ;
  outline-offset: 3px;

}
.cart .container.card div:nth-of-type(2){
  display:flex ;
  gap: 5px;
  align-items: center;
}
.cart .container .card div:nth-of-type(2) button{
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  border: 1px solid #fff;
  cursor: pointer;
  background-color: #000;

}
.cart .container.card div:nth-of-type(2) span{
  font-size: 20px;
}
.cart .container.card i{
  cursor: pointer;
  font-size: 25px;
  transition: 0.5s;
  color: brown;
}
.cart .container.card i:hover{
  color: red;
  transform: scale(1.5);
}

.cart .totall {
  padding: 10px 0;
  width: 100%;
  border-top: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart .fa-circle-xmark {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 11;
  cursor: pointer;
}
.fa-trash{
  color: red;
  cursor: pointer;
}
/* end cart */

/* start sec services */

.services {
  padding: 50px 20px;
  background-color: rgb(240, 240, 240);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.services .sec_title {
  font-size: 36px;
  color: #333;
  margin-bottom: 40px;
}
.services-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
}
.service-box {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 30px;
  width: 320px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid #fbc02d;
}
.icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
}
.diamond-shape {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 2px solid #000;
  border-radius: 5px;
  transform: rotate(45deg);
  background: transparent;
}
.service-box h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
}
.service-box p {
  font-size: 16px;
  color: #777;
  margin-bottom: 25px;
}
.btn {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  text-transform: uppercase;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #555;
}
.highlight-btn {
  background-color: #fbc02d;
}
.highlight-btn:hover {
  background-color: #f9a825;
}
@media (max-width: 740px) {
  .services-container {
      flex-direction: column;
      align-items: center;
  }
  .service-box {
      width: 90%;
  }
}
/* end sec services */

/* start contact us */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 60px 20px;
  background: #fff;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  font-size: 36px;
  margin-bottom: 30px;
  position: relative;
}

.contact-info h2 span {
  color: #d4af37;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-item i {
  font-size: 26px;
  color: #d4af37;
}

.contact-item div {
  font-size: 16px;
}

.contact-item p {
  margin: 0;
  color: #555;
}

.contact-map {
  flex: 1;
  min-width: 300px;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}
/* end contact us */
/* start footer */
footer {
  background-color: #2d333f;
  color: white;
  padding: 50px 0;
}

/* Footer Container */
.footer-container {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

/* Footer Sections */
.footer-section {
  width: 22%;
  padding: 10px;
}

.footer-section h2 {
  font-size: 25px;
  margin-bottom: 20px;
  position: relative;
  border-bottom: 1px solid gold;
  padding-bottom: 20px;
  text-align: center;
}

/* About Us Section */
.footer-section p {
  font-size: 16px;
  color: #fff;
  margin-bottom: 15px;
}

/* Read More Button */
.read-more {
  background-color: var(--main-color);
  border: none;
  padding: 10px 15px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
}

.read-more:hover {
  background-color: #fff;
}

/* Quick Links */
.footer-section ul {
  list-style: none;
  text-align: center;
}

.footer-section ul li {
  margin: 10px 0;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.footer-section ul li a:hover {
  color: gold;
}

/* Social Media Links */
.footer-section ul li a i {
  margin-right: 10px;
}

/* Gallery Images */
.gallery-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.gallery-images img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding: 15px 0;
  background-color: #232838;
  font-size: 18px;
}

.footer-bottom span {
  color: var(--main-color);
}

/* end footer */

body {
  overflow-x: hidden;
}
