:root {
  --primary-red: #dc2626;
  --dark-red: #991b1b;
  --light-red: #fef2f2;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --gray-200: #e5e7eb;
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  
}


:where([class^="ri-"])::before { content: "\f3c2"; }
body {
font-family: 'Poppins', sans-serif;
scroll-behavior: smooth;
}
.container {
width: 100%;
margin: 0 auto;
padding: 0 1rem;
}
@media (min-width: 320px) {
  .container {
    max-width: 100%;
    padding: 0 1rem;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
}
@media (min-width: 425px) {
  .container {
    max-width: 425px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
    padding: 0 2rem;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
    padding: 0 2.5rem;
  }
}
/* @media (min-width: 1440px) {
  .container {
    max-width: 1440px;
    padding: 0 3rem;
  }
} */
@media (min-width: 2560px) {
  .container {
    max-width: 2000px;
    padding: 0 4rem;
  }
}
.hero-gradient {
background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0) 100%);
}
.service-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.scroll-container {
-ms-overflow-style: none;
scrollbar-width: none;
}
.scroll-container::-webkit-scrollbar {
display: none;
}
.fade-in {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
opacity: 1;
transform: translateY(0);
}
input:focus, textarea:focus {
outline: none;
border-color: #BE3C2E;
}
.custom-checkbox {
position: relative;
cursor: pointer;
}
.custom-checkbox input {
position: absolute;
opacity: 0;
cursor: pointer;
}
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 20px;
width: 20px;
background-color: #fff;
border: 2px solid #e5e7eb;
border-radius: 4px;
transition: all 0.2s ease;
}
.custom-checkbox input:checked ~ .checkmark {
background-color: #BE3C2E;
border-color: #BE3C2E;
}
.checkmark:after {
content: "";
position: absolute;
display: none;
}
.custom-checkbox input:checked ~ .checkmark:after {
display: block;
}
.custom-checkbox .checkmark:after {
left: 6px;
top: 2px;
width: 5px;
height: 10px;
border: solid white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
.service-slide {
animation: slideIn 0.5s ease forwards;
opacity: 0;
transform: translateY(20px);
}
@keyframes slideIn {
to {
opacity: 1;
transform: translateY(0);
}
}
.service-card-container {
perspective: 1000px;
}
.service-card-3d {
transition: transform 0.6s;
transform-style: preserve-3d;
}
.service-card-3d:hover {
transform: rotateY(10deg) translateY(-10px);
}
.marketing-icon {
transition: all 0.3s ease;
}
.marketing-icon:hover {
transform: scale(1.1);
color: #BE3C2E;
}
.hero-card {
animation-duration: 0.8s;
animation-fill-mode: both;
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hero-card:nth-child(1) {
animation-name: fadeInUp;
animation-delay: 0.1s;
}
.hero-card:nth-child(2) {
animation-name: fadeInUp;
animation-delay: 0.3s;
}
.hero-card:nth-child(3) {
animation-name: fadeInUp;
animation-delay: 0.5s;
}
.hero-card:nth-child(4) {
animation-name: fadeInUp;
animation-delay: 0.7s;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translate3d(0, 40px, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
:where([class^="ri-"])::before { content: "\f3c2"; }

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Enhanced Container System */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

/* Mobile First Approach - 320px and up */
@media (min-width: 320px) {
  .container {
    max-width: 100%;
    padding: 0 1rem;
  }
}

/* Small Mobile - 375px and up */
@media (min-width: 375px) {
  .container {
    max-width: 100%;
    padding: 0 1.25rem;
  }
}

/* Large Mobile - 425px and up */
@media (min-width: 425px) {
  .container {
    max-width: 100%;
    padding: 0 1.5rem;
  }
}

/* Tablet - 768px and up */
@media (min-width: 768px) {
  .container {
    max-width: 768px;
    padding: 0 2rem;
  }
}

/* Laptop - 1024px and up */
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
    padding: 0 2.5rem;
  }
}

/* Desktop - 1440px and up */
@media (min-width: 1440px) {
  .container {
    max-width: 1000px;
    padding: 0 3rem;
  }
}

/* Large Desktop - 2560px and up */
@media (min-width: 2560px) {
  .container {
    max-width: 1400px;
    padding: 0 4rem;
  }
}

/* Enhanced Header Styles */
header {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Responsive Typography */
.hero-title {
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
}

@media (min-width: 375px) {
  .hero-title {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1440px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

/* Hero Section Responsive Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: 2rem 0;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
  }
}

/* Responsive Hero Cards Grid */
.hero-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 375px) {
  .hero-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero-cards-grid {
    gap: 2rem;
  }
}

.villa-owner {
  padding: 5rem 0;
  background: var(--white);
}

.villa-owner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Always 2 columns on desktop */
  gap: 5rem;
  max-width: 1000px; /* Constrain width */
  margin: 0 auto; /* Center the grid */
}

@media (max-width: 768px) {
  .villa-owner-grid {
    grid-template-columns: 1fr;
  }
}

.re-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1.25rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* text-align: center; */
  cursor: pointer;
  position: relative;
}

.re-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.re-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

.re-desc {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.re-link {
  font-weight: 500;
  color: #e63946;
  text-decoration: none;
  transition: color 0.3s ease;
}

.re-icon {
  font-size: 2.5rem;
  color: #e63946;
  width: 60px;
  height: 60px;
  background: var(--light-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.re-icon i {
  font-size: 1.5rem;
  color: var(--primary-red);
}

.re-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.re-card p {
  color: var(--text-light);
}

.re-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.re-link:hover {
  gap: 0.75rem;
  color: var(--dark-red);
}

.re-link i {
  transition: transform 0.3s ease;
}

.re-link:hover i {
  transform: translateX(3px);
}

/* Section CTA Layout */
.section-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  }
  
.btn-primary {
  background-color: var(--primary-red);
  color: white;
  }
  
.btn-primary:hover {
  background-color: var(--dark-red);
  transform: translateY(-2px);
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
  box-shadow: var(--shadow-md);
  }

  .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
  }
  
  .animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
  }

  .animated-gradient-text {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 auto;
  max-width: 90%;
  background-image: linear-gradient(to right, #dc2626, #4079ff, #40ffaa, #dc2626, #dc2626);
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradientMove 8s linear infinite;
  line-height: 1.3;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
  
  @keyframes gradientMove {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

/* Enhanced Service Cards */
.service-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--primary-red);
}


.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #BE3C2E, #ff6b47);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Property Cards Enhanced */
.property-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(190, 60, 46, 0.15);
}

.property-card img {
  transition: transform 0.4s ease;
}

.property-card:hover img {
  transform: scale(1.05);
}

/* Responsive Scroll Container */
.scroll-container {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  padding: 0 1rem 1rem 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-container > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .scroll-container {
    gap: 2rem;
    padding: 0 1rem 1rem 1rem;
  }
}


.section-title,
.text-4xl,
.text-5xl,
.text-6xl,
.md\:text-6xl {
  font-size: 1.5rem !important;
  font-weight: bold;
  line-height: 1.2 !important;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .section-title,
  .text-4xl,
  .text-5xl,
  .text-6xl,
  .md\:text-6xl {
    font-size: 2rem !important;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .section-title,
  .text-4xl,
  .text-5xl,
  .text-6xl,
  .md\:text-6xl {
    font-size: 2.5rem !important;
  }
}

/* Enhanced Grid Layouts */
.responsive-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .responsive-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

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

@media (min-width: 768px) {
  .responsive-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .responsive-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.responsive-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px; /* Add constraint */
  margin: 0 auto; /* Center the grid */
}

@media (min-width: 768px) {
  .responsive-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .responsive-grid-4 {
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
  }
}

@media (min-width: 1440px) {
  .responsive-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsive Button Groups */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 640px) {
  .button-group {
    flex-direction: row;
    gap: 1rem;
    width: auto;
  }
}

/* Enhanced Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animation Delays */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }
.fade-in:nth-child(4) { transition-delay: 0.4s; }

/* Enhanced Hero Card Animations */
.hero-card {
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0;
  transform: translateY(50px) scale(0.9);
}

.hero-card:nth-child(1) {
  animation-name: heroCardSlideIn;
  animation-delay: 0.2s;
}

.hero-card:nth-child(2) {
  animation-name: heroCardSlideIn;
  animation-delay: 0.4s;
}

.hero-card:nth-child(3) {
  animation-name: heroCardSlideIn;
  animation-delay: 0.6s;
}

.hero-card:nth-child(4) {
  animation-name: heroCardSlideIn;
  animation-delay: 0.8s;
}

@keyframes heroCardSlideIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Contact Form Enhancements */
input:focus, textarea:focus {
  outline: none;
  border-color: #BE3C2E;
  box-shadow: 0 0 0 3px rgba(190, 60, 46, 0.1);
  transform: translateY(-1px);
}

input, textarea, select {
  transition: all 0.3s ease;
}

/* Custom Checkbox Enhanced */
.custom-checkbox {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-top: 2px;
}

.custom-checkbox:hover .checkmark {
  border-color: #BE3C2E;
  transform: scale(1.05);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: #BE3C2E;
  border-color: #BE3C2E;
  transform: scale(1.1);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Enhanced Modal */
#contact-modal {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#contact-modal .bg-white {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalSlideIn 0.3s ease-out;
}

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

/* Mobile Menu Improvements */
#mobile-menu {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Responsive Spacing */
.section-padding {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 5rem 0;
  }
}

/* Footer Responsive Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #BE3C2E;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Performance Optimizations */
.gpu-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000;
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* High DPI Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .high-dpi {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #1a1a1a;
    --text-primary: #ffffff;
    --border-color: #333333;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .scroll-container {
    scroll-behavior: auto;
  }
}

