* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

::-webkit-scrollbar {
  display: none;
}

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.glow-effect {
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.1);
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.typing-text {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #2563eb;
  animation: typing 3.5s steps(40, end), blink .75s step-end infinite;
}

@keyframes blink {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: #2563eb;
  }
}

.ai-wave {
  display: flex;
  align-items: center;
  gap: 3px;
}

.wave-bar {
  width: 3px;
  background: #2563eb;
  border-radius: 10px;
  animation: wave 1s ease-in-out infinite;
}

@keyframes wave {

  0%,
  100% {
    height: 8px;
  }

  50% {
    height: 24px;
  }
}

/* Animation delays for wave bars */
#ij5sa {
  animation-delay: 0.1s;
}

#iox9g {
  animation-delay: 0.2s;
}

#iyhej {
  animation-delay: 0.3s;
}

#img6s {
  animation-delay: 0.4s;
}

#i4qlbe {
  animation-delay: 0.2s;
}

#izxcgk {
  animation-delay: 0.4s;
}

#idrrn2 {
  animation-delay: 0.1s;
}

#i1oyod {
  animation-delay: 0.2s;
}

#ia8okq {
  animation-delay: 0.3s;
}

#id9btc {
  animation-delay: 0.4s;
}

/* Industry page specific styles */
.industry-hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(15, 23, 42, 0.05) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.industry-content {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.nav-button {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.nav-button:hover::before {
  width: 300px;
  height: 300px;
}

.nav-button:hover {
  transform: scale(1.05);
}

/* Smooth page transitions */
.page-transition {
  animation: pageFadeIn 0.5s ease-in-out;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ============================================
   CLEAN RESPONSIVE DESIGN - FROM SCRATCH
   ============================================ */

/* Mobile First - Base styles for mobile */
@media (max-width: 768px) {

  /* Navigation */
  #header {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  #header>div {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  #header .flex.items-center.gap-8 {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: block !important;
  }

  /* Hero Section */
  #hero {
    padding-top: 5rem !important;
    padding-bottom: 2rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    height: auto !important;
    min-height: auto !important;
  }

  #hero .grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #hero h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }

  #hero p {
    font-size: 1rem !important;
  }

  #hero .flex.items-center.gap-6 {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
  }

  #hero .flex.items-center.gap-6>div,
  #hero .flex.items-center.gap-6>button {
    width: 100% !important;
  }

  /* Chat Container */
  #chat-container {
    height: 300px !important;
  }

  /* Capabilities Section */
  #capabilities {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #capabilities .grid-cols-12 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #capabilities .col-span-4,
  #capabilities .col-span-8 {
    grid-column: 1 / -1 !important;
  }

  #capabilities .col-span-8.grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  #capabilities h2 {
    font-size: 1.75rem !important;
  }

  /* Industries Section */
  #implementations {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #implementations .grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #testimonials.grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Metrics Section */
  #metrics {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #metrics .grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #chart-container {
    height: 250px !important;
  }

  /* CTA Section */
  #cta {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #cta .rounded-\[48px\] {
    padding: 2rem !important;
  }

  #cta h2 {
    font-size: 1.75rem !important;
  }

  /* Footer */
  #footer {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  #footer .grid-cols-4 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Text Sizes */
  .text-7xl {
    font-size: 2rem !important;
  }

  .text-6xl {
    font-size: 1.75rem !important;
  }

  .text-5xl {
    font-size: 1.5rem !important;
  }

  .text-4xl {
    font-size: 1.5rem !important;
  }

  .text-3xl {
    font-size: 1.25rem !important;
  }

  .text-2xl {
    font-size: 1.125rem !important;
  }

  .text-xl {
    font-size: 1rem !important;
  }

  /* Typing text - disable animation on mobile */
  .typing-text {
    white-space: normal !important;
    border-right: none !important;
    animation: none !important;
  }
}

/* Tablet - 769px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {

  /* Hide mobile menu, show desktop nav */
  .mobile-menu-toggle {
    display: none !important;
  }

  #header .flex.items-center.gap-8 {
    display: flex !important;
  }

  /* Hero */
  #hero h1 {
    font-size: 3rem !important;
  }

  /* Capabilities - 2 columns */
  #capabilities .grid-cols-12 {
    grid-template-columns: repeat(12, 1fr) !important;
  }

  #capabilities .col-span-4 {
    grid-column: span 12 !important;
    margin-bottom: 2rem;
  }

  #capabilities .col-span-8 {
    grid-column: span 12 !important;
  }

  #capabilities .col-span-8.grid-cols-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Other grids - 2 columns */
  #implementations .grid-cols-3,
  #testimonials.grid-cols-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  #footer .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Desktop - 1025px and above */
@media (min-width: 1025px) {

  /* Hide mobile menu, show desktop nav */
  .mobile-menu-toggle {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
  }

  #header .flex.items-center.gap-8 {
    display: flex !important;
  }

  /* Capabilities - Full 12 column layout */
  #capabilities .grid-cols-12 {
    grid-template-columns: repeat(12, 1fr) !important;
  }

  #capabilities .col-span-4 {
    grid-column: span 4 !important;
  }

  #capabilities .col-span-8 {
    grid-column: span 8 !important;
  }

  #capabilities .col-span-8.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Other grids - 3 columns */
  #implementations .grid-cols-3,
  #testimonials.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  #footer .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 5rem;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid #e2e8f0;
  padding: 0;
  z-index: 99;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-height: calc(100vh - 5rem);
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .flex.flex-col {
  display: flex;
  flex-direction: column;
}

.mobile-menu a,
.mobile-menu button {
  display: block;
  width: 100%;
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  color: #2563eb;
  text-decoration: none;
  background: white;
  border-left: none;
  border-right: none;
  border-top: none;
}

