
<!-------------  Journal Page ------------------->

/* =========================================
   JOURNAL LIST SECTION
========================================= */

.journal-list-section {
    position: relative;
    overflow: hidden;

    padding: 75px 0 115px;

    background: #ffffff;
}


/* =========================================
   HEADING
========================================= */

.journal-heading {
    max-width: 850px;
    margin: 0 auto 45px;
}

.journal-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-bottom: 10px;

    color: #fbaf32;

    font-size: 16px;
    font-weight: 700;

    letter-spacing: 1.3px;
}

.journal-subtitle span {
    width: 70px;
    height: 1px;

    background: #fbaf32;
}

.journal-heading h2 {
    margin: 0 0 12px;

    color: #202832;

    font-size: 52px;
    font-weight: 700;

    line-height: 1.1;
}

.journal-heading h2 strong {
    color: #6b9e00;
}

.journal-heading p {
    max-width: 650px;

    margin: 0 auto;

    color: #606975;

    font-size: 16px;
    line-height: 1.7;
}


/* Heading small line */

.heading-line {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    margin-top: 17px;
}

.heading-line span {
    width: 45px;
    height: 4px;

    border-radius: 10px;

    background: #fbaf32;
}

.heading-line i,
.heading-line b {
    display: block;

    width: 10px;
    height: 8px;

    border-radius: 50%;

    background: #6b9e00;
}


/* =========================================
   CARD ROW
========================================= */

.journal-row {
    position: relative;
    z-index: 2;
}


/* =========================================
   JOURNAL CARD
========================================= */

.journal-card {
    position: relative;

    height: calc(100% - 20px);

    margin-bottom: 20px;

    padding: 24px 18px 18px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 12px;

    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.07);

    transition: all 0.3s ease;
}

.journal-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.11);
}


/* =========================================
   ICON
========================================= */

.journal-icon {
    width: 82px;
    height: 82px;

    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 32px;

    transition: all 0.3s ease;
}


/* Orange icon */

.orange-icon {
    background: #fff3dc;
    color: #fbaf32;
}


/* Green icon */

.green-icon {
    background: #f0f7df;
    color: #6b9e00;
}


.journal-card:hover .orange-icon {
    background: #fbaf32;
    color: #ffffff;
}

.journal-card:hover .green-icon {
    background: #6b9e00;
    color: #ffffff;
}


/* =========================================
   JOURNAL CONTENT
========================================= */

.journal-info h3 {
    min-height: 29px;

    margin-bottom: 10px;

    color: #202832;

    font-size: 19px;
    font-weight: 700;

    line-height: 1.35;
}

.journal-info p {
    min-height: 102px;

    margin-bottom: 18px;

    color: #505863;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================
   BUTTON AREA
========================================= */

.journal-buttons {
    display: flex;

    align-items: center;

    gap: 10px;

    width: 100%;
}


/* =========================================
   BUTTON
========================================= */

.journal-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 1;

    min-height: 36px;

    padding: 8px 8px;

    border-radius: 5px;

    color: #ffffff !important;

    text-decoration: none !important;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    transition: all 0.3s ease;
}


/* Orange */

.orange-btn {
    background: #fbaf32;
}

.orange-btn:hover {
    background: #e39a1f;
}


/* Green */

.green-btn {
    background: #6b9e00;
}

.green-btn:hover {
    background: #557f00;
}


/* Arrow */

.green-btn i {
    margin-left: 8px;

    font-size: 11px;

    transition: transform 0.3s ease;
}

.green-btn:hover i {
    transform: translateX(4px);
}


/* =========================================
   CURVED BOTTOM
========================================= */

.journal-bottom-shape {
    position: absolute;

    left: -5%;
    bottom: -1px;

    width: 110%;
    height: 75px;

    z-index: 1;

    overflow: hidden;
}


/* Orange curved area */

