﻿body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll */
    margin: 0; /* Ensure no margin causing overflow */
}

.note {
    background-color: #fff;
    border-left: 4px solid #28a745;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
}

    .note h2 {
        margin-top: 0;
        color: #28a745;
    }

.note-icon {
    margin-right: 10px;
    font-size: 24px;
    color: #28a745;
}

.hero-section,
.intro-section,
.steps-section,
.cta-section,
.login-button,
.steps-grid,
.step,
.assurance-section {
    box-sizing: border-box; /* Ensures padding/margin doesn't affect width */
}

.hero-section {
    text-align: left;
    padding: 80px 0;
    background-color: #f5f7fa;
    color: black;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.learn-more-btn {
    width: auto;
    padding: 10px;
    border-radius: 5px;
    background-color: #4CAF50;
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    margin-top: 20px;
    opacity: 0;
    animation: fadeInUp 1.5s 0.5s forwards;
}

#hm-illustration-img {
    width: 100%;
    max-width: 501px;
    height: auto;
    opacity: 0;
    animation: slideInFromRight 1s 2s forwards;
}

.wl-tpc-container {
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 2px;
}

.highlight {
    color: #2E7D32;
    font-size: 48px;
    font-weight: 600;
}

.hm-tx-container {
    margin-bottom: 25px;
    font-size: 14px;
}

.hero-section p {
    font-size: 16px;
    margin: 0;
}


/*---------------------------------Start Intro section---------------------------------*/

.intro-section {
    text-align: center;
}

.wl-text {
    margin-bottom: 5px;
    font-size: 16px;
}

    .wl-text h1 {
        font-size: 38px;
        font-weight: 600;
    }

    .wl-text p {
        margin: 0;
        font-size: 16px;
    }

.wl-bx-img {
    width: 100%;
    height: auto;
    max-width: 286px;
    opacity: 0;
    transform: translateX(100%); /* Start off-screen */
    animation: slideInFromLeft 1s forwards; /* Animation for sliding in */
}

/* Animation for sliding in from the right */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%); /* Start off-screen to the left */
    }

    100% {
        opacity: 1;
        transform: translateX(0); /* End at the original position */
    }
}

/*---------------------------------End Intro section---------------------------------*/

/*---------------------------------Start Steps section---------------------------------*/

.steps-section {
    background-color: #ffffff;
    text-align: center;
    margin-top: 40px;
    height: auto;
    padding-bottom: 20px;
}

.parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    width: 100%;
    background-color: #f5f7fa;
}

.steps-section h1 {
    margin: 40px 0;
    padding: 0;
}

.div1 h1,
.div2 h1,
.div3 h1,
.div4 h1 {
    font-size: 26px;
    color: #2E7D32;
    font-weight: 600;
    margin: 10px;
    animation: fadeInDown 1.5s 0.5s forwards;
}

.div1 img,
.div2 img,
.div3 img,
.div4 img {
    width: 100%;
    height: auto;
    max-width: 200px;
    opacity: 0;
    transform: translateX(100%); /* Start off-screen */
    animation: slideInFromRight 1s forwards; /* Animation for sliding in */
}

.div1 p,
.div2 p,
.div3 p,
.div4 p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    animation: fadeInUp 1.5s 0.5s forwards;
}

.div1,
.div2,
.div3,
.div4 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 10px;
}

.step-txt-div {
    width: 200%;
    max-width: 312px;
}

#hm-illustration-img {
    max-width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image maintains aspect ratio */
}

/*---------------------------------End Steps section---------------------------------*/

/*---------------------------------Start Call-to-action section---------------------------------*/

.cta-section {
    background-color: #2e7d32;
    padding: 30px 0;
    text-align: center;
    color: white;
    margin: 20px 0;
}

    .cta-section h2,
    .cta-section p {
        margin-bottom: 10px;
    }

.btn-primary {
    background-color: #1b5e20;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
}

    .btn-primary:hover {
        background-color: #145a14;
    }



/*---------------------------------Start Call-to-action section---------------------------------*/

.login-button {
    display: inline-flex;
    align-items: center;
    background-color: #F44242;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
}

    .login-button i {
        margin-right: 10px;
    }

.steps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.step {
    width: calc(25% - 40px);
    margin: 20px;
    padding: 15px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

    .step:hover {
        transform: translateY(-10px);
    }

    .step img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        margin-bottom: 15px;
    }

.step-title {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
}

.step p {
    font-size: 16px;
    margin-top: 5px;
}

.assurance-section {
    text-align: center;
    padding: 50px 0;
    background-color: #f8f9fa;
}

    .assurance-section h2 {
        margin-bottom: 20px;
    }


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*---------------------------------Start Media Queries---------------------------------*/

