/* Minimal custom styles. All class names are in English; content stays Spanish. */

/* CSS Custom Properties for Theme Colors */
:root {
  /* Light mode colors */
  --text-primary: #000000;      /* Pure black for main text */
  --text-secondary: #374151;    /* Dark gray for secondary text */
  --text-muted: #6b7280;        /* Medium gray for muted text */
  --text-inverse: #f8fafc;      /* Very light for dark backgrounds */

  /* Background colors */
  --bg-primary: #ffffff;       /* White background */
  --bg-secondary: #f8fafc;      /* Light gray background */
  --bg-card: #ffffff;           /* Card background */
  --bg-header: rgba(255, 255, 255, 0.8); /* Header background */

  /* Border colors */
  --border-primary: #e2e8f0;    /* Light borders */
  --border-secondary: #cbd5e1;  /* Medium borders */

  /* Brand colors */
  --brand-primary: #5271ff;
  --brand-hover: #3d5bff;
  --brand-light: #e0e7ff;
}

.dark {
  color-scheme: dark;

  /* Dark mode colors */
  --text-primary: #ffffff;      /* Pure white for main text */
  --text-secondary: #e2e8f0;    /* Light gray for secondary text */
  --text-muted: #cbd5e1;        /* Medium light gray for muted text */
  --text-inverse: #1e293b;      /* Dark for light backgrounds */

  /* Background colors */
  --bg-primary: #000937;        /* Custom dark blue background */
  --bg-secondary: #001a4d;      /* Slightly lighter dark blue */
  --bg-card: #001a4d;           /* Card background */
  --bg-header: rgba(0, 9, 55, 0.8); /* Header background */

  /* Border colors */
  --border-primary: #334155;    /* Dark borders */
  --border-secondary: #475569;  /* Medium dark borders */
}

/* Override Tailwind dark background classes with custom color */
.dark {
  background-color: var(--bg-primary) !important;
}

.dark body {
  background-color: var(--bg-primary) !important;
}

.dark .bg-slate-900 {
  background-color: var(--bg-primary) !important;
}

.dark .dark\\:bg-slate-900 {
  background-color: var(--bg-primary) !important;
}

.dark .section-title {
  color: var(--accent-color);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark .section-subtitle {
  color: var(--text-secondary);
}

/* Dark mode headings */
.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 {
  color: var(--accent-color);
}

.dark .card {
  background-color: var(--bg-card);
  border-color: var(--border-primary);
  color: var(--text-primary);
}

.dark .card-title {
  color: var(--accent-color);
}

.dark .card-text {
  color: var(--text-primary);
}

.dark .nav-link {
  color: var(--text-secondary);
}

.dark .nav-link:hover {
  color: var(--brand-primary);
}

.dark .btn-outline {
  border-color: var(--brand-primary);
  color: var(--text-primary);
}

.dark .btn-outline:hover {
  background-color: var(--bg-secondary);
}

.dark .form-input {
  background-color: var(--bg-card);
  border-color: var(--border-primary);
  color: var(--text-primary);
}

.dark .form-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(82, 113, 255, 0.1);
}

.dark .form-label {
  color: var(--text-primary);
}

.dark .glassmorphic-card {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(51, 65, 85, 0.3);
}

.dark .glassmorphic-card:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(51, 65, 85, 0.4);
}

.dark .service-card {
  background-color: var(--bg-card);
  border-color: var(--border-primary);
}

.dark .service-card:hover {
  background-color: var(--bg-secondary);
  border-color: var(--border-secondary);
}

.dark .status-badge {
  background-color: var(--bg-card);
  color: var(--text-primary);
}

.dark .status-badge.online {
  background-color: #065f46;
  color: #6ee7b7;
}

.dark .tech-chip {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-primary);
}

.dark .tech-chip:hover {
  background-color: var(--bg-secondary);
}

.dark header {
  background-color: var(--bg-header);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border-primary);
}

.dark footer {
  background-color: var(--bg-primary);
  border-top-color: var(--border-primary);
}

.dark .timeline-card {
  background-color: var(--bg-card);
  border-color: var(--border-primary);
  color: var(--text-primary);
}

.dark .timeline-card-title {
  color: var(--accent-color);
}

.dark .timeline-card-description {
  color: var(--text-primary);
}

.dark .timeline-tag {
  background-color: var(--bg-card);
  color: var(--brand-primary);
  border-color: var(--border-primary);
}

/* Dark mode section backgrounds */
.dark .section {
  background-color: var(--bg-primary);
}

.dark .section.bg-slate-50 {
  background-color: var(--bg-secondary);
}

.dark .section.bg-gradient-to-br {
  background: linear-gradient(to bottom right, var(--bg-secondary), var(--bg-primary));
}

