/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: rgb(255, 215, 200);
  color: #333;
  line-height: 1.6;
}

/* Header Styles */
header {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.header-logo {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #ff6347;
  background-color: #f5f5f5;
  border-radius: 50%;
  border: 2px solid #ff6347;
}

.header-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff6347;
}

/* Home link styling */
.home-link {
  margin-left: auto;
  padding: 8px 15px;
  background-color: #ff6347;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.2s ease;
}

.home-link:hover {
  background-color: #ff4500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Back button styling */
.back-button {
  padding: 8px 15px;
  background-color: #ff6347;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.2s ease;
  margin-right: 15px;
}

.back-button:hover {
  background-color: #ff4500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .home-link {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  .back-button {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .home-link i {
    font-size: 1rem;
  }
  .home-link {
    padding: 5px 10px;
  }

  .back-button i {
    font-size: 1rem;
  }
  .back-button {
    padding: 5px 10px;
  }
}

/* Container Styles */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Box Styles */
.box {
  background-color: #ff7f50;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.box:active {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.box-title {
  margin-top: 1rem;
  font-weight: bold;
  color: #333;
  font-size: 1.2rem;
}

/* Fare Calculator Styles */
.fare-calculator-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.journey-form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid orangered;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #e82b2b;
}

.station-select,
.journey-type-select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid orangered;
  border-radius: 4px;
  font-size: 1rem;
  background-color: white;
}

.calculate-button {
  background-color: #e82b2b;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.calculate-button:hover {
  background-color: #c81313;
}

/* Journey Details Styles */
.journey-details {
  margin-top: 20px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #e82b2b;
}

.journey-details h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
  font-size: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 5px 0;
}

.detail-item .label {
  font-weight: 500;
  color: #555;
}

.detail-item .value {
  font-weight: 600;
  color: #222;
}

.fare-details {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  background-color: #f9f9f9;
  border-left: 4px solid #e82b2b;
}

.fare-details .fare-title {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.fare-type {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  padding-bottom: 8px;
  border-bottom: 1px dashed #e0e0e0;
  font-size: 15px;
}

.fare-type:last-of-type {
  border-bottom: none;
}

.fare-info {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e0e0e0;
}

/* Mobile optimizations for journey details */
@media (max-width: 768px) {
  .journey-details {
    padding: 15px;
    margin-top: 15px;
  }

  .journey-details h3 {
    font-size: 18px;
  }

  .detail-item {
    margin-bottom: 8px;
  }

  .fare-details {
    padding: 12px;
    margin-top: 15px;
  }

  .fare-type {
    font-size: 14px;
    margin: 8px 0;
  }

  .fare-info {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .journey-details {
    padding: 12px;
    margin-top: 12px;
  }

  .journey-details h3 {
    font-size: 16px;
    padding-bottom: 8px;
  }

  .detail-item {
    flex-direction: column;
    margin-bottom: 12px;
  }

  .detail-item .label {
    margin-bottom: 4px;
    font-size: 14px;
  }

  .detail-item .value {
    font-size: 14px;
  }

  .fare-details {
    padding: 10px;
    margin-top: 12px;
  }

  .fare-details .fare-title {
    font-size: 15px;
  }

  .fare-type {
    font-size: 13px;
    margin: 6px 0;
  }

  .fare-info {
    font-size: 11px;
  }
}

/* Image Styles */
#image1,
#image2,
#image3,
#image4 {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  border: 3px solid white;
}

#image1 {
  background-image: url("images/fare-and-route.webp");
}

#image2 {
  background-image: url("images/delhimetromapnew.webp");
}

#image3 {
  background-image: url("images/first-and-last metro.webp");
}

#image4 {
  background-image: url("images/Station-info.webp");
}

/* Map Styles */
.map-container {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  background: #f0f0f0;
  border: 1px solid orangered;
  border-radius: 8px;
  margin: 2rem auto;
}

#metro-map {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: grab;
}

.map-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 100;
}

.map-control-btn {
  background: #e82b2b;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.map-control-btn:hover {
  background-color: #c81313;
}

