:root {
    --text-primary-color: #3a3a3a;
    --primary-color: #6929c4;
    --secondary-color: #fff;
}

/* Hero Section */

/* Know How section */

.know-how {
    background-color: var(--primary-color);

}

/* Category Cards */

.cards-spacing {
    padding: 2rem 2rem 2rem 2rem !important;
    border-radius: 10px;
}

.row-custom {
    border: none !important;
}


.card1 {
    background-color: #6a85e9 !important;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    color: #6a85e9 !important;
}

.card2 {
    background-color: #f5b3be !important;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    color: #f5b3be !important;
}

.card3 {
    background-color: #ff796b;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    color: #ff796b !important;
}

.card4 {
    background-color: #65bd8b;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    color:  #65bd8b !important;
}

.card5 {
    background-color: #f89552;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    color: #f89552 !important;
}

.card6 {
    background-color: #65bd8b;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}


.card7 {
    background-color: #6a85e9;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
}

.card8 {
    background-color: #f5b3be;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}

.custom-card-body {
    z-index: 1;
    padding-left: 7rem !important;
    border-radius: 5px;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
}


.card-heading {
    color: #fff !important;
    font-weight: 500;
    margin-bottom: 1.2rem !important;
    font-size: 1.3rem !important;
}

.card-body-text {
    color: #fff !important;
    line-height: 1.5rem;
    padding-right: 3rem;
    font-size: 1rem;
    font-weight: 300;
    padding-right: 1rem !important;
}

.image-col {
    margin-right: -100px;
    z-index: 3;
    margin-bottom: 1rem;
    margin-top: 1.1rem !important;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3) !important;
}

.card-image-container {
    border-radius: 1rem !important;
    /* box-shadow: 0 0 30px rgba(0, 0, 0, 0.5) !important; */
    /* color: #fff !important;
    background-color: #fff !important; */
    margin-top: 4rem;
    height: 10rem !important;
    position: absolute;
    top: -20px;
    right: 1px;
    transform: scale(1.2);
}

.custom-card-button {
    font-weight: 450;
    font-size: 1rem;
    background-color: #fff !important;
}

@media (min-width : 992px) {

    .hero-container {

        margin-right: -1rem;
        margin-left: 30px;
        background-color: #fff;
        border-style: solid;
        border-radius: 35px;
        border-width: 1px;
        border-color: #6929c4;
        z-index: 3;
        padding-left: 6.5rem !important;
        padding-top: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);

    }

    .hero-title {
        margin-bottom: -0.3rem;
        word-spacing: 0.7rem;

    }

    /* font-size: 3rem  */
    .hero-title-heading {
        font-size: 2.5rem;
        font-weight: 650;
    }

    /* font-size 1.2 */
    .hero-subtitle {
        margin-bottom: -0.3rem;
        color: var(--text-primary-color);
        font-size: 1rem;
        /* letter-spacing: 0.05rem; */
        word-spacing: 0.35rem;
        font-weight: 350;
    }


    .hero-image {

        background: url('../images/background.png') 3% repeat;
        background-position: center;
        background-size: 140%;
        margin-left: -2rem;
        border-radius: 35px;
        z-index: 1;

    }

    .card-img-test {
        position: relative;
        top: 5%;
        left: 10%;
        width: 90%;
        height: 90%;
        z-index: 3; /* Ensure image is behind content */
        /* box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3) !important; */
        background-color: #fff;
      }
    

}

@media (max-width : 992px) {

    .hero-image {
        background: url('../images/background.png') 3% repeat;
        background-position: center;
        background-size: 140%;
        /* border-radius: 35px; */
        z-index: 1;
        margin-top: 0 !important;


    }

    .hero-title {
        margin-bottom: -0.3rem;
        word-spacing: 0.7rem;
        font-size: 1rem;
    }

    .hero-title-heading {
        font-size: 2rem;
        font-weight: 650;
    }

    .hero-container {

        /* margin-right: -1rem;
        margin-left: 30px; */
        padding-top: 2rem;
        background-color: #fff;
        /* border-style: solid;
        border-radius: 35px;
        border-width: 1px; */
        border-color: #6929c4;
        z-index: 3;
        padding-left: 1.5rem !important;

    }

    .hero-subtitle {
        margin-bottom: -0.3rem;
        color: var(--text-primary-color);
        font-size: 1.05rem;
        word-spacing: 0.1rem;
        font-weight: 350;
        line-height: 2rem;
    }

    .hero-title-last {
        margin-bottom: 0.6rem;
    }

    .card-img-test {
        position: relative;
        top: 16%;
        left: 0;
        width: 100%;
        height: 60%;
        z-index: 3; /* Ensure image is behind content */
        /* box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3) !important; */
        background-color: #fff;
    }
}

@media (max-width:576px) {
    .row-custom {
        margin-left: 0 !important;
        margin-right: 0 !important;

    }

    .column-custom {
        padding-right: 0 !important;
        padding-left: 0 !important;

    }

    .container-custom {
        padding-right: 0 !important;
    }

    .card-image-container {
        border-radius: 1rem !important;
        margin-top: 2.4rem;
        height: 5rem !important;
        position: absolute;
        top: 30px;
        right: 10px;
        transform: scale(2);
    }

    .card-body-text {
        color: #fff !important;
        line-height: 1.2rem;
        font-size: 1rem;
        font-weight: 300;
        padding-right: 0 !important;
    }

    .image-col {
        margin-right: -110px;
        z-index: 3;
        margin-bottom: 2rem;
        margin-top: 2rem !important;
        border-radius: 5px;
        background-color: #fff;
    }

    .custom-card-body {
        z-index: 1;
        padding-left: 7.7rem !important;
        border-radius: 5px;
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }
    
   .custom-col-11 {

    flex: 0 0 87.5%;
   }
   


}


/* testing */

.image-test-col {
    right:70%;
}

.content-test-col {
    right:0%;
    padding-left: 25%;
}


.col-custom {
    position: relative; /* Make the column a positioning context */
    overflow: hidden; /* Ensure content within doesn't overflow */
    margin-top: 1.5rem !important;
  }
  
.card-custom {
    width: 100%;
    height: 100%;
    position: relative; /* Ensure the card is a positioning context */
  }
  
.overlap-container {
    position: relative; /* Ensure the container is a positioning context */
    overflow: hidden; /* Ensure content doesn't overflow */
    padding-left: 1rem;
  }
  
.card-img-top-test {
    position: absolute;
    top: 15%;
    left: 0;
    width: 30%;
    height: 70%;
    border-radius: 5px;
    z-index: 2; /* Ensure image is behind content */
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3) !important;
    background-color: #fff;
  }

  
.card-body-test {
    position: relative; /* Reset positioning context for card body */
    z-index: 1; /* Ensure content is above image */
    padding-left: 32%; /* Adjust to account for image width */
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 5px;
  }
  
  .card-title{
    color: #fff !important; /* Example text color for readability */
    margin-bottom: 1rem !important;
  }
  .card-text {
    color: #fff !important; /* Example text color for readability */
    line-height: 1.5rem;
    padding-right: 1rem;
  }