/* Start Variables */
:root {
  --main-color: #243a64;
  --secondary-color: #ff0000;
  --section-padding: 60px;
  --section-background: #f6f6f6;
  --main-duration: 0.5s;
}
/* End Variables */
/* Start Global Rules */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Work Sans", sans-serif;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
/* Small */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
/* Medium */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
/* Large */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
/* End Global Rules */
/* Start Components */
.special-heading {
  color: #42688f;
  font-size: 100px;
  text-align: center;
  font-weight: 800;
  letter-spacing: -3px;
  margin: 0;
}
.special-heading + p {
  margin: -30px 0 0;
  font-size: 20px;
  text-align: center;
  color: #797979;
}
@media (max-width: 767px) {
  .special-heading {
    font-size: 60px;
  }
  .special-heading + p {
    margin-top: -20px;
  }
}
/* start of navbar */
nav {
  background-color: var(--main-color);
  color: white;
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* position: relative;
  z-index: 1; */
  position: relative; /* Or absolute/fixed depending on layout */
  z-index: 1002;
}

.logo {
  height: 2.5rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
}

.nav-links a:hover {
  background-color: #3f609c;
  border-radius: 4px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: white;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    width: 100%;
    background-color: #314c7e;
  }

  .nav-links a {
    padding: 1rem;
    border-top: 1px solid var(--main-color);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}
/* end of nav */
/* Start Landing Section */
.landing {
  background-image: url(/images/rail_cargo.jpg);
  background-size: cover;
  height: calc(95vh - 64px);
  position: relative;
}
.landing .intro-text {
  position: absolute;
  left: 50%;
  top: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
  width: 320px;
  max-width: 100%;
}
.landing .intro-text h1 {
  background-color: #f5f5f579;
  margin: 0;
  font-weight: bold;
  font-size: 50px;
  color: var(--main-color);
}
.landing .intro-text p {
  background-color: #f5f5f579;
  font-size: 19px;
  line-height: 1.8;
}
/* End Landing Section */
/* footer */
.footer {
  background: #131f35;
  color: white;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.footer h4 {
  margin-bottom: 1rem;
}

.footer a {
  display: block;
  color: white;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.subscribe input {
  padding: 0.5rem;
  width: 80%;
  border-radius: 5px;
  border: none;
  margin-bottom: 1rem;
}

.subscribe button {
  padding: 0.5rem 1rem;
  border: none;
  background: #3a60a7;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}
.subscribe button:hover {
  background-color: #174575;
}

/* End footer */
/* .feature .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
} */
.feature .container {
  margin-top: 3rem;
  display: block;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
}
/* ==================table start */
#customers {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#customers td,
#customers th {
  border: 1px solid #ddd;
  padding: 08px;
}

#customers tr:nth-child(even) {
  background-color: #f2f2f2;
}

#customers tr:hover {
  background-color: #ddd;
}

#customers th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #131f35;
  color: white;
}
/* ==================table end */
