/* CSS Variables for color scheme and typography */
:root {
  --primary-gold: #D4AF37;
  --primary-gold-light: #EBD37A;
  --deep-green: #2C5F2D;
  --terracotta: #C1502E;
  --cream-bg: #FAFAF7;
  --dark-brown: #2C241E;
  --white: #FFFFFF;
  --light-gray: #F0F0EE;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Open Sans', sans-serif;
  
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.03);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark-brown);
  background-color: var(--cream-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Typography Utility Classes */
.text-gold { color: var(--primary-gold); }
.text-green { color: var(--deep-green); }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 40px; /* Pill shape for Apple-feel */
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 2px solid transparent;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn-primary {
  background-color: var(--deep-green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(44, 95, 45, 0.2);
}

.btn-primary:hover {
  background-color: var(--dark-brown);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(44, 36, 30, 0.3);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-gold);
  color: var(--dark-brown);
}

.btn-outline:hover {
  background-color: var(--primary-gold);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.3);
}

.btn-outline-gold {
  background-color: transparent;
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--primary-gold);
}

.btn-outline-gold:hover {
  background-color: var(--primary-gold);
  color: #1B4332; /* Dark green background contrast */
  border-color: var(--primary-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

/* Caper Calibre Guide */
.calibre-guide-container {
    background: #fff;
    border: 1px solid #e0ede3;
    border-radius: 16px;
    padding: 1.5rem 2rem; /* Reduced padding */
    margin: 1rem 0 2.5rem; /* Reduced margin */
    box-shadow: 0 10px 30px rgba(27,67,50,0.05);
    position: relative;
    overflow: hidden;
}

.calibre-guide-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gold);
}

.calibre-guide-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--deep-green);
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.calibre-guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    position: relative;
}

.calibre-guide-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.calibre-guide-item:hover {
    transform: translateY(-5px);
}

.calibre-visual {
    height: 60px; /* Reduced from 80px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem; /* Reduced margin */
    position: relative;
}

.calibre-dot {
    /* More realistic caper color: olive green with highlights */
    background: radial-gradient(circle at 35% 35%, #92AD40 0%, #4B6F1F 50%, #2D4312 100%);
    /* Organic, slightly irregular shape like a real bud */
    border-radius: 48% 52% 55% 45% / 45% 55% 48% 52%; 
    box-shadow: 
        inset -2px -2px 6px rgba(0,0,0,0.4),
        0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.1);
}

.calibre-guide-item:hover .calibre-dot {
    box-shadow: 0 8px 20px rgba(146, 173, 64, 0.4);
    transform: scale(1.15) rotate(5deg);
}

/* Sizes based on the guide */
.dot-nonpareil { width: 14px; height: 14px; }
.dot-surfines  { width: 18px; height: 18px; }
.dot-capucines { width: 22px; height: 22px; }
.dot-capotes   { width: 28px; height: 28px; }
.dot-fines     { width: 34px; height: 34px; }
.dot-grusas    { width: 42px; height: 42px; }

.calibre-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin-bottom: 0.2rem;
}

.calibre-mm {
    font-size: 0.78rem;
    color: #666;
    font-weight: 600;
    background: #f4faf6;
    padding: 2px 8px;
    border-radius: 10px;
}

.calibre-axis {
    position: absolute;
    bottom: -1rem;
    left: 8.33%;
    right: 8.33%;
    height: 2px;
    background: #e0ede3;
}

@media (max-width: 900px) {
    .calibre-guide-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 1rem;
    }
}

@media (max-width: 500px) {
    .calibre-guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.03);
  transition: all 0.4s ease;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--deep-green);
  letter-spacing: 1px;
}

