body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    background: #ffffff
}

nav {
    width: 100%;
    background-color: #FFFFFF;
    padding: 11px 0 !important;
    box-sizing: border-box;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 85px;
    border-bottom: 1px solid #ddd;
  
}

.nav-content {
    width: 100%;
    display: -webkit-inline-flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin: auto;
}

.logo {
    position: relative  ;
    top: 10%;
    left: 2%;
    align-self: center;
    width: 150px;
    height: auto;
}

.logo a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo a img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    color: #007bff;
}

.nav-links {
    position: relative  ;
    right: 2%;
    align-self: center;
    list-style: none;
    display: -webkit-inline-flex;
    right: 2%;
    margin-top: auto;
    margin-left: auto; /* Add this line to move links to the right */
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    color: #444;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: #007bff;
}

.contact-button {
    background-color: #007bff;
    color: white !important;
    border-radius: 5px;
}

.contact-button:hover {
    background-color: #0056b3;
}

.login-button {
    border: 1px solid #007bff;
    color: #007bff;
    border-radius: 5px;
}

.login-button:hover {
    background-color: #007bff;
    color: white;
}

/* Styles for the menu icon */
.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-icon div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

.menu-icon.change .bar1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-icon.change .bar2 {
    opacity: 0;
}

.menu-icon.change .bar3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: row; /* Adjust to column to stack logo and links vertically */
        align-items: center; /* Center everything horizontally */
        width: 100%; /* Ensure full width */
        padding: 0px;
        justify-content: space-around;
    }

    .nav-links {
        flex-direction: column; /* Stack links vertically */
        align-items: center; /* Center links */
        display: none; /* Hide by default */
        width: 100%; /* Full width for better touch targets */
        background-color: #FFFFFF; /* Optional: Add background color for visibility */
        position: absolute; /* Positioning relative to nav */
        top: 85px; /* Position below the nav bar */
        left: 0; /* Align to the left edge */
        box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Optional: Add shadow for depth */
        z-index: 1001; /* Ensure it's above other content */
    }

    .nav-links.active {
        display: flex; /* Show on toggle */
        flex-direction: column; /* Keep list direction vertical */
    }

    .nav-links li {
        margin: 10px 0; /* Space out links */
        width: 100%; /* Full width for each link */
        text-align: center; /* Center text within links */
    }

    .menu-icon {
        display: flex; /* Ensure menu icon is always visible */
        cursor: pointer; /* Hint at clickability */
        z-index: 1002; /* Above the links for accessibility */
    }
}


.chat-container {
    padding-top: 100px;
    display: flex ;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    min-width: 300px;
    height: calc(100vh - 75px - 100px);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
    margin: 25px auto;
    position: relative;

}

.footer {
    width: 100%;
    height: 200px;
    background-color: #333;
    color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    bottom: 0;
}

.chat-box {
    flex: 1;
    width: 100%;
    border: 1px solid #ffffff;
    margin-top: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    box-sizing: border-box;
    overflow-y: auto;
}

.chat-messages {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    margin: 10px 0;
    display: block;
    max-width: 100%;
    padding: 10px;
    border-radius: 15px;
    word-wrap: break-word;
    clear: both;
}

.chat-message.user {
    background-color: #d4edda;
    color: #155724;
    text-align: left;
    float: left;
    border-radius: 0px 15px 0 15px;
}

.chat-message.bot {
    background-color: #8D9ACE;
    color: #721c24;
    text-align: left;
    color: #ffffff;
    float: left;
    border-radius: 15px 0px 15px 0px;
}

.chat-message.bot span{
    background-color: #8D9ACE;
    text-align: left;
    color: #ffffff;
    float: left;
    border-radius: 15px 0px 15px 0px;
}

.typing {
    color: gray;
}

