/* --------------------------------------------------
   Reset & Global
-------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth; /* For smooth scrolling to anchors */
}
body {
  font-family: 'Arial', sans-serif;
  color: #333;
  background-color: #fafafa;
  line-height: 1.6;
}

/* Container utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.container ul {
    text-align: center;
}
/* --------------------------------------------------
   Header & Nav
-------------------------------------------------- */
/* The overall header is now a bit shorter */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* We set a fixed height so we can do exact 80% for the logo. */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;           /* Shorter total header height */
  position: relative;
  padding: 0 1rem;        /* Horizontal padding */
}

/* The logo is ~80% of 60px = 48px; leaving ~10% top/bottom space (6px each). */
.logo img {
  max-height: 48px;       /* 80% of 60px */
  width: auto;
  display: block;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  /* helps center them vertically if .navbar has a set height */
  line-height: 1.3; 
  padding: 0.4rem 0.8rem;
}

.nav-menu li a:hover {
  color: #0077cc;
}


/* For the dropdown parent */
.nav-dropdown {
  position: relative;
}

/* The nested dropdown content (initially hidden) */
.dropdown-content {
  display: none;
  position: absolute; /* so it overlays beneath the parent */
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 120px;
  list-style: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 0;
  margin: 0;
  z-index: 999;
}

.dropdown-content li a {
  display: block;
  padding: 0.6rem 1rem;
  color: #333;
  text-decoration: none;
}

/* On hover, show dropdown */
.nav-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content li a:hover {
  background-color: #f2f2f2;
}

/* CTA NAV Button */
.nav-menu li a.cta-button-nav {
      background-color: #0077cc;
  color: #fff !important; /* Force white text */
  font-weight: bold;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  line-height: 1.2;
  margin-left: 1rem;
}

.cta-button-nav:hover {
  background-color: #005fa3;
}



/* Hamburger toggle (hidden on desktop, shown on mobile) */
.nav-toggle {
  display: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: 0.4s;
}

/* --------------------------------------------------
  Dividers, Sections and Style Enhancements
-------------------------------------------------- */

.page-blocks-wrapper {
  width: 100%;
  margin: 0 auto;
}

.page-block {
  padding: 3rem 1rem;
  /* other shared styles, e.g.: */
}

.page-block h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.page-block h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.page-block p {
  max-width: 800px;
  margin: 0.5rem auto;
  text-align: center;
  line-height: 1.5;
  color: #555;
}


.page-blocks-wrapper > .page-block:nth-of-type(4n+1) {
  background-color: #ffffff; /* White */
}

.page-blocks-wrapper > .page-block:nth-of-type(4n+2) {
  background-color: #d6e4f0; /* Light Blue */
}

.page-blocks-wrapper > .page-block:nth-of-type(4n+3) {
  background-color: #ffffff; /* White */
}

.page-blocks-wrapper > .page-block:nth-of-type(4n+4) {
  background-color: #f9f9f9; /* Light Gray */
}






.section-divider {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  /* Optional: negative margin to overlap the previous section */
  margin-top: -2px;
}


/* --------------------------------------------------
   Hero Section
-------------------------------------------------- */
.hero {
  position: relative;
  min-height: 60vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65); /* Darker overlay for better contrast */
}


/* HERO SLIDER BASE STYLES */
.hero-slider {
  /* If you're using your .hero-slider for the slides */
  min-height: 75vh; /* ensures at least 75% viewport height */
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  min-height: 75vh;
  background-size: cover;
  background-position: center;
  /* Fade from 0 -> 1 */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1; /* baseline */
}

.slide.active {
  opacity: 1;
  z-index: 2; /* bring active slide on top */
}

/* Dark overlay to ensure text is legible */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* Increase or decrease as desired */
}

/* Hero text styling */
.hero-text {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  max-width: 700px;
  margin-top: .5rem; /* extra space for small screens */
  padding: 0 1rem;  /* side padding */
}

/* CTA buttons container */
.hero-cta-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}



.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.75);
}


