/* ================= General Reset and Base Styles ================= */
body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #000000;
}

.container {
  width: 90%;
  margin: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

h1, h2 {
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
}

h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

p, ul li, input, textarea, label, footer {
  font-family: 'Open Sans', sans-serif;
}

/* ================= Header ================= */
header {
  background: #002d72;
  color: #ffffff;
  padding: 20px 0;
}

.header-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}



.nav-left, .nav-right {
  display: flex;
  justify-content: center; /* Center inside each column */
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-left li, .nav-right li {
  margin: 0 15px;
}

.nav-left li a, .nav-right li a {
  color: #ffd700;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1em; /* Made slightly larger */
  position: relative; /* <-- Add this */
}

.nav-right-wrapper {
  display: flex;
  align-items: center;
  gap: 20px; /* spacing between menu and buttons */
  justify-content: flex-end;
}

.nav-right-buttons {
  display: flex;
  gap: 10px;
}
/* Create the hidden underline */
.nav-left li a::after,
.nav-right li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px; /* slight space below text */
  left: 0;
  background-color: #ffd700;
  transition: width 0.3s ease;
  z-index: 1;
}

/* On hover, animate the underline */
.nav-left li a:hover::after,
.nav-right li a:hover::after {
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-link {
  justify-self: center; /* Center logo in the middle column */
}

.logo {
  height: 250px; /* Bigger logo */
}

/* ================= Hero Section ================= */
#hero-home {
  position: relative;
  background: url('assets/locomotives2-Enhanced-SR.jpg') no-repeat center center/cover;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-bottom: 40px; /* Reduced padding */
  padding-top: 30px;
  overflow: hidden;
  
}

.home-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75); /* 75% dark overlay */
  z-index: 1;
}

.heading-container-home {
  background: none;
  padding: 50px;
  border-radius: 10px;
  z-index: 2;
}

.heading-container-home h1 {
  font-family: 'Anton', sans-serif;
  font-size: 4em; /* Increased font size */
  color: #ffffff; /* Main title now white */
  margin-bottom: 20px;
}

.heading-container-home h2 {
  font-family: 'Open Sans', sans-serif; /* Paragraph font */
  font-style: italic; /* Italic subheading */
  font-size: 1.75rem; /* Increased font size */
  color: #ffffff;
  margin-bottom: 50px;
}

.heading-container-home p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5em; /* Increased paragraph size */
  color: #ffffff;
  margin-bottom: 30px;
}

.learn-more-btn {
  display: inline-block;
  padding: 16px 30px;
  background-color: #ffd700; /* Yellow background */
  color: #002d72; /* Deep blue text */
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 1.3em;
  border-radius: 5px;
  margin-top: 20px;
  transition: all 0.3s ease; /* Smooth animation */
}

.learn-more-btn:hover {
  background-color: #ffd700; /* Keep yellow background */
  color: #002d72; /* Keep blue text */
  transform: translateY(-5px); /* Move upward slightly */
  box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* Soft shadow */
}



/* ================= Sections ================= */
section {
  padding: 40px 0;
}

section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #000000;
}

section p, section ul li {
  color: #000000;
}

/* ================= Footer ================= */
footer {
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 10px 0;
  font-size: 0.9em;
}

/* ================= Special Pages and Elements ================= */
/* Page Header Banner */
.page-header {
  background: url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 15% / cover;
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.2em;
  color: #ffffff;
}

/* Services List */
.service-list ul, .customer-list ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.service-list ul li, .customer-list ul li {
  font-size: 1.5em;
  margin: 15px 0;
  color: #002d72;
}

.footer-nav {
  margin-top: 50px;
  margin-bottom: 30px;
}

.footer-nav ul {
  list-style: none; /* <<< fix bullets */
  padding: 0;               /* Remove default padding */
  margin: 0 auto; 
  display: flex;            /* Makes it horizontal */
  justify-content: center; /* Center items inside */
  gap: 30px;                /* Optional spacing between links */
}

.footer-nav ul li a {

  position: relative;
  display: inline-block;
  color: #ffd700;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.5em;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.footer-nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  right: 0;
  background-color: #ffd700;
  transition: width 0.3s ease, right 0.3s ease;
}

.footer-nav ul li a:hover::after {
  width: 100%;
  right: 0;
}



/* Contact Form */
#contact {
  background: #002d72;
  color: #f4f4f4;
  padding: 80px 20px;
  text-align: center; /* center everything by default */
  background-color: #f4f4f4;
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
}

.contact-text {
  margin-bottom: 40px;
  text-align: left;

}

.contact-text h2 {
  font-family: 'Anton', sans-serif;
  font-size: 3em;
  margin-bottom: 20px;
  text-align: center;
  color: #000000;
}

.contact-subheading {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #ffd700;
  text-align: left;
}

.contact-text p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  margin-bottom: 20px;
  color: #000000;
  text-align: left;
}

form {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex: none;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #002d72;
  font-family: 'Poppins', sans-serif;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #002d72;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
}

input:focus, textarea:focus {
  border-color: #00194d;
  outline: none;
}


#contactForm .form-group input,
#contactForm .form-group textarea {
  width: 100%;
  max-width: 500px; /* Decrease this to your preference */
}




/* Map Section */
/* Page Header with Black Transparent Box */
.page-header {
  background: url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 15% / cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.heading-container {
  background: rgba(0, 0, 0, 0.7); /* Black semi-transparent */
  padding: 40px;
  border-radius: 10px;
}

.heading-container h1 {
  font-family: 'Anton', sans-serif;
  font-size: 3em;
  color: #ffffff;
  margin-bottom: 15px;
}

.heading-container p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.3em;
  color: #ffffff;
}

/* Map Section */
.map-section {
  padding: 60px 40px;
  background: #ffffff;
  text-align: center;
}

.map-container {
  width: 100%;
  height: 600px;
  background: #e0e0e0;
  border: 2px solid #002d72;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;

}

.map-iframe-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  justify-content: center;
  margin: 0 auto;

}

.map-iframe-container iframe {
  width: 100%;
  height: 600px; /* This is key! Adjust as needed */
  border: none;
  border-radius: 8px;
  display: block;
}

.map-container p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  color: #002d72;
}

@media (max-width: 768px) {
  .about-section {
    padding: 20px;
  }

  .about-container {
    text-align: center; /* Center all text inside container */
  }

  .about-container ul {
    list-style-position: inside; /* Keep bullets inside container width */
    padding-left: 0; /* Remove default left indent */
    margin: 0 auto; /* Center the list block itself */
    display: inline-block; /* Allows the UL to shrink and center nicely */
    text-align: left; /* Align bullet text to the left */
  }

  .about-container li {
    margin-bottom: 8px;
  }
}


/* About Section & Blog Content */
.blog-content, .about-section {
  padding: 60px 40px;
}

.blog-content p, .about-section p, .about-section ul li {
  font-size: 1.1em;
  line-height: 1.6em;
  color: #000000;
}

.page-header .date {
  font-size: 0.9em;
  color: #ffd700;
  margin-top: 10px;
}

/* ================= Responsive Design ================= */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  nav {
    margin-top: 10px;
  }
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0 40px; /* Added horizontal padding */
}

.about-text {
  flex: 1;
  min-width: 500px;
  text-align: left;
}

.about-text h2 {
  font-family: 'Anton', sans-serif;
  font-size: 3em;
  color: #000000; /* Changed to black */
  margin-bottom: 40px;
}

.about-text p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  line-height: 2;
  margin-bottom: 30px;
}

.about-image {
  flex: 1;
  min-width: 700px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


#services {
  background-color: #002d72;
  color: #ffffff;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.services-container {
  max-width: 800px;
  margin: 0 auto;
}

.services-heading-container h1 {

  font-size: 3rem;

}

.services-container h2 {
  font-family: 'Anton', sans-serif;
  font-size: 3em;
  margin-bottom: 40px;
  color: #000000;
}

.services-container p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  line-height: 1.6;
  color: #ffffff;
}

#contact {
  background: #f4f4f4;
  padding: 60px 20px;
  text-align: center;
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-container h2 {
  font-family: 'Anton', sans-serif;
  font-size: 3em;
  margin-bottom: 30px;
  color: #000000;
}

form {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #002d72;
  font-family: 'Poppins', sans-serif;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
}

input:focus, textarea:focus {
  border-color: #002d72;
  outline: none;
}



#community {
  background: #ffffff;
  padding: 60px 40px; /* Add more side padding if needed */
}

.community-container {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Align content to the left */
  gap: 30px; /* Reduce the gap between image and text */
  flex-wrap: wrap;
}

.community-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
  margin-top: 20px;
}

.community-image img {
  width: 100%;
  max-width: 450px; /* Reduce size slightly if needed */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.community-text {
  flex: 1;
  min-width: 280px;
  text-align: left; /* Change to left-align for better flow */
  max-width: 480px;
  margin-right: 200px;
}

.community-text h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5em;
  color: #002d72;
  margin-bottom: 20px;
}

.community-text p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  line-height: 1.6;
  color: #000000;
}

