/*! tailwindcss v4.1.10 | MIT License | https://tailwindcss.com */
@layer properties;
.fixed {
  position: fixed;
}
.z-10 {
  z-index: 10;
}
.container {
  width: 100%;
}
.mx-auto {
  margin-inline: auto;
}
.block {
  display: block;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-screen {
  height: 100vh;
}
.w-full {
  width: 100%;
}
.rotate-90 {
  rotate: 90deg;
}
.transform {
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.bg-cover {
  background-size: cover;
}
.bg-center {
  background-position: center;
}
.text-center {
  text-align: center;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
    }
  }
}

/* Root Variables - Kato Dehydrated Foods */
:root {
  --primary: #206117;
  --primary-light: #3c8a32;
  --primary-dark: #174812;
  --secondary: #f4f4f4;
  --text-dark: #333;
  --text-light: #fff;
  --shadow: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Poppins', sans-serif;
  --curve: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

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

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23206117' stroke-width='2'><circle cx='12' cy='12' r='10' fill='rgba(32, 97, 23, 0.2)' stroke='%23206117'/><circle cx='12' cy='12' r='2' fill='%23206117'/></svg>") 12 12, auto;
}

body {
  font-family: var(--body-font);
  font-size: 1.6rem;
  color: var(--text-dark);
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

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

/* Efek Selection Text */
::selection {
  background: var(--primary-light);
  color: white;
}


/* Hero Section dengan Gradasi dan Animasi */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: 
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 70%,
      rgba(0, 0, 0, 0.3) 85%,
      rgba(255, 255, 255, 0.3) 95%,
      rgba(255, 255, 255, 0.8) 100%
    ),
    url('../img/background.jpg');
  background-size: cover;
  background-position: center;
  padding: 10rem 7% 5rem;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8rem;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.9));
  pointer-events: none;
}

.hero-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3rem;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.15), transparent);
  z-index: 1;
  pointer-events: none;
}

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

/* Floating animation for hero content */
.hero-content {
  max-width: 65rem;
  text-align: center;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-size: 5rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  margin-bottom: 2.5rem;
  font-family: var(--heading-font);
  animation: fadeIn 1s ease;
}

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

.hero-title span {
  color: #3ed846;
  position: relative;
  display: inline-block;
  animation: colorPulse 3s infinite;
}

@keyframes colorPulse {
  0%, 100% { color: #3ed846; }
  50% { color: #9cff9c; }
}

.hero-subtitle {
  font-size: 2rem;
  color: #eee;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeInUp 1s 0.5s forwards;
}

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

/* Modern Button dengan Hover Effect */
.btn {
  padding: 1.5rem 3.2rem;
  font-size: 1.7rem;
  color: white;
  background-color: var(--primary);
  border-radius: 5rem;
  display: inline-block;
  font-weight: 600;
  transition: all 0.4s var(--curve);
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  animation: fadeInUp 1s 0.8s forwards;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-dark);
  z-index: -1;
  transition: transform 0.6s var(--curve);
  transform: scaleX(0);
  transform-origin: right;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.3);
}

.btn:active {
  transform: translateY(-2px);
}

/* Animasi Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 8rem;
  color: white;
  font-size: 2.5rem;
  animation: bouncing 2s infinite;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards, bouncing 2s 1.2s infinite;
}

@keyframes bouncing {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}

/* Heading Styles dengan Animation */
.menu h2,
.products h2,

.menu h2::after,
.products h2::after,

.menu h2 span,
.products h2 span,

/* Section Containers */
.menu,
.products,


/* Menu & Products Sections */
.menu,
.products {
  background-color: var(--secondary);
  position: relative;
  overflow: hidden;
}

.menu::before,
.products::before {
  content: '';
  position: absolute;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background-color: rgba(32, 97, 23, 0.05);
  top: -5rem;
  left: -5rem;
  z-index: 0;
}

.menu::after,
.products::after {
  content: '';
  position: absolute;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background-color: rgba(32, 97, 23, 0.05);
  bottom: -5rem;
  right: -5rem;
  z-index: 0;
}

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.menu-container,
.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
  margin-top: 5rem;
}

/* Card Design dengan Animasi */
.card,
.product-item {
  background-color: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.08);
  transition: all 0.4s var(--curve);
  position: relative;
  z-index: 1;
}

