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

html, body {
    width: 100%;
    height: 100%;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #4a4a4a;
}

nav.navbar {
    height: 76px;
    position: fixed;
    width: 100%;
    z-index: 100; /* Increased z-index */
    background: #d84e55;
    color: #fff;
    padding-top: 0.85rem;
    box-shadow: 
        0px 86px 34px rgba(0, 0, 0, 0.01),
        0px 48px 29px rgba(0, 0, 0, 0.03),
        0px 5px 12px rgba(0, 0, 0, 0.05),
        0px 0px 0px rgba(0, 0, 0, 0.05);
}

.container-1 {
    display: flex;
    margin: 0 auto;
    margin-top: 10px;
    align-items: center;
    max-width: 1128px;
    height: 60.4px;
    padding-bottom: 12px;
    flex-direction: row;
    justify-content: space-between;
}

nav li img {
    height: 27px;
    width: 27px;
}

li.logo a {
    height: 42px;
    width: 65px;
}

.logo img {
    width: 100%;
    height: 100%;
}

.container-1 li {
    display: flex;
    align-items: center;
}

ul {
    list-style: none;
}

.navbar ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
}

.navbar{
    cursor: pointer;
}

.navtext a {
    line-height: 0.7rem;
    font-weight: 400;
    font-size: 14px;
    color: var(--clr-white);
    text-decoration: none;
    padding: 1.65rem 0.5rem;
}

li.red-rail a {
    border-bottom: 3px solid #fff;
    font-weight: 700;
    font-size: 15px;
}

/* Style the dropdown button */
.dropbtn {
    border: none;
    border-radius: 6px;
    background-color: transparent;
    cursor: pointer;
    color: #fff;
    text-align: left;
}

