/* About Section */
.about-section {
  position: relative;
  padding: 3rem 0;
  background: linear-gradient(to bottom right, #ffffff, #f8fafc, rgba(239, 246, 255, 0.2));
  overflow: hidden;
  transition: background-color 0.3s;
}

.dark-mode .about-section {
  background: linear-gradient(to bottom right, #111827, #1f2937, rgba(30, 58, 138, 0.2));
}

/* Background Elements */
.about-background {
  position: absolute;
  inset: 0;
}

.bg-circle-about-1 {
  position: absolute;
  top: 4rem;
  left: 4rem;
  width: 5rem;
  height: 5rem;
  border: 1px solid rgba(219, 234, 254, 0.2);
  border-radius: 50%;
  opacity: 0.3;
}

.bg-square-about-1 {
  position: absolute;
  top: 8rem;
  right: 6rem;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.03), rgba(6, 182, 212, 0.03));
  border-radius: 0.25rem;
  transform: rotate(45deg);
}

.bg-circle-about-2 {
  position: absolute;
  bottom: 6rem;
  left: 6rem;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(to right, rgba(6, 182, 212, 0.05), rgba(59, 130, 246, 0.05));
  border-radius: 50%;
}

.bg-square-about-2 {
  position: absolute;
  bottom: 4rem;
  right: 4rem;
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(165, 243, 252, 0.15);
  border-radius: 0.5rem;
  transform: rotate(12deg);
}

/* Dark mode background elements */
.dark-mode .bg-circle-about-1 {
  border-color: rgba(96, 165, 250, 0.1);
}

.dark-mode .bg-square-about-1 {
  background: linear-gradient(to right, rgba(96, 165, 250, 0.05), rgba(34, 211, 238, 0.05));
}

.dark-mode .bg-circle-about-2 {
  background: linear-gradient(to right, rgba(34, 211, 238, 0.08), rgba(96, 165, 250, 0.08));
}

.dark-mode .bg-square-about-2 {
  border-color: rgba(34, 211, 238, 0.1);
}

/* Container */
.about-container {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .about-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .about-container {
    padding: 0 2rem;
  }
}

/* Section Header */
.about-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .about-header {
    margin-bottom: 3rem;
  }
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(219, 234, 254, 0.3);
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}

.dark-mode .about-badge {
  background-color: rgba(31, 41, 55, 0.6);
  border-color: rgba(29, 78, 216, 0.4);
}

.badge-dot-about {
  width: 0.375rem;
  height: 0.375rem;
  background: linear-gradient(to right, #06b6d4, #3b82f6);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.about-badge span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #4b5563;
}

.dark-mode .about-badge span {
  color: #9ca3af;
}

.about-title-section {
  max-width: 48rem;
  margin: 0 auto;
}

.about-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .about-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .about-title {
    font-size: 2.25rem;
  }
}

