body {
    background: #232947 url('../assets/trust.avif') no-repeat center center fixed;
    background-size: cover;
    color: #f3f3f3;
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    padding-bottom: 80px; /* Prevent content from hiding behind footer */
}

.info-section {
    background: rgba(24,32,56,0.93);
    margin: 38px 0;
    padding: 38px 28px 24px 28px;
    border-radius: 18px;
    box-shadow: 0 8px 32px #4f8cff33, 0 2px 8px #23293322;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s, transform 1s;
    border-left: 7px solid #4f8cff;
    animation: fadeInSection 1.1s cubic-bezier(.4,0,.2,1);
    backdrop-filter: blur(14px) brightness(1.08);
    -webkit-backdrop-filter: blur(14px) brightness(1.08);
}

body.loaded .info-section {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInSection {
    from { opacity: 0; transform: translateY(40px);}
    to   { opacity: 1; transform: translateY(0);}
}

.info-section h2 {
    color: #4f8cff;
    margin-bottom: 17px;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px #4f8cff11;
}

.info-section ul {
    margin-left: 22px;
    margin-bottom: 0;
    padding-left: 0;
}

.info-section ul li {
    color: #f3f3f3;
    margin-bottom: 12px;
    font-size: 1.13rem;
    line-height: 1.7;
    padding-left: 28px;
    position: relative;
}

.info-section ul li::before {
    content: "✔";
    color: #4f8cff;
    font-size: 1.1em;
    position: absolute;
    left: 0;
    top: 2px;
}

.info-section p {
    color: #f3f3f3;
    font-size: 1.15rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .main-content {
        max-width: 99vw;
        padding: 18px 2vw;
    }
    .info-section {
        padding: 22px 4vw;
        margin: 18px 0;
    }
    .info-section h2 {
        font-size: 1.15rem;
    }
    .info-section ul li, .info-section p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .main-content {
        padding: 8px 0;
    }
    .info-section {
        padding: 12px 2vw;
        margin: 10px 0;
    }
    .info-section h2 {
        font-size: 1.02rem;
    }
}

/* --- Existing Purpose Page Styles (keep below header styles) --- */
body {
    background: #232947 url('../assets/trust.avif') no-repeat center center fixed;
    background-size: cover;
    color: #f3f3f3;
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    padding-bottom: 80px; /* Prevent content from hiding behind footer */
}

.main-content {
    width: 95%;
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 0 32px 0;
    margin-top: 90px; /* Give space for fixed header */
}

.info-section {
    background: rgba(24,32,56,0.93);
    margin: 38px 0;
    padding: 38px 28px 24px 28px;
    border-radius: 18px;
    box-shadow: 0 8px 32px #4f8cff33, 0 2px 8px #23293322;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s, transform 1s;
    border-left: 7px solid #4f8cff;
    animation: fadeInSection 1.1s cubic-bezier(.4,0,.2,1);
    backdrop-filter: blur(14px) brightness(1.08);
    -webkit-backdrop-filter: blur(14px) brightness(1.08);
}

body.loaded .info-section {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInSection {
    from { opacity: 0; transform: translateY(40px);}
    to   { opacity: 1; transform: translateY(0);}
}

.info-section h2 {
    color: #4f8cff;
    margin-bottom: 17px;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px #4f8cff11;
}

.info-section ul {
    margin-left: 22px;
    margin-bottom: 0;
    padding-left: 0;
}

.info-section ul li {
    color: #f3f3f3;
    margin-bottom: 12px;
    font-size: 1.13rem;
    line-height: 1.7;
    padding-left: 28px;
    position: relative;
}

.info-section ul li::before {
    content: "✔";
    color: #4f8cff;
    font-size: 1.1em;
    position: absolute;
    left: 0;
    top: 2px;
}

.info-section p {
    color: #f3f3f3;
    font-size: 1.15rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .main-content {
        max-width: 99vw;
        padding: 18px 2vw;
    }
    .info-section {
        padding: 22px 4vw;
        margin: 18px 0;
    }
    .info-section h2 {
        font-size: 1.15rem;
    }
    .info-section ul li, .info-section p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .main-content {
        padding: 8px 0;
    }
    .info-section {
        padding: 12px 2vw;
        margin: 10px 0;
    }
    .info-section h2 {
        font-size: 1.02rem;
    }
}

/* Highlight the Purpose nav link as active */
nav a.active {
    background: #4f8cff;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 12px #4f8cff33;
}

/* --- Footer Styling --- */
footer {
    background: rgba(24,32,56,0.97);
    color: #f3f3f3;
    padding: 28px 0 18px 0;
    text-align: center;
    font-size: 1.03rem;
    letter-spacing: 0.3px;
    box-shadow: 0 -2px 16px #0005;
    border-top: 2px solid #4f8cff;
    margin: 0;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
}

footer .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2vw;
}

footer p {
    margin: 0;
    color: #bcd0f7;
    font-size: 1.01rem;
    letter-spacing: 0.2px;
}

.sidy {
    position: fixed;
    width: 180px;
    background: linear-gradient(120deg, #23283a 60%, #4f8cff 80%, #23283a 60%);
    display: flex;
    justify-content: center;
    border: 2px solid;
    right: 0;
    top: 50px;
    bottom: 0;
    z-index: 500;
    border: none;
    border-left:  3px solid #4f8cff;
    box-shadow: 0 1px 2px rgb(255, 255, 255);
    transform: translateX(200px);
    transition: transform .4s ease-in-out;
}

.sidy .cancel {
    position: absolute;
    font-size: 35px;
    text-shadow: 0px 1px 2px;
    right: 0px;
    top: 17px;
    cursor: pointer;
    padding: 2px 10px;
    transition: background-color .2s ease-in-out;
}

.sidy .cancel:hover {
    text-shadow: 0px 4px 8px;
    background-color: rgb(212, 0, 0);
    padding: 2px 10px;
}

.sidy ul {
    list-style-type: none;
    margin-top: 3rem;
    margin-left: -2rem;
    cursor: pointer;
}

.sidy ul a {
  text-decoration: none;
  text-shadow: 0px 1px 2px white;
  font-size: 18px;
  color: white; 
}

.sidy ul li {
  color: white;
  text-decoration: none;
  text-shadow: 0px 1px 2px white;
  font-size: 18px; 
  margin-top: 1rem;
  padding: 14px 30px;
  text-align: center;
}

.sidy ul li:hover {
    background-color: #4f8cff;
    border-radius: 5px;
    box-shadow: 0px 2px 18px #1d2647;   
}

.opaci {
    opacity: 0.1;
}

.all {
    position: relative;
    transform-origin: center right;
    transition: transform .4s ease-in-out, opacity .7s;
}

.all.active {
    transform: translateX(-200px) rotateY(-10deg);
}

.sidy.active {
    transform: translateX(0);
}

.floating-container {
    position: fixed;
    top: 10%;
    left: 5%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, #4f8cffcc 0%, #4f8cff77 60%, #23293300 100%);
    pointer-events: none;
    z-index: 2;
    animation: floatAroundFull 18s linear infinite;
    opacity: 0.55;
    box-shadow: 0 0 60px 30px #4f8cff55;
    transition: opacity 0.5s;
}

@keyframes floatAroundFull {
    0%   { top: 10%; left: 5%;    transform: scale(1);}
    15%  { top: 10%; left: 80%;   transform: scale(1.1);}
    30%  { top: 70%; left: 80%;   transform: scale(0.95);}
    45%  { top: 70%; left: 10%;   transform: scale(1.08);}
    60%  { top: 40%; left: 50%;   transform: scale(1);}
    75%  { top: 80%; left: 40%;   transform: scale(1.12);}
    90%  { top: 15%; left: 60%;   transform: scale(0.98);}
    100% { top: 10%; left: 5%;    transform: scale(1);}
}