/* Premium Grid Layout */
.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Force 3 columns */
  gap: 2rem;
  max-width: 1200px; /* Constrain width */
  margin: 0 auto; /* Center the grid */
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .premium-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 688px) {
  .premium-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

#premium-upgraded .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Reuse and override premium card style */
.premium-unique-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 2rem;
  background: linear-gradient(145deg, #262626, #b10505);
  border-radius: 1.5rem;
  /*min-height: 280px;  Ensures enough space for content centering */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-unique-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.premium-unique-card .icon-wrapper {
  font-size: 2rem;
  color: #fff;
}

.premium-unique-card h3 {
  margin-top: 1rem;
}

.premium-unique-card p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.icon-wrapper {
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: glowPulse 2s ease-in-out infinite;
}

.glowing-icon {
  font-size: 2rem;
  color: white;
  text-shadow: 0 0 10px rgba(255,255,255,0.4), 0 0 15px rgba(255,255,255,0.2);
}

@keyframes swirlRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,255,255,0); }
  50% { transform: scale(1.1); box-shadow: 0 0 15px rgba(255,255,255,0.2); }
}


/* ========== Section Title & Subtitle Animations ========== */

/* Bounce-in from bottom (headings) */
.text-animate-bounce-in {
  opacity: 0;
  transform: translateY(40px);
  animation: bounceInUp 1s ease forwards;
}
@keyframes bounceInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px);
  }
  80% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Fade and slide from left (paragraphs) */
