
:root {
    --maximum-blue-green_10: hsla(185, 75%, 45%, 0.1);
    --rich-black-fogra-29: hsl(217, 28%, 9%);
    --gray-x-11-gray: hsl(0, 0%, 74%);
    --oxford-blue_60: hsla(230, 41%, 14%, 0.6);
    --primary: #dc3545;
    --smoky-black: rgb(7, 6, 1);
    --gainsboro: hsl(0, 0%, 88%);
    --black_90: hsla(0, 0%, 0%, 0.9);
    --cultured: hsl(200, 12%, 95%);
    --salmon: hsl(5, 100%, 73%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --onyx: hsl(0, 0%, 27%);
    /**
   * typography
   */

    --ff-roboto: 'Roboto', sans-serif;
    --ff-josefin-sans: 'Josefin Sans', sans-serif;
    --fs-1: 3rem;
    --fs-2: 2.6rem;
    --fs-3: 2.2rem;
    --fs-4: 2rem;
    --fs-5: 1.8rem;
    --fs-6: 1.6rem;
    --fs-7: 1.4rem;
    --fs-8: 1.2rem;
    --fw-300: 300;
    --fw-500: 500;
    --fw-600: 600;
    --fw-700: 700;
    /**
   * transition
   */

    --transition-1: 0.25s ease;
    --transition-2: 0.5s ease;
    --cubic-out: cubic-bezier(0.51, 0.03, 0.64, 0.28);
    --cubic-in: cubic-bezier(0.33, 0.85, 0.56, 1.02);
    /**
   * spacing
   */

    --section-padding: 60px;
}
 

/*-----------------------------------*\
 * #RESET
\*-----------------------------------*/

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

li { list-style: none; }

a { text-decoration: none; }

a,
img,
span,
 ion-icon { display: block; }

button {
    font: inherit;
    background: none;
    border: none;
    cursor: pointer;
}


.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}

.brand-item {
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 25%);
    -webkit-transition: background-color 0.5s ease-out;
    -moz-transition: background-color 0.5s ease-out;
    -o-transition: background-color 0.5s ease-out;
    transition: background-color 0.5s ease-out;
}

    .brand-item:hover {
        background: #174967;
        color: white !important;
        cursor: pointer;
    }

    .brand-item img {
        width: 110px;
        height: 110px;
    }

.car-color-bar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.login-name {
    text-align: center;
    border-bottom: 1px solid var(--primary);
    padding: 3px;
    font-weight: 500;
}


address {
  font-style: normal;
  line-height: 1.8;
}

html {
  font-family: var(--ff-josefin-sans);
 /* font-size: 10px;*/
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  font-size: 1.2rem !important;
  padding-block-start: 90px !important;
}

::-webkit-scrollbar { width: 10px; }

::-webkit-scrollbar-track { background: hsl(0, 0%, 95%); }

