.body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}




/* Hero Section Styles */
.hero {
    font-family: 'Sweet Sans Pro', sans-serif;
    height: 100vh;
    /* Full screen height */
    background:
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(2, 12, 22, 0.2)), url('../images/blogsharing/bloghero.jpg');
    background-size: cover;
    background-size: cover;
    /* covers the entire section */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #F6F6F6;
    padding-top: 0;

}




/* Hero Content */
.hero-content {
    font-family: 'Sweet Sans Pro';
    z-index: 2;
    display: flex;
    flex-direction: column;
    position: relative;
    /* 讓 h1 和 p 垂直排列 */
    max-width: 1440px;
    margin: 0 auto;

}

.hero h1 {
    font-size: 80px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 25px;
    margin-top: -70px;
    letter-spacing: 2px;
    font-weight: lighter;
}

/*------------------------malacca blog---------------------------*/



.malaccablog {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url(../images/blogsharing/melakariver.jpg);
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    display: flex;
    justify-content: center;


}

.content1 {
    font-family: 'Sweet Sans Pro', sans-serif;
    flex-wrap: nowrap;
    justify-content: space-between;
    display: flex;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    gap: 20px;
    padding: 20px;


}


.text1 {
    flex: 2;
    text-align: left;
    max-width: 600px;
    padding-left: 50px;

}

.text1 h2 {
    font-size: 48px;
    margin-bottom: 30px;
    padding-top: 25px;
    color: #F6F6F6;
}

.text1 p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    margin: 0;
    color: #F6F6F6;

}

.malaccapic img {

    width: 80%;
    margin-top: 30px;
    padding: 40px;
    border-radius: 48px;


}

.malaccapic {
    flex: 1;
    justify-content: center;
    margin-left: 50px;



}

/************** penang blog**********/
.penangblog {

    background-size: cover;
    height: 108vh;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    /* covers the entire section */

    background-color: #E2D5CA;
    display: flex;
    justify-content: center;

}

.content2 {
    font-family: 'Sweet Sans Pro', sans-serif;
    flex-wrap: nowrap;
    justify-content: space-between;
    display: flex;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;

    padding: 20px;
}



.text2 {
    flex: 1;
    text-align: left;
    max-width: 600px;
    padding-right: 50px;
}




.text2 h2 {
    font-size: 48px;
    margin-bottom: 30px;
    padding-top: 25px;
    color: #020C16;
}


.text2 p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    margin: 0;
    color: #020C16;
    max-width: 600px;


}

.penangpic {
    flex: 1;

    justify-content: center;
    margin-right: 50px;

}



.penangpic img {
    width: 80%;
    margin-top: 30px;
    padding: 40px;
    border-radius: 48px;
    margin-left: 20px;




}

/*------------------------pahang blog---------------------------*/
.pahangblog {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../images/blogsharing/genting.jpg);
    height: 110vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    display: flex;
    justify-content: center;


}

.content3 {
    font-family: 'Sweet Sans Pro', sans-serif;
    flex-wrap: nowrap;
    justify-content: space-between;
    display: flex;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;

    gap: 20px;
    padding: 20px;

}


.text3 {
    flex: 1;
    text-align: left;
    max-width: 600px;
    padding-left: 50px;
}

.text3 h2 {
    font-size: 48px;
    margin-bottom: 30px;
    padding-top: 25px;
    line-height: 1.3;
    color: #F6F6F6;
}

.text3 p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    margin: 0;
    color: #DDDCDB;

}

.pahangpic img {

    max-width: 80%;
    margin-top: 50px;
    padding: 40px;
    border-radius: 48px;

}

.pahangpic {
    flex: 1;
    justify-content: center;
    margin-left: 50px;

}

/************** perak blog**********/
.perakblog {
    background-size: cover;
    height: 108vh;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    /* covers the entire section */

    background-color: #E2D5CA;
    display: flex;
    justify-content: center;


}

