body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    /* background-color: #fff; Light chocolate color */
    background: linear-gradient(0deg, rgb(0, 0, 0), rgba(0, 0, 0, 0.305)), url(./assets/dw.png);
}
.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}
.message {
    max-width: 70%;
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 2px;
    line-height: 1.4;
}
.user-message {
    background-color: #3545fb; /* Dark chocolate color */
    color: white;
    align-self: flex-end;
    margin-left: auto;
    border-radius: 10px;
}
.ai-message {
    position: relative; /* Position relative to allow absolute positioning of the arrow */
    background-color: #212121; /* Chocolate color */
    color: white;
    max-width: 100% !important;
    padding: 10px;
    border-radius: 8px;
    margin-left: 10px; /* Ensure there's space for the arrow */
}

.ai-message::before {
    content: '';
    position: absolute;
    top: 3px; /* Adjust to align with the avatar */
    left: -19px; /* Position the arrow to point towards the avatar */
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: transparent #212121 transparent transparent; /* Creates the arrow effect */
    z-index: -1; /* Ensure the arrow is behind the message bubble */
}

.chat-input {
    display: flex;
    padding: 20px;
    background-color: #000; /* Light chocolate color */
    position: sticky;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
}
.chat-input input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 20px;
    margin-right: 10px;
}
.chat-input button {
    padding: 10px 20px;
    background: #3545fb; /* Dark chocolate color */
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.skeleton-loader {
    width: 100%;
    height: 50px; /* Adjust height as needed */
    background-color: #000000; /* Light grey color */
    border-radius: 20px;
    margin-bottom: 15px;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 90%;
    max-width: 400px;
    padding: 16px;
    margin: 0 auto; /* Centers the container horizontally */
}

.logo-container {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.logo {
    max-width: 150px; /* Adjust size as needed */
    height: auto;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it is above other content */
}

.video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire area */
}

.skip-button {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background: #b7040c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1001; /* Ensure it is above the video */
}

.message-container {
    display: flex;
    align-items: flex-start; /* Aligns items to the top */
    margin-bottom: 15px;
}

.ai-message-avatar {
    width: 32px;
    height: 32px;
    margin-right: 10px; /* Space between avatar and message */
    border-radius: 50%; /* Makes the avatar circular */
    background-color: black; /* Black circle background */
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-image {
    width: 28px; /* Slightly smaller than the container */
    height: 28px;
    border-radius: 50%; /* Ensures the image is circular */
    object-fit: contain;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 90%;
    max-width: 400px;
    padding: 16px;
    margin: 0 auto; /* Centers the container horizontally */
    margin-left: 5vh !important;
    margin-top: -30px !important;
}

.choice-button {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: 2px solid #3545fb;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 16px;
    cursor: pointer;
    text-align: left;
    transition: background 0.4s ease;
    width: 100%;
}

.choice-button:hover {
    background: #3545fb;
}

.grid-buttons-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    /* margin-left: 5vh !important; */
  }

  .grid-button-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 65%;
    max-width: 400px;
    padding: 16px;
    margin: 0 auto; /* Centers the container horizontally */
    margin-top: -30px;
  }

  .grid-choice-button {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: 2px solid #3e3e3e;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.4s ease;
    width: 100%;
  }

  .grid-choice-button:hover {
    border-color: rgb(255, 0, 0);
  }

  .slider-wrapper {
    font-family: system-ui, -apple-system, sans-serif;
    color: white;
    padding: 20px;
    max-width: 100%;
    overflow: hidden;
  }

  .slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
  }

  .slider {
    display: flex;
    transition: transform 0.3s ease;
    gap: 8px;
    cursor: grab;
  }

  .slider:active {
    cursor: grabbing;
  }

  .slide {
    flex: 0 0 200px;
    padding: 4px;
  }

  .slide img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
  }

  .slide-title {
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 20px 10px;
    cursor: pointer;
    z-index: 2;
  }

  .prev { left: 0; }
  .next { right: 0; }

  .details-slider-wrapper {
    width: 90%;
    max-width: 600px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    font-family: system-ui, -apple-system, sans-serif;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    /* margin: 0 auto !important; */
    margin-left: 5vh;
    }

  .details-slider-container {
    position: relative;
    width: 100%;
  }

  .details-slider {
    position: relative;
    display: flex;
    transition: transform 0.3s ease;
  }

  .details-slide {
    flex: 0 0 100%;
    position: relative;
  }

  .details-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
  }

  .details-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    padding-right: 120px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-size: 1.2rem;
  }

  .details-slider-nav-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
  }

  .details-slider-nav {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 4px;
    transition: background-color 0.2s;
  }

  .details-slider-nav:hover {
    background: rgba(0,0,0,0.8);
  }

  .details-buttons {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .details-action-button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    background: #3545fb;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
  }

  .details-action-button:hover {
    opacity: 0.9;
  }

  /* hero styles */

  .hero {
    /* background: linear-gradient(45deg, #0a1930, #1a365d); */
    color: white;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 1%);
    background-size: 15px 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

.hero-content {
    text-align: center;
    padding: 4rem 1rem;
}

.hero-logo {
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
    /* background: white; */
    border-radius: 24px;
    padding: 1rem;
    object-fit: contain;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    margin-bottom: 4rem;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin: 0 0.5rem;
}

.button-primary {
    background-color: white;
    color: #0a1930;
}

.button-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: inline-flex;
}

.feature h3 {
    margin-bottom: 0.5rem;
}

.feature p {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* pr styles */

.pr-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.pr-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pr-section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.pr-section-subtitle {
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
}

.pr-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pr-product-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pr-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.pr-product-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.4);
}

.pr-product-name {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.pr-product-description {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  min-height: 80px;
}

.pr-product-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pr-product-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .pr-container {
      padding: 2rem 1rem;
  }

  .pr-section-title {
      font-size: 2rem;
  }

  .pr-product-description {
      min-height: auto;
  }
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #000;
    color: white;
}

.nav-links {
    display: flex;
    gap: 20px;
    transition: max-height 0.3s ease-out;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; /* Adjust based on your header height */
    right: 20px;
    background-color: #000;
    padding: 10px;
    border-radius: 8px;
    z-index: 1000;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3545fb;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger-menu span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 4px 0;
    transition: 0.4s;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger-menu {
        display: flex;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Adjust transparency as needed */
    z-index: 999; /* Ensure it is above other content */
    display: none; /* Initially hidden */
}
