body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f0f8ff;
    color: #333;
    margin: 0;
    padding: 0;
}

.container_home {
    padding: 0%;
}

/* nav {
   background-image: url('/static/image/corprateprofile.jpg');
    background-color: #0077cc;
    padding: 10px 20px;
} */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



.marquee-container {
    background-color: #990c0c;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.marquee-content {
    color: white;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
    width: 100%;
}




nav.navbar {
    padding: 0 50px;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: url('/assets/image/corprateprofile.jpg');
    /* background-color: #004a99; */
    height: 10vh;
    padding: 10px 20px;
    z-index: 1000;
}

.navbar .logo img {
    height: 50px;
}

.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.navbar .nav-links li a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
}

.navbar .nav-links li a {
    position: relative;
    text-decoration: none; /* Removes default underline */
}

/* #track{
    z-index: 1000;
    background-color: blue;
    padding: 20px;
} */


.navbar .nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Adjust underline distance from text */
    width: 0;
    height: 2px;
    background-color: #000; /* Or your desired color */
    transition: width 0.3s ease;
}

.navbar .nav-links li a:hover::after {
    width: 100%;
}


/* .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    min-width: 150px;
    z-index: 1000;
}

.dropdown a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
}

.dropdown a:hover {
    background-color: #f0f0f0;
}

.nav-links li:hover .dropdown {
    display: block;
} */



.home {
    height: 120vh;  
   
    background-color: #b58787;
    background-image: url('/assets/image/TRANSPORTATION.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ✅ Media Query for smaller screens */
@media (max-width: 768px) {
    .home {
        height: 28vh; /* Reduce height for mobile */
        background-position: top; /* Focus upper portion of the image */
        background-size: contain; /* Adjust image size to fit */
    }
}




.content {
    height: 150px;
    background-color: #990c0c;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content p {
    height: 100px;
    width: 80%;
    text-align: left;
}

/* ✅ Media Query for smaller screens */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .content p {
        width: 100%;
        height: auto;
        text-align: justify;
    }
}




.scene {
    height: 600px;

    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    perspective: 800px;
}

.card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-title {
    color: rgb(0, 0, 0);
    margin-bottom: 10px;
    font-size: 25px;
    font-weight: bold;
}

.card {
    position: relative;
    width: 240px;
    height: 300px;
    color: white;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 1s ease-in-out;
}

.card:hover {
    transform: rotateY(180deg);
}

.card__face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: 1s ease-in-out;
    -webkit-box-reflect: below 0 linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.4));
}

.card__face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__face--back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 20px;
    background: #000;
}

.card__face--back button {
    padding: 10px 20px;
    background: crimson;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: bold;
}

.card__face--back button:hover {
    background: darkred;
}

@media screen and (max-width: 768px) {
    .scene {
        flex-direction: column;
        gap: 20px;
        height: auto;
        padding: 20px;
    }

    .card-container {
        width: 100%;
        align-items: center;
    }

    .card {
        width: 80%;
        height: 320px;
    }

    /* Disable reflection on small screens */
    .card__face {
        -webkit-box-reflect: unset !important;
        /* box-reflect: unset !important; */
        /* fallback for some browsers */
    }
}






/* === Hamburger Icon === */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

.newsletter {
    background-color: #004a99;
    color: white;
    /* display: flex; */
    text-align: center;
    padding: 20px 10px;
}

.newsletter input[type="email"] {
    padding: 10px;
    width: 250px;
    border-radius: 5px;
    border: none;
    outline: none;
}

.newsletter button {
    padding: 10px 20px;
    background-color: #d60f0f;
    border-radius: 5px;
    color: white;
    border: none;
    cursor: pointer;
}



footer {
    font-family: 'Segoe UI', sans-serif;
}

.footer {
    /* background-color: #a41717; */
    background-image: url('image/');
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    gap: 30px;
}

.footer-column {
    flex: 1 1 250px;
    min-width: 220px;
    max-width: 350px;
}

.footer-logo {
    width: 160px;
    margin-bottom: 10px;
}

.footer-column h3 {
    color: #990c0c;
    margin-bottom: 10px;
    font-size: 18px;
    text-decoration: underline;
}


.footer-column p,
.footer-column a {
    font-size: 14px;
    color: #000;
    text-decoration: none;
    line-height: 1.8;
    /* padding-left: 10px; */
}


/* .footer-column p {
    padding-left: 5px;
} */

.footer-column
.footer-column a:hover {
    text-decoration: underline;
}



.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: #f3f3f3;
    color: #000;
    text-align: center;
    line-height: 36px;
    border: 1px solid #ccc;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-icons a:hover {
    background-color: #004a99;
    color: #fff;
    border-color: #004a99;
}

.bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    background-color: #2e2e2e;
    padding: 15px 10px;
    color: white;
    font-size: 13px;
}

.bottom-links a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.bottom-links a:hover {
    text-decoration: underline;
}

.bottom-bar {
    background-color: #004a99;
    color: white;
    text-align: center;
    padding: 15px 10px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .social-icons {
        justify-content: center;
    }

    .bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}




/* chat bot */

#chatbot-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgb(227, 227, 223);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