/* Ensure all text in cards is light in dark mode */
.dark .card * {
  color: var(--text-primary);
}

.dark .card p,
.dark .card span,
.dark .card div {
  color: var(--text-primary);
}

.dark .card h1,
.dark .card h2,
.dark .card h3,
.dark .card h4,
.dark .card h5,
.dark .card h6 {
  color: var(--text-primary);
}

/* Service cards text */
.dark .service-card * {
  color: var(--text-primary);
}

.dark .service-card p {
  color: var(--text-primary);
}

/* Glassmorphic cards text */
.dark .glassmorphic-card * {
  color: var(--text-primary);
}

.dark .glassmorphic-card p {
  color: var(--text-primary);
}

/* Base styles using CSS variables */
body {
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

/* Normal text content styling */
p, span, div, li, td, th, label, small, .text-content {
  color: var(--text-primary);
}

/* Secondary text */
.text-secondary, .text-muted {
  color: var(--text-secondary);
}

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

.section.bg-slate-50 {
  background-color: var(--bg-secondary);
}

.section.bg-gradient-to-br {
  background: var(--bg-secondary);
}

.section-title {
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
}

.card {
  background-color: var(--bg-card);
  border-color: var(--border-primary);
  color: var(--text-primary);
}

.card-title {
  color: var(--accent-color);
}

.card-text {
  color: var(--text-primary);
}

.nav-link {
  color: var(--text-secondary);
}

.nav-link:hover {
  color: var(--brand-primary);
}

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

.btn-outline:hover {
  background-color: var(--bg-secondary);
}

.form-input {
  background-color: var(--bg-card);
  border-color: var(--border-primary);
  color: var(--text-primary);
}

.form-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(82, 113, 255, 0.1);
}

.form-label {
  color: var(--text-primary);
}

header {
  background-color: var(--bg-header);
  border-bottom-color: var(--border-primary);
}

footer {
  background-color: var(--bg-primary);
  border-top-color: var(--border-primary);
}

