/* Variables de couleurs */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #3498DB;
  --accent-color: #E74C3C;
  --background-color: #F4F6F7;
  --white: #FFFFFF;
  --light-gray: #E5E9F2;
  --dark-gray: #7F8C8D;
  --text-color: #333333;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

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

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    /* Keep properties relevant to the anchor tag */
    text-decoration: none;
    /* Remove text-specific properties */
}

.logo img {
    height: 50px; /* Adjust as needed */
    width: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below image */
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

.header-cta .cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: bold;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
}

.header-cta .cta-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

 

/* Styles specific to index.html body for continuous hero image */
.index-page-body {
    position: relative;
    /* Apply the hero image to the body */
    background-image: url('../assets/brandingkit/proimage.jpg');
    background-size: cover;
    background-position: center top; /* Align to top to ensure header part is visible */
    background-attachment: fixed; /* Optional: makes background fixed during scroll */
}

.index-page-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* Extend overlay to cover the entire visible area of the image */
    height: 100vh; /* Cover at least the viewport height */
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for contrast */
    z-index: -1; /* Place behind content */
}

/* Ensure header elements are white on index page */
.index-page-body header .logo,
.index-page-body header .main-nav a,
.index-page-body header .header-cta .cta-button {
    color: var(--white); /* Ensure links and logo are white */
    border-color: var(--white); /* White border for CTA button */
}

.index-page-body header .header-cta .cta-button:hover {
    background-color: var(--white);
    color: var(--primary-color); /* Text color on hover */
}

.index-page-body header .mobile-menu-toggle span {
    background-color: var(--white); /* White hamburger icon */
}

/* Header with Hero Image for Accueil */
.header-hero-image {
    background-image: url('../assets/brandingkit/proimage.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1; /* Ensure content is above overlay */
    color: var(--white); /* Default text color for header content */
}

.header-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for contrast */
    z-index: -1; /* Place behind content */
}

.header-hero-image .logo,
.header-hero-image .main-nav a,
.header-hero-image .header-cta .cta-button {
    color: var(--white); /* Ensure links and logo are white */
    border-color: var(--white); /* White border for CTA button */
}

.header-hero-image .header-cta .cta-button:hover {
    background-color: var(--white);
    color: var(--primary-color); /* Text color on hover */
}

.header-hero-image .mobile-menu-toggle span {
    background-color: var(--white); /* White hamburger icon */
}

/* Header for Index Page with Hero Image */
header.header-index-hero {
    background-image: url('../assets/brandingkit/proimage.jpg');
    background-size: cover;
    background-position: center top; /* Align to top of the image */
    position: relative;
    z-index: 1; /* Ensure content is above overlay */
    color: var(--white); /* Default text color for header content */
    /* Ensure header is transparent to show background */
    background-color: transparent;
    box-shadow: none;
}

header.header-index-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for contrast */
    z-index: -1; /* Place behind content */
}

header.header-index-hero .logo,
header.header-index-hero .main-nav a,
header.header-index-hero .header-cta .cta-button {
    color: var(--white); /* Ensure links and logo are white */
    border-color: var(--white); /* White border for CTA button */
}

header.header-index-hero .header-cta .cta-button:hover {
    background-color: var(--white);
    color: var(--primary-color); /* Text color on hover */
}

header.header-index-hero .mobile-menu-toggle span {
    background-color: var(--white); /* White hamburger icon */
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s linear;
}

.mobile-nav {
    display: none;
    background: var(--white);
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 1rem 0;
}

.mobile-nav li {
    text-align: center;
    margin: 1rem 0;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
}

.mobile-nav .cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
}