/* Adjust layout for smaller screens */
@media (max-width: 768px) {
    .parent{
        width: 100%;
        display: block;

    }
    .container {
        width: 100%;
        display: block;
    }
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .step {
        width: 100%;
        margin: 10px;
    }

    .hero-section h1 {
        font-size: 36px;
    }

    .intro-section h1 {
        font-size: 32px;
    }

    .cta-section h2 {
        font-size: 24px;
    }
    .div1, .div2, .div3, .div4 {
        width:100%;
        flex-direction: column; /* Stack the image on top and text below */
        align-items: center; /* Center the content */
        padding: 20px; /* Add some space around each step */
    }

        .div1 img, .div2 img, .div3 img, .div4 img {
            max-width: 100%; /* Ensure image fits within the container */
            margin-bottom: 10px; /* Add spacing between image and text */
        }

        .div1 h1, .div2 h1, .div3 h1, .div4 h1 {
            font-size: 22px; /* Adjust font size for smaller screens */
            margin-top: 10px; /* Add spacing above title */
        }
}

/* Adjust layout for very small screens (mobile devices) */
@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step {
        margin: 15px 0;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .intro-section h1 {
        font-size: 28px;
    }

    .cta-section h2 {
        font-size: 20px;
    }
}


@media (max-width: 1000px) {
    .parent {
        width: 100%;
        display: block;
    }


    .hero-section h1 {
        font-size: 36px;
    }

    .intro-section h1 {
        font-size: 32px;
    }

    .cta-section h2 {
        font-size: 24px;
    }
    .div1 img,
    .div2 img,
    .div3 img,
    .div4 img {
        width: 100%;
        height: auto;
        max-width: 200px;
        opacity: 0;
        transform: translateX(100%); /* Start off-screen */
        animation: slideInFromRight 1s forwards; /* Animation for sliding in */
    }
}
/*---------------------------------End Media Queries---------------------------------*/



@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);


.content {
    padding: 0;
    margin: 1% 0%;
}




.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

    .alert h4 {
        margin-top: 0;
        color: inherit;
    }

    .alert .alert-link {
        font-weight: bold;
    }

    .alert > p, .alert > ul {
        margin-bottom: 0;
    }

        .alert > p + p {
            margin-top: 5px;
        }




.alert-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
}

    .alert-info hr {
        border-top-color: #a6e1ec;
    }

    .alert-info .alert-link {
        color: #245269;
    }

.alert-warning {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}

    .alert-warning hr {
        border-top-color: #f7e1b5;
    }

    .alert-warning .alert-link {
        color: #66512c;
    }

.alert-danger {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

    .alert-danger hr {
        border-top-color: #e4b9c0;
    }

    .alert-danger .alert-link {
        color: #843534;
    }

.alert {
    border-radius: 0;
    -webkit-border-radius: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.11);
}

    .alert .sign {
        font-size: 20px;
        vertical-align: middle;
        margin-right: 5px;
        text-align: center;
        width: 25px;
        display: inline-block;
    }



.alert-info {
    background-color: #d9edf7;
    border-color: #98cce6;
    color: #3a87ad;
}

.alert-warning {
    background-color: #fcf8e3;
    border-color: #f1daab;
    color: #c09853;
}


.alert-white {
    background-image: linear-gradient(to bottom,#FFFFFF,#F9F9F9);
    border-top-color: #d8d8d8;
    border-bottom-color: #bdbdbd;
    border-left-color: #cacaca;
    border-right-color: #cacaca;
    color: #404040;
    padding-left: 61px;
    position: relative;
}

    .alert-white .icon {
        text-align: center;
        width: 45px;
        height: 100%;
        position: absolute;
        top: -1px;
        left: -1px;
        border: 1px solid #bdbdbd;
    }

        .alert-white .icon:after {
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            -webkit-transform: rotate(45deg);
            display: block;
            content: '';
            width: 10px;
            height: 10px;
            border: 1px solid #bdbdbd;
            position: absolute;
            border-left: 0;
            border-bottom: 0;
            top: 50%;
            right: -6px;
            margin-top: -5px;
            background: #fff;
        }

    .alert-white.rounded {
        border-radius: 3px;
        -webkit-border-radius: 3px;
    }

        .alert-white.rounded .icon {
            border-radius: 3px 0 0 3px;
            -webkit-border-radius: 3px 0 0 3px;
        }

    .alert-white .icon i {
        font-size: 20px;
        color: #FFF;
        left: 12px;
        margin-top: -10px;
        position: absolute;
        top: 50%;
    }

    .alert-white.alert-danger .icon, .alert-white.alert-danger .icon:after {
        border-color: #ca452e;
        background: #da4932;
    }

    .alert-white.alert-info .icon, .alert-white.alert-info .icon:after {
        border-color: #3a8ace;
        background: #4d90fd;
    }

    .alert-white.alert-warning .icon, .alert-white.alert-warning .icon:after {
        border-color: #d68000;
        background: #fc9700;
    }

    .alert-white.alert-success .icon, .alert-white.alert-success .icon:after {
        border-color: #54a754;
        background: #60c060;
    }