@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Palanquin:wght@100;200;300;400;500;600;700&family=Public+Sans:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@300..700&family=Red+Hat+Text:ital,wght@0,300..700;1,300..700&display=swap');

* {
    margin: 0;
    font-family: "Body", "Quicksand", sans-serif;
}

body {
    width: 100%;
    /* height: 10vh; */

}
select,a,button,input[type="date"],label{
    cursor: pointer;
}

.logo {
    width: 5%;
    position: absolute;
    top: 15px;
    left: 40px;
    z-index: 1;

    img {
        width: 100%;
    }
}


.rlogo {
    width: 9%;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1;

    img {
        width: 100%;
    }
}

.main {
    width: 100%;
    height: 100vh;

    .section1 {
        height: 101vh;
        width: 100%;
        background-color: whitesmoke;

        .carousel-inner {
            filter: brightness(20%);
        }

    }

    .ads {
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
        align-items: center;
        img{
            height: 10vh;
        }
    }

    .texts {
        display: flex;
        /* flex-direction: column; */
        justify-content: center;
        line-height: 1.1;
        margin-top: 1rem;

        h1 {
            width: 100%;
            font-weight: 600;
            text-align: center;
            font-size: 30px;
            font-family: sans-serif;
        }
    }
}

.nav {
    width: 100%;
    height: 15vh;
    background-color: whitesmoke;
    /* filter: blur(0.3px); */
    text-transform: uppercase;
    position: fixed;
    top: 0;
    z-index: 1;

    a:hover {
        transform: scale(0.9);
        color: #082b71;
        border: 1px solid #082b71;
        padding: 5px;
    }

    .menu2 {
        width: 100%;
        height: 5vh;
        display: flex;
        padding-bottom: 8px;
        position: sticky;
        top: 0;
        align-items: center;
        justify-content: center;
        gap: 20px;
        font-size: 15px;
        font-weight: 500;
        letter-spacing: .35px;

        .irctcexecutive:focus-within+.ie-inner {
            display: block;
        }

        .fa-home {
            font-size: 18px;
            height: 4vh;
            display: flex;
            align-items: end;
            color: rgb(129, 129, 129);
            font-weight: bold;
        }

        .irctcexecutive {
            padding: 8px 14px;
            font-weight: bold;
            font-size: 14px;
            border: 0;
            text-transform: uppercase;
            background-color: #213d77;
            color: whitesmoke;
        }

        a {
            text-decoration: none;
            color: black;
            font-weight: 500;
        }

        a:nth-child(4) {
            color: rgba(251, 121, 43, 1);
            font-weight: bold;
            border-bottom: 2px solid;
        }
    }

    .menu1 {
        width: 100%;
        height: 8vh;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        letter-spacing: .35px;

        /* text-decoration: none; */
        /* justify-content: space-between; */
        a {
            text-decoration: none;
            color: black;
            font-size: 14px;
            font-weight: 600;
        }

        a:nth-child(5) {
            color: red;
            font-weight: bold;
        }

        a:nth-child(6) {
            background-color: rgba(198, 198, 198, 0.852);
            padding: 8px 14px;
            font-weight: bold;
        }

        a:nth-child(7),
        a:nth-child(8),
        a:nth-child(9),
        a:nth-child(10),
        a:nth-child(11) {
            font-weight: bold;
        }

        .login {
            padding: 8px 14px;
            font-weight: bold;
            font-size: 14px;
            border: 0;
            text-transform: uppercase;
            background-color: #213d77;
            color: whitesmoke;
        }
    }
}