/* Map Legend */
.map-legend {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem auto;
  max-width: 800px;
  border: 1px solid orangered;
}

.map-legend h3 {
  color: #e82b2b;
  margin-bottom: 1rem;
  text-align: center;
}

.legend-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.line-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.line-color.red {
  background-color: #ff0000;
}
.line-color.yellow {
  background-color: #ffff00;
}
.line-color.blue {
  background-color: #0000ff;
}
.line-color.green {
  background-color: #008000;
}
.line-color.violet {
  background-color: #800080;
}

/* Timing Table Styles */
.timing-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.timing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.timing-header h2 {
  color: #e82b2b;
  margin-bottom: 0.5rem;
}

.timing-note {
  font-style: italic;
  color: #666;
}

.timing-table-container {
  overflow-x: auto;
}

.timing-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid orangered;
}

.timing-table th,
.timing-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.timing-table th {
  background-color: #e82b2b;
  color: white;
  font-weight: bold;
}

.timing-table tr:last-child td {
  border-bottom: none;
}

.timing-table tr:hover {
  background-color: #fff3f3;
}

.line-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 5px;
}

.line-indicator.red {
  background-color: #ff0000;
}
.line-indicator.yellow {
  background-color: #ffff00;
  border: 1px solid #666;
}
.line-indicator.blue {
  background-color: #0000ff;
}
.line-indicator.green {
  background-color: #008000;
}
.line-indicator.violet {
  background-color: #800080;
}

.timing-info {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid orangered;
}

.timing-info h3 {
  color: #e82b2b;
  margin-bottom: 1rem;
}

.timing-info ul {
  list-style-type: none;
}

