/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: #333;
    background-color: #f9f9f9;
    scroll-behavior: smooth;
}
  
/* Header */
header {
    background: black;
    color: #ffcd58;
    text-align: center; /* Center align header */
    padding: 50px 20px;
    box-shadow: 0 4px 6px rgba(184, 40, 40, 0.1);
}

header h2 {
    color: white;
}

header h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center; /* Center align header title */
}
  
header p {
    font-size: 1.2em;
    font-weight: 300;
    margin-bottom: 0;
    color: #b330cd;
}
  
/* Navigation */
nav {
    display: flex;
    justify-content: space-around; /* Ensure items are evenly spaced */
    background-color: rgb(151, 149, 149);
    padding: 15px 10%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1.2em;
    flex-wrap: wrap; /* Allow wrapping for small screens */
}
  
nav a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 15px; /* Adjust padding for flexible width */
    font-size: 1.2em;
    margin: 0 5px; /* Reduce margin for more space */
    transition: background-color 0.3s ease, transform 0.2s ease;
    border-radius: 5px;
}
  
nav a:hover {
    background-color: #0509367e;
    transform: scale(1.14); /* Slight zoom effect on hover */
}
  
/* Sections */
section {
    padding: 10px 10%;
    text-align: left;
}

section h2 {
    color: rgb(222, 115, 38);
    font-weight: 900;
    text-decoration: underline;
    margin-left: 20%;
    padding-left: 10%;
    text-align: left;
}

section ul, section p {
    margin-left: 5%;
    padding-left: 5%;
    text-align: left;
    color: black;
}
  
section:nth-child(odd) {
    background-color: #ece8edcb;
    color: rgb(6, 6, 6);
}
  
section:nth-child(even) {
    background-color: #ece8edcb;
    color: white;
}
  
p, ul {
    font-size: 1.1em;
    line-height: 1.6;
    margin: 20px auto;
    max-width: 900px;
    justify-content: left;
    margin-left: 40px;
}
  
ul {
    list-style: none;
    padding: 0;
}
  
ul li strong {
    color: #b62a5b;
}
  
/* Footer */
footer {
    background: #ece8edcb;
    color: #838080;
    text-align: center;
    padding: 20px;
}
  
footer a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
}
  
footer a:hover {
    text-decoration: underline;
}
  
th, td {
    border: 1px solid rgb(52, 50, 51);
    padding: 8px 10px;
}

th[scope='col'] {
    background-color: #ddb31b;
    color: #fff;
}

th[scope='row'] {
    background-color: #a375cb;
}

td {
    text-align: left;
}

tr:nth-of-type(even) {
    background-color: rgb(106, 104, 105);
    color: white;
}

table {
    border-collapse: collapse;
    font-size: 0.9em;
    letter-spacing: 1px;
    margin-left: 10%;
    padding-left: 10%;
    text-align: left;
    color: black;
}
  
/* Button styling starts here */
.button {
    display: inline-block;
    padding: 10px 20px; /* Controls the height and width of the button */
    background-color: #ece8edcb; /* Button background color */
    color: rgb(145, 95, 20); /* Text color */
    text-decoration: none; /* Removes underline from links */
    font-size: 16px; /* Text size */
    font-weight: bold; /* Makes the text bold */
    border: none; /* Removes any default border */
    border-radius: 50px; /* Makes the left and right edges circular */
    text-align: center; /* Centers the text */
    cursor: pointer; /* Changes the cursor to a pointer */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover effect */
    margin-left: 60%;
    border: 1px solid rgb(228, 116, 25);
}

.button:hover {
    background-color: rgb(237, 220, 206);
    color: rgb(205, 102, 29);
}

.button-website {
    display: inline-block;
    background-color: #ece8edcb; /* Button background color */
    color: rgb(145, 95, 20); /* Text color */
    text-decoration: none; /* Removes underline from links */
    font-size: 16px; /* Text size */
    font-weight: bold; /* Makes the text bold */
    border: none; /* Removes any default border */
    border-radius: 30px; /* Makes the left and right edges circular */
    text-align: center; /* Centers the text */
    cursor: pointer; /* Changes the cursor to a pointer */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover effect */
    margin-left: 10%;
    margin-top: 20px;
    margin-bottom: 5px;
    width: 300px;
    border: 1px solid rgb(228, 116, 25);
    padding: 10px 80px; /* Controls the vertical and horizontal spacing */
}

.button-website:hover {
    background-color: rgb(237, 220, 206);
    color: rgb(205, 102, 29);
}

/* Email link styling */
.email-link {
    text-decoration: none;
    font-weight: bold;
    margin-left: 20%;
    padding-left: 5%;
    text-align: left;
    color: #005bb5;
}
    
.email-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2em;
        margin-left: 0;
        padding-left: 0;
        text-align: center;
    }

    nav {
        flex-direction: row; /* Maintain row layout until wrapping */
        padding: 10px 5%;
        justify-content: space-between; /* Distribute items evenly */
    }

    nav a {
        font-size: 1em;
        padding: 8px 15px;
        margin: 5px 0;
        text-align: center;
    }

    section {
        padding: 10px 10%; /* Maintain padding as original */
    }

    .button, .button-website {
        margin-left: 0;
        width: auto; /* Adjust width for smaller screens */
        padding: 10px 20px;
    }

    table {
        margin-left: 0;
        padding-left: 0;
        width: 100%; /* Ensure table fits within smaller screens */
    }

    th, td {
        font-size: 0.8em; /* Reduce font size for better fit */
    }

    p, ul {
        font-size: 1em;
        margin-left: 0;
        padding-left: 0;
    }
}