::-webkit-scrollbar-thumb {
    background: hsl(0, 0%, 80%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover { background: hsl(0, 0%, 70%); }

 
/*-----------------------------------*\
 * #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

.section { padding-block: var(--section-padding); }

.h1,
.h2,
.h3,
.h4 { color: var(--rich-black-fogra-29); }

.h1 {
  font-size: var(--fs-1);
  font-weight: var(--fw-300);
  line-height: 1.5;
}

.h2 { font-size: var(--fs-2); }

.h3 { font-size: var(--fs-4); }

.h4 {
  font-size: var(--fs-5);
  text-transform: uppercase;
}

.page-wraper {
    display: block;
    background-color: whitesmoke;
    color: black;
    min-height: calc(100vh - 100px);
    width: 100%;
    padding: 8px 15px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--primaryColor);
    margin-bottom: 15px;
    margin-top: 15px;
}

.page-contents {
    display: block;
    margin-top: 15px;
}

.action-td {
    width: 100px;
    text-align: center;
    display: flex;
    justify-content: space-between
}

.form-control {
    padding: 0.1rem 0.25rem !important;
}
.form-group {
    margin-bottom: 15px !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.arabic {
    direction: rtl !important;
    text-align: right !important;
}

.english {
    direction: ltr !important;
    text-align: left !important;
}

.form-card {
    width: 50%;
    margin: auto;
    padding: 15px;
}

.header-app-logo {
    display:flex;
    justify-content:center;
}

.reqgistration-title {
    margin-top: 8px !important;
    margin-bottom: 22px !important;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/*.btn-primary {
    background-color: var(--primary) !important;
}
*/
.reqgistration-link {
    padding: 8px;
    margin: 8px;
    background-color: var(--primary);
    color: white;
    border-radius: 6px;
    text-align: center;
    width: 100%;
    /*max-width: 250px;*/
}

    .reqgistration-link a {
        color: white;
    }
        .reqgistration-link:hover {
            color: white;
            background-color: #971521;
        }

.has-scrollbar {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 20px;
    margin-top: 15px;
    scroll-snap-type: inline mandatory;
    scroll-snap-align: start;
}

.has-scrollbar > li {
  min-width: 100%;
  scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar { height: 10px; }

.has-scrollbar::-webkit-scrollbar-track {
  background: var(--white);
  border-radius: 20px;
  outline: 2px solid var(--primary);
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: var(--primary);
  border: 2px solid var(--white);
  border-radius: 20px;
}

.has-scrollbar::-webkit-scrollbar-button { width: calc(25% - 40px); }



element.style {
}

/*.dropdown-menu.show {
    display: block;
}

.dropdown-menu[data-bs-popper] {
    top: 100%;
    left: 0px !important;
    margin-top: 0.125rem;
}

.dropdown-menu {
    font-size:inherit!important;
}*/


/** Detail Card */

    .p-lable {
        width: 132px;
    }

    .space-1 {
        margin: 0px 8px;
    }

    .detail-image {
        width: 100%;
        height: 450px;
        border-radius: 10px;
        background-color: #263238;
        overflow: hidden;
        position: relative;
        background-size: cover;
        background-position: 50%;
    }

    .detail-image img {
        width: 100%;
        height: 100%;
        -o-object-fit: contain;
        object-fit: contain;
        -o-object-position: center;
        object-position: center;
    }

    .image-list-item {
        width: 33% !important;
        height: 125px;
        border-radius: 10px;
        overflow: hidden;
        background-color: #000;
        background-size: cover;
        background-position: 50%;
        outline: 0;
        cursor: pointer;
        position: relative;
    }

    .image-list-item .list-image {
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: center;
        object-position: center;
        position: relative;
        opacity: 60%;
    }

        .image-list-item .list-image:hover {
            opacity: 100%;
        }

.detail-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-right: 1px solid #80808052;
    padding: 15px;
}

    @media (max-width:767px) {
        .detail-section {
            border: none;
            padding: 8px;
            border-top: 1px solid #80808052;
        }
    }

/** END of Detail Card*/
.card-banner {
    background: var(--cultured);
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
}

.image-contain {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition-2);
}

.product-card {
    border-radius: 5px;
    box-shadow: 0 2px 1px -1px rgb(0 0 0 / 5%), 0 1px 1px 0 rgb(0 0 0 / 5%), 0 1px 3px 0 rgb(0 0 0 / 5%);
}

.product-card:is(:hover,:focus) {
    border-radius: 5px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 25%);
    -webkit-transition: background-color 0.5s ease-out;
    -moz-transition: background-color 0.5s ease-out;
    -o-transition: background-color 0.5s ease-out;
    transition: background-color 0.5s ease-out;
}

.product-card:is(:hover, :focus) .image-contain { transform: scale(1.1); }

.card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 15px;
  font-family: var(--ff-roboto);
  font-size: var(--fs-7);
  border-radius: 25px;
}

.card-action-list {
  position: absolute;
  top: 20px;
  right: -20px;
  opacity: 0;
  transition: var(--transition-1);
}

.product-card:is(:hover, :focus) .card-action-list {
  /*right: 20px;*/
  opacity: 1;
}

.card-action-item { position: relative; }

.card-action-item:not(:last-child) { margin-bottom: 10px; }