.text-animate-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 1s ease forwards;
}
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade and slide from right (paragraphs) */
.text-animate-right {
  opacity: 0;
  transform: translateX(30px);
  animation: slideInRight 1s ease forwards;
}
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Typewriter (hero punchlines) */
.text-typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--primary-red);
  width: 0;
  animation: typing 3s steps(40, end) forwards, blink-caret 0.8s step-end infinite;
}
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--primary-red); }
}

/* Zoom In */
.text-animate-zoom-in {
  opacity: 0;
  transform: scale(0.8);
  animation: zoomIn 0.8s ease-out forwards;
  animation-play-state: paused;
}
@keyframes zoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Pop Up */
.text-animate-pop-up {
  opacity: 0;
  transform: scale(0.7) translateY(20px);
  animation: popUp 0.6s cubic-bezier(0.23, 1.2, 0.32, 1) forwards;
  animation-play-state: paused;
}
@keyframes popUp {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Skew In from Left */
.text-animate-skew-left {
  opacity: 0;
  transform: skewX(-20deg) translateX(-30px);
  animation: skewIn 0.8s ease-out forwards;
  animation-play-state: paused;
}
@keyframes skewIn {
  to {
    opacity: 1;
    transform: skewX(0deg) translateX(0);
  }
}

/* Slide Down */
.text-animate-slide-down {
  opacity: 0;
  transform: translateY(-40px);
  animation: slideDown 0.9s ease-out forwards;
  animation-play-state: paused;
}
@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade + Scale */
.text-animate-fade-scale {
  opacity: 0;
  transform: scale(0.5);
  animation: fadeScaleIn 1s ease-out forwards;
  animation-play-state: paused;
}
@keyframes fadeScaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Optional stagger delay modifiers */
.text-animate-delay-1s {
  animation-delay: 1s;
}
.text-animate-delay-2s {
  animation-delay: 2s;
}
.text-animate-delay-3s {
  animation-delay: 3s;
}

/* Text fade-up animation */
.text-animate-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out forwards;
  animation-play-state: paused;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}