*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family: system-ui, sans-serif;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 80% 30%, #f4cb38 0%, #f2c635 35%, #fff6db 100%);
}
body {
    padding-top: 60px; 
}


#schedule.page {
    padding-top: 120px; 
}
.topbar {
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(90deg, #fff 0%, #f4cb38 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}


#schedule .topbar {
    position: fixed; 
    top: 60px; 
    left: 0;
    right: 0;
    z-index: 999;
}

.logo img {
  height: 48px;
}

.main-nav {
  flex: 1;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.5rem;
}

.main-nav a.active {
  background: #333;
  color: #fff;
  border-radius: 6px;
}

.account-btn {
  background-color: #333;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s ease;
}

.account-btn:hover {
  background-color: #555;
}

.account-btn .icon {
  margin-right: 0.4rem;
}

.page {
  display: none;
  padding: 20px;
}

.page.active {
  display: block;
}

.notif-bell {
  position: fixed;
  right: 1.5rem;
  bottom: 5rem;
  font-size: 2rem;
  color: #333;
}

.badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: red;
  color: #fff;
  font-size: 0.7rem;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer {
  bottom: 0;
  margin-top: auto;
  background: #333;
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #fff;
  font-size: 0.9rem;
}




/* about page css */

.about-content {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.about-section {
    margin-bottom: 30px;
}

.about-section h2 {
    color: #1976D2;
    margin-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 8px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-member {
    text-align: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid #1976D2;
    object-fit: cover;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 30px 0;
    gap: 15px;
}

.stat-box {
    text-align: center;
    padding: 20px;
    min-width: 150px;
    background: #f5f5f5;
    border-radius: 8px;
    flex-grow: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #D32F2F;
}



/*This is the notifications css */

    :root {
      --primary-color: #7b8186;
      --secondary-color: #6c757d;
      --success-color: #28a745;
      --warning-color: #ffc107;
      --danger-color: #dc3545;
      --light-color: #f8f9fa;
      --dark-color: #343a40;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    body {
      background-color: #f4f6f9;
      color: #333;
      line-height: 1.6;
    }
    
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }
    
    header {
      background-color: var(--primary-color);
      color: rgb(40, 34, 34);
      padding: 1rem 0;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .logo h1 {
      font-size: 1.5rem;
    }
    
    .user-actions {
      display: flex;
      align-items: center;
      gap: 15px;
    }
    
    .btn {
      padding: 8px 16px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-weight: 500;
      transition: background-color 0.2s;
    }
    
    .btn-primary {
      background-color: var(--primary-color);
      color: white;
    }
    
    .btn-primary:hover {
      background-color: #004494;
    }
    
    .status-badge {
      display: inline-block;
      padding: 4px 8px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 500;
    }
    
    .status-operational {
      background-color: var(--success-color);
      color: white;
    }
    
    .status-delayed {
      background-color: var(--warning-color);
      color: black;
    }
    
    .status-disrupted {
      background-color: var(--danger-color);
      color: white;
    }
    
    .notification-filters {
      margin: 20px 0;
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
    }
    
    .filter-btn {
      background-color: white;
      border: 1px solid #ddd;
      padding: 8px 16px;
      border-radius: 20px;
      cursor: pointer;
    }
    
    .filter-btn.active {
      background-color: var(--primary-color);
      color: white;
      border-color: var(--primary-color);
    }
    
    .notifications-container {
      margin: 20px 0;
    }
    
    .notification-card {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      margin-bottom: 15px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
      border-left: 4px solid var(--secondary-color);
    }
    
    .notification-card.critical {
      border-left-color: var(--danger-color);
    }
    
    .notification-card.high {
      border-left-color: var(--warning-color);
    }
    
    .notification-header {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
      text-align: left;
    }
    
    .notification-title {
      font-weight: 600;
      font-size: 1.1rem;
      text-align: left;
    }
    
    .notification-time {
      color: var(--secondary-color);
      font-size: 0.9rem;
    }
    
    .notification-content {
      margin-bottom: 15px;
    }
    
    .notification-meta {
      display: flex;
      gap: 15px;
      font-size: 0.9rem;
      color: var(--secondary-color);
    }
    
    .line-badge {
      display: inline-block;
      padding: 3px 8px;
      border-radius: 4px;
      color: white;
      font-weight: 500;
      margin-right: 5px;
    }
    
    .line-red {
      background-color: #e53935;
    }
    
    .line-blue {
      background-color: #1976d2;
    }
    
    .line-green {
      background-color: #43a047;
    }
    
    .no-notifications {
      text-align: center;
      padding: 40px;
      color: var(--secondary-color);
    }
    
    .loading {
      text-align: center;
      padding: 40px;
    }
    
    @media (max-width: 768px) {
      .header-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
      }
      
      .notification-header {
        flex-direction: column;
        gap: 5px;
      }
    }
  

/* travel rules css */

#travelrules body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #f9f9f9;
      color: #333;
      margin: 0;
      padding: 0;
      line-height: 1.6;
    }

#travelrules header {
      background: linear-gradient(90deg, #ffd700, #ffcc00);
      padding: 1.5rem;
      text-align: center;
      color: #222;
      font-size: 2rem;
      font-weight: bold;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      position: sticky;
      top: 0;
      z-index: 10;
    }

	main .focus-layout{
      max-width: 1100px;
      margin: 2rem auto;
      background: #fff;
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

  #travelrules  h1 {
      font-size: 1.8rem;
      text-align: center;
      margin-bottom: 1rem;
    }

  #travelrules  .description {
      font-size: 1rem;
      margin-bottom: 2rem;
      text-align: justify;
    }

  #travelrules  fieldset {
      border: 2px solid #ffd700;
      border-radius: 8px;
      padding: 1.5rem;
    }

  #travelrules  legend {
      font-weight: bold;
      font-size: 1.2rem;
      color: #444;
      padding: 0 0.5rem;
    }

 #travelrules   h2 {
      color: #222;
      margin-top: 1.5rem;
      font-size: 1.2rem;
      border-bottom: 2px solid #ffd700;
      padding-bottom: 0.4rem;
    }

 #travelrules   ul {
      list-style-type: none;
      padding-left: 0;
      margin-bottom: 1rem;
    }

 #travelrules   ul li {
      background-color: #fdf5d4;
      border-left: 6px solid #ffd700;
      margin-bottom: 0.8rem;
      padding: 0.75rem 1rem;
      border-radius: 6px;
    }

 #travelrules   ul li strong {
      color: #333;
    }