footer {
  background: #002d72;
  color: #ffffff;
  text-align: center;
  padding: 40px 0px;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-container p {
  margin-bottom: 20px;
  font-size: 0.9em;
  font-family: 'Open Sans', sans-serif;
}

.newsletter-form {
  margin: 30px 0;
  text-align: center;
}

.newsletter-form h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 10px;
  color: #000000;
}

.newsletter-subheading {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 35px;
  color: #000000;
}

.newsletter-form input[type="email"] {
  padding: 12px;
  width: 300px;
  max-width: 90%;
  border-width: 2px;
  border-color: #002d72;
  border-radius: 16px;
  margin-right: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.newsletter-form .btn {
  padding: 12px 24px;
  font-size: 1.1em;
  border-radius: 4px;
  background: #ffd700;
  color: #002d72;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
}

.newsletter-form .btn:hover {
  background: #ffd700;
}

.social-icons a {
  text-decoration: none !important;       /* Remove underline */
  border: none;                /* Remove any default borders */
  outline: none;               /* Remove any focus outlines */
}

.social-icons i {
  font-size: 28px;
  color: #ffffff;
  margin: 0 10px;
  transition: transform 0.3s ease;
  margin-top: 20px;
  margin-bottom: 20px;
  list-style: none;
}

.social-icons,
.social-icons ul,
.social-icons li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons a {
  text-decoration: none !important;       /* Remove underline */
  border: none;                /* Remove any default borders */
  outline: none;               /* Remove any focus outlines */
}

.social-icons i:hover {
  transform: scale(1.2);
  color: #ffd700; /* optional hover color */
}


#community {
  padding: 60px 40px;
  background: #ffffff;
}

.community-container {
  display: flex;
  align-items: center;

  flex-wrap: wrap;
}

.community-image {
  flex: 1;
  text-align: center;
}

.community-image img {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.community-text {
  flex: 1;
  text-align: left; /* Text now aligned LEFT */
}

.community-text h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 30px;
}

.community-text p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  line-height: 1.6em;
  margin-bottom: 40px;
  color: #000000;
}

.community-btn {
  display: inline-block;
  padding: 14px 28px;
  color: #ffd700;
  background-color: #002d72;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 5px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.community-btn:hover {
  transform: translateY(-3px);
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75); /* 75% black */
  z-index: 1;
}

.heading-container-about {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;         /* Centers the container */
  text-align: center;     /* Centers the text inside */
}

.heading-container-about h1 {
  font-family: 'Anton', sans-serif;
  font-size: 3em;
  color: #ffffff;
  margin-bottom: 15px;
}

.heading-container p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.3em;
  color: #ffffff;
}

/* About Section Content */
.about-section {
  padding: 60px 40px;
  background: #ffffff;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-text h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.25em;
  color: #000000;
  margin-bottom: 25px;
  margin-top: 40px;
  text-align: left;
}

.about-text p, .about-text ul li {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.25em;
  line-height: 1.8em;
  color: #000000;
  margin-bottom: 20px;
}

.about-text ul {
  list-style: disc inside;
  padding-left: 20px;
}

/* Page Header with Black Transparent Box */
.page-header {
  background: url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 15% / cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.heading-container {
  background: rgba(0, 0, 0, 0.7); /* darker transparent black */
  padding: 40px;
  border-radius: 10px;
}

.heading-container h1 {
  font-family: 'Anton', sans-serif;
  font-size: 3em;
  color: #ffffff;
  margin-bottom: 15px;
}

.heading-container p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.3em;
  color: #ffffff;
}

/* Service Sections */
.service-section {
  padding: 60px 40px;
  background: #ffffff;
}

.service-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.service-image {
  flex: 1;
  text-align: center;
}

.service-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.service-text {
  flex: 1;
  text-align: left;
}

.service-text h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 20px;
}

.service-text p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  line-height: 1.6em;
  color: #000000;
  margin-bottom: 20px;
}

.service-text ul {
  list-style: disc inside;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  color: #000000;
}

/* Customers Page Section */
.customer-section {
  padding: 60px 40px;
  background: #ffffff;
}

.customer-heading-container h1 {
  font-size: 3rem; /* larger heading */
  margin-bottom: 20px; /* more space below heading */
}

.customer-heading-container p {
  font-size: 1.2rem; /* slightly larger paragraph */
  max-width: 700px;
  margin: 0 auto;
}

.customer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.customer-image {
  flex: 1;
  text-align: center;
}

.customer-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.customer-text {
  flex: 1;
  text-align: left;
}

.customer-text h2 {
  font-family: 'Anton', sans-serif;
  font-size: 3em;
  color: #000000;
  margin-bottom: 20px;
}

.customer-text p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  line-height: 1.6em;
  color: #000000;
}

/* News Page Specific Styles */
.news-list {
  padding: 60px 40px;
  background: #ffffff;
}

.news-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.news-item {
  background: #ffffff;
  border: 1px solid #ccc;
  padding: 30px;
  width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
}

.news-item h2 {
  font-family: 'Anton', sans-serif;
  font-size: 1.8em;
  color: #002d72;
  margin-bottom: 10px;
}

.news-item .date {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9em;
  color: #777777;
  margin-bottom: 15px;
}

.news-item p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  color: #000000;
  margin-bottom: 20px;
}

.read-more {
  display: block;
  margin: 20px auto 0 auto; /* top margin and horizontal centering */
  padding: 10px 20px;
  background-color: #ffd700;
  color: #002d72;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.read-more:hover {
  transform: translateY(-3px);
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
}

/* LOGIN BUTTON */



.about-btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: #002d72; /* Deep blue */
  color: #ffd700; /* Yellow text */
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.about-btn:hover {
  transform: translateY(-3px);
  background-color: #00194d; /* Darker blue on hover */
}

#customers-page {
  background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* dark overlay */
    url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 15% / cover;
  padding: 30px 0;
  text-align: left;
  color: #ffffff;
}

.customer-heading-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto; /* centers the block itself horizontally */
  padding-left: 20px; /* adds breathing room from left edge */
}

.services-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #ffd700; /* gold background */
  color: #003366; /* blue text */
  text-decoration: none;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.services-button:hover {
  background-color: #e6c200; /* slightly darker gold on hover */
  color: #001f4d; /* even deeper blue on hover */
}

.rate-link {
  background-color: #ffd700;
  color: #000000;
  padding: 2px 4px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}


.rate-link:hover {
  text-decoration: underline; /* Classic underline on hover */
  text-decoration-color: #000000;

}

#rate-intro {
  background: #ffffff;
  color: #002d72;
  padding: 40px 20px;
  text-align: center;
}

.intro-text-container {
  max-width: 900px;
  margin: 0 auto;
}

#rate-form-section {
  background: #f4f4f4;
  padding: 60px 20px;
}

.rate-form-container {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #002d72;
}

input, textarea, select {
  width: 100%;
  padding: 10px;
  border: 2px solid #002d72;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
}

input:focus, textarea:focus, select:focus {
  border-color: #00194d;
  outline: none;
}

#latest-news {
  background: #f4f4f4;
  padding: 60px 20px;
  text-align: center;
}

.news-preview-container {
  max-width: 1200px;
  margin: 0 auto;
}


.news-preview-container h2{
  font-size: 3rem; 
}

.news-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.news-card {
  background: #ffffff;
  border: 2px solid #002d72; /* blue border outline */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 600px; /* consistent card width */
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #002d72;
  margin-bottom: 20px;
}

.news-card h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #000000;
}

.news-card p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  margin-bottom: 20px;
  color: #000000;
}

/* Reuse your usual button style */
.read-more-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  background-color: #ffd700;
  color: #002d72;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s, color 0.3s;
}

.read-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.rate-btn {
  background-color: #ffd700; /* gold */
  color: #003366 !important; /* dark blue text */
  padding: 6px 14px; /* smaller padding */
  border-radius: 5px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 12px; /* reduced text size */
  transition: transform 0.3s ease;
  display: inline-block;
}

.rate-btn:hover {
  transform: translateY(-3px); /* smooth lift effect */
}

.page-header {
  text-align: center;
  color: #ffffff;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('assets/default-background.jpg') no-repeat center center/cover;
  padding: 80px 20px;
}

.thin-header {
  padding: 40px 20px; /* thinner top and bottom */
  background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 15% / cover;
  background-size: cover;
}

.news-list {
  background: #f4f4f4;
  padding: 60px 20px;
  text-align: center;
}

.news-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.news-item {
  background: #ffffff;
  border: 2px solid #002d72; /* blue border */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 600px;
  padding: 20px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #002d72;
  margin-bottom: 15px;
}

.news-item h2 {
  font-family: 'Anton', sans-serif;
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #002d72;
}

.news-item .date {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9em;
  color: #555;
  margin-bottom: 15px;
}

.news-item p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  color: #333;
  margin-bottom: 15px;
}

.read-more {
  background-color: #ffd700;
  color: #002d72;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.read-more:hover {
  transform: translateY(-3px);
}

#careers-page {
  padding: 60px 20px;
  background: #ffffff;
}

.content-section {
  margin-bottom: 60px;
  text-align: center;
}