.orange-shape {
    position: absolute;

    left: -5%;
    bottom: -45px;

    width: 58%;
    height: 90px;

    background: #fbaf32;

    border-radius: 50% 50% 0 0;

    transform: rotate(3deg);
}


/* Green curved area */

.green-shape {
    position: absolute;

    right: -5%;
    bottom: -48px;

    width: 60%;
    height: 95px;

    background: #6b9e00;

    border-radius: 50% 50% 0 0;

    transform: rotate(-3deg);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1199px) {

    .journal-heading h2 {
        font-size: 45px;
    }

    .journal-icon {
        width: 70px;
        height: 70px;

        font-size: 28px;
    }

    .journal-info h3 {
        font-size: 18px;
    }

    .journal-info p {
        min-height: 120px;
    }

    .journal-btn {
        font-size: 12px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .journal-list-section {
        padding: 50px 15px 95px;
    }


    .journal-heading {
        margin-bottom: 35px;
    }


    .journal-subtitle {
        gap: 8px;

        font-size: 12px;
        letter-spacing: 0.8px;
    }

    .journal-subtitle span {
        width: 30px;
    }


    .journal-heading h2 {
        font-size: 34px;
    }


    .journal-heading p {
        font-size: 14px;

        padding: 0 10px;
    }


    .journal-card {
        height: auto;

        padding: 23px 20px 18px;

        margin-bottom: 20px;
    }


    .journal-icon {
        width: 65px;
        height: 65px;

        margin-bottom: 16px;

        font-size: 26px;
    }


    .journal-info h3 {
        min-height: auto;

        font-size: 19px;
    }


    .journal-info p {
        min-height: auto;

        font-size: 14px;

        margin-bottom: 18px;
    }


    .journal-buttons {
        gap: 8px;
    }


    .journal-btn {
        min-height: 38px;

        padding: 8px 5px;

        font-size: 12px;
    }


    .green-btn i {
        margin-left: 5px;
    }


    .journal-bottom-shape {
        height: 55px;
    }


    .orange-shape {
        width: 65%;
        height: 70px;

        bottom: -35px;
    }


    .green-shape {
        width: 65%;
        height: 75px;

        bottom: -38px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .journal-list-section {
        padding-left: 12px;
        padding-right: 12px;
    }


    .journal-heading h2 {
        font-size: 30px;
    }


    .journal-subtitle {
        font-size: 11px;
    }


    .journal-subtitle span {
        width: 22px;
    }


    .journal-card {
        padding: 22px 18px 17px;
    }


    .journal-buttons {
        gap: 7px;
    }


    .journal-btn {
        font-size: 11px;
    }
}

/* Ensure the section acts as the container for absolute positioned shapes */
.journal-list-section {
    position: relative !important;
    overflow: hidden;
    padding: 0px 0 115px;
    background: #ffffff;
}

/* Base shape container fixed to the bottom of the section */
.journal-bottom-shape {
    position: absolute;
    left: -5%;
    bottom: -1px;
    width: 110%;
    height: 75px;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

/* Orange curve (Bottom Left) */
.orange-shape {
    position: absolute;
    left: -5%;
    bottom: -45px;
    width: 58%;
    height: 90px;
    background: #fbaf32;
    border-radius: 50% 50% 0 0;
    transform: rotate(3deg);
}

/* Green curve (Bottom Right) */
.green-shape {
    position: absolute;
    right: -5%;
    bottom: -48px;
    width: 60%;
    height: 95px;
    background: #6b9e00;
    border-radius: 50% 50% 0 0;
    transform: rotate(-3deg);
}

/* Responsive adjustments for mobile screens */
@media (max-width: 767px) {
    .journal-bottom-shape { 
        height: 55px; 
    }
    .orange-shape { 
        width: 65%; 
        height: 70px; 
        bottom: -35px; 
    }
    .green-shape { 
        width: 65%; 
        height: 75px; 
        bottom: -38px; 
    }
}