body {
    background-color: #E1E6E9;
    font-family: 'Inter', sans-serif;
}
html {
    scroll-behavior: smooth;
}

/*HERO SECTION*/
.hero {
    background-image: url('/ExpenseTracking/image/webBG.jpg');
    background-size: cover;
    padding: 100px 0; 
    text-align: center;
    min-height: 100vh; 
    display: flex;
    align-items: center; 
    color: #000000;
}

#herotitle{
    font-size: 62px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero img {
    margin-left: 60px;
    margin-top: 60px;
}

.lead {
    padding-right: 100px;
    margin-bottom: 40px;
}

.btn-createRm{
    width: 50%;
    background-color: #2B5DAE;
    font-weight: bold;
    color: #FFFFFF;
    border: none;
    box-shadow: 0 5px 2px rgba(255, 255, 255, 0.3);
}

.btn-createRm:hover,
.btn-createRm:active{
    background-color: #092e69 !important;
}



/*BENEFITS SECTION*/

.title-section {
    font-size: 40px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

.features {
    padding: 40px 0;
    text-align: left;
}
.feature-item {
    margin-bottom: 30px;
}

.feature-image {
    width: auto;
    height: 70px;
}

.card-body{
    height: 300px;
}

.card-title {
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;  
    margin-bottom: 20px;
}

.ft-card .card:hover {
    box-shadow: 0 12px 20px  rgba(13, 21, 117, 0.3);
    transform: scale(1.03);
    background-color: #ffffff;
    cursor: pointer;
    border-color: #2B5DAE;
}

.ft-card .card .feature-image {
    transition: transform 0.3s ease;
}

.ft-card .card:hover .feature-image {
    transform: scale(1.1) rotate(2deg);
}

/*HOW IT WORKS SECTION*/
.see-it-in-action-section {
    background-color: #E1E6E9; 
    color: #000000;
    padding: 80px 0; 
    text-align: center;
    width: 100%; 
    max-width: 100%; 
}

.see-it-in-action-section h2 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 60px; 
    color: #000000; 
    font-family: 'Poppins', sans-serif;
}

.carousel-container {
    max-width: 1500px; 
    margin: 0 auto; 
    overflow: hidden; 
    position: relative;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%; 
    box-sizing: border-box; 
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; 
    transition: opacity 0.6s ease-in-out;
    pointer-events: none; 
    height: auto; 
}

.carousel-slide.active {
    opacity: 1; 
    pointer-events: auto; 
}

.slide-content {
    display: flex;
    align-items: center;
    gap: 50px; 
    width: 100%; 
    border-radius: 8px; 
    padding: 40px; 
}

.slide-image {
    flex-shrink: 0; 
    width: 60%; 
    max-width: 600px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px; 
    border: 10px solid #2B5DAE; 
}

.slide-text {
    text-align: left;
    flex-grow: 1; 
    padding-left: 20px;
    color: #343a40; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
    height: 100%; 
}

.slide-text h3 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #212529; 
    font-family: 'Poppins', sans-serif;
}

.slide-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000000;
    flex-grow: 1; 
    margin-bottom: 30px;
}

.slide-nav-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end; 
    margin-top: auto; 
}

.slide-nav-buttons button {
    background-color: #2B5DAE; 
    border: none;
    border-radius: 10px;
    width: 100px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slide-nav-buttons button:hover:not(:disabled) {
    background-color: #2B5DAE; 
}

.slide-nav-buttons button:disabled {
    background-color: #183248; 
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}   

@media (max-width: 992px) {
    .slide-content {
        flex-direction: column; 
        text-align: center;
        padding: 30px; 
    }
        
    .slide-image {
        margin-bottom: 30px;
        width: 80%; 
        max-width: 400px;
    }

    .slide-text {
        text-align: center;
        padding-left: 0; 
    }

    .see-it-in-action-section h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .slide-text h3 {
        font-size: 2rem;
    }

    .slide-text p {
        font-size: 1rem;
    }

    .slide-nav-buttons {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .see-it-in-action-section {
        padding: 60px 0;
    }

    .see-it-in-action-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .slide-text h3 {
        font-size: 1.5rem;
    }

    .slide-text p {
        font-size: 0.95rem;
    }

    .slide-nav-buttons button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
        
    .slide-content {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .see-it-in-action-section {
        padding: 40px 0;
    }

    .carousel-slide {
        padding: 0 10px;
    }

    .slide-content {
        gap: 20px;
        padding: 20px;
    }

    .slide-image {
        margin-bottom: 20px;
        width: 90%;
    }

}

/*FOOTER SECTION*/
.footer {
    background-color: #003049;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/*RESPONSIVE PART*/
@media (max-width: 767.98px) {
    /*HERO SECTION*/
    .hero {
        background-image: url('/ExpenseTracking/image/webBG.jpg');
        color: black;
        text-align: center;
        padding: 20px;
        flex-direction: column;
        justify-content: space-between;
        height: 110vh;
    }

    .hero .container {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hero .row {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hero img {
        margin: 0 auto 0 auto;
        max-width: 70%;
        margin-top: 50px;
        margin-bottom: -20px;
        align-self: center;
    }

    #herotitle {
        margin-top: 60px;
        font-size: 45px;
    }

    .lead {
        padding-right: 0px;
        margin-bottom: 30px;
    }

    .btn-createRm{
        width: 100%;
    }

    /*HOW IT WORKS SECTION*/
    .btn-createsteprm {
        width: 95%;
    }

}