.card-action-btn {
  background: var(--white);
  color: var(--rich-black-fogra-29);
  font-size: 18px;
  padding: 10px;
  border-radius: 50%;
  transition: var(--transition-1);
}

.card-action-btn ion-icon { --ionicon-stroke-width: 30px; }

.card-action-btn:is(:hover, :focus) {
  background: var(--primary);
  color: var(--white);
}

.card-action-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 5px);
  transform: translateY(-50%);
  width: max-content;
  background: var(--black_90);
  color: var(--white);
  font-family: var(--ff-roboto);
  font-size: var(--fs-7);
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-1);
}

.card-action-btn:is(:hover, :focus) + .card-action-tooltip { opacity: 1; }

.card-content {
    /*padding: 24px 15px 0;*/
    padding: 8px 15px 8px;
    text-align: center;
}

.card-cat {
  font-family: var(--ff-roboto);
  color: var(--onyx);
  font-size: var(--fs-7);
  margin-bottom: 12px;
}

.card-cat-link {
  display: inline-block;
  color: inherit;
  transition: var(--transition-1);
}

.card-cat-link:is(:hover, :focus) { color: var(--primary); }

.product-card .card-title { margin-bottom: 12px; }

.product-card .card-title > a {
  color: inherit;
  transition: var(--transition-1);
}

.product-card .card-title > a:is(:hover, :focus) { color: var(--primary); }

.card-price {
  color: var(--primary);
  font-family: var(--ff-roboto);
  font-weight: var(--fw-600);
}

.card-price del {
  color: var(--gray-x-11-gray);
  margin-left: 8px;
}

.btn-link {
  --background: none;
  --border-color: none;
  padding: 0;
  margin-inline: auto;
  max-width: max-content;
  font-family: var(--ff-roboto);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--white);
}

.btn-link:is(:hover, :focus) { border-color: transparent; }
 

/*-----------------------------------*\
 * #HEADER
\*-----------------------------------*/

.header {
    background: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: var(--transition-1);
    z-index: 4;
   /* padding-block: 15px 8px;*/
    box-shadow: 0 2px 10px hsla(0, 0%, 0%, 0.1);
    /* box-shadow: 0 2px 1px -1px rgb(0 0 0 / 20%), 0 1px 1px 0 rgb(0 0 0 / 14%), 0 1px 3px 0 rgb(0 0 0 / 12%);*/
}

    .header.active {
        box-shadow: 0 2px 1px -1px rgb(0 0 0 / 20%), 0 1px 1px 0 rgb(0 0 0 / 14%), 0 1px 3px 0 rgb(0 0 0 / 12%);
        /*box-shadow: 0 2px 10px hsla(0, 0%, 0%, 0.1);*/
    }

    .header .hcontainer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-block: 15px 8px;
        padding: 8px 30px;
    }

.nav-open-btn {
    font-size: 30px;
    background: var(--primary);
    color: var(--white);
    padding: 8px;
    border-radius: 50%;
}

.nav-open-btn:is(:hover, :focus) { background: var(--salmon); }

.nav-open-btn ion-icon { --ionicon-stroke-width: 40px; }

.navbar, .navbar-rtl {
    display: block;
    background: var(--white);
    top: 0;
    width: 100%;
    max-width: 270px;
    height: 100%;
  /*  border-right: 3px solid var(--rich-black-fogra-29);*/
    font-family: var(--ff-roboto);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 2;
    visibility: hidden;
    transition: 0.25s var(--cubic-out);
}

.navbar { 
    left: -280px; 
}

.navbar-rtl { 
    right: -3px; 
}


.navbar.active {
  visibility: visible;
  transform: translateX(280px);
  transition: 0.5s var(--cubic-in);
}

.navbar-rtl.active {
  visibility: visible; 
  transition: 0.5s var(--cubic-in);
}

.culture {
    display: flex;
    justify-content: space-between;
    margin: 0px;
    padding: 8px;
}

#smenuLogo {
    display: none;
}

#smenuLogo.active {
    display:block;
}