/* --------------------------------------------------
   CTA Button & Variation
-------------------------------------------------- */
.cta-button {
  display: inline-block;
  background: #0077cc;
  color: #fff;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}
.cta-button:hover {
  background: #005fa3;
}
.cta-secondary {
  background: #fff;
  color: #0077cc;
  border: 2px solid #0077cc;
}
.cta-secondary:hover {
  background: #0077cc;
  color: #fff;
}


/* General VAPI button styles */


/* Style the VAPI Button to Match the "Book Call" Button */
.vapi-btn {
    position: fixed !important;
    background-color: white !important; /* White background */
    color: #0077cc !important; /* Blue text */
    font-weight: bold !important;
    padding: 0.6rem 1.4rem !important;
    border: 2px solid #0077cc !important; /* Thicker border */
    border-radius: 8px !important; /* Rounded edges */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    width: fit-content !important;
    min-width: 80px !important;
    height: auto !important;
    cursor: pointer !important;
    transition: all 0.3s ease-in-out !important;
    z-index: 999;
}

/* Add Hover Effect */
.vapi-btn:hover {
    background-color: #0077cc !important; /* Blue background */
    color: white !important; /* White text */
    box-shadow: 0 0 10px rgba(0, 119, 204, 0.5) !important; /* Blue glow */
    transform: translate(0, -2px) !important; /* Slight hover lift */
}

/* Add Active State (When Call is in Progress) For END CALL BUTTON*/
.vapi-btn.vapi-btn-is-active {
    background-color: #ff4444 !important; /* Red background when active */
    color: white !important;
    border: 2px solid #cc0000 !important;
}

/*  Connecting State */
.vapi-btn.vapi-btn-is-loading {
    background-color: #0077cc !important; /* Keep blue instead of gold */
    color: white !important;
    border: 2px solid #005fa3 !important;
}

/* Hero button: connecting state */
.vapi-btn-hero.vapi-btn-is-loading {
  background-color: #0077cc !important;
  color: white !important;
  border: 2px solid #005fa3 !important;
}

/* Hero button: active (end call) */
.vapi-btn-hero.vapi-btn-is-active {
  background-color: #ff4444 !important;
  color: white !important;
  border: 2px solid #cc0000 !important;
}


/* Ensure Icon is Correctly Sized */
.vapi-btn img {
    width: 20px !important;
    height: 20px !important;
    display: inline-block !important;
    background: none !important;
}

/* Add a Soft Glow Animation to the Idle State */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 8px rgba(0, 119, 204, 0.4);
    }
    50% {
        box-shadow: 0 0 15px rgba(0, 119, 204, 0.6);
    }
    100% {
        box-shadow: 0 0 8px rgba(0, 119, 204, 0.4);
    }
}

/* Apply the Glow Animation When Idle */
.vapi-btn.vapi-btn-is-idle {
    animation: pulseGlow 2s infinite ease-in-out !important;
}

/* Remove Glow When the Call is Active */
.vapi-btn.vapi-btn-is-active,
.vapi-btn.vapi-btn-is-loading {
    animation: none !important;
    box-shadow: none !important;
}




.vapi-btn-hero {
    background-color: white !important; /* White background */
    color: #0077cc !important; /* Blue text */
    font-weight: bold !important;
    padding: 0.6rem 1.4rem !important;
    border: 2px solid #0077cc !important; /* Thicker border */
    border-radius: 8px !important; /* Rounded edges */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    width: fit-content !important;
    min-width: 140px !important;
    height: auto !important;
    cursor: pointer !important;
    transition: all 0.3s ease-in-out !important;
}

/* Add Hover Effect */
.vapi-btn-hero:hover {
    background-color: #0077cc !important; /* Blue background */
    color: white !important; /* White text */
    box-shadow: 0 0 10px rgba(0, 119, 204, 0.5) !important; /* Blue glow */
    transform: translateY(-2px) !important; /* Slight hover lift */
}

/* Add Active State (When Call is in Progress) */
.vapi-btn-hero.vapi-btn-is-active {
    background-color: #ff4444 !important; /* Red background when active */
    color: white !important;
    border: 2px solid #cc0000 !important;
}

