/* Default theme (light) */
[data-bs-theme="light"] {
    --hero-gradient: linear-gradient(45deg, #dcc9f1 0%, #cfe0fc 100%);;
    --custom-bg: #f0f0f0;
    --custom-color: #000;
    --spec-exist-color: green;
    --spec-not-exist-color: #ff00004d;
}

/* Dark theme override */
[data-bs-theme="dark"] {
    --hero-gradient: linear-gradient(45deg, #6b4f9b 0%, #3a5a91 100%);
    --custom-bg: #6b4f9b;
    --custom-bg: #6b4f9b;
    --custom-color: #fff;
    --spec-exist-color: #fff600c9;
    --spec-not-exist-color: gray;
  }
  
  /* Use the variables */
  .custom-box {
    background-color: var(--custom-bg);
    color: var(--custom-color);
    padding: 1rem;
    border-radius: 8px;
  }
  .product-name{
    color: var(--custom-color);
  }
  
  [data-bs-theme="dark"] .btn {
    background-color: var(--custom-bg);  
    color: var(--custom-color);  
    border: 1px solid #6c757d;  
  }

.hero-div{
    color: var(--custom-color);
    padding-top: 70px;
}
.star-container {
    position: relative;
    display: inline-block;
    font-size: 15px;
    color: #ddd; 
}
.star-filled {
    position: absolute;
    overflow: hidden;
    white-space: nowrap;
    color: gold; 
}
.star-empty {
    color: #ddd;
}
.product-img {
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    width: auto;
}
.card.product-card {
    background-repeat: no-repeat;
}

.grdient-div {
    background: var(--hero-gradient);
    color:var(--custom-color);
    --mask: linear-gradient(to bottom, 
        rgba(0,0,0, 1) 0,   rgba(0,0,0, 1) 40%, 
        rgba(0,0,0, 0) 95%, rgba(0,0,0, 0) 0
    ) 65% 22% / 100% 111% repeat-x;
    -webkit-mask: var(--mask); 
    mask: var(--mask);

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* push behind other content */
}

.hero-div,
.product-div {
    position: relative;
    z-index: 1; 
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #6a11cb;
}

.cta {
    background-color: var(--custom-bg);
}

.app-screenshot {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}
.navbar{
    background-color: var(--custom-bg);
}

#themeToggle{
    font-size: larger;
    border-radius: 100%;
    padding-block: 1px;
    padding-inline: 5px;
    border: none;
    color: var(--custom-color);
}
.custom-color
{
    color: var(--custom-color);
}

body {
    transition: background-color 0.3s, color 0.3s;
}
  
#themeToggle i {
    transition: transform 0.3s ease;
}
  
.sidebar-wrapper {
    position: sticky;
    top: 60px;
    height: 100vh;
    overflow-y: auto;
}

.product-card{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    border-radius: 15px;
}
.carousel-control-next, .carousel-control-prev{
    width:3%;
}

.white-glar{
    filter: drop-shadow(0 0 0px white)
    drop-shadow(0 0 0px white)
    drop-shadow(0 0 1px white);
}

.spec.spec-exist{
    color: var(--spec-exist-color)
}
.spec{
    font-size: 18px;
    color: var(--spec-not-exist-color)
}
.btn-semi-square-md {
    width: 50% !important;
    max-width: 100% !important;
    text-align: center;
    padding: 6px;
    margin-block: 6px;
    box-shadow: 0px 0px 0px 0px;
    font-size: 12px;
    vertical-align: middle;
    width: 94% !important;
    margin-inline: 3%;
}

.btn-semi-square-md:hover , .btn-semi-square-md-hover {
    color: #fff !important;
    background-color: rgb(104, 104, 245) !important;
    border-radius: 0px 0px 9px 9px !important ;
}
.btn-square-md:hover
{
    background-color: rgb(104, 104, 245) !important;
}

.btn-square-md {
    width: 50% !important;
    max-width: 100% !important;
    text-align: center;
    padding: 6px;
    margin-block: 6px;
    box-shadow: 0px 0px 0px 0px;
    font-size: 12px;
    vertical-align: middle;
    width: 94% !important;
    margin-inline: 3%;
    background-color: rgb(50 115 159) !important;
    border-radius: 9px !important ;
    color: #fff !important;
}

#navbarNav a {
  text-decoration: none;
  position: relative;
}

#navbarNav a::before,
#navbarNav a::after {
  content: "";
  position: absolute;
  display: block;
  border: 0 solid transparent;
  width: 0%;
  height: 0%;
  transition: all 0.5s ease;
}

#navbarNav a::after {
  top: 0;
  left: 0;
  border-top: 2px solid transparent;
  border-left: 2px solid transparent;
}

#navbarNav a::before {
  right: 0;
  bottom: 0;
  border-bottom: 2px solid transparent;
  border-right: 2px solid transparent;
}

#navbarNav a:hover::before,
#navbarNav a:hover::after {
  width: 100%;
  height: 100%;
  border-color: #43436696;
}

.link-center
{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.link-end
{
    display: flex;
    align-items: center;
    flex-direction: column;
}
@media (min-width: 1024px) {
  .link-end {
    align-items: end;
  }
}

.footerLink a {
	color: #ffffff;
    position: relative;
    text-decoration: none;
    width: fit-content;
}

.footerLink a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  border-radius: 4px;
  background-color: #ffffff;
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform .3s ease-in-out;
}

.footerLink a:hover::before {
    color: #ffffff;
    transform-origin: left;
    transform: scaleX(1);
}


#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: -10px;
    display: none;
    z-index: 999 !important;
}

.CAMS-font-style {
    font-family: Agency FB;
    color: #00008b;
    font-size: 34px;
    /* margin-left: 8px;
    margin-bottom: -8px; */
    float: right;
    font-weight: bold;
    background: -webkit-linear-gradient(#33b7f1, #033056);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fa-brands
{
    color: #ffffff;
}
.fa-brands:hover
{
    color: #f9ffa4;
}