.content4 {
    font-family: 'Sweet Sans Pro', sans-serif;
    flex-wrap: nowrap;
    justify-content: space-between;
    display: flex;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    gap: 20px;
    padding: 20px;


}


.text4 {
    flex: 1;
    text-align: left;
    max-width: 600px;
    padding-right: 50px;
}


.text4 h2 {
    font-size: 48px;
    margin-bottom: 30px;
    padding-top: 25px;
    color: #020C16;
    line-height: 1.3;
}

.text4 p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    margin: 0;
    color: #020C16;
    max-width: 600px;
}

.perakpic {
    flex: 1;
    justify-content: center;
    margin-right: 50px;
}

.perakpic img {
    max-width: 80%;
    margin-top: 50px;
    padding: 40px;
    border-radius: 48px;
    margin-left: 20px;
}

/*-----------------------------mobile----------------------------------*/
@media screen and (max-width: 700px) {

    .body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .hero {
        background-position: center;
        background-size: cover;
        padding: 20px;
        /* Add padding for breathing space */
    }

    .hero h1 {
        font-size: 20px;
        /* Smaller hero heading */
    }

    .hero p {
        font-size: 18px;
        padding-top: 30px;
        display: flex;
        justify-content: center;

    }


    /************** content **********/
    .malaccablog {
        text-align: center;
        /* 文字置中 */
        align-items: center;
        /* 增加區塊內邊距 */
        height: 1400px;
        /* 背景至少 1000px 高 */
        flex-direction: column;
    }

    .content1 {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-direction: column-reverse;

    }

    .malaccapic {
        width: 100%;
        height: auto;
        justify-content: center;
        /* 圖片居中，並與文字留空隙 */
        display: block;
        /* 保證圖片為塊級元素，避免與其他內容並列 */
    }

    .text1 {
        width: 100%;
        /* 確保文字容器寬度填滿父容器 */
        margin: 0;
        /* 移除多餘外邊距 */
        align-items: center;
        justify-content: center;
        text-align: justify;
        padding: 0px;


    }

    .text1 p {
        font-size: 16px;
        line-height: 1.6;
        text-align: justify;
        margin: 40px;
        justify-content: center;
        display: flex;

    }

    .malaccapic img {
        border-radius: 40px;
    }


    /************** penang blog**********/
    .penangblog {
        text-align: center;
        /* 文字置中 */
        align-items: center;
        /* 增加區塊內邊距 */
        height: 1450px;
        /* 背景至少 1000px 高 */
        flex-direction: column;
    }

    .content2 {
        display: flex;
        /* 圖片與文字垂直排列 */

        justify-content: center;
        align-items: center;
        flex-direction: column;


    }

    .penangpic {
        width: 100%;
        /* 圖片寬度填滿容器 */
        height: auto;
        /* 保持比例 */
        justify-content: center;
        display: block;
        /* 保證圖片為塊級元素，避免與其他內容並列 */
    }

    .penangpic img {
        padding: 0px;
        border-radius: 8px;
        margin-bottom: 15px;
        margin-left: 0px;
    }

    .text2 {
        width: 100%;
        /* 確保文字容器寬度填滿父容器 */
        margin: 0;
        /* 移除多餘外邊距 */
        align-items: center;
        justify-content: center;
        padding-right: 0px;

    }

    .text2 p {
        font-size: 16px;
        /* 合適的段落文字字體 */
        line-height: 1.6;
        /* 提高行間距，增強閱讀性 */
        text-align: left;
        margin: 40px;

    }


    /*---------pahang blog--------*/
    .pahangblog {
        text-align: center;
        /* 文字置中 */
        align-items: center;
        /* 增加區塊內邊距 */
        height: 1400px;
        /* 背景至少 1000px 高 */
        flex-direction: column;
    }

    .content3 {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-direction: column-reverse;

    }

    .pahangpic {
        width: 100%;
        /* 圖片寬度填滿容器 */
        height: auto;
        /* 保持比例 */
        justify-content: center;
        display: block;
        /* 保證圖片為塊級元素，避免與其他內容並列 */


    }

    .pahangpic img {
        padding: 0px;
        border-radius: 8px;
        margin-bottom: 15px;
    }

    .text3 {
        width: 100%;
        /* 確保文字容器寬度填滿父容器 */
        margin: 0;
        /* 移除多餘外邊距 */
        align-items: center;
        justify-content: center;
        text-align: justify;
        padding-left: 0px;
    }

    .text3 p {
        font-size: 16px;
        line-height: 1.6;
        text-align: justify;
        margin: 40px;
        display: flex;
    }



    /************** perak blog**********/
    .perakblog {
        text-align: center;
        /* 文字置中 */
        align-items: center;
        /* 增加區塊內邊距 */
        height: 1450px;
        /* 背景至少 1000px 高 */
        flex-direction: column;
    }

    .content4 {
        display: flex;
        /* 圖片與文字垂直排列 */

        justify-content: center;
        align-items: center;
        flex-direction: column;


    }

    .perakpic {
        width: 100%;
        /* 圖片寬度填滿容器 */
        height: auto;
        /* 保持比例 */

        display: block;
        /* 保證圖片為塊級元素，避免與其他內容並列 */

    }

    .perakpic img {
        padding: 0px;
        border-radius: 8px;
        margin-bottom: 15px;
        margin-left: 0px;
    }

    .text4 {
        width: 100%;
        /* 確保文字容器寬度填滿父容器 */
        margin: 0;
        /* 移除多餘外邊距 */
        align-items: center;
        justify-content: center;
        padding-right: 0px;

    }

    .text4 p {
        font-size: 16px;
        /* 合適的段落文字字體 */
        line-height: 1.6;
        /* 提高行間距，增強閱讀性 */
        text-align: left;
        margin: 40px;

    }


}

