/* =================================================== 
   1. CORE DOCUMENT & LAYOUT STANDARDS 
   =================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; background-color: #222831; color: #eeeeee; padding: 0; }
main { max-width: 1100px; margin: 0 auto; padding: 20px; }

/* =================================================== 
   2. HEADER & PROFILE ELEMENTS 
   =================================================== */
header { background-color: #393e46; padding: 40px 20px; text-align: center; border-bottom: 4px solid #00adb5; }
.header-content { max-width: 800px; margin: 0 auto; }
.profile-img { border-radius: 50%; border: 4px solid #00adb5; margin-bottom: 20px; object-fit: cover; }
h1 { color: #00adb5; margin-bottom: 15px; font-size: 2.5rem; }
.tagline { font-size: 1.1rem; color: #eeeeee; }

/* =================================================== 
   3. BANNER OPTIMIZATION 
   =================================================== */
/* 3. BANNER OPTIMIZATION */
.banner-wrapper {
    width: 100%;
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    /* Remove height: 180px; */
    aspect-ratio: 16 / 7; /* Adjust this number (e.g., 21/9 or 16/9) to change the "crop" shape */
}

.banner-wrapper img.banner {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Change this from 'cover' to 'contain' */
    object-position: center;
    display: block;
}


/* =================================================== 
   4. LAYOUT GRID & CARDS 
   =================================================== */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin: 20px 0 40px 0; }
.card { background-color: #393e46; border-radius: 8px; padding: 30px; box-shadow: 0 4px 6px rgba(0,0,0,0.3); display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s ease; }
.card:hover { transform: translateY(-2px); }
h2 { color: #00adb5; margin-bottom: 15px; font-size: 1.5rem; }
p { margin-bottom: 20px; }

/* =================================================== 
   5. BUTTONS 
   =================================================== */
.btn { display: block; width: 100%; text-align: center; padding: 14px 20px; border-radius: 6px; font-weight: bold; text-decoration: none; cursor: pointer; border: none; font-size: 1rem; transition: background-color 0.2s ease; }
.btn:hover { opacity: 0.9; }
.btn-green { background-color: #00adb5; color: #ffffff; }
.btn-blue { background-color: #2d4059; color: #ffffff; }

/* =================================================== 
   6. PROGRESS BAR 
   =================================================== */
.progress-container { margin: 25px 0; }
.progress-header { display: flex; justify-content: space-between; font-size: 0.95rem; margin-bottom: 8px; font-weight: bold; }
.progress-bar { background-color: #222831; border-radius: 10px; height: 24px; width: 100%; overflow: hidden; border: 1px solid #444; }
.progress-fill { background: linear-gradient(90deg, #00adb5, #00fff2); height: 100%; width: 0%; transition: width 1s ease; }

/* =================================================== 
   7. SECTIONS & FAQ 
   =================================================== */
.story-section, .faq-section { background-color: #393e46; padding: 30px; border-radius: 8px; margin-bottom: 40px; }
ul { list-style-position: inside; margin-bottom: 20px; }
details { background-color: #222831; padding: 15px; border-radius: 6px; margin-top: 10px; cursor: pointer; }

/* =================================================== 
   8. SHARE BOX & TOASTS 
   =================================================== */
.share-box { background-color: #222831; border: 2px dashed #00adb5; padding: 25px; border-radius: 8px; margin-top: 30px; text-align: center; }
.toast { visibility: hidden; position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background-color: #00adb5; padding: 16px; border-radius: 6px; }

/* =================================================== 
   9. TIMELINE 
   =================================================== */
.timeline-container { position: relative; margin-top: 20px; padding-left: 20px; }
.timeline-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 30px; }

/* =================================================== 
   10. MOBILE RESPONSIVENESS 
   =================================================== */
/* =================================================== 10. MOBILE RESPONSIVENESS =================================================== */
@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    
    .share-box .btn { 
        display: block; 
        width: 100%; 
        margin: 10px 0 0 0; 
    }

    /* This forces the banner to stay in proportion and NOT be cut off */
    .banner-wrapper { 
        aspect-ratio: 16 / 7; 
        height: auto; 
    }
}