.content-section h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 20px;
}

.content-section p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.6;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  width: 250px;
  text-align: center;
}

.team-member img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 10px;
}

.team-member h3 {
  font-family: 'Poppins', sans-serif;
  margin-top: 10px;
  margin-bottom: 5px;
}

.job-listing {
  background: #f4f4f4;
  border: 2px solid #002d72;
  border-radius: 8px;
  padding: 30px;
  margin: 20px auto;
  max-width: 700px;
  text-align: left;
}

.job-listing h3 {
  font-family: 'Anton', sans-serif;
  color: #000000;
  margin-bottom: 10px;
}

.job-listing p {
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 10px;
}

.apply-btn {
  display: inline-block;
  background-color: #ffd700;
  color: #002d72;
  padding: 10px 20px;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.apply-btn:hover {
  transform: translateY(-3px);
}

.form-section form {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 40px auto 0;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #002d72;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #002d72;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
}

input:focus, textarea:focus {
  border-color: #00194d;
  outline: none;
}

.contact-form-section {
  background: #002d72;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.login-container {
  max-width: 500px; /* wider form */
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.login-container h1 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 30px;
  text-align: center;
}

form#loginForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  text-align: left;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #002d72;
  font-family: 'Poppins', sans-serif;
}

input {
  width: 100%;
  padding: 12px;
  border: 2px solid #002d72;
  border-radius: 5px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
}

input:focus {
  border-color: #00194d;
  outline: none;
}



.error-message {
  color: red;
  margin-top: 20px;
  font-family: 'Open Sans', sans-serif;
}

.create-account-link {
  margin-top: 20px;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  color: #002d72;
}

.create-account-link a {
  color: #002d72; /* Gold link */
  font-weight: bold;
  text-decoration: underline;
}

.create-account-link a:hover {
  color: #ffd700; /* White on hover */
}

.dashboard-nav {
  background-color: #00194d; /* slightly darker blue */
  padding: 10px 0;
}

.dashboard-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-nav ul li {
  margin: 0 15px;
}

.dashboard-nav ul li a {
  color: #ffd700;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  text-decoration: none;
  font-size: 1em;
  position: relative;
}

.dashboard-nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  right: 0;
  background-color: #ffd700;
  transition: width 0.3s ease;
}

.dashboard-nav ul li a:hover::after {
  width: 100%;
  left: 0;
}

.dashboard-section .dashboard-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column; /* Stack vertically */
  align-items: center;     /* Center horizontally */
  justify-content: center; /* Center vertically */
  padding: 40px 20px;
}

#shipment-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 30px;
}

.shipment-card {
  background: #ffffff;
  border: 2px solid #002d72;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.shipment-card h3 {
  font-family: 'Anton', sans-serif;
  color: #002d72;
  margin-bottom: 15px;
}

.shipment-card p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  color: #333333;
  margin-bottom: 10px;
}

.track-order-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #ffd700;
  color: #002d72;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.track-order-btn:hover {
  transform: translateY(-3px);
}

.shipment-card {
  background: #ffffff;
  border: 2px solid #002d72;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#services {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-heading {
  font-family: 'Anton', sans-serif;
  font-size: 3em;
  margin-bottom: 40px;
  color: #002d72;
}

.services-split {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-box {
  flex: 1;
  min-width: 300px;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-overlay {
  background: rgba(0, 0, 0, 0.7); /* dark overlay */
  color: #ffffff;
  padding: 30px;
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-overlay h3 {
  font-family: 'Anton', sans-serif;
  font-size: 2em;
  margin-bottom: 20px;
}

.service-overlay p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 300px;
}

.learn-more-btn {
  background-color: #ffd700;
  color: #002d72;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.learn-more-btn:hover {
  transform: translateY(-3px);
}

.maintenance-logo {
  margin-top: 15px;
  width: 200px;
  height: auto;
}

/* Hero Section */
.maintenance-hero {
  background: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('assets/pexels-chevanon-1108101.jpg') no-repeat center 40% / cover;
  height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: #ffffff;
}

.hero-overlay {
  text-align: center;
}

.maintenance-page-logo {
  width: 240px;
  margin-bottom: 20px;
}

.maintenance-hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: 3em;
  margin-bottom: 20px;
}

.hero-subheading {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.hero-tagline {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
}

/* Maintenance Services Section */
.maintenance-services {
  padding: 40px 20px;
  background: #ffffff;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.service-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.text-content {
  flex: 1;
  min-width: 300px;
}

.text-content h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.text-content ul {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  color: #000000;
  list-style: disc inside;
}

.image-content {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.image-content img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Training Programs Section */
.training-programs {
  padding: 60px 20px;
  background: #f4f4f4;
  text-align: center;
}

.training-container {
  max-width: 900px;
  margin: 0 auto;
}

.training-container h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #000000;
}

.training-container p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #000000;
}

.training-description {
  margin-top: 40px;
}

.register-btn {
  display: inline-block;
  background-color: #ffd700;
  color: #002d72;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.register-btn:hover {
  transform: translateY(-3px);
}

/* Registration Hero Section */
.register-hero {
  background: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('assets/training-background.jpg') no-repeat center 60% / cover;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: #ffffff;
}

.register-hero-overlay {
  text-align: center;
}

.register-hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: 3em;
  margin-bottom: 20px;
}

.register-hero p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
}

/* Form Section */
.register-form-section {
  padding: 60px 20px;
  background: #f4f4f4;
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #002d72;
  font-family: 'Poppins', sans-serif;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #002d72;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: #00194d;
  outline: none;
}

/* Submit Button */
.btn-submit {
  display: block;
  width: 100%;
  background-color: #ffd700;
  color: #002d72;
  padding: 14px;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.logo-button-row {
  display: flex;
  align-items: center;
  gap: 15px; /* space between button and logo */
  margin-top: 20px;
  flex-wrap: wrap;
}

.maintenance-logo {
  height: 60px; /* increase size */
  width: auto;
}

.section-divider {
  height: 2px;
  background-color: #002d72; /* deep blue */
  width: 100%;
  margin: 0;
}

#our-services.page-header.thin-header {
  position: relative;
  background: url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 40% / cover;
  height: 250px; /* thinner than standard hero */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 0 40px;
  color: #ffffff;
  overflow: hidden;
}

.services-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75); /* dark overlay */
  z-index: 1;
}

.services-heading-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

#services-overview {
  background: #f4f4f4;
  padding: 60px 20px;
  text-align: center;
}

.services-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border: 2px solid #002d72;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  width: 340px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.service-card h2 {
  font-family: 'Anton', sans-serif;
  font-size: 1.8em;
  margin: 10px 0;
  color: #000000;
}

.card-summary {
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  color: #000000;
  margin-bottom: 15px;
}

.card-detail {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95em;
  color: #000000;
  text-align: center;
  margin-top: 10px;
}

.card-detail ul {
  padding-left: 20px;
}

.learn-more-btn {
  display: inline-block;
  margin-top: auto;
  padding: 10px 20px;
  background-color: #ffd700;
  color: #002d72;
  font-weight: bold;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.learn-more-btn:hover {
  transform: translateY(-3px);
}

#freight-hero-section.page-header.thin-header {
  position: relative;
  background: url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 40% / cover;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 0 40px;
  color: #ffffff;
  overflow: hidden;
}

.services-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.services-heading-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;         /* Center the container horizontally */
  text-align: center;     /* Center the text inside */
}


.service-section {
  padding: 60px 40px;
  background: #ffffff;
}

.service-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.service-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.service-text h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 20px;
}

.service-text p,
.service-text ul li {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  line-height: 1.6em;
  color: #000000;
  margin-bottom: 20px;
}

.service-text ul {
  list-style: disc inside;
  padding-left: 20px;
}

.service-image {
  flex: 1;
  text-align: center;
  min-width: 300px;
}

.service-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.learn-more-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 24px;
  background-color: #ffd700;
  color: #002d72;
  font-weight: bold;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.learn-more-btn:hover {
  transform: translateY(-3px);
}

.contact-form-section {
  padding: 60px 20px;
  background-color: #002d72;
  color: #ffffff;
  text-align: center;
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.form-wrapper h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2em;
  margin-bottom: 20px;
  color: #000000;
}

.form-wrapper p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  color: #ffffff;
  margin-bottom: 30px;
}

.form-wrapper .btn {
  background-color: #ffd700;
  color: #002d72;
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  transition: transform 0.3s ease;
  display: inline-block;
}

.form-wrapper .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#storage-hero-section.page-header.thin-header {
  min-height: 280px;
  padding: 0 20px; /* remove vertical padding */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

#storage-hero-heading-container h1 {
  font-size: 2.6rem; /* Larger heading */
  margin-bottom: 10px;
}

#storage-hero-heading-container p {
  font-size: 1.2rem; /* Larger paragraph */
  max-width: 800px;
  padding: 0 20px;
}

.storage-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.storage-heading-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  text-align: center;
  box-sizing: border-box;
}

.storage-heading-container h1 {
  margin-bottom: 10px;
}

