@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1875bb;
  --primary-rgb: 24, 117, 187;
  --secondary: #2c3e50;
  --accent: #3498db;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Background Animated Gradient Mesh */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #f8fafc;
  filter: blur(100px);
  opacity: 0.6;
}

.bg-mesh::before, .bg-mesh::after {
  content: '';
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  opacity: 0.2;
}

.bg-mesh::before {
  top: -10%;
  right: -10%;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  animation: move 20s infinite alternate;
}

.bg-mesh::after {
  bottom: -10%;
  left: -10%;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  animation: move 25s infinite alternate-reverse;
}

.close-viewer:hover {
  transform: rotate(90deg) scale(1.2);
}

.prev-viewer, .next-viewer {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 40px;
  padding: 20px;
  cursor: pointer;
  z-index: 10005;
  transition: 0.3s;
  user-select: none;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-viewer:hover, .next-viewer:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%) scale(1.1);
}

.prev-viewer { left: 40px; }
.next-viewer { right: 40px; }

@keyframes move {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(10%, 10%) scale(1.1); }
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--secondary);
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

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

img, div {
  max-width: 100%;
  border-radius: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background-color: var(--primary);
  color: white !important;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

.btn-primary:hover {
  background-color: #135d94;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(var(--primary-rgb), 0.3);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
  display: block;
}

/* Glassmorphism */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: none;
}

/* Navbar Initial State (at top) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

/* Override .glass for navbar when NOT scrolled */
.navbar.glass {
  background: transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  border-color: transparent;
  box-shadow: none;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-chip-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.lang-chip-wrapper:hover {
  background: rgba(var(--primary-rgb), 0.15);
  transform: translateY(-1px);
}

.lang-chip-wrapper i {
  font-size: 1rem;
}

/* Hide most of Google's default UI */
#google_translate_element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* Make Google's UI invisible but clickable over our chip */
  overflow: hidden;
}

.goog-te-gadget {
  height: 100%;
}

.goog-te-combo {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  cursor: pointer !important;
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}


.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo {
  height: 40px;
  width: auto;
}

.nav-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

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

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

.nav-links.active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: white;
  padding: 2rem;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  gap: 1.5rem;
  text-align: center;
}

.navbar.glass.scrolled {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: none;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.badge-light {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--nav-height) + 60px);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.sphere-container {
  width: 500px;
  height: 500px;
  position: relative;
  perspective: 1000px;
  perspective-origin: center;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
  user-select: none;
}

.sphere-item {
  position: absolute;
  width: 55px; /* Reduced for clear spacing */
  height: 55px; /* Reduced for clear spacing */
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  background: white;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.1s linear, opacity 0.1s linear;
  backface-visibility: hidden;
  cursor: inherit;
  z-index: 1;
  pointer-events: auto;
}

.sphere-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Removed hover effects as requested */

@media (max-width: 992px) {
  .sphere-container {
    width: 350px;
    height: 350px;
    margin: 3rem auto;
  }
  .sphere-item { width: 40px; height: 40px; }
}

@keyframes sphereRotate {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.testimonial-stat {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
}

.visitor-group {
  display: flex;
  align-items: center;
}

.visitor-img {
  width: 50px;
  height: 50px;
  border-radius: 50% !important; /* Force circle */
  border: 3px solid white;
  margin-left: -15px;
  transition: var(--transition);
  cursor: pointer;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.visitor-img:first-child {
  margin-left: 0;
}

.visitor-img:hover {
  transform: scale(1.4) translateY(-5px);
  z-index: 10;
  margin-right: 15px;
  margin-left: 0;
}

.visitor-img.enlarged {
  transform: scale(2) translateY(-10px);
  z-index: 20;
  margin-right: 30px;
  margin-left: 10px;
  box-shadow: var(--shadow-lg);
}

.visitor-more {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  border: 3px solid white;
  margin-left: -15px;
  box-shadow: var(--shadow-sm);
}

.testimonial-stat p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 250px;
}

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

.service-card {
  padding: 0;
  border-radius: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--glass-border);
  border-radius: 1.5rem 1.5rem 0 0;
}

.service-card .content-padding {
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.service-icon {
  font-size: 6rem;
  color: var(--primary);
  opacity: 0.05;
  position: absolute;
  bottom: -10px;
  right: -10px;
  z-index: 0;
  pointer-events: none;
  transform: rotate(-15deg);
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary);
  color: white;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

/* Products */
.category-title {
  margin: 3rem 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(var(--primary-rgb), 0.1);
  display: inline-block;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.category-image {
  grid-row: span 1;
}

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

/* Specific layout for the Digital section to fill all space */
.product-category:nth-child(2) .products-grid {
  grid-template-columns: 2fr 1fr;
}

.featured-image {
  grid-column: span 1; /* In 2:1 ratio, we treat image as 2fr col */
  height: 550px; /* Give it more vertical presence */
}

.product-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.product-info-col .product-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-image img {
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 992px) {
  .product-category:nth-child(2) .products-grid {
    grid-template-columns: 1fr;
  }
  .featured-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .featured-image {
    grid-column: span 1;
  }
}

.product-card {
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: var(--transition);
}

.product-cardh4 {
  margin-bottom: 0.5rem;
}

.product-card .type {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-card .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.product-card.featured {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--accent), 0.1) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.custom-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  border-radius: 1.5rem;
}

.channel-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.channel-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.9rem;
}

.channel-list li span:last-child {
  font-weight: 700;
  color: var(--primary);
}

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