#chatbot-icon img {
    width: 35px;
    height: 35px;
}

#chatbot {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #ddd;
    display: flex;
}

.chat-header {
    background: #0c9;
    color: white;
    padding: 12px;
    font-weight: bold;
    text-align: center;
}

.chat-body {
    padding: 10px;
    flex-grow: 1;
    overflow-y: auto;
    background: url('https://via.placeholder.com/350x500') no-repeat center center;
    /* Replace with your image URL */
    background-size: cover;
    /* Ensure the image covers the entire area */
    border-top: 1px solid #ddd;
}

.chat-option {
    background-color: #f0f0f0;
    border: none;
    border-radius: 20px;
    padding: 8px 12px;
    margin: 5px 5px 5px 0;
    cursor: pointer;
}

.chat-input-wrapper {
    display: flex;
    padding: 10px;
    background: #f0f0f0;
    border-top: 1px solid #ddd;
}

.chat-input {
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #ddd;
    width: 70%;
    margin-right: 10px;
}

.send-btn {
    background-color: #0c9;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.send-btn img {
    width: 20px;
    height: 20px;
}

.emoji-btn,
.voice-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 8px;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
}

.emoji-btn img,
.voice-btn img {
    width: 20px;
    height: 20px;
}

.company-logo {
    width: 50px;
    height: 50px;
    margin: 10px;
}

.chat-body p {
    margin-bottom: 10px;
    word-wrap: break-word;
}

/* Align user messages to the right */
.user-message {
    text-align: right;
    color: #fff;
    background-color: #0c9;
    /* Green for user messages */
    padding: 8px 12px;
    border-radius: 10px 10px 0 10px;
    /* Rounded corners */
    margin: 5px 10px;
    display: inline-block;
    max-width: 80%;
    word-wrap: break-word;
    align-self: flex-end;
    /* Align to the right */
}

/* Align bot messages to the left */
.bot-message {
    text-align: left;
    color: #333;
    background-color: #e6f7ff;
    /* Light blue for bot messages */
    padding: 8px 12px;
    border-radius: 10px 10px 10px 0;
    /* Rounded corners */
    margin: 5px 10px;
    display: inline-block;
    max-width: 80%;
    word-wrap: break-word;
    align-self: flex-start;
    /* Align to the left */
}

/* Emoji selector styles */
#emoji-selector {
    display: none;
    position: absolute;
    bottom: 60px;
    left: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.emoji {
    cursor: pointer;
    font-size: 20px;
    margin: 5px;
}

.emoji:hover {
    transform: scale(1.2);
}


#chatbot {
    display: none;
    /* Initially hidden */
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #ddd;
    opacity: 0;
    /* For smooth transition */
    transition: opacity 0.3s ease-in-out;
}

#chatbot.show {
    display: flex;
    /* Show the chatbot */
    opacity: 1;
    /* Fade-in effect */
}

/* === Responsive Sidebar Navbar === */
@media (max-width: 790px) {
    .menu-toggle {
        color: black;
        display: block;
        z-index: 1100;
    }

    .navbar .nav-links {
        flex-direction: column;
        position: fixed;
        height: 100%;
        width: 300px;
        top: 0;
        left: -100%;
        background-color: #004a99;
        padding-top: 60px;
        transition: left 0.4s ease;
        z-index: 1000;
    }

    .navbar.active .nav-links {
        left: 0;
    }

    .navbar .nav-links li {
        margin: 20px 0;
        text-align: center;
    }

    .navbar .nav-links li a {
        font-size: 18px;
        color: white;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        background-color: #004a99;
    }

    .dropdown a {
        color: white;
    }

    .dropdown a:hover {
        background-color: #003366;
    }
}


/* chat bot responsive */
@media screen and (max-width: 768px) {
    #chatbot {
        width: 90%;
        right: 5%;
        bottom: 100px;
        max-height: 70vh;
    }

    .chat-input-wrapper {
        flex-wrap: wrap;
        padding: 8px;
    }

    .chat-input {
        width: 100%;
        margin: 5px 0;
    }

    .send-btn,
    .emoji-btn,
    .voice-btn {
        width: 36px;
        height: 36px;
        padding: 8px;
        margin: 4px 5px;
    }

    .send-btn img,
    .emoji-btn img,
    .voice-btn img {
        width: 18px;
        height: 18px;
    }

    #emoji-selector {
        bottom: 120px;
        /* adjust for mobile view */
        left: 10px;
    }
}

@media screen and (max-width: 480px) {
    #chatbot-icon {
        width: 50px;
        height: 50px;
    }

    #chatbot-icon img {
        width: 28px;
        height: 28px;
    }

    #chatbot {
        width: 85%;
        bottom: 80px;
        max-height: 75vh;
    }

    .chat-body {
        font-size: 14px;
    }

    .chat-header {
        font-size: 16px;
        padding: 10px;
    }

    .chat-input {
        font-size: 14px;
    }

    .chat-option {
        font-size: 14px;
        padding: 6px 10px;
    }

    .emoji {
        font-size: 18px;
    }
}

/* nav a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* .container {
    padding: 20px;
} */