/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    position: sticky;
    top: 0;
    background-color: #00A859; /* Green from South African flag */
    color: white;
    width: 100%;
    z-index: 1000;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px; /* Increased height for larger logo */
    margin-right: 10px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #FFB81C; /* Yellow from South African flag */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    text-align: center;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #FFB81C;
}

main {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.description, .service-detail {
    margin-bottom: 20px;
}

.service-list, .service-detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service {
    border: 1px solid #333;
    padding: 10px;
    margin: 0 auto 20px auto;
    width: 90%;
    max-width: 300px;
    text-align: center;
}

.service img {
    max-width: 100%;
    height: auto;
}

footer {
    background-color: #003DA5; /* Blue from South African flag */
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: auto;
}

.content-description {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.content-description h2 {
    margin-bottom: 20px;
}

.content-description p, .content-description ul {
    text-align: left;
    margin: 0 auto 20px;
    max-width: 700px;
}

.content-description ul {
    list-style-type: none;
    padding: 0;
}

.content-description ul li {
    margin-bottom: 10px;
}

.service-detail {
    text-align: center;
}

.service-detail h2 {
    margin-bottom: 20px;
}

.service-detail .service {
    display: inline-block;
    border: 1px solid #333;
    padding: 10px;
    margin: 10px;
    width: 90%;
    max-width: 300px;
    text-align: center;
    vertical-align: top;
}

.service-detail .service img {
    max-width: 100%;
    height: auto;
}

/* Pay Now Button Styles */
.pay-now-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    color: white;
    background-color: #00A859; /* Green color */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pay-now-button:hover {
    background-color: #007a4b; /* Darker green on hover */
}

@media (min-width: 768px) {
    .service-detail .service {
        width: calc(33.333% - 20px); /* Three boxes per row with spacing */
    }
}

@media (max-width: 600px) {
    .service {
        width: 90%;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }
}

/* Contact Us Page Styles */
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info, .contact-form {
    max-width: 500px;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.contact-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form label {
    margin-bottom: 5px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form input[type="submit"] {
    width: auto;
    background-color: #00A859; /* Green color */
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.contact-form input[type="submit"]:hover {
    background-color: #007a4b; /* Darker green on hover */
}

/* Terms and Privacy Buttons */
.terms-privacy-buttons {
    text-align: center;
    margin-top: 20px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 5px;
    color: white;
    background-color: #003DA5; /* Blue color */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
}

.button:hover {
    background-color: #002f84; /* Darker blue on hover */
}

