:root {
  --primary-color: #1a365d;
  --accent-color: #2b6cb0;
  --text-color: #2d3748;
  --bg-color: #f7fafc;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 1rem 0;
}

header h1 {
  margin: 0 0 10px 0;
  font-size: 1.8rem;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
}

nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: bold;
}

nav a.active, nav a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Slider Styles */
.carousel-container {
  position: relative;
  max-width: 100%;
  height: 600px;
  margin: 20px 0;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.carousel-slide img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: none;
}

.carousel-slide img.active {
  display: block;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 3px;
}

.next { right: 10px; }
.prev { left: 10px; }
.prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.8); }

/* Content & Table Styles */
.contact-box {
  background: #edf2f7;
  padding: 15px;
  border-left: 4px solid var(--accent-color);
  margin-top: 20px;
}

/* Directory Table Styles */
.directory-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.directory-table th, 
.directory-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #e2e8f0;
}

.directory-table th {
  background-color: var(--primary-color);
  color: #ffffff;
  font-weight: 600;
}

/* 1. Alternating Row Color (Zebra Striping) */
.directory-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.directory-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/* 2. Hover Effect */
.directory-table tbody tr {
  transition: background-color 0.15s ease-in-out;
}

.directory-table tbody tr:hover {
  background-color: #e2e8f0; /* Changes background color on hover */
}

/* 3. Logo Column & Sizing */
.logo-col {
  width: 60px;
  text-align: center;
}

.society-logo {
  max-width: 120px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

footer {
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.9rem;
}