.title-gradient-about-1 {
  background: linear-gradient(to right, #111827, #1f2937, #111827);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dark-mode .title-gradient-about-1 {
  background: linear-gradient(to right, #ffffff, #f3f4f6, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-gradient-about-2 {
  background: linear-gradient(to right, #06b6d4, #3b82f6, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-subtitle {
  font-size: 0.875rem;
  color: #4b5563;
  max-width: 28rem;
  margin: 0 auto;
  line-height: 1.625;
}

@media (min-width: 640px) {
  .about-subtitle {
    font-size: 1rem;
  }
}

.dark-mode .about-subtitle {
  color: #9ca3af;
}

/* Content Grid */
.about-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .about-content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Left Column - Mission & Vision */
.about-left-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mission-card, .vision-card {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

.dark-mode .mission-card, .dark-mode .vision-card {
  background-color: rgba(31, 41, 55, 0.7);
  border-color: rgba(33, 94, 192, 0.4);
}

.mission-card:hover, .vision-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.mission-card:hover {
  border-color: rgba(59, 130, 246, 0.6);
}

.dark-mode .mission-card:hover {
  border-color: rgba(59, 130, 246, 0.6);
}

.vision-card:hover {
  border-color: rgba(6, 182, 212, 0.6);
}

.dark-mode .vision-card:hover {
  border-color: rgba(6, 182, 212, 0.6);
}

.card-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.card-icon {
  height: 1rem;
  width: 1rem;
  color: white;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.dark-mode .card-title {
  color: white;
}

.card-description {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
}

.dark-mode .card-description {
  color: #9ca3af;
}

/* Right Column - Core Values */
.about-right-column {
  display: flex;
  flex-direction: column;
}

.values-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.dark-mode .values-title {
  color: white;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.value-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 1rem;
  transition: all 0.3s;
  cursor: pointer;
}
.dark-mode .value-card[data-value="innovation"] {
  border: 1px solid rgba(29, 78, 216, 0.4); /* blue-700/40 */
}

.dark-mode .value-card[data-value="collaboration"] {
  border: 1px solid rgba(4, 120, 87, 0.4); /* emerald-700/40 */
}

.dark-mode .value-card[data-value="excellence"] {
  border: 1px solid rgba(126, 34, 206, 0.4); /* purple-700/40 */
}

.dark-mode .value-card[data-value="passion"] {
  border: 1px solid rgba(190, 18, 60, 0.4); /* rose-700/40 */
}

.dark-mode .value-card {
  background-color: rgba(31, 41, 55, 0.7);
}

.value-card:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.value-hover-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 0.75rem;
}

.value-card:hover .value-hover-bg {
  opacity: 0.2;
}

.value-card[data-value="innovation"]:hover .value-hover-bg {
  background: linear-gradient(to right, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
}

.value-card[data-value="collaboration"]:hover .value-hover-bg {
  background: linear-gradient(to right, rgba(16, 185, 129, 0.1), rgba(20, 184, 166, 0.1));
}

.value-card[data-value="excellence"]:hover .value-hover-bg {
  background: linear-gradient(to right, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.1));
}

.value-card[data-value="passion"]:hover .value-hover-bg {
  background: linear-gradient(to right, rgba(244, 63, 94, 0.1), rgba(236, 72, 153, 0.1));
}

.value-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  z-index: 10;
}

.value-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.value-icon {
  height: 0.875rem;
  width: 0.875rem;
  color: white;
}

.value-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.dark-mode .value-title {
  color: white;
}

.value-description {
  font-size: 0.75rem;
  color: #4b5563;
  line-height: 1.5;
}

.dark-mode .value-description {
  color: #9ca3af;
}

/* Principles Section */
.principles-section {
  margin-bottom: 3rem;
}

.principles-header {
  text-align: center;
  margin-bottom: 2rem;
}

.principles-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.dark-mode .principles-title {
  color: white;
}

.principles-subtitle {
  font-size: 0.875rem;
  color: #4b5563;
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.5;
}

.dark-mode .principles-subtitle {
  color: #9ca3af;
}

.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .principles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.principle-card {
  text-align: center;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  border: none;
  border-radius: 0;
  transition: all 0.3s;
}

.dark-mode .principle-card {
  background: transparent;
  border: none;
}

.principle-card:hover {
  transform: none;
  box-shadow: none;
}

.principle-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  transition: transform 0.2s;
}

.principle-card:hover .principle-icon-wrapper {
  transform: scale(1.05);
}

.principle-icon {
  height: 1rem;
  width: 1rem;
  color: white;
}

.principle-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.dark-mode .principle-title {
  color: white;
}

.principle-description {
  font-size: 0.75rem;
  color: #4b5563;
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}

.dark-mode .principle-description {
  color: #9ca3af;
}

/* Bottom CTA */
.about-bottom-cta {
  text-align: center;
}

.cta-card {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(229, 231, 235, 0.4);
  border-radius: 0.75rem;
  padding: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.dark-mode .cta-card {
  background-color: rgba(31, 41, 55, 0.8);
  border-color: rgba(75, 85, 99, 0.4);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(to right, #06b6d4, #3b82f6);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.cta-badge-icon {
  height: 0.75rem;
  width: 0.75rem;
}

.cta-content {
  margin-bottom: 1rem;
}

.cta-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 1.5rem;
  }
}

.dark-mode .cta-title {
  color: white;
}

.cta-subtitle {
  font-size: 0.875rem;
  color: #4b5563;
  max-width: 28rem;
  margin: 0 auto;
  line-height: 1.5;
}

.dark-mode .cta-subtitle {
  color: #9ca3af;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(to right, #10b981, #059669);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.whatsapp-btn:hover {
  background: linear-gradient(to right, #059669, #047857);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: scale(1.05);
}

.view-work-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: white;
  border: 1px solid #d1d5db;
  color: #374151;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s;
  cursor: pointer;
}

.dark-mode .view-work-btn {
  background-color: #1f2937;
  border-color: #4b5563;
  color: #d1d5db;
}

.view-work-btn:hover {
  border-color: #06b6d4;
  color: #06b6d4;
}

.dark-mode .view-work-btn:hover {
  border-color: #06b6d4;
  color: #06b6d4;
}

.btn-icon-cta {
  height: 0.75rem;
  width: 0.75rem;
}

/* Gradient Classes */
.blue-gradient {
  background: linear-gradient(to right, #3b82f6, #06b6d4);
}

.cyan-gradient {
  background: linear-gradient(to right, #06b6d4, #0891b2);
}

.emerald-gradient {
  background: linear-gradient(to right, #10b981, #14b8a6);
}

.purple-gradient {
  background: linear-gradient(to right, #8b5cf6, #6366f1);
}

.rose-gradient {
  background: linear-gradient(to right, #f43f5e, #ec4899);
}

.orange-gradient {
  background: linear-gradient(to right, #f97316, #f59e0b);
}

.violet-gradient {
  background: linear-gradient(to right, #8b5cf6, #7c3aed);
}

/* Backdrop blur support fallback */
@supports not (backdrop-filter: blur(4px)) {
  .mission-card,
  .vision-card,
  .value-card,
  .principle-card,
  .cta-card {
    background-color: rgba(255, 255, 255, 0.9); /* Fallback */
  }

  .dark-mode .mission-card {
  background-color: rgba(31, 41, 55, 0.7);
  border: 1px solid rgba(29, 78, 216, 0.4);
}
  .dark-mode .vision-card {
  background-color: rgba(31, 41, 55, 0.7);
  border: 1px solid rgba(14, 116, 144, 0.4); /* cyan-700/40 */
}
  .dark-mode .value-card,
  
  .dark-mode .cta-card {
    background-color: rgba(31, 41, 55, 0.9);
  }
}