.prompt-input {
    width: calc(100% - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    box-sizing: border-box;
    background-color: white;
    border-top: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
    position: absolute;
    bottom: 0;
}

.prompt-input input {
    width: calc(100% - 60px);
    padding: 10px 50px 10px 20px;
    border-radius: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1em;
    outline: none;
    box-sizing: border-box;
}

.prompt-input button {
    position: absolute;
    right: 25px;
    background: none;
    border: none;
    color: #474747;
    font-size: 1.5em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    height: 50%;
}

.prompt-input button:hover {
    color: #000000;
    background-color: transparent;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.titles {
    text-align: left;
}

.titles h1 {
    font-size: 2.7em;
    margin: 0.2em 0;
    background: linear-gradient(90deg, rgba(90, 0, 157, 1) 0%, rgba(253, 83, 83, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.titles h1 span {
    color: #fd5353;
}

.open-button {
    background-color: #007aff;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: auto;
}

.open-button:hover {
    opacity: 1;
}

.appointment {
    margin-top: 20px;
    font-size: 2em;
    color: #C4C7C5;
    align-self: center;
}

.options {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 70%;
    margin-top: 20px;
    gap: 15px;
    position: absolute;
    bottom: 90px;
    z-index: 1; /* Ensures options are behind the chat box */
}

.option {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
    width: 30%;
    min-width: 130px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    box-sizing: border-box;
}

.option:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.option p {
    font-size: 1em;
    color: #333;
}

.option .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    margin: 20px auto 0;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .titles h1 {
        font-size: 2em;
    }

    .appointment {
        font-size: 1.2em;
    }

    .option {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .titles h1 {
        font-size: 1.5em;
    }

    .appointment {
        font-size: 1em;
    }

    .option {
        width: 100%;
        height: 90px;
        padding: 5px;
    }

    .option .icon{
        height: 25px;
        margin: 15px auto 10px;
    }
}

/* Popup form button */
.open-button {
    background-color: #007aff;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    border-radius: 8px;
    width: auto;
    font-size: 14px;
    margin-left: auto;
}

.open-button:hover {
    opacity: 1;
}

/* Popup form container */
.form-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid #f1f1f1;
    z-index: 9;
    border-radius: 10px;
}

/* Form styles */
.form-container {
    width: 100%;
    max-width: 300px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.form-container input[type=text], .form-container input[type=email] {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
    border-radius: 10px;
    box-sizing: border-box;
}

.form-container input[type=text]:focus, .form-container input[type=email]:focus {
    background-color: #ddd;
    outline: none;
}

.form-container label {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin: 10px 0;
}

.form-container input[type=checkbox] {
    margin-right: 10px;
}

.form-container .btn {
    background-color: #007aff;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    opacity: 0.8;
    border-radius: 10px;
    font-size: 16px;
}

.form-container .cancel {
    background-color: red;
}

.form-container .btn:hover, .open-button:hover {
    opacity: 1;
}

/* Confirmation popup */
.confirmation-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #4CAF50;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.confirmation-message {
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-message span {
    font-size: 24px;
    margin-right: 10px;
}

.chat-container .options {
    margin-bottom: 20px;
}

.prompt-input input:focus {
    outline: none;
    border: 1px solid #02125E;
    box-shadow: 0 0 5px rgba(90, 0, 157, 0.5);
}

.prompt-input input {
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.prompt-input {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prompt-input input {
    width: 100%;
    padding: 10px 50px 10px 20px;
    border-radius: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1em;
    outline: none;
    box-sizing: border-box;
}

.prompt-input button {
    position: absolute;
    right: 35px;
    background: none;
    border: none;
    color: #007FDD;
    font-size: 1.5em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    height: 50%;
}

.prompt-input button:hover {
    color: #000000;
    background-color: transparent;
}





/* Ensure the main container allows for full-height minus the header */
.chat-container {
    min-height: calc(100vh - 180px); /* Adjust based on the height of your header */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically if it doesn't fill the screen */
    align-items: center;
    overflow: auto; /* Allows for scrolling if content exceeds the viewport height */
    padding-top: 10px;
    padding-bottom: 10px; /* Padding for aesthetic spacing */
}

.mainfooter {
    background: url('https://img.freepik.com/premium-vector/world-map-blue-background_322958-253.jpg') center center no-repeat;
    background-size: cover; /* This will ensure the image covers the entire footer */
    width: 100%;
    height: auto; /* Ensure height is auto or set to a specific value if needed */

}


/* Initially hide the footer */
footer {
    width: 100%;
    height: auto; /* Changed to auto to accommodate variable content height */
    background-color: transparent;
    color: white;
    display: flex;
    flex-direction: column; /* Adjusting layout for responsiveness */
    align-items: center;
    justify-content: center;
    padding: 0px;
}

.footer-content {
    display: flex;
    flex-direction: row; /* default is row, changes to column on small screens */
    justify-content: space-around;
    text-align: left;
    padding: 20px 50px;
    border-bottom: 1px solid #505050;
}

.footer-section {
    max-width: 350px;
    margin: 0 auto;
}

.footer-section h2,
.footer-section h3 {
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-section p,
.footer-section a {
    margin: 5px 0;
    color: #b3b3b3;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
    color: #FFFFFF;
}

.footer-section h3 i {
    margin-right: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 170px; /* Reduced padding for smaller screens */
    background-color: transparent;
}

.footer-bottom p {
    margin: 0;
}

.footer-menu {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-left: 20px;
}

.footer-menu li a {
    color: #858484;
    text-decoration: none;
}

.footer-menu li a:hover {
    text-decoration: underline;
    color: #FFFFFF;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        padding: 20px;
    }

    .footer-section {
        margin-bottom: 20px; /* Adding margin to separate sections vertically */
    }

    .footer-bottom {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .footer-menu {
        flex-direction: column;
    }

    .footer-menu li {
        margin: 10px 0; /* Stack links vertically with spacing */
    }
}




/*About us css */






.about-us {
  display: flex;
  align-items: center;
  height: 100vh;
  width: 100%;
  padding: 90px 0;
  background: #fff;
}
.pic {
  height: auto;
  width: 400px;
  border-radius: 12px;
}
.about {
  width: 1130px;
  max-width: 50%;
  margin: 0 auto;
  
/*display: flex;*/
  align-items: center;
  justify-content: space-around;
}
.text {
  width: 540px;
}
.text h2 {
  color: #333;
  font-size: 90px;
  font-weight: 600;
  margin-bottom: 10px;
}
.text h5 {
  color: #333;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
}
span {
  color: #4070f4;
}
.text p {
  color: #333;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: 1px;
}
.data {
  margin-top: 30px;
}
.hire {
  font-size: 18px;
  background: #4070f4;
  color: #fff;
  text-decoration: none;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  transition: 0.5s;
}
.hire:hover {
  background: #000;
}




/* Mobile Styles */
@media (max-width: 768px) {
    .about {
      flex-direction: column;
      text-align: center;
    }

    .text {
      padding: 0;
    }

    .text h2 {
      font-size: 1.5em;
    }

    .text h5 {
      font-size: 1em;
    }

    .text p {
      font-size: 0.9em;
    }

    .hire {
      width: 100%;
      padding: 15px;
    }
  }