@media screen and (max-width: 1200px) {

    .body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .content1 {
        font-family: 'Sweet Sans Pro', sans-serif;
        flex-wrap: nowrap;
        justify-content: space-between;
        display: flex;

        max-width: 1200px;
        margin: 0 auto;
        gap: 20px;

    }

    .malaccapic img {

        max-width: 80%;
        margin-top: 50px;
        padding: 30px;

    }


    .text2,
    .text3,
    .text4 {

        max-width: 700px;
        margin-top: -50px;

    }

    .text1,
    .text3 {

        max-width: 700px;
        margin-top: -50px;
        padding-left: 0px;
    }

    .text2 {
        max-width: 700px;
        margin-top: -50px;
        padding-right: 0px;

    }




    .text1 h2,
    .text2 h2,
    .text3 h2,
    .text4 h2 {
        font-size: 40px;
        display: flex;
        justify-content: center;
        text-align: center;

    }

    .text1 p,
    .text2 p,
    .text3 p,
    .text4 p {
        font-size: 18px;
        overflow: hidden;
        max-width: 700px;


    }

    .malaccablog {
        text-align: center;
        /* 文字置中 */
        align-items: center;
        /* 增加區塊內邊距 */
        height: 1400px;
        /* 背景至少 1000px 高 */
        flex-direction: column;
    }

    .content1 {
        display: flex;
        /* 圖片與文字垂直排列 */

        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-direction: column-reverse;
        padding: revert;

    }

    .malaccapic {
        width: 60%;
        /* 圖片寬度填滿容器 */
        height: auto;
        /* 保持比例 */
        margin: 0 auto 20px;
        /* 圖片居中，並與文字留空隙 */
        display: block;
        /* 保證圖片為塊級元素，避免與其他內容並列 */
    }



    /************** penang blog**********/
    .penangblog {
        text-align: center;
        /* 文字置中 */
        align-items: center;
        /* 增加區塊內邊距 */
        height: 1450px;
        /* 背景至少 1000px 高 */
        flex-direction: column;
    }

    .content2 {
        display: flex;
        /* 圖片與文字垂直排列 */
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: revert;

    }

    .penangpic {
        width: 60%;
        /* 圖片寬度填滿容器 */
        height: auto;
        /* 保持比例 */
        margin: 0 auto 20px;
        /* 圖片居中，並與文字留空隙 */
        display: block;
        /* 保證圖片為塊級元素，避免與其他內容並列 */
    }



    /*---------pahang blog--------*/
    .pahangblog {
        text-align: center;
        /* 文字置中 */
        align-items: center;
        /* 增加區塊內邊距 */
        height: 1500px;

        flex-direction: column;
    }

    .content3 {
        display: flex;
        /* 圖片與文字垂直排列 */


        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-direction: column-reverse;
        padding: revert;
    }

    .pahangpic {
        width: 60%;
        /* 圖片寬度填滿容器 */
        height: auto;
        /* 保持比例 */
        margin: 0 auto 20px;
        /* 圖片居中，並與文字留空隙 */
        display: block;
        /* 保證圖片為塊級元素，避免與其他內容並列 */
    }




    /************** perak blog**********/
    .perakblog {
        text-align: center;
        /* 文字置中 */
        align-items: center;
        /* 增加區塊內邊距 */
        height: 1450px;
        flex-direction: column;
    }

    .content4 {
        display: flex;
        /* 圖片與文字垂直排列 */

        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: revert;

    }

    .perakpic {
        width: 60%;
        /* 圖片寬度填滿容器 */
        height: auto;
        /* 保持比例 */
        margin: 0 auto 20px;
        /* 圖片居中，並與文字留空隙 */
        display: block;
        /* 保證圖片為塊級元素，避免與其他內容並列 */
    }

}