.section1 {
    img {
        margin-top: 4rem;
        width: 100%;
        height: 95vh;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .indianrailways {
        color: #082b71;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 19%;
        right: 1%;

        h1 {
            padding: 0rem 6rem;
            /* border-radius: 5px; */
            font-family: sans-serif;
            text-transform: uppercase;
            font-size: 50px;
            letter-spacing: 3px;
            font-weight: bold;
            color: rgba(255, 255, 255, 0.733);
            /* box-shadow: 1px 1px 5px inset; */

        }

        p {
            letter-spacing: 3px;
            font-family: sans-serif;
            color: white;
        }
    }

    .left {
        filter: blur(0.3px);
        position: absolute;
        top: 150px;
        left: 80px;
        width: 45%;
        text-transform: uppercase;
        font-size: 15px;
        background-color: rgba(255, 255, 255);
        height: 68vh;

        .top {
            display: flex;
            width: 100%;
            color: white;
            gap: 8px;
            height: 5vh;
            font-weight: bold;
            background-color: rgb(255, 255, 255);

            .status,
            .vacancy {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 50%;
                background-color: #213d77;

                p {
                    margin: 0;
                }
            }

            .status img {
                position: absolute;
                left: 20px;
                top: -3.5rem;
                width: 20px;
                height: 20px;
            }

            .vacancy img {
                /* position: relative;
                right: 55px;
                top: -2.08rem; */
                /* gap: 30px; */
                width: 100%;
                height: 20px;
                position: relative;
                top: -2rem;
                left: -3rem;
            }
        }

        .bookticket {
            width: 100%;
            height: 15vh;
            display: flex;
            justify-content: center;
            align-items: start;
            color: #213d77;

            img:nth-child(1) {
                width: 20%;
                height: 80px;
                position: absolute;
                top: -15px;
                left: 10px;
            }

            h3 {
                font-weight: 650;
                position: relative;
                top: 10px;
            }

            img:nth-child(3) {
                width: 20%;
                height: 80px;
                position: absolute;
                top: -15px;
                right: 10px;
            }
        }
        .form {
            padding: 0 10px;
            display: flex;
            gap: 30px;
            flex-direction: column;
            /* padding: 0 10px; */
            flex-wrap: wrap;
            
            .fromtop{
                display: flex;
                flex-direction: column;
                gap: 30px;
            }
            /* justify-content: space-around; */
            .general {
                color: #082b71;
                position: relative;
                /* left: 20px; */
                width: 50%;
                display: flex;
                justify-content: center;
                margin-left: 16px;
                border: 2px solid #d0d0d0;
                border-radius: 3px;
                gap: 10px;
                height: 5.8vh;


                select {
                    width: 100%;
                    border-radius: 3px;
                    -webkit-appearance: none;
                    box-shadow: 0px 0px 0px;
                    option{
                        margin: 1rem;
                    }
                }



                .fa-th-large {
                    padding: 3px 3px 3px 0;
                    position: relative;
                    left: 0.7rem;
                    top: 10px;
                }
            }

            .general:focus-within {
                box-shadow: 1px 1px 5px 3px #8dcdff;
            }
        }

        .form1 {
            color: #082b71;
            display: flex;
            /* padding: 0 10px; */
            flex-wrap: wrap;
            justify-content: space-around;

            label {
                text-transform: capitalize;
            }

            input[type="text"] {
                border: 0px;
                outline: 0px;
                width: 82.5%;
                color: #082b71;
            }

            .fromto {
                width: 50%;
                color: #082b71;

                .from {
                    border-radius: 3px;
                    color: #082b71;
                    border: 2px solid #d0d0d0;

                    .fa-location-arrow {
                        padding: 12px;
                    }
                }

                .to {
                    color: #082b71;
                    border-radius: 3px;
                    border: 2px solid #d0d0d0;

                    .fa-map-marker {
                        padding: 12px;
                    }
                }

                .fromlabel {
                    display: flex;
                    justify-content: start;
                    height: 0px;
                    position: relative;
                    top: -2rem;
                    left: 2rem;
                }

                .frominput:focus-within+.fromlabel {
                    animation: fromto 0.3s linear;
                    position: relative;
                    top: -3.8rem;
                    font-size: 12px;
                }

                .from:focus-within,
                .to:focus-within {
                    border: 2px solid #213d77;
                }

                .exchange {
                    color: #082b71;
                    width: 100%;
                    height: 20px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    margin: 5px 0;
                }

                .fa-exchange {
                    transform: rotate(90deg);
                    padding: 3px;
                    background-color: #0357ff0f;
                    border-radius: 50%;
                    cursor: pointer;
                    color: #082b71;
                    /* display: flex;
                    justify-content: center; */
                    /* height: 5vh; */
                }

                .fa-exchange:active {
                    border: 1px solid #213d77;
                }


            }

            .dateclasses {
                width: 40%;
                position: relative;
                display: flex;
                flex-wrap: wrap;
                flex-direction: column;
                gap: 30px;

                span {
                    position: absolute;
                    top: -20px;
                    font-size: 12px;
                    left: 1rem;
                }

                .class {
                    width: 100%;
                    height: 5.8vh;
                    /* padding: 18px 5px; */
                    justify-content: center;
                    align-items: center;
                    display: flex;
                    border: 2px solid #d0d0d0;
                    border-radius: 3px;
                    gap: 10px;



                    select {
                        width: 100%;
                        border-radius: 3px;
                        color: #082b71;
                        -webkit-appearance: none;
                        box-shadow: 0px 0px 0px;
                    }

                    .fa-briefcase {
                        position: relative;
                        left: 0.8rem;
                        top: 1px;
                    }
                }

                .class:focus-within {
                    box-shadow: 1px 1px 5px 3px #8dcdff;
                }

                .date {
                    width: 100%;
                    border: 2px solid #d0d0d0;
                    border-radius: 3px;
                    display: flex;
                    gap: 10px;

                    .dateinput {
                        border: 0;
                        outline: 0;
                    }

                    .fa-calendar {
                        padding: 12px 13px;

                    }

                    .dateinput::-webkit-calendar-picker-indicator {
                        display: none;
                    }
                }

                .date:focus-within {
                    border: 2px solid #213d77;
                }

                input:nth-child(1) {
                    width: 200px;
                    height: 5vh;
                    border: 2px solid #d0d0d0;
                }
            }
        }

        .checkbox {
            color: #082b71;
            font-weight: 700;
            text-transform: capitalize;
            padding: 30px;

            .checkbox1,
            .checkbox2 {
                display: flex;
                gap: 20px;

                input[type="checkbox"] {
                    color: #8dcdff;
                    transform: scale(1.3);
                }

            }

        }

        .buttons {
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 25px;

            button:nth-child(1) {
                padding: 5px 1rem;
                background-color: #fb792b;
                border: 1px solid #fb792b;
                border-radius: 5px;
                color: whitesmoke;
                font-weight: 700;

            }
 
            button:nth-child(2) {
                background-color: #01bb0a;
                border: 1px solid #01bb0a;
                border-radius: 5px;
                color: whitesmoke;
                font-weight: 700;
            }
        }
    }

    .leftbottom {
        width: 100%;
        height: 13vh;
        background-color: white;
        font-size: 13px;
        display: flex;
        justify-content: center;
        /* padding: 20px; */
        text-transform: capitalize;
        color: skyblue;
        font-weight: 700;

        a {
            padding: 2rem;
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }
    }


}

.main {
    width: 100%;

    .services {
        display: grid;
        grid-template-columns: auto auto auto auto auto;
        justify-content: center;
        column-gap: 100px;
        row-gap: 40px;
        margin-top: 2rem;

        div {
            width: 100px;
            height: 100px;
            border: 1px solid black;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            font-size: 40px;

            img {
                width: 50px;
            }

            .beach {
                width: 45px;
            }

        }

        div:hover {
            background-color: #082b71;
            color: white;
        }

        /* .serv{
                .fa-plane{
                    font-size: 25px;
                }
            } */
    }

    .customercare {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }

    .videoadd {
        display: flex;
        justify-content: center;
        margin-top: 3rem;
    }

    .holidays {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 2.5rem;
        flex-direction: column;

        h1 {
            display: flex;
            justify-content: center;
            font-weight: bold;
        }
    }
}

.main .content {
    display: block;
    width: 80%;
    /* height: 170vh; */

}

.main .row {
    height: 20vh;

    img {
        height: 30vh;
    }
}

.main .card-title {
    font-size: 25px;
    font-weight: bold;
}

.main .card-text {
    text-align: justify;
    font-weight: 500;
    font-size: 14px;
}

.main .card-text,
.ip {
    text-align: justify;
    line-height: 22.2px;
}

.main .me {
    line-height: 20px;
}

.main .bgtt {
    line-height: 19px;
}

.main .fa-long-arrow-right {
    cursor: pointer;
    /* transform: translateX(10px); */
}

.main .fa-long-arrow-right:hover {
    animation: readmore 3s infinite;
}

.socialmedias {
    z-index: 1;
    height: 60px;
    width: 100%;
    /* display: block; */
    bottom: 0px;
    background-color: #FF3CAC;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 150px;
    background-image: linear-gradient(to right, #2d042c 0%, #784BA0 50%, #784BA0 100%);

    p {
        display: flex;
        height: 40px;
        align-items: center;
        color: white;
        font-weight: 500;
        margin: 0;
    }
}

.main .footers {
    position: relative;
    top: 65rem;

}

.main .icons {
    display: flex;
    height: 40px;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.main .icons i {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

.main .icons i:hover {
    box-shadow: 1px 1px 5px white;
    transform: translateY(-3px);
}

.main .fa-facebook-f {
    background-color: #3b5998;
}

.main .fa-linkedin {
    background-color: #0A66C2;
}

.main .fa-whatsapp {
    background-color: #075E54;
}

.main .fa-youtube {
    background-color: #FF0000;
}

.main .fa-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.main .fa-twitter {
    background-color: #1DA1F2;
}

.main .fa-tumblr {
    background-color: rgba(189, 213, 239, .4);
    ;
}

.main .fa-pinterest {
    background-color: #E60023;
}

.main .fa-telegram {
    background-color: #0088cc;
}

.main .footers {
    width: 100%;
    /* height: 400px;
    background-color: #2c215d; */

}

.fimage {
    background-color: white;

    img {
        width: 65%;
        height: 70px;
    }
}

.copyrights {
    position: absolute;
    font-weight: bold;
    bottom: 2.5%;
    right: 2%;
    font-size: 14px;

    p {
        padding: 0;
        height: 5px;
    }
}

.footercontent {
    height: 300px;
    background-color: #2c215d;
    width: 100%;
    color: white;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: auto auto auto auto;
    padding: 2rem 5rem;
    column-gap: 8rem;
    row-gap: 1rem;

    .content {
        width: 100%;
        font-weight: 500;
    }
}

.ie-inner {
    display: none;
    position: absolute;
    height: 230px;
    width: 200px;
    background-color: whitesmoke;
    top: 35px;
    left: 315px;

    ol,
    li {
        list-style-type: none;
        /* padding: 12px; */
        font-weight: 1000;
        font-size: 14px;
    }

    li {
        height: 45.5px;
    }

    ol {
        padding: 0;
    }

    .ol li:nth-child(4) {
        i {
            color: brown;
        }
    }

    ol li:nth-child(5),
    ol li:nth-child(3),
    ol li:nth-child(4) {
        display: flex;
        justify-content: left;
        gap: 32px;
        padding: 0 1rem;

        i {
            /* color: orange; */
            font-size: 20px;
        }
    }

    ol li:nth-child(5) i {
        color: orange;
    }

    li {
        padding: 5px 6px;
    }

    li:hover {
        background-color: rgba(240, 128, 128, 0.299);
    }

    p {
        position: relative;
        left: -10px;
        top: 5px;
    }

    .lef {
        display: flex;
        align-items: center;
    }

    .ilie {
        display: flex;
        justify-content: left;
        align-items: center;
        gap: 0px;
    }

    img {
        width: 30%;
        position: relative;
        left: -10px;
        padding: 0;
    }

    .ie-inner-inner {
        position: absolute;
        display: none;
        top: 0;
        left: 200px;
        width: 250px;
        height: 100px;
        background-color: whitesmoke;

        li {
            display: flex;
            justify-content: left;
            text-align: left;
            padding-left: 20px;
        }
    }

    ol li:nth-child(1):hover .ie-inner-inner {
        display: block;
    }
}

.trains:hover .train-inner {
    display: block;
}

.train-inner {
    color: black;
    position: absolute;
    display: none;
    width: 284px;
    /* left: 480px; */
    top: 44px;
    background-color: whitesmoke;
    padding: 0;

    ol,
    li {
        font-size: 16px;
        list-style-type: none;
        padding: 12px;
        font-weight: 1000;
        /* background-color: white; */
    }

    ol {
        padding: 0;
    }

    li:hover {
        background-color: rgba(240, 128, 128, 0.299);
    }

    .irctc-train-inner {
        position: absolute;
        background-color: white;
        left: 17.8rem;
        top: 10.3rem;
        width: 200px;
    }

    .top {
        font-size: 30px;
        position: absolute;
        top: -1.5rem;
        left: 5px;
        width: 80px;
        color: rgba(251, 121, 43, 1);
        filter: drop-shadow(1px -2px 1px rgba(0, 0, 0, 0.646));
    }

    .irctc-trains {
        display: flex;
        justify-content: space-between;
        height: 20px;
    }

    .irctc-train-primary:hover .irctc-train-inner {
        display: block;
    }

    .irctc-train-inner {
        display: none;
    }

    .cancel-tickets {
        display: flex;
        justify-content: space-between;
    }

    .cancel-tickets-primary {
        height: 37.5px;
    }

    .cancel-tickets-primary:hover .cancel-tickets-inner {
        display: block;
    }

    .cancel-tickets-inner {
        position: absolute;
        left: 17.6rem;
        top: 13rem;
        background-color: white;
        width: 200px;
        display: none;
        /* height: 20px; */
    }

}

@keyframes fromto {
    from {
        position: relative;
        top:-2rem;
    }

    to {
        position: relative;
        top: -3.8rem;
        /* left: 3px; */
        font-size: 12px;
    }

}

@keyframes readmore {
    from {
        transform: translateX(0px);
    }

    to {
        transform: translateX(20px);
    }
}

@media only screen and (max-width:1200px) {
    .footercontent{
        height: auto;
        padding: 5px 10px;
        column-gap: 2rem;
    }
    .main .footers{
        margin-top: 30rem;
    }
    body {
        width: fit-content;
        background-color: #01bb0a;
    }

    .carousel-inner {
        width: fit-content;
    }

    .section1 .left {
        /* margin-top: 0rem; */
        width: 85%;

        .buttons button {
            margin-top: -1rem;
        }
    }
    .copyrights {
        /* display: none; */
        font-size: 10px;
    }

    .section1 .indianrailways {
        display: none;
    }

    .nav .logo,
    .rlogo {
        display: none;
    }

    .main .leftbottom {
        margin-top: 0;

    }

}
option{
    /* background-color: #0088cc; */
    max-width: 100%;
}
option:hover{
    background-color: #0088cc;
    color: white;
}
@media only screen and (max-width:768px) {
    .main .footers{
        margin-top: 70rem;
    }
}
@media only screen and (max-width:600px) {
    .main .footers{
        margin-top: 130rem;
    }
    .main .card-title {
        font-size: 50px;
        font-weight: bold;

    }

    .main .card-text {
        font-size: 30px;
        line-height: 30px;
    }
}