:root {

  --clr-primary-400:	hsl(1, 96%, 38%);
  --clr-heading-300:rgb(199, 0, 0);
  --clr-bg-500: hsl(0, 8%, 97%);


  --ff-base:'Rubik', sans-serif;


  --fw-light: 400;
  --fw-regular: 500;
  --fw-bold: 700;

  /*
      - Mobile: 375px
      - Desktop: 1440px
  */

}

/* @font-face {
font-family: 'Rubik', sans-serif;
src: url('path/to/your/font.woff2') format('woff2'),
     url('path/to/your/font.woff') format('woff');
} */

.viber-contact {
position: fixed;
bottom: 50px; 
  right: 20px; 
  z-index: 9999 !important;
  height: 60px;
  width: 60px;
}


*, *::before, *::after {
  box-sizing: border-box;
}

*{
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;

}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

#root, #__next {
  isolation: isolate;
}

.line-clr {
padding: 0.5rem;
background-color: #A60000;
}

.flex {
display: flex;
}

.justify-between {
justify-content: space-between;
}

.align-center {
align-items: center;
}

.gap-1 {
gap: 1rem;
}

.gap-2 {
gap: 2rem;
}

.animl:hover {
color:#fdaaa8;
transition: all 0.3s;
}

/* Sticky Noob */
.header {
display: flex;
align-items: center;
justify-content: center;
}

.sticky .header{
position: fixed;
top: 0;
width: 100%;
z-index: 9999;
height: 3rem;
padding-top: 0;
padding-bottom: 0;
box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.03);
padding: 0.5rem 1rem 0.5rem 3rem;
}

.sticky .carousel {
margin-top: 3.5rem;
}

body {
  font-family: var(--ff-base);
  /* font-size: 0.9375rem; */
  font-size: 0.875rem;
 }

 /* .container-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-right: 1rem;
 } */


/* HEADER */

.logo-val {
  display: flex;
  justify-content: center;
  align-items: center;
}

 .header {

  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  padding: 1rem 5rem 1.5rem 5rem;
 }

.icon-inf {
  height: 17px;
  width: 17px;
}
/* 
.location-inf {
  display: flex;
  align-items: center;
} */