.nav-close-btn {
    color: var(--rich-black-fogra-29);
    position: absolute;
    top: 0;
    right: 0;
    padding: 13px;
    font-size: 25px;
    transition: var(--transition-1);
}

.nav-close-btn-rtl {
    color: var(--rich-black-fogra-29);
    position: absolute;
    left: 0;
    top: 0;
    padding: 13px;
    font-size: 25px;
    transition: var(--transition-1);
}

.nav-close-btn ion-icon { --ionicon-stroke-width: 55px; }

.nav-close-btn:is(:hover, :focus) { color: var(--primary); }

/*.navbar .logo {
  background: var(--maximum-blue-green_10);
  padding-block: 50px 40px;
}*/

.navbar .logo img { margin-inline: auto; }

.navbar-list,
.nav-action-list {
    margin: 15px 0px;
}

.navbar-list {
    padding: 20px;
    border-bottom: 1px solid var(--gainsboro);
    width: 100%;
}

.navbar-link {
    color: var(--rich-black-fogra-29);
    padding-block: 10px;
    transition: var(--transition-1);
    font-size: large;
    display:flex;
    justify-content:space-between;
}

.navbar-link:is(:hover, :focus) { color: var(--primary); }

.navbar-item:not(:last-child) { border-bottom: 1px solid var(--gainsboro); }

.nav-action-list > li:first-child { display: none; }

.nav-action-btn {
  color: var(--rich-black-fogra-29);
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding-block: 10px;
  transition: var(--transition-1);
}

.nav-action-btn:is(:hover, :focus) { color: var(--primary); }

.nav-action-btn ion-icon {
  font-size: 22px;
  --ionicon-stroke-width: 25px;
}

.nav-action-text strong {
  font-weight: initial;
  color: var(--primary);
}

.nav-action-badge {
  margin-left: auto;
  font-size: var(--fs-8);
  background: var(--primary);
  color: var(--white);
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.overlay {
  position: fixed;
  inset: 0;
  background: hsla(0, 0%, 0%, 0.6);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-1);
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}


 
/*-----------------------------------*\
 * #HERO
\*-----------------------------------*/

.hero {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
  min-height: 400px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.hero-title { margin-bottom: 10px; }

.hero-title > strong { display: block; }

.hero-text {
  color: var(--onyx);
  font-family: var(--ff-roboto);
  font-size: var(--fs-8);
  line-height: 1.8;
  max-width: 46ch;
  margin-bottom: 25px;
}





/*-----------------------------------*\
 * #COLLECTION
\*-----------------------------------*/

.collection-card {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-block: 45px 25px;
}




/*-----------------------------------*\
 * #PRODUCTS
\*-----------------------------------*/

.product .section-title {
  text-align: center;
  margin-bottom: 25px;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  color: var(--onyx);
  padding: 10px 16px;
  font-family: var(--ff-roboto);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  border: 1px solid var(--gainsboro);
  border-radius: 30px;
}

.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.product-list {
  display: grid;
  gap: 50px 25px;
}





/*-----------------------------------*\
 * #CTA
\*-----------------------------------*/

.cta-list {
  display: grid;
  gap: 40px;
}

.cta-card {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 50px 20px;
}

.cta-card .card-subtitle {
  font-size: var(--fs-5);
  margin-bottom: 15px;
}

.cta-card .card-title {
  color: inherit;
  line-height: 1.3;
  margin-bottom: 20px;
}





/*-----------------------------------*\
 * #SPECIAL
\*-----------------------------------*/

.special-banner {
  height: 500px;
  background-color: var(--smoky-black);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.special-banner .banner-title {
  color: var(--white);
  font-weight: var(--fw-600);
}

.special .section-title {
  margin-block: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.special .section-title .text { min-width: max-content; }

.special .section-title .line {
  width: 100%;
  height: 1px;
  background: var(--gainsboro);
}





/*-----------------------------------*\
 * #SERVICE
\*-----------------------------------*/

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding-inline: 30px;
}

.service-item { width: 220px; }

.service-card {
  display: flex;
  align-items: center;
  gap: 15px;
}

.service-card .card-icon {
  background: var(--primary);
  min-width: 55px;
  height: 55px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.service-card .card-icon img {
  filter: brightness(0) invert(1);
  width: 60%;
  height: auto;
}

.service-card .card-title {
  font-size: var(--fs-6);
  margin-bottom: 8px;
}

.service-card .card-text {
  color: var(--onyx);
  font-family: var(--ff-roboto);
  font-size: var(--fs-7);
}

.service-card .card-text span {
  display: inline-block;
  color: var(--primary);
}





/*-----------------------------------*\
 * #INSTA POST
\*-----------------------------------*/

.insta-post-list { gap: 0; }

.insta-post-list .insta-post-item {
  position: relative;
  min-width: 33.33%;
  aspect-ratio: 1 / 1;
}

.insta-post-link {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--oxford-blue_60);
  opacity: 0;
  transition: var(--transition-1);
}

.insta-post-link ion-icon {
  color: var(--white);
  font-size: 40px;
}

.insta-post-link:is(:hover, :focus) { opacity: 1; }





/*-----------------------------------*\
 * #FOOTER
\*-----------------------------------*/

.footer { font-family: var(--ff-roboto); }

.footer-top { background: var(--cultured); }

.footer-brand {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gainsboro);
  margin-bottom: 15px;
}

.footer-brand .logo { margin-bottom: 15px; }

.social-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  background: var(--gainsboro);
  color: var(--onyx);
  font-size: 20px;
  padding: 10px;
  transition: var(--transition-1);
}

