/* Global Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animations for multiple elements */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes for staggered effects */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Header Styles */
.header {
    background-color: #1a1a1a;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-text {
    font-family: 'Arial', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    height: 100%;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: #bbb;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

 .nav-link:hover::after {
     width: 100%;
 }

 /* Pay Online Button Special Styling */

 .nav-link.pay-online {
     background: linear-gradient(190deg, #00ff4c 0%, #008f30 100%);
     color: #fff !important;
     padding: 10px 20px;
     border-radius: 25px;
     font-weight: 600;
     box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
 }

 .nav-link.pay-online i {
     margin-right: 8px;
     font-size: 0.9rem;
 }

 .nav-link.pay-online:hover {
     transform: translateY(-2px);
     color: #fff !important;
 }

 .nav-link.pay-online::after {
     display: none; /* Remove the underline effect */
 }

 .nav-link.pay-online:hover::after {
     width: 0; /* Ensure no underline appears */
 }

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile responsive for header */
@media only screen and (max-width: 768px) {
    .header-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #1a1a1a;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 25px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
         .nav-link {
         font-size: 1.1rem;
         width: 100%;
         padding: 15px 0;
         border-bottom: 1px solid #333;
     }

     /* Mobile Pay Online Button Styling */
     .nav-link.pay-online {
         background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
         color: #fff !important;
         padding: 15px 20px;
         border-radius: 25px;
         font-weight: 600;
         box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
         margin: 10px 0;
         text-align: center;
         border: none;
     }

     .nav-link.pay-online i {
         margin-right: 8px;
         font-size: 1rem;
     }

     .nav-link.pay-online:hover {
         transform: translateY(-2px);
         color: #fff !important;
     }
    
    .nav-link::after {
        display: none;
    }
    
    /* Hamburger animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 7px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -8px);
    }
}

@media only screen and (max-width: 600px) {
    .nav-menu {
        width: 100%;
        right: -100%;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 12px 0;
    }
}

/* Performance optimizations for animations */
* {
    box-sizing: border-box;
}

/* Optimize animations for better performance */
.fade-in, .slide-up, .scale-in, .slide-left, .slide-right, .stagger-item {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Enhanced hover effects for interactive elements */
.hero-button:hover {
    background: #e6e6e6;
    animation: none;
    font-weight: 400;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.step-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.service-tag:hover {
    background-color: #252429;
    color: #fff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.social-link:hover {
    background-color: #555;
    color: #fff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}



/* Header animation on scroll */
.header {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    transform: translateY(-100%);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Enhanced carousel animations */
.carousel-track img {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-track img:hover {
    transform: scale(1.05) rotateY(5deg);
}

/* Map popup enhanced animations */
.map-popup-btn:hover {
    background: #333;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Chat input enhanced focus */
.chat-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: scale(1.02);
}

/* Footer link enhanced hover */
.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Responsive animation adjustments */
@media (prefers-reduced-motion: reduce) {
    .fade-in, .slide-up, .scale-in, .slide-left, .slide-right, .stagger-item {
        transition: none;
        animation: none;
    }
    
    body {
        animation: none;
        opacity: 1;
    }
}

@media only screen and (max-width: 768px) {
    .delay-1, .delay-2, .delay-3, .delay-4, .delay-5 {
        transition-delay: 0.1s !important;
    }
}

 body {
     background: #111;
     margin: 0;
     overflow-x: hidden;
     font-family: Trebuchet MS;
     font-weight: light;
   }

   /* Ensure no horizontal scroll on mobile */
   @media only screen and (max-width: 768px) {
     body {
       overflow-x: hidden;
       width: 100%;
     }
     
     html {
       overflow-x: hidden;
     }
   }
  
  .hero-section {
    color: #fff;
    padding: 170px 20px 60px;
    text-align: center;
  
  }
  
  .hero-content h1, .steps-section h2, .services-title{
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  @media only screen and (max-width: 600px){
    .hero-content h1, .steps-section h2, .services-title{
      font-size: 2.1rem;
    }
    
    .hero-button{
      padding: 15px 30px; 
    }
    
    .hero-content p, .steps-subtitle, .step-card p{
      font-size: 1rem;
    }
    
    .carousel-track img{
      height: 240px !important;
    }
  }
  
  .hero-content p, .steps-subtitle {
    font-size: 1.25rem;
    color: #bbb;
    margin-bottom: 40px;
  }
  
  .step-card p {
    font-size: 1rem;
    color: #bbb;
    margin-bottom: 10px;
  }
  
  .hero-button {
    background: #fff;
    color: #000;
    font-weight: 400;
    font-size: 0.9rem;
    padding: 15px 55px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease;
    display: inline-block;
    letter-spacing: 0.08em;
    animation: pulse 2.5s infinite ease-in-out;
  }
  
  .hero-button:hover {
    background: #e6e6e6;
    animation: none;
    font-weight: 400;
  }


  
     .carousel-wrapper {
     padding: 0;
     overflow: hidden;
     perspective: 1000px;
     display: flex;
     justify-content: center;
     width: calc(100% + 200px);
     position: relative;
     right: 100px;
   }

   /* Mobile responsive carousel adjustments */
   @media only screen and (max-width: 768px) {
     .carousel-wrapper {
       width: 100%;
       right: 0;
       overflow: hidden;
     }
     
     .carousel-scroll {
       transform: rotateX(15deg) rotateY(0deg);
     }
     
     .carousel-track img {
       height: 300px;
       padding: 15px;
     }
   }

   @media only screen and (max-width: 600px) {
     .carousel-wrapper {
       width: 100%;
       right: 0;
     }
     
     .carousel-scroll {
       transform: rotateX(10deg) rotateY(0deg);
     }
     
     .carousel-track img {
       height: 250px;
       padding: 10px;
     }
   }
  
  .carousel-scroll {
    transform: rotateX(30deg) rotateY(0deg);
    overflow: hidden;
    width: 100%;
  }
  
  .carousel-track {
    display: flex;
    width: max-content;
    /* Removed: gap: 40px; */
  }
  
  .carousel-track img {
    height: 400px;
    border-radius: 50px;
    padding: 20px;
    flex-shrink: 0;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .carousel-track img:hover {
    transform: scale(1.02);
  }
  
  .carousel-track img:last-child {
    margin-right: 0;
  }
  
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.15);
    }
  }
  
  /**************************** QUICK BULLETS SECTION ******/
  
  .steps-section {
    background-color: transparent;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
  }
  
  .steps-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .steps-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
  }
  
  .steps-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 60px;
    line-height: 1.6;
  }
  
  .steps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .step-card {
    background-color: #1c1b1f;
    border-radius: 20px;
    padding: 40px 30px;
    width: 300px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
  }
  
  .step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
  }
  
  .step-icon {
    font-size: 2rem;
    color: #ccc;
    margin-bottom: 20px;
  }
  
  .step-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
  }
  
  .step-card i {
    color: #838383 !important;
  }
  
  /*******SERVICES SECTION **********/
  
  /* Map Section */
  .map-section {
      background-color: transparent;
      color: #fff;
      padding: 50px 20px 100px 20px;
      text-align: center;
  }
  
  .map-container {
      max-width: 1200px;
      margin: 0 auto;
  }
  
  .map-title {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 16px;
      color: #fff;
  }
  
  .map-subtitle {
      font-size: 1.2rem;
      color: #aaa;
      margin-bottom: 50px;
      line-height: 1.6;
  }
  
  .map {
      width: 100%;
      height: 500px;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
      border: 1px solid #333;
  }
  
  /* Custom map popup styling */
  .map-popup {
      text-align: center;
      padding: 10px;
  }
  
  .map-popup h4 {
      color: #1a1a1a;
      margin: 0 0 8px 0;
      font-size: 1.1rem;
      font-weight: 600;
  }
  
  .map-popup p {
      color: #666;
      margin: 0 0 15px 0;
      font-size: 0.9rem;
  }
  
  .map-popup-btn {
      background: #1a1a1a;
      color: #fff;
      padding: 8px 16px;
      border-radius: 20px;
      text-decoration: none;
      font-size: 0.85rem;
      font-weight: 500;
      transition: all 0.3s ease;
      display: inline-block;
  }
  
  .map-popup-btn:hover {
      background: #333;
      transform: translateY(-1px);
  }
  
  /* Custom Leaflet controls styling */
  .leaflet-control-zoom {
      border: none !important;
      box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
  }
  
  .leaflet-control-zoom a {
      background: #1a1a1a !important;
      color: #fff !important;
      border: 1px solid #333 !important;
      border-radius: 8px !important;
      width: 36px !important;
      height: 36px !important;
      line-height: 36px !important;
      font-size: 18px !important;
      transition: all 0.3s ease !important;
  }
  
  .leaflet-control-zoom a:hover {
      background: #333 !important;
      transform: translateY(-1px) !important;
  }
  
  .leaflet-control-attribution {
      background: rgba(26, 26, 26, 0.8) !important;
      color: #bbb !important;
      font-size: 0.75rem !important;
      padding: 8px 12px !important;
      border-radius: 8px !important;
      border: 1px solid #333 !important;
  }
  
  .leaflet-control-attribution a {
      color: #888 !important;
      text-decoration: none !important;
  }
  
  .leaflet-control-attribution a:hover {
      color: #bbb !important;
  }
  
  /* Map responsive design */
  @media only screen and (max-width: 768px) {
      .map-section {
          padding: 60px 20px;
      }
      
      .map-title {
          font-size: 2.5rem;
      }
      
      .map-subtitle {
          font-size: 1.1rem;
          margin-bottom: 40px;
      }
      
      .map {
          height: 400px;
      }
  }
  
  @media only screen and (max-width: 600px) {
      .map-section {
          padding: 40px 20px;
      }
      
      .map-title {
          font-size: 2rem;
      }
      
      .map-subtitle {
          font-size: 1rem;
          margin-bottom: 30px;
      }
      
      .map {
          height: 300px;
          border-radius: 15px;
      }
      
      .leaflet-control-zoom a {
          width: 32px !important;
          height: 32px !important;
          line-height: 32px !important;
          font-size: 16px !important;
      }
  }
  
  .services-section {
    background-color: transparent;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    font-family: Trebuchet MS;
  }
  
  .services-title{
    margin-bottom: 10px !important;
    font-size: 3.5rem;
  }
  
  .services-container {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .service-tag {
    background-color: #1c1b1f;
    border-radius: 999px;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: default;
    transition: all 0.3s ease;
  }
  
  .service-tag i {
    color: #888;
    font-size: 1rem;
  }
  
  .service-tag:hover {
    background-color: #252429;
    color: #fff;
  }
  
  .service-tag a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
  }
  
  .service-tag a:hover {
    opacity: 0.85;
  }
  
/* Footer Styles */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 0 0;
    margin-top: 80px;
    border-top: 1px solid #333;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-logo {
    height: 115px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: auto;
    height: 100%;
    margin-bottom: 15px;
}

.footer-tagline {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.footer-contact {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #bbb;
    font-size: 0.9rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: #888;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.contact-item span {
    line-height: 1.4;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #bbb;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #555;
    color: #fff;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #bbb;
}

/* Footer Responsive Design */
@media only screen and (max-width: 768px) {
    .footer {
        padding: 40px 0 0 0;
        margin-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-logo img {
        width: 100px;
    }
    
    .footer-contact {
        margin-top: 25px;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .contact-item span {
        word-wrap: break-word;
        max-width: 250px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media only screen and (max-width: 600px) {
    .footer {
        padding: 30px 0 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-section:first-child {
        grid-column: 1;
    }
    
    .footer-contact {
        margin-top: 20px;
    }
    
    .contact-item {
        margin-bottom: 12px;
    }
    
    .contact-item span {
        max-width: 200px;
        font-size: 0.85rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}
  
  /* AI Chat Estimate Section */
  .chat-section {
      background-color: #111111;
      color: #fff;
      padding: 100px 20px;
      margin-top: 80px;
  }
  
  .chat-container {
      max-width: 800px;
      margin: 0 auto;
  }
  
  .chat-header {
      text-align: center;
      margin-bottom: 50px;
  }
  
  .chat-title {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 16px;
      color: #fff;
  }
  
  .chat-subtitle {
      font-size: 1.2rem;
      color: #aaa;
      line-height: 1.6;
      max-width: 600px;
      margin: 0 auto;
  }
  
  .chat-interface {
      background: #252525;
      border-radius: 20px;
      padding: 30px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
      border: 1px solid #333;
  }
  
  .chat-messages {
      min-height: 300px;
      max-height: 400px;
      overflow-y: auto;
      margin-bottom: 25px;
      padding: 20px;
      background: #1c1c1c;
      border-radius: 15px;
      border: 1px solid #333;
  }
  
  .message {
      display: flex;
      align-items: flex-start;
      gap: 15px;
      margin-bottom: 20px;
      animation: fadeInUp 0.3s ease;
  }
  
  .message:last-child {
      margin-bottom: 0;
  }
  
  .message-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
  }
  
  .bot-message .message-avatar, .ai-message .message-avatar {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: #fff;
  }
  
  .user-message .message-avatar {
      background: linear-gradient(135deg, #93bdfb 0%, #57abf5 100%);
      color: #fff;
  }
  
  .message-content {
      background: #2a2a2a;
      padding: 15px 20px;
      border-radius: 18px;
      border: 1px solid #333;
      max-width: 80%;
      position: relative;
  }
  
  .bot-message .message-content, .ai-message .message-content {
      background: #2a2a2a;
      border-left: 4px solid #667eea;
  }
  
  .user-message .message-content {
      background: #1a1a1a;
      border-left: 4px solid #57abf5;
      margin-left: auto;
  }
  

/* Quote button styling */
.request-quote-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px auto;
    display: block;
    text-decoration: none;
}

.request-quote-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.message-content p {
      margin: 0;
      line-height: 1.5;
      color: #fff;
  }

/* Loading animation styles */
.loading-message .message-content {
    background: #2a2a2a;
    border-left: 4px solid #667eea;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #667eea;
    animation: loadingBounce 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0s;
}

@keyframes loadingBounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.loading-message .message-content p {
    color: #999;
    font-style: italic;
    margin: 0;
    font-size: 0.9rem;
}

/* Service selection button styles */
.service-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.service-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.service-button:active {
    transform: translateY(0);
}

/* Responsive design for service buttons */
@media (max-width: 768px) {
    .service-selection {
        flex-direction: column;
        gap: 8px;
    }
    
    .service-button {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}
  
  .chat-input-area {
      margin-top: 20px;
  }
  
  .chat-input-wrapper {
      display: flex;
      gap: 15px;
      margin-bottom: 15px;
  }
  
  .chat-input {
      flex: 1;
      background: #1c1c1c;
      border: 2px solid #333;
      border-radius: 25px;
      padding: 15px 20px;
      color: #fff;
      font-size: 1rem;
      outline: none;
      transition: all 0.3s ease;
  }
  
  .chat-input:focus {
      border-color: #667eea;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  }
  
  .chat-input::placeholder {
      color: #888;
  }
  
  .chat-send-btn {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      flex-shrink: 0;
  }
  
  .chat-send-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  }
  
  .chat-send-btn:active {
      transform: translateY(0);
  }
  
  .chat-hint {
      text-align: center;
      color: #888;
      font-size: 0.85rem;
      margin: 0;
  }
  
  /* Chat animations */
  @keyframes fadeInUp {
      from {
          opacity: 0;
          transform: translateY(20px);
      }
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }
  
  /* Chat responsive design */
  @media only screen and (max-width: 768px) {
      .chat-section {
          padding: 60px 20px;
          margin-top: 60px;
      }
      
      .chat-title {
          font-size: 2.5rem;
      }
      
      .chat-subtitle {
          font-size: 1.1rem;
      }
      
      .chat-interface {
          padding: 25px;
      }
      
      .chat-messages {
          min-height: 250px;
          max-height: 350px;
          padding: 15px;
      }
      
      .message-content {
          max-width: 85%;
      }
  }
  
  @media only screen and (max-width: 600px) {
      .chat-section {
          padding: 40px 20px;
      }
      
      .chat-title {
          font-size: 2rem;
      }
      
      .chat-subtitle {
          font-size: 1rem;
      }
      
      .chat-interface {
          padding: 20px;
          border-radius: 15px;
      }
      
      .chat-messages {
          min-height: 200px;
          max-height: 300px;
          padding: 15px;
      }
      
      .message {
          gap: 12px;
      }
      
      .message-avatar {
          width: 35px;
          height: 35px;
      }
      
      .message-content {
          padding: 12px 16px;
          max-width: 90%;
      }
      
      .chat-input-wrapper {
          gap: 12px;
      }
      
      .chat-input {
          padding: 12px 16px;
          font-size: 0.95rem;
      }
      
      .chat-send-btn {
          width: 45px;
          height: 45px;
      }
  }

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    box-sizing: border-box;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1) translateY(0);
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -5px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Ensure carousel images show pointer cursor */
.carousel-track img {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.carousel-track img:hover {
    transform: scale(1.02);
}

/* Pay Online Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    box-sizing: border-box;
    touch-action: none;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: #ffffff00;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 10px;
    border: solid 1px #1f1f1f;
    touch-action: auto;
    overscroll-behavior: contain;
}

.popup-overlay.active .popup-container {
    overflow-y: auto;
    transform: scale(1) translateY(0);
}

.popup-header {
    background: linear-gradient(135deg, #070707 0%, #070707 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.popup-close {
    background: rgba(255, 255, 255, 0);
    border: solid 1px #ffffff1f;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.popup-content {
    background-color: #fff;
    padding: 30px;
}

.search-section {
    margin-bottom: 25px;
}

.search-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.search-input-group {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.search-input-group input {
    flex: 1;
    padding: 15px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.search-input-group input:focus {
    outline: none;
    border-color: #22c55e;
    background: white;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, #22c55e 0%, #00c94a 100%);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.search-btn:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

.results-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 25px;
}

.results-header h4 {
    margin: 0 0 20px 0;
    color: #374151;
    font-size: 1.2rem;
    font-weight: 600;
}

.invoices-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.invoice-item {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.invoice-item:hover {
    border-color: #22c55e;
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.invoice-item.selected {
    border-color: #22c55e;
    background: #f0fdf4;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
}

.invoice-number {
    font-weight: 600;
    color: #374151;
    font-size: 1.1rem;
}

.invoice-amount {
    background: linear-gradient(135deg, #22c55e 0%, #00c94a 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.invoice-details {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

.invoice-date {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-top: 8px;
}

.invoice-status {
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 500;
}

.loading-section {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #22c55e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-section p {
    color: #6b7280;
    margin: 0;
    font-size: 1rem;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.no-results i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 20px;
}

.no-results p {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.contact-info {
    font-size: 0.9rem !important;
    color: #9ca3af !important;
}

.pay-button {
    background: linear-gradient(135deg, #22c55e 0%, #00c94a 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.pay-button:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.pay-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Mobile Responsive for Popup */
@media only screen and (max-width: 768px) {
    .popup-overlay {
        padding: 10px;
        touch-action: none;
        overscroll-behavior: none;
        transition: all 0.3s ease;
    }
    
    .popup-container {
        margin: 0;
        max-height: calc(100vh - 20px);
        max-width: calc(100vw - 20px);
        touch-action: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transition: all 0.3s ease;
    }
    
    .popup-header {
        padding: 20px 25px;
        position: sticky;
        top: 0;
        z-index: 1;
        background: linear-gradient(135deg, #070707 0%, #070707 100%);
    }
    
    .popup-header h3 {
        font-size: 1.3rem;
    }
    
    .popup-content {
        padding: 25px;
    }
    
    .search-input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-btn {
        justify-content: center;
    }
    
    /* Prevent iOS bounce scrolling */
    .popup-overlay.active {
        overscroll-behavior: none;
        -webkit-overflow-scrolling: auto;
    }
    
    /* Handle keyboard appearance - balanced positioning */
    @media (max-height: 600px) {
        .popup-overlay {
            padding: 15px;
            align-items: flex-start !important;
            padding-top: 15px !important;
        }
        
        .popup-container {
            max-height: calc(100vh - 30px);
            margin: 0;
        }
        
        .popup-header {
            padding: 15px 20px;
        }
        
        .popup-content {
            padding: 20px;
        }
    }
    
    /* Very small screens (when keyboard is open) */
    @media (max-height: 500px) {
        .popup-overlay {
            padding: 10px;
            align-items: flex-start !important;
            padding-top: 10px !important;
        }
        
        .popup-container {
            max-height: calc(100vh - 20px);
        }
        
        .popup-header {
            padding: 10px 15px;
        }
        
        .popup-header h3 {
            font-size: 1.1rem;
        }
        
        .popup-content {
            padding: 15px;
        }
    }
}

/* Privacy Policy Page Styles */
.privacy-policy-section {
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

.privacy-policy-section .container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.privacy-policy-header {
    background: linear-gradient(135deg, #000000 0%, #131313 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.privacy-policy-header .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.privacy-policy-header .last-updated {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.privacy-policy-content {
    padding: 40px;
}

.policy-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-section h2 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding: 0;
}

.policy-section p {
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.back-to-home {
    text-align: center;
    padding: 30px 40px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #22c55e 0%, #00c94a 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.back-button:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.back-button i {
    font-size: 1.1rem;
}

/* Footer Link Styles */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 6px;
}

.footer-link:hover {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

/* Mobile Responsive for Privacy Policy */
@media only screen and (max-width: 768px) {
    .privacy-policy-section {
        padding: 100px 15px 60px;
    }
    
    .privacy-policy-header {
        padding: 30px 20px;
    }
    
    .privacy-policy-header .page-title {
        font-size: 2rem;
    }
    
    .privacy-policy-content {
        padding: 30px 20px;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
    }
    
    .back-to-home {
        padding: 25px 20px;
    }
    
    .back-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}