/* Error message styling with Bootstrap override */
.error-message {
    color: #dc3545 !important;
    font-size: 0.875rem !important;
    margin: 0.25rem 0 0 0 !important;
    display: block !important;
    order: 2;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form group container */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    position: relative;
}

/* Form error container */
#form-errors {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 0.25rem;
}

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    color: white !important;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(100%);
    animation: toastSlideIn 0.3s ease-out forwards;
    z-index: 1051;
}

.toast.success {
    background: #28a745;
}

.toast.error {
    background: #dc3545;
}

@keyframes toastSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Toast notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(100%);
    animation: toastSlideIn 0.3s ease-out forwards;
    z-index: 1000;
}

.toast.success {
    background: #28a745;
}

.toast.error {
    background: #dc3545;
}

@keyframes toastSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Toast notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(100%);
    animation: toastSlideIn 0.3s ease-out forwards;
    z-index: 1000;
}

.toast.success {
    background: #28a745;
}

.toast.error {
    background: #dc3545;
}

@keyframes toastSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*:root {
    --bs-body-bg: #ffffff;
    --bs-body-color: #212529;
    --bs-primary: #007bff;
    --bs-secondary: #6c757d;
    --bs-success: #28a745;
    --bs-info: #17a2b8;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #343a40;
}*/

/* Dark Theme */
/*[data-bs-theme="dark"] {
    --bs-body-bg: #212529;
    --bs-body-color: #f8f9fa;
    --bs-primary: #0d6efd;
    --bs-secondary: #adb5bd;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #e9ecef;
    --bs-dark: #343a40;
}*/

/* Additional Custom Styles */
/* Light Theme */



html * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: border-box;
}
html,
body {
    font-family: Poppins, sans-serif;
    height: 100%;    
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size:20px;
    font-weight: 300;
   
}
/* Navbar Toggler Styles */
.navbar-toggler {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    position: relative;
    width: 40px;
    height: 40px;
}

/* Light Theme Toggle Icon */
[data-bs-theme="light"] .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.2);
}

[data-bs-theme="light"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dark Theme Toggle Icon */
[data-bs-theme="dark"] .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
}

[data-bs-theme="dark"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Focus state */
.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}
.navbar {
    background-color: var(--bs-light);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--bs-body-color);
}
/* Header & Navigation Styles */
.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

/* Desktop Navigation Styles */
.desktop-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.desktop-nav .nav-link:hover {
    color: var(--bs-primary) !important;
}

/* Mobile Navigation Styles */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Off-canvas Menu Styles */
.offcanvas {
    max-width: 300px;
}

[data-bs-theme="dark"] .offcanvas {
    background-color: #1a1d20;
    color: #ffffff;
}

[data-bs-theme="light"] .offcanvas {
    background-color: #ffffff;
    color: #000000;
}

.offcanvas .nav-link {
    padding: 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.offcanvas .nav-link:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary) !important;
}

[data-bs-theme="dark"] .offcanvas .nav-link {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .offcanvas .nav-link {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 35px;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 30px;
    }
}
.bg-translucent{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
   
    
}
.bg-gradient-blue{
    background-color: #0093e9;
    background-image: linear-gradient(160deg, #0093e9 0%, #80d0c7 100%);
     background-attachment: fixed;
      background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-content{
    min-height:100px;
    padding: 18px;
}
.card-text{
    white-space: break-spaces;
}
.glassBox {
  
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
 
  padding: 15px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.glassBox, .glassBox * {
  box-sizing: border-box;
  transition: 3ms;
}
.glassBox:hover {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.hero-section {
    background-image: url('./static/images/hero-bg.jpg');
    min-height: 640px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
   
}
.glass{
    padding:10px 20px;
}
.underline-text{
    padding:30px 0;
    line-height: 1.2;
    letter-spacing: 2px;
}

    .underline {
    height: 0px;
    border: 2px solid #e4171e;
    width: 100px;
    /* margin-bottom: 40px; */

}
.textbold{
    font-weight: 600;
}
.vh70{
    min-height: 70vh;
}
.full-height {
    min-height: 90vh;
}
.hero-image{
    height: 400px;
    position: relative;
    border-radius: 5%;
    overflow: hidden;
}
.hero-image img{
width:120%;
}

.img-bg-about{
    background-image: url('./static/images/car-about-bg.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

@media (min-width: 767.98px) {
/*#services .card{
    position: relative;
}
#services .card .card-body{
    position: absolute;
    transform: translateY(-100%);
    z-index:-1;
    opacity: 0;
    top:0;
   transition: all 0.3s ease;
}

#services .card:hover .card-img{
    opacity: 0;
}
#services .card:hover .card-body{
    transform: translateY(0);
    z-index: 1;
    opacity: 1;
   
}*/
}

#services .card.glass{
    padding: 0 0;
    background:#ffffff;
}

#services .card .card-body {
    padding: 0px 0px;
 overflow: hidden;
 position: relative;
}

#services .card h5{
    position: absolute;
    width:100%;
    background:rgba(2,166,248,1);
    color:#fff;
    height:40px;
    line-height: 40px;
}
#services .card-textlist{
    padding-top:50px;
    text-align: left;
}

#packages .card .card-header{
    padding-bottom: 50px;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0% 50%);
}
.card {
  border: none;
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
  transition: all 0.3s ease; 
 
}
#packages .card:hover {
    transform: translateY(-15px) scale(1.06);
  /*  box-shadow:0 0 50px 2px #0093e9;*/
    z-index:999;
  }

  #testimonials .card:hover{
    transform: translateY(-15px) scale(1.10);
    box-shadow: 0 6px 12px rgba(0,0,0,.15);
  }

  .card-img {
    width: 100%;
    padding: 16px;
    text-align: center;
   
    
  }
  .card-img img{
    width: auto;
    height:64px;
    margin:10px;
  }