.logo span {
  color: var(--primary-gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: #555;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--deep-green);
}

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

.lang-switch form {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.lang-switch button, .lang-switch a {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: #999;
  transition: color 0.3s ease;
}
.lang-switch a.active, .lang-switch a:hover {
  color: var(--deep-green);
  opacity: 1;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-brown);
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  height: 100vh;
  min-height: 600px;
  padding: 80px 2rem 100px; 
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(44, 36, 30, 0.4), rgba(44, 36, 30, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  font-weight: 700;
}

.hero-content p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero CTA Buttons — matched to logo palette */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta .btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 40px;
  border: 2px solid #2C5F2D;
  background: #2C5F2D;
  color: #fff;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 6px 24px rgba(44, 95, 45, 0.35);
  text-decoration: none;
}

.hero-cta .btn-hero-primary:hover {
  background: #3a7a3c;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(44, 95, 45, 0.45);
}

.hero-cta .btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
}

.hero-cta .btn-hero-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: #fff;
  transform: translateY(-3px);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
  transition: all 0.3s ease;
}

.scroll-indicator:hover {
  transform: translateX(-50%) translateY(-5px);
}

.mouse {
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  animation: mousePulse 2s infinite;
}

.scroll-arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #A8D5BA;
  border-right: 2px solid #A8D5BA;
  transform: rotate(45deg);
  margin: -6px;
  animation: arrowScroll 2s infinite;
}

.scroll-arrow span:nth-child(2) {
  animation-delay: -0.2s;
}

.scroll-arrow span:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes arrowScroll {
  0% { opacity: 0; transform: rotate(45deg) translate(-10px, -10px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translate(10px, 10px); }
}

.wheel {
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: wheelScroll 2s infinite;
}

@keyframes mousePulse {
  0% { 
    box-shadow: 0 0 0 0 rgba(168, 213, 186, 0.8), inset 0 0 0 0 rgba(168, 213, 186, 0.4);
    border-color: rgba(255, 255, 255, 0.9);
  }
  50% { 
    box-shadow: 0 0 0 15px rgba(168, 213, 186, 0), inset 0 0 10px rgba(168, 213, 186, 0.2);
    border-color: #A8D5BA;
  }
  100% { 
    box-shadow: 0 0 0 0 rgba(168, 213, 186, 0), inset 0 0 0 0 rgba(168, 213, 186, 0);
    border-color: rgba(255, 255, 255, 0.9);
  }
}

@keyframes wheelScroll {
  0% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(18px); }
}

/* Sections */
.section-padding {
  padding: 8rem 2rem;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3.5rem;
  color: var(--deep-green);
  font-family: var(--font-heading);
  display: block;
  width: 100%;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-gold);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

.eyebrow {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary-gold);
  margin-bottom: 0.6rem;
}

.mb-5 { margin-bottom: 3.5rem; }
.mt-5 { margin-top: 3rem; }


/* About Preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.8rem;
  color: var(--deep-green);
  line-height: 1.2;
}

.about-text p {
  font-size: 1.1rem;
  color: #555;
  text-align: justify;
}

.check-list {
  list-style: none;
  margin: 2rem 0;
}

.check-list li {
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 2.5rem;
  font-weight: 500;
  color: var(--dark-brown);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* =====================
   Product Grid & Cards
   ===================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 500px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* Anchor is the direct grid item */
.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(27,67,50,0.12);
  border-color: var(--primary-gold-light);
}

.product-img-wrapper {
  height: 280px;
  overflow: hidden;
  position: relative;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform 0.7s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}

.product-img-placeholder {
  font-size: 4.5rem;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--deep-green);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 2;
}

.product-info {
  padding: 1.6rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.product-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--dark-brown);
  margin: 0;
  line-height: 1.2;
}

