/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f2f2f2;
  color: #333;
}

.container {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0;
  width: 100%;
  margin: 0 auto 0 0;
  align-items: stretch;
}

/* Sidebar */
.sidebar {
  flex: 0 0 30%;
  background: linear-gradient(#d3ae5a, #fff8dc);
  padding: 15px;
  border-radius: 6px;
  height: 100%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar ul li a {
  display: block;
  padding: 10px;
  background-color: #5c544b;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  transition: background 0.3s;
}

.sidebar ul li a:hover {
  background-color: #333;
}

/* Main Content */
.main-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
}

/* Leaders Section */
.leaders {
  flex: 1;
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  background: #fff;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.leader {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.leader:hover {
  transform: translateY(-5px);
}

.leader img {
  width: 100%;
  height: 300px;
  border-radius: 4px;
  margin-bottom: 10px;
  object-fit: cover;
}

/* Right Panel */
.right-panel {
  flex: 1 1 25%;
  margin-left: 15px;
}

.widget {
  background-color: white;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.1);
}

.widget h3 {
  color: #c9302c;
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.widget ul {
  list-style-type: none;
}

.widget ul li {
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
  border-bottom: none;
}

/* Top Strip */
.top-strip {
  background: #eee;
  padding: 5px 15px;
  font-size: 14px;
  overflow: hidden;
}

.top-strip .top-links {
  float: right;
}

.top-strip .top-links a {
  margin-left: 10px;
  text-decoration: none;
  color: #333;
}

/* Site Header */
.site-header {
  background: #fff;
  border-bottom: 2px solid crimson;
  padding: 15px 20px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 60px;
  margin-right: 15px;
}

.logo-container h1 {
  font-size: 22px;
  margin: 0;
}

.logo-container span {
  color: orange;
}

/* Navigation */
.main-nav {
  background: crimson;
  padding: 10px 20px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.main-nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.main-nav ul li a:hover {
  text-decoration: underline;
}

/* Marquee */
.marquee {
  background: #004080;
  color: white;
  padding: 10px;
  font-weight: bold;
  font-size: 16px;
  margin-top: -8px;
}

/* Hero Section */
.hero {
  width: 100%;
  height: 90%;
  max-height: 500px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 9px;
}

.hero img {
  width: 100%;
  height: 90%;
  object-fit: cover;
  display: block;
}

/* Horizontal Tiles */
.horizontal-tiles {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
}

.tile {
  min-width: 170px;
  flex-shrink: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.tile:hover {
  transform: scale(1.03);
}

.tile img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.tile-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
}

/* Info Section: Sidebar + Leaders */
.info-section {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-top: 20px;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .container {
    flex-direction: column;
  }

  .sidebar,
  .main-content,
  .right-panel {
    margin: 0 0 20px 0;
    width: 100%;
  }

  .info-section {
    flex-direction: column;
  }

  .leaders {
    flex-direction: column;
    align-items: center;
  }

  .leader {
    width: 100%;
    margin-bottom: 15px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .tile {
    min-width: 80%;
  }

  .logo-container h1 {
    font-size: 18px;
  }

  .marquee {
    font-size: 14px;
    padding: 8px;
  }
}
