/* GLOBAL RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: #f3f6fb;
  color: #2c3e50;
  line-height: 1.5;
}

/* NEW CODE - ADDED 05-11-2026 */

body {
  padding-bottom: 80px; /* space for footer */
}








/* HEADER */
header .top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1b2838;
  color: #fff;
  padding: 12px 20px;
  flex-wrap: wrap;
}

.site-title {
  font-size: 26px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.main-nav a {
  color: #ecf0f1;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
}

.main-nav a:hover {
  background: #2c3e50;
}

.username-display {
  font-size: 12px;
  margin-left: 10px;
}

/* MAIN WRAPPER */
main {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 15px 40px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #1b2838, #2c3e50);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  border-radius: 8px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  margin: 5px;
  display: inline-block;
  font-weight: 600;
}

.btn-primary {
  background: #27ae60;
  color: #fff;
}

.btn-secondary {
  background: #34495e;
  color: #fff;
}

.btn-primary:hover {
  background: #219150;
}

.btn-secondary:hover {
  background: #2c3e50;
}

/* FEATURE CARDS */
.features {
  margin: 60px 0;
  text-align: center;
}

.features h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.icon {
  font-size: 40px;
  margin-bottom: 10px;
}

/* WHY JOIN */
.why-join {
  margin: 60px 0;
  text-align: center;
}

.why-join h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.why-card {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* COMMUNITY PREVIEW */
.community-preview {
  margin: 60px 0;
  text-align: center;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.preview-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.preview-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.no-picture-box {
  width: 200px;
  height: 200px;
  border-radius: 6px;
  border: 1px dashed #999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
}

/* WELCOME BANNER (HOME PAGE 2) */
.welcome-banner {
  background: #ecf0f1;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.welcome-banner h2 {
  margin-bottom: 6px;
}

/* QUICK ACTIONS */
.quick-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.qa-card {
  background: #fff;
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  text-decoration: none;
  color: #2c3e50;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.qa-card:hover {
  transform: translateY(-3px);
}

/* SEARCH FORM */
.search-form {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.search-form label {
  font-size: 14px;
}

.search-form input,
.search-form select {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border-radius: 4px;
  border: 1px solid #ccd1d9;
}

/* COMMUNITY FEED */
.community-feed h2 {
  margin-bottom: 15px;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.profile-card {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.profile-card:hover {
  transform: translateY(-4px);
}

.profile-picture img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.profile-info {
  margin-top: 10px;
}

.profile-info .screen-name {
  font-weight: 600;
}

.profile-info .location {
  font-size: 13px;
  color: #7f8c8d;
}

.profile-info .intro {
  font-size: 13px;
  margin-top: 4px;
}

/* FOOTER */


/*  OLD FOOTER CODE  */

/*
footer {
  background: #1b2838;
  color: #ecf0f1;
  padding: 15px 20px;
  margin-top: 40px;
 
}
*/

/* NEW FOOTER CODE - 05-11-2026 */

footer {
  background: #1b2838;
  color: #ecf0f1;
  padding: 15px 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}









.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-nav a {
  color: #ecf0f1;
  text-decoration: none;
  font-size: 13px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* BADGE (UNREAD MESSAGES) */
.badge {
  background: #e74c3c;
  color: #fff;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 11px;
  margin-left: 4px;
}

/* MOBILE */
@media (max-width: 600px) {
  header .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }
}
