@media (max-width: 768px) {
    /* General Body Adjustments */
    body {
        padding: 10px !important;
    }

    /* Header Styling */
    header {
        padding: 15px !important;
        text-align: center !important;
    }

    header h1 {
        font-size: 2.5rem !important; /* Scale down header font size */
        padding: 0 10px !important;
    }

    header p {
        font-size: 1rem !important; /* Scale down paragraph font size */
        padding: 0 10px !important;
        max-width: 100% !important; /* Ensure it fits the mobile view */
    }

    /* Main Content Styling */
    main {
        padding: 20px !important; /* Compact padding */
        max-width: 90% !important; /* Full width for smaller screens */
        width: 100% !important;
        margin: 0 !important;
    }

    /* Section Styling */
    section {
        margin-bottom: 15px !important;
    }

    section h2 {
        font-size: 1.5rem !important; /* Smaller font for section titles */
        text-align: center !important;
        margin-bottom: 8px !important;
    }

    section p, section ul {
        font-size: 1rem !important; /* Smaller font for paragraphs and lists */
        padding-left: 10px !important; /* Adjust padding */
        text-align: justify !important; /* Keep text justified */
    }

    ul li {
        margin-bottom: 8px !important;
        padding-left: 15px !important;
    }

    ul li:before {
        font-size: 1.2rem !important;
        left: 5px !important; /* Adjust bullet positioning */
    }

    /* Footer Styling */
    footer {
        padding: 15px 10px !important;
        font-size: 0.9rem !important;
    }

    footer a {
        display: block !important; /* Stack footer links vertically on mobile */
        margin: 5px 0 !important;
    }
}

/* General styles for the body */
body {
    font-family: 'Lora', serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(90deg, #483D8B, #556B2F);  /* Similar gradient to the main page */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
}

/* Header styling */
header {
    text-align: center;
    padding: 20px;
}

header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem; 
    margin-bottom: 10px;
    color: #FFD700;  /* Gold color */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

header p {
    font-size: 1.2rem;  
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    max-width: 800px;
    margin: 0 auto;
}

/* Main content styling */
main {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    line-height: 1.8;
}

/* Section styling */
section {
    margin-bottom: 25px;
}

section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #FFD700;  /* Gold color */
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    text-align: center;  /* Center-align the h2 headers */
}

section p, section ul {
    font-size: 1.1rem;
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    padding-left: 20px;
    text-align: justify;  /* Justify the text inside the section */
}

/* List inside rule #11 */
ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    text-align: justify;  /* Justify the list text */
}

ul li:before {
    content: "•";
    color: #FFD700;  /* Gold bullet point */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
}

/* Footer styling */
footer {
    background-color: #2F4F4F; /* Dark Slate Gray */
    color: white;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
}

footer a {
    color: #FFD700;  /* Gold */
    margin: 0 10px;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer p {
    margin: 0;
}