:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --text-muted: #666666;
  --primary-color: #0070f3;
  --secondary-color: #f5f5f5;
  --accent-color: #0056b3;
  --border-color: #eaeaea;
  --card-bg: #fafafa;
  --footer-bg: #111111;
  --footer-text: #f1f1f1;
}

[data-theme="dark"] {
  --bg-color: #121212;
  --text-color: #f1f1f1;
  --text-muted: #a1a1a1;
  --primary-color: #3291ff;
  --secondary-color: #1e1e1e;
  --accent-color: #0070f3;
  --border-color: #333333;
  --card-bg: #1a1a1a;
  --footer-bg: #0a0a0a;
  --footer-text: #f1f1f1;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

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

/* Header & Nav */
header {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  background-color: var(--bg-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.2s;
  font-size: 1rem;
}

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

.theme-toggle {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-color);
  padding: 5px;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--card-bg);
  min-width: 220px;
  box-shadow: 0px 10px 25px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 0;
}

.dropdown-content::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}

.dropdown-content a {
  color: var(--text-color);
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-weight: 400;
}

.dropdown-content a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Typography & Utilities */
h1, h2, h3, h4 {
  line-height: 1.3;
}

.highlight {
  color: var(--primary-color);
}

.text-muted {
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 112, 243, 0.4);
}

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

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

.whatsapp-btn svg {
  margin-right: 10px;
}

section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* Layouts */
.dual-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero {
  padding: 120px 0;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-image img, .section-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.12);
  display: block;
}

/* Stats Section */
.stats-section {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Trusted By Section */
.trusted-by-section {
  padding: 60px 0;
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
}

.trusted-by-section .logo-grid svg {
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.trusted-by-section .logo-grid svg:hover {
  opacity: 1 !important;
  filter: grayscale(0%) !important;
  color: var(--primary-color);
}

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

.service-card {
  background-color: var(--card-bg);
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  text-decoration: none;
  color: var(--text-color);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  color: inherit;
  border-color: var(--primary-color);
}

.service-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(0, 112, 243, 0.1);
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Expertise Section */
.expertise-section {
  background-color: var(--secondary-color);
}

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

.expertise-category {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.expertise-category h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.expertise-category p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* Page Specific Hero (Service pages) */
.page-hero {
  padding: 100px 0;
  background-color: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* Process Section */
.process-section {
  background-color: var(--bg-color);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.process-step {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 12px;
  position: relative;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.process-step-number {
  font-size: 6rem;
  font-weight: 800;
  color: var(--border-color);
  position: absolute;
  top: -10px;
  right: -10px;
  opacity: 0.3;
  line-height: 1;
  z-index: 0;
}

.process-step h3, .process-step p {
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

/* Details Grid */
.service-details {
  padding: 80px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.detail-card {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.detail-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.detail-card p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.detail-card ul {
  list-style-type: none;
}

.detail-card li {
  margin-bottom: 12px;
  color: var(--text-muted);
  position: relative;
  padding-left: 24px;
}

.detail-card li::before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background-color: var(--primary-color);
  color: white;
  padding: 80px 40px;
  border-radius: 16px;
  margin: 60px auto 0;
  max-width: 1000px;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-section .btn {
  background-color: white;
  color: var(--primary-color);
}

.cta-section .btn:hover {
  background-color: var(--secondary-color);
}

/* Fat Footer */
.fat-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: white;
}

.footer-brand p {
  color: #a1a1a1;
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: white;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #a1a1a1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
  color: #a1a1a1;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .dual-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-text p {
    margin: 0 auto 40px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .footer-grid {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .page-hero h1 {
    font-size: 2.5rem;
  }
}
