/* Reset and base styles */
body, html {
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
  height: 100%;
  font-family: Arial, sans-serif;
}

/* Header styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px; /*80*/
  padding: 10px 10px;
  z-index: 1000;
  display: flex;
  color: #fff;
  background-color: #2e3c6d;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Positioning logos in each section */
.logo-container {
  display: flex;
  align-items: center;
  margin: 0; /* Remove margin to align with the overlay */
  padding: 0; /* Ensure no padding affects positioning */
}

/* Logo styles */
.logo-container img {
  height: 150px;
  margin-right: 0; /*10px;*/
/*  margin-right: 10px;
  margin-left: -20px;
*/margin: 0; /* Remove margin to align with the overlay */
}
/* Correctly position the logo overlay */
.logo-overlay {
  position: absolute;
  top: 0px;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 0; /* Ensure padding is zero */
  box-sizing: border-box;
  margin: 0; /* Remove any potential margin causing misalignment */
}

/* Adjust logo sizes to fit within the section */
.logo-overlay img {
  height: 150px;
  margin-right: 10px;
  margin-left: -20px;
  /*margin: 0; /* Remove margin for consistent alignment */
}
/* Add a clearfix if needed to handle layout issues */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Main content styles */
.main {
  padding-top: 80px; /*80*/
  padding-bottom: 40px;
  height: calc(100% - 120px);
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* Style for full-height sections */
.full-height {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.content {
  width: 60vw;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  padding-top: 70px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  min-height: 100vh;
  box-sizing: border-box;
  background: white;
}

/* Ensure the container takes up the desired width */
.a-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns of equal width */
  grid-template-rows: repeat(2, auto);  /* 2 rows, adjust height automatically */
  padding: 5px; /* Optional: space inside the container */
  gap: 10px; /* Optional: space between grid items */
}

.grid-item {
  background-color: #f0f0f0; /* Optional: background color for visibility */
  border: 1px solid #ddd; /* Optional: border for visibility */
  padding: 5px; /* Optional: padding inside the grid items */
  text-align: left; /* Center text inside the grid items */
}

.g-container {
  background-color: #f0f0f0;
  max-width: 700px;
  flex: 1 0 auto;
  margin: 0 auto;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #2e3c6d;
}

h3 {
  text-align: left;
  color: #2e3c6d;
}

p {
  padding: 10px;
  text-align: justify;
}

pl {
  padding: 10px;
  text-align: left;
}

.w-container {
  flex: 1 0 auto;
  background-color: #fff;
  max-width: 640px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

.table {
  display: table;
  width: 100%;
  text-align: center;
}

.rowimg {
  display: table-row;
}

.cell {
  display: table-cell;
  vertical-align: middle;
  padding: 10px;
}

.image-container {
    text-align: center;
}

.image-container {
    text-align: center;
}

.circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ccc;
}

.circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.center-image {
  display: block;
  margin: 0 auto;
}
.caption {
  margin-top: 10px;
}

#Contact .g-container {
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#Contact form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

#Contact label {
  margin-bottom: 5px;
  font-weight: bold;
}

#Contact input[type="text"],
#Contact input[type="email"],
#Contact textarea {
  width: 95%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#Contact button {
  align-self: flex-start;
  padding: 10px 20px;
  background-color: #2e3c6d;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

#Contact button:hover {
  background-color: #1b2a4b;
}

#Contact .w-container {
  text-align: center;
}

#Contact .w-container p {
  margin: 10px 0; 
}

#Contact .w-container a {
  color: #2e3c6d;
  text-decoration: none;
  margin: 0 10px;
  font-size: 16px;
}

#Contact .w-container a:hover {
  color: lightgray;
}

#message {
  margin-top: 10px;
}

#form-message {
  display: inline-block; /* Ensure it stays inline with the button */
  margin-left: 15px;
  vertical-align: middle;
  color: red; /* Default color for error */
  font-size: 16px;
}

/* Responsive styles for general layout */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .content {
    width: 90vw;
    max-width: none;
  }
}