/* Add Connecting State */
.vapi-btn-hero .vapi-btn-is-loading {
    background-color: #0077cc !important; /* Keep blue instead of gold */
    color: white !important;
    border: 2px solid #005fa3 !important;
}

/* Ensure Icon is Correctly Sized */
.vapi-btn-hero img {
    width: 20px !important;
    height: 20px !important;
    display: inline-block !important;
    background: none !important;
}




/* --------------------------------------------------
   Sections
-------------------------------------------------- */

/* Adjust bullet point spacing specifically for the capabilities section */
#capabilities-section ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    padding-left: 0;
}

#capabilities-section ul li {
    font-size: 1rem; /* Adjust font size */
    line-height: 1.6; /* Set line height for readability */
    margin-bottom: 0.5rem; /* Reduce extra spacing between items */
    padding-left: 0; /* Ensure no extra left padding */
    text-align: left;
}

/* Feature Grid */
.features-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 2rem;
}

/* Feature Box styling */
.feature-box {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}
.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.feature-box img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* The icon container above the h3 */
.feature-icon {
  color: #0077cc; /* Brand color for the icon */
  margin-bottom: 1rem;
}

/* HEADINGS & PARAGRAPHS */
.feature-box h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #333;
}
.feature-box p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.4;
}

#feature-icon {
  width: 50px;
  height: 50px;
}

#robot-graphics{
    width: 33%;
}

#robot-graphics2{
    width: 40%;
}



/* CTA Section */
.cta-section {
  text-align: center;
  padding: 3rem 1rem;
}

/* --------------------------------------------------
   Scroll Reveal (basic)
-------------------------------------------------- */
/* Initially hidden or slightly shifted */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
/* When active (in view), fade in and move up */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------
   Form Styles
-------------------------------------------------- */
.contact-form {
  max-width: 600px;
  margin: 2rem auto 0 auto;
  display: flex;
  flex-direction: column;
}
.contact-form label {
  margin: 0.5rem 0 0.25rem 0;
  font-weight: bold;
  color: #333;
}
.contact-form input,
.contact-form textarea {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.contact-form button {
  background: #0077cc;
  color: #fff;
  padding: 0.8rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.contact-form button:hover {
  background: #005fa3;
}

#contact-form {
  scroll-margin-top: 60px; /* Adjust this value to control the offset */
}



/* --------------------------------------------------
   Layouts
-------------------------------------------------- */

/* Two-column general styling */
.two-column .row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.two-column .row .column {
  flex: 1;
}

/* For the reversed layout */
.two-column.reverse .row {
  flex-direction: row-reverse;
}

/* Images fill half the container width on desktop */
.two-column .image-col img {
  width: 80%;
  height: auto;
  display: block;
  border-radius: 6px; /* optional rounding */
  text-align: center;
  margin: auto;
}



/* --------------------------------------------------
   Footer
-------------------------------------------------- */
.site-footer {
  background: #333; /* if you want a dark footer */
  color: #fff; 
  text-align: center; /* center text horizontally */
  padding: 1.5rem 0;
}

.site-footer p {
  margin: 0.5rem 0; 
  font-size: 0.9rem;
}

/* The footer-links UL is displayed as inline-flex or flex centered horizontally */
.footer-links {
  list-style: none;
  display: inline-flex; /* or you can do display: flex; justify-content: center; */
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
}

.footer-links li a {
  color: #ccc; /* slightly lighter or #fff if you prefer */
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links li a:hover {
  text-decoration: underline;
  color: #fff;
}



/* --------------------------------------------------
   Appointment Booking Modal - General Styles
-------------------------------------------------- */
#bookingModal {
    display: none;
    position: fixed;
    z-index: 1000; /* Make sure it's on top */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
 /*   background: rgba(0, 0, 0, 0.6);  Darken the background */
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* SHOW MODAL */
#bookingModal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

/* ACTUAL MODAL CONTENT */
.modal-inner {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 32%;
    margin: auto;
    position: relative;
}





/* --------------------------------------------------
   Modal Header & Close Button
-------------------------------------------------- */
.modal-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

#closeModal {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    transition: color 0.3s ease-in-out;
}

#closeModal:hover {
    color: #ff4444;
}

