/* Clean Master Garaj - Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Color Variables - Matching Next.js theme */
  --background: oklch(1 0 0);
  --foreground: oklch(0.15 0 0);
  --card: oklch(0.99 0.01 85);
  --card-foreground: oklch(0.15 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.15 0 0);
  --primary: oklch(0.75 0.15 75); /* Vibrant yellow #ff9e1c */
  --primary-foreground: oklch(0.1 0 0);
  --secondary: oklch(0.8 0.12 80);
  --secondary-foreground: oklch(0.1 0 0);
  --muted: oklch(0.97 0.01 85);
  --muted-foreground: oklch(0.45 0 0);
  --accent: oklch(0.8 0.12 80);
  --accent-foreground: oklch(0.1 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(1 0 0);
  --border: oklch(0.92 0 0);
  --input: oklch(0.99 0.01 85);
  --ring: oklch(0.75 0.15 75 / 0.3);
  --radius: 0.75rem;
  
  /* Convert OKLCH to RGB for better browser support */
  --primary-rgb: 255, 158, 28;
  --secondary-rgb: 255, 193, 7;
  --background-rgb: 255, 255, 255;
  --foreground-rgb: 38, 38, 38;
  --muted-rgb: 248, 250, 252;
  --border-rgb: 229, 231, 235;
}

.dark {
  --background: oklch(0.05 0 0);
  --foreground: oklch(0.95 0 0);
  --card: oklch(0.08 0 0);
  --card-foreground: oklch(0.95 0 0);
  --popover: oklch(0.05 0 0);
  --popover-foreground: oklch(0.95 0 0);
  --primary: oklch(0.8 0.12 80);
  --primary-foreground: oklch(0.05 0 0);
  --secondary: oklch(0.15 0 0);
  --secondary-foreground: oklch(0.95 0 0);
  --muted: oklch(0.15 0 0);
  --muted-foreground: oklch(0.65 0 0);
  --accent: oklch(0.15 0 0);
  --accent-foreground: oklch(0.95 0 0);
  --destructive: oklch(0.396 0.141 25.723);
  --destructive-foreground: oklch(0.637 0.237 25.331);
  --border: oklch(0.15 0 0);
  --input: oklch(0.15 0 0);
  --ring: oklch(0.8 0.12 80 / 0.3);
  
  /* Convert OKLCH to RGB for better browser support - Dark Mode */
  --primary-rgb: 255, 193, 7;
  --secondary-rgb: 255, 158, 28;
  --background-rgb: 12, 12, 12;
  --foreground-rgb: 242, 242, 242;
  --muted-rgb: 38, 38, 38;
  --border-rgb: 38, 38, 38;
}

/* Dark mode specific styles */
.dark body {
  background-color: rgb(12, 12, 12);
  color: rgb(242, 242, 242);
}

.dark .header {
  background: rgba(12, 12, 12, 0.9);
  border-bottom: 1px solid rgba(38, 38, 38, 0.5);
}

.dark .header.scrolled {
  background: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(38, 38, 38, 0.8);
}

.dark .card,
.dark .modern-card,
.dark .gallery-card,
.dark .blog-card,
.dark .stat-card,
.dark .feature-card {
  background: linear-gradient(135deg, rgb(20, 20, 20), rgba(38, 38, 38, 0.5));
  border: 1px solid rgba(38, 38, 38, 0.5);
  color: rgb(242, 242, 242);
}

.dark .footer {
  background: rgb(20, 20, 20);
  border-top: 1px solid rgba(38, 38, 38, 0.5);
}

.dark .form-input,
.dark .form-textarea,
.dark .search-input {
  background: rgb(20, 20, 20);
  border-color: rgba(38, 38, 38, 0.8);
  color: rgb(242, 242, 242);
}

.dark .form-input:focus,
.dark .form-textarea:focus,
.dark .search-input:focus {
  border-color: rgb(var(--primary-rgb));
  background: rgb(25, 25, 25);
}