.storage-heading-container h1,
.storage-heading-container p {
  text-align: center;
  margin: 0 auto;
  padding: 0 20px;
}

.services-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.services-heading-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.service-section {
  padding: 60px 40px;
  background: #ffffff;
}

.service-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.service-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.service-text h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 20px;
}

.service-text p,
.service-text ul li {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  line-height: 1.6em;
  color: #000000;
  margin-bottom: 20px;
}

.service-text ul {
  list-style: disc inside;
  padding-left: 20px;
}

.service-image {
  flex: 1;
  text-align: center;
  min-width: 300px;
}

.service-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-form-section {
  padding: 60px 20px;
  background-color: #002d72;
  color: #000000;
  text-align: center;
  display: flex;
  flex-direction: column; /* Stack content vertically */
  align-items: center;     /* Center content horizontally */
}

.form-wrapper {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* Stack heading, paragraph, form */
  align-items: stretch;
  text-align: left;
}

.form-wrapper h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2em;
  margin-bottom: 20px;
  color: #000000;
}

.form-wrapper p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  color: #000000;
  margin-bottom: 30px;
}

.form-wrapper .btn {
  background-color: #ffd700;
  color: #002d72;
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  transition: transform 0.3s ease;
  display: inline-block;
}

.form-wrapper .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.fixed-request-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1a4e9e;
  color: #ffffff;
  text-align: center;
  padding: 12px 20px;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
}

.fixed-request-banner p {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1em;
}

.request-storage-btn {
  background-color: #ffd700;
  color: #002d72;
  padding: 8px 16px;
  margin-left: 10px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.request-storage-btn:hover {
  transform: translateY(-2px);
}

#customers-page.page-header.thin-header {
  position: relative;
  background: url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 40% / cover;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.customer-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.customer-heading-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

#rail-map-page.page-header.thin-header {
  position: relative;
  background: url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 40% / cover; /* Replace with your map-themed image */
  height: 400px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 60px 20px 50px; /* More top and bottom padding */
  color: #ffffff;
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
}

.rail-heading-container p {
  margin-bottom: 16px; /* Adds spacing between paragraphs */
  line-height: 1.6;
  font-size: 1.25rem;
}

.rail-heading-container h1 {
  font-size: 2.5rem;
}

.map-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

@media (max-width: 768px) {
  /* Ensure the header is taller on mobile */
  .map-hero-overlay {
    min-height: 450px;
  }
}



#rail-map-page .heading-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.rail-heading-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

#news-page-header.page-header.thin-header {
  position: relative;
  background: url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 40% / cover; /* Replace with a relevant image */
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.news-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

#news-page-header .heading-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  background: none; /* removes background image or gradient */
  background-color: transparent; /* removes solid background color */
}

#contact-page.page-header.thin-header {
  position: relative;
  background: url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 40% / cover;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

#contact-page .heading-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  background: none;
  background-color: transparent; /* removes solid background color */

}

/* ===== Careers Page Styling ===== */
#careers-hero.page-header.thin-header {
  position: relative;
  background: url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 40% / cover;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

#careers-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.75); /* Adjust darkness here */
  z-index: 1;
}

#careers-hero .career-heading-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  background: none;
  padding: 30px;
  border-radius: 10px;
}

/* Main Content Area */
#careers-page {
  background: #ffffff;
  padding: 60px 20px;
}

.content-section {
  margin-bottom: 60px;
  text-align: center;
}

.content-section h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 20px;
}

.content-section p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Team Section */
.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  width: 250px;
  text-align: center;
}

.team-member img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 10px;
}

.team-member h3 {
  font-family: 'Poppins', sans-serif;
  margin-top: 10px;
  margin-bottom: 5px;
}

/* Job Listings */
.job-listing {
  background: #f4f4f4;
  border: 2px solid #002d72;
  border-radius: 8px;
  padding: 30px;
  margin: 20px auto;
  max-width: 700px;
  text-align: left;
}

.job-listing h3 {
  font-family: 'Anton', sans-serif;
  color: #002d72;
  margin-bottom: 10px;
}

.job-listing p {
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 10px;
}

.apply-btn {
  display: inline-block;
  background-color: #ffd700;
  color: #002d72;
  padding: 10px 20px;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.apply-btn:hover {
  transform: translateY(-3px);
}

/* Apply Form */
.form-section form {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 40px auto 0;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #002d72;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #002d72;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
}

input:focus, textarea:focus {
  border-color: #00194d;
  outline: none;
}



/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #002d72; /* Match your header background */
  padding: 10px 0;
  list-style: none;
  margin: 0;
  top: 100%;
  left: 0;
  min-width: 220px;
  z-index: 1000;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #ffd700; /* Gold text */
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 1em;
}

.dropdown-menu li a:hover {
  background-color: #00194d;
}

/* Show submenu on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.dots-container {
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #717171;
}

#company-culture .culture-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center; /* Optional: if you want to center the heading and text */
}

.careers-form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.careers-form-group input,
.careers-form-group textarea {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.maintenance-hero .hero-overlay {
  text-align: center;
  padding: 60px 20px;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.maintenance-hero .hero-text-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.maintenance-hero .hero-tagline {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ffffff;
}

.call-today {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #002d72; /* or your brand accent color */
}

/* Thin Header with Background */



/* Centered Blog Text Layout */
.blog-container {
  max-width: 750px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.blog-container p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px; /* Increased from 20px to 32px */
}

#rate-request-page.page-header.thin-header {
  background: url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 40% / cover;
  position: relative;
  flex-direction: column; /* ✅ This fixes the stacking */
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 40px 20px;
  overflow: hidden;
}

#rate-request-page .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.75); /* Dark overlay */
  z-index: 1;
}

#rate-request-page .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Optional: vertically center if needed */
  text-align: center;
  height: 100%; /* Optional if you want to vertically center */
}

#rate-intro {
  padding: 60px 20px;
}

#rate-intro .intro-text-container {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: center;
  color: #000000;
}

#rate-intro .intro-text-container p {
  margin-bottom: 20px;
}

/* Container cleanup */
#rate-form-section {
  background-color: #f9f9f9; /* Light neutral background */
  padding: 60px 20px;
}

.rate-form-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
  background: none; /* Removes unwanted white background */
  box-shadow: none; /* In case any shadow is causing layering */
}

/* Input styling */
.form-group input,
.form-group select,
.form-group textarea {
  width: 95%; /* Slightly narrower fields */
  max-width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

/* Ensure label spacing is consistent */
.form-group {
  margin-bottom: 20px;
}

.register-hero.thin-header {
  background: url('assets/diesel-mechanic-training.jpg') no-repeat center center/cover;
  height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 40px 20px;
  overflow: hidden;
}

.register-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75); /* dark overlay */
  z-index: 1;
}

.register-hero .register-hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

.register-form-section .form-wrapper {
  max-width: 600px; /* Controls how wide the form gets */
  margin: 0 auto; /* Centers the form */
  padding: 20px; /* Adds space inside the form wrapper */
  box-sizing: border-box;
}

.register-form-section .form-group {
  margin-bottom: 20px; /* Adds spacing between form elements */
}

.register-form-section input,
.register-form-section textarea {
  width: 100%; /* Makes input fill the container width */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.register-hero-overlay h1,
.register-hero-overlay p {
  color: #ffffff;
}


.contact-form-section .login-container {
  max-width: 500px; /* Controls overall form width */
  margin: 0 auto; /* Centers the form horizontally */
  padding: 20px;
  box-sizing: border-box;
}

.contact-form-section form .form-group {
  margin-bottom: 15px;
}

.contact-form-section form input {
  width: 100%;
  max-width: 100%; /* Prevents input from overflowing */
  padding: 10px;
  font-size: 16px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.service-card .card-detail ul {
  text-align: left;
  padding-left: 20px; /* adds indentation for bullets */
  margin: 0;
  list-style-type: disc; /* ensures bullets show as normal */
}

.service-card .card-detail li {
  text-align: left;
  margin-bottom: 5px; /* optional spacing between bullets */
}

.section-divider {
  width: 100vw; /* Full viewport width */
  height: 2px; /* or however thick you want the line */
  background-color: #002d72; /* or any color you want */
}

.section-divider {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}

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

.dots-container {
  text-align: center;
  margin-top: 10px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #333;
}

.maintenance-hero h1,
.maintenance-hero .hero-subheading {
  color: #ffffff;
}

#rate-request-page {
  position: relative;
  height: 300px; /* or however tall your hero should be */
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center;     /* center vertically */
  text-align: center;      /* center text inside container */
}

#rate-request-page .container {
  z-index: 2;
}

#rate-request-page h1,
#rate-request-page .contact-subheading {
  margin: 0;
  padding: 5px 0;
  color: #ffffff; /* Optional: make sure it contrasts well */
}

.storage-capacity-section {
  background-color: #1A4E9E; /* Blue background */
  color: #ffffff; /* White text */
  padding: 60px 40px;
  display: flex;
  justify-content: center;
}

