/* Base Styles */
:root {
  --primary-color: #ff3333;
  --secondary-color: #333;
  --background-color: #fff;
  --accent-color: #3366ff;
  --text-color: #444;
  --light-gray: #f5f5f5;
  --medium-gray: #ddd;
  --dark-gray: #666;
  --font-family: 'Roboto', Arial, sans-serif;
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

.divider {
  width: 100%;
  height: 10px;
  background-color: var(--primary-color);
  margin: 50px 0;
}

/* Header Styles */
header {
  padding: 30px 0;
  text-align: center;
}

.logo {
  width: 230px;
  height: auto;
  margin-bottom: 20px;
}

.page-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-subtitle {
  font-size: 1.8rem;
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 50px;
}

.hero-image {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
}

/* Slider Section */
.slider {
  width: 100%;
  height: 600px;
  max-width: 95%;
  position: relative;
  margin: auto;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 35px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.navigation button {
  color: black;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 25px;
  margin-top: 150px;
  background-color: rgba(255, 255, 255, 0.7);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider .container {
  display: flex;
  justify-content: space-between;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.text-content {
  flex: 1;
  margin-right: 20px;
  width: 65%;
  margin-left: 50px;
}

.image-content {
  flex-shrink: 0;
  width: 35%;
}

.image-content img {
  width: 80%;
  height: 350px;
  border-radius: 50px;
  object-fit: cover;
}

/* Slider Section */
.slide,
.slide-content,
.testimony-container,
.testimony-content,
.testimony-image,
.slider-buttons,
.slider-btn,
.slider-nav,
.nav-btn,
.nav-btn.active {
    /* Reset these styles as they're no longer needed */
    all: unset;
}

.slide-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
}

.slide-author {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 5px;
}

.slide-position {
  font-style: italic;
  text-align: center;
  margin-bottom: 10px;
}

.slide-rating {
  text-align: center;
  color: #FFD700;
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.testimony-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 2rem;
  gap: 2rem;
  max-width: 100%;
}

.testimony-content {
  flex: 1;
  min-width: 300px;
  max-width: 100%;
}

.testimony-quote {
  font-size: 1.2rem;
  font-weight: bold;
  font-style: italic;
  margin-bottom: 20px;
}

.testimony-list {
  list-style-position: inside;
  margin-left: 10px;
  padding-left: 10px;
}

.testimony-list li {
  margin-bottom: 15px;
  line-height: 1.5;
}

.testimony-image {
  max-width: 280px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.slider-buttons {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  box-sizing: border-box;
  z-index: 10;
  pointer-events: none;
  width: 100%;
}

.slider-btn {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  margin: 0 5px;
  pointer-events: auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slider-nav {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 10px;
}

.nav-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--light-gray);
  border: none;
  cursor: pointer;
  transition: transform 0.3s, background-color 0.3s;
  padding: 0;
  margin: 0;
}

.nav-btn.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Problems Section */
.problems-header {
  background-color: var(--primary-color);
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 50px;
}

.problems-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.problem-category {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.category-label {
  width: 200px;
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  position: relative;
  clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%, 15% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.problems-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.problem-item {
  text-align: center;
}

.problem-image-container {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
}

.problem-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problem-text {
  background-color: var(--light-gray);
  padding: 15px;
  border-radius: 10px;
}

/* Features Section */
.section-title {
  font-size: 2.2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card {
  background-color: #f9f9e8;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.feature-image-container {
  padding: 20px;
  text-align: center;
}

.feature-image {
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.feature-content {
  padding: 20px;
}

.feature-title {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.feature-description {
  color: var(--secondary-color);
}

/* Product Features Section */
.product-features-section {
  padding: 50px 0;
}

.product-features-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.product-features-text {
  flex: 1;
  min-width: 300px;
  text-align: center;
  position: relative;
}

.features-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.features-subtitle {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.features-img-bg {
  width: 80%;
  height: 550px;
  object-fit: cover;
  opacity: 0.5;
  margin: 0 auto;
}

.product-features-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.features-img-detail {
  width: 70%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
}

/* Product Showcase */
.product-showcase {
  position: relative;
  height: 500px;
  overflow: hidden;
  margin: 50px 0;
}

.showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 800px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.showcase-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

.showcase-description {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Email Form Section */
.email-section {
  padding: 50px 0;
  background-color: var(--light-gray);
}

.form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.form-content {
  flex: 2;
  min-width: 300px;
  padding: 40px;
}

.form-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 10px;
}

.form-subtitle {
  font-size: 2.2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.registration-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  background-color: #f0f0f0;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(51, 102, 255, 0.2);
}

.form-hint {
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
  color: var(--dark-gray);
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--secondary-color);
  cursor: pointer;
}

.checkbox-container input {
  width: 18px;
  height: 18px;
}

.btn {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #001933;
  color: white;
}

.btn-primary:hover {
  background-color: #003366;
}

.form-info {
  flex: 1;
  min-width: 300px;
  padding: 30px;
  background-color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.info-text {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.info-image {
  max-height: 400px;
  object-fit: contain;
  margin-top: auto;
}

/* Footer */
footer {
  padding: 30px 0;
  text-align: center;
  margin-top: 50px;
}

.footer-logo {
  width: 180px;
  margin-bottom: 20px;
}

.copyright {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1.5rem;
  }
  
  .slide-title {
    font-size: 2rem;
  }
  
  .testimony-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .testimony-content {
    min-width: 100%;
  }
  
  .testimony-image {
    max-width: 100%;
    margin-top: 1rem;
    height: 250px;
  }
  
  .slide {
    padding: 0 5px;
  }
  
  .slider-buttons {
    padding: 0 5px;
  }
  
  .product-features-container {
    flex-direction: column;
  }
  
  .features-img-bg {
    height: 350px;
  }
  
  .category-label {
    width: 100%;
    clip-path: none;
    margin-bottom: 20px;
  }
  
  .problem-category {
    flex-direction: column;
  }
  
  .showcase-content {
    width: 90%;
    padding: 20px;
  }
  
  .showcase-title {
    font-size: 1.5rem;
  }
  
  .showcase-description {
    font-size: 1rem;
  }
  
  .slider-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  
  .slider {
    height: auto;
    min-height: 750px;
  }
  
  .container {
    flex-direction: column;
    align-items: center;
  }
  
  .text-content {
    width: 90%;
    margin: 0 auto 20px;
  }
  
  .image-content {
    width: 90%;
    margin: 0 auto;
  }
  
  .image-content img {
    width: 100%;
    height: auto;
    max-height: 300px;
  }
  
  .navigation button {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .logo {
    width: 180px;
  }
  
  .page-title {
    font-size: 1.8rem;
  }
  
  .page-subtitle {
    font-size: 1.2rem;
  }
  
  .slide-title {
    font-size: 1.5rem;
  }
  
  .testimony-quote {
    font-size: 1rem;
  }
  
  .testimony-image {
    width: 200px;
    height: 200px;
  }
  
  .problems-grid {
    grid-template-columns: 1fr;
  }
  
  .features-container {
    grid-template-columns: 1fr;
  }
  
  .form-content, .form-info {
    padding: 20px;
  }
  
  .form-title {
    font-size: 1.5rem;
  }
  
  .form-subtitle {
    font-size: 1.8rem;
  }
}

/* Quiz section with background image */
.quiz-section {
  position: relative;
  padding: 100px 0;
  z-index: 1;
  min-height: 800px;
}

.quiz-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: -1;
}

/* Warranty section styling */
.warranty-section {
  position: relative;
  z-index: 1;
}

.warranty-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.warranty-content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.warranty-text {
  font-size: 1.5rem;
  color: var(--secondary-color);
  font-weight: 500;
  margin: 0;
}

.warranty-text strong {
  color: var(--primary-color);
  font-weight: 700;
}

/* Reviews section styles */
.reviews-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.reviews-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.review-card {
  flex: 0 0 300px;
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.reviewer-image {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 20px;
}

.reviewer-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.review-rating {
  color: #FFD700;
  font-size: 1.5rem;
}

/* Mobile responsiveness for reviews */
@media (max-width: 768px) {
  .reviews-container {
    flex-direction: column;
    align-items: center;
  }
  
  .review-card {
    flex: 0 0 100%;
    max-width: 320px;
  }
  
  .warranty-text {
    font-size: 1.2rem;
  }
}

/* Quiz section styles for modern-2.html */
.quiz-session {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.quiz-session.active {
  display: block;
  opacity: 1;
}

.quiz-content {
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quiz-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.quiz-subtitle {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.quiz-input {
  width: 100%;
  max-width: 500px;
  margin: 30px auto;
  padding: 15px 20px;
  font-size: 1.2rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  background-color: white;
  transition: all 0.3s ease;
  height: 60px;
}

.quiz-input::placeholder {
  color: #aaa;
}

.quiz-input:focus {
  border-color: var(--accent-color);
}

.quiz-next-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
  background-color: var(--primary-color);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.quiz-next-btn:hover {
  background-color: var(--secondary-color);
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Quiz options and selectors */
.quiz-options {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
}

.quiz-option-btn {
  padding: 15px 40px;
  font-size: 1.2rem;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  background: white;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.quiz-option-btn:hover {
  background-color: #fff0f0;
}

.quiz-option-btn.active {
  background-color: var(--primary-color);
  color: white;
}

.quiz-select {
  width: 100%;
  max-width: 500px;
  padding: 15px;
  font-size: 1.2rem;
  border: none;
  border-bottom: 3px solid var(--primary-color);
  background-color: transparent;
  margin-bottom: 10px;
  text-align: center;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 24px;
  cursor: pointer;
}

.quiz-select:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* Guide section for modern-2.html */
.guide-section {
  padding: 40px 0;
}

.guide-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.guide-text {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.guide-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.guide-subtitle {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.guide-line {
  width: 80%;
  height: auto;
}

.guide-image {
  flex: 1;
  min-width: 300px;
}

.guide-image img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
}

/* Video section */
.video-section {
  padding: 50px 0;
  background-color: #25244b;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Dog type selector */
.body-type-selector {
  margin: 40px 0;
}

.body-type-images {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.body-type-image-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.dog-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.dog-image.active {
  opacity: 1;
  box-shadow: 0 0 15px rgba(51, 102, 255, 0.7);
  transform: scale(1.1);
}

.dot-wrapper {
  position: relative;
  z-index: 2;
}

.dot {
  display: block;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--accent-color);
}

.body-type-label {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 600;
}

.connecting-line {
  position: relative;
  height: 3px;
  background-color: var(--accent-color);
  margin: 0 40px;
  margin-top: -20px;
}

.body-type-description {
  background-color: var(--light-gray);
  padding: 20px;
  border-radius: 10px;
  margin-top: 30px;
}

#content-text {
  font-size: 1.1rem;
  text-align: center;
  transition: opacity 0.3s ease;
}

/* Other components and styles... */
section {
  margin: 2rem 0;
  padding: 1rem 0;
}

/* Enhanced calculator/quiz styles for modern-2.html */
.weight-input-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.quiz-input-inline {
  width: 100px;
  padding: 10px;
  font-size: 1.2rem;
  border: none;
  border-bottom: 3px solid var(--primary-color);
  outline: none;
  background: transparent;
  text-align: center;
  color: var(--primary-color);
  font-weight: bold;
  margin: 0 10px;
}

.weight-unit {
  font-size: 1.2rem;
  color: var(--text-color);
  font-weight: bold;
}

.body-type-label {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 30px;
}

.body-type-selector {
  margin: 40px 0;
}

.body-type-images {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.body-type-image-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 120px;
}

.dog-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.dog-image.active {
  opacity: 1;
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
  transform: scale(1.05);
}

.dot-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15px;
}

.dot {
  width: 18px;
  height: 18px;
  background-color: white;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

.dot.active {
  background-color: var(--accent-color);
  transform: scale(1.2);
}

.connecting-line {
  position: relative;
  height: 3px;
  background-color: var(--accent-color);
  margin: 15px 0;
  width: 100%;
  z-index: 1;
}

.body-type-text {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

.body-type-description {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  max-width: 600px;
  margin: 0 auto;
}

#content-text {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

/* Measurements section */
.measurements-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  margin: 40px 0;
  gap: 30px;
}

.measurement-image {
  flex: 0 0 45%;
  max-width: 450px;
}

.measurement-image img {
  width: 100%;
  height: auto;
  display: block;
}

.measurement-inputs {
  flex: 0 0 45%;
  max-width: 400px;
}

.measurement-group {
  margin-bottom: 30px;
}

.measurement-group label {
  display: block;
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 10px;
}

/* Size result and product slider */
.size-result {
  margin: 40px 0;
}

.size-badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.color-selection-title {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin: 30px 0;
}

.product-slider-container {
  position: relative;
  max-width: 400px;
  margin: 30px auto;
  padding: 0 0 24px 0;
  background: rgba(255,255,255,0.95);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-slider-wrapper {
  overflow: visible;
  width: 100%;
  display: flex;
  justify-content: center;
}

.product-slider-track {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: center;
}

.product-slide-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  border: 3px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, border 0.2s;
  cursor: pointer;
  margin: 0 8px;
  display: block;
}

.product-slide-image:hover,
.product-slide-image.selected {
  border: 3px solid #3366ff;
  box-shadow: 0 4px 24px rgba(51,102,255,0.18);
  transform: scale(1.12);
}

.product-slider-btn {
  width: 48px;
  height: 48px;
  font-size: 2rem;
  background: #fff;
  border-radius: 50%;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  cursor: pointer;
  transition: background 0.2s;
}

.product-slider-btn.prev {
  left: -32px;
}

.product-slider-btn.next {
  right: -32px;
}

.product-slider-btn:hover {
  background: #f0f4ff;
}

@media (max-width: 600px) {
  .product-slider-container {
    max-width: 100vw;
    padding: 0 0 12px 0;
    overflow-x: auto;
    box-sizing: border-box;
  }
  .product-slider-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    justify-content: flex-start;
  }
  .product-slider-track {
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    min-width: max-content;
  }
  .product-slide-image {
    width: 130px;
    height: 130px;
    margin: 0 2px;
    border-radius: 18px;
    flex: 0 0 auto;
    display: block;
  }
  .product-slider-btn {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
    top: 50%;
    transform: translateY(-50%);
    left: 4px;
    right: 4px;
    z-index: 3;
    background: #fff;
    opacity: 0.85;
  }
  .product-slider-btn.prev {
    left: 0;
    right: auto;
  }
  .product-slider-btn.next {
    right: 0;
    left: auto;
  }
}
@media (max-width: 400px) {
  .product-slide-image {
    width: 110px;
    height: 110px;
  }
}

/* Product cards */
.product-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.product-card {
  width: 300px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.discount-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: var(--accent-color);
  color: white;
  font-weight: bold;
  padding: 20px 15px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
  z-index: 2;
  transform: rotate(5deg);
  font-size: 1.2rem;
  line-height: 1.1;
  text-align: center;
}

.product-card-header {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #eee;
}

.product-image-main {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image-main {
  transform: scale(1.05);
}

.product-plus {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  position: absolute;
  bottom: 300px;
  right: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.product-image-secondary {
  width: 40%;
  height: auto;
  border-radius: 10px;
  position: absolute;
  bottom: 200px;
  right: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-price {
  margin: 15px 0;
  text-align: center;
}

.price-original {
  color: #999;
  text-decoration: line-through;
  font-size: 1rem;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}

.price-sale {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: bold;
}

.product-card-content {
  text-align: center;
}

.product-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 10px;
}

.product-subtitle {
  font-size: 1rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 5px;
}

.product-description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.4;
}

.product-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: 15px;
  width: 100%;
  border: none;
  cursor: pointer;
}

.product-btn:hover {
  background-color: #e60000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Main button styling */
.product-btn.main-btn {
  background-color: var(--primary-color);
  font-size: 16px;
  padding: 14px 24px;
  margin-bottom: 8px;
}

/* Secondary button styling */
.product-btn.secondary-btn {
  background-color: #f5f5f5;
  color: var(--secondary-color);
  font-size: 14px;
  padding: 10px 24px;
  border: 1px solid #ddd;
}

.product-btn.secondary-btn:hover {
  background-color: #e0e0e0;
  color: var(--secondary-color);
}

/* Limited offer styling */
.limited-offer {
  background: linear-gradient(135deg, #ffe8e8, #fff0e8);
  border-radius: 15px;
  padding: 20px;
  margin: 30px auto;
  max-width: 80%;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.limited-offer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: shine 2s infinite linear;
}

@keyframes shine {
  to {
    left: 100%;
  }
}

.offer-badge {
  background-color: var(--accent-color);
  color: white;
  font-weight: bold;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

.offer-text {
  font-size: 1.1rem;
  margin-right: 10px;
}

.countdown {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  letter-spacing: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 5px 10px;
  border-radius: 5px;
  margin-left: 5px;
  font-size: 1.1rem;
}

.offer-description {
  font-size: 1.1rem;
  color: var(--text-color);
  text-align: center;
  margin-top: 10px;
  font-weight: 500;
}

/* Mobile responsiveness updates */
@media (max-width: 768px) {
  .product-card {
    flex: 0 0 90%;
    max-width: 350px;
  }
  
  .limited-offer {
    margin: 30px 15px;
    padding: 15px;
  }
  
  .countdown {
    font-size: 1.5rem;
  }
  
  .offer-description {
    font-size: 1rem;
  }
}

/* Form tweaks */
.form-group {
  margin-bottom: 20px;
}

.form-hint {
  display: block;
  color: #777;
  font-size: 0.85rem;
  margin-top: 5px;
}

/* Specific fixes for quiz transitions */
.quiz-form {
  margin: 30px 0;
}

.quiz-session {
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(20px);
}

.quiz-session.active {
  transform: translateY(0);
}

.fade-in {
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Countdown pulse animation */
.countdown {
  position: relative;
  display: inline-block;
}

.countdown.pulse {
  animation: countdownPulse 0.5s ease;
}

@keyframes countdownPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); color: var(--primary-color); }
  100% { transform: scale(1); }
}

/* Selected product animation */
.selected-pulse {
  animation: selectedPulse 1s ease;
}

@keyframes selectedPulse {
  0% { box-shadow: 0 0 0 0 rgba(51, 102, 255, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(51, 102, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(51, 102, 255, 0); }
}

.text-center {
  text-align: center;
}

/* Improve mobile experience for quiz section */
@media (max-width: 768px) {
  .quiz-content {
    padding: 20px 15px 30px;
  }
  
  .quiz-title {
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.2;
  }
  
  .quiz-subtitle {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  
  .quiz-input, .quiz-select {
    margin: 10px auto;
    padding: 10px 15px;
    height: 50px;
  }
  
  /* Reduce spacing for birth date inputs */
  #quiz-step-3 .form-group {
    margin-bottom: 8px;
  }
  
  #quiz-step-3 .quiz-input {
    margin: 5px auto;
  }
  
  #quiz-step-3 .form-hint {
    margin-top: 2px;
  }
  
  /* Adjust weight input spacing */
  .weight-input-container {
    margin: 10px auto 15px;
  }
  
  /* Improve body type selector spacing */
  .body-type-label {
    margin: 5px 0 10px;
  }
  
  .body-type-images {
    margin-bottom: 10px;
    gap: 10px;
  }
  
  .body-type-image-column {
    padding: 5px;
  }
  
  .body-type-text {
    font-size: 1.1rem;
    margin-top: 3px;
  }
  
  /* Adjust measurement section spacing */
  .measurements-container {
    margin: 15px auto;
  }
  
  .measurement-group {
    margin-bottom: 12px;
  }
  
  .measurement-group label {
    margin-bottom: 5px;
  }
  
  /* Improve spacing for product selection */
  .size-result {
    margin: 20px 0;
  }
  
  .color-selection-title {
    margin: 15px 0;
  }
  
  .product-slider-container {
    margin: 15px auto;
    padding: 0 40px;
  }
  
  /* Fix form hint spacing */
  .form-hint {
    margin-top: 3px;
    font-size: 1rem;
    line-height: 1.2;
  }
}

/* More aggressive spacing adjustments for extra small screens */
@media (max-width: 480px) {
  .quiz-content {
    padding: 15px 10px 25px;
  }
  
  .quiz-title {
    font-size: 1.7rem;
    margin-bottom: 8px;
  }
  
  .quiz-subtitle {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  .quiz-input, .quiz-select {
    margin: 6px auto;
    padding: 8px 12px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  .quiz-next-btn {
    margin-top: 15px;
    padding: 10px 30px;
  }
  
  .form-hint {
    font-size: 0.9rem;
  }
  
  /* Further reduce spacing in birthdate fields */
  #quiz-step-3 .form-group {
    margin-bottom: 6px;
  }
  
  /* Make body type images more compact */
  .dog-image {
    width: 100px;
    height: 100px;
  }
  
  .dot {
    width: 18px;
    height: 18px;
  }
}

/* Improve touch targets for mobile */
.quiz-option-btn, .dot, .product-slide-image, .quiz-next-btn {
  touch-action: manipulation;
}

/* Add smooth scrolling to improve experience when moving between quiz steps */
html {
  scroll-behavior: smooth;
}

/* Improve spacing in quiz sections */
.quiz-session {
  padding: 20px 0;
}

/* Improve quiz inputs for touch devices */
.quiz-input, .quiz-select {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 5px;
}

/* Make product slider more responsive */
.product-slider-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Improve active states for better visual feedback on mobile */
.quiz-option-btn.active {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.dot.active {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

/* Ensure the form inputs have adequate spacing */
.form-group {
  margin-bottom: 15px;
}

/* Animation for size result */
@keyframes sizeResultPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.size-result-animation {
  animation: sizeResultPulse 0.8s ease;
}

/* Touch feedback animations */
@keyframes touchFeedback {
  0% { background-color: rgba(51, 102, 255, 0.1); }
  100% { background-color: transparent; }
}

.quiz-option-btn:active, .dot:active, .product-slide-image:active, .quiz-next-btn:active {
  animation: touchFeedback 0.3s ease;
}

/* Improve touch feedback for mobile quiz scrolling */
.quiz-session {
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.3s ease;
}

/* Make the quiz overlay work better on mobile */
.quiz-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* Enhance visual feedback for form elements on mobile */
@media (max-width: 768px) {
  .quiz-input:focus, .quiz-select:focus {
    box-shadow: 0 0 0 3px rgba(51, 102, 255, 0.3);
    border-color: #3366ff;
    outline: none;
  }
  
  .quiz-option-btn.active {
    background-color: #3366ff;
    color: white;
  }
  
  /* Make dog body type images and dots easier to tap */
  .dog-image {
    max-width: 120px;
    margin: 0 auto;
  }
  
  .dot {
    width: 20px;
    height: 20px;
    margin: 0 5px;
    cursor: pointer;
  }
  
  /* Improve product selection on mobile */
  .product-slide-image {
    border: 2px solid transparent;
    transition: all 0.3s ease;
  }
}

/* Minor UI improvements for the size badge */
.size-badge {
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Improve mobile form validation visual feedback */
.form-control.error {
  border-color: #ff5252 !important;
  box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.25);
}

.form-control.valid {
  border-color: #4CAF50 !important;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.25);
}

/* Link Toggle Styles */
.link-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.link-toggle-label {
  font-size: 16px;
  margin: 0 10px;
  font-weight: 500;
}

.link-toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.link-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 30px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #3366ff;
}

input:checked + .toggle-slider:before {
  transform: translateX(30px);
}

/* Shopee link styling */
.shopee-link {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background-color: #f5f5f5;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.shopee-link:hover {
    background-color: #e0e0e0;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.price-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    font-size: 1.1rem;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.discounted-price {
    color: #ff3366;
    font-weight: bold;
    font-size: 1.2rem;
}

.special-offer {
    background: linear-gradient(135deg, #ff3366, #ff1a1a);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 900;
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.5);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transform: rotate(-2deg);
    animation: pulse 2s infinite;
}

@media (max-width: 768px) {
    .price-info {
        font-size: 1rem;
    }
    
    .original-price {
        font-size: 0.8rem;
    }
    
    .discounted-price {
        font-size: 1.1rem;
    }
    
    .special-offer {
        font-size: 1.1rem;
        padding: 10px 15px;
    }
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message:not(:empty) {
    display: block;
}

.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-control.error {
    border-color: #dc3545;
}

.form-control.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
} 