@media (max-width: 768px) {
    .main-nav, .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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


/* Section Hero (Accueil) */
.hero {
  background-image: url('../assets/brandingkit/proimage.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 6rem 0 23.875rem 0;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease;
}

.tagline {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  animation: fadeIn 1.5s ease;
}

.primary-btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: bold;
  transition: var(--transition);
  border: 2px solid var(--secondary-color);
}

.primary-btn:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

.secondary-btn {
  display: inline-block;
  background-color: transparent;
  color: var(--white);
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: bold;
  transition: var(--transition);
  border: 2px solid var(--white);
}

.secondary-btn:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Catalogue des produits */
.catalog {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 0.5rem auto;
  border-radius: 2px;
}

.catalog-intro-text {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: -2rem; /* Adjust as needed to position it correctly below the title */
  margin-bottom: 3rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.product-image {
  height: 250px;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

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

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.product-description {
  color: var(--dark-gray);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-price {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.product-link {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  transition: var(--transition);
  text-align: center;
  font-weight: 500;
  border: 2px solid var(--primary-color);
}

.product-link:hover {
  background-color: transparent;
  color: var(--primary-color);
}

/* Section Témoignages */
.testimonials {
  background-color: var(--white);
  padding: 6rem 0;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* Center the carousel content */
  width: 100%;
  margin: 0 auto; /* Center the wrapper itself */
}

.testimonial-cards {
  display: flex;
  overflow-x: hidden; /* Hide scrollbar */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  width: 100%; /* Take full width of its parent */
  padding: 1rem 0; /* Add some vertical padding */
}

.testimonial {
  flex: 0 0 auto; /* Prevent shrinking, allow growing if space, but maintain base width */
  width: calc(33.333% - 2rem); /* Show 3 testimonials, adjust for gap */
  margin-right: 2rem; /* Gap between testimonials */
  background: var(--background-color);
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

/* Adjust for smaller screens */
@media (max-width: 992px) {
  .testimonial {
    width: calc(50% - 1.5rem); /* Show 2 testimonials */
    margin-right: 1.5rem;
  }
}

@media (max-width: 768px) {
  .testimonial {
    width: calc(100% - 1rem); /* Show 1 testimonial */
    margin-right: 1rem;
  }
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 10;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.carousel-button:hover {
  background-color: var(--secondary-color);
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

.testimonial {
  background: var(--background-color);
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.testimonial:hover {
  transform: translateY(-5px);
}

.quote-icon {
  width: 40px;
  height: 40px;
  fill: var(--primary-color);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-color);
  text-align: right;
}

.author-title {
  font-weight: normal;
  color: var(--dark-gray);
  font-size: 0.9rem;
}



/* Pages de détail produit */
.product-detail {
  padding: 6rem 0;
}

.product-header {
  text-align: center;
  margin-bottom: 3rem;
}

.product-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.product-tagline {
  font-size: 1.5rem;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

.product-content {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Revert to two columns */
  gap: 3rem;
  margin-bottom: 4rem;
}

.product-image-large {
  background-color: var(--light-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px; /* Revert to fixed height */
  padding: 2rem;
}

.product-image-large svg {
  width: 200px;
  height: 200px;
  fill: var(--primary-color);
}

.product-info-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-price-large {
  font-weight: bold;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.product-description-large {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.product-benefits, .product-features {
  margin-bottom: 2rem;
}

.product-benefits h3, .product-features h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.product-benefits h3::after, .product-features h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
  margin-top: 0.5rem;
}

.product-benefits ul, .product-features ul {
  list-style-type: none;
  padding-left: 0;
}

.product-benefits li, .product-features li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  font-size: 1.1rem;
}

.product-benefits li:before, .product-features li:before {
  content: "✓";
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.cta-button-large {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
  padding: 1.2rem 2.5rem;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  transition: var(--transition);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  border: 2px solid var(--secondary-color);
}

.cta-button-large:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

.licensing-info {
  font-size: 1rem;
  color: var(--dark-gray);
  font-style: italic;
  text-align: center;
}

.faq {
  margin-top: 4rem;
}

.faq h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
}

.faq h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 0.5rem auto;
  border-radius: 2px;
}

.faq-item {
  margin-bottom: 1rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding: 1.5rem;
}

.faq-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem; /* Adjusted font size */
    color: var(--primary-color);
    margin: 0;
}

.faq-toggle {
    font-size: 2rem;
    font-weight: 300;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding-top 0.4s ease;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* A large enough value */
    padding-top: 1.5rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Page À Propos */
.about-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a2530 100%);
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-content {
  padding: 6rem 0;
}

.about-section {
  margin-bottom: 4rem;
}

.about-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.about-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  margin-top: 0.5rem;
}

.about-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

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

.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.value-icon {
  width: 80px;
  height: 80px;
  fill: var(--primary-color);
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.value-card p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.team-section {
  margin-top: 4rem;
}

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

.team-member {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.team-photo {
  width: 150px;
  height: 150px;
  background-color: var(--light-gray);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo svg {
  width: 80px;
  height: 80px;
  fill: var(--primary-color);
}

.team-member h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.team-member .position {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Page Contact */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a2530 100%);
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
}

.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-content {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2, .contact-form h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.contact-info h2::after, .contact-form h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
  margin-top: 0.5rem;
}

.contact-info p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-methods {
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  fill: var(--primary-color);
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-method h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.contact-method p {
  font-size: 1.1rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 1.1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.submit-btn {
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid var(--secondary-color);
}

.submit-btn:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

/* Pied de page */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
  margin-top: 0.5rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

/* Responsive */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .product-header h1 {
    font-size: 2.5rem;
  }
}

/* ===== Download Page (application-download.html) ===== */
.download-hero {
  background: linear-gradient(135deg, #1f2a36, #2C3E50);
  color: #fff;
  padding: 3.5rem 0;
}
.download-hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.download-hero h1 { font-size: 2.2rem; margin-bottom: .75rem; }
.download-hero p { color: #e6eef6; }
.trust-badges { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.trust-badges .badge { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .4rem .7rem; font-size: .95rem; display: inline-flex; align-items: center; gap: .4rem; }
.dh-card { background: #fff; color: var(--text-color); border-radius: 12px; padding: 1.25rem; border: 1px solid var(--light-gray); box-shadow: var(--shadow); }
.dh-card h3 { margin-bottom: .75rem; color: var(--primary-color); }
.btn-download { display: flex; align-items: center; justify-content: center; gap: .6rem; background: var(--secondary-color); color: #fff; text-decoration: none; padding: .9rem 1.2rem; border-radius: 8px; font-weight: 700; border: 2px solid var(--secondary-color); }
.btn-download:hover { background: transparent; color: var(--secondary-color); }
.btn-download .os { font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; opacity: .95; }
.dl-meta { display: flex; gap: .5rem; align-items: center; color: var(--dark-gray); margin-top: .65rem; font-size: .95rem; }
.dl-note { color: var(--dark-gray); margin-top: .4rem; font-size: .95rem; }
@media (max-width: 980px){ .download-hero-inner { grid-template-columns: 1fr; } }

.video-block { padding: 3.2rem 0; }
.video-frame { max-width: 900px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }

.download-instructions-section { padding: 2rem 0 4rem; }
.instruction-step { margin-top: 1.5rem; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1rem; }
.step-card { background: #fff; border: 1px solid var(--light-gray); border-radius: 10px; padding: 1rem; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.step-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
.step-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .25rem; }
.step-num { width: 28px; height: 28px; border-radius: 14px; background: var(--secondary-color); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.step-visual { width: 100%; height: auto; border-radius: 8px; margin-top: .5rem; display: block; }

.license-activation-section { margin-top: 2rem; }
.open-app-btn { background: var(--secondary-color); color: #fff; border: 2px solid var(--secondary-color); }
.open-app-btn:hover { background: transparent; color: var(--secondary-color); }
.support-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; color: var(--dark-gray); }
.support-item { display: inline-flex; align-items: center; gap: .35rem; }

@media (max-width: 768px) {
  .hero-content h1,
  .about-hero h1,
  .contact-hero h1 {
    font-size: 2rem;
  }
  
  .tagline {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .product-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .product-image-large {
    height: 300px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .product-header h1 {
    font-size: 2rem;
  }
  
  .product-price-large {
    font-size: 2rem;
  }
}



.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--secondary-color);
  display: inline-block;
  opacity: 0; /* Hidden by default, will animate in */
  transform: translateY(20px); /* Start slightly below */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.stat-number.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Value Proposition Section */
.value-proposition-section {
  padding: 6rem 0;
  background-color: var(--white); /* Or a subtle background color */
  text-align: center;
}

.value-message {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 500;
}

.value-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.value-item {
  background: var(--background-color);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
  width: 60px;
  height: 60px;
  fill: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.value-item h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.value-item p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* Stat Number within value-item */
.value-item .stat-number {
  font-size: 3rem; /* Larger for impact */
  font-weight: bold;
  color: var(--accent-color); /* Use accent color for highlight */
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.value-item .stat-number.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Call to Action Button within this section */
.value-proposition-section .cta-button {
  margin-top: 2rem;
}

/* Chatbot Container */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'DM Sans', sans-serif;
}

/* Chatbot Toggle Button */
.chatbot-toggle {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-toggle svg {
    width: 35px;
    height: 35px;
    fill: var(--white);
}

/* Chatbot Window */
.chatbot-window {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    width: 400px;
    height: 550px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    bottom: 90px; /* Above the toggle button */
    right: 0;
    transform: translateY(100%) scale(0.8);
    transform-origin: bottom right;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chatbot-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

/* Chatbot Header */
.chatbot-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
}

.chatbot-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--light-gray);
    margin-right: 10px;
    background-size: cover;
    background-position: center;
}

.bot-avatar {
    background-image: url('https://images.unsplash.com/photo-1534528741775-53994a69daeb?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzEyNjZ8MHwxfHNlYXJjaHwxfHxhdmF0YXIlMjBib3R8ZW58MHwwfHx8MTcwNjY1NjY1Nnww&ixlib=rb-4.0.3&q=80&w=400'); /* Royalty-free bot avatar */
}

.user-avatar {
    background-image: url('https://images.unsplash.com/photo-1535713875002-d1d0cfd72fee?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzEyNjZ8MHwxfHNlYXJjaHwxfHxhdmF0YXIlMjBwZXJzb258ZW58MHwwfHx8MTcwNjY1NjY3MHww&ixlib=rb-4.0.3&q=80&w=400'); /* Royalty-free user avatar */
}

.chatbot-header h3 {
    margin: 0;
    color: var(--white);
    font-weight: 600; /* Slightly bolder */
    letter-spacing: 0.5px; /* A bit more spaced out */
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Chatbot Body (Messages) */
.chatbot-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.message-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.message-wrapper.user-message {
    justify-content: flex-end;
}

.message-wrapper.bot-message {
    justify-content: flex-start;
}

.message {
    padding: 10px 15px;
    border-radius: 18px;
    margin-bottom: 0; /* Reset margin-bottom as it's handled by message-wrapper */
    max-width: calc(80% - 45px); /* Account for avatar width + margin */
    word-wrap: break-word;
}

.bot-message .message {
    background-color: var(--light-gray);
    margin-left: 10px; /* Space for avatar */
    border-bottom-left-radius: 2px; /* Pointy corner */
}

.user-message .message {
    background-color: var(--secondary-color);
    color: var(--white);
    margin-right: 10px; /* Space for avatar */
    border-bottom-right-radius: 2px; /* Pointy corner */
}

/* Chatbot Footer (Input) */
.chatbot-footer {
    display: grid; /* Use grid for better control */
    grid-template-columns: auto 1fr auto; /* Attach icon, input, send icon */
    gap: 10px; /* Space between elements */
    align-items: center;
    padding: 10px 18px;
    border-top: 1px solid #eee;
    background-color: var(--white);
}

.chatbot-footer input {
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 25px;
    font-size: 1rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%; /* Take full width of its grid column */
    transition: opacity 0.3s ease-in-out; /* Smooth transition for opacity */
}

.chatbot-footer input::placeholder {
    color: var(--dark-gray);
    opacity: 0.7;
}

.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px; /* Adjusted padding for icons */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.icon-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.icon-button svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color); /* Changed icon color to primary */
}

#chatbot-attach.icon-button:hover {
    background-color: rgba(0, 0, 0, 0.1); /* Slightly darker hover for attach */
}

/* Powered by */
.chatbot-powered-by {
    font-size: 0.8rem;
    text-align: center;
    padding: 10px;
    background-color: var(--white);
    color: var(--dark-gray);
    border-top: 1px solid #eee;
}

/* Responsive video embed */
.video-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-responsive iframe,
.video-responsive video { /* Added video tag */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Ensure images within product-media-large are responsive */
.product-media-large img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below image */
}

.product-image-column {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Space between image and video */
}

.product-video-container {
    margin-top: 2rem; /* This was previously inline, now in CSS */
}

.product-video-demo {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Newsletter Pop-up */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Higher than other elements */
    visibility: hidden; /* Hidden by default */
    opacity: 0; /* Hidden by default */
    transition: visibility 0s, opacity 0.3s ease;
}

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

.popup-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px); /* Start slightly below */
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark-gray);
}

.popup-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.popup-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.newsletter-form input[type="email"] {
    padding: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button[type="submit"] {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button[type="submit"]:hover {
    background-color: var(--primary-color);
}

.offer-text {
    font-size: 1rem;
    color: var(--dark-gray);
    font-style: italic;
}

@media (max-width: 768px) {
    .popup-content {
        padding: 1.5rem;
    }
    .popup-content h2 {
        font-size: 1.5rem;
    }
    .popup-content p {
        font-size: 1rem;
    }
}

/* Offer Banner */
.offer-banner {
    background-color: var(--accent-color); /* Use an accent color for visibility */
    color: var(--white);
    padding: 1rem 0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    position: sticky; /* Make it stick to the top */
    top: 0;
    z-index: 999; /* Ensure it's above other content but below pop-up */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.offer-banner .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.offer-banner p {
    margin: 0;
    line-height: 1;
}

.banner-cta {
    background-color: var(--white);
    color: var(--accent-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap; /* Prevent text wrapping */
}

.banner-cta:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .offer-banner .container {
        flex-direction: column;
        gap: 0.8rem;
    }
    .offer-banner p {
        font-size: 1rem;
    }
    .banner-cta {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ---- Purchase / Promo / Cart Widgets ---- */
.purchase-widget {
  margin: 1rem 0 1.25rem 0;
  padding: 0.5rem 0 0;
  background: transparent;
}

.purchase-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--light-gray); border-radius: 8px; overflow: hidden; }
.btn-qty { background: #f7f8fa; color: var(--primary-color); border: none; padding: .45rem .7rem; cursor: pointer; font-weight: 700; }
.btn-qty:hover { background: #eef1f5; }
.quantity-control input#qty-input { width: 50px; text-align: center; border: none; outline: none; background: #fff; padding: .45rem 0; }

.promo-code {
  display: flex;
  gap: .5rem;
  width: 100%;
}

.promo-code input[type="text"] {
  flex: 1;
  padding: .6rem .75rem;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
}

.promo-apply {
  padding: .55rem .9rem;
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 6px;
  cursor: pointer;
}
.promo-clear { border-color: var(--light-gray); color: var(--primary-color); }
.promo-toggle { background: transparent; color: var(--secondary-color); border: none; cursor: pointer; text-decoration: underline; }
.promo-form.hidden { display: none; }

.promo-feedback {
  font-size: .95rem;
  color: var(--primary-color);
}

.total-line {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
}

.payment-logos {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  opacity: .7;
}

.payment-logo {
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: none;
  border-radius: 3px;
  background: transparent;
  font-size: 11px;
  color: var(--dark-gray);
}

.cart-actions { display:none; }

.link-checkout {
  display: inline-block;
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 600;
}

.cart-indicator {
  margin-left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  color: var(--primary-color);
  border: 1px solid var(--light-gray);
  padding: .35rem .6rem;
  border-radius: 6px;
  background: var(--white);
}

.cart-indicator .count {
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--secondary-color);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding: 0 6px;
}

.cart-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #1a7f37;
  color: #fff;
  padding: .8rem 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 2000;
}

.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Dynamic pricing note under price */
.dynamic-pricing-note { color: var(--dark-gray); font-style: italic; }

/* ---- Product extras and recommendations ---- */

.product-extras {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.product-extras .extra-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-extras .extra-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}
.extra-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.extra-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(52,152,219,.12); color: var(--secondary-color); display: inline-flex; align-items: center; justify-content: center; }
.product-extras .extra-card h3 { margin: 0; font-size: 1.1rem; color: var(--primary-color); }
.extra-list { list-style: none; margin: .25rem 0 0 0; padding: 0; }
.extra-list li { position: relative; padding-left: 1.25rem; margin: .4rem 0; color: var(--text-color); }
.extra-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--secondary-color); font-weight: 700; }
.extra-text { color: var(--dark-gray); line-height: 1.6; margin: .25rem 0 0 0; }

.recommended-section {
  margin-top: 3rem;
}

.recommended-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Product highlight card (bottom) */
.product-highlight-card { padding: 2rem 0; }
.phc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; background: var(--white); border: 1px solid var(--light-gray); border-radius: 12px; box-shadow: var(--shadow); padding: 1.5rem; }
.phc-media img { width: 100%; height: auto; border-radius: 8px; display: block; }
.phc-body h2 { color: var(--primary-color); margin-bottom: .5rem; }
.phc-body p { color: var(--dark-gray); margin-bottom: 1rem; }
.phc-list { list-style: none; margin: 0 0 1rem 0; padding: 0; }
.phc-list li { position: relative; padding-left: 1.2rem; margin: .35rem 0; }
.phc-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--secondary-color); font-weight: 700; }
.phc-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 900px) {.phc { grid-template-columns: 1fr; }}

/* Accessibility helpers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
