* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #333333;
  font-size: 0.85rem;
}
/* Ensure header is always on top */


.header-bar {
  background: #eeeeee;
  color: #333333;
  padding: 10px 12px;
  font-size: 0.85rem;
  text-align: center;
  border-bottom: 1px solid #ccc;
  position: relative; /* relative or fixed if sticky header needed */
  z-index: 1000;  
}

section {
  padding: 14px;
  margin: 12px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

h2 {
  font-size: 1rem;
  background: #eeeeee;
  color: #333333;
  padding: 8px;
  border-left: 4px solid #999;
  margin-bottom: 10px;
  border-radius: 4px;
}

#startupPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

#popupContent {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#popupContent img {
    display: block;
    margin: 0 auto 15px auto;
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

#popupContent button {
    background: #0078ff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

#popupContent button:hover {
    background: #005fcc;
}
.slider {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  border-radius: 0px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slider img.active {
  opacity: 1;
  z-index: 2;
}
.weather-right,
.weather-text,
#weatherData {
    position: static; 
    z-index: auto; /* above slider */
}
.weather-right {
  text-align: right;
  font-size: 0.8rem;
  
}

.weather-text {
  color: #ffffff;
  font-weight: 500;
  background-color: #1285b3;
  padding: 5px;
  border-radius: 6px;
  
}

.birthday-row {
  display: flex;
  overflow-x: auto;
  gap: 10px;
}

.birthday-section {
  background: #ffffff;
  padding: 12px;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  max-height: 220px;
  overflow: hidden;
}

.birthday-scroll {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.birthday-scroll-content {
  display: flex;
  flex-direction: column;
  animation: birthdayScrollUp 18s linear infinite;
}

@keyframes birthdayScrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

.birthday-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.birthday-left img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0d6efd;
}

.birthday-center {
  flex: 1;
  margin-left: 12px;
  font-size: 0.85rem;
  color: #333;
}

.birthday-right {
  text-align: right;
  font-size: 0.8rem;
}

.wish-text {
  color: #0d6efd;
  font-weight: 500;
}

.list-item {
  margin-bottom: 6px;
  line-height: 1.5;
}

input, textarea, select {
  width: 100%;
  padding: 8px;
  margin: 6px 0;
  border-radius: 5px;
  background: #ffffff;
  border: 1px solid #ccc;
  color: #333333;
  font-size: 0.85rem;
}

button {
  width: 100%;
  padding: 10px;
  background: #dddddd;
  color: #333333;
  font-weight: bold;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 6px;
}

button:hover {
  background: #cccccc;
}

ul li {
  margin: 6px 0;
}

.info-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #ffffff;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  margin-bottom: 12px;
}

.info-left h3 {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 6px;
}

.info-left p {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
  margin: 2px 0;
}

.info-right button {
  background-color: #0d6efd;
  color: white;
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
}

.info-right button:hover {
  background-color: #084298;
}

.poll-option {
  display: flex;
  align-items: center;
  margin: 6px 0;
  gap: 10px;
}

.poll-option input {
  margin: 0;
  width: auto;
}

.poll-results ul {
  margin-top: 10px;
  padding-left: 16px;
  list-style: none;
}

.poll-results li {
  margin-bottom: 6px;
  padding: 6px 8px;
  background: #f4f4f4;
  border-radius: 4px;
  border-left: 4px solid #999;
}

.latest-updates {
  background: #ffffff;
  margin: 10px;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  max-height: 200px;
  overflow: hidden;
  position: relative;
}

