/* General Reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    overflow: hidden; /* prevent body from scrolling behind fixed elements */
}

/* Container wraps page */
.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
	width: 1500px;
	margin: 0 auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 90px; /* ~75px half-logo + 15px whitespace buffer */
    left: 0;
    right: 0;
    background-color: #0CF;
    height: 70px; /* fixed bar height */
	width: 1500px;
	margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

/* Menu sections */
.menu {
    display: flex;
    gap: 10px;
}

/* Links styled as buttons */
.menu a {
    padding: 14px 16px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    background-color: #09F;
    transition: background 0.3s;
}

.menu a:hover {
    background-color: #0FF;
}

/* Centered logo */
.navbar-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #0CF;
    border-radius: 50%;
    height: 150px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.navbar-logo img {
    border-radius: 50%;
    object-fit: cover;
}

/* Content confined scroll area */
.content {
    flex: 1;
    margin-top: calc(70px + 90px); /* navbar height + offset for logo clearance */
    margin-bottom: 60px; /* footer height buffer */
    padding: 20px;
    overflow-y: auto; 
    box-sizing: border-box;
	min-height: 0;
	height: calc(100vh - (70px + 90px) - 60px);
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0CF;
    color: white;
    text-align: center;
    padding: 10px 0;
    z-index: 1000;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 40px;
	width: 1500px;
	margin: 0 auto;
}

footer a {
    color: white;
    text-decoration: none;
    margin-left: 10px;
}

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

#services
{
	display:block;
	width: 1000px;
	margin: 0 auto;
	border: 2px black solid;
	border-radius: 15px;
	overflow:hidden;
}

#serviceList
{
	display:block;
	width: 1000px;
	margin: 0 auto;
	border-bottom: 2px black solid;
	overflow:hidden;
}

#serviceList2
{
	display:block;
	width: 1000px;
	margin: 0 auto;
}

#serviceList table
{
	border-collapse: collapse;
}

#serviceList table th
{
	padding: 2px;
	font-size: 14pt;
	font-weight: bold;
	background-color: #B1B1B1;
}

#serviceList2 table
{
	border-collapse: collapse;
}

#serviceList2 table td
{
	padding: 5px;
}

.dark
{
	background-color:#CCC;
}

.light
{
	background-color: #F1F1F1;
}

form table {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
}

form td {
  padding: 8px;
  vertical-align: top;
}

form label {
  font-weight: bold;
  color: #000;
}

form input, form select, form textarea {
  width: 100%;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  background-color: #0CF;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

form button:hover {
  background-color: #0099cc;
}

.required {
  color: red;
  margin-left: 3px;
}

.error {
  color: #a00;
  font-weight: bold;
  margin: 5px auto;
  max-width: 600px;
}

/* ==========================
   Email Template Styling
   ========================== */
.email-wrapper {
  background: #f5f5f5;
  padding: 20px;
  font-family: Arial, sans-serif;
  color: #333;
}

.email-container {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ddd;
}

.email-header {
  background-color: #0CF;
  padding: 20px;
  text-align: center;
}

.email-header img {
  max-height: 60px;
}

.email-body {
  padding: 20px;
  line-height: 1.5;
}

.email-body h1 {
  color: #0CF;
  font-size: 20px;
  margin-bottom: 15px;
}

.email-footer {
  background: #f1f1f1;
  text-align: center;
  padding: 15px;
  font-size: 12px;
  color: #555;
}