@media (min-width: 1024px) {

    html {
        height: 100%;
        width: 100%;
        font-family: sans-serif;
    }

    body {
        padding: 0px;
        margin: 0px;
    }

    .topnav {
        position: fixed;
        width: 100%;
        z-index: 10;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1.5rem;
        height: 90px;
        background-color: black;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .topnav a {
        color: #fffcfc;
        text-align: center;
        padding: 1.8rem 1.2rem;
        text-decoration: none;
        font-size: 1rem;
        position: relative;
    }

    .topnav a::before {
        content: "";
        position: absolute;
        display: block;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: white;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .topnav a:hover::before {
        transform: scaleX(1);
    }

    .nav-left {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        width: 18%;
        height: 90%;
    }

    .navLogo {
        width: auto;
        height: 90%;
        object-fit: contain;
        cursor: pointer;
        padding-left: 3rem;
    }

    .nav-center {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        flex-wrap: wrap;
        background-color: black;
        flex-grow: 1;
        justify-content: flex-end;
    }

    .nav-center a {
        color: white;
        text-decoration: none;
        font-size: 1rem;
        position: relative;
        padding: 1.2rem 0.8rem;
    }

    .nav-center a::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 5px;
        left: 0;
        background-color: white;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .nav-center a:hover::before {
        transform: scaleX(1);
    }

    .user-info {
        display: none;
        justify-content: space-between;
        align-items: center;
        background-color: black;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        cursor: pointer;
        width: 30%;
        height: 60px;
    }

    .user-logo {
        height: 40px;
        width: 40px;
        border-radius: 50%;
        object-fit: cover;
    }

    .flex-spacer {
        flex-grow: 1;
    }

    .user-name {
        color: white;
        font-size: 1rem;
        white-space: nowrap;
    }

    .user-line {
        border-left: 1px solid white;
        height: 30px;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        background-color: #1a1a1a;
        color: white;
        padding: 1rem 1rem 1rem 1rem;
        border-radius: 7px;
        min-width: 10rem;
        z-index: 3;
    }

    .user-info:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu p {
        font-size: 1rem;
        padding: 0.4rem 0;
        cursor: pointer;
        margin-left: 1rem;
    }

    .dropdown-menu p:hover {
        color: rgb(149, 129, 18);
    }

    .myRides {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
        margin-top: 3%;
    }

    .storedLocations {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .userPayments {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .userInvoices {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .accountInformation {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .nav-right {
        display: flex;
        gap: 0rem;
        background-color: black;
        padding-right: 1.5rem;
        align-items: flex-start;
    }

    .mobile-menu {
        display: none;
    }

    .hamburger {
        display: none;
    }

    .book-a-ride-button {
        background-color: #a71717;
        cursor: pointer;
        color: white;
        border: none;
        text-align: center;
        font-size: 16px;
        width: 120px;
        height: auto;
        float: right;
        padding: 12px;
        margin: 10px;
        margin-top: 8px;
        border-radius: 3px;
        transition-duration: 0.4s;
    }

    .book-a-ride-button:hover {
        background-color: #6d1b15;
    }

    .sign-in-button {
        background-color: black;
        cursor: pointer;
        color: white;
        border-style: solid;
        float: right;
        text-align: center;
        width: 100px;
        height: 44px;
        padding: 12px;
        margin: 10px;
        margin-top: 8px;
        font-size: 16px;
        border-radius: 3px;
        transition-duration: 0.4s;
    }

    .sign-in-button:hover {
        background-color: white;
        color: #000000;
    }

    .beforeTop {
        width: 100%;
        height: 10vh;
    }

    .topPage {
        position: relative;
        width: 100%;
        height: 60vh;
        overflow: hidden;
    }

    .topImg {
        background-image: url("images/AI-Services.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        height: 60vh;
        position: absolute;
        z-index: -1;
        top: 0;
        left: 0;
    }

    .topOverlay {
        position: relative;
        z-index: 1;
        padding: 1.5rem 2rem;
        max-width: 900px;
        margin: 0 auto;
        top: 55%;
        right: 13%;
    }

    .topText {
        font-size: 3.2rem;
        color: white;
        font-weight: 300;
        letter-spacing: 7px;
        margin-bottom: 1rem;
        margin-left: 1rem;
    }

    .topLine {
        width: 90%;
        border: 1.5px solid white;
        margin-left: 0.1rem;
    }

    .mainPage {
        position: relative;
        background-color: #d8d8d8;
        padding: 4rem 2rem;
        text-align: center;
    }

    .mainText1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }

    .mainLine1 {
        width: 40%;
        margin: 1rem auto;
        border: 1px solid #000;
    }

    .mainText2 {
        font-size: 1.5rem;
        font-weight: lighter;
        color: #000;
    }

    .mainBoxes {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5rem;
        margin-top: 3rem;
    }

    .point-to-point,
    .flexible-rides,
    .round-trip {
        background-color: white;
        border: 1px solid #ecebeb;
        border-color: #878787;
        border-radius: 20px;
        width: 350px;
        padding: 2rem 1rem;
        box-sizing: border-box;
        transition: background-color 0.3s, border-color 0.3s;
    }

    .point-to-point:hover,
    .flexible-rides:hover,
    .round-trip:hover {
        background-color: #eeeeee;
        border-color: #000;
    }

    .mainImg1,
    .mainImg2,
    .mainImg3 {
        width: 35%;
        height: auto;
        margin: 0 auto;
        display: block;
        margin-bottom: 1rem;
    }

    .mainText3,
    .mainText6,
    .mainText9 {
        font-size: 1.4rem;
        font-weight: bold;
        margin-top: 2rem;
    }

    .mainText4,
    .mainText7,
    .mainText10 {
        font-size: 1rem;
        color: rgb(177, 150, 0);
        font-weight: bold;
    }

    .mainText5,
    .mainText8,
    .mainText11 {
        font-size: 1.2rem;
        margin-top: 2rem;
        padding: 0 1rem;
        line-height: 1.6;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0rem;
    }

    .middlePage {
        position: relative;
        background-color: #ffffff;
        background-image: url(images/AI-Services-2.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 4rem 1rem;
        text-align: center;
        width: 97.8%;
        height: 100%;
    }

    .middleLine1 {
        width: 99.2%;
        border: 4px solid rgb(177, 150, 0);
        margin: 0;
        position: absolute;
        top: 0;
        left: 0;
    }

    .middleLine4 {
        width: 99.2%;
        border: 4px solid rgb(177, 150, 0);
        margin: 0;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .middleLine2,
    .middleLine3 {
        width: 70%;
        border: 1px solid #fff;
        margin: 2rem auto 1rem auto;
    }

    .middleLine2 {
        margin-top: -1rem;
    }

    .middleLine3 {
        margin-bottom: -1rem;
    }

    .middleText1,
    .middleText2 {
        font-size: 3.5rem;
        color: #fff;
        font-weight: bold;
        margin: 1rem 0 1rem;
        word-spacing: 0.3rem;
    }

    .middleText2 {
        font-size: 2.5rem;
    }

    .countdownDiv {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 2rem auto;
        flex-wrap: wrap;
    }

    .countdown-container {
        text-align: center;
    }

    .timer {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .timer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .flip-card {
        background-color: transparent;
        width: 60px;
        height: 90px;
        perspective: 1000px;
        margin: 2rem;
    }

    .flip-card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        transform-style: preserve-3d;
        transform: rotateX(0deg);
        transition: transform 0.6s;
    }

    .flip-card-front,
    .flip-card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 13rem;
        color: #fff;
        border-radius: 5px;
    }

    .flip-card-back {
        transform: rotateX(180deg);
    }

    .flip-card.flipping .flip-card-inner {
        transform: rotateX(-180deg);
    }

    .bottomPage {
        background-color: #f6f6f6;
        padding: 4rem 2rem;
        text-align: center;
    }

    .bottomText1 {
        font-size: 4rem;
        font-weight: lighter;
        letter-spacing: 0.4rem;
        word-spacing: 10px;
        margin-bottom: 3rem;
        margin-top: 0rem;
    }

    .bottomImg1 {
        width: 120vh;
        height: 50vh;
        border-radius: 20px;
        margin: 0 auto 3rem auto;
        display: block;
    }

    .iconRow {
        display: flex;
        justify-content: center;
        gap: 5rem;
        flex-wrap: wrap;
        margin-bottom: 3rem;
    }

    .iconBox {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 400px;
    }

    .iconImg {
        width: 100px;
        height: auto;
    }

    .iconBox:last-child .iconImg {
        width: 80px;
        margin-top: 1rem;
    }

    .iconText {
        font-size: 2rem;
        font-weight: bold;
        color: black;
    }

    .fleetText {
        font-size: 1.3rem;
        color: black;
        line-height: 1.6;
        text-align: center;
    }

    .end {
        background-color: rgb(0, 0, 0);
        width: 100%;
        padding: 2rem 1rem;
        color: white;
        text-align: center;
        box-sizing: border-box;
    }

    .footer-line-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .logo-line {
        flex: 1;
        border: 1px solid white;
    }

    .middleLogo {
        width: 6rem;
        height: auto;
        cursor: pointer;
    }

    .footer-wrapper {
        background-color: black;
        color: #fff;
        padding: 2rem 1rem;
        box-sizing: border-box;
    }

    .footer-top {
        display: flex;
        justify-content: space-between;
        gap: 0rem;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .footer-logo-slogan {
        text-align: left;
        margin-bottom: 2rem;
        flex: 1 1 250px;
        line-height: 2;
        cursor: pointer;
        margin-left: 2rem;
    }

    .underLogo {
        width: 13rem;
        height: auto;
        margin-bottom: 1.5rem;
    }

    .text5,
    .text6,
    .text7 {
        font-size: 0.8125rem;
        margin: 0.2rem 0;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 2rem;
        line-height: 1;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .icon {
        width: 1.8rem;
        height: auto;
    }

    .contact-text {
        font-size: 1.0625rem;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.1rem;
        text-align: left;
        flex: 3 1 600px;
    }

    .footer-group {
        display: flex;
        flex-direction: column;
        line-height: 0.4;
        font-size: 0.875rem;
        cursor: pointer;
        color: rgb(150, 150, 150);
    }

    .group-title {
        margin-top: 2rem;
        font-size: 1.0625rem;
        cursor: pointer;
        margin-bottom: 1.5rem;
        color: rgb(255, 255, 255);
    }

    .social-media {
        display: flex;
        gap: 0.8rem;
        margin-top: 3rem;
    }

    .social-icon {
        width: 1.7rem;
        height: auto;
    }

    .end-line {
        border: 1px solid #fff;
        margin: 1rem 0;
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        font-size: 0.875rem;
    }

    .last-text-left {
        margin-left: 2rem;
    }

    .last-text-right {
        margin-right: 2rem;
        gap: 2rem;
        word-spacing: 1.7rem;
    }
}

@media (width: 1024px) {

    .topnav {
        padding: 0 0.5rem;
        gap: 0.5rem;
    }

    .navLogo {
        padding-left: 1rem;
        height: 70%;
    }

    .nav-center {
        gap: 0.4rem;
    }

    .nav-center a {
        font-size: 0.875rem;
        padding: 1rem 0.5rem;
    }

    .nav-right {
        flex-direction: row;
        flex-shrink: 0;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;
        padding-right: 0.5rem;
        margin-right: 0.5rem;
    }

    .book-a-ride-button,
    .sign-in-button {
        width: auto;
        white-space: nowrap;
    }

    .topOverlay {
        position: relative;
        z-index: 1;
        padding: 1.5rem 2rem;
        max-width: 900px;
        margin: 0 auto;
        top: 55%;
        right: 3%;
    }

    .topText {
        font-size: 3rem;
        color: white;
        font-weight: 300;
        letter-spacing: 7px;
        margin-bottom: 1rem;
        margin-left: 1rem;
    }

    .topLine {
        width: 80%;
        border: 1.5px solid white;
        margin-left: 1rem;
    }

    .mainBoxes {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 3rem;
        margin-top: 3rem;
    }

    .point-to-point,
    .flexible-rides,
    .round-trip {
        width: 280px;
    }

    .middleText1 {
        font-size: 3rem;
    }

    .middleText2 {
        font-size: 2rem;
    }

    .timer {
        gap: 0rem;
    }

    .flip-card-front,
    .flip-card-back {
        font-size: 10rem;
    }

    .bottomText1 {
        font-size: 3.5rem;
    }

    .underLogo {
        display: block;
    }

    .footer-contact {
        align-items: end;
        margin-top: -7rem;
    }

    .footer-grid {
        gap: 0.2rem;
        margin-left: 2rem;
        margin-bottom: 2rem;
    }

}

@media (min-width: 1025px) and (max-width: 1280px) {

    .iconRow {
        gap: 3rem;
    }

    .iconBox {
        max-width: 350px;
    }

    .iconText {
        font-size: 1.5rem;
    }

    .footer-grid {
        gap: 0.2rem;
    }

    .footer-group:nth-child(5) {
        margin-left: 39rem;
        margin-top: -4rem;
    }

    .social-media {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 1366px) and (max-width: 1439px) {

    .iconBox {
        max-width: 350px;
    }

    .footer-grid {
        gap: 0.2rem;
    }

    .social-media {
        margin-bottom: 13rem;
    }

    .footer-contact .contact-item:nth-of-type(2) {
        width: 100%;
    }

}

@media (min-width: 1440px) {

    .social-media {
        margin-bottom: 13rem;
    }

    .footer-contact .contact-item:nth-of-type(2) {
        width: 100%;
    }
}

@media (min-width: 1920px) {

    .user-info {
        width: 18%;
    }

    .beforeTop {
        height: 8vh;
    }
}

@media (max-width: 1023px) {

    html {
        height: 100%;
        width: 100%;
        font-family: sans-serif;
    }

    body {
        padding: 0px;
        margin: 0px;
    }

    .topnav {
        position: fixed;
        width: 100%;
        z-index: 10;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1.5rem;
        height: 90px;
        background-color: black;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .topnav a {
        color: #fffcfc;
        text-align: center;
        padding: 1.8rem 1.2rem;
        text-decoration: none;
        font-size: 1rem;
        position: relative;
    }

    .topnav a::before {
        content: "";
        position: absolute;
        display: block;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: white;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .topnav a:hover::before {
        transform: scaleX(1);
    }

    .nav-left {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        width: 18%;
        height: 90%;
    }

    .navLogo {
        width: auto;
        height: 90%;
        object-fit: contain;
        cursor: pointer;
        padding-left: 3rem;
    }

    .nav-center {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        flex-wrap: wrap;
        background-color: black;
        flex-grow: 1;
        justify-content: flex-end;
    }

    .nav-center a {
        color: white;
        text-decoration: none;
        font-size: 1rem;
        position: relative;
        padding: 1.2rem 0.8rem;
    }

    .nav-center a::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 5px;
        left: 0;
        background-color: white;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .nav-center a:hover::before {
        transform: scaleX(1);
    }

    .user-info {
        display: none;
        justify-content: space-between;
        align-items: center;
        background-color: black;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        cursor: pointer;
        width: 30%;
        height: 60px;
    }

    .user-logo {
        height: 40px;
        width: 40px;
        border-radius: 50%;
        object-fit: cover;
    }

    .flex-spacer {
        flex-grow: 1;
    }

    .user-name {
        color: white;
        font-size: 1rem;
        white-space: nowrap;
    }

    .user-line {
        border-left: 1px solid white;
        height: 30px;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        background-color: #1a1a1a;
        color: white;
        padding: 1rem 1rem 1rem 1rem;
        border-radius: 7px;
        min-width: 10rem;
        z-index: 3;
    }

    .user-info:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu p {
        font-size: 1rem;
        padding: 0.4rem 0;
        cursor: pointer;
        margin-left: 1rem;
    }

    .dropdown-menu p:hover {
        color: rgb(149, 129, 18);
    }

    .myRides {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
        margin-top: 3%;
    }

    .storedLocations {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .userPayments {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .userInvoices {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .accountInformation {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .nav-right {
        display: flex;
        gap: 0rem;
        background-color: black;
        padding-right: 1.5rem;
        align-items: flex-start;
    }

    .mobile-menu {
        display: none;
    }

    .hamburger {
        display: none;
    }

    .book-a-ride-button {
        background-color: #a71717;
        cursor: pointer;
        color: white;
        border: none;
        text-align: center;
        font-size: 16px;
        width: 120px;
        height: auto;
        float: right;
        padding: 12px;
        margin: 10px;
        margin-top: 8px;
        border-radius: 3px;
        transition-duration: 0.4s;
    }

    .book-a-ride-button:hover {
        background-color: #6d1b15;
    }

    .sign-in-button {
        background-color: black;
        cursor: pointer;
        color: white;
        border-style: solid;
        float: right;
        text-align: center;
        width: 100px;
        height: 44px;
        padding: 12px;
        margin: 10px;
        margin-top: 8px;
        font-size: 16px;
        border-radius: 3px;
        transition-duration: 0.4s;
    }

    .sign-in-button:hover {
        background-color: white;
        color: #000000;
    }

    .topPage {
        position: relative;
        width: 100%;
        height: 60vh;
        overflow: hidden;
    }

    .topImg {
        background-image: url("images/AI-Services.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        height: 60vh;
        position: absolute;
        z-index: -1;
        top: 0;
        left: 0;
    }

    .topOverlay {
        position: relative;
        z-index: 1;
        padding: 1.5rem 2rem;
        max-width: 900px;
        margin: 0 auto;
        top: 55%;
        right: 13%;
    }

    .topText {
        font-size: 3.2rem;
        color: white;
        font-weight: 300;
        letter-spacing: 7px;
        margin-bottom: 1rem;
        margin-left: 1rem;
    }

    .topLine {
        width: 90%;
        border: 1.5px solid white;
        margin-left: 0.1rem;
    }

    .mainPage {
        position: relative;
        background-color: #d8d8d8;
        padding: 4rem 2rem;
        text-align: center;
    }

    .mainText1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }

    .mainLine1 {
        width: 40%;
        margin: 1rem auto;
        border: 1px solid #000;
    }

    .mainText2 {
        font-size: 1.5rem;
        font-weight: lighter;
        color: #000;
    }

    .mainBoxes {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5rem;
        margin-top: 3rem;
    }

    .point-to-point,
    .flexible-rides,
    .round-trip {
        background-color: white;
        border: 1px solid #ecebeb;
        border-color: #878787;
        border-radius: 20px;
        width: 350px;
        padding: 2rem 1rem;
        box-sizing: border-box;
        transition: background-color 0.3s, border-color 0.3s;
    }

    .point-to-point:hover,
    .flexible-rides:hover,
    .round-trip:hover {
        background-color: #eeeeee;
        border-color: #000;
    }

    .mainImg1,
    .mainImg2,
    .mainImg3 {
        width: 35%;
        height: auto;
        margin: 0 auto;
        display: block;
        margin-bottom: 1rem;
    }

    .mainText3,
    .mainText6,
    .mainText9 {
        font-size: 1.4rem;
        font-weight: bold;
        margin-top: 2rem;
    }

    .mainText4,
    .mainText7,
    .mainText10 {
        font-size: 1rem;
        color: rgb(177, 150, 0);
        font-weight: bold;
    }

    .mainText5,
    .mainText8,
    .mainText11 {
        font-size: 1.2rem;
        margin-top: 2rem;
        padding: 0 1rem;
        line-height: 1.6;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0rem;
    }

    .middlePage {
        position: relative;
        background-color: #ffffff;
        background-image: url(images/AI-Services-2.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 4rem 1rem;
        text-align: center;
        width: 97.8%;
        height: 100%;
    }

    .middleLine1 {
        width: 99.2%;
        border: 4px solid rgb(177, 150, 0);
        margin: 0;
        position: absolute;
        top: 0;
        left: 0;
    }

    .middleLine4 {
        width: 99.2%;
        border: 4px solid rgb(177, 150, 0);
        margin: 0;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .middleLine2,
    .middleLine3 {
        width: 70%;
        border: 1px solid #fff;
        margin: 2rem auto 1rem auto;
    }

    .middleLine2 {
        margin-top: -1rem;
    }

    .middleLine3 {
        margin-bottom: -1rem;
    }

    .middleText1,
    .middleText2 {
        font-size: 3.5rem;
        color: #fff;
        font-weight: bold;
        margin: 1rem 0 1rem;
        word-spacing: 0.3rem;
    }

    .middleText2 {
        font-size: 2.5rem;
    }

    .countdownDiv {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 2rem auto;
        flex-wrap: wrap;
    }

    .countdown-container {
        text-align: center;
    }

    .timer {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .timer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .flip-card {
        background-color: transparent;
        width: 60px;
        height: 90px;
        perspective: 1000px;
        margin: 2rem;
    }

    .flip-card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        transform-style: preserve-3d;
        transform: rotateX(0deg);
        transition: transform 0.6s;
    }

    .flip-card-front,
    .flip-card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 13rem;
        color: #fff;
        border-radius: 5px;
    }

    .flip-card-back {
        transform: rotateX(180deg);
    }

    .flip-card.flipping .flip-card-inner {
        transform: rotateX(-180deg);
    }

    .bottomPage {
        background-color: #f6f6f6;
        padding: 4rem 2rem;
        text-align: center;
    }

    .bottomText1 {
        font-size: 4rem;
        font-weight: lighter;
        letter-spacing: 0.4rem;
        word-spacing: 10px;
        margin-bottom: 3rem;
        margin-top: 0rem;
    }

    .bottomImg1 {
        width: 120vh;
        height: 50vh;
        border-radius: 20px;
        margin: 0 auto 3rem auto;
        display: block;
    }

    .iconRow {
        display: flex;
        justify-content: center;
        gap: 5rem;
        flex-wrap: wrap;
        margin-bottom: 3rem;
    }

    .iconBox {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 400px;
    }

    .iconImg {
        width: 100px;
        height: auto;
    }

    .iconBox:last-child .iconImg {
        width: 80px;
        margin-top: 1rem;
    }

    .iconText {
        font-size: 2rem;
        font-weight: bold;
        color: black;
    }

    .fleetText {
        font-size: 1.3rem;
        color: black;
        line-height: 1.6;
        text-align: center;
    }

    .end {
        background-color: rgb(0, 0, 0);
        width: 100%;
        padding: 2rem 1rem;
        color: white;
        text-align: center;
        box-sizing: border-box;
    }

    .footer-line-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .logo-line {
        flex: 1;
        border: 1px solid white;
    }

    .middleLogo {
        width: 6rem;
        height: auto;
        cursor: pointer;
    }

    .footer-wrapper {
        background-color: black;
        color: #fff;
        padding: 2rem 1rem;
        box-sizing: border-box;
    }

    .footer-top {
        display: flex;
        justify-content: space-between;
        gap: 0rem;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .footer-logo-slogan {
        text-align: left;
        margin-bottom: 2rem;
        flex: 1 1 250px;
        line-height: 2;
        cursor: pointer;
        margin-left: 2rem;
    }

    .underLogo {
        width: 13rem;
        height: auto;
        margin-bottom: 1.5rem;
    }

    .text5,
    .text6,
    .text7 {
        font-size: 0.8125rem;
        margin: 0.2rem 0;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 2rem;
        line-height: 1;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .icon {
        width: 1.8rem;
        height: auto;
    }

    .contact-text {
        font-size: 1.0625rem;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.1rem;
        text-align: left;
        flex: 3 1 600px;
    }

    .footer-group {
        display: flex;
        flex-direction: column;
        line-height: 0.4;
        font-size: 0.875rem;
        cursor: pointer;
        color: rgb(150, 150, 150);
    }

    .group-title {
        margin-top: 2rem;
        font-size: 1.0625rem;
        cursor: pointer;
        margin-bottom: 1.5rem;
        color: rgb(255, 255, 255);
    }

    .social-media {
        display: flex;
        gap: 0.8rem;
        margin-top: 3rem;
    }

    .social-icon {
        width: 1.7rem;
        height: auto;
    }

    .end-line {
        border: 1px solid #fff;
        margin: 1rem 0;
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        font-size: 0.875rem;
    }

    .last-text-left {
        margin-left: 2rem;
    }

    .last-text-right {
        margin-right: 2rem;
        gap: 2rem;
        word-spacing: 1.7rem;
    }
}

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .topnav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        position: relative;
        box-sizing: border-box;
    }

    .topnav a::before {
        display: none;
    }

    .nav-left {
        width: auto;
        justify-content: flex-start;
        padding-bottom: 0;
        height: auto;
    }

    .navLogo {
        height: 70px;
        padding-left: 0;
    }

    .nav-center {
        display: block
    }

    .nav-center a {
        display: none;
    }

    .user-info {
        margin-left: auto;
        width: 45%;
    }

    .nav-right {
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        width: 30px;
        height: 25px;
        position: relative;
        margin-right: 1rem;
    }

    .hamburger span {
        background: white;
        position: absolute;
        height: 3px;
        width: 100%;
        left: 0;
        transition: all 0.3s ease;
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 10px;
    }

    .hamburger span:nth-child(3) {
        top: 20px;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        width: 96vw;
        background-color: rgb(213, 213, 213);
        padding: 1rem;
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        z-index: 5;
        align-items: flex-start;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu a {
        color: rgb(0, 0, 0);
        text-decoration: none;
        padding: 0.75rem 0;
        font-size: 1.3rem;
        text-align: left;
        margin-left: 4rem;
        letter-spacing: 0.3rem;
        border-bottom: 1px solid #000000;
        width: 80%;
        margin-bottom: 0.5rem;
        text-indent: 2rem;
    }

    .mobile-menu a:hover {
        background-color: #979797;
        border-radius: 5px;
    }

    .nav-right2 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 0;
        background-color: rgb(213, 213, 213);
        width: 90%;
    }

    .nav-right2 .book-a-ride-button,
    .nav-right2 .sign-in-button {
        width: 89%;
        max-width: none;
        font-size: 1.3rem;
        padding: 0.75rem 0;
        text-align: left;
        border: none;
        letter-spacing: 0.2rem;
        margin-left: 4rem;
        border-bottom: 1px solid #000000;
        margin-bottom: 0.5rem;
        text-indent: 2rem;
    }

    .nav-right2 .book-a-ride-button {
        color: rgb(0, 0, 0);
        background-color: rgb(213, 213, 213);
        margin-top: -0.3rem;
    }

    .nav-right2 .sign-in-button {
        color: rgb(0, 0, 0);
        background-color: rgb(213, 213, 213);
        margin-top: -0.05rem;
        padding-bottom: 2.3rem;
    }

    .topOverlay {
        margin-top: 0rem;
        right: 0%;
        top: 60%;
    }

    .topText {
        font-size: 2.5rem;
    }

    .topLine {
        width: 90%;
        margin-left: 1rem;
    }

    .mainText1 {
        font-size: 2rem;
    }

    .middleLine1 {
        width: 98%;
    }

    .middleLine4 {
        width: 98%;
    }

    .flip-card {
        margin: 0rem;
    }

    .flip-card-front,
    .flip-card-back {
        font-size: 6rem;
    }

    .middleLine2,
    .middleLine3 {
        width: 90%;
    }

    .bottomText1 {
        font-size: 2.5rem;
    }

    .underLogo {
        display: none;
    }

    .footer-contact {
        align-items: end;
        margin-top: -4rem;
        margin-right: 2rem;
    }

    .footer-contact .contact-item:first-of-type {
        margin-right: 0rem;
        margin-top: -1rem;
    }

    .footer-contact .contact-item:nth-of-type(2) {
        margin-bottom: 1rem;
        font-size: 0.5rem;
        word-break: break-word;
        white-space: normal;
    }

    .footer-grid {
        margin-left: 2rem;
        margin-bottom: 2rem;
    }

    .last-text-left {
        margin-left: 1rem;
    }

    .last-text-right {
        margin-left: 1rem;
        word-spacing: 1rem;
    }
}

@media (min-width: 320px) and (max-width: 767px) {

    .mobile-menu a {
        margin-left: 2rem;
    }

    .nav-right2 .book-a-ride-button,
    .nav-right2 .sign-in-button {
        margin-left: 2rem;
    }

    .user-info {
        position: absolute;
        top: 100%;
        left: 0;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }

    .user-logo {
        height: 30px;
        width: 30px;
    }

    .dropdown-menu {
        left: 0;
    }

    .footer-contact {
        margin-top: 4rem;
        margin-bottom: -2rem;
    }

    .footer-contact .contact-item:first-of-type {
        margin-right: 8.9rem;
    }

    .footer-contact .contact-item:nth-of-type(2) {
        font-size: 0.5rem;
        word-break: break-word;
        white-space: normal;
        margin-right: 2rem;
    }

    .last-text-right {
        margin-left: 4rem;
    }
}

@media (min-width: 360px) and (max-width: 393px) {

    .topPage {
        height: 50vh;
    }

    .topImg {
        height: 50vh;
    }

    .topOverlay {
        margin-top: -3.5rem;
    }

    .topText {
        font-size: 1.7rem;
    }

    .topLine {
        width: 60%;
    }

    .middleLine1 {
        width: 97%;
    }

    .middleText1 {
        font-size: 2rem;
    }

    .middleText2 {
        font-size: 1.5rem;
    }

    .middleLine2,
    .middleLine3 {
        width: 90%;
    }

    .middleLine4 {
        width: 97%;
    }

    .flip-card {
        width: 40px;
        height: 90px;
        margin: 0.2rem;
    }

    .flip-card-front,
    .flip-card-back {
        font-size: 5rem;
    }

    .bottomText1 {
        font-size: 2rem;
    }
}

@media (min-width: 390px) and (max-width: 414px) {

    .mobile-menu a {
        margin-left: 2rem;
    }

    .nav-right2 .book-a-ride-button,
    .nav-right2 .sign-in-button {
        margin-left: 2rem;
    }

    .middlePage {
        width: 89%;
    }

    .footer-contact {
        margin-bottom: 1rem;
    }

    .footer-contact .contact-item:first-of-type {
        margin-right: 6.7rem;
    }

    .footer-contact .contact-item:nth-of-type(2) {
        margin-bottom: -1rem;
        font-size: 0.5rem;
        word-break: break-word;
        white-space: normal;
        margin-right: 1rem;
    }

    .footer-group:nth-child(2) {
        margin-left: 0rem;
    }

    .footer-group:nth-child(4) {
        margin-left: 0rem;
    }

    .social-media {
        margin-left: 0rem;
    }

    .last-text-right {
        margin-left: 2.2rem;
    }
}

@media (max-width: 440px) {

    .middleText1 {
        font-size: 2.3rem;
    }

    .flip-card {
        margin: -0.2rem;
    }

    .middleText2 {
        font-size: 2rem;
    }

    .middlePage {
        width: 93%;
    }

    .bottomImg1 {
        width: 40vh;
        height: 40vh;
    }
}

@media (width: 414px) {

    .footer-contact .contact-item:first-of-type {
        margin-right: 8rem;
    }

    .footer-contact .contact-item:nth-child(2) {
        margin-bottom: 0rem;
    }

}

@media (width: 412px) {

    .topText {
        font-size: 2.3rem;
    }

    .footer-contact .contact-item:first-of-type {
        margin-right: 8rem;
    }

    .footer-contact .contact-item:nth-child(2) {
        margin-bottom: 0rem;
    }

}

@media (width: 360px) {

    .footer-contact .contact-item:first-of-type {
        margin-right: 4.8rem;
    }

    .footer-contact .contact-item:nth-of-type(2) {
        margin-right: 0.1rem;
    }

    .footer-group:nth-child(2) {
        margin-left: 0rem;
    }

    .footer-group:nth-child(4) {
        margin-left: 0rem;
    }

    .last-text-right {
        margin-left: 0.6rem;
        gap: 0.1rem;
    }
}

@media (max-width: 320px) {

    .navLogo {
        height: 60px;
    }

    .mobile-menu a {
        margin-left: 1rem;
    }

    .nav-right2 .book-a-ride-button,
    .nav-right2 .sign-in-button {
        margin-left: 1rem;
    }

    .user-info {
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        border-bottom-left-radius: 0px;
    }

    .topPage {
        height: 50vh;
    }

    .topImg {
        height: 50vh;
    }

    .topOverlay {
        margin-top: -3.5rem;
    }

    .topText {
        font-size: 1.7rem;
    }

    .topLine {
        width: 60%;
    }

    .middleLine1 {
        width: 97%;
    }

    .middleText1 {
        font-size: 2rem;
    }

    .middleText2 {
        font-size: 1.5rem;
    }

    .middleLine2,
    .middleLine3 {
        width: 90%;
    }

    .middleLine4 {
        width: 97%;
    }

    .flip-card {
        width: 40px;
        height: 90px;
        margin: 0.2rem;
    }

    .flip-card-front,
    .flip-card-back {
        font-size: 4.5rem;
    }

    .bottomText1 {
        font-size: 2rem;
    }

    .footer-logo-slogan {
        margin-left: 1rem;
    }

    .footer-contact .contact-item:first-of-type {
        margin-right: 3.3rem;
    }

    .footer-contact .contact-item:nth-of-type(2) {
        margin-right: 0.1rem;
    }

    .footer-grid {
        margin-left: -3rem;
    }

    .footer-group:nth-child(1) {
        margin-left: 4rem;
    }

    .footer-group:nth-child(2) {
        margin-left: 4rem;
    }

    .footer-group:nth-child(3) {
        margin-left: 4rem;
    }

    .footer-group:nth-child(4) {
        margin-left: 4rem;
    }

    .footer-group:nth-child(5) {
        margin-left: 4rem;
    }

    .social-media {
        margin-left: 0rem;
        margin-top: 2rem;
        margin-bottom: 0rem;
    }

    .last-text-right {
        font-size: 0.8rem;
        margin-left: 0.6rem;
        gap: 1rem;
        word-spacing: 0.5rem;
    }

}