/* --------------------------------------------------
   Date Navigation Section
-------------------------------------------------- */
.date-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
}

.date-navigation h2 {
    font-size: 1.3rem;
    margin: 0;
}

.date-navigation button {
    background: #0077cc;
    color: white;
    border: none;
    padding: 10px 14px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.date-navigation button:hover {
    background: #005fa3;
}

/* --------------------------------------------------
   Appointment Time Slots
-------------------------------------------------- */
.appointment-times {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.appointment-slot {
    width: 100%;
    max-width: 350px;
    padding: 12px;
    font-size: 1.1rem;
    border: none;
    border-radius: 6px;
    background-color: #0077cc;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.appointment-slot:hover {
    background-color: #005fa3;
    transform: translateY(-2px);
}

/* --------------------------------------------------
   Appointment Booking Form
-------------------------------------------------- */
#appointmentForm {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#appointmentForm input, 
#appointmentForm textarea {
    width: 100%;
    padding: 3px;
    margin: 2px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

#appointmentForm textarea {
    height: 80px;
}

/* Submit Button */
#appointmentForm button {
    width: 100%;
    padding: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    background-color: #0077cc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#appointmentForm button:hover {
    background-color: #005fa3;
}

/* --------------------------------------------------
   Confirm Booking Modal Styles
-------------------------------------------------- */
#bookingModal .modal-content {
    width: 90%; /* Slightly wider */
    max-width: 480px; /* Adjust for better readability */
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Form Heading */
#bookingModal h2 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 10px;
}

/* Label Styling */
#bookingModal label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px; /* Reduce space before input field */
    text-align: left; /* Align labels to the left */
}


  #bookingModal input,
  #bookingModal select,
  #bookingModal textarea {
  
    padding: 0.5rem 0.5rem; 
    /*margin-bottom: .6rem;   */
  }

/* Textarea Adjustments */
#bookingModal textarea {
    height: 80px;
    resize: vertical;
}

.time-picker-row {
  display: inline-flex;  /* or display:flex, if you prefer */
  align-items: center;   /* vertically center them */
  gap: 8px;              /* horizontal space between the button and the input */
  margin-bottom: 1rem;   /* your usual spacing */
}

/* If you want the read-only field to appear right away (next to button),
   just remove 'display:none;' from the inline style. Otherwise, your JS
   can set .style.display = 'inline-block' once the user has selected a slot. */


/* --------------------------------------------------
   Contact Page Contact Form
-------------------------------------------------- */
/* 1) Make all contact-form inputs and selects the same width/height */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-sizing: border-box; 
  /* Ensures <select> matches the height and styling of text inputs */
}

/* 2) Specifically ensure the read-only field for date/time is wide enough */
#picked_date_time {
  width: 100%; /* or a custom width if you prefer, e.g. 80% */
  min-width: 250px; /* ensures it won’t be too narrow */
 
}

/* A simple overlay behind the modal */
#resultModalOverlay {
  position: fixed;
  inset: 0; /* top, right, bottom, left = 0 */
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9000; /* behind the modal itself */
}

/* The modal container (on top of the overlay) */
#resultModal {
  position: fixed;
  z-index: 9999; /* ensure it's above the overlay */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 400px;
  width: 90%; /* for smaller screens */
  display: none; /* hidden by default */
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* When we add .show to both overlay and modal, they appear */
#resultModal.show,
#resultModalOverlay.show {
  display: block;
}

/* The close (X) button in the corner */
#closeResultModal {
  position: absolute;
  right: 0.8rem;
  top: 0.6rem;
  font-size: 1.2rem;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
}

/* The success heading */
#resultModal h2.success-title {
  color: green;
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

/* Fade-in animation, optional */
@keyframes modalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#resultModal.show {
  animation: modalFade 0.4s ease forwards;
}
#resultModalOverlay.show {
  animation: modalFade 0.4s ease forwards;
}