.premium-star {
  color: var(--primary-gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.product-short-desc {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.2rem;
}

.product-footer {
  border-top: 1px solid #f0f0ee;
  padding-top: 1rem;
  text-align: center;
}

.view-details-btn {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-gold);
  transition: color 0.3s ease;
}

.product-card:hover .view-details-btn {
  color: var(--deep-green);
}

.product-features {
  list-style: none;
  text-align: left;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.product-features li {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.product-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-gold);
  font-size: 1.2rem;
  line-height: 1;
}





/* Why Choose Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.feature-box {
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
  border: 1px solid transparent;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--primary-gold-light);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.service-card {
  background: var(--white);
  padding: 4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.02);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
}

.contact-info {
  background: var(--deep-green);
  color: var(--white);
  padding: 4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fdfdfd;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Footer */
footer {
  background: #1B4332;
  color: #C8E6D0;
  padding: 5rem 2rem 0;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #D4AF37, #1B4332, #D4AF37);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-col p {
  color: #A8D5BA;
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-logo-img {
  height: 55px;
  margin-bottom: 1.2rem;
  filter: brightness(0) invert(1);
}

.footer-col h3 {
  color: #D4AF37;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #D4AF37;
}

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

.footer-col ul li {
  margin-bottom: 0.7rem;
}

.footer-col ul li a {
  color: #A8D5BA;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.25s ease, padding-left 0.25s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #D4AF37;
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: #A8D5BA;
}

.footer-contact-item span {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 1rem;
  border-top: 1px solid rgba(168,213,186,0.15);
  font-size: 0.82rem;
  color: #6B9F80;
}

.footer-bottom a {
  color: #A8D5BA;
  text-decoration: none;
  transition: color 0.2s;
}

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

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  z-index: 100;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #25D366;
}

.whatsapp-float.highlight {
    animation: waPulse 2s infinite;
    z-index: 1001;
}

.whatsapp-float.highlight .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 90px;
}

@keyframes waPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 25px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* RTL Support */
[dir="rtl"] .check-list li {
  padding-left: 0;
  padding-right: 2.5rem;
}
[dir="rtl"] .check-list li::before {
  left: auto;
  right: 0;
}
[dir="rtl"] .nav-links {
  gap: 2.5rem;
}

/* RTL Nav spacing fix */
[dir="rtl"] .nav-left,
[dir="rtl"] .nav-right {
  gap: 2.5rem;
}
[dir="rtl"] .nav-left a,
[dir="rtl"] .nav-right a {
  font-size: 0.72rem;
  letter-spacing: 1px;
}

/* RTL Text alignment */
[dir="rtl"] .hero-content,
[dir="rtl"] .about-text,
[dir="rtl"] .footer-col,
[dir="rtl"] .service-card,
[dir="rtl"] .feature-box,
[dir="rtl"] p,
[dir="rtl"] li {
  text-align: right;
}
[dir="rtl"] .hero-content,
[dir="rtl"] .text-center,
[dir="rtl"] .section-title,
[dir="rtl"] .certs-hero,
[dir="rtl"] .blog-hero,
[dir="rtl"] .contact-hero,
[dir="rtl"] .services-hero,
[dir="rtl"] .about-hero,
[dir="rtl"] .branding-hero {
  text-align: center;
}
[dir="rtl"] .footer-col h3::after {
  left: auto;
  right: 0;
}
[dir="rtl"] .footer-contact-item {
  flex-direction: row-reverse;
}
[dir="rtl"] .product-features {
  text-align: right;
}
[dir="rtl"] .product-features li {
  padding-left: 0;
  padding-right: 1.5rem;
}
[dir="rtl"] .product-features li::before {
  left: auto;
  right: 0;
}

/* RTL mobile nav */
[dir="rtl"] .mobile-nav-links a {
  text-align: right;
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(168, 213, 186, 0.1);
  color: #A8D5BA;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #D4AF37;
  color: #1B4332;
  transform: translateY(-3px);
}

[dir="rtl"] .footer-social {
  flex-direction: row;
}

/* Alerts */
.alert {
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-weight: 500;
}
.alert-success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}
.alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}

/* Demo Mode Styles */
.demo-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #d9534f;
  color: white;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  z-index: 2147483647; /* Max z-index */
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: default;
}

.anti-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