/*.social-link:is(:hover, :focus) {
  background: var(--primary);
  color: var(--white);
}*/

.snapchat:is(:hover, :focus) {
    background: #FFC107;
    color: var(--white);
}

.instagram:is(:hover, :focus) {
    background: #f93175bf;
    color: var(--white);
}

.facebook:is(:hover, :focus) {
    background: #3F51B5;
    color: var(--white);
}

    .whats-app:is(:hover, :focus) {
        background: #196d1c;
        color: var(--white);
    }

    .footer-list-title {
        position: relative;
        color: var(--rich-black-fogra-29);
        font-family: var(--ff-josefin-sans);
        font-size: var(--fs-3);
        font-weight: var(--fw-700);
        margin-bottom: 25px;
    }

.footer-list-title::after {
  content: "";
  display: block;
  background: var(--primary);
  width: 50px;
  height: 2px;
  margin-top: 10px;
}

.footer-link {
  color: var(--onyx);
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 6px;
  transition: var(--transition-1);
}

a.footer-link:is(:hover, :focus) { color: var(--primary); }

.footer-link-text { flex: 1; }

.footer-list:not(:last-child) { margin-bottom: 30px; }

.footer-list:first-child ion-icon {
  color: var(--primary);
  font-size: 22px;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  padding-block: 6px;
}

.table-head {
  color: var(--rich-black-fogra-29);
  font-weight: var(--fw-500);
}

.table-data { color: var(--onyx); }

.newsletter-text {
  color: var(--onyx);
  line-height: 1.7;
  margin-bottom: 20px;
}

.newsletter-form { position: relative; }

.newsletter-input {
  background: var(--white);
  color: var(--onyx);
  padding: 15px 25px;
  padding-right: 120px;
}

.newsletter-form .btn-primary {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  font-family: var(--ff-josefin-sans);
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  padding-inline: 20px;
}

.footer-bottom {
  background: var(--rich-black-fogra-29);
  padding-block: 20px;
}

.copyright {
  text-align: center;
  color: var(--white);
}

.copyright-link {
  display: inline-block;
  color: var(--primary);
}





/*-----------------------------------*\
 * #GO TOP
\*-----------------------------------*/

.add-new-car-btn {
    position: fixed;
    top: 40px;
    z-index: 4;
    left: auto;
    right: 15px;
    bottom: auto;
    background: #dc3545c4;
    color: #607d8b;
    padding: 10px;
    border: 3px solid var(--white);
    border-radius: 50%;
}

    .add-new-car-btn:hover {
        background: white;
        box-shadow: 0 3px 6px rgb(0 0 0 / 25%);
    }


    .go-top-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: var(--primary);
        color: var(--white);
        font-size: 20px;
        padding: 10px;
        border: 4px solid var(--white);
        border-radius: 50%;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-1);
        z-index: 2;
    }

