 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #e74c3c;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.body-subtitle {
    font-size: 0.8rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.body-subtitle-left {
    font-size: 0.8rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: left;
    margin-left: 15px;
}

.location-info {
    font-size: 0.8rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: left;
}

.body-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #34495e;
    /* margin-bottom: 0.2rem; */
}

.video-title {
    border-top: 3px solid #e74c3c;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.elevation-map {
    font-size: 1.2rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 1rem;
    text-align: center;
}

.needs-details {
    font-size: 1.0rem;
    font-weight: 600;
    margin: 0.5rem 0 2rem 0;
    text-align: left;
}

.needs-list {
    font-size: 1.75rem;
    color: #555;
}

.gif-container {
    text-align: center;
    margin: 1rem 0;
    background-color: #ecf0f1;
    padding: 1rem;
    border-radius: 10px;
    border: 2px dashed #bdc3c7;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.gif-placeholder-responsive {
    width: 100%;
    max-width: 500px;
    /* height: 300px; */
    /* background-color: #95a5a6; */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    font-size: 1.2rem;
    margin: 0 auto;
    padding-bottom: 1rem;
}

.gif-placeholder {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background-color: #95a5a6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    font-size: 1.2rem;
    margin: 0 auto;
}

.gif-image {
    width: 100%;
    max-width: 500px;
    max-height: 225px;
    object-fit: cover;
    object-position: top;;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.gif-image-responsive {
    width: 100%;
    max-width: 400px;
    max-height: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.sign-here-btn {
    background-color: #e74c3c;
    color: #fff;
    border: 1px solid #e74c3c; /* smaller border */
    padding: 1em 0;
    border-radius: 6px;
    font-size: 1.2em;
    cursor: pointer;
    /* margin-top: 1em; */
    width: 100%; /* fills the container */
    max-width: 500px; /* optional: limit max width */
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: background 0.2s, border 0.2s;
}
.sign-here-btn:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

.sign-here-btn-padding {
    text-align: center;
    margin: 1rem 0;
    color: #34495e;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin: 2rem 0;
    color: #34495e;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.problems-section {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.problems-title {
    font-size: 2rem;
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 1.5rem;
    text-align: center;
}

.problems-list {
    list-style: none;
    padding: 0;
}

.problems-list li {
    background-color: #fff5f5;
    margin: 1rem 0;
    padding: 1.2rem 1rem 1.2rem 2rem; /* increase left padding */
    border-left: 4px solid #e74c3c;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
}

.problems-list li::before {
    content: "⚠️";
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #e74c3c;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.problems-list li {
    margin-left: 20px;
}

.footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ecf0f1;
    color: #7f8c8d;
}


.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 1.5em;
    font-size: 0.95em; /* Example for smaller font */
}

.custom-list li::before {
    content: "💡";
    position: absolute;
    left: 0;
    top: 0;
}

.sub-list {
    list-style-type: disc;
    list-style-position: outside;
    margin: 0rem 0 0rem 0rem; /* indented from the parent bullet */
    padding-left: 3rem;            /* extra padding for the bullets */
    font-style: italic;              /* italicized font for sub-items */
    font-size: 1rem;              /* slightly smaller than top-level items */
    color: #34495e;
}

.sub-list li {
    margin-bottom: 0.35rem;
}

.sub-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
}

.video-carousel-section {
    margin: 2rem 0;
    text-align: center;
}

.carousel-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.video-carousel {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
}

/* Custom scrollbar for the carousel */
.video-carousel::-webkit-scrollbar {
    height: 16px; /* makes the horizontal scrollbar thicker */
}
/* .video-carousel::-webkit-scrollbar-thumb {
    background-color: #bdc3c7;
    border-radius: 8px;
}
.video-carousel::-webkit-scrollbar-thumb {
    background: #e74c3c;
    border-radius: 8px;
}
.video-carousel::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 8px;
} */

.carousel-item {
    flex: 0 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    background: #fff;
    padding: 0.5rem;
}

.community-support-section {
    margin: 2rem 0;
    text-align: center;
}

.community-support-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
}

.community-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    background: #fff;
}

.logo-caption {
    font-size: 0.95rem;
    color: #34495e;
    margin-top: 0.2rem;
    text-align: center;
}

.video-caption {
    font-size: 0.75rem;
    color: #888;
    text-align: center;
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .gif-placeholder {
        height: 200px;
    }
}

.custom-link {
    color: #0074d9;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.custom-link:hover,
.custom-link:focus {
    color: #005fa3;
    text-decoration: underline;
}

.improvements-section {
    background-color: #ffffff;
    padding: 1rem 1.25rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.improvements-title {
    font-size: 2.1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-align: center;
}

.improvements-list {
    margin-left: 1.25rem;
    color: #3d4b55;
    font-size: 0.95rem;
    line-height: 1.45;
}

.improvements-list li {
    margin-bottom: 0.35rem;
}

.improvements-subtitle {
    font-size: 0.95rem;
    color: #596673;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

/* Top hamburger menu */
/* Adjust menu toggle so the "Menu" label fits */
.menu-toggle {
    background: transparent;
    border: none;
    min-width: 44px;
    padding: 6px 10px;           /* allow room for label */
    display: inline-flex;
    align-items: center;
    gap: 8px;                    /* space between icon and label */
    justify-content: center;
    cursor: pointer;
    position: absolute;
    left: 16px;
    top: 14px;
    z-index: 999;
}

/* visible text label next to hamburger */
.menu-label {
    font-size: 0.95rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1;
    user-select: none;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #2c3e50;
    border-radius: 2px;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

/* Menu panel */
.top-menu {
    display: none;
    position: absolute;
    left: 16px;
    top: 64px;
    background: #ffffff;
    border: 1px solid rgba(44,62,80,0.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 200px;
    z-index: 998;
}

/* show when JS adds .open */
.top-menu.open {
    display: block;
}

.top-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-menu li {
    margin: 0;
}

.top-menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
}

.top-menu a:hover,
.top-menu a:focus {
    background: rgba(231,76,60,0.06);
    color: #e74c3c;
}

/* keep the hamburger visible on wide screens too; layout for large screens */
@media (min-width: 900px) {
    /* keep the toggle visible; present menu as inline when open */
    .top-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        min-width: auto;
    }
    .top-menu.open {
        display: flex;
        gap: 1rem;
        align-items: center;
    }
    .top-menu ul { display: flex; gap: 1rem; align-items: center; padding:0; margin:0; }
    .top-menu a { padding: 0; font-size: 1rem; }
    .header { padding-top: 10px; }
}

/* ensure menu doesn't overlay content awkwardly on small heights */
@media (max-height: 500px) {
    .top-menu { max-height: 60vh; overflow: auto; }
}
