/* Reset some defaults */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Header styling with company logo */
header {
  /* White background with subtle border so that the dark logo stands out */
  background-color: #ffffff;
  padding: 16px;
  text-align: center;
  color: #000;
  border-bottom: 2px solid #e0e0e0;
}

/* Logo image sizing */
header .logo-img{max-height:64px;height:auto;display:block;margin:0 auto;}

/* Hero section */
.hero {
  position: relative;
  width: 100%;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

/* Dark overlay for hero to improve text contrast */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 16px;
}

/* Card grid for category sections */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: transform 0.2s ease-in-out;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
}

.card-content h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.card-content p {
  font-size: 14px;
  color: #555;
}
header h1 {
  font-size: 40px;
}

/* Navigation bar styling */
.navbar {
  overflow: hidden;
  background-color: #333;
}

.navbar a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
}

.navbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Layout (main and side columns) */
.row {
  display: flex;
  flex-wrap: wrap;
}

.side {
  flex: 30%;
  background-color: #f1f1f1;
  padding: 16px;
}

.main {
  flex: 70%;
  background-color: white;
  padding: 16px;
}

/* Footer */
footer {
  padding: 16px;
  text-align: center;
  background: #ddd;
  margin-top: 20px;
}

/* Responsive layout */
@media screen and (max-width: 700px) {
  .row {
    flex-direction: column;
  }
}

@media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width: 100%;
  }
}

/* Paragraph spacing */
/* Paragraph styling: increase spacing for better readability */
p {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.9;
}

/* Image gallery styling */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 40px 0;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  height: 200px;
  transition: transform 0.2s ease-in-out;
}

.gallery img:hover {
  transform: scale(1.05);
}


/* === Uniform typography overrides === */
html, body { line-height: 1.9; }
p, li, td, th, dd { line-height: 1.9 !important; }
p { margin: 0 0 1rem 0; }
h1, h2, h3, h4 { margin-top: 1.25rem; margin-bottom: 0.5rem; }
ul, ol { margin: 0 0 1rem 1.25rem; padding-left: 1.25rem; }
table { border-collapse: collapse; }


.site-header{background:#ffffff;}