/* --------------------------------------------------
   COOKIES / PERMISSIONS
-------------------------------------------------- */

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-buttons button {
    background: #0077cc;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.cookie-buttons button:hover {
    background: #005fa3;
}

/* Cookie Modal */

.cookie-modal {
    display: none;
    position: fixed;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 20px;
    text-align: center;
}

/* - Cookie Preferences Modal - */
#cookieModal {
    display: none;
    position: fixed;
    z-index: 9999; /* Ensure it stays on top */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 450px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 20px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Show Modal */
#cookieModal.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Modal Header */
#cookieModal h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
}

/* Modal Body Text */
#cookieModal p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

/* Cookie Options Styling */
.cookie-options {
    text-align: left;
    font-size: 1rem;
    margin-bottom: 15px;
}

.cookie-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #333;
}

/* Styling for Checkboxes */
.cookie-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Buttons Styling */
.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.cookie-buttons button {
    background: #0077cc;
    color: white;
    border: none;
    padding: 8px 12px; /* Reduced padding */
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-size: 0.9rem; /* Reduce font size slightly */
    white-space: nowrap; /* Prevent text wrapping */
}

.cookie-buttons button:hover {
    background: #005fa3;
}

#savePreferences {
    background-color: #0077cc;
    color: white;
}

#savePreferences:hover {
    background-color: #005fa3;
}

#closeCookieModal {
    background-color: #ccc;
    color: black;
}

#closeCookieModal:hover {
    background-color: #999;
}


/* ================== TIME-SLOT MODAL STYLES ================== */

/* Book-A-Call Modal B (timeSlotModal) matches the bookingModal style */
#timeSlotModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 50%; 
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show it when .show is added */
#timeSlotModal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
}

/* The inner container for the time-slot modal */
#timeSlotModal .modal-inner {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
  width: 40%;
  margin: auto;
  position: relative;
  text-align: center; /* so heading & times appear centered */
}

/* We can reuse the close button style (#closeTimeSlotModal),
   same as #closeModal. Just ensure the ID matches your HTML. */
#closeTimeSlotModal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: #333;
  background: none;
  border: none;
  transition: color 0.3s ease-in-out;
}
#closeTimeSlotModal:hover {
  color: #ff4444;
}

/* The date-navigation styling (arrows, date header) is the same. */
#timeSlotModal .date-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px 0;
}
#timeSlotModal .date-navigation h2 {
  font-size: 1.3rem;
  margin: 0;
}
#timeSlotModal .date-navigation button {
  background: #0077cc;
  color: white;
  border: none;
  padding: 10px 14px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}
#timeSlotModal .date-navigation button:hover {
  background: #005fa3;
}

/* The container for time-slot buttons */
#timeSlotModal .appointment-times {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

/* Each time-slot button (.slot-btn) can match your .appointment-slot style */
#timeSlotModal .slot-btn {
  width: 100%;
  max-width: 300px;
  padding: 12px;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  background-color: #0077cc;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
#timeSlotModal .slot-btn:hover {
  background-color: #005fa3;
  transform: translateY(-2px);
}


  /* Add this to style.css (or wherever you have your global CSS) */
.checkbox-row {
  display: inline-flex;       /* keeps checkbox + label on one line */
  align-items: center;        /* vertically center the label with the box */
  gap: 6px;                   /* a small space between checkbox and text */
  margin: 1rem 0;            /* same top/bottom spacing you had before */
}
.checkbox-row input[type="checkbox"] {
  display: inline-block !important; /* override any 'display:block' from global rules */
  width: auto !important;          /* so it doesn't fill 100% width */
  margin: 0;
}
.checkbox-row label {
  margin: 0;                  /* remove margin so it sits flush with the box */
  cursor: pointer;            /* let user click the label to toggle box */
}



/* For smaller screens, the time-slot modal uses full width */
@media (max-width: 992px) {
  #timeSlotModal .modal-inner {
    width: 90%;
  }
}






/* --------------------------------------------------
   Desktop always show bottom demo call button
-------------------------------------------------- */

