/* Global styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f0e8;
    color: #3a2f2a;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.feature-item {
    margin-bottom: 20px;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 10px; /* space between image and h3 */
}

    .feature-header img {
        width: 32px; /* adjust as needed */
        height: auto;
        display: block;
    }

.feature-item p {
    margin-top: 8px; /* spacing between header row and paragraph */
}

/* Layout */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001; /* slightly above footer */
    padding: 20px;
    background: linear-gradient( 135deg, #4b3d33 0%, #5a2f1f 40%, #7a3b22 70%, #4b3d33 100% );
    color: #f4f0e8;
    border-bottom: 3px solid #b44a1a;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

    /* Optional: a faint glowing ember effect behind the title */
    .header h1 {
        text-shadow: 0 0 4px rgba(255, 120, 40, 0.4);
        font-size: 24px;
        letter-spacing: 1px;
    }

.navbar {
    margin-top: 10px;
}

    .navbar ul {
        list-style: none;
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }

    .navbar li a {
        padding: 8px 14px;
        border-radius: 4px;
        color: #f4f0e8;
        font-size: 14px;
    }

        .navbar li a:hover,
        .navbar li a.active {
            background-color: #7a5f46;
        }

/* Main content */
.main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 140px 20px 80px 20px; /* top padding increased for fixed header */
}

.section-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: #4b3d33;
}

.lead {
    font-size: 16px;
    margin-bottom: 20px;
}

.card {
    background-color: #fffaf2;
    border: 1px solid #ddcbb5;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

    .card h3 {
        font-size: 18px;
        margin-bottom: 8px;
        color: #4b3d33;
    }

    .card p {
        font-size: 14px;
    }
    .card ul {
        padding-left: 20px; /* smaller, matches your paragraph indent */
        margin-top: 8px;
        margin-bottom: 8px;
    }
    .card li {
        font-size: 14px;
        line-height: 1.5;
    }
.Button {
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient( 135deg, #7a3b22 0%, #b44a1a 50%, #7a3b22 100% );
    color: #f4f0e8;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #5a2f1f;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

    .Button:hover {
        background: linear-gradient( 135deg, #8c4426 0%, #c45522 50%, #8c4426 100% );
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    }

    .Button:active {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    }

/* Simple grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #3a2f2a;
    color: #f4f0e8;
    font-size: 12px;
    text-align: center;
    padding: 15px;
    z-index: 1000;
}

/* Forms */
.form-group {
    margin-bottom: 12px;
}

    .form-group label {
        display: block;
        font-size: 14px;
        margin-bottom: 4px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 8px;
        border: 1px solid #c4b39e;
        border-radius: 4px;
        font-size: 14px;
    }

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 8px 16px;
    background-color: #7a5f46;
    color: #f4f0e8;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: none;
}

    .btn-primary:hover {
        background-color: #5e4733;
    }

/* Utility */
.muted {
    color: #7a6b60;
    font-size: 13px;
    margin-top: 6px;
}
.branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 48px;
    width: auto;
}

.video-thumbnail {
    text-align: center;
    margin: 30px 0;
}

.video-thumb-img {
    width: 260px;
    height: auto;
    border-radius: 6px;
    border: 2px solid #ddcbb5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .video-thumb-img:hover {
        transform: scale(1.03);
    }

.video-caption {
    margin-top: 8px;
    font-size: 14px;
    color: #4b3d33;
}

@media (max-width: 768px) {

    nav ul {
        display: flex;
        flex-direction: row; /* horizontal again */
        overflow-x: auto; /* allow scrolling */
        white-space: nowrap; /* prevent wrapping */
        gap: 0.75rem;
        padding: 0.5rem 0;
        margin: 0;
        scrollbar-width: none; /* hide scrollbar on Firefox */
    }

        nav ul::-webkit-scrollbar {
            display: none; /* hide scrollbar on iPhone/Safari */
        }

        nav ul li {
            flex: 0 0 auto; /* prevent shrinking */
        }

            nav ul li a {
                padding: 0.6rem 0.9rem;
                font-size: 1rem;
                border-radius: 6px;
            }

    header {
        margin-bottom: 0.75rem; /* ensure content never overlaps */
    }

    /* Reduce the oversized scaling */
    html, body {
        font-size: 16px; /* was 18px — this is safer */
    }

    /* Header spacing so content never gets overlapped */
    header {
        padding: 0.75rem 0 1rem 0;
        margin-bottom: 1rem; /* ensures content starts lower */
    }

    .main {
        max-width: 100vw;
        margin: 0 auto;
        padding: 200px 20px 80px 20px; /* top padding increased for fixed header */
    }

    /* Content spacing so nothing touches the header */
    .content {
        margin-top: 1rem;
    }
}