.scroll-container {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.scroll-content {
  display: flex;
  flex-direction: column;
  animation: scrollUp 20s linear infinite;
}

@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

.job-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.job-header h3 {
  font-size: 1rem;
  color: #444;
  margin: 0;
}

.job-company {
  font-size: 0.85rem;
  color: #888;
}

.job-details p {
  font-size: 0.8rem;
  margin: 2px 0;
  color: #555;
}

.job-actions {
  margin-top: 8px;
  text-align: right;
}

.job-actions button {
  background-color: #0d6efd;
  color: white;
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
}

.job-actions button:hover {
  background-color: #084298;
}

.update-item {
  padding: 8px;
  background: #f9f9f9;
  border-left: 3px solid #0d6efd;
  border-radius: 5px;
  margin-bottom: 10px;
  font-size: 0.82rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.hotel-list, .event-list, .school-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-badge {
  border: 1px solid #0d6efd;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f9fbff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.event-badge.today {
  border-color: #28a745;
  background: #e8f6ed;
}

.event-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.event-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0d6efd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-date {
  font-size: 0.85rem;
  color: #333;
}

.event-address {
  font-size: 0.8rem;
  color: #666;
}

.event-tag {
  background: #d6eaff;
  color: #0d6efd;
  padding: 2px 6px;
  font-size: 0.7rem;
  border-radius: 4px;
  margin-left: 6px;
}

.today-label {
  background: #28a745;
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}

.join-btn {
  margin-top: 6px;
  align-self: flex-start;
  background: #0d6efd;
  color: white;
  padding: 6px 12px;
  font-size: 0.75rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.join-btn:hover {
  background: #084298;
}

.star-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-left: 4px solid #28a745;
  padding: 12px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 12px;
}

.star-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 16px;
  border: 2px solid #28a745;
}

.star-info h3 {
  font-size: 1rem;
  margin: 0;
  color: #333;
}

.star-info p {
  font-size: 0.85rem;
  color: #444;
  margin: 4px 0;
}

.star-info small {
  font-size: 0.75rem;
  color: #888;
}

.hotel-card, .school-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-left: 4px solid #0d6efd;
  padding: 10px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  gap: 12px;
  flex-wrap: wrap;
}

.school-card {
  border-left-color: #198754;
}