/* Dark mode transitions */
* {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.container { max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
.section { padding-top: 4rem; padding-bottom: 4rem; }
.section-title { font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; text-align: center; }
.section-subtitle { margin-top: 0.5rem; text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 0.5rem; padding: 0.625rem 1rem; font-weight: 600; }
.btn-primary { background-color: var(--brand-primary); color: white; }
.btn-primary:hover { background-color: var(--brand-hover); }
.btn-outline { border: 1px solid var(--brand-primary); }
.btn-outline:hover { background-color: var(--bg-secondary); }

.card { border-radius: 0.75rem; padding: 1rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.card-icon { width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; display: inline-flex; align-items: center; justify-content: center; }
.card-title { margin-top: 0.75rem; font-weight: 600; }
.card-text { margin-top: 0.5rem; }

/* Subtle card hover and tighter max width for nicer spacing */
.card { transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(2,6,23,.08); }

/* Small card variant for dense grids */
.card-sm { padding: 0.75rem; }
.card-sm .card-icon { width: 2.25rem; height: 2.25rem; }
.card-sm .icon-lg { width: 1.25rem; height: 1.25rem; }

.icon-card { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1rem; border-radius: 0.75rem;
  background: rgba(255,255,255,0.35); border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 10px 30px rgba(2,6,23,0.08), inset 0 1px 0 rgba(255,255,255,0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.icon-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(2,6,23,0.12), inset 0 1px 0 rgba(255,255,255,0.6); background: rgba(255,255,255,0.42); }

/* Glassmorphic card styling for e-learning section */
.glassmorphic-card {
  border-radius: 1rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.glassmorphic-card:hover {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.icon-xl { width: 2.5rem; height: 2.5rem; color: #5271ff; }
.icon-lg { width: 1.75rem; height: 1.75rem; }

.check { color: rgb(22 163 74); font-weight: 700; }

.step { background: white; border: 1px solid rgb(226 232 240); border-radius: 0.75rem; padding: 1rem; }
.step-number { width: 2rem; height: 2rem; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; background: #e6ebff; color: #5271ff; font-weight: 700; }
.step-title { margin-top: 0.5rem; font-weight: 600; color: #000937; }
.step-text { margin-top: 0.25rem; color: #6b7280; }

.tech-chip { display: inline-flex; align-items: center; padding: 0.25rem 0.625rem; border-radius: 9999px; background: #f0f2ff; color: #000937; font-size: 0.875rem; }

.form-label { display: block; font-size: 0.875rem; color: #6b7280; margin-bottom: 0.25rem; }
.form-input { width: 100%; border: 1px solid #d1d5db; border-radius: 0.5rem; padding: 0.625rem 0.75rem; }
.form-input:focus { outline: none; border-color: #5271ff; box-shadow: 0 0 0 3px rgba(82,113,255,0.2); }

/* Utilities for JS toggles */
.hidden { display: none; }

/* Accessibility utilities */
.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;
}

.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Focus styles for better accessibility */
*:focus {
  outline: 2px solid #5271ff;
  outline-offset: 2px;
}

/* Skip link styles */
a[href="#main-content"] {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #5271ff;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  transition: top 0.3s;
}

a[href="#main-content"]:focus {
  top: 6px;
}

/* Logo styling */
.logo { height: 2.5rem; width: auto; transition: opacity 0.2s ease; }
.logo:hover { opacity: 0.8; }

/* Section decorative waves - removed to maintain clean glassmorphic look */

/* Design section background art (only for #design) */
.bg-design-art { position: relative; overflow: hidden; z-index: 0; padding-top: 5rem; padding-bottom: 5rem; }
.bg-design-art > * { position: relative; z-index: 1; }
.bg-design-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../../images/svg-bgs/dddepth-322.jpg');
  background-repeat: no-repeat;
  /* Fill section width while maintaining composition */
  background-size: cover;
  background-position: center 20%;
  filter: blur(0.5px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.bg-design-art::after {
  content: "";
  position: absolute;
  left: -200px;
  bottom: -140px;
  width: 600px;
  height: 600px;
  background: radial-gradient(closest-side, rgba(82,113,255,0.18), rgba(82,113,255,0.08) 60%, transparent 80%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}

/* Responsive fine-tuning of artwork position */
@media (min-width: 640px) {
  .bg-design-art::before { background-position: center 15%; }
}
@media (min-width: 768px) {
  .bg-design-art::before { background-position: center 10%; }
}
@media (min-width: 1024px) {
  .bg-design-art::before { background-position: right 10% center; }
}

/* Enhanced Design System from Marketing Folder */

/* CSS Custom Properties */
:root {
  --primary-color: #5271ff;
  --secondary-color: #3b82f6;
  --accent-color: #5271ff;
  --gold-color: #fbbf24;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, #5271ff 0%, #3b82f6 50%, #10b981 100%);
  --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Enhanced Animations */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes barGrow {
  from { height: 0; }
  to { height: var(--height); }
}

@keyframes chartGrow {
  from { height: 0; }
  to { height: 60%; }
}

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

/* Animation Classes */
.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-slide-in-left {
  animation: slide-in-left 0.8s ease-out;
}

.animate-slide-in-right {
  animation: slide-in-right 0.8s ease-out;
}

.animate-scale-in {
  animation: scale-in 0.6s ease-out;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Enhanced Card System */
.modern-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(226, 232, 240, 0.5);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.modern-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

/* Enhanced Service Cards */
.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(226, 232, 240, 0.5);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.service-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: bounce 2s infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Enhanced Button System */
.modern-btn {
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
}

.modern-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.modern-btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* Gradient Text Effects */
.gradient-text {
  background: var(--gradient-primary);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
}

/* Enhanced Stats */
.stat-item {
  text-align: center;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-value {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--gold-color);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
  color: var(--text-light);
}

/* Progress Bars */
.progress-bar {
  background: #e2e8f0;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-fill {
  background: var(--gradient-primary);
  height: 100%;
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Status Indicators */
.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.online {
  background: var(--gradient-success);
  color: var(--white);
}

.status-badge.offline {
  background: #ef4444;
  color: var(--white);
}

/* Trend Indicators */
.trend-indicator {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.trend-indicator.positive {
  background: var(--gradient-success);
  color: var(--white);
}

.trend-indicator.negative {
  background: #ef4444;
  color: var(--white);
}

/* Enhanced Icons */
.feature-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: bounce 2s infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Particle Effects */
.particle {
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(2) {
  animation-delay: 2s;
}

.particle:nth-child(3) {
  animation-delay: 4s;
}

.particle:nth-child(4) {
  animation-delay: 1s;
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

/* Enhanced Hover Effects */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* Glassmorphic Elements */
.glassmorphic {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Enhanced Grid Systems */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Enhanced Typography */
.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #ffffff, #fbbf24, #10b981);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
  line-height: 1.1;
}

/* Removed global heading color and gradient text overrides to respect
   per-element utility classes like `text-black` and `dark:text-white`. */

/* Override for specific cases where we want different colors */
.hero-title {
  background: linear-gradient(45deg, #ffffff, #fbbf24, #10b981);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--accent-color);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphic cards only inside the design section */
.bg-design-art .card {
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(2,6,23,0.08), inset 0 1px 0 rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.bg-design-art .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(2,6,23,0.12), inset 0 1px 0 rgba(255,255,255,0.6);
}