/*footer {
    background-color: var(--bs-dark);
    color: var(--bs-light);
}*/

header .nav-link {
    color: var(--bs-body-color);
    transition: color 0.3s ease;
    font-size: 20px;
}

header .nav-link:hover {
    color: var(--bs-primary);
}
footer {
    background-color: var(--bs-body-bg);
    border-color: rgba(255, 255, 255, 0.1);
}

footer .nav-link {
    color: var(--bs-body-color);
    transition: color 0.3s ease;
    font-size: 20px;
}

footer .nav-link:hover {
    color: var(--bs-primary);
}

.btn-theme {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-theme:hover {
    transform: rotate(15deg);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    footer .nav {
        gap: 0.5rem;
    }

    footer .nav-link {
        padding: 0.5rem 1rem;
        border-radius: 4px;
    }

    footer .nav-link:hover {
        background-color: rgba(var(--bs-primary-rgb), 0.1);
    }
}
.smtxt{
    font-size: 12px;
}
/* New footer style */
#packages ul.list-unstyled{
    text-align: left;
}
.rating {
    text-align: center;
    transition: all 0.3s ease;
}
#testimonials .card .rating i{
    line-height: 40px;
}
#testimonials .card .rating i:nth-child(1){
    font-size:18px;
}
#testimonials .card .rating i:nth-child(2){
    font-size:26px;
}
#testimonials .card .rating i:nth-child(3){
    font-size:36px;
}
#testimonials .card .rating i:nth-child(4){
    font-size:26px;
}
#testimonials .card .rating i:nth-child(5){
    font-size:18px;
}

[data-bs-theme="light"] body {
    background-color: #f1f3f4;
    color: #000000;
    .glass{
        
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.3);
    color:#000000;
    }
    .bg-testimonial{
    background-color: #02a6f8; /*#21252908;*/
    }
    #packages div.card-header{
        background-color: #02a6f8;
    }
    .card-img{
        background-color: #02a6f8;
    }
   #services .card-title{
        color:#ffffff;
    }
}

.nav-link{
    color: var(--bs-nav-link-color);
}
/* Style the WhatsApp icon */
#whatsapp-icon {
  position: fixed;
  bottom: 20px; /* Distance from the bottom */
  right: 20px; /* Distance from the right */
  background-color: #25d366; /* WhatsApp's green color */
  border-radius: 50%; /* Makes the button round */
  padding: 20px; /* Adjust padding to make the button round */
  font-size: 40px; /* Adjust icon size */
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
  display: flex;
  justify-content: center; /* Center the icon inside */
  align-items: center; /* Center the icon vertically */
  width: 70px; /* Set width */
  height: 70px; /* Set height */
}

/* Animation: Pulse effect */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2); /* Scale up */
  }
  100% {
    transform: scale(1); /* Scale back to normal */
  }
}

/* Apply the pulse animation */
#whatsapp-icon {
  animation: pulse 1.5s infinite;
}

#whatsapp-icon:hover {
  transform: scale(1.1); /* Slightly increase size on hover */
}

/* Style the WhatsApp icon inside */
#whatsapp-icon i {
  pointer-events: none; /* Prevent clicking on the icon inside */
}

/* Dark Theme */
[data-bs-theme="dark"] body {
    background-color: #0b0f19;
    color: #ffffff;
   
    .glass{
    
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(17, 25, 40, 0.75);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.125);
    
    color: #ffffff;
    }
    .bg-testimonial{
        background-color: #2d2355;
    }
    #packages div.card-header{
            background-color: #2d2355;
            color: #ffffff;
        }
   .card-img{
        background-color: #2d2355; /* #1d132b;*/
    }
    #services .card-title{
        color:#ffffff;
    }
    
}