/* Floating Home Button Modern UI */
.fab-home-btn {
    position: fixed;
    top: 2.2em;
    right: 2.2em;
    z-index: 200;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d7a2d 60%, #4ecb8f 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 24px rgba(44,62,80,0.18), 0 1.5px 8px 0 rgba(44,62,80,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7em;
    cursor: pointer;
    transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
    outline: none;
    animation: fab-in 0.5s cubic-bezier(.4,1.6,.6,1);
}
.fab-home-btn:hover, .fab-home-btn:focus {
    background: linear-gradient(135deg, #256325 60%, #3ea86e 100%);
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(44,62,80,0.22);
}
@keyframes fab-in {
    from { opacity: 0; transform: scale(0.7) translateY(-30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
@media (max-width: 700px) {
    .fab-home-btn {
        top: auto;
        bottom: 1.5em;
        right: 1.2em;
        width: 48px;
        height: 48px;
        font-size: 1.3em;
        box-shadow: 0 2px 12px rgba(44,62,80,0.13);
    }
}
/* Full-width, immersive SDG sections with scroll-triggered parallax and zoom */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    background: linear-gradient(120deg, #e0f7fa 0%, #e8f5e9 100%);
    min-height: 100vh;
    overflow-x: hidden;
}
.sdg-main {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 5.5em;
    padding-bottom: 2em;
}
.sdg-title {
    font-size: 1.7em;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #1e5c1e;
    margin-bottom: 0.7em;
    text-shadow: 0 2px 16px rgba(44,62,80,0.08);
    background: linear-gradient(90deg, #2d7a2d 40%, #4ecb8f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}
.sdg-section {
    width: 100vw;
    min-height: 70vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 3em 0 3em 0;
    position: relative;
    overflow: hidden;
    transition: background 0.5s;
    will-change: transform, opacity;
}
.sdg-section:nth-child(2n) {
    flex-direction: row-reverse;
    background: linear-gradient(120deg, #e8f5e9 60%, #e0f7fa 100%);
}
.sdg-section:nth-child(2n+1) {
    background: linear-gradient(120deg, #e0f7fa 60%, #e8f5e9 100%);
}
.sdg-img-wrap {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    z-index: 1;
}
.sdg-img {
    width: 100%;
    max-width: 700px;
    border-radius: 1.5em;
    box-shadow: 0 8px 32px 0 rgba(44, 62, 80, 0.13), 0 1.5px 8px 0 rgba(44,62,80,0.10);
    background: #f8fff8;
    transition: box-shadow 0.3s, transform 0.3s;
    will-change: transform;
    margin-bottom: 0.3em;
}
.sdg-content {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.5em 3vw 0.5em 3vw;
    z-index: 2;
}
.sdg-label {
    font-size: 1.5em;
    font-weight: 700;
    color: #2d7a2d;
    margin-bottom: 0.1em;
    margin-top: 0.1em;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(44,62,80,0.07);
}
.sdg-desc {
    font-size: 1.1em;
    color: #3a3a3a;
    opacity: 0.85;
    margin-bottom: 0.2em;
    line-height: 1.6;
}
@media (max-width: 900px) {
    .sdg-section {
        flex-direction: column !important;
        min-height: 60vh;
        padding: 1.2em 0 1.2em 0;
    }
    .sdg-img-wrap, .sdg-content {
        flex: 1 1 100%;
        padding: 0 2vw;
    }
    .sdg-img {
        width: 100%;
        max-width: 99vw;
        margin-bottom: 0.2em;
    }
    .sdg-content {
        align-items: center;
        text-align: center;
        padding: 0.3em 2vw 0.3em 2vw;
    }
}
/* Simpler fade/slide for section animation */

.sdg-section {
    width: 100vw;
    min-height: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2em 0 2em 0;
    background: none;
    opacity: 1;
    transform: none;
    transition: none;
    box-shadow: none;
}
.sdg-img {
    width: 100%;
    max-width: 700px;
    border-radius: 1.5em;
    box-shadow: 0 8px 32px 0 rgba(44, 62, 80, 0.13), 0 1.5px 8px 0 rgba(44,62,80,0.10);
    background: #f8fff8;
    margin-bottom: 0.3em;
    transition: none;
}
.sdg-label {
    font-size: 1.5em;
    font-weight: 700;
    color: #2d7a2d;
    margin-bottom: 1.5em;
    margin-top: 0.1em;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(44,62,80,0.07);
    text-align: center;
}
@media (max-width: 900px) {
    .sdg-section {
        padding: 1.2em 0 1.2em 0;
    }
    .sdg-img {
        width: 100%;
        max-width: 99vw;
        margin-bottom: 0.2em;
    }
    .sdg-label {
        margin-bottom: 1.2em;
    }
}