@media (min-width: 993px) {
  .vapi-btn {
    display: flex !important;
    opacity: 1 !important;
  }
}



















/* --------------------------------------------------
   📱 Mobile / Tablet Breakpoints for Responsiveness
-------------------------------------------------- */
@media (max-width: 992px) {

/* ----------------------------------------------
   🌐 Navbar Adjustments for Mobile 
---------------------------------------------- */
  .navbar {
    justify-content: center;
    position: relative;
  }

  /* Hide regular nav menu and change layout */
  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px; /* Adjusted to match .navbar height */
    right: 0;
    left: 0;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  /* Open state for mobile navigation */
  .nav-menu.open {
    display: flex;
  }

  /* Show the hamburger menu on mobile */
  .nav-toggle {
    display: block !important;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2000; /* Ensure it's above other elements */
  }

  /* Center the logo and adjust order */
  .logo {
    order: 2; /* Moves the logo after the toggle button */
    margin: 0 auto;
    text-align: center;
  }

  /* Hamburger menu icon transformation (optional) */
  .nav-toggle.open span {
    /* Add transformation styles for a close icon effect */
  }

  /* ----------------------------------------------
   📌 Dropdown Adjustments on Mobile
---------------------------------------------- */
  .dropdown-content {
    position: static; /* Prevents dropdowns from floating */
    box-shadow: none; /* Removes default shadow */
  }

  /* Disable hover effect for dropdowns on mobile */
  .nav-dropdown:hover .dropdown-content {
    display: none;
  }

  /* Enable click-to-open dropdowns instead */
  .nav-dropdown.open .dropdown-content {
    display: block;
  }

  /* ----------------------------------------------
   🖼️ Hero Section Adjustments
---------------------------------------------- */
  .hero-slider,
  .hero-slider .slide {
    min-height: 80vh; /* Adjusts height for better visibility */
    padding: 0.5rem;
  }

  /* Adjust text positioning in the hero section */
  .hero-text {
      position: relative;
      top: 50%;
  }

  /* ----------------------------------------------
   🖼️Image and Graphic Adjustments
---------------------------------------------- */

#robot-graphics{
    width: 50%;
}

#robot-graphics2{
    width: 50%;
}


  /* ----------------------------------------------
   🔄 Two-Column Layout Becomes Stacked on Mobile
---------------------------------------------- */
  .two-column .row {
    flex-direction: column;
  }

  /* Ensures the reverse layout also stacks */
  .two-column.reverse .row {
    flex-direction: column;
  }

  /* ----------------------------------------------
   🎤 VAPI Button Adjustments
---------------------------------------------- */
  .vapi-btn {
    left: 50% !important;
    transform: translateX(-50%);
    right: auto !important;
    bottom: 40px !important;

    /* Reduce button size for mobile */
    padding: 0.2rem 0.2rem !important;
    gap: 0.2rem !important;
    min-width: 50px !important;
    font-size: 0.9rem !important;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  /* ----------------------------------------------
   📅 Modal (Appointment Booking) Adjustments
---------------------------------------------- */
   #bookingModal .modal-inner {
    width: 90% !important;
    margin: 1rem;
  }

  /* Increase spacing and font size for form inputs inside the booking modal */
  #bookingModal input,
  #bookingModal select,
  #bookingModal textarea {
    font-size: 1.05rem;
    padding: 0.5rem 0.5rem; /* bigger padding than desktop */
    margin-bottom: .6rem;   /* extra space between fields */
  }

  /* Similarly tweak the “Book Appointment” button for a bigger tap-target */
  #bookingModal button {
    font-size: 1.05rem;
  }
  


  /* ----------------------------------------------
   🍪 Cookie Banner Adjustments
---------------------------------------------- */
  .cookie-buttons {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  /* Make cookie buttons stack with better width */
  .cookie-buttons button {
    width: 90%;
    text-align: center;
  }

} /* End of Mobile Breakpoints */

  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
 body.scrolled .vapi-btn {
    display: block; /* or block, depending on your layout */
    opacity: 1;
  }

  