.contact-inf {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.email-inf {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.logos-start {
  display: flex;
  gap: 2rem;
}

.header-logo-search {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  width: 100%;
  margin-bottom: 1.5rem;
  padding:0 5rem 0 5rem;
}

.company-logo {
  width: 334px;
  height: 76px;
}


.search {
      --padding: 10px;

      display: flex;
      align-items: center;
      padding: var(--padding);
      border-radius: 9px;
      /* box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.2); */
      width: 100%;
      
  
}

.search-input {
display: flex;
align-items: center;
justify-content: center;
  font-size: 16px;
  font-family: var(--ff-base);
  color: #333;
  outline: none;
  border: none;
  background-color: transparent;
  width: 100%;

}




form {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* 
.search-input::placeholder,
.search-icon {
  /* color: rgba(0, 0, 0, 0.25); */
  /* color: #000; */

  /* MOBILE NAV */

  .btn-mobile-nav{
    border: none;
    background: none;
    cursor: pointer;

    display: none;
  }

  .icon-mobile-nav{
    height: 2rem;
    width: 2rem;
    color: #fff;
  }

  /* 
   */

   .icon-mobile-nav[name="close-outline"] {
      display: none;
   }

/* MAIN - NABEIGATION */

.header {
display: flex;
justify-content: center;
  background-color: var(--clr-primary-400);
  padding: 1rem 3rem 1rem 3rem;
}

.header p a {
text-decoration: none;
cursor: pointer;
color: #000000;
}

.footer p a {
text-decoration: none;
cursor: pointer;
color: #000000;
}


ul li {
display: inline-block;
position: relative;

}

ul li a {
display: block;
color: #fff;
text-decoration: none;
text-align: center;
font-size: 1.2rem;

}

.dropdown-content li a {
margin-bottom: 1.2rem;
}

.dropdown-content li {
list-style: circle;
}

ul li ul.dropdown-content {

width: 150px; 
background-color: var(--clr-primary-400);
position: absolute;
z-index: 999;
display: none;
top: 100%; 
left: 0; 
padding: 1rem; 
border-radius: 5px; 
}

ul li ul.dropdown-content li {
display: block;
text-align: center;
margin-bottom: 8px; 
}

ul li ul.dropdown-content li:hover {
background-color: #fb3c39;
}





ul li .animl:hover {
color: #fd9e9c;

}

ul li:hover ul.dropdown-content {
display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4rem;
}



.animl:link, .animl:visited {
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
}

.btn-top {
  display: flex;
  gap: 1rem;
}

.btn {
  width: 92px;
  height: 40px;
  font-size: 1rem;
  border-radius: 0.4rem;
  cursor: pointer;
}

.btn:hover {
color: var(--clr-primary-400);
}
/* Carousel */

.carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  flex: 0 0 100%;
}

.carousel-item img {
  width: 100%; 
  height: auto; 
  object-fit: cover; 
}

.pagination {
  position: absolute;
  bottom: 20px; 
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  display: inline-block;
  width: 15px; 
  height: 15px; 
  border-radius: 50%;
  background-color: #bbb;
  margin: 0 8px; 
  cursor: pointer;
}

.dot.active {
  background-color: #333;
}

/* Icon Tutorial */

.icon-tutorial{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
  background-color: var(--clr-bg-500);
  padding: 1rem 1rem 2.5rem 1rem;
}


.icon-tutorials {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  background-color: var(--clr-bg-500);
  padding: 1rem 1rem 2.5rem 1rem;
}


.tutorial-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.tutorial-header {
  font-weight: var(--fw-bold) !important;
  font-size: 1rem;
  color: #fb3c39;
}

.tutorial-description {
  color: #fc706e;
  font-size: 0.9rem;
}

/* Section About us */

.reddish {
filter: contrast(90%) brightness(110%) saturate(120%) hue-rotate(50deg);
}

.about-us {
display: grid;
grid-template-columns: 1fr 1fr;
padding: 0.5rem;
background-color: #BE0704;
}

.about-us div {
flex: 1;
margin-right: 10px; 
}

.about-us div:last-child {
margin-right: 0;
}

.video-container { 
flex-basis: 30%; 
flex-shrink: 0;
min-width: 0;
}

.ccarousel-container {
display: flex;
flex-basis: 70%;
overflow: hidden;
position: relative;
align-items: stretch;
}

.ccarousel-slide {
flex: 0 0 auto;
transition: transform 1s ease;
position: absolute;
top: 0;
left: 0;
height: auto;
width: 100%;
}

.ddots-container {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
display: flex;
justify-content: center;
align-items: center;
}

.ddot {
height: 15px; 
width: 15px; 
background-color: #bbb;
border-radius: 50%;
margin: 0 7.5px; 
cursor: pointer;
}

.ddot.active {
background-color: #717171;
}


/* Product Section */

.products {
padding: 5rem;

}

.product-title {
display: flex;
justify-content: space-between;
margin-bottom: 1rem;
}

.product-type {
font-size: 3rem;
color: var(--clr-heading-300);
font-weight: var(--fw-regular);
}

.search-product {
display: flex;
justify-content: space-between;
align-items: center;
gap: 2rem;
}

.product-cards {
display: flex;
justify-content: space-between;
gap: 1rem;
}

.product-card {
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
flex-direction: column;
height: auto;
width: 100%;
padding: 0.5rem 2rem;
border-radius: 15px;
border: 2px solid #C76060;
}

.product-u {
font-weight: var(--fw-regular);
}

.product-name {
font-size: 2rem;
font-weight: var(--fw-regular);
color: var(--clr-heading-300);
}

.product-img {
height: 120px;
width: 150px;
margin-left: 2.5rem;
}

.product-img2 {
height: 140px;
width: 170px;
margin-left: 2.5rem;
}


.title-heart {
display: flex;
justify-content: space-between;
align-items: center;
}

.btn-card {
border-radius: 30px;
background-color: var(--clr-primary-400);
color: #fff;
cursor: pointer;
padding: 6px;

}

.btn-card:hover {
background-color: #fff;
color:var(--clr-primary-400) ;
border: 1px solid var(--clr-heading-300);
transition: all 0.3s;
}


.btn-m {
margin-left: 0.2rem;
padding-left: 1rem;
padding-right: 1rem;

}



/* Popular Section */

.section-popular {
padding: 5rem;
}



.popular-title {
font-size: 2.5rem;
font-weight: var(--fw-regular);
margin-bottom: 1rem;
}

.popular-section {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr;

}


.popular-grid img {
width: 415px;
height: 245px;
}

.popular-grid p {
font-size: 1.5rem;
font-weight: var(--fw-regular);
}

.sale-text {
font-size: 1.3rem;
color: #DB6060;
}

/* Footer */

.section-follow {
display: flex;
justify-content: space-between;
background-color: var(--clr-primary-400);
padding: 1.2rem;
}

.follow-us {
display: flex;
align-items: center;
gap: 2rem;
}

.footer {
display: flex;
justify-content: space-around;
align-items: center;
padding: 1rem;
}

.footer-img {
height: 51px;
width: 247px;
}

.btn-view:link {
text-decoration: none;
padding: 0.8rem;
background-color: var(--clr-primary-400);
font-size: 1rem;
border-radius: 0.5rem;
}


/* AI */


*, html {
--primaryGradient: linear-gradient(93.12deg, #BE0704 0.52%, #BF424c 100%);
--secondaryGradient: linear-gradient(268.91deg, #BE0704 -2.14%, #BF424c 99.69%);
--primaryBoxShadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
--secondaryBoxShadow: 0px -10px 15px rgba(0, 0, 0, 0.1);
--primary: #BE0704;
}

/* CHATBOX
=============== */
.chatbox {
position: absolute;
bottom: 30px;
right: 30px;
}

/* CONTENT IS CLOSE */
.chatbox__support {
display: flex;
flex-direction: column;
background: #eee;
width: 300px;
height: 350px;
z-index: -123456;
opacity: 0;
transition: all .5s ease-in-out;
}

/* CONTENT ISOPEN */
.chatbox--active {
transform: translateY(-40px);
z-index: 123456;
opacity: 1;

}

/* BUTTON */
.btn-view {

display: flex;
flex-grow: 1;
margin-left: 1rem;
}
.chatbox__button {
text-align: right;
}

.send__button {
padding: 6px;
background: transparent;
border: none;
outline: none;
cursor: pointer;
}


/* HEADER */
.chatbox__header {
position: sticky;
top: 0;
background: orange;
}

/* MESSAGES */
.chatbox__messages {
margin-top: auto;
display: flex;
overflow-y: scroll;
flex-direction: column-reverse;
}

.messages__item {
background: orange;
max-width: 60.6%;
width: fit-content;
}

.messages__item--operator {
margin-left: auto;
}

.messages__item--visitor {
margin-right: auto;
}

/* FOOTER */
.chatbox__footer {
position: sticky;
bottom: 0;
}

.chatbox__support {
background: #f9f9f9;
height: 400px;
width: 300px;
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
border-top-left-radius: 20px;
border-top-right-radius: 20px;
}

/* HEADER */
.chatbox__header {
background: var(--primaryGradient);
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 10px 17px;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
box-shadow: var(--primaryBoxShadow);
gap: 1rem;
}

.chatbox__image--header {
display: flex;
justify-content: center;
align-items: center;
height: 45px;
width: 70px;
}

.chatbox__heading--header {
font-size: 1.2rem;
color: white;
}

.chatbox__description--header {
font-size: .9rem;
color: white;
}

/* Messages */
.chatbox__messages {
padding: 0 20px;
}

.messages__item {
margin-top: 10px;
background: #E0E0E0;
padding: 8px 12px;
max-width: 70%;
}

.messages__item--visitor,
.messages__item--typing {
border-top-left-radius: 20px;
border-top-right-radius: 20px;
border-bottom-right-radius: 20px;
}

.messages__item--operator {
border-top-left-radius: 20px;
border-top-right-radius: 20px;
border-bottom-left-radius: 20px;
background: var(--primary);
color: white;
}

/* FOOTER */
.chatbox__footer {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 20px 20px;
background: var(--secondaryGradient);
box-shadow: var(--secondaryBoxShadow);
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
margin-top: 20px;
}

.chatbox__footer input {
width: 80%;
border: none;
padding: 10px 10px;
border-radius: 30px;
text-align: left;
}

.chatbox__send--footer {
color: white;
}

.chatbox__button button,
.chatbox__button button:focus,
.chatbox__button button:visited {
padding: 13px;
background: #BE0704;
border: none;
outline: none;
border-top-left-radius: 50px;
border-top-right-radius: 50px;
border-bottom-left-radius: 50px;
box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
cursor: pointer;
}

.chatbox__button {
position: fixed;
bottom: 20px;
right: 20px; 
z-index: 1000; 
}

.container {
position: fixed;
bottom: 30px; 
right: 5px; 
z-index: 1000;
}

/* Existing Modal Styles */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal::-webkit-scrollbar {
display: none; /* For Chrome, Safari, and Opera */
}

.modal-content {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #fefefe;
margin: 10% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Could be more or less, depending on screen size */
border-radius: 20px;
}

.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

/* New Styles from the provided CSS */
.login-form {
  flex: 1;
  padding: 20px;
}

.login-form form {
  width: 100%;
}

.login-form #email-label, #password-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.login-form #rememberMe-label , #rememberMe {
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 15px;
}

.login-form #email, #password {
  width: 100%; /* Adjusted to be responsive */
  padding: 8px;
  margin-bottom: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.login-form button {
  background-color: rgb(177, 2, 2);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  padding: 10px;
  cursor: pointer;
  width: 100%;
}

.login-form button:hover {
  background-color: #932727;
}

.login-image {
  flex: 1;
  padding: 20px;
}

.login-image img {
  width: 350px;
  height: 300px;
  border-radius: 5px;
  display: block;
  margin: auto;
}

.login-options {
  text-align: center;
  margin-top: 20px;
}

.login-options p {
  margin: 0;
}

.login-options a {
  color: rgb(177, 2, 2);
  text-decoration: none;
  font-weight: bold;
}

.login-options a:hover {
  text-decoration: underline;
}

/* Magnifying Glass */
.product-img {
  transition: transform 0.3s ease; /* Smooth transition for zoom effect */
}

.product-img:hover {
  transform: scale(1.2); /* Zoom in effect on hover */
}

/* developers */

.developers:link {
color: #fff;
cursor: pointer;
font-size: 1.7rem;
text-decoration: none;

}

/* Dev */

.dev-container {
  display: grid;
  grid-template-rows: 1fr 1fr;
  justify-content: center;
  padding: 2rem;
  gap: 5rem;
}

.container-dev {
  display: grid;
  grid-template-rows: 1fr 1fr;
  width: 50rem;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  padding: 1rem;

}

.main-profile {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-direction: column;
  align-items: center;

  background-color: #BE0704;

}

.dev-con {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.dev-img {
  object-fit: cover;
  border-radius: 50%;
  
}

.dev-name {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.dev-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem 2rem 2rem;
}

.dev-title {
  color: #fff;
}

.dev-about {
  color: #BE0704;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1rem;
}

.tech-list {
  text-align: center;
 display: flex;
 flex-direction: column;
 gap: 1rem;
}

.dev-life {
  font-size: 1rem;
  text-align: center;
}

/* Gall */

.gall-img {
  width: 100%;
  object-fit: cover;
}

.gall-container {
  margin: 2rem;
}


.txt-container {
  padding: 2rem;
}

.txt-title {
  font-size: 2rem;
  font-weight: var(--fw-bold);
  color: #BE0704;
}

.txt-sec {
  font-size: 1.5rem;
  color: #BF424c;
}

.txt {
  text-align: center;
}

.txt-container {
  padding: 2rem;
}

.img-grid {
  display: grid;
  padding: 0px 3.2rem;
  margin: 0px auto;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  max-width: 100rem;
}

.img-grid img {
  width: 100%;
  object-fit: cover;
  overflow: hidden;
}

.img-flex {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* mq */

@media (max-width: 87.313rem) {
.btn-card {
  padding: 4px;
}
}

@media (max-width: 80.313rem) {
.btn-card {
  padding: 3px;
}
}


@media (max-width: 79.375rem) {

.fo-card {
  display: none;
}
}

@media (max-width: 78.438rem) {

.fo-card {
  display: none;
}

.top-txt {
  font-size: 0.7rem;
}
}

@media (max-width: 75.625rem) {

.fo-card {
  display: none;
}

.top-txt {
  font-size: 0.6rem;
}

.icontuto {
  height: 60px;
  width: 60px;
}
}

@media (max-width: 65.563rem) {

.icontuto {
  height: 50px;
  width: 50px;
}

.tutorial-description {
  font-size: 0.7rem;
}

.fo-card {
  display: none;
}

.top-txt {
  font-size: 0.6rem;
}
}

@media (max-width: 62.25rem) {

.fo-card2 {
  display: none;
}
}

@media (max-width: 60rem) {


.animl:link, .animl:visited {
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  font-size: 0.8rem;
  }

  .icontuto {
    height: 30px;
    width: 30px;
  }

}

@media (max-width: 56rem) {

.animl:link, .animl:visited {
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  font-size: 0.8rem;
  }

  .icon-tutorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .icon-tutorials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .icontuto {
      height: 50px;
      width: 50px;
  }

 
}


@media (max-width: 53.625rem) {
.header {
  justify-content: flex-end;
  padding: 0rem 1rem 0rem 1rem;
  position: relative;

}

.btn-mobile-nav {
  display: block;
  z-index: 9999;
}

@media (max-width: 53.625rem) {
  .header {
    justify-content: flex-end;
    padding: 0rem 1rem 0rem 1rem;
    position: relative;
  }

  .btn-mobile-nav {
    display: block;
    z-index: 9999;
  }

  .main-nav {
    background-color: #BE0704;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s;

    /* hide */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;  
  }

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
  }

  .nav-open .icon-mobile-nav[name="menu-outline"] {
    display: none;
  }

  .nav-list {
    flex-direction: column;
  }

  }

  @media (max-width: 50.688rem) {
    .about-us {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: 1fr 1fr;
    }
  }

  @media (max-width: 53.688rem) {
    .pagination {
      display: none;
    }
  }

  @media (max-width: 45.188rem) {
    .btn-n {
      display: none;
    }
  }

  @media (max-width: 40.938rem) {
    .styler {
      font-size: 2rem;
    }

 
  }

  @media (max-width: 38.75rem) {
    .focu-1 {
      display: none;


    }
  }

  @media (max-width: 38.813rem) {
    .icontuto {
      height: 30px;
      width: 30px;
    }

    .tutorial-header {
      font-size: 0.7rem;
    }


  }

  @media (max-width: 37.5rem) {
   .img-grid {
    display: grid;
    grid-template-columns: 1fr;
   }
  }

  
  @media (max-width: 35rem) {
    .product-card {
      padding: 0.5rem 1rem;
    }

    .follow-uss {
      display: none;
    }
  }

  
  @media (max-width: 30rem) {
    .product-type {
      font-size: 2rem;
    }


  }

  @media (max-width: 25rem) {
    .product-card {
      padding: 0.5rem 1rem;
    }

    .tutorial-description {
      font-size: 0.6rem;
    }


  }
}

@media (max-width: 25.688rem) {
  .product-type {
    font-size: 1.66rem;
  }
}


@media (max-width: 53.125rem) {
  .container-dev {
    width: 40rem;
  }
}

@media (max-width: 43.125rem) {
  .container-dev {
    width: 28rem;
  }
}