/* General styling for body */
body {
    font-family: -apple-system, system-ui, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #202020;
    background-color: #f9f9f9;
}

/* Header */
header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    color: #202020;
    background-color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header h1 {
    font-size: 36px;
    color: #202020;
    font-weight: 700;
    margin-bottom: 15px;
}

header p {
    font-size: 18px;
    color: #555555;
    margin-bottom: 30px;
}

.separator {
    height: 4px;
    background-color: #FA8B28;
    margin: 20px 0;
}

/* Section Titles */
h2 {
    font-size: 28px;
    color: #FA8B28;
    text-align: center;
    font-weight: 600;
    margin-bottom: 40px;
}

/* Guide List Section */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
}

.feature {
    flex: 1 1 300px;
    text-align: center;
    max-width: 300px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.feature:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.feature h3 {
    font-size: 22px;
    color: #202020;
    margin-bottom: 10px;
}

.feature p {
    font-size: 16px;
    color: #555555;
}

/* Links in the guide list */
a {
    color: #FA8B28;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Content Styling for Individual Guides */
article {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

article h2 {
    font-size: 28px;
    color: #FA8B28;
    margin-top: 40px;
}

article p {
    font-size: 18px;
    color: #202020;
    line-height: 1.6;
    margin-bottom: 20px;
}

article ol, article ul {
    padding-left: 40px;
    font-size: 18px;
    color: #202020;
}

article ol li, article ul li {
    margin-bottom: 10px;
}

article img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

/* Footer Styling */
footer {
    background-color: #202020;
    text-align: center;
    padding: 30px 20px;
    color: #ffffff;
    margin-top: 50px;
}

footer p {
    color: #ffffff;
    font-size: 14px;
}

footer a {
    color: #FA8B28;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
}

/* Media Queries */
@media (min-width: 768px) {
    header h1 {
        font-size: 42px;
    }
    header p {
        font-size: 20px;
    }
    .features {
        gap: 40px;
    }
}

@media (max-width: 767px) {
    header h1 {
        font-size: 28px;
    }
    header p {
        font-size: 16px;
    }
    .feature {
        flex: 1 1 100%;
        max-width: 100%;
    }
}