
body {
    font-family: 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: white;

    background-image: linear-gradient(to bottom, #1f5945dd, #24724be8, #419b76d4); 

    /* fit to full page */
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Stack top to bottom */
    justify-content: flex-start; /* Keep top items at top */
    overflow: hidden;
}

/* Blurred wallpaper background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* bg image + gradient */
    background: linear-gradient(to bottom, #1f5945a4, #24724b82, #419b7688),
                url('assets/images/bg/index-bg.webp') center/cover no-repeat;

    filter: blur(8px); /* Gaussian-like blur */
    z-index: -2; 
}

/* overlay bg behing swiper bars  */
body::after {
    width: 350px;
    height: 500px;
    bottom: 10%;
    right: 26%;
    background-color: rgba(19, 96, 53, 0.273);

    content: '';
    position: absolute;
    filter: blur(90px);
    z-index: -1;
} 


.navbar{
    width: 100%;
    padding-left: 250px;
    padding-bottom: 5px;

    background-image: linear-gradient(270deg, #1f5945c3, #28a73b85, #1f5945c8);
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* thin glass edge */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); /* soft glow shadow */

    display: flex;          /* stretch content row */
    align-items: center;    /* center vertically */
    justify-content: flex-start; /* align items to left */
}

/* Main table container */
.box {
    display: flex;
    /* flex-wrap: wrap; */
    flex-direction: column;
    /* row-gap: 100px; */
}


/* Q&A form row gap*/
.box0 {
    margin-top: 5%;
    margin-left: 20%;
    width: 72%;
    height: 95%;

    display: grid;
    row-gap: 6px;

    /* max-width: 600px; */
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;

    background-color: rgba(255, 255, 255, 0.05);    /* form bg color */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);   /* Glassmorphism shadow */
    backdrop-filter: blur(10px);    /* Glassmorphism blur */
    /* align-items: center; */
    position: relative;

    z-index: 1; /* Ensure above the background */
}


#btn-gotoGuide {
    background-image: linear-gradient(270deg, #289a17, #7eb909, #289a17);
    background-size: 400% 100%;
    background-position: 0% 50%;
    color: white;
    /* border: rgba(19, 221, 106, 0.107) 1px solid; */
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 18px;
    margin-top: 12px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* swapped colors */
#btn-gotoGuide:hover {
    transition: transform 0.2s ease, box-shadow 0.3 ease;   
    /* background-image: linear-gradient(to right, #6eb909, #289a17);  */
    transform: scale(1.01);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.txt-field {
    padding: 6px 12px;  /* top-bottom, left-right */
    font-size: 12px;

    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.335);
    background-color: rgba(255, 255, 255, 0.247);
    color: rgb(255, 255, 255);
    outline: none;
}

.txt-field:hover {
    background-color: rgba(255, 255, 255, 0.479);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.txt-field:focus {
    background-color: rgba(255, 255, 255, 0.247);
    border: 1px solid rgba(255, 255, 255, 0.335);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.581);
}



/* Swiper styles for .box1 only */
.box1 {
    margin-top: 5%;
    width: 70%;
    height: 55vh;
}

.box1 swiper-container {
    width: 100%;
    height: 100%;
    --swiper-navigation-color: rgba(225, 221, 221, 0.537);  /* swiper button color */
}

.box1 swiper-slide {
    text-align: center;
    /* font-size: 18px; */
    background: transparent;
    /* color: white; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.box1 swiper-slide img {
    display: block;
    object-fit: cover;
    cursor: pointer;
}


/* Swiper styles for .box2 only */
.box2 {
    width: 75%;
    /* To vertically center an element, the parent container must have a known, non-zero height. 
    vertical centering (using align-items: center) works relative to the height of the parent. */
    /* margin-top: 20px; */
}

.box2 swiper-container {
    width: 100%;
    height: 100%;
}

.box2 swiper-slide {
    background: transparent;
    align-content: center;  /* vertical center */
}

.slide {
    padding: 5px;
    margin-top: 20px;
    margin-bottom: 30px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;

    row-gap: 7px;   /* gap baween <img> and <p> */
    font-size: 14px;
    font-weight: 700px;
    cursor: pointer;

    border-radius: 15px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);

    transition: transform 0.1s ease, background-color 0.3s ease;
}

.box2 swiper-slide img {
    /* width: 60% !important; */
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;

    transition: transform 0.2s ease;
}

.slide:hover img {
    transform: scale(1.20);
}

.slide:hover {
    transform: scale(1.05);
    /* background-color: 0 0 0 3px rgba(255, 255, 255, 0.5); */
    background-color: rgba(217, 212, 212, 0.083);
}



/* 
.box2_swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;

    background: radial-gradient(circle at 20% 20%, #88e184 0%, transparent 40%),
        radial-gradient(circle at 80% 30%, #6cc9ac 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, #a0eec0 0%, transparent 40%);
    background-size: 200% 200%;
    animation: natureFlow 30s ease infinite;

    filter: blur(60px);
    opacity: 0.3;
    pointer-events: none;
    border-radius: 20px;
}

@keyframes natureFlow {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
} */