.storage-content {
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.storage-text {
  flex: 1 1 500px;
  text-align: left;
  font-size: 18px;
  color: white;
}

.storage-text h2 {
  color: white;
}

.storage-text p {
  color: white;
}

.storage-text ul {
  padding-left: 20px;
  list-style-type: disc;
  color: white !important; /* makes list items white too */
}

.storage-image {
  flex: 1 1 400px;
  text-align: right;
}

.storage-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.maintenance-intro {
  padding: 60px 20px;
  background: #ffffff;
  text-align: center;
}

.maintenance-intro h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #002d72;
}

.maintenance-intro p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  line-height: 1.6;
  color: #000000;
  max-width: 800px;
  margin: 0 auto;
}

/* === Railcar Storage Contact Page === */
#storage-contact-hero.page-header.thin-header {
  position: relative;
  background: url('assets/storage.jpg') no-repeat center center/cover;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 40px;
  color: #ffffff;
  overflow: hidden;
  text-align: left;
}

.storage-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

#storage-contact-hero .heading-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.storage-contact-section {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.storage-contact-section h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #002d72;
}

.storage-contact-section p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 30px;
}

.storage-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;
}

.storage-form-wrapper label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #002d72;
  font-family: 'Poppins', sans-serif;
}

.storage-form-wrapper input,
.storage-form-wrapper textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #002d72;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  margin-bottom: 20px;
}

.storage-form-wrapper input:focus,
.storage-form-wrapper textarea:focus {
  border-color: #00194d;
  outline: none;
}

.storage-form-wrapper .btn {
  background-color: #ffd700;
  color: #002d72;
  padding: 14px 28px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.storage-form-wrapper .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.nova-hero {
  position: relative;
  background: url('assets/cinova.jpg') no-repeat center center/cover; /* Update path */
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
}

.nova-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75); /* Dark overlay */
  z-index: 1;
}

.nova-heading-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.nova-heading-container h1 {
  font-family: 'Anton', sans-serif;
  font-size: 3em;
  margin-bottom: 10px;
  color: #ffffff;
}

.nova-heading-container .date {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  color: #ffffff;
}

.nav-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

/* Reset inherited underline hover effect */
.nav-right li a.login-btn::after {
  content: none;
}

.hamburger {
  display: none;
}

.login-btn,
.dashboard-btn {
  background-color: #ffd700;
  color: #002d72 !important;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-left: 30px;
}

.login-btn:hover,
.dashboard-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ================= MOBILE RESPONSIVE STYLES ================= */
@media (max-width: 768px) {

  /* Header: show only logo and hamburger */
  .header-container {
    min-height: 105px; /* Increase the height to fit logo + spacing */
  }
 
  .nav-left,
  .nav-right,
  .dropdown-menu {
    display: none;
  }

  .hamburger {
    display: block;
    font-size: 2em;
    background: none;
    border: none;
    color: #ffd700;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1001;
  }

  .header-spacer {
    display: none;
  }

  .logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    padding-top: 10px;   /* Adjust as needed */
  }

  .logo {
    max-height: 130px;
    height: 125px;
    width: auto;
    display: block;
    padding-top: 6px;   /* Adjust as needed */
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.95);
    color: white;
    padding: 80px 20px;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu a {
    color: white;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 1.2rem;
  }

  .mobile-overlay {
    content: '';
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Full viewport height */
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .mobile-overlay.active {
    display: block;
  }

  /* Hero Section */
  .heading-container-home h1 {
    font-size: 2em;
  }

  /* About Section */
  .about-container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    overflow-x: hidden;
  }

  .about-image {
    margin-top: 20px;
    margin-bottom: 0;     /* Remove space below */
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
  }

  .about-image img {
    max-width: 280px; /* Adjust as needed */
    width: 100%;
    height: auto;
    display: block;
  }

    .about-text {
      text-align: center;
      padding: 0 20px; /* Adds horizontal padding for readability */
    }
  
    .about-text ul {
      padding-left: 0; /* Removes default left indent on bullets */
      list-style-position: inside; /* Aligns bullets with centered text */
    }
  

  .about-text h2 {
    text-align: center;
  }

  .about-text p {
    margin-bottom: 20px; /* adds space below each paragraph */
  }

  .about-text p,
  .about-text h2 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
  }

  .about-text a.about-btn {
    display: block;
    margin: 20px auto 0;
    padding: 14px 28px;
    background-color: #ffd700;
    color: #002d72;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    width: fit-content;
    box-sizing: border-box;
    transition: transform 0.3s ease;
  }
  
  .about-text a.about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  /* Services Boxes */
  .services-split {
    flex-direction: column;
    gap: 20px;
  }

  .service-box {
    height: auto;
  }

  .service-overlay {
    padding: 30px 20px;
  }

  .learn-more-btn {
    margin-bottom: 20px;
  }

  /* Community Section */
  .community-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .community-image {
    order: -1;
  }

  .community-text {
    text-align: center;
    margin: 0 auto;
  }

  /* Footer Navigation */
  .footer-nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .footer-nav ul li {
    text-align: center;
  }
}

/* === Mobile Styles === */
@media (max-width: 768px) {
  /* Ensure the header is taller on mobile */
  .page-header {
    min-height: 300px; /* or higher if needed */
    padding-top: 60px;
    text-align: center;
  }

  .heading-container-about h1,
  .heading-container-about p {
    text-align: center;
    padding: 0 20px; /* Adds horizontal spacing */
  }

  /* Center-align all section headings and paragraphs */
  h1, h2, h3, h4, h5, h6,
  p {
    text-align: center;
  }

  .about-text ul {
    padding-left: 0;
    list-style-position: inside;
    text-align: center;
  }

  /* Adjust nav spacing or stacking if needed */
  .nav-left, .nav-right {
    flex-direction: column;
    align-items: center;
  }

  .nav-left, .nav-right-wrapper {
    display: none;
  }

  .nav-left li, .nav-right li {
    margin: 5px 0;
  }
}

/* Gallery Section */
.service-section-haul {
  padding: 60px 20px;
  background-color: #f5f5f5;
}

.gallery-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.gallery-item p {
  margin: 10px 0;
  font-weight: 600;
  font-size: 1rem;
}

/* === Mobile Styles for Freight Page === */
@media (max-width: 768px) {

  /* Increase space in the hero header */
  .thin-header.page-header {
    min-height: 300px;
    padding-top: 60px;
    padding-bottom: 40px;
    text-align: center;
  }

  .services-heading-container h1,
  .services-heading-container p {
    text-align: center;
    padding: 0 20px;
  }

  #our-services.page-header.thin-header {
    min-height: 340px; /* slightly taller than usual */
    padding: 50px 20px 40px; /* add bottom space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  #our-services .services-heading-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;

    text-align: center;         /* Centers inline text content */
    display: flex;
    flex-direction: column;
    align-items: center;        /* Horizontally centers block-level elements */
  }

  #our-services h1,
#our-services p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

  /* Center-align text throughout the page */
  h1, h2, h3, p {
    text-align: center;
    padding: 0 15px;
  }

  /* Reduce space below bullet list */
  .service-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
  }

  /* Optional: Center bullet text too */
  .service-text ul li {
    text-align: left; /* or 'center' if you want bullets centered */
  }

  /* Adjust the image/text layout to stack vertically */
  .service-container {
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
  }

  .service-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* Tighten spacing before "Common Commodities" section */
  .gallery-heading {
    margin-top: 20px;
  }

  /* Mobile-friendly gallery layout */
  .gallery-container {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    padding: 0 15px;
  }

  .gallery-item p {
    font-size: 0.95rem;
    margin: 10px 0 15px;
  }

  /* CTA section spacing fix */
  .contact-form-section {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {

  /* ===== HEADER ADJUSTMENT ===== */
  .thin-header.page-header {
    min-height: 320px;
    padding-top: 60px;
    padding-bottom: 40px;
    text-align: center;
  }

  .services-heading-container h1,
  .services-heading-container p {
    text-align: center;
    padding: 0 20px;
  }

  /* ===== TEXT ALIGNMENT ===== */
  h1, h2, h3, p {
    text-align: center;
    padding: 0 15px;
  }

  /* ===== SERVICE CONTAINER STACKING ===== */
  .service-container,
  .storage-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }

  .service-image img,
  .storage-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* ===== PARAGRAPH SPACING ===== */
  .service-text ul {
    margin: 0 auto 20px;
    padding-left: 20px;
  }

  /* ===== CTA / FORM SECTION ===== */
  .contact-form-section .form-wrapper {
    padding: 30px 20px;
  }

  .contact-form-section h2,
  .contact-form-section p {
    text-align: center;
    margin-bottom: 20px;
  }

  /* ===== FIXED BOTTOM BANNER ===== */
  .fixed-request-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #001f4d;
    color: white;
    text-align: center;
    padding: 12px 10px;
    font-size: 1rem;
    z-index: 999;
  }

  .fixed-request-banner p {
    margin: 0;
    font-size: 1rem;
  }

  .request-storage-btn {
    display: inline-block;
    margin-top: 8px;
    background: #e6c200;
    color: #00194d;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.95rem;
    text-decoration: none;
  }

  /* Ensure text wraps properly */
  .fixed-request-banner p,
  .fixed-request-banner a {
    display: block;
  }
}