.go-top-btn.active {
  opacity: 1;
  visibility: visible;
}

.go-top-btn:is(:hover, :focus) { background: var(--salmon); }


.navbar .dropdown-menu.show {
    left: auto !important;
    right: 0 !important;
}

.navbar-rtl .dropdown-menu.show {
    right: auto !important;
    left:0 !important;
}

.message-grid {
    display: flex;
    flex-direction: column;
}

.response-message {
    display:none;
    background-color: coral;
    border-radius: 4px;
    padding: 8px;
}

.show {
    display: flex;
    flex-direction: column;
}


.message-me {
    position: relative;
    margin-left: 20px;
    margin-bottom: 10px;
    padding: 8px;
    background-color: #A8DDFD;
    border: 1px solid #97C6E3;
    border-radius: 10px;
    float: left;
}

.message-to {
    position: relative;
    margin-bottom: 10px;
    /* margin-left: calc(100% - 240px);*/
    padding: 8px;
    background-color: #f8e896;
    border: 1px solid #dfd087;
    border-radius: 10px;
    float: right;
}

.message-content {
    padding: 15px;
    word-break: break-all;
}

.message-sender-top {
    position: absolute;
    font-size: .85em;
    font-weight: 300;
    top: 5px;
    left: 15px;
    margin-bottom: 15px;
}

.message-timestamp-right {
    position: absolute;
    font-size: .85em;
    font-weight: 300;
    bottom: 5px;
    right: 5px;
}

.message-timestamp-left {
    position: absolute;
    font-size: .85em;
    font-weight: 300;
    bottom: 5px;
    left: 5px;
}

.message-me:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 15px solid #A8DDFD;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    top: 0;
    left: -15px;
}

.message-me:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 17px solid #97C6E3;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    top: -1px;
    left: -17px;
}

.message-to:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-bottom: 15px solid #f8e896;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    bottom: 0;
    right: -15px;
}

.message-to:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-bottom: 17px solid #dfd087;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    bottom: -1px;
    right: -17px;
}

.upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
    border-radius: 4px;
    padding: 8px;
    height: 100%;
    width: 100%;
}

.upload-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    place-items: center;
}

.upload-image-item {
    width: 100%;
    max-height: 275px;
    background-color: #9e9e9e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

    .upload-image-item button {
        margin-bottom: -8px;
        margin-top: auto;
        margin-left: auto;
        margin-right: -8px;
        width: 30px !important;
        height: 28px;
        text-align: center;
        display: flex;
    }

    /*.upload-image-item .image-contain {
        width: 100%;
        height: 95%;
        object-fit: fill;
        object-position: center;
        transition: var(--transition-2);
    }*/



@media only screen and (max-width: 767px) {
    .message-to, .message-me {
        width: 100%;
    }

    .upload-image-grid {
        grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
    }

    .upload-image-item {
        width: 220px;
        height: 220px;
    }
  

}

/*-----------------------------------*\
 * #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 575px screen
 */

@media (min-width: 575px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 4rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 650px;
    width: 100%;
    margin-inline: auto;
  }

  .has-scrollbar > li { min-width: calc(50% - 12.5px); }



  /**
   * HERO
   */

  .hero-text { font-size: var(--fs-7); }



  /**
   * PRODUCTS
   */

  .product-list { grid-template-columns: 1fr 1fr; }



  /**
   * CTA
   */

  .cta-card { text-align: left; }

  .cta-card .card-title { max-width: 14ch; }

  .cta-card .btn-link { margin-inline: 0; }



  /**
   * INSTA POST
   */

  .insta-post-list .insta-post-item { min-width: 25%; }



  /**
   * FOOTER
   */

  .footer-brand .logo { margin-bottom: 0; }

  .footer-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-link-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }

}
 