@media screen and (max-width: 900px) {


    /**/

    .hero {
        background-position: center;
        background-size: cover;
        padding: 20px;
        /* Add padding for breathing space */
    }

    .hero h1 {
        font-size: 35px;

        /* Smaller hero heading */
    }

    .hero p {
        font-size: 15px;
        padding-top: 40px;
        display: flex;
        justify-content: center;

    }


    /************** content **********/
    .malaccablog {
        text-align: center;
        /* 文字置中 */
        align-items: center;
        /* 增加區塊內邊距 */
        height: 1200px;
        /* 背景至少 1000px 高 */
        flex-direction: column;
    }

    .content1 {
        display: flex;
        /* 圖片與文字垂直排列 */

        justify-content: center;
        align-items: center;
        padding: revert;
        flex-direction: column-reverse;

    }

    .malaccapic {
        width: 80%;
        /* 圖片寬度填滿容器 */
        height: auto;
        /* 保持比例 */

        display: block;
        /* 保證圖片為塊級元素，避免與其他內容並列 */
    }

    .text1 {
        width: 100%;
        /* 確保文字容器寬度填滿父容器 */
        margin: 0;
        /* 移除多餘外邊距 */
        align-items: center;
        justify-content: center;

    }

    .text1 p {
        font-size: 16px;
        /* 合適的段落文字字體 */
        line-height: 1.6;
        /* 提高行間距，增強閱讀性 */
        text-align: left;
        margin: 40px;
        text-align: justify;

    }

    .text1 h2 {
        order: 1;
        /* 標題在第一位 */
        display: flex;
        justify-content: center;
        text-align: center;
        margin: 30px;
        font-size: 30px;
        /* 合適的標題字體 */
        text-align: center;
        display: flex;
        /* 與段落文字留距 */
        margin-top: -40px;

    }

    /************** penang blog**********/
    .penangblog {
        text-align: center;
        /* 文字置中 */
        align-items: center;
        /* 增加區塊內邊距 */
        height: 1200px;
        /* 背景至少 1000px 高 */
        flex-direction: column;
    }

    .content2 {
        display: flex;
        /* 圖片與文字垂直排列 */
        width: 100%;
        /* 確保子容器寬度填滿父容器 */
        /* 適當限制寬度，防止過大 */
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: revert;

    }

    .penangpic {
        width: 80%;
        /* 圖片寬度填滿容器 */
        height: auto;
        /* 保持比例 */

        display: block;
        /* 保證圖片為塊級元素，避免與其他內容並列 */
    }

    .text2 {
        width: 100%;
        /* 確保文字容器寬度填滿父容器 */
        margin: 0;
        /* 移除多餘外邊距 */
        align-items: center;
        justify-content: center;

    }

    .text2 p {
        font-size: 16px;
        /* 合適的段落文字字體 */
        line-height: 1.6;
        /* 提高行間距，增強閱讀性 */
        text-align: left;
        margin: 40px;
        text-align: justify;

    }

    .text2 h2 {
        order: 1;
        /* 標題在第一位 */
        display: flex;
        justify-content: center;
        text-align: center;
        margin: 30px;
        font-size: 30px;
        /* 合適的標題字體 */
        text-align: center;
        display: flex;
        /* 與段落文字留距 */
        margin-top: -50px;

    }

    /*---------pahang blog--------*/
    .pahangblog {
        text-align: center;
        /* 文字置中 */
        align-items: center;
        /* 增加區塊內邊距 */
        height: 1300px;
        /* 背景至少 1000px 高 */
        flex-direction: column;
    }

    .content3 {
        display: flex;
        /* 圖片與文字垂直排列 */
        width: 100%;
        /* 確保子容器寬度填滿父容器 */
        /* 適當限制寬度，防止過大 */
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-direction: column-reverse;
        padding: revert;

    }

    .pahangpic {
        width: 80%;
        /* 圖片寬度填滿容器 */
        height: auto;
        /* 保持比例 */

        display: block;
        /* 保證圖片為塊級元素，避免與其他內容並列 */

    }

    .text3 {
        width: 100%;
        /* 確保文字容器寬度填滿父容器 */
        margin: 0;
        /* 移除多餘外邊距 */
        align-items: center;
        justify-content: center;

    }

    .text3 p {
        font-size: 16px;
        /* 合適的段落文字字體 */
        line-height: 1.6;
        /* 提高行間距，增強閱讀性 */
        text-align: left;
        margin: 40px;
        text-align: justify;

    }

    .text3 h2 {
        order: 1;
        /* 標題在第一位 */
        display: flex;
        justify-content: center;
        text-align: center;
        margin: 30px;
        font-size: 30px;
        /* 合適的標題字體 */
        text-align: center;
        display: flex;
        /* 與段落文字留距 */
        margin-top: -40px;

    }

    /************** perak blog**********/
    .perakblog {
        text-align: center;
        /* 文字置中 */
        align-items: center;
        /* 增加區塊內邊距 */
        height: 1250px;
        /* 背景至少 1000px 高 */
        flex-direction: column;
    }

    .content4 {
        display: flex;
        /* 圖片與文字垂直排列 */
        width: 100%;
        /* 確保子容器寬度填滿父容器 */
        /* 適當限制寬度，防止過大 */
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: revert;

    }

    .perakpic {
        width: 80%;
        /* 圖片寬度填滿容器 */
        height: auto;
        /* 保持比例 */

        /* 圖片居中，並與文字留空隙 */
        display: block;
        /* 保證圖片為塊級元素，避免與其他內容並列 */
    }

    .text4 {
        width: 100%;
        /* 確保文字容器寬度填滿父容器 */
        margin: 0;
        /* 移除多餘外邊距 */
        align-items: center;
        justify-content: center;

    }

    .text4 p {
        font-size: 16px;
        /* 合適的段落文字字體 */
        line-height: 1.6;
        /* 提高行間距，增強閱讀性 */
        text-align: left;
        margin: 40px;
        text-align: justify;

    }

    .text4 h2 {
        order: 1;
        /* 標題在第一位 */
        display: flex;
        justify-content: center;
        text-align: center;
        margin: 30px;
        font-size: 30px;
        /* 合適的標題字體 */
        text-align: center;
        display: flex;
        /* 與段落文字留距 */
        margin-top: -40px;

    }
}