/* Locations */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.location-card {
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition);
}

.location-card:hover {
  transform: translateY(-10px);
}

.location-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.location-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.map-wrapper {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}

.map-wrapper iframe {
  display: block;
}

/* About Section */
.bg-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.text-white { color: white; }
.text-white h2, .text-white p { color: white; }

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

.contact-methods {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition);
}

.contact-item i {
  width: 45px;
  height: 45px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.25rem;
}

.contact-item span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.contact-item p {
  margin: 0;
  font-weight: 600;
}

.form-group { margin-bottom: 1.5rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

input, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 1rem;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.contact-card {
  position: relative;
  overflow: hidden;
}

.contact-whatsapp-badge {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 10rem;
  color: var(--primary);
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
  transform: translate(15%, -15%) rotate(-10deg);
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--primary);
  color: white !important;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

.btn-whatsapp:hover {
  background-color: #135d94;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(var(--primary-rgb), 0.3);
}

/* Footer */
.main-footer {
  padding: 80px 0 2rem;
  background: #1e293b;
  color: #cbd5e1;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 0;
}

.footer-brand span {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.footer-description {
  max-width: 400px;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #94a3b8;
}

.footer-contact-small {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-small p {
  margin: 0;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cbd5e1;
}

.footer-contact-small i {
  color: var(--primary);
  width: 15px;
}

.footer-links h4, .footer-connect h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover { color: white; }

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* Matches .footer-links li margin-bottom */
  margin-bottom: 1.5rem;
}

.footer-contact-info a {
  color: inherit; /* Matches Quick Links color */
  text-decoration: none;
  font-size: 0.875rem; /* Matches footer font size */
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.footer-contact-info a:hover {
  color: white;
}

.footer-contact-info i {
  color: var(--primary);
  width: 15px;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

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

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
  padding: 1.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 640px) {
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

.footer-bottom a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: white;
}

/* Google Translate Global Overrides */
.goog-logo-link, 
.goog-te-gadget span, 
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip {
  display: none !important;
}

.goog-te-gadget {
  color: transparent !important;
  font-size: 0 !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Animations */
.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fadeInRight {
  animation: fadeInRight 0.8s ease-out forwards;
  opacity: 0;
}

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 968px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-text { text-align: center; }
  .hero-btns { justify-content: center; }
  
  .custom-layout {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .brand-area { gap: 0.75rem; }
  .lang-label { display: none; } /* Hide text, keep icon on very small screens */
  .lang-chip-wrapper { padding: 0.4rem 0.6rem; }
  
  .nav-brand { font-size: 1.1rem; }
  .nav-logo { height: 32px; }

  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  
  .category-title { font-size: 1.25rem; }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo, .footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .social-icons { justify-content: center; }
  
  .form-row { grid-template-columns: 1fr; }
}

.mt-4 { margin-top: 2rem; }

/* Image Viewer Modal */
.image-viewer-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: rgba(15, 23, 42, 0.85); /* Deep slate-navy background */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  justify-content: center;
  align-items: center;
  border-radius: 0 !important; /* No border radius for overlay */
}

.viewer-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 85%;
  max-height: 85vh;
}

.viewer-logo {
  position: absolute;
  top: 25px;
  right: 25px;
  height: 35px;
  width: auto;
  opacity: 1; /* High opacity for brand visibility */
  z-index: 10003;
  /* Multiple drop-shadows create a precise 'stroke' effect for PNGs to ensure visibility on all backgrounds */
  filter: 
    drop-shadow(1px 1px 0 white) 
    drop-shadow(-1px -1px 0 white) 
    drop-shadow(1px -1px 0 white) 
    drop-shadow(-1px 1px 0 white)
    drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.viewer-content {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2rem !important; /* Image itself has radius */
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.close-viewer {
  position: absolute;
  top: 30px;
  right: 50px;
  color: white;
  font-size: 50px;
  font-weight: 300;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10002;
  line-height: 1;
}

@media only screen and (max-width: 768px) {
  .viewer-logo {
    top: 25px;
    right: 80px;
    height: 30px;
  }
  .close-viewer {
    right: 30px;
    top: 20px;
    font-size: 40px;
  }
}

/* WhatsApp FAB */
.whatsapp-fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  pointer-events: none; /* Allow clicking through container */
}

.whatsapp-fab-container > * {
  pointer-events: auto; /* Re-enable for children */
}

.whatsapp-fab {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  text-decoration: none;
}

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

.whatsapp-popup {
  background: white;
  padding: 8px 16px; /* Compact padding */
  border-radius: 12px 12px 0 12px; /* Chat bubble style */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: none; /* Initially hidden */
  align-items: center;
  position: relative;
  white-space: nowrap;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  cursor: pointer;
  animation: slideInRight 0.5s ease-out forwards;
}

.whatsapp-popup:hover .close-popup {
  opacity: 1; /* Show on hover */
}

.whatsapp-popup::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-top: 8px solid white;
}

.whatsapp-popup p {
  margin: 0;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem; /* Slightly smaller font for compact look */
}

.close-popup {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 22px;
  height: 22px;
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-muted);
  font-size: 14px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  opacity: 0; /* Hidden by default */
  transition: opacity 0.2s, background 0.2s;
  line-height: 1;
}

.close-popup:hover {
  color: var(--text-dark);
  background: #f1f5f9;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
  .whatsapp-fab-container {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-fab {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
  .whatsapp-popup {
    padding: 10px 15px;
    font-size: 0.85rem;
  }
}
