/* =========================== passion-part styles ======================= */
/* passion-part style for large screen */
.passion-part {
  position: relative;
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url("../../images/QodeGroup_LandingIMGBW.png.webp");
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 980px;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 3rem;
  overflow: hidden !important; /* Ensures the pseudo-element doesn't exceed the parent's boundary */
  transition: transform 0.5s ease-in-out;
  padding: 1rem 0;
}

.passion-part::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url("../../images/QodeGroup_LandingIMG.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 0;
}

/* Change background images for mobile screens */
@media (max-width: 768px) {
  .passion-part {
    background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)
      ),
      url("../../images/MobileQodeGroup_LandingIMGBW.webp");
  }

  .passion-part::after {
    background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)
      ),
      url("../../images/MobileQodeGroup_LandingIMG.webp");
  }
}


/* Hover state for passion-part */
.passion-part:hover::after {
  opacity: 1;
}

.passion-part > * {
  position: relative;
  z-index: 1;
}

/* =========================== passion-part styles ======================= */

.beyond-ordinary {
  font-style: normal;
  font-weight: 200;
  font-size: 60px;
  line-height: 54px;
  color: #c8c8c8;
}
.send-passion-p span {
  display: block;
}
.send-with {
  font-family: "Nohemi";
  font-style: normal;
  font-weight: 200;
  font-size: 10px;
  line-height: 54px;
  color: #c8c8c8;
}
.passion-word {
  font-family: "BLOVERLY";
  font-style: normal;
  font-weight: 400;
  font-size: 130px;
  line-height: 164px;
  color: #ffffff;
}

.exp-more {
  width: 163px;
  height: 52px;
  background-color: #f1f1f1;
  border: 1px solid #f1f1f1;
  font-family: "Inter Tight", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 21px;
  color: #282826;
  transition: background-color 0.9s ease, border-color 0.9s ease; /* Smooth transition for background and border */
  display: inline-block; /* Allows the use of width and height */
  text-align: center; /* Centers the text inside the button */
  vertical-align: middle; /* Aligns text vertically */
  cursor: pointer; /* Changes the cursor to a pointer when hovering over the button */
}
.exp-more:hover {
  background-color: #282826; /* Change to your preferred background color on hover */
  border: 1px solid #282826; /* Change to your preferred border color on hover */
  color: #f1f1f1; /* Change text color on hover to ensure readability */
}

@media (max-width: 768px) {
  .passion-part {
    height: 500px;
  }
  .passion-part h1 {
    font-size: 2.5rem;
  }

  .passion-part p {
    font-size: 1.5rem;
  }
}

/* passion-part style for mobile screen */

/* =========================== passion-part styles ======================= */


/* =========================== qode fasion part styles ======================= */
/* images sliders style for large screen */
.qode-fasion-title {
  display: block;
  font-family: "Nohemi";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  color: #191919;
}
.qode-fasion-info {
  font-family: "Inter Tight", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  line-height: 19px;
  color: #949494;
}
.qode-fasion-link {
  font-family: "Inter Tight", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  line-height: 19px;
  color: #a9a9a9;
  text-decoration: none;
}
.img-fasion {
  transition: transform 0.3s ease-in-out;
}

.img-fasion:hover {
  transform: scale(1.2);
}

.card-background {
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  justify-content: center;
  color: white;
  border: none;
}

.card-background div {
  padding-top: 15px;
  text-align: center;
}

.card-background div strong {
  font-family: "Nohemi";
  font-style: normal;
  font-weight: 400;
  font-size: 26px;
  line-height: 26px;
  color: #ffffff;
}

.card-background div p {
  font-family: "Inter Tight", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 15px;
  line-height: 19px;
  text-align: center;
  color: #ffffff;
}

.card {
  overflow: hidden; /* This will hide any overflow from the child elements */
}

.card-background {
  transition: transform 0.3s ease-in-out, background-image 0.3s ease-in-out;
  transform-origin: top;
  background-size: cover; /* Ensures the background image covers the div */
}

.card-background-first-card:hover {
  background-image: url("../../images/Banner_Jwe_Col.webp") !important;
  transform: scale(1.2);
}

.card-background-second-card:hover {
  background-image: url("../../images/Banner_Charganics.webp") !important;
  transform: scale(1.2);
}
/* =========================== qode fasion part styles ======================= */

/* =========================== qode inline styles ======================= */
/* inline styles of home page */
.img-slider {
  width: 100%;
}

.hover-scale-container-fasion {
  height: 362px;
  overflow: hidden;
}

.learn-more {
  color: #ffffff;
}

.discovery-container {
  position: relative;
  background-image: url(../../images/HOBBERUAE.webp);
  background-size: cover; /* Make the background image cover the entire div */
  background-position: center; /* Center the background image */
  background-repeat: no-repeat; /* Prevent the background image from repeating */
  height: 500px;
  display: flex;
  flex-direction: column; /* Stack children vertically */
  align-items: center; /* Center children horizontally */
  justify-content: center; /* Center children vertically */
  transition: background-color 1s ease, opacity 1s ease; /* Transition for background color and opacity */
  padding: 1rem;
}

/* Change background image for mobile screens */
@media (max-width: 768px) {
  .discovery-container {
    background-image: url(../../images/MobileHOBBERUAE.webp);
  }
}

.discovery-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #8cc615; /* Background color on hover */
  opacity: 0; /* Initially transparent */
  transition: opacity 1s ease; /* Smooth transition for opacity */
  z-index: 1;
}

.discovery-container:hover::after {
  opacity: 1; /* Show the background color on hover */
}

.discovery-container:hover .img-discovery
{
  transform: scale(1.05); /* Scale up the items slightly */
}