/* Ts & Cs css */


#TsCs body {
      font-family: Arial, sans-serif;
      background-color: #f5f5f5;
      color: #333;
      margin: 0;
      padding: 0;
    }
 #TsCs   header {
      background-color: #FFD700;
      color: #222;
      padding: 20px;
      text-align: center;
      font-size: 28px;
      font-weight: bold;
    }
 #TsCs   main {
      padding: 40px;
      background-color: #fff;
      max-width: 1000px;
      margin: auto;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
  #TsCs  h2 {
      color: #555;
      border-bottom: 2px solid #FFD700;
      padding-bottom: 5px;
    }
 #TsCs   strong {
      color: #000;
    }
 #TsCs   section {
      margin-bottom: 30px;
    }



/* route map css */

.header {
    margin-bottom: 20px;
}

.date-time {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 15px 0;
}

.nav-links {
   display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: bold;
	color: #1976D2;
}

.content-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: auto; 
}

.page {
    position: relative;
    z-index: 1;
}

.ticket-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
}

.ticket-box {
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.origin-box {
    background-color: #fefeda; 
}

.details-box, .purchase-box {

    background-color: #DCDCDC; 
}

.info-section {
    margin-bottom: 15px;
}

.info-section h3 {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.info-section p {
    font-size: 18px;
    font-weight: bold;
}

.purchase-box h2 {
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.slideshow {
    height: 150px;
    background-color: #e0e0e0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.footer {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.action-button {
    padding: 10px;
    color: #1976D2;
    text-decoration: none;
    font-size: 14px;
}

.countdown {
    color: #D32F2F;
    font-weight: bold;
}



/* contact form */

.contact-form-container {
  max-width: 600px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #222;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background: #f9f9f9;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ffd700;
  background: #fff;
}

.contact-form button {
  display: block;
  width: 100%;
  background-color: #ffd700;
  color: #222;
  font-weight: bold;
  padding: 0.9rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #f4c400;
}
/* Add to your style.css */
.map-container {
    width: 50%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


body {
    padding-top: 60px; 
}

main {
    position: relative;
    z-index: 1;
}

.page {
    padding-top: 20px;
}

/* Team Member Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.team-member {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid #1976D2;
    object-fit: cover;
    object-position: center;
    transition: border-color 0.3s ease;
}

.team-member:hover img {
    border-color: #D32F2F;
}

.team-member h3 {
    margin: 10px 0 5px;
    color: #333;
    font-size: 1.2rem;
}

.team-member p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}
/* Schedule Page Specific Styles */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.alerts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.alert-box {
    padding: 15px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.real-time-updates {
    border-left: 4px solid #3498db;
}

.passenger-info {
    border-left: 4px solid #2ecc71;
}

.safety-info {
    border-left: 4px solid #e74c3c;
}

.route-selector {
    margin: 20px 0;
    text-align: center;
}

.route-selector select {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
    background-color: white;
}

#trainSchedule {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: white;
}

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

#trainSchedule th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.status-on-time {
    color: #2ecc71;
    font-weight: bold;
}

.status-delayed {
    color: #f39c12;
    font-weight: bold;
}

.status-cancelled {
    color: #e74c3c;
    font-weight: bold;
    text-decoration: line-through;
}

.map-section {
    margin-top: 30px;
}

/* FAQ Styles */
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.search-container {
    display: flex;
    margin: 25px 0;
}

#faqSearch {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

#searchButton {
    padding: 0 20px;
    background-color: #1976D2;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 16px;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.category-btn {
    padding: 8px 15px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.category-btn.active {
    background-color: #1976D2;
    color: white;
}

.category-btn:hover {
    background-color: #e0e0e0;
}

.category-btn.active:hover {
    background-color: #1565C0;
}

.faq-accordion {
    margin: 30px 0;
}

.faq-item {
    background-color: white;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    background-color: #f9f9f9;
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 500px;
}

.faq-category {
    display: inline-block;
    padding: 3px 8px;
    background-color: #e3f2fd;
    color: #1976D2;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 10px;
}

.contact-support {
    margin-top: 40px;
    text-align: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.contact-method {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .alerts-container, .contact-methods {
        grid-template-columns: 1fr;
    }
    
    #trainSchedule {
        font-size: 14px;
    }
    
    #trainSchedule th, #trainSchedule td {
        padding: 8px;
    }
    
    .faq-categories {
        justify-content: center;
    }
}

.slideshow { 
  width: 400px;
  height: 300px;
  overflow: hidden;
  position: relative;
  margin: auto;
}

.slide {
  height: 100%;
  object-fit: cover;
  display: none;
  width: 100%;
  border-radius: 8px;
}


 #notifications {
  background-color: #f4f6f9;
  padding: 1rem;
}