.hotel-info, .school-info {
  flex: 1;
  font-size: 0.82rem;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hotel-info a, .school-info a {
  color: #0d6efd;
  text-decoration: none;
  font-size: 0.78rem;
}

.school-info a {
  color: #198754;
}

.hotel-info a:hover, .school-info a:hover {
  text-decoration: underline;
}

.hotel-image img, .school-image img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

@media (max-width: 600px) {
  .hotel-card, .school-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .hotel-image img, .school-image img {
    width: 100%;
    height: auto;
  }
}

.stars {
  font-size: 1rem;
  letter-spacing: 1px;
}

.star {
  color: #aaa;
}

.star.filled {
  color: #198754;
}
.site-footer {
  background-color: #f8f9fa;
  color: #444;
  padding: 20px 12px;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid #ccc;
  box-shadow: 0 -1px 4px rgba(0,0,0,0.04);
  margin-top: 40px;
}

.site-footer a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 600px) {
  .site-footer {
    font-size: 0.8rem;
    padding: 16px 10px;
  }
}
  /* General button styling */
  .auction-btn {
      padding: 10px 20px;
      font-size: 16px;
      font-weight: 600;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease-in-out;
      text-align: center;
      display: inline-block;
      text-decoration: none;
  }

  /* Active button styling */
  .active-btn {
      background-color: #28a745;
      color: white;
  }

  .active-btn:hover {
      background-color: #218838;
  }

  /* Closed button styling */
  .closed-btn {
      background-color: #dc3545;
      color: white;
  }

  .closed-btn:hover {
      background-color: #c82333;
  }

  /* Adding subtle shadow on hover */
  .auction-btn:hover {
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  .pg-section {
  margin: 14px;
  padding: 14px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.pg-section h2 {
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.pg-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pg-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-left: 5px solid #ff9800;
}

.pg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.pg-info {
  flex: 1;
  line-height: 1.3;
}

.pg-info h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #333;
}

.pg-info p {
  margin: 4px 0;
  font-size: 0.82rem;
  color: #555;
}

.pg-action {
  margin-left: 16px;
}

.pg-action button {
  background: linear-gradient(90deg, #ff9800, #ff5722);
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.pg-action button:hover {
  background: linear-gradient(90deg, #ff5722, #e64a19);
  transform: scale(1.05);
}


/* Utilities Section */
.utilities {
    margin: 40px 0;
}

.utilities .section-title {
    margin-bottom: 20px;
    color: #333;
}

.utilities .section-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Utility card (same clickable style as Auction cards) */
.utilities .item {
    flex: 1 1 220px;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
    text-decoration: none;
    /* remove underline */
    color: inherit;
    /* inherit text color */
    cursor: pointer;
    display: block;
    /* make full card clickable */
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.utilities .item:hover {
    background: #fff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* Icon styling */
.utilities .item .icon {
    font-size: 34px;
 
    /* theme primary color */
    display: block;
    margin-bottom: 12px;
}
.fa-bolt { color: #ffcb3b; }     /* Yellow for electricity */
.fa-train { color: #fc0000; }     /* Blue for train */
.fa-id-card { color: #4caf50; } /* Green for ration card */
.fa-tv { color: #9c27b0; }       /* Purple for DTH */
.fa-fingerprint { color: red; } /* Red for Aadhaar Service*/

/* Title inside card */
.utilities .item h3 {
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #222;
}

/* Description text */
.utilities .item p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}


.property-sales, .vehicle-sales {
  background: #fff;
  padding: 15px;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.property-card, .vehicle-card {
  margin-bottom: 20px;
}

.slider {
    position: relative;
}

.slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider img.active {
    opacity: 1;
}


/* Ribbon */
.tag {
    position: absolute;
    top: 15px;
    left: -30px;
    transform: rotate(-45deg);
    
    font-weight: bold;
    padding: 5px 40px;
    font-size: 14px;
    
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 10;
    /* ribbon doesn’t block swipe/click */
}

/* Ribbon Colors*/
.tag.sale {
  background: #ff0000;
  color: white;
}

/* red for Sale */
.tag.new {
  background: #27ae60;
  color: white;
}

/* green for New */
.tag.featured {
  background: #f39c12;
  color: white;
}

/* orange for Featured */
.tag.hot {
  background: #c0392b;
  color: white;
}

/* dark red for Hot */
.tag.discount {
  background: #2980b9;
  color: white;
}

/* blue for Discount */
.tag.reserved {
  background: #34495e;
  color: white;
}

/* gray for Reserved */
.tag.sold {
  background: #f5ec42;
  color: #000000;
}

.image-wrapper {
    position: relative;
    display: flex;
}

.image-wrapper img {
    width: 100%;
    border-radius: 8px;
}

/* Diagonal SALE Ribbon */
.ribbon {
    position: absolute;
    top: 15px;
    left: -30px;
    transform: rotate(0deg);
    background: red;
    color: white;
    font-weight: bold;
    padding: 5px 40px;
    font-size: 14px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

// Verified Badge

.verified-container {
  display: inline-flex !important; /* force single row */
  align-items: center;
  white-space: nowrap;
  vertical-align: middle;
  font-size: 0; /* remove extra gaps */
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;               /* gap between icon and text */
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 10px;
  vertical-align: middle;
}

/* Circle icon */
.verified-icon {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;     /* perfect circle */
  flex-shrink: 0;
  background-color: inherit;
  border: 1px solid #fff;
}

.verified-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  /* horizontal padding */
  height: 14px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;

  /* Attractive gradient background */
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #00eaff 100%);

  /* Rounded pill shape with subtle asymmetry */
  border-radius: 12px 12px 12px 12px;

  /* Shadow for 3D effect */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);

  /* Optional hover effect */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.verified-text:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}



/* Colors */
.verified-green .verified-icon,
.verified-green .verified-text { background-color: #02b411; }
.verified-blue .verified-icon,
.verified-blue .verified-text { background-color: #1877F2; }
.verified-black .verified-icon,
.verified-black .verified-text { background-color: #838181; }