.dark .btn-ghost {
  color: rgb(242, 242, 242);
}

.dark .btn-ghost:hover {
  background: rgba(38, 38, 38, 0.5);
}

.dark .btn-outline {
  border-color: rgb(var(--primary-rgb));
  color: rgb(var(--primary-rgb));
}

.dark .btn-outline:hover {
  background: rgb(var(--primary-rgb));
  color: rgb(12, 12, 12);
}

.dark .mobile-menu {
  background: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(38, 38, 38, 0.5);
}

.dark .hero-bg {
  background: linear-gradient(135deg, 
    rgba(12, 12, 12, 1) 0%, 
    rgba(12, 12, 12, 0.95) 50%, 
    rgba(12, 12, 12, 0.9) 100%);
}

.dark .section-badge,
.dark .hero-badge,
.dark .badge.primary {
  background: rgb(var(--primary-rgb));
  color: rgb(12, 12, 12);
}

.dark .cta-section,
.dark .final-cta-section {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.1));
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

/* Dark mode transitions */
body,
.header,
.card,
.modern-card,
.gallery-card,
.blog-card,
.stat-card,
.feature-card,
.footer,
.form-input,
.form-textarea,
.search-input,
.btn-ghost,
.btn-outline,
.mobile-menu {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Dark mode toggle button styles */
#darkModeToggle,
#darkModeToggleMobile {
  position: relative;
  overflow: hidden;
}

#darkModeToggle svg,
#darkModeToggleMobile svg {
  transition: all 0.3s ease;
}

.dark #darkModeToggle:hover,
.dark #darkModeToggleMobile:hover {
  background: rgba(255, 193, 7, 0.1);
}

