@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
}

:root {
  /* Modo Oscuro personalizado con colores del logo */
  --text-color: #c7cfd1; /* Gris claro */
  --highlight-color: #a63b2f; /* Rojo del logo */
  --accent-color: #2b3b49; /* Azul oscuro */
  --accent-color-light: #4b6c6b; /* Verde azulado */
  --primary-color: #000000; /* Fondo negro */
  --secondary-color: #1f2a30; /* Variante más clara del fondo */
  --card-color: #2b3b49; /* Azul oscuro */
  --card-hover-color: #3b4e5d; /* Versión más clara del azul */
  --button-gradient: linear-gradient(to right, #2b3b49, #a63b2f);
  --button-gradient-hover: linear-gradient(to right, #a63b2f, #2b3b49);
}

body.light-mode {
  /* Modo Claro adaptado con versiones más claras */
  --text-color: #2b3b49; /* Azul oscuro */
  --highlight-color: #a63b2f; /* Rojo */
  --accent-color: #4b6c6b; /* Verde azulado */
  --accent-color-light: #7d9c9b; /* Verde más claro */
  --primary-color: #ffffff;
  --secondary-color: #e6f0ef;
  --card-color: #f2f7f6;
  --card-hover-color: #dfeeee;
  --button-gradient: linear-gradient(to right, #4b6c6b, #a63b2f);
  --button-gradient-hover: linear-gradient(to right, #a63b2f, #4b6c6b);
}


html {
  scroll-behavior: smooth;
}

body {
  background: var(--primary-color);
  color: var(--text-color);
  overflow-x: hidden;
}

section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(18, 18, 18, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

body.light-mode header {
  background: rgba(255, 255, 255, 0.8);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-color);
}

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

.logoImage {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  transition: transform 0.3s ease;
}

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

.logo-container {
  display: flex;
  align-items: center; /* Alinea verticalmente */
  gap: 8px; /* Espacio entre la imagen y el texto */
}


.nav-links {
  display: flex;
  gap: 30px;
  flex-grow: 1; /* <-- Añadir este para que los links usen el espacio disponible */
  justify-content: center; /* centra los links en el espacio disponible */
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--highlight-color);
  transition: width 0.3s ease;
}

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

.hamburger {
  display: none;
  cursor: pointer;
}

/* Contenedor de los botones (theme y language) */
.top-buttons {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 10px; /* espacio entre botones */
  z-index: 999;
}

/* Botón de tema */
.theme-toggle {
  position: relative;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-color);
  color: var(--text-color);
  transition: all 0.3s ease;
  /* quitamos position absolute para que esté dentro de .top-buttons */
}

.theme-toggle:hover {
  transform: rotate(45deg);
  background: var(--accent-color);
}

/* Botón de idioma */
.language-toggle button {
  position: relative;
  background-color: var(--card-color);
  color: var(--text-color);
  border: none;
  width: 40px;
  height: 40px;
  font-weight: bold;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.language-toggle button:hover {
  background-color: var(--accent-color); /* un poco más claro */
  transform: scale(1.05);
}

.language-toggle button:active {
  transform: scale(0.95);
}

/* Tamaño adaptativo para móvil */
@media (max-width: 640px) {
  .language-toggle button {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
}



/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding-top: 120px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.glowing-title {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: none; /* Por si acaso */
}


@keyframes glow {
  from {
    text-shadow: 0 0 5px var(--highlight-color), 0 0 10px var(--highlight-color);
  }
  to {
    text-shadow: 0 0 10px var(--highlight-color), 0 0 20px var(--highlight-color), 0 0 30px var(--highlight-color);
  }
}

.glowing-title span {
  color: var(--highlight-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.primary-btn {
  background: var(--button-gradient);
  color: white;
}

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

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
}

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

.primary-btn:hover {
  box-shadow: 0 0 15px var(--highlight-color);
  background: var(--button-gradient-hover);
  transform: translateY(-3px);
}

.secondary-btn:hover {
  box-shadow: 0 0 15px var(--highlight-color);
  background: var(--highlight-color);
  color: white;
  transform: translateY(-3px);
}

.redes {
  margin-top: 42px;
  display: flex;
  justify-content: flex-start;
  gap: 15px;
}

.redes a {
  background: none !important;
  border-radius: 0 !important;
  color: #333;
  font-size: 34px;
  text-decoration: none;
  transition: transform 0.2s;
}

.redes a:hover {
  transform: scale(1.2);
  color: #4b6c6b;
}


.hero-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.profile-frame {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 30px var(--highlight-color);
  animation: float 5s ease-in-out infinite;
}

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

.profile-frame:before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent-color), var(--highlight-color), var(--accent-color));
  z-index: -1;
  animation: spin 10s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

.section-header h2 span {
  color: var(--highlight-color);
}

.divider {
  width: 80px;
  height: 4px;
  background: var(--highlight-color);
  margin: 20px auto;
  position: relative;
}

.divider:before,
.divider:after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--highlight-color);
  top: -3px;
}

.divider:before {
  left: -5px;
}

.divider:after {
  right: -5px;
}

/* About Section */
.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1.1rem;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--highlight-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
}