.img-discovery,
.img-description-discovery,
.img-link-discovery {
  margin-bottom: 0.5rem; /* Reduce space between items */
  position: relative; /* Make sure the content stays above the hover effect */
  z-index: 2; /* Ensure the content is above the background color */
  transition: transform 1s ease; /* Smooth transition for scaling */
}

.img-discovery img {
  max-width: 100%;
  height: auto;
}

.img-link-discovery a {
  color: #ffffff; /* Ensure the link text is visible */
  border: 1px solid #fff;
  text-decoration: none;
}

.img-link-discovery a:hover {
  background-color: #282826; /* Change to your preferred background color on hover */
  border: 1px solid #282826; /* Change to your preferred border color on hover */
  color: #f1f1f1; /* Change text color on hover to ensure readability */
}

.img-link-discovery a img {
  vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .discovery-container {
    height: 400px; /* Adjust height for smaller screens */
  }
}

@media (max-width: 576px) {
  .discovery-container {
    height: 300px; /* Adjust height for even smaller screens */
  }
}

.discovery-container:hover .img-discovery img {
  transform: scale(1);
  /* Scale image to 1 on hover */
}



.discovery-container p {
  font-family: "Inter Tight", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 25px;
  color: #ffffff;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.discovery-container a {
  font-family: "Inter Tight", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 15px;
  line-height: 19px;
  color: #d1d1d1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.img-discovery img {
  height: 100px;
  width: 100%;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.img-link-discovery a:hover {
  color: #d1d1d1;
}

/* inline styles of home page */
.fill:hover,
.fill:focus {
  box-shadow: inset 0 0 0 2em var(--hover);
}

.pulse:hover,
.pulse:focus {
  animation: pulse 1s;
  box-shadow: 0 0 0 2em transparent;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--hover);
  }
}

.close:hover,
.close:focus {
  box-shadow: inset -3.5em 0 0 0 var(--hover), inset 3.5em 0 0 0 var(--hover);
}

.raise:hover,
.raise:focus {
  box-shadow: 0 0.5em 0.5em -0.4em var(--hover);
  transform: translateY(-0.25em);
}

.up:hover,
.up:focus {
  box-shadow: inset 0 -3.25em 0 0 var(--hover);
}

.slide:hover,
.slide:focus {
  box-shadow: inset 6.5em 0 0 0 var(--hover);
}

.offset {
  box-shadow: 0.3em 0.3em 0 0 var(--color), inset 0.3em 0.3em 0 0 var(--color);
}

.offset:hover,
.offset:focus {
  box-shadow: 0 0 0 0 var(--hover), inset 6em 3.5em 0 0 var(--hover);
}

.fill {
  --color: #a972cb;
  --hover: gray; /* Change hover color to gray */
}

.pulse {
  --color: #ef6eae;
  --hover: gray; /* Change hover color to gray */
}

.close {
  --color: #ff7f82;
  --hover: gray; /* Change hover color to gray */
}

.raise {
  --color: #ffa260;
  --hover: gray; /* Change hover color to gray */
}

.up {
  --color: #e4cb58;
  --hover: gray; /* Change hover color to gray */
}

.slide {
  --color: #8fc866;
  --hover: gray; /* Change hover color to gray */
}

.offset {
  --color: #19bc8b;
  --hover: gray; /* Change hover color to gray */
}

button {
  color: var(--color);
  transition: 0.25s;
}

button:hover,
button:focus {
  border-color: var(--hover);
  color: #fff;
}

button {
  background: black;
  border: 2px solid;
  font: inherit;
  line-height: 1;
  margin: 0.5em;
  padding: 1em 2em;
}

h1 {
  font-weight: 400;
}

code {
  color: #e4cb58;
  font: inherit;
}
/* =========================== qode inline styles ======================= */

/* =========================== image-charganics-part ======================= */
.image-charganics-part {
  position: relative;
  background-size: cover; /* Make the background image cover the entire div */
  background-position: center; /* Center the background image */
  background-repeat: no-repeat; /* Prevent the background image from repeating */
  height: 500px;
  padding: 1rem;
  margin-top: 0.5rem;
  overflow: hidden; /* Ensure the ::after element is contained within the parent */
  z-index: 0; /* Ensure it is below the content */
}

.image-charganics-part::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../../images/QodeGroup_charganicsG.webp); /* Background image */
  background-size: cover; /* Ensure the background image covers the pseudo-element */
  background-position: center; /* Center the background image */
  background-repeat: no-repeat; /* Prevent the background image from repeating */
  transition: transform 0.5s ease; /* Transition for scaling */
  z-index: -1; /* Position the ::after element behind the content */
}

.image-charganics-part:hover::after {
  transform: scale(1.1); /* Scale effect on hover */
}

.ink-charganics a {
  padding: 0.8rem 1.5rem;
  border: 1px solid #ffffff;
  text-decoration: none;
  font-family: "Nohemi";
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 18px;
  color: #ffffff;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    color 0.3s ease; /* Smooth transition for hover effects */
}

.ink-charganics a:hover {
  background-color: #282826; /* Change to your preferred background color on hover */
  border-color: #282826; /* Change to your preferred border color on hover */
  color: #f1f1f1; /* Change text color on hover to ensure readability */
}

.title-charganics {
  font-family: "Nohemi";
  font-style: normal;
  font-weight: 400;
  font-size: 40px;
  line-height: 40px;
  text-align: center;
  color: #f5f5f5;
}
.img-description-charganics p {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  line-height: 27px;
  text-align: center;
  letter-spacing: -0.01em;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .ink-charganics a {
    font-size: 14px;
  }
  .title-charganics {
    font-size: 35px;
  }
  .img-description-charganics p {
    font-size: 15px;
  }
}
/* =========================== image-charganics-part ======================= */

@media (max-width: 767px) {
  .carousel-item img {
    height: 200px;
  }
}