/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 3rem;

  }
   

  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }

  .h4 { --fs-5: 2rem; }



  /**
   * SPECIAL
   */

  .special-banner .banner-title { --fs-4: 2.2rem; }

  .special-product .has-scrollbar > li { min-width: 100%; }

  .special .container {
    display: flex;
    gap: 25px;
  }

  .special .section-title { margin-block-start: 0; }

  .special-banner,
  .special-product { min-width: calc(50% - 12.5px); }

  .special-banner { height: auto; }



  /**
   * INSTA POST
   */

  .insta-post-list .insta-post-item { min-width: 20%; }



  /**
   * GO TOP
   */

  .go-top-btn {
    padding: 15px;
    border-width: 6px;
    bottom: 30px;
    right: 30px;
  }

}
 


/**
 * responsive for larger than 992px screen
 */

@media (max-width:991px) {
    .navbar, .navbar-rtl {
        position: fixed !important;
    }
        .navbar .dropdown-menu.show { 
            right: auto !important;
        }

        .navbar-rtl .dropdown-menu.show { 
            left: auto !important; 
        } 
    
}

@media (min-width: 992px) { 

  :root { 
    --fs-3: 2.4rem; 
  }
   

  .container { max-width: 970px; }

  .has-scrollbar > li { min-width: calc(33.33% - 16.66px); }


    .nav-open-btn,
    .nav-close-btn,
    .nav-close-btn-rtl,
    .navbar .logo,
    .nav-action-text,
    .overlay {
        display: none;
    }

    .navbar,
    .navbar-rtl,
    .navbar-list,
    .nav-action-list {
        all: unset;
    }

  .navbar-item:not(:last-child) { border: none; }

  .navbar-list,
  .nav-action-list { display: flex; }

  .nav-action-list { gap: 20px; }

    .navbar, .navbar-rtl {
        display: flex;
        align-items: center;
        flex-grow: 1;
    }
     

  .navbar-list {
    margin-inline: auto;
    gap: 35px;
  }

  .navbar-link {
    font-family: var(--ff-roboto);
    font-weight: var(--fw-500);
  }

  .nav-action-list > li:first-child { display: block; }

  .nav-action-btn { position: relative; }

  .nav-action-badge ion-icon { --ionicon-stroke-width: 30px; }

  .nav-action-badge {
    position: absolute;
    top: 5px;
    right: -12px;
  }
   

  .hero { height: 480px; } 
   
  .product-list { grid-template-columns: repeat(3, 1fr); }
   
  .cta-list {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .cta-card { padding-inline: 50px; }
   
  .special-banner { min-width: calc(33.33% - 25px); }

  .special-product { min-width: 66.66%; }

  .special-product .has-scrollbar > li { min-width: calc(50% - 12.5px); } 

  .insta-post-list .insta-post-item { min-width: 16.666%; }

}

 
/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {
 
  :root { 

    --fs-1: 5rem;
    --fs-2: 3.6rem; 
  }
   
  .container { max-width: 1280px; }
   

  .hero { height: 580px; }

  .hero .container { max-width: 1000px; }

  .hero-text {
    font-size: var(--fs-6);
    max-width: 50ch;
  }
   
  .product-list { grid-template-columns: repeat(4, 1fr); }

   

  .special-banner { min-width: calc(25% - 25px); }

  .special-product .has-scrollbar > li { min-width: calc(33.33% - 16.66px); }

  .special-banner .banner-title { --fs-4: 2.4rem; }

   

  .service-item { width: 275px; }

  .service-card .card-icon {
    min-width: 70px;
    height: 70px;
  }

  .service-card .card-title { --fs-6: 2rem; }
   

  .insta-post { padding-block-end: 0; }

  .insta-post-list .insta-post-item { min-width: 12.5%; }

  .insta-post-list { padding-bottom: 0; }
   
  .footer-link-box {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
  }

}

@media screen and (max-width: 767px) {
    #myform {
        width: 100% !important;
        margin: auto;
    }

    .form-card {
        width: 94%;
        margin: auto;
        padding: 15px;
    }
}