/* Projects Section */
.project-filters {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-btn {
  padding: 8px 20px;
  border: none;
  background: var(--card-color);
  color: var(--text-color);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, 
.filter-btn.active {
  background: var(--button-gradient);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--card-color);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.project-img {
  height: 200px;
  overflow: hidden;
}

.project-img svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img svg {
  transform: scale(1.1);
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.project-info p {
  margin-bottom: 15px;
  color: var(--text-color);
  opacity: 0.8;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.project-tags span {
  background: var(--accent-color-light);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.view-project {
  display: inline-block;
  color: var(--highlight-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.view-project:hover {
  color: var(--accent-color);
  letter-spacing: 1px;
}

/* Skills Section */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.skill-category h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  position: relative;
  padding-left: 20px;
}

.skill-category h3:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--highlight-color);
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.skill-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--highlight-color);
  font-size: 1.5rem;
}

.skill-info {
  flex: 1;
}

.skill-info h4 {
  margin-bottom: 8px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--card-color);
  border-radius: 4px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: var(--button-gradient);
  border-radius: 4px;
  animation: shine 2s linear infinite;
  background-size: 200% 100%;
}

@keyframes shine {
  to {
    background-position: 200% 0;
  }
}



/* Footer */
footer {
  background: var(--secondary-color);
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-content .logo {
  margin-bottom: 20px;
}

.footer-content p {
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--highlight-color);
}

.copyright {
  margin-top: 30px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .glowing-title {
    font-size: 2.5rem;
  }
  
  section {
    padding: 60px 20px;
  }
  
  .profile-frame {
    width: 280px;
    height: 280px;
  }
  .language-toggle button {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0 10px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .glowing-title {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .profile-frame {
    width: 220px;
    height: 220px;
  }
  .language-toggle button {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }
}
/*Cambios posteriores*/

/*Tarjetas emergentes que amplian información de proyectos*/

/* Estilos del Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: var(--primary-color);
  padding: 40px;
  width: 80%;
  max-width: 600px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--highlight-color);
}

.modal-content p {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 20px;
}

.modal-video iframe {
  width: 100%;
  height: 315px;
  border-radius: 10px;
}

.project-tags {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.project-tags span {
  background: var(--accent-color-light);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.modal-github-btn {
  display: inline-block;
  margin-top: 20px;
  background: var(--button-gradient);
  color: white;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.modal-github-btn:hover {
  background: var(--button-gradient-hover);
}

/*blog*/

#blog {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

#blog h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--highlight-color);
}

/* Grid de 2 columnas */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Tarjeta del artículo */
.blog-card {
  background: var(--card-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, background 0.3s ease;
}

.blog-card:hover {
  background: var(--card-hover-color);
  transform: translateY(-3px);
}

/* Imagen destacada */
.blog-card img {
  width: auto;         /* Tamaño fijo */
  height: 250px;        /* Puedes ajustar a lo que desees */
  object-fit: cover;    /* Recorta la imagen sin deformarla */
  border-radius: 8px;   /* Opcional: bordes redondeados */
  flex-shrink: 0;       /* Para que no se reduzca en flex */
}

/* Contenido */
.blog-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-content h3 {
  margin: 0;
  font-size: 1.3rem;
}

.blog-content h3 a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-content h3 a:hover {
  color: var(--highlight-color);
}

.blog-content small {
  color: var(--accent-color-light);
  font-size: 0.9rem;
}

.blog-content p {
  font-size: 1rem;
  color: var(--text-color);
}

/* Botones */
.blog-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn-read {
  background: var(--button-gradient);
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-read:hover {
  background: var(--button-gradient-hover);
}

.btn-comments {
  background: var(--accent-color);
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 500;
  display: flex;
  align-items: center;
}




@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/*video presentacion*/
.about-video {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.about-video iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/*Bliblioteca*/


.library-section {
  padding: 40px 20px; /* Menos espacio arriba y abajo */
  max-width: 1200px;  /* Más ancha */
  margin: 0 auto;
}



.library-header {
  text-align: center;
  margin-bottom: 3rem;
}

.library-title {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.library-subtitle {
  font-size: 1.125rem;
  color: var(--highlight-color);
  font-weight: 400;
}

.books-container {
  position: relative;
  overflow: hidden;
  margin: 2rem 0;
}

.books-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 2rem 0;
}

.book-card {
  flex: 0 0 300px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.book-card:hover {
  transform: translateY(-10px);
}

.book-cover {
  position: relative;
  width: 65%;
  height: 300px;
  perspective: 1000px;
  margin: 0 auto; /* ✅ centra horizontalmente */
}

.book-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.book-spine {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 100%;
  background: var(--accent-color);
  border-radius: 8px 0 0 8px;
  display: none;
}

.book-front {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
}

.book-front h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #282a36;
  margin-bottom: 0.5rem;
}

.book-front p {
  font-size: 0.875rem;
  color: #44475a;
  font-weight: 500;
}

.book-info {
  margin-top: 1rem;
  text-align: center;
}

.book-info h4 {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.book-info p {
  font-size: 0.875rem;
  color: var(--highlight-color);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.download-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--button-gradient);
  color: var(--primary-color);
  border: none;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  background: var(--button-gradient-hover);
  box-shadow: 0 5px 20px rgba(166, 59, 47, 0.3);
}

.download-btn.pdf,
.download-btn.epub {
  background: var(--button-gradient);
}

.library-controls {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  z-index: 10;
}

.nav-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--card-color);
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.nav-btn:hover {
  background: var(--card-hover-color);
  transform: scale(1.1);
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

@media (max-width: 768px) {
  .library-title {
    font-size: 2rem;
  }
  
  .book-card {
    flex: 0 0 400px;
  }
  
  .book-cover {
    height: 350px;
  }
}

/*Consultoría*/
.consultancy-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-color);
    overflow: hidden;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.accent {
    color: var(--highlight-color);
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.feature-icon {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

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

.form-container {
    background: var(--card-color);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.form-container:hover {
    transform: translateY(-5px);
    background: var(--card-hover-color);
}

.consultancy-form h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--secondary-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166, 59, 47, 0.3);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-color);
    pointer-events: none;
    transition: all 0.3s ease;
    background: var(--secondary-color);
    padding: 0 0.5rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    font-size: 0.875rem;
    color: var(--highlight-color);
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--button-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: var(--button-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(166, 59, 47, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-loader .spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.disclaimer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-top: 1rem;
}

.success-message {
    display: none;
    text-align: center;
    padding: 2rem;
    color: var(--text-color);
}

.success-icon {
    font-size: 4rem;
    color: var(--highlight-color);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
}