#maintenance-heading {
  color: #000000; /* black */
}

@media (max-width: 768px) {

  /* Hero Section */
  .maintenance-hero {
    min-height: 380px; /* Increase overall height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 40px; /* top, sides, bottom */
  }

  .hero-overlay {
    width: 100%;
    padding-bottom: 30px; /* Add extra space just under paragraph */
  }

  .hero-overlay h1,
  .hero-overlay p {
    text-align: center;
    padding: 0 20px;
  }

  /* General text and headings */
  h1, h2, h3, p {
    text-align: center;
    padding: 0 15px;
  }

  /* === MAINTENANCE SERVICES SECTION === */
  .service-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0 20px;
  }

  .image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* Move image above text */
  .image-content {
    order: -1;
  }

  .text-content ul {
    padding-left: 20px;
    text-align: left;
    margin-bottom: 20px;
  }

  .call-today {
    text-align: center;
    margin-top: 20px;
  }

  /* === TRAINING SECTION === */
  .training-container {
    padding: 40px 20px;
  }

  .training-description {
    margin-top: 20px;
    text-align: center;
  }

  .register-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 30px;
    font-size: 1.25rem;
  }

}

@media (max-width: 768px) {

  /* === HERO SECTION === */
  #customers-page.page-header.thin-header {
    min-height: 360px;
    padding: 40px 20px 30px; /* reduced top padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Ensures horizontal centering */
    text-align: center;
    box-sizing: border-box;
  }

  .customer-heading-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
  }

  .customer-heading-container h1,
  .customer-heading-container p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }


  /* === CUSTOMER SECTION === */
  .customer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    gap: 25px;
    text-align: center;
  }

  .customer-image img {
    width: 80%;
    width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .customer-text h2 {
    padding-bottom: 10px;
  }

  .customer-text h2,
  .customer-text p {
    text-align: center;
    padding: 0 10px;
  }

  .customer-text p {
    margin-bottom: 20px;
  }

}

@media (max-width: 768px) {

  /* === HERO SECTION === */
  #careers-hero.page-header.thin-header {
    min-height: 320px;
    padding: 40px 20px 30px; /* reduce vertical padding */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .career-heading-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
  }

  .career-heading-container h1 {
    font-size: 2.2rem; /* increased from typical 1.5-1.8rem */
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .career-heading-container p {
    font-size: 1.2rem; /* increased slightly */
    line-height: 1.4;
  }


  .career-heading-container h1,
  .career-heading-container p {
    text-align: center;
    padding: 0 20px;
  }

  /* === GENERAL HEADINGS AND PARAGRAPHS === */
  h1, h2, h3, p {
    text-align: center;
    padding: 0 15px;
  }

  /* === MEET THE TEAM SECTION === */
  .team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px; /* reduced space */
  }

  .team-member {
    margin-bottom: 30px;
    text-align: center;
  }

  .team-member img {
    width: 220px;
    height: auto;
    border-radius: 8px;
  }

  /* === EMPLOYMENT OPPORTUNITIES === */
  .job-listing {
    background-color: #f9f9f9;
    margin: 20px auto;
    padding: 20px 15px;
    border-radius: 8px;
    max-width: 500px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
  }

  .job-listing p {
    margin-bottom: 15px;
  }

  .job-listing .apply-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #e6c200;
    color: #002d72;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
  }

  /* === COMPANY CULTURE SECTION === */
  .culture-container {
    padding: 0 20px;
  }

  /* === FORM SECTION === */
  .careers-form-container {
    padding: 0 15px;
  }

  .careers-form-group {
    margin-bottom: 20px;
  }

  .careers-form-group input,
  .careers-form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
  }

  .form-section button.btn {
    margin-top: 15px;
    width: 100%;
  }
}

@media (max-width: 768px) {

  /* === RAIL MAP HERO SECTION === */
  #rail-map-page.page-header.thin-header {
    min-height: 430px;
    padding-top: 60px;
    padding-bottom: 40px;
    text-align: center;
  }
 
  .rail-heading-container h1,
  .rail-heading-container p {
    text-align: center;
    padding: 0 20px;
    font-size: 1rem;
  }

  .rail-heading-container h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .rail-heading-container p:last-of-type {
    margin-bottom: 20px; /* Add space under last paragraph */
  }

}

@media (max-width: 768px) {

  /* === NEWS HERO HEADER === */
  #news-page-header.page-header.thin-header {
    min-height: 360px;
    padding-top: 60px;
    padding-bottom: 40px;
    text-align: center;
  }

  #news-page-header .heading-container h1 {
    font-size: 2.2em; /* increase from the default, adjust as needed */
  }

  #news-page-header .heading-container p {
    font-size: 1.1em; /* optional: slightly increase paragraph size too */
  }

}

@media (max-width: 768px) {

  /* === CONTACT PAGE HERO HEADER === */
  #contact-page.page-header.thin-header {
    min-height: 240px;
    padding: 40px 20px 20px; /* reduce vertical spacing */

    text-align: center;
  }

  #contact-page h1 {
    font-size: 2.25rem; /* increase heading size */
    margin: 0;
  }

  .heading-container h1 {
    font-size: 2rem;
    text-align: center;
    padding: 0 20px;
  }

  /* === GET IN TOUCH BOX === */
  .contact-form-section .form-wrapper {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
  }

  .form-wrapper h2,
  .form-wrapper p {
    text-align: center;
    padding: 0 15px;
  }

  .form-wrapper p {
    margin-bottom: 15px;
  }

  .form-wrapper a.rate-link {
    display: inline-block;
    margin-top: 5px;
    word-wrap: break-word;
  }

  /* === FORM FIELD WIDTHS === */
  .form-group {
    margin-bottom: 20px;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

  .btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {

  /* Home Hero Section */
  #hero-home {
    min-height: 380px;
    padding-top: 22px;
    padding-bottom: 40px;
    text-align: center;
    position: relative;
    background-attachment: scroll; /* Prevent mobile zoom/flicker */
    overflow: visible !important;
    height: auto; /* Instead of 70vh */
  }

  .heading-container-home h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }

  .heading-container-home h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .heading-container-home p {
    font-size: 1.2rem;
    padding: 0 20px;
    margin-bottom: 20px;
  }

  .learn-more-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .services-heading {
    text-align: center;
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .services-heading-container h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px; /* Optional, for spacing from screen edge */
  }
}

#about-hero.page-header {
  position: relative;
  background: url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 40% / cover;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 0 40px;
  color: #ffffff;
  overflow: hidden;
}

@media (max-width: 768px) {
  #about-hero.page-header {
    min-height: 320px; /* increased height */
    padding: 60px 20px 40px; /* top, sides, bottom */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .heading-container-about {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .heading-container-about h1,
  .heading-container-about p {
    text-align: center;
    padding: 0 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .heading-container-about h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }

  .heading-container-about p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  #freight-hero.page-header.thin-header {
    padding: 60px 20px 40px;
    text-align: center;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .services-heading-container {
    text-align: center;
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
    width: 100%;
  }

  .services-heading-container h1,
  .services-heading-container p {
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .service-section {
    padding: 0 20px;
    box-sizing: border-box;
  }

  .service-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .service-text,
  .service-image {
    width: 100%;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .service-text h2,
  .service-text p,
  .service-text ul {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .service-text ul {
    padding-left: 0; /* Remove indent if needed */
    list-style-position: inside;
  }

  .service-image img {
    width: 100%;
    height: auto;
    display: block;
  }
}


.header-spacer {
  display: none;
}

@media (max-width: 768px) {
  .header-spacer {
    width: 32px; /* or however wide your hamburger is */
    display: block;
  }
}

.mobile-menu,
.mobile-overlay {
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.95);
    color: white;
    padding: 80px 20px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-overlay.active {
    display: block;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
}

@media (max-width: 768px) {
  .service-section {
    margin-bottom: 30px; /* Reduce default bottom margin */
    padding-bottom: 0;
  }

  .gallery-heading {
    margin-top: 0;
    padding-top: 0;
  }

  .gallery-container {
    margin-top: 10px; /* Small spacing from heading */
  }
}

@media (max-width: 768px) {
  .learn-more-btn {
    display: inline-block;
    margin: 20px auto 0;
    text-align: center;
  }

}

@media (max-width: 768px) {
  #storage-hero.page-header.thin-header {
    min-height: 380px; /* increased height */
    padding: 60px 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center; /* Horizontally center all children */
    box-sizing: border-box;
  }

  .services-heading-container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .services-heading-container h1,
  .services-heading-container p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 768px) {
  #meet-the-team {
    margin-bottom: 20px; /* Reduce space below the section */
    padding-bottom: 0;
  }

  .team-container {
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

.mobile-submenu {
  width: 100%;
  margin-top: 5px;   /* Reduce space above */
  margin-bottom: 15px; /* Add space below */
}

.mobile-menu a,
.submenu-toggle {
  display: block;
  padding: 14px 20px;
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  text-align: left;
  border: none;
  background: none;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}

.submenu-toggle i {
  float: right;
}

.submenu-links {
  display: none;
  flex-direction: column;
  background-color: #e6c200; /* match mobile menu background */
}

.submenu-links a {
  padding: 10px 30px;
  color: #000000;
  text-decoration: none;
}

.submenu-links a:hover {
  background-color: #e6c200;
}

@media (max-width: 768px) {
  #rate-request-page.page-header.thin-header {
    height: 220px; /* slightly reduced from 250px */
    padding: 30px 20px 25px; /* top, sides, bottom */
  }
}

.btn-rate {
  background-color: #ffd700;
  color: #002d72;
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  margin-top: 20px;
  cursor: pointer;
}

.btn-rate:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .btn-rate {
    display: block;
    margin: 20px auto 0;
  }
}

@media (max-width: 768px) {
  .maintenance-services h2 {
    font-size: 1.4rem; /* or 1.3rem for even smaller */
    margin-bottom: 10px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .training-programs {
    padding: 40px 20px 60px; /* top, sides, bottom */
  }
}

@media (max-width: 768px) {
  .fixed-request-banner {
    display: none;
  }
}

#track-space-section .service-container {
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

#track-space-section .service-text {
  max-width: 700px;
  width: 100%;
  text-align: center;
}

#track-space-section .service-text ul {
  text-align: left;
  display: inline-block;
  margin: 0 auto;
  padding-left: 20px;
}

.btn-requests {
  background-color: #ffd700;         /* Gold */
  color: #002d72;                    /* Deep blue text */
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  margin-top: 20px;
  cursor: pointer;
}

.btn-requests:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .btn-requests {
    display: block;
    margin: 20px auto 0; /* top auto bottom */
    text-align: center;
  }
}