.card::before,
.product-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(32, 97, 23, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.card:hover,
.product-item:hover {
  transform: translateY(-1.5rem);
  box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.1);
}

.card:hover::before,
.product-item:hover::before {
  opacity: 1;
}

.card img,
.product-item img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover img,
.product-item:hover img {
  transform: scale(1.1);
}

.card h3,
.product-item h3 {
  font-size: 2.4rem;
  padding: 2rem 2rem 1rem;
  color: var(--primary-dark);
  position: relative;
}

.card h3::after,
.product-item h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2rem;
  width: 4rem;
  height: 0.3rem;
  background: var(--primary-light);
  border-radius: 5px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover h3::after,
.product-item:hover h3::after {
  transform: scaleX(1);
}

.card p,
.product-item p {
  font-size: 1.6rem;
  color: #777;
  padding: 1rem 2rem 2rem;
  line-height: 1.7;
}

.item-detail-button {
  display: inline-block;
  margin: 0 2rem 2rem;
  padding: 1rem 2rem;
  background-color: var(--primary);
  color: white;
  border-radius: 5rem;
  font-size: 1.6rem;
  transition: all 0.3s var(--curve);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.item-detail-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-dark);
  z-index: -1;
  transition: transform 0.6s var(--curve);
  transform: scaleX(0);
  transform-origin: right;
}

.item-detail-button:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.item-detail-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

/* Modal Box dengan Glassmorphism */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
}

.modal-container {
  width: 85%;
  max-width: 90rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  padding: 3rem;
  position: relative;
  box-shadow: 0 2.5rem 5rem rgba(0, 0, 0, 0.15);
  transform: scale(0.7);
  opacity: 0;
  transition: all 0.4s var(--curve);
}

.modal.active .modal-container {
  transform: scale(1);
  opacity: 1;
}

.close-icon {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--text-dark);
  font-size: 2.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.close-icon:hover {
  color: #f00;
  background: rgba(255, 0, 0, 0.1);
  transform: rotate(90deg);
}

.modal-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.modal-content img {
  flex: 1 1 40%;
  max-height: 45rem;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.product-content {
  flex: 1 1 55%;
  padding: 0 2rem;
}

.product-content h3 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-family: var(--heading-font);
}

.product-content p {
  font-size: 1.7rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: #555;
}

.product-stars {
  font-size: 1.8rem;
  color: #999;
  margin-bottom: 1.5rem;
}

.star-full {
  color: gold;
}

.product-price {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 2.5rem;
  color: #333;
}

.product-price span {
  color: var(--primary);
}

.product-content a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--primary);
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: 5rem;
  font-size: 1.7rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-content a i {
  transition: transform 0.3s ease;
}

.product-content a:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.product-content a:hover i {
  transform: translateX(-3px);
}

/* Modern Footer dengan Grid Layout */
footer {
  background-color: var(--primary-dark);
  padding: 0 0 3rem;
  margin-top: 5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 10px;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 5rem;
  padding: 8rem 7% 5rem;
  color: white;
  position: relative;
  z-index: 1;
}

.footer-content h3 {
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
  color: white;
  font-family: var(--heading-font);
  position: relative;
  padding-bottom: 1rem;
}

.footer-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 5rem;
  height: 3px;
  background: var(--primary-light);
  border-radius: 5px;
}

