/* ------------------------------
   CSS Reset & Variables
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --accent: #10b981;
  --bg-light: #fafafa;
  --bg-white: #ffffff;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-accent: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 16px;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg-light: #0f172a;
  --bg-white: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --border: #334155;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* ------------------------------
   Base Styles
------------------------------ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: var(--transition);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------
   Header
------------------------------ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

[data-theme="dark"] header {
  background: rgba(15, 23, 42, 0.8);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
}

.theme-toggle:hover {
  transform: scale(1.1);
  border-color: var(--primary);
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-primary);
}

/* ------------------------------
   Hero Section
------------------------------ */
.hero {
  padding: 160px 0 120px;
  background: var(--gradient);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

.hero-image {
  display: flex;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gradient-accent);
  color: white;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-button i {
  font-size: 20px;
}

/* ------------------------------
   Page Header (for non-home pages)
------------------------------ */
.page-header {
  padding: 160px 0 80px;
  background: var(--gradient);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.page-header h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  animation: slideInFromTop 1s ease-out;
  position: relative;
  z-index: 2;
}

.page-header p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  animation: slideInFromBottom 1s ease-out 0.2s backwards;
  position: relative;
  z-index: 2;
}

/* ------------------------------
   Services Section
------------------------------ */
.services {
  padding: 120px 0;
  background: var(--bg-white);
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 16px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 32px auto 0;
  font-size: 1.125rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.8s ease-out;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  color: white;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
  font-weight: 600;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.price-tag {
  background: var(--gradient-accent);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* ------------------------------
   Features Section
------------------------------ */
.features {
  padding: 120px 0;
  background: var(--bg-light);
}

.features-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-text h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 32px;
  line-height: 1.2;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-list i {
  color: var(--secondary);
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 4px;
}

.feature-list h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 600;
}

.feature-list p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  animation: pulse 4s infinite;
}

.features-list {
  list-style: none;
  text-align: left;
  margin-top: 16px;
}

.features-list li {
  padding: 4px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.features-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  margin-right: 8px;
}

/* ------------------------------
   Brands Section
------------------------------ */
.brands-section {
  padding: 120px 0;
  background: var(--bg-white);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.brand-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.8s ease-out;
}

.brand-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

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

.brand-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: var(--transition);
}

.brand-card:hover::after {
  transform: scale(1);
}

.brand-logo {
  width: 120px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  border: 2px solid var(--border);
  transition: var(--transition);
}

.brand-card:hover .brand-logo {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.brand-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.compatibility-rate {
  background: var(--gradient-accent);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 16px;
}

/* ------------------------------
   Category Sections (for other-services page)
------------------------------ */
.category-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.category-section:nth-child(even) {
  background: var(--bg-white);
}

.category-header {
  text-align: center;
  margin-bottom: 60px;
}

.category-header h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 16px;
  position: relative;
}

.category-header h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  transform: scale(0);
  transition: var(--transition);
}

.category-card:hover::after {
  transform: scale(1);
}

.category-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 600;
}

.category-price {
  background: var(--gradient);
  color: white;
  padding: 6px 16px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-block;
}

/* ------------------------------
   Info Section
------------------------------ */
.info-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.info-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
  font-weight: 600;
}

.info-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Feature cards specific styling */
.feature-card {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient);
  border-radius: var(--border-radius);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  transition: var(--transition);
  transform: scale(1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  animation: bounce 0.6s ease-in-out;
}

