/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #333;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Header */
header {
    background: #f4f4f4;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}

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

header h1 {
    font-size: 2rem;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* Main Content */
main section {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.service-box {
    text-align: center;
    padding: 2rem;
    border: 1px solid #eee;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.service-box h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

table {
    width: 80%;
    border-collapse: collapse;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    font-size: 16px;
    caption-side: bottom;
}

/* Styles for table header cells */
th {
    background-color: #dddddd;
    color: black;
    padding: 12px 15px;
    text-align: center;
    font-size: 24px;
    font-weight: 420;
}

/* Styles for table data cells */
td {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    text-align: center;
    font-size: 20px;
}

/* Zebra striping for table rows (alternating background colors) */
tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Hover effect for table rows */
tr:hover {
    background-color: #f9f9f9;
}

/* Styles for the table caption */
caption {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 10px;
    color: #333;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    background: #333;
    color: #fff;
}

footer p {
    margin: 0;
}

/* ... other styles ... */

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem; /* Increased margin to give space to the columns */
    text-align: center;
}

/* ... other styles ... */


/* ---- NEW CSS FOR ABOUT US SECTION ---- */
.about-content {
    display: flex;
    align-items: center; /* Vertically aligns the content in the columns */
    gap: 2rem; /* Creates a nice space between the image and the text */
}

.about-image,
.about-text {
    flex: 1; /* This makes each column take up equal space */
}

.about-image img {
    width: 100%; /* Makes the image responsive within its column */
    height: auto; /* Maintains the image's aspect ratio */
    border-radius: 8px; /* Optional: Adds slightly rounded corners to the image */
}
/* ---- END OF NEW CSS ---- */


/* ... in the Responsive Design for Mobile section ... */
@media (max-width: 768px) {
    /* ... other responsive styles ... */
    
    /* ---- NEW RESPONSIVE RULE FOR ABOUT US SECTION ---- */
    .about-content {
        flex-direction: column; /* Stacks the columns on top of each other */
        text-align: center; /* Center the text for a better look on mobile */
    }
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header h1 {
        margin-bottom: 1rem;
    }

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

    h2 {
        font-size: 2rem;
    }

    main section {
        padding: 2rem 0;
    }
}