.footer-content p {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.footer-content p i {
  margin-right: 1rem;
  color: var(--primary-light);
}

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

.footer-products ul li {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding-left: 2rem;
  transition: all 0.3s ease;
}

.footer-products ul li:hover {
  color: white;
  transform: translateX(5px);
}

.footer-products ul li::before {
  content: "•";
  color: var(--primary-light);
  font-weight: bold;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.footer-products ul li:hover::before {
  color: white;
}

.socials {
  text-align: center;
  padding: 2rem 0;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 1.5rem;
  font-size: 2.4rem;
  width: 5rem;
  height: 5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.socials a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-light);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.5s ease;
  z-index: -1;
}

.socials a:hover::before {
  transform: scale(1);
}

.socials a:hover {
  color: white;
  transform: translateY(-5px) rotate(10deg);
}

.links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.links a {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.8rem 1.5rem;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.links a:hover {
  color: white;
  text-decoration: underline;
}

.credit {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.credit a {
  color: var(--primary-light);
  font-weight: 600;
  transition: color 0.3s ease;
}

.credit a:hover {
  color: white;
}

/* Footer Contact Layout - Horizontal Style - Improved for consistency */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.8rem;
  transition: all 0.3s ease;
}

.footer-contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.footer-contact-item i {
  color: var(--primary-light);
  font-size: 2.2rem;
  min-width: 2.2rem;
}

.footer-contact-item p {
  margin-bottom: 0;
  word-break: break-word; /* Ensure long text wraps properly */
}

/* Contact info horizontal layout for smaller screens */
@media (max-width: 768px) {
  /* Enhance footer contact section for mobile */
  .footer-content {
    gap: 3rem; /* Reduce gap between footer sections */
  }
  
  .footer-contact h3 {
    margin-bottom: 1.5rem; /* Reduce space below heading */
    text-align: center;
  }
  
  .footer-contact {
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.8rem;
    border-radius: 1.2rem;
    overflow: hidden;
  }
  
  .footer-contact-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.8rem;
    margin-bottom: 1.2rem;
    padding: 1.8rem;
    width: 100%; /* Ensure full width */
  }
  
  .footer-contact-item:last-child {
    margin-bottom: 0;
  }
  
  /* Make all icons consistent */
  .footer-contact-item i {
    background-color: rgba(255, 255, 255, 0.15);
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    min-width: 4.5rem; /* Ensure consistent width */
  }
  
  .footer-contact-item p {
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    word-break: break-word; /* Handle long email addresses */
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .footer-contact-item {
    padding: 1.5rem;
  }
  
  .footer-contact-item i {
    width: 4rem;
    height: 4rem;
    font-size: 1.8rem;
    min-width: 4rem;
  }
  
  .footer-contact-item p {
    font-size: 1.4rem;
  }
  
  .footer-content {
    padding: 5rem 7% 3rem;
  }
}

/* Fix for footer email address to display completely on one line */
@media (max-width: 768px) {
  /* Target specifically the email address in footer */
  footer .footer-contact-item:nth-child(3) p,
  footer .footer-contact-item.email p {
    font-size: 1rem !important; /* Even smaller font size */
    letter-spacing: -0.7px !important; /* Much tighter letter spacing */
    white-space: nowrap !important; /* Prevent line breaks */
    word-break: keep-all !important; 
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    display: inline-block !important; /* Force inline */
    transform: scale(0.95) !important; /* Slightly scale down text */
    transform-origin: left !important;
  }
  
  /* Make container wider and reduce padding */
  footer .footer-contact-item:nth-child(3),
  footer .footer-contact-item.email {
    padding: 1.2rem 1rem !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
  }
  
  /* Make icon much smaller */
  footer .footer-contact-item:nth-child(3) i,
  footer .footer-contact-item.email i {
    width: 3.5rem !important;
    height: 3.5rem !important;
    min-width: 3.5rem !important;
    font-size: 1.6rem !important;
    margin-right: 0.8rem !important;
  }
  
  /* Force the text container to take most of the width */
  footer .footer-contact-item:nth-child(3) p,
  footer .footer-contact-item.email p {
    width: calc(100% - 4.5rem) !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* For very small devices, even more extreme measures */
@media (max-width: 380px) {
  footer .footer-contact-item:nth-child(3) p,
  footer .footer-contact-item.email p,
  footer p a[href^="mailto:"],
  footer p:contains("marketing@") {
    font-size: 0.9rem !important;
    letter-spacing: -0.8px !important;
    transform: scale(0.9) !important;
  }
  
  footer .footer-contact-item:nth-child(3) i,
  footer .footer-contact-item.email i {
    width: 3.2rem !important;
    height: 3.2rem !important;
    min-width: 3.2rem !important;
  }
}

/* Consistent font size fix for all footer contact items */
@media (max-width: 768px) {
  /* Apply consistent styling to ALL contact items */
  footer .footer-contact-item p {
    font-size: 1.4rem !important; /* Consistent font size for all items */
    letter-spacing: normal !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Special email treatment - but keep font size consistent */
  footer .footer-contact-item:nth-child(3) p,
  footer .footer-contact-item.email p {
    font-size: 1.4rem !important; /* Same size as other items */
    letter-spacing: -0.5px !important; /* Just slight letter spacing adjustment */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  /* Consistent icon sizing */
  footer .footer-contact-item i {
    width: 4rem !important;
    height: 4rem !important;
    min-width: 4rem !important;
    font-size: 1.8rem !important;
    margin-right: 1.2rem !important;
  }
  
  /* Unified container styling */
  footer .footer-contact-item {
    padding: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
  }
}

/* Special handling for very narrow screens only */
@media (max-width: 380px) {
  /* Only reduce font size on very small screens */
  footer .footer-contact-item p {
    font-size: 1.3rem !important;
  }
  
  footer .footer-contact-item:nth-child(3) p,
  footer .footer-contact-item.email p {
    font-size: 1.3rem !important;
    letter-spacing: -0.6px !important;
  }
  
  footer .footer-contact-item i {
    width: 3.8rem !important;
    height: 3.8rem !important;
    min-width: 3.8rem !important;
  }
}

/* WhatsApp Floating Button - Updated with custom image */
.whatsapp-float {
  position: fixed;
  bottom: 3.5rem;
  right: 3.5rem;
  background-color: #25D366;
  color: white;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.5rem 2rem rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  overflow: hidden; /* Keep the image within the circular container */
}

.whatsapp-float img {
  width: 70%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 1rem 3rem rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover img {
  transform: scale(1.1);
}

/* Pulse animation for WhatsApp button */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Adjust size for mobile - made larger than before */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 6rem;
    height: 6rem;
    bottom: 2.5rem;
    right: 2.5rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 5rem;
    height: 5rem;
    bottom: 1.8rem;
    right: 1.8rem;
  }
}

/* Footer contact info improvements for horizontal email display */
@media (max-width: 768px) {
  /* Existing mobile styles remain unchanged */
  
  /* Footer contact section specific adjustments */
  footer .footer-contact-item .content p {
    font-size: 1.3rem; /* Reduced font size for all footer contact items */
    line-height: 1.5;
  }
  
  /* Special handling for the email address */
  footer .footer-contact-item:nth-child(3) .content p,
  footer .footer-contact-item.email .content p {
    font-size: 1.1rem !important; /* Force smaller font size */
    letter-spacing: -0.5px !important; /* Tighter letter spacing */
    white-space: nowrap !important; /* Prevent any line breaks */
    word-break: keep-all !important; /* Prevent word breaking */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  
  /* Make the email footer item a bit wider if possible */
  footer .footer-contact-item:nth-child(3),
  footer .footer-contact-item.email {
    max-width: 100%;
  }
  
  /* Add horizontal scrolling option as fallback for very long emails */
  footer .footer-contact-item:nth-child(3) .content,
  footer .footer-contact-item.email .content {
    max-width: 75%;
    overflow-x: auto; /* Allow horizontal scrolling if needed */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
  }
  
  /* Hide scrollbar in Chrome/Safari/Edge */
  footer .footer-contact-item:nth-child(3) .content::-webkit-scrollbar,
  footer .footer-contact-item.email .content::-webkit-scrollbar {
    display: none;
  }
}

/* Even smaller screens */
@media (max-width: 430px) {
  footer .footer-contact-item .content p {
    font-size: 1.2rem;
  }
  
  footer .footer-contact-item:nth-child(3) .content p,
  footer .footer-contact-item.email .content p {
    font-size: 1.1rem;
    letter-spacing: -0.4px;
  }
  
  /* Reduce icon size to give more space for text */
  footer .footer-contact-item i {
    font-size: 1.8rem;
  }
}

/* Very small devices */
@media (max-width: 360px) {
  footer .footer-contact-item:nth-child(3) .content p,
  footer .footer-contact-item.email .content p {
    font-size: 1rem;
  }
}

/* Extreme fix for footer email - directly target the email address */
@media (max-width: 768px) {
  footer .footer-contact-item:nth-child(3) p,
  footer .footer-contact-item.email p,
  footer p a[href^="mailto:"],
  footer p:contains("marketing@") {
    font-size: 0.85rem !important; /* Extremely small font */
    letter-spacing: -1px !important; /* Very tight letter spacing */
    font-family: monospace !important; /* Monospace fonts take less width */
    transform: scale(0.85) !important; /* Scale down even further */
    transform-origin: left !important;
    width: 100% !important;
    word-spacing: -2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  /* Make the container significantly wider */
  footer .footer-contact-item:nth-child(3),
  footer .footer-contact-item.email {
    padding: 1.5rem 0.8rem 1.5rem 1.2rem !important;
    width: 100% !important;
  }
  
  /* Shrink the icon dramatically */
  footer .footer-contact-item:nth-child(3) i,
  footer .footer-contact-item.email i {
    width: 3rem !important;
    height: 3rem !important;
    min-width: 3rem !important;
    font-size: 1.4rem !important;
    margin-right: 0.6rem !important;
  }
}

/* For very small devices */
@media (max-width: 430px) {
  footer .footer-contact-item:nth-child(3) p,
  footer .footer-contact-item.email p,
  footer p a[href^="mailto:"],
  footer p:contains("marketing@") {
    font-size: 0.8rem !important;
    letter-spacing: -1.2px !important;
    transform: scale(0.8) !important;
  }
  
  /* Make icon even smaller */
  footer .footer-contact-item:nth-child(3) i,
  footer .footer-contact-item.email i {
    width: 2.8rem !important;
    height: 2.8rem !important;
    min-width: 2.8rem !important;
  }
}

/* Extreme fix for footer email - focus on font size and width */
@media (max-width: 768px) {
  /* Target the email text specifically */
  footer .footer-contact-item:nth-child(3) p,
  footer .footer-contact-item.email p {
    font-size: 0.75rem !important; /* Much smaller font */
    letter-spacing: -0.5px !important;
    font-family: Arial, sans-serif !important; /* Use a narrower font */
    white-space: nowrap !important;
    width: 100% !important;
    display: inline-block !important;
  }
  
  /* Give more width to the container */
  footer .footer-contact-item:nth-child(3),
  footer .footer-contact-item.email {
    max-width: 100% !important;
    width: 100% !important;
    padding-right: 0.5rem !important;
  }
  
  /* Reduce the icon size dramatically */
  footer .footer-contact-item:nth-child(3) i,
  footer .footer-contact-item.email i {
    width: 2.8rem !important;
    height: 2.8rem !important;
    min-width: 2.8rem !important;
    margin-right: 0.5rem !important;
  }
}

/* Consistent contact items in footer for mobile view - with fixed font size */
@media (max-width: 768px) {
  /* Reset all previous contact item styles */
  footer .footer-contact-item {
    display: flex !important;
    align-items: center !important; /* Changed back to center for better alignment */
    width: 100% !important;
    padding: 1.2rem !important;
    margin-bottom: 0.8rem !important;
  }
  
  /* Apply consistent exact 1.2rem font size to ALL contact items - with !important to override any other rules */
  footer .footer-contact-item p {
    font-size: 1.2rem !important;
    letter-spacing: normal !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: calc(100% - 3.5rem) !important;
    font-family: var(--body-font) !important; /* Reset font family */
    transform: none !important; /* Reset any transforms */
    color: rgba(255, 255, 255, 0.8) !important; /* Ensure consistent color */
  }
  
  /* Specifically force phone number to match exactly */
  footer .footer-contact-item:nth-child(2) p {
    font-size: 1.2rem !important; /* Match exactly */
  }
  
  /* Force email to match but keep on one line */
  footer .footer-contact-item:nth-child(3) p,
  footer .footer-contact-item.email p {
    font-size: 1.2rem !important; /* Force exact same size */
    white-space: nowrap !important; /* Keep email on one line */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  /* Special adjustment for location - can be multi-line */
  footer .footer-contact-item:nth-child(1) p {
    white-space: normal !important; /* Allow address to wrap */
    font-size: 1.2rem !important; /* Force exact same size */
  }
  
  /* Consistent icons styling */
  footer .footer-contact-item i {
    width: 3.2rem !important;
    height: 3.2rem !important;
    min-width: 3.2rem !important;
    font-size: 1.5rem !important;
    margin-right: 0.8rem !important;
    margin-top: 0 !important; /* Remove top margin */
  }
  
  /* Explicitly override any other competing rules */
  footer .footer-contact-item:has(i[data-feather="phone"]) p,
  footer .footer-contact p,
  footer .footer-contact-item p a {
    font-size: 1.2rem !important;
  }
}