/* === Storage Request Hero Section === */
#storage-request-hero.page-header.thin-header {
  position: relative;
  background: url('assets/storage.jpg') no-repeat center center/cover;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.storage-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

#storage-request-hero .heading-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

#storage-request-hero .heading-container h1,
#storage-request-hero .heading-container p {
  color: #ffffff;
}

/* === Storage Form Section === */
.storage-contact-section {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.storage-contact-section h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #002d72;
}

.storage-contact-section p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 30px;
}

.storage-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;
}

.storage-form-wrapper label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #002d72;
  font-family: 'Poppins', sans-serif;
}

.storage-form-wrapper input,
.storage-form-wrapper textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #002d72;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  margin-bottom: 20px;
}

.storage-form-wrapper input:focus,
.storage-form-wrapper textarea:focus {
  border-color: #00194d;
  outline: none;
}

.storage-form-wrapper .btn {
  background-color: #ffd700;
  color: #002d72;
  padding: 14px 28px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.storage-form-wrapper .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* === Desktop + Default === */
.btn-application {
  background-color: #ffd700;         /* Gold */
  color: #002d72;                    /* Navy Blue */
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}

.btn-application:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .btn-application {
    display: block;
    margin: 20px auto 0;
    padding: 16px 24px;        /* Slightly taller, slightly narrower */
    font-size: 1rem;           /* Slightly smaller for better fit */
    text-align: center;
  }
}

@media (max-width: 768px) {
  .blog-container {
    padding: 40px 12px; /* reduced from 20px to 12px */
  }
}

.mobile-login-btn {
  display: block;
  background-color: #ffd700;
  color: #002d72;
  text-align: center;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  padding: 12px;
  border-radius: 4px;
  margin: 20px 20px 0;
  text-decoration: none;
}

.mobile-login-btn:hover {
  background-color: #e6c200;
}

@media (max-width: 768px) {
  .mobile-login-btn {
    color: #ffd700; /* reduced from 20px to 12px */
  }
}

.btn-create {
  background-color: #ffd700;         /* Gold */
  color: #002d72;                    /* Deep blue text */
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 1.1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 20px;
}

.btn-create:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-user {
  background-color: #ffd700;         /* Gold */
  color: #002d72;                    /* Deep blue text */
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 1.1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 20px;
}

.btn-user:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .btn-user {
    display: block;
    margin: 20px auto 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .storage-content {
    display: flex;
    flex-direction: column; /* Stack image above text */
    align-items: center;
  }

  .storage-image {
    order: -1; /* Move image to the top */
    width: 100%;
    padding-bottom: 20px;
  }

  .storage-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .storage-text {
    text-align: center;
    padding: 0 20px;
  }

  .storage-text ul {
    padding-left: 0;
    list-style-position: inside;
  }

  .storage-text p:last-of-type {
    margin-bottom: 10px;
  }

}

/* GENERAL STYLING */
#about-home .about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
}

/* Ensure image doesn’t overflow */
#about-home .about-image img {
  width: 100%;
  max-width: 350px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Text area */
#about-home .about-text {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

/* Mobile-specific centering fix */
@media (max-width: 768px) {
  #about-home {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
  }

  #about-home .about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
  }

  #about-home .about-text,
  #about-home .about-image {
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

  #about-home .about-image {
    order: -1; /* move image above text */
    margin-bottom: 20px;
  }

  #about-home .about-image img {
    width: 200px;
    height: auto;
    display: block;
    padding-top: 20px;
  }

  #about-home .about-btn {
    display: inline-block;
    margin-top: 25px;
    font-size: 1.1rem;
    padding: 14px 30px;
  }

  #about-home .about-text h2 {
    margin-top: 10px; /* reduce space above the heading */
  }
  
}


#freight-hero-section {
  min-height: 220px;
  padding: 50px 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  position: relative;
}

#freight-hero-section .freight-heading-container h1 {
  font-size: 2.8rem; /* Larger heading */
  margin-bottom: 10px;
}

#freight-hero-section .freight-heading-container p {
  font-size: 1.25rem; /* Larger paragraph text */
  line-height: 1.6;
}



#freight-hero-section.page-header.thin-header {
  height: 180px; /* reduce from previous 250px or more */
  padding: 20px 40px; /* less vertical padding */
}

.freight-heading-container h1 {
  font-size: 3rem; /* increase heading size */
}

.freight-heading-container p {
  font-size: 1.4rem; /* increase subheading size */
}


.freight-heading-container {
  position: relative;
  z-index: 2;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  box-sizing: border-box;
}

#freight-hero-section h1,
#freight-hero-section p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* === Freight Description Section Styling === */
#freight-description-section .freight-container {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

#freight-description-section .freight-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  border-radius: 6px;
}

#freight-description-section .freight-text {
  max-width: 600px;
  font-size: 1rem;
  line-height: 1.6;
}

.freight-text h2 {
  font-size: 1.25 rem;
}

.freight-text p {
  font-size: 1.1 rem;
}

/* === Mobile Adjustments === */
@media (max-width: 768px) {
  #freight-description-section .freight-container {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
    gap: 30px;
  }

  #freight-description-section .freight-image {
    margin-bottom: 20px;
  }

  #freight-description-section .freight-text ul {
    text-align: left;
    padding-left: 20px;
  }

  #freight-description-section .freight-text h2 {
    font-size: 2rem;
    margin-top: 10px;          /* Reduce space above */
    margin-bottom: 30px;       /* Add space below */
  }

  #freight-description-section .freight-text p,
  #freight-description-section .freight-text li {
    font-size: 1rem;
  }
}

/* Base styling */
#storage-hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  min-height: 340px;
  position: relative;
}

#storage-hero-heading-container h1,
#storage-hero-heading-container p {
  color: white;
  max-width: 800px;
  margin: 0 auto 10px;
  padding: 0 20px;
}

/* Mobile-specific tweaks */
@media (max-width: 768px) {
  #storage-hero-section {
    
    min-height: 360px;
  }

  #storage-hero-heading-container h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  #storage-hero-heading-container p {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  #storage-hero-heading-container {
    padding: 0 20px;
  }

  #storage-hero-heading-container p {
    margin-top: 12px; /* adds space above the paragraph */
  }
}

/* === STORAGE SECTION BASE === */
#storage-description-section {
  padding: 60px 20px;
  background: #ffffff;
}

.storage-description-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.storage-description-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 6px;
}

.storage-description-text {
  max-width: 600px;
}

.storage-description-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #000000;
}

.storage-description-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.storage-description-text ul {
  padding-left: 20px;
  list-style-type: disc;
}

/* === MOBILE STYLING === */
@media (max-width: 768px) {
  .storage-description-container {
    flex-direction: column;
    text-align: center;
  }

  .storage-description-image {
    margin-bottom: 20px;
  }

  .storage-description-text {
    padding: 0 15px;
  }

  .storage-description-text h2 {
    font-size: 1.8rem;
    margin-top: 10px;             /* Reduce space above the heading */
    margin-bottom: 16px;          /* Increase space below heading */
    text-align: center;
  }

  .storage-description-text p,
  .storage-description-text ul {
    font-size: 1rem;
  }

  .storage-description-text ul {
    text-align: left;
    margin: 0 auto;
    display: inline-block;
  }
}

/* === BASE STYLING === */
#storage-capacity-section {
  padding: 60px 20px;
  background: #002d72;
}

.storage-capacity-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
}

.storage-capacity-image img {
  max-width: 700px;
  width: 100%;
  border-radius: 6px;
  height: auto;
}

