* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    background: #f2efe8;
}


/* ========================================
   HERO
======================================== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;

    overflow: hidden;
    background: #f2efe8;
}
/* ========================================
   VIDEO PRELOADER
======================================== */

.video-preloader {
    position: absolute;
    inset: 0;
    z-index: 2000;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #f2efe8;
    color: #fa6839;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
}

.video-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Circular spinner */

.preloader-spinner {
    width: 50px;
    height: 50px;

    border: 2px solid rgba(32, 32, 32, 0.18);
    border-top-color: #202020;

    border-radius: 50%;

    animation: preloaderSpin 0.8s linear infinite;
}

/* Company name */

.preloader-brand {
    margin-top: 18px;

    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    text-align: center;
}

@keyframes preloaderSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile */

@media (max-width: 768px) {

    .preloader-spinner {
        width: 28px;
        height: 28px;
    }

    .preloader-brand {
        font-size: 18px;
        margin-top: 15px;
    }

}

/* ========================================
   PILL LAYOUT
======================================== */

/* ========================================
   PILL LAYOUT
======================================== */

.pill-container {

    position: absolute;

    top: 53%;
    left: 50%;

    transform: translate(-50%, -50%);

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    width: max-content;

    height: 58vh;

    max-width: 96vw;

}


/* ========================================
   BASIC PILL
======================================== */

.pill {
    position: relative;

    width: 110px;
    height: 100%;

    border-radius: 100px;

    overflow: hidden;

    background: #d8d3ca;
}


/* different heights just for demo */

.pill:nth-child(1) {
    height: 60%;
}

.pill:nth-child(2) {
    height: 85%;
}

.pill:nth-child(3) {
    height: 70%;
}

.pill:nth-child(4) {
    height: 100%;
}

.pill:nth-child(5) {
    height: 75%;
}

.pill:nth-child(6) {
    height: 55%;
}


/* ========================================
   IMAGES
======================================== */

.image-pill img {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    object-fit: cover;
    transition: filter 0.3s ease-in-out, transform 4s ease-in-out;
}

/* Remove the space between .pill:hover and .image-pill */
.pill.image-pill:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* ========================================
   MUMBAI DESTINATION
======================================== */

.mumbai-pill {
    width: 140px;

    background: transparent;
}


/* ========================================
   STAT PILLS
======================================== */

.stat-pill {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    background: #202020;
    color: white;
}

.stat-pill span {
    font-size: 26px;
    font-weight: bold;
}

.stat-pill small {
    margin-top: 5px;
    font-size: 10px;
}


/* ========================================
   HERO CONTENT
======================================== */

/* ========================================
   HERO INTRO TEXT
======================================== */

.hero-intro {
    position: absolute;

    top: 7%;
    left: 50%;

    transform: translateX(-50%);

    width: 100%;

    text-align: center;

    z-index: 5;

    padding: 0 20px;
}
.hero-intro2 {
    position: absolute;

    bottom: 5%;
    left: 50%;

    transform: translateX(-50%);

    width: 100%;

    text-align: center;

    z-index: 5;

    padding: 0 20px;
}

.hero-intro h1 {
    font-size: 35px;

    font-weight: 700;

    line-height: 1.1;

    color: #202020;

    margin: 0;
}

.hero-intro2 p {
    font-size: 20px;

    font-weight: 400;

    line-height: 1.4;

    color: #202020;

    margin-top: 12px;
}


/* ========================================
   FULLSCREEN INTRO VIDEO
======================================== */

.intro-video {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 1000;
    overflow: hidden;
    border-radius: 0;

    will-change:
        top,
        left,
        width,
        height,
        border-radius;
}

.intro-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

    .pill-container {
        height: 50vh;
        gap: 8px;
    }

    .pill {
        width: 60px;
    }

    .mumbai-pill {
        width: 75px;
    }

    .hero-content {
        left: 25px;
        bottom: 40px;
    }

}

/* ========================================
   MOBILE RESPONSIVE
======================================== */

@media (max-width: 768px) {

    .hero {
        min-height: 650px;
        height: 100svh;
    }


    /* HEADING */

    .hero-intro {

        top: 7%;

        padding: 0 15px;

    }

    .hero-intro h1 {

        font-size: 25px;

        line-height: 1.15;

    }

    .hero-intro2 p {

        font-size: 15px;

        line-height: 1.4;

        margin-top: 8px;

    }


    /* PILL CONTAINER */

    .pill-container {

        top: 49%;

        height: 42vh;

        gap: 5px;

        width: 100%;

        max-width: 100%;

        padding: 0 8px;

    }


    /* ALL PILLS */

    .pill {

        width: 38px;

        min-width: 0;

        flex: 1 1 0;

        border-radius: 100px;

    }


    /* MUMBAI PILL */

    .mumbai-pill {

        width: 38px;

        flex: 1 1 0;

    }


    /* STAT TEXT */

    .stat-pill span {

        font-size: 13px;

    }

    .stat-pill small {

        font-size: 7px;

        margin-top: 3px;

    }


    /* CONTENT */

    .hero-content {

        left: 20px;

        right: 20px;

        bottom: 35px;

        max-width: none;

    }

    .hero-content h1 {

        font-size: 32px;

    }

    .hero-content p {

        font-size: 14px;

        margin-top: 15px;

    }


    /* VIDEO */

    .intro-video {

        width: 100vw;

        height: 100svh;

    }

}