.mobile-menu a:hover,
.mobile-menu button:hover {
  background: #f8fafc;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent text overflow */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ============================================
   INDUSTRY PAGES RESPONSIVE STYLES
   (hospitality.html, edtech.html, real-estate.html)
   ============================================ */

/* Mobile - Industry Pages */
@media (max-width: 768px) {

  /* Industry Hero Section */
  .industry-hero {
    padding-top: 5rem !important;
    padding-bottom: 2rem !important;
    min-height: auto !important;
  }

  .industry-hero>div {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .industry-hero .grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .industry-hero h1 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
  }

  .industry-hero p {
    font-size: 1rem !important;
  }

  .industry-hero .flex.items-center.gap-4 {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
  }

  .industry-hero .flex.items-center.gap-4 button,
  .industry-hero .flex.items-center.gap-4 a {
    width: 100% !important;
    text-align: center !important;
  }

  /* Features Section - Industry Pages */
  #features {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #features .grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  #features h2 {
    font-size: 1.75rem !important;
  }

  /* Key Features Section */
  section.py-24.bg-white .grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  section.py-24.bg-white {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  /* Stats Section */
  section.py-24.bg-amber-50,
  section.py-24.bg-blue-50,
  section.py-24.bg-emerald-50 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  section.py-24.bg-amber-50 .grid-cols-4,
  section.py-24.bg-blue-50 .grid-cols-4,
  section.py-24.bg-emerald-50 .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
  }

  /* Navigation Section */
  section.py-24.bg-white .flex.justify-between {
    flex-direction: column !important;
    gap: 1.5rem !important;
    align-items: stretch !important;
  }

  section.py-24.bg-white .flex.justify-between a {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Tablet - Industry Pages */
@media (min-width: 769px) and (max-width: 1024px) {

  /* Industry Hero */
  .industry-hero h1 {
    font-size: 2.5rem !important;
  }

  /* Features - 2 columns */
  #features .grid-cols-3,
  section.py-24.bg-white .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Stats - 2 columns */
  section.py-24.bg-amber-50 .grid-cols-4,
  section.py-24.bg-blue-50 .grid-cols-4,
  section.py-24.bg-emerald-50 .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Desktop - Industry Pages */
@media (min-width: 1025px) {

  /* Features - 3 columns */
  #features .grid-cols-3,
  section.py-24.bg-white .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Stats - 4 columns */
  section.py-24.bg-amber-50 .grid-cols-4,
  section.py-24.bg-blue-50 .grid-cols-4,
  section.py-24.bg-emerald-50 .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* ============================================
   ABOUT PAGE RESPONSIVE STYLES (about.html)
   ============================================ */

/* Mobile - About Page */
@media (max-width: 768px) {
  /* About Hero Section */
  #hero-about {
    padding-top: 5rem !important;
    padding-bottom: 2rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    height: auto !important;
    min-height: auto !important;
  }

  #hero-about h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  #hero-about p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  /* Mission Section */
  #mission {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #mission .grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #mission h2 {
    font-size: 1.75rem !important;
  }

  #mission p {
    font-size: 0.95rem !important;
  }

  /* Values Section */
  #values {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #values .grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  #values h2 {
    font-size: 1.75rem !important;
  }

  #values .bg-white {
    padding: 1.5rem !important;
  }

  /* CTA Section */
  #cta-about {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #cta-about .bg-brand-900 {
    padding: 2rem !important;
    border-radius: 2rem !important;
  }

  #cta-about h2 {
    font-size: 1.75rem !important;
  }

  #cta-about p {
    font-size: 1rem !important;
  }

  #cta-about .flex.gap-4 {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  #cta-about .flex.gap-4 button {
    width: 100% !important;
  }

  /* Footer */
  #footer {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 2rem !important;
  }

  #footer .grid-cols-4 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #footer .flex.justify-between {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: flex-start !important;
  }
}

/* Tablet - About Page */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Mission Section - Stack on tablet */
  #mission .grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Values - 2 columns */
  #values .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Footer - 2 columns */
  #footer .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Desktop - About Page */
@media (min-width: 1025px) {
  /* Values - 3 columns */
  #values .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Footer - 4 columns */
  #footer .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* ============================================
   CONTACT PAGE RESPONSIVE STYLES (contactus.html)
   ============================================ */

/* Mobile - Contact Page */
@media (max-width: 768px) {
  /* Contact Hero Section */
  #hero-contact {
    padding-top: 5rem !important;
    padding-bottom: 2rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    height: auto !important;
    min-height: auto !important;
  }

  #hero-contact h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  #hero-contact p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  /* Contact Form Section */
  #contact-form {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #contact-form .grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #contact-form h2 {
    font-size: 1.75rem !important;
  }

  #contact-form .grid.grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  #contact-form .bg-white {
    padding: 1.5rem !important;
  }

  /* Contact Info Section */
  #contact-info {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #contact-info .grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  #contact-info h2 {
    font-size: 1.75rem !important;
  }

  /* FAQ Section */
  #faq-contact {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #faq-contact h2 {
    font-size: 1.75rem !important;
  }

  /* Footer */
  #footer {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 2rem !important;
  }

  #footer .grid-cols-4 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #footer .flex.justify-between {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: flex-start !important;
  }
}

/* Tablet - Contact Page */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Contact Form - Stack on tablet */
  #contact-form .grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Contact Info - 2 columns */
  #contact-info .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Footer - 2 columns */
  #footer .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Desktop - Contact Page */
@media (min-width: 1025px) {
  /* Contact Info - 3 columns */
  #contact-info .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Footer - 4 columns */
  #footer .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}