/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Flexbox layout on body ensures footer stays at the bottom */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Forces body to take full screen height */

  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  
}

/* Header - Light Palette */
header {
  /* background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02); */
  padding: 0.8rem 1.6rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

/* Footer - Light Palette */
footer {
  display: flex;
  /* align-items: center;
  text-align: center; */
  padding: 0.8rem;
  background-color: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.9rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
  flex-wrap: wrap-reverse;
}

footer h1 {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-content {
  width: 100%;
}

.footer-info {
    padding-left: 1rem;
    padding-right: 2rem;
    min-width: 300px;
    margin-top: 0.8rem;
    /* max-width: 33%; */
}

.footer-group {
  display: flex;
  flex-wrap: wrap;
}

.footer-company,
.footer-events,
.footer-connect {
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer-company ul, 
.footer-events ul,
.footer-connect ul {
  list-style: none;
  margin-left: 0px;
}



.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container img {
  height: 35px;
  width: auto;
}

.logo-container h1 {
  font-size: 1rem;
  color: #0369a1; /* Darker blue for visibility on light bg */
}

.logo-container h2 {
    font-size: 0.8rem;
    color: black;
}

nav ul {
  list-style: none;
  margin-left: 2.0rem;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: #475569; /* Slate grey for text legibility */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #0284c7; /* Vibrant blue accent */
}

/* Main Content Layout */
main {
  flex: 1;  /* Pushes the footer down when page content is short */
  width: 100%;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  /*
  max-width: 50%;
  margin: 2rem auto;
  padding: 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); */
}

.homepage-layout {
  font-size: 1rem;;
}

.main-title {
  width: 100%;
  text-align: center;
  font-size: 36px;
  letter-spacing: 1px;
  line-height: 1;
  padding-bottom: 1rem;
}

.main-detail {
  width: 48%;
  text-align: center;
}

.main-content {
  width: 48%;
}

.main-content h1 {
    font-family: Tahoma;
    font-size: 2rem;
    line-height: 1.2;
    padding-top: 5rem;
    /* padding-bottom: 2rem; */
    margin-bottom: 1.5rem;
}

.main-content p {
}

.centre {
  text-align: center;
}

h2 {
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 1rem;
}

.clear a {
  padding: 0px;
  margin: inherit;
  border: 0px;
  border-radius: 0px;
  text-decoration: underline;
}

/* Forms & Cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  border-radius: 6px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin-top: 1rem;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button {
  background-color: #0284c7;
  color: white;
  font-weight: bold;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #0369a1;
}

@media screen and (min-width: 768px) {

}

@media screen and (max-width: 450px) {
  .logo-container {
    display: none;
  }

}