/* Dark mode specific animations */
@keyframes darkModeToggle {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

.dark-mode-transition {
  animation: darkModeToggle 0.5s ease-in-out;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: rgb(var(--background-rgb));
  color: rgb(var(--foreground-rgb));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-poppins {
  font-family: 'Poppins', sans-serif;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* Utility Classes */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-text {
  background: linear-gradient(135deg, rgb(var(--primary-rgb)), rgb(var(--secondary-rgb)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modern-card {
  background: linear-gradient(135deg, #ffffff, rgba(248, 250, 252, 0.5));
  border: none;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.modern-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  position: relative;
  width: 3rem;
  height: 3rem;
  background: rgb(var(--primary-rgb));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logo-icon:hover {
  transform: scale(1.1);
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(var(--primary-rgb));
  opacity: 0.2;
  border-radius: 1rem;
  filter: blur(1rem);
  transition: opacity 0.3s ease;
}

.logo:hover .logo-icon::after {
  opacity: 1;
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: rgb(var(--foreground-rgb));
}

.logo-text p {
  font-size: 0.75rem;
  color: rgb(var(--muted-foreground));
  font-weight: 500;
}

/* Navigation */
.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  position: relative;
  font-weight: 500;
  text-decoration: none;
  color: rgb(var(--foreground-rgb));
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: rgb(var(--primary-rgb));
}

.nav-link.active {
  color: rgb(var(--primary-rgb));
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 100%;
  height: 0.125rem;
  background: rgb(var(--primary-rgb));
  border-radius: 9999px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
}

.btn-primary {
  background: rgb(var(--primary-rgb));
  color: rgb(var(--primary-foreground));
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: rgba(var(--primary-rgb), 0.9);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: rgb(var(--primary-rgb));
  border: 2px solid rgb(var(--primary-rgb));
}

.btn-outline:hover {
  background: rgb(var(--primary-rgb));
  color: rgb(var(--primary-foreground));
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-ghost {
  background: transparent;
  color: rgb(var(--foreground-rgb));
}

.btn-ghost:hover {
  background: rgba(var(--muted-rgb), 0.5);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: block;
  margin-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid rgba(var(--border-rgb), 0.5);
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.mobile-nav .nav-link {
  font-weight: 500;
  color: rgb(var(--foreground-rgb));
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
  color: rgb(var(--primary-rgb));
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(var(--border-rgb), 0.5);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(var(--background-rgb), 1) 0%, 
    rgba(var(--background-rgb), 0.95) 50%, 
    rgba(var(--background-rgb), 0.9) 100%);
  z-index: 10;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero-content {
  position: relative;
  z-index: 20;
  text-align: center;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  padding-top: 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgb(var(--primary-rgb));
  color: rgb(var(--primary-foreground));
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 2rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 5rem;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: rgb(var(--muted-foreground));
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.5rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: rgb(var(--primary-rgb));
  font-family: 'Poppins', sans-serif;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgb(var(--muted-foreground));
  font-weight: 500;
}

/* Cards */
.card {
  background: linear-gradient(135deg, #ffffff, rgba(248, 250, 252, 0.5));
  border-radius: var(--radius);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.5s ease;
}

.card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.card-image {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 1.5rem;
}

.card-header {
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.5rem;
}

.card-description {
  color: rgb(var(--muted-foreground));
  line-height: 1.6;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

/* Badge Positioning - Comprehensive Fix */
.section-badge,
.hero-badge,
.badge,
.featured-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: rgb(var(--primary-rgb));
  color: rgb(var(--primary-foreground));
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 0 auto 1.5rem auto;
  width: fit-content;
}

/* Section header badge centering */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-header .section-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.5rem 0;
  width: fit-content;
  order: 1;
}

.section-header .section-title {
  order: 2;
  margin-bottom: 1.5rem;
}

.section-header .section-description {
  order: 3;
  margin: 0;
}

/* Gallery and other specific badge positioning */
.gallery-card .featured-badge,
.blog-card .featured-badge,
.service-card .featured-badge {
  position: absolute !important;
  top: 1rem;
  right: 1rem;
  margin: 0 !important;
}

/* Ensure all badges are properly centered in their containers */
.text-center .section-badge,
.text-center .badge {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Fix for badges in flex containers */
.d-flex .section-badge,
.flex .section-badge {
  margin: 0 auto 1.5rem auto !important;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-description {
  font-size: 1.25rem;
  color: rgb(var(--muted-foreground));
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Responsive Utilities */
.hidden { display: none; }

@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  width: 3.5rem;
  height: 3.5rem;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
  text-decoration: none;
}

.whatsapp-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

/* WhatsApp Button Positions */
.whatsapp-bottom-right {
  bottom: 2rem;
  right: 2rem;
}

.whatsapp-bottom-left {
  bottom: 2rem;
  left: 2rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .whatsapp-btn {
    width: 3rem;
    height: 3rem;
  }
  
  .whatsapp-bottom-right {
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  .whatsapp-bottom-left {
    bottom: 1.5rem;
    left: 1.5rem;
  }
  
  .whatsapp-btn svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* WhatsApp button animation */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
}

.whatsapp-btn {
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
  animation: none;
}

/* Footer */
.footer {
  background: rgb(var(--muted-rgb));
  padding: 3rem 0 1rem;
  margin-top: 6rem;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h3 {
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgb(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: rgb(var(--primary-rgb));
}

.footer-bottom {
  border-top: 1px solid rgba(var(--border-rgb), 0.5);
  padding-top: 1rem;
  text-align: center;
  color: rgb(var(--muted-foreground));
  font-size: 0.875rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: rgb(var(--foreground-rgb));
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(var(--border-rgb), 0.5);
  border-radius: var(--radius);
  background: rgb(var(--background-rgb));
  color: rgb(var(--foreground-rgb));
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgb(var(--primary-rgb));
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Loading States */
.loading {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Gallery Styles */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.gallery-card {
  background: linear-gradient(135deg, #ffffff, rgba(248, 250, 252, 0.5));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.gallery-image {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-card:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-expand {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-expand:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.gallery-content {
  padding: 1.5rem;
}

.gallery-title {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.5rem;
}

.gallery-description {
  color: rgb(var(--muted-foreground));
  line-height: 1.6;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: rgb(var(--muted-foreground));
}

/* About Page Styles */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: linear-gradient(135deg, #ffffff, rgba(248, 250, 252, 0.5));
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.stat-icon {
  background: rgb(var(--primary-rgb));
  color: white;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgb(var(--primary-rgb));
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgb(var(--muted-foreground));
  font-weight: 500;
}

.story-section {
  display: grid;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

@media (min-width: 1024px) {
  .story-section {
    grid-template-columns: 1fr 1fr;
  }
}

.story-content h2 {
  font-size: 3rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 2rem;
  color: rgb(var(--primary-rgb));
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: rgb(var(--muted-foreground));
  line-height: 1.7;
  font-size: 1.125rem;
}

.story-image {
  position: relative;
}

.story-image img {
  width: 100%;
  height: 31.25rem;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.story-badge {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgb(var(--primary-rgb));
  font-family: 'Poppins', sans-serif;
}

.badge-text {
  font-size: 0.875rem;
  color: rgb(var(--muted-foreground));
  font-weight: 500;
}

.why-choose-section {
  margin-bottom: 5rem;
}

.features-grid {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.primary-gradient {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), rgba(var(--primary-rgb), 0.1));
}

.secondary-gradient {
  background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.05), rgba(var(--secondary-rgb), 0.1));
}

.accent-gradient {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.05), rgba(var(--accent-rgb), 0.1));
}

.feature-icon {
  background: rgb(var(--primary-rgb));
  color: white;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
}

.feature-description {
  color: rgb(var(--muted-foreground));
  line-height: 1.6;
}

.final-cta-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.1));
  padding: 4rem 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1.5rem;
}

.cta-description {
  color: rgb(var(--muted-foreground));
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Blog Styles */
.blog-search {
  max-width: 32rem;
  margin: 0 auto 4rem;
}

.search-container {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgb(var(--muted-foreground));
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius);
  background: rgb(var(--background-rgb));
  color: rgb(var(--foreground-rgb));
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: rgb(var(--primary-rgb));
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.featured-section {
  margin-bottom: 5rem;
}

.featured-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.all-posts-section {
  margin-bottom: 4rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.blog-filters {
  display: flex;
  gap: 1rem;
}

.filter-btn.active {
  background: rgb(var(--primary-rgb));
  color: rgb(var(--primary-foreground));
  border-color: rgb(var(--primary-rgb));
}

.blog-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: linear-gradient(135deg, #ffffff, rgba(248, 250, 252, 0.5));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.blog-card.featured {
  border: 2px solid rgba(var(--primary-rgb), 0.2);
}

.blog-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.blog-card.featured .blog-image {
  height: 15rem;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: rgb(var(--muted-foreground));
}

.blog-date,
.blog-views {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-title {
  margin-bottom: 0.75rem;
}

.blog-title a {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  color: rgb(var(--foreground-rgb));
  transition: color 0.3s ease;
}

.blog-title a:hover {
  color: rgb(var(--primary-rgb));
}

.blog-excerpt {
  color: rgb(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgb(var(--primary-rgb));
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.read-more:hover {
  gap: 0.75rem;
}

.load-more-section {
  text-align: center;
}

/* Common Page Styles */
.main-content {
  padding-top: 6rem;
  min-height: 100vh;
}

.section-padding {
  padding: 4rem 0;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: rgb(var(--primary-rgb));
}

.text-muted {
  color: rgb(var(--muted-foreground));
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgb(var(--muted-foreground));
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.25rem;
  color: rgb(var(--muted-foreground));
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.badge.primary {
  background: rgb(var(--primary-rgb));
  color: rgb(var(--primary-foreground));
}

.badge.secondary {
  background: rgb(var(--secondary-rgb));
  color: rgb(var(--secondary-foreground));
}

.cta-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), rgba(var(--secondary-rgb), 0.05));
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  margin-top: 4rem;
}

.btn-icon {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Print Styles */
@media print {
  .header,
  .whatsapp-btn,
  .mobile-menu-btn {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
}