/* Dropdown container */
.dropdown {
    position: relative;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    top: 19px;
    right: -18px;
    padding: 0.9rem 1rem;
    background: #fff;
    width: 170px;
    border-radius: 4px;
    padding: 1rem;
    position: absolute;
    z-index: 200; 
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

/* Links inside the dropdown */
.signup,.cancel
{
    display: block;
    color: #3e3e52;
    font-size: 1rem;
    line-height: 2rem;
    font-weight: 400;
    padding: 0.25rem;
    cursor: pointer;
    text-decoration: none;
}

.show-drop{
    display: block;
}


.bread-crumb-wrapper{
    padding: 8px 0;
    padding-top: 6.2rem;
    background: #1d1d1d;
}

.bread-crumb{
    display: flex;
    width: 1128px;
    background: #1d1d1d;
    margin: 0 auto;
}

.crumb-link{
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -.31px;
    color: #9f9eff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crumb-link a{
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -.31px;
    color: #9f9eff !important;
}

.crumb-link img{
    height: 24px;
    width: 24px;
}

.crumb-dstn{
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -.31px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.section-1{

    padding-top: .1rem;
    background: linear-gradient(0deg,
     rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)),
      url('./assets/bannerredrail.png');
    height: 350px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.banner{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 200px;
    justify-content: flex-start;
    padding-top:7rem;
}

.banner .logo{
    display: flex;
    padding-left: 110px;
}

.banner .logo img{
    width: 40px;
    height: 40px;
}

.banner .logo .text{
    font-family: Montserrat;
    font-style: normal;
    font-weight: 700;
    display: flex;
    font-size: 40px;
    line-height: 120%;
    color: #fff;
}

.banner .logo .rails-logo{
    width: 88px;
    height: 48px;
    padding-left: 16px;
}

.irctc-logo{
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    padding-left: 60px;
    padding-top: 10px;
    text-align: center;
    color: #fff;
}

.irctc-logo img{
    width: 40px;
    height: 40px;
}

.irctc{
    padding-left: 1rem;
}

.widget
{
    margin-top: 1.5rem;
}

.wrapper{
    margin: 2rem 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 1rem;
    gap: 2rem;
}

.selector{
    display: flex;
    align-items: center;
    background: #fff;
    cursor: pointer;
    flex-direction: row;
    padding: 8px 12px;
    grid-gap: 16px;
    gap: 30px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #1d1d1d;
    width: max-content;
    height: 40px;
}

.selector p{
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.radio-btn-outer{
    display: flex;
    align-items: center;
    background: #fff;
    cursor: pointer;
    margin-right: unset;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    justify-content: center;
    border: 2px solid #4a4a4a;
}

.red-outer-border {
    border: 2px solid #d84e55;
}

.radio-btn-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red-background {
    background: #d84e55 !important;
}

.pnr-input-wrapper{
    display: flex;
    width: 1128px;
    margin: 0 auto;
    height: 60px;
    margin-top: 10px;
    position: relative;
}

.pnr-input-text{
    display: flex;
    border-radius: 8px 0 0 8px;
    text-decoration: none;
    outline: none;
    border: none;
    width: 100%;
    background-image: url(./assets/pnr_icon.svg);
    background-size: 20px;
    background-position: 18px;
    background-repeat: no-repeat;
    padding-left: 48px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: .125rem;
}

.pnr-input{
    border: none;
    background: #465986;
    border-radius: 100px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    grid-gap: 8px;
    gap: 8px;
    cursor: pointer;
}

.pnr-btn{
    padding: 15px 25px;
    font-weight: 700;
    width: 200px;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    text-align: center;
    cursor: not-allowed;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: #d84e55;
    border: none;
    border-radius: 0 8px 8px 0;
}


.section-2
{
    background: #f3f4f9;
    min-height: 1569px;
}

.container-2{
    padding: 32px 0;
    width: 1000px;
    margin: 0 auto;
}

.heading{
    height: 45px;
    font-weight: 700;
    font-size: 30px;
    line-height: 150%;
    margin-bottom: 20px;
}

.train-container-wrapper{
    position: relative;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    align-items: center;
    padding: 20px;
    grid-gap: 3px;
    gap: 3px;
    height: 114px;
    background: #fff;
    border: 1px solid #b2b2b2;
    border-radius: 8px;
    margin-bottom: 30px;
}

.train-container-1{
    flex-basis: 25.33%;
}

.train-name{
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.days{
    margin-top: 2px;
    display: flex;
    margin-bottom: 4px;
}

.running-days-name-yes{
    margin-right: 8px;
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    color: #747474;
}

.running-days-name-no{
    margin-right: 8px;
    font-size: 14px;
    line-height: 150%;
    color: #747474;
}

.seats{
    font-weight: 500;
    font-size: 12px;
    line-height: 150%;
    color: #747474;
    margin-bottom: 4px;
}

.train-container-2{
    padding: 20px;
    grid-gap: 20px;
    gap: 20px;
    width: 530px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-basis: 54.33%;
}

.sub-container-1{
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-basis: 46.33%;
}

.time{
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: #1d1d1d;
}

.station-name{
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #1d1d1d;
}

.station-code{
    font-weight: 700;
    font-size: 12px;
    line-height: 150%;
    color: #1d1d1d;
}

.sub-container-2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-basis: 28.33%;
}

.duration-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: .25rem;
    gap: .25rem;
}

.connecting-lines{
    width: .5rem;
    border-top: .0625rem solid #e5e5e5;
}

.duration{
    width: max-content;
    display: flex;
    justify-content: center;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #747474;
}

.sub-container-3{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-basis: 47.33%;
}

.train-container-3{
    display: flex;
    align-items: center;
    flex-direction: column;
    align-content: space-between;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    flex-basis: 20.33%;
}

button.availability{
    border: none;
    background: #465986;
    border-radius: 100px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    grid-gap: 8px;
    gap: 8px;
    cursor: pointer;
}


.section-3{
    margin: 0 auto;
    width: 1000px;
    background: #fff;
}

.qsns{
    background: #fff;
    padding: 1rem 1rem 1.25rem;
    padding-bottom: 20px;
    color: #3e3e52;
    margin-bottom: .25rem;
}

.qsn{
    font-weight: 700;
    font-size: 22px;
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 28px;
}

.ans{
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    /* padding-bottom: 50px; */
}

.ans p{
    padding-bottom: 20px;
}

.ans h5{
    font-size: 14px;
    line-height: 24px;
    padding-bottom: 30px;
}

.ans ul{
    list-style: disc;
    padding-left: 30px;
    padding-bottom: 30px;
}

.ans ul h1{
    color: #d84e55;
    font-weight: 700;
    display: inline;
    font-size: 14px;
    line-height: 35px;
}

.section-4{
    margin: 0 auto;
    width: 1000px;
    background: #fff;
    
}

.container-4{
    background: #fff;
    padding: 1rem 1rem 1.25rem;
    color: #3e3e52;
    margin-bottom: .25rem;
}

.container-4 .faq-head{
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
    padding-bottom: 20px;
}

.qsns{
    padding-top: 20px;
}

.faq-qsn{
    display: flex;
    padding-top: 20px;
    align-items: center;
    padding-bottom: 15px;
    justify-content: space-between;
}

.faq-qsn h4{
    font-size: 12px;
    font-weight: 700;
    line-height: 17px;
}

.faq-qsn i{
    font-size: 22px;
    cursor: pointer;
}

hr{
    font-size: 0.5px;
}

.faq-ans {
    font-weight: 400;
    font-size: 16px;
    padding-bottom: 20px;
    line-height: 24px;
    display: none; /* Hide the answer by default */
}

.faq-qsn.active + .faq-ans {
    display: block; /* Show the answer when the question is active */
}

.section-5{
    margin: 0 auto;
    width: 1000px;
    background: #fff;
    padding-bottom: 50px;
}

.container-5{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 48px;
    grid-gap: 40px;
    gap: 40px;
    padding-top: 80px;
}

.container-5 div ul{
    list-style-type: none;
    padding: 0;
    width: 288px;
    height: 352px;
    overflow-y: scroll;
    border: 1px solid #d1d1d1;
    border-radius: 15px;
}

.container-5 div h1{
    font-weight: 700;
    font-size: 16px;
    padding-left: 10px;
    line-height: 24px;
    padding-bottom: 20px;
}

.container-5 div li{
    border-top: 1px solid #d1d1d1;
    border-collapse: collapse;
    padding: 12px 16px;
    font-size: 12px;
    line-height: 15px;
}

.container-5 li a{
    
        color: #1034d9;
        font-weight: 700;
        font-size: 14px;
        line-height: 20px;
        text-decoration: none;
}


.container-5 ul::-webkit-scrollbar {
    width: 5px !important; /* Set the width of the scrollbar */
  }

  .container-5 ul::-webkit-scrollbar-thumb {
    background-color: darkgrey !important; /* Set the color of the scrollbar thumb */
    border-radius: 10px !important; /* Add rounded corners if desired */
  }

  .container-5 ul::-webkit-scrollbar-track {
    background: #f1f1f1 !important; /* Set the color of the scrollbar track */
  }
 


/* footer */

.footer{
    padding: 3rem;
    background: #1b2230;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-7{
    display: flex;
    width: 1128px;
}

.footer-left{
    width: 70%;
    display: flex;
    grid-gap: .5rem;
    gap: 1rem;
}

.link-sec{
    display: flex;
    flex-direction: column;
    width: 20%;
    margin-top: 20px;
}

.link-sec a{
    text-decoration: none;
    color: #fff;
    font-size: .9rem;
    cursor: pointer;
    line-height: 1.3rem;
}

.footer-right{
    width: 30%;
    display: flex;
    flex-direction: column;
}

.link-sec h1{
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 700;
    color: #7e7e8c;
    margin-bottom: 10px;
}

.link-sec div{
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
}

.footer-right .footer-logo{
    display: inline;
    width: 65px;
    height: 42px;
    margin-bottom: 30px;
}

.footer-logo img{
    height: 100%;
    width: 100%;
}

.footer-right p{
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
}