/* ------------------------------
   Testimonials
------------------------------ */
.testimonials {
  padding: 120px 0;
  background: var(--bg-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 32px;
  position: relative;
  transition: var(--transition);
  border: 1px solid var(--border);
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 80px;
  color: var(--primary);
  opacity: 0.1;
  font-family: Georgia, serif;
}

.testimonial-text {
  margin-bottom: 24px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.author-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.testimonial-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 32px;
  padding-bottom: 20px;
  scroll-behavior: smooth;
}

/* ------------------------------
   Contact Section
------------------------------ */
.contact {
  padding: 120px 0;
  background: var(--gradient);
  color: white;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 24px;
}

.contact-info p {
  margin-bottom: 40px;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.contact-methods {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-methods li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-methods i {
  font-size: 20px;
  color: var(--secondary);
  width: 24px;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: white;
  padding: 16px 32px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.whatsapp-button:hover {
  background: #128c7e;
  transform: translateY(-2px);
}

.contact-form {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin-bottom: 32px;
  text-align: center;
  font-weight: 600;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-white);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.submit-btn {
  background: var(--gradient-accent);
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  transition: var(--transition);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ------------------------------
   Map Section
------------------------------ */
.map-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ------------------------------
   FAQ Section
------------------------------ */
.faq {
  padding: 120px 0;
  background: var(--bg-white);
}

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

.faq-item {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.faq-question {
  padding: 24px;
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-primary);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  transition: var(--transition);
  font-size: 16px;
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 0 24px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* ------------------------------
   Footer
------------------------------ */
footer {
  background: var(--text-primary);
  color: white;
  padding: 80px 0 40px;
}

[data-theme="dark"] footer {
  background: #020617;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
  font-weight: 600;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.footer-links i {
  width: 16px;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

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

.social-links a:hover {
  background: var(--secondary);
  transform: translateY(-4px);
}

.copyright {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* ------------------------------
   WhatsApp Float
------------------------------ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  animation: pulse 2s infinite;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #128c7e;
}

/* ------------------------------
   Mobile Navigation
------------------------------ */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg-white);
  z-index: 999;
  padding: 80px 40px 40px;
  transition: var(--transition);
}

.mobile-nav.active {
  left: 0;
  padding-top: 100px;
}

.mobile-nav .nav-links {
  flex-direction: column;
  gap: 32px;
}

.mobile-nav .nav-links a {
  font-size: 1.25rem;
  font-weight: 600;
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 40px;
}

.mobile-nav ul li a {
  color: var(--text-primary);
  font-size: 1.25rem;
  text-decoration: none;
  font-weight: 600;
}

/* ------------------------------
   Animations
------------------------------ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

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

/* Animation delays for cards */
.service-card:nth-child(1),
.brand-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2),
.brand-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3),
.brand-card:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card:nth-child(4),
.brand-card:nth-child(4) {
  animation-delay: 0.4s;
}
.service-card:nth-child(5),
.brand-card:nth-child(5) {
  animation-delay: 0.5s;
}
.service-card:nth-child(6),
.brand-card:nth-child(6) {
  animation-delay: 0.6s;
}
.service-card:nth-child(7),
.brand-card:nth-child(7) {
  animation-delay: 0.7s;
}
.service-card:nth-child(8),
.brand-card:nth-child(8) {
  animation-delay: 0.8s;
}

/* Scroll animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced hover effects */
.cta-button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* Navigation enhancements */
.nav-links a {
  position: relative;
  overflow: hidden;
}

/* ------------------------------
   Responsive Design
------------------------------ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .features-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .brands-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .map-container {
    height: 300px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  footer {
    padding: 60px 0 30px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .page-header {
    padding: 140px 0 60px;
  }

  .services,
  .features,
  .testimonials,
  .contact,
  .faq,
  .brands-section,
  .category-section {
    padding: 60px 0;
  }

  .service-card,
  .testimonial-card,
  .contact-form,
  .category-card {
    padding: 24px;
  }
}

.promo-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 16px;
}

.promo-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.promo-popup-container {
  position: relative;
  max-width: 500px;
  width: 100%;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.3),
    0 15px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
  animation: promoPopupSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin: auto;
}

[data-theme="dark"] .promo-popup-container {
  background: linear-gradient(145deg, #1a1f2e 0%, #0f1419 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes promoPopupSlideIn {
  0% {
    transform: scale(0.9) translateY(-30px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.promo-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 245, 245, 0.98) 100%);
  border: none;
  border-radius: 50%;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #999;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  opacity: 0.6;
}

[data-theme="dark"] .promo-popup-close {
  background: linear-gradient(135deg, rgba(40, 45, 58, 0.98) 0%, rgba(30, 35, 48, 0.98) 100%);
  color: #666;
}

.promo-popup-close.enabled {
  cursor: pointer;
  opacity: 1;
  background: linear-gradient(135deg, #ff3b30 0%, #ff2d20 100%);
  color: white;
  box-shadow: 0 8px 16px rgba(255, 59, 48, 0.4);
}

.promo-popup-close.enabled:hover {
  transform: scale(1.1) rotate(90deg);
}

.promo-popup-close.enabled:active {
  transform: scale(1.05);
}

.promo-popup-content {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 24px;
  min-height: 320px;
}

[data-theme="dark"] .promo-popup-content {
  background: #0f1419;
}

.promo-popup-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 65vh;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.promo-popup-timer {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  color: white;
  padding: 18px 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.promo-popup-timer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.15) 50%, 
    transparent 100%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.promo-popup-timer strong {
  font-size: 20px;
  font-weight: 800;
  color: #fbbf24;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(251, 191, 36, 0.4);
  display: inline-block;
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.95;
  }
}

  /* Desktop */
@media (min-width: 768px) {
  .promo-popup-overlay {
    padding: 20px;
  }

  .promo-popup-container {
    max-width: 600px;
    border-radius: 28px;
  }

  .promo-popup-close {
    width: 50px;
    height: 50px;
    top: 14px;
    right: 14px;
    font-size: 24px;
  }

  .promo-popup-content {
    padding: 32px;
    min-height: 400px;
  }

  .promo-popup-image {
    max-height: 70vh;
    border-radius: 16px;
  }

  .promo-popup-timer {
    padding: 20px 28px;
    font-size: 16px;
  }

  .promo-popup-timer strong {
    font-size: 22px;
  }
}

/* Large Desktop */
@media (min-width: 1024px) {
  .promo-popup-container {
    max-width: 650px;
  }

  .promo-popup-content {
    padding: 36px;
    min-height: 450px;
  }
}

/* Mobile landscape */
@media (max-width: 767px) and (orientation: landscape) {
  .promo-popup-overlay {
    padding: 12px;
    overflow-y: auto;
  }

  .promo-popup-container {
    margin: 20px auto;
    max-width: 480px;
  }

  .promo-popup-content {
    padding: 20px;
    min-height: auto;
  }

  .promo-popup-image {
    max-height: 55vh;
  }

  .promo-popup-timer {
    padding: 14px 18px;
  }
}

/* Small mobile */
@media (max-width: 375px) {
  .promo-popup-overlay {
    padding: 12px;
  }

  .promo-popup-container {
    border-radius: 20px;
  }

  .promo-popup-close {
    width: 42px;
    height: 42px;
    top: 10px;
    right: 10px;
    font-size: 20px;
  }

  .promo-popup-content {
    padding: 20px;
    min-height: 280px;
  }

  .promo-popup-image {
    max-height: 60vh;
    border-radius: 10px;
  }

  .promo-popup-timer {
    padding: 14px 16px;
    font-size: 14px;
  }

  .promo-popup-timer strong {
    font-size: 17px;
  }
}

/* Very short screens */
@media (max-height: 600px) {
  .promo-popup-image {
    max-height: 50vh;
  }

  .promo-popup-content {
    min-height: 250px;
    padding: 20px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .promo-popup-overlay,
  .promo-popup-container,
  .promo-popup-close {
    transition: opacity 0.2s ease;
    animation: none;
  }
}