.timing-info li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.timing-info li:before {
  content: "•";
  color: #e82b2b;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* Station Info Styles */
.station-info-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.station-search {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid orangered;
  text-align: center;
}

.station-search h2 {
  color: #e82b2b;
  margin-bottom: 1rem;
}

.search-box {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.search-box input {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.search-box button {
  background-color: #e82b2b;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-box button:hover {
  background-color: #c81313;
}

.station-card {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid orangered;
}

.station-card h3 {
  color: #e82b2b;
  margin-bottom: 1rem;
  text-align: center;
}

.station-select-prompt {
  text-align: center;
  color: #666;
  font-style: italic;
  margin-bottom: 1rem;
}

.station-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.line-pill {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  color: white;
}

.line-pill.red {
  background-color: #ff0000;
}
.line-pill.yellow {
  background-color: #ffff00;
  color: #333;
  border: 1px solid #ccc;
}
.line-pill.blue {
  background-color: #0000ff;
}
.line-pill.green {
  background-color: #008000;
}
.line-pill.violet {
  background-color: #800080;
}

.interchange-badge {
  background-color: #e82b2b;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.station-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.station-detail {
  background-color: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #eee;
}

.station-detail h4 {
  color: #e82b2b;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.small-text {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.5rem;
}

.station-facilities h4 {
  color: #e82b2b;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.facilities-list {
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
}

.facilities-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.facilities-list li i {
  color: #e82b2b;
}

.popular-stations {
  margin-top: 2rem;
}

.popular-stations h3 {
  color: #e82b2b;
  margin-bottom: 1rem;
  text-align: center;
}

.popular-stations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.popular-station {
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid orangered;
}

.popular-station:hover {
  transform: translateY(-5px);
}

.popular-station i {
  display: block;
  font-size: 1.5rem;
  color: #e82b2b;
  margin-bottom: 0.5rem;
}

/* Footer Styles */
footer {
  background-color: #e82b2b;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

footer a {
  color: white;
  text-decoration: underline;
  font-weight: bold;
}

footer a:hover {
  color: #ffcccc;
}

.footer-contact {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.footer-contact i {
  margin-right: 0.5rem;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
  }

  .box {
    height: 200px;
    margin-bottom: 1rem;
  }

  .fare-calculator-container {
    padding: 0 0.5rem;
    margin: 1rem auto;
  }

  .journey-form,
  .journey-details {
    padding: 1rem;
  }

  .map-container {
    height: 50vh;
  }

  .legend-items {
    flex-wrap: wrap;
  }

  .timing-table th,
  .timing-table td {
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  .facilities-list {
    grid-template-columns: 1fr;
  }

  .station-details-grid {
    grid-template-columns: 1fr;
  }

  /* Header adjustments for mobile */
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem;
  }

  .header-title {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
  }

  .back-button {
    padding: 6px 10px;
    font-size: 0.9rem;
  }

  /* Form elements adjustments */
  .station-select,
  .journey-type-select {
    padding: 0.6rem;
  }

  .calculate-button {
    padding: 0.75rem 1.5rem;
  }

  /* Journey details adjustments */
  .detail-item {
    flex-direction: column;
    padding: 0.5rem 0;
  }

  .detail-item .label {
    margin-bottom: 0.25rem;
  }

  /* Route visualization adjustments */
  .route-visualization-container {
    padding: 0.75rem !important;
  }

  .metro-line-header {
    flex-wrap: wrap;
  }

  .station-item {
    margin-bottom: 10px !important;
  }

  /* Fare details adjustments */
  .fare-types {
    flex-direction: column;
  }

  .fare-type {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* Small screens (mobile phones) */
@media (max-width: 480px) {
  .header-title {
    font-size: 1.2rem;
  }
  .nav-item span {
    font-size: 0.9rem;
  }
  .stat-box h3 {
    font-size: 1rem;
  }
  .blog-content h3 {
    font-size: 1rem;
  }
  .footer-contact p {
    font-size: 0.8rem;
  }

  .journey-form {
    padding: 0.75rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  label {
    font-size: 0.9rem;
  }

  .station-select,
  .journey-type-select {
    font-size: 0.9rem;
  }

  .calculate-button {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }

  .journey-details h3 {
    font-size: 1.1rem;
  }

  .label,
  .value {
    font-size: 0.9rem;
  }

  .metro-line-header {
    font-size: 0.9rem;
  }

  .station-name {
    font-size: 0.9rem;
  }

  .change-train {
    font-size: 0.85rem;
  }

  .view-on-map-btn {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  /* Fix visualization elements */
  .route-visualization-container {
    overflow-x: hidden !important;
  }

  .metro-line-container {
    padding-left: 20px !important;
  }

  .station-item .line-bullet,
  .station-dot {
    left: -20px !important;
    width: 12px !important;
    height: 12px !important;
  }

  /* Journey type radio buttons */
  .journey-types {
    flex-direction: column;
    gap: 0.5rem;
  }

  .map-container {
    height: 70vh !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch !important;
    position: relative !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    margin: 10px 0 !important;
  }

  #metro-map {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    transform-origin: top left !important;
    transform: scale(0.3) !important;
  }

  .map-controls {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 1000 !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    padding: 5px !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
  }

  .station-select {
    height: 48px !important;
    font-size: 16px !important;
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
    background-color: white !important;
  }

  .station-select option {
    padding: 10px 8px !important;
    font-size: 14px !important;
    background-color: white !important;
    color: #333 !important;
  }

  .journey-details-map {
    position: relative !important;
    width: 90% !important;
    max-width: 100% !important;
    margin: 10px auto !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
  }

  /* Fix for line color spans */
  .line-color {
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    margin-right: 5px !important;
  }

  .platform-indicator {
    display: block !important;
    background: #e0e0e0 !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    font-size: 10px !important;
    float: right !important;
  }

  * {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1) !important;
  }
}

/* Medium screens (tablets) */
@media (min-width: 481px) and (max-width: 768px) {
  .journey-form {
    padding: 1.5rem;
  }

  .metro-line-container {
    padding-left: 25px !important;
  }
}

/* Fix for route visualization on all screen sizes */
.route-visualization-container {
  width: 100% !important;
  box-sizing: border-box !important;
}

.metro-line-container {
  width: 100% !important;
}

/* Touch-friendly elements for mobile */
@media (hover: none) {
  .calculate-button,
  .view-on-map-btn,
  .station-select,
  input[type="radio"] {
    min-height: 44px; /* Minimum touch target size */
  }

  input[type="radio"] {
    width: 22px;
    height: 22px;
  }

  .journey-type label {
    padding: 10px 0;
  }

  select {
    padding: 12px !important;
  }

  /* Larger hit areas */
  .box {
    min-height: 150px;
  }
}

/* Station list and route visualization styles */
.station-list {
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.station-item {
  display: flex;
  align-items: center;
  margin: 2px 0;
}

.station-bullet {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
}

.station-end {
  font-weight: bold;
}

.station-connector {
  height: 25px;
  width: 4px;
  margin-left: 6px;
}

.route-direction {
  color: #666;
  font-style: italic;
  margin: 5px 0;
}

/* Metro line colors - updated with DMRC official colors */
.magenta {
  background-color: #8d1b8c;
}

.yellow {
  background-color: #f8d000;
}

.blue,
.blue-branch {
  background-color: #0077c8;
}

.red {
  background-color: #e21a1a;
}

.green {
  background-color: #299e5e;
}

.pink {
  background-color: #ec2f91;
}

.violet {
  background-color: #8f4199;
}

.aqua {
  background-color: #00ffcc;
}

.grey,
.gray {
  background-color: #999999;
}

.airport {
  background-color: #ff8000;
}

.rapid {
  background-color: #5a1ad6;
}

/* Interchange indicator for route visualization */
.interchange-indicator {
  display: flex;
  align-items: center;
  margin: 12px 0;
  padding: 8px 12px;
  background-color: #f2f2f2;
  border-radius: 5px;
  border-left: 4px solid #e82b2b;
}

.interchange-text {
  font-weight: bold;
  color: #e82b2b;
  flex: 1;
}

.interchange-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e82b2b;
  color: white;
  border-radius: 50%;
}

.interchange-icon i {
  font-size: 14px;
}

.route-note {
  color: #666;
  font-style: italic;
  margin: 8px 0;
  font-size: 0.9rem;
}

.route-info-box {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
  max-width: 300px;
  border-left: 4px solid #e82b2b;
}

.route-info-box h3 {
  color: #e82b2b;
  margin-bottom: 10px;
  font-size: 1rem;
}

.route-info-box p {
  margin: 5px 0;
  font-size: 0.9rem;
}

/* Social Sharing Section */
.social-sharing {
  background-color: #fff;
  padding: 40px 20px;
  border-top: 1px solid #eee;
}

.sharing-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.sharing-container h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #333;
}

.sharing-container p {
  color: #666;
  margin-bottom: 25px;
}

.social-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.social-button {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 50px;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-button i {
  font-size: 18px;
  margin-right: 10px;
}

.facebook {
  background-color: #1877f2;
}

.twitter {
  background-color: #1da1f2;
}

.linkedin {
  background-color: #0077b5;
}

.whatsapp {
  background-color: #25d366;
}

@media screen and (max-width: 576px) {
  .social-button {
    width: 100%;
    justify-content: center;
  }
}

/* Disclaimer Styles */
.disclaimer-content {
  line-height: 1.6;
}

.disclaimer-content p {
  margin-bottom: 1rem;
}

.disclaimer-content strong {
  color: #e82b2b;
}

/* Welcome Section */
.welcome-section {
  background: linear-gradient(135deg, #e82b2b, #ff7f50);
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  margin-bottom: 0;
  position: relative;
}

.welcome-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  color: white;
}

.welcome-content p {
  font-size: 1.3rem;
  opacity: 0.9;
}

/* Stats Section */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 2rem 1rem;
  background: white;
  margin: 0 auto 2rem;
  max-width: 1200px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-box {
  text-align: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-box i {
  font-size: 2.5rem;
  color: #e82b2b;
  margin-bottom: 1rem;
}

.stat-box h3 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.stat-box p {
  color: #666;
  font-size: 1.1rem;
}

/* Updates Section */
.updates-section {
  padding: 2rem 1rem;
  background: #f8f9fa;
  margin-bottom: 2rem;
}

.updates-section h2 {
  text-align: center;
  color: #e82b2b;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.updates-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.update-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.update-card:hover {
  transform: translateY(-5px);
}

.update-card i {
  font-size: 2rem;
  color: #e82b2b;
  margin-bottom: 1rem;
}

.update-card h4 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.update-card p {
  color: #666;
  line-height: 1.6;
}

/* Blog Section Styles */
.blog-section {
  padding: 3rem 1rem;
  background: #f8f9fa;
  margin-bottom: 2rem;
}

.blog-section h2 {
  text-align: center;
  color: #e82b2b;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.urbanimage {
  width: 100%;
  transition: transform 0.3s ease;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  color: #e82b2b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #ff7f50;
}

@media (max-width: 768px) {
  .blog-container {
    grid-template-columns: 1fr;
  }
}

/* Blog Post Styles */
.blog-post {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.blog-post article {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-post h1 {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-meta {
  display: flex;
  gap: 1.5rem;
  color: #666;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.blog-content {
  line-height: 1.8;
}

.blog-content h2 {
  color: #333;
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
}

.blog-content h3 {
  color: #444;
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem;
}

.blog-content p {
  color: #555;
  margin-bottom: 1.5rem;
}

.blog-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
  color: #555;
}

.pro-tips {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid #e82b2b;
}

.pro-tips h3 {
  color: #e82b2b;
  margin-top: 0;
}

.conclusion {
  background: #f0f7ff;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.blog-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.next-post {
  display: inline-block;
  color: #e82b2b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.next-post:hover {
  color: #ff7f50;
}

@media (max-width: 768px) {
  .blog-post h1 {
    font-size: 2rem;
  }

  .featured-image {
    height: 300px;
  }

  .blog-content h2 {
    font-size: 1.6rem;
  }
}

/* Popular Routes Section */
.popular-routes {
  padding: 2rem 1rem;
  background: white;
  margin-bottom: 2rem;
}

.popular-routes h2 {
  text-align: center;
  color: #e82b2b;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.routes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.route-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.route-card:hover {
  transform: translateY(-5px);
}

.route-card h4 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.route-card p {
  color: #666;
  font-size: 1.1rem;
}

/* Emergency Info Section */
.emergency-info {
  background: #e82b2b;
  color: white;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
}

.emergency-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.emergency-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.emergency-content p {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

/* Comprehensive Metro Information Section */
.comprehensive-info {
  padding: 40px 20px;
  background-color: #f8f9fa;
}

.info-container {
  max-width: 1100px;
  margin: 0 auto;
}

.info-container h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #333;
  text-align: center;
  position: relative;
}

.info-container h2:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #ff6347;
  border-radius: 2px;
}

.info-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.info-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
}

.info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #e73c3c;
  font-weight: 600;
}

.info-card p {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.metro-lines-list {
  list-style-type: none;
  margin: 15px 0;
  padding: 0;
}

.metro-lines-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.metro-lines-list li:before {
  content: "•";
  position: absolute;
  left: 5px;
  color: #ff6347;
}

.metro-lines-list span {
  font-weight: 500;
}

.red-line {
  color: #e44d26;
}
.yellow-line {
  color: #f9db60;
}
.blue-line {
  color: #0078d7;
}
.green-line {
  color: #6cbe45;
}
.violet-line {
  color: #7b1fa2;
}
.pink-line {
  color: #fd5da8;
}
.magenta-line {
  color: #ca278c;
}
.grey-line {
  color: #757575;
}
.orange-line {
  color: #ff9800;
}

.info-card ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.info-card li {
  margin-bottom: 6px;
  padding-left: 5px;
  line-height: 1.5;
}

@media screen and (min-width: 768px) {
  .info-content {
    grid-template-columns: 1fr 1fr;
  }

  .info-card:first-child {
    grid-column: span 2;
  }
}

@media screen and (min-width: 992px) {
  .info-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-card:first-child {
    grid-column: span 1;
  }
}
