.container-header {
    position: relative;
    height: 300px;
    width: 100%;
    margin-bottom: 1rem;
    overflow: hidden; 
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    object-position: 0px 26%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ee54576e;
    z-index: 2; 
}

.text-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 3; 
    text-align: center;
}

.header-title {
    margin: 0;
    font-size: 2.2rem;
    font-weight: bold;
}


.about {
    padding: 3rem;
    padding-top: 0;
    min-height: 100%;
}

.about img {
    width: 100%;
    height: 100%;
}

.about .right .img-container img {
    border-radius: 50%;
}

.about .cards-container {
    margin-top: 2rem;   
}
.about .img-container {
    position: relative;
    overflow: hidden;
}

.about .img-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block; 
}

.about .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    /* background-image: radial-gradient(at bottom left, #8217198A 60%, #8217198A 100%); */
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.about .overlay p {
    font-weight: bold;
    margin: 1rem;
    margin-top: 2rem;
    font-size: 1.2rem;
}

.about .hidden-text {
    position: absolute;
    bottom: -200%;
    left: 0;
    width: 100%;
    padding: 10px;
    text-align: left;
    color: #fff;
    transition: bottom 0.6s ease;
    font-size:14px;
    overflow-y: auto;
    max-height: 85%;
    scrollbar-width: thin;
    scrollbar-color: #ee54576e #ee545700;
}
.about .hidden-text li{
    margin-top: 5px;
}
.about .card-item:hover .overlay {
    background-color: rgba(0, 0, 0, 0.6); 
}

.about .card-item:hover .hidden-text {
    bottom: 0; 
}

.about .left h2 {
    margin-top: 3rem;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 2rem;
}

.about .left p {
    font-size: .8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2rem;
    margin-right: 1.5rem;
}

.about .left {
    padding-right: 2rem;
}

.about .left li {
    margin: 1.5rem 0;
}

.about span {
    font-weight: bold;
}

.about li.first {
    margin-top: 0;
}

.about .hidden-text::-webkit-scrollbar {
    width: 8px;
}

.about .hidden-text::-webkit-scrollbar-track {
    background: #ee545700; 
}

.about .hidden-text::-webkit-scrollbar-thumb {
    background: #ee54576e; 
    border-radius: 4px;
}

.about .hidden-text::-webkit-scrollbar-thumb:hover {
    background: #ee54576e; 
}



#register {
    padding: 50px;
    background-color: #f4f4f4;
}

#register .row {
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-wrap: wrap; 
    gap: 20px; 
}

.left-content, .steps-container-wrapper {
    flex: 1; 
}

.how-it-works {
    background-color: #811818;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    width: 250px;
    text-align: center;
}

.main-heading {
    font-size: 4rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: bold;
}

.start-section {
    background: white;
    margin-top: 30px;
    text-align: center;
    padding: 1rem;
    border-radius: 30px;
    box-shadow: 0px 6px #ccc;
    width: 300px;
    padding-bottom: 2rem;
}


.start-text {
    font-size: 24px;
    color: #333;
}

.signup-btn {
    background-color: #811818;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 5px;
}


.signup-btn:hover {
    color: white;
    text-decoration: none;
    background-color: #660000;
}

.steps-container-wrapper {
    overflow-y: auto;
    padding-right: 10px;
    float: right;
}

.steps-container-wrapper::-webkit-scrollbar {
    width: 8px;
}

.steps-container-wrapper::-webkit-scrollbar-thumb {
    background-color: #811818;
    border-radius: 5px;
}

.steps-container-wrapper::-webkit-scrollbar-track {
    background-color: #f4f4f4;
}

.steps-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px; 
    float: right;   
}

.step-arrow-container {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    justify-content: end;
    
}

.step {
    background-color: #d4a800;
    color: white;
    border-radius: 25px;
    padding: 15px 30px;
    width: 270px;
    position: relative;
    box-shadow: 0px 0px 10px rgba(255, 0, 0, 0.2);
}

.final-step {
    background-color: white;
    color: black;
    border-radius: 15px;
    padding: 15px;
}

.arrow {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #d4a800;
    margin-left: 10px;
    margin-right: 10px;
}

.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #811818;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.circle.grey {
    background-color: #ccc;
    color: black;
}

.circle i {
    font-size: 18px;
}

@media only screen and (max-width: 768px) {
    .steps-container-wrapper {
        overflow-y: auto;
    }

    .step-arrow-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .arrow {
        display: none;
    }

    .circle {
        margin-top: 10px;
    }
}

@media screen and (min-width: 992px) {
   
    .icon-container{
        display: none;
    }
}