.storage-capacity-text {
  max-width: 600px;
}

.storage-capacity-text h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.storage-capacity-text p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.storage-capacity-text ul {
  padding-left: 20px;
  list-style-type: disc;
  margin-bottom: 20px;
}

.storage-capacity-text h2,
.storage-capacity-text p,
.storage-capacity-text ul,
.storage-capacity-text li {
  color: #ffffff;
}

/* === MOBILE STYLING === */
@media (max-width: 768px) {
  .storage-capacity-container {
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 30px;
  }

  .storage-capacity-image {
    margin-bottom: 20px;
  }

  .storage-capacity-text {
    padding: 0 15px;
    margin-top: 10px;
  }

  #storage-capacity-section .storage-capacity-text h2,
  #storage-capacity-section .storage-capacity-text p {
    text-align: center; /* Keep heading and paragraph centered if desired */
  }

  #storage-capacity-section .storage-capacity-text ul {
    padding-left: 20px;  /* Proper bullet indentation */
    margin-bottom: 20px;
  }

  .storage-capacity-text h2 {
    font-size: 2rem;
  }

  .storage-capacity-text p,
  .storage-capacity-text ul {
    font-size: 1rem;
  }

  .storage-capacity-text ul {
    text-align: left;
    margin: 0 auto;
    display: inline-block;
  }
}

@media (max-width: 768px) {
  #storage-hero-section.page-header.thin-header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .storage-heading-container p {
    margin-bottom: 20px; /* Add space below paragraph */
    
  }

  #storage-hero-heading-container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    text-align: center;
    margin-top: 40px;
  }

  #storage-hero-heading-container h1 {
    font-size: 1.9rem;
    margin-bottom: 12px;
  }

  #storage-hero-heading-container p {
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 0;
  }
}

@media (max-width: 768px) {
  .register-hero.thin-header {
    min-height: 380px; /* Increased height for spacing */
    padding: 40px 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  .register-hero-overlay {
    max-width: 100%;
    padding: 0 20px;
    text-align: center;
  }

  .register-hero-overlay h1 {
    font-size: 1.8rem; /* Slightly smaller for better fit */
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .register-hero-overlay p {
    font-size: 1rem;
    line-height: 1.5;
  }
}

@media (max-width: 768px) {
  #freight-description-section .freight-text h2 {
    font-size: 1.6rem; /* Adjust as needed */
    text-align: center; /* Optional: center-align on mobile */
    margin-bottom: 15px; /* Optional: spacing below heading */
  }
}

@media (max-width: 768px) {
  .blog-content p {
    font-size: 1.2em;
  }
}

.animated-train-track {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  height: 60px;
  overflow: hidden;
  background-color: transparent;
  margin: 0;
  padding: 0;
}

.train {
  position: absolute;
  left: -200px;
  bottom: 0;
  width: 200px;
  height: 60px;
  background: url('assets/loco.png') no-repeat;
  background-size: contain;
  animation: train-move 12s linear infinite;
}

@keyframes train-move {
  0% {
    left: calc(-20vw - 20px);  /* shift 20px further left */
  }
  100% {
    left: calc(100vw - 20px);  /* shift 20px left on the exit too */
  }
}

.mobile-menu-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #e6c200; /* Yellow */
  cursor: pointer;
  z-index: 1001;
}

#about-section-home {
  padding: 60px 20px;
  background-color: #fff;
}

.about-section-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-section-text-pikachu {
  flex: 1;
  text-align: left;
  max-width: 600px;
}

.about-section-text-pikachu h1 {
  font-size: 1.25 rem;
}

.about-section-text-pikachu h2 {
  margin-bottom: 25px;
}

#about-section-home .about-section-text-pikachu p {
  font-size: 1.2rem !important;
}

.about-section-image {
  flex: 1;
  max-width: 600px;
}

.about-section-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px; /* You can increase or decrease the value */
}

.about-section-btn {
  display: inline-block;
  padding: 14px 28px;
  color: #ffd700;
  background-color: #002d72;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 5px;
  text-decoration: none;
  transition: transform 0.3s ease;
  margin-top: 20px;
}

.about-section-btn:hover {
  transform: translateY(-3px);
  background-color: #002d72; /* Darker blue on hover */
}

#storage-hero-section.page-header.thin-header {
  position: relative;
  background: url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 40% / cover;
  height: 250px;
  display: flex;
  align-items: center;         /* Vertically center children */
  justify-content: center;     /* Center horizontally (or use flex-start for left alignment) */
  text-align: center;
  padding: 0 20px;
  color: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
}

.storage-heading-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

#storage-hero-heading-container h1 {
  font-size: 2rem;
  margin: 0 0 10px;
}

#storage-hero-heading-container p {
  font-size: 1.125rem;
  margin: 0;
}

.white-divider {
  height: 1px;
  background-color: white;
  width: 100%;
}

.freight-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* You can adjust the 0.5 opacity as needed */
  z-index: 1;
} 

@media (max-width: 600px) {
  #hero-home {
    background-position: 35% center; /* Shifted to the left */
  }
}



@media (max-width: 768px) {
  .footer-nav {
    margin-top: 20px; 
  }
}

#mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 768px) {
  .about-text li {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  #freight-hero-section {
    min-height: 320px; /* Or increase to 350px, 400px depending on your needs */
  }
}

@media (max-width: 768px) {
  .contact-form-section p {
    margin-bottom: 24px; /* Adjust to your preference */
  }
}

@media (max-width: 768px) {
  .freight-text h2 {
    font-size: 1.25 rem;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .text-content h2 {
    margin-bottom: 15px;
  }
}

#interchange-service-section {
  padding: 60px 20px;
  background-color: #f9f9f9; /* Optional: light background for contrast */
}

#interchange-service-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

#interchange-service-text {
  flex: 1;
}

#interchange-service-image {
  flex: 1;
}

#interchange-service-image img {
  width: 100%;
  height: auto;
  border-radius: 12px; /* Optional: for visual polish */
}

@media (max-width: 768px) {
  #interchange-service-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 24px;
  }

  #interchange-service-text {
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  #company-culture {
    padding-top: 20px; /* or try 10px if you want it tighter */
    margin-top: 0;     /* Just in case there’s a margin applied */
  }
}

@media (max-width: 768px) {
  #employment-opportunities {
    margin-bottom: 16px;
    padding-bottom: 16px;
  }
}

#railcar-storage-hero.page-header.railcar-storage-header {
  position: relative;
  background: url('assets/locomotives3-Enhanced-SR.jpg') no-repeat center 40% / cover;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 0 40px;
  color: #ffffff;
  overflow: hidden;
}

.railcar-storage-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.railcar-storage-heading {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  text-align: center;
  box-sizing: border-box;
  margin: 0 auto;
}

.railcar-storage-heading h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.railcar-storage-heading p {
  font-size: 1.2rem;
  max-width: 800px;
  padding: 0 20px;
}

#our-story-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.story-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.story-content {
  text-align: center;
}

.story-content h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 2.5rem;
}

.story-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 15px 0;
}

.story-values-list {
  list-style-position: inside;
  padding-left: 0;
  margin-top: 20px;
  text-align: left;
  display: inline-block;
  font-size: 1.2rem;
  line-height: 1.6;
}

.story-values-list li {
  margin-bottom: 10px;
}

/* 📱 Mobile enhancements */
@media (max-width: 768px) {
  #our-story-section {
    padding: 40px 16px;
  }

  .story-content h2 {
    font-size: 2rem;
  }

  .story-content p,
  .story-values-list {
    font-size: 1.2rem;
  }

  .story-values-list {
    text-align: left;
    display: inline-block;
  }
}

/* ✨ Mobile styling */
@media (max-width: 768px) {
  .about-section-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 35px;
  }

  .about-section-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
  }

  .about-section-text-pikachu {
    margin-top: 20px;
    text-align: center;
  }

  .about-section-text-pikachu h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .about-section-text-pikachu p {
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .about-section-btn {
    margin-top: 35px;
    text-align: center;
    display: inline-block;   /* Keeps natural width */
    margin-left: auto;
    margin-right: auto; 
  }
}

.railmap-image {
  max-width: 100%;
  width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border: 2px solid #002d72; /* 👈 this one line does it all */
}

.railmap-image-container {
  text-align: center;
  margin-bottom: 30px;
}

.map-iframe-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.map-iframe-container iframe {
  width: 100%;
  height: 600px; /* This is key! Adjust as needed */
  border: none;
  border-radius: 8px;
  display: block;
}

.railmap-caption {
  text-align: center;
  font-size: 0.9rem;
  color: #000000;
  margin-top: 8px;
  margin-bottom: 30px;
  font-family: 'Open Sans', sans-serif;
}

@media (max-width: 768px) {
  header {
    padding: 30px;
  }

  .map-iframe-container {
    margin-right: 0px !important;
  }

  .map-iframe-container {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex;
    justify-content: center;
    width: 100% !important;
    box-sizing: border-box;
  }

  .map-iframe-container iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: 400px;
    display: block;
    border: none;
  }
}
