/* Reset some basic elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    padding: 0 1rem;
    margin-bottom: 60px; /* Adjusting to make space for the footer */
}

header {
    background-color: #1e6603;
    color: white;
    padding: 15px;
    text-align: center;
}

header nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav ul li {
    margin: 5px 0;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    text-decoration: underline;
}

footer {
    background-color: #1e6603;
    color: white;
    text-align: center;
    padding: 10px;
    position: relative; /* Removed fixed position for better mobile support */
}

.hero {
    background: url('../images/hero.jpg') no-repeat center center/cover;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.5rem;
}

.intro, .about, .resource, .exercise {
    padding: 20px;
    /* text-align: center; */
}

.intro h2, .about h2, .resource h1, .resource h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.exercise, .resource {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin: 20px auto;
    max-width: 100%;
}

.resource ul {
    list-style: none;
}

/* Container for limiting content width */
.content-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 20px auto;
    max-width: 800px;
}

@media (min-width: 600px) {
    header nav ul {
        flex-direction: row;
        justify-content: center;
    }

    header nav ul li {
        margin: 0 10px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 2rem;
    }

    .intro h2, .about h2, .resource h1, .resource h2 {
        font-size: 2rem;
    }

    .exercise, .resource {
        padding: 2rem;
        margin: 40px auto;
        max-width: 80%;
    }

    .content-container {
        padding: 2rem;
        margin: 40px auto;
        max-width: 80%;
    }
    .language-switch {
        margin-right: 10px;
    }

    .flag-icon {
        width: 18px;
    }
}

@media (min-width: 1024px) {
    body {
        padding: 0 2rem;
    }

    .hero {
        padding: 120px 20px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero p {
        font-size: 2.5rem;
    }

    .intro h2, .about h2, .resource h1, .resource h2 {
        font-size: 2.5rem;
    }

    .exercise, .resource {
        padding: 3rem;
        max-width: 60%;
    }

    .content-container {
        padding: 3rem;
        max-width: 60%;
    }
}

.team {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

.member {
    flex: 1 1 45%;
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.member h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.member p {
    margin-bottom: 15px;
}

/* .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
} */

/* 
.hero h1 {
    font-family: 'Lobster', cursive;
    font-size: 48px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
} */

/* .focusing-list {
    list-style-type: disc;
    margin: 20px 0;
    padding-left: 40px;
    color: #333;
}

.image-container {
    text-align: center;
    margin-top: 20px;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
} */

.focusing-list {
    list-style-type: none; /* Remove default bullet */
    padding-left: 40px;
}

.focusing-list li {
    position: relative;
    padding-left: 25px;
}

.focusing-list li:before {
    content: '\f06c'; /* Unicode for the leaf icon in Font Awesome */
    font-family: 'Font Awesome 5 Free'; /* Ensure the icon font is applied */
    font-weight: 900;
    color: #1e6603; /* Leaf color */
    position: absolute;
    left: 0;
    top: 0;
}

.fa-leaf {
    color: #1e6603; /* Change leaf color */
    margin-right: 5px; /* Add space between leaves */
    font-size: 12px; /* Adjust the size of the leaves */
}

p a {
    text-decoration: none; /* Remove underline from the link */
    font-weight: bold; /* Make text bold */
    color: #333; /* Adjust text color */
}

p a:hover {
    color: #1e6603; /* Change text color on hover */
}

.circular-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    border: 3px solid #1e6603; /* Adjust border color to match your theme */
}

.logo-container {
    text-align: center;
    margin: 20px 0;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-switch {
    display: flex;
    align-items: center;
    margin-right: 20px;  /* Adjust for spacing */
}

.language-switch a {
    margin-left: 10px;
}

.flag-icon {
    width: 24px;   /* Adjust the size of the flag icons */
    height: auto;
    border-radius: 3px;
}

.flag-icon:hover {
    opacity: 0.8;  /* Add a hover effect if desired */
}

.contact-form {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-form input[type="submit"] {
    background-color: #1e6603;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

.contact-form input[type="submit"]:hover {
    background-color: #145502;
}

/* Ordered list (ol) styling */
ol.focusing-list {
    list-style-type: decimal; /* Use numbers for the ordered list */
    margin: 20px 0;
    padding-left: 40px; /* Adjust indentation for ordered list */
    color: #333;
}

/* Styling for the list items within the ordered list */
ol.focusing-list > li {
    margin-bottom: 10px;
    font-weight: bold;
}

/* Nested unordered list (ul) styling within the ordered list */
ol.focusing-list ul {
    list-style-type: none; /* Remove bullets from the unordered list */
    margin-left: 20px; /* Indent the nested list to create a hierarchical look */
    padding-left: 0; /* Remove additional padding for a cleaner look */
}

/* List items within the unordered list */
ol.focusing-list ul li {
    font-weight: normal; /* Ensure that the nested list items are visually distinct from main list items */
    padding-left: 20px; /* Add some padding to visually offset the nested items */
}
