:root {
  --primary-color: #3D993B;
  --secondary-color: #008EC9;
  --accent-color: #F69213;
  --dark-color: #212529;
  --light-color: #f8f9fa;
 }

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

.bg-custom-secondary {
  background-color: var(--secondary-color) !important;
}

.bg-custom-accent {
  background-color: var(--accent-color) !important;
}

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

body { 
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* Navbar Styles */
.navbar-custom {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-color) !important;
  transition: color 0.3s ease;
  position: relative;
}
/*
.nav-link:hover {
  color: var(--primary-color) !important;
}*/

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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


/* Hero Section */
.hero {
  background: linear-gradient(0deg, rgb(149, 161, 130), rgba(212, 226, 189, 0.1)), 
  url('http://jihecpa.fb.uner.edu.ar/img/jihecpa.png') center no-repeat;

  min-height: 75vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}


@keyframes gradientShift {
  0% { background: linear-gradient(45deg, rgba(25, 135, 84, 0.1), rgba(32, 201, 151, 0.1)); }
  100% { background: linear-gradient(45deg, rgba(32, 201, 151, 0.1), rgba(253, 126, 20, 0.1)); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 2rem;
}

.hero h1 { 
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
  animation: fadeInUp 1s ease-out;
}

.hero .lead {
  font-size: clamp(2rem, 2vw, 2rem);
  margin-bottom: 2rem;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero .btn {
  animation: fadeInUp 1s ease-out 0.6s both;
  transform: translateY(20px);
}

.hero-info-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1rem;
  margin: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero-info-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

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

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* Cards */
.card-modern {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.card-modern .card-body {
  padding: 2rem;
}

/* Buttons */
.btn-modern {
  padding: 12px 30px;
  border-radius: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-modern::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;
}

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

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

.btn-primary-modern:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(25, 135, 84, 0.3);
}

/* Contact Form */
.form-floating > .form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.1);
}

/* Stats Counter */
.stats-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stats-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stats-text {
  font-size: 1.1rem;
  color: var(--dark-color);
  margin-top: 0.5rem;
}

/* Footer */
.footer-modern {
  background: linear-gradient(135deg, var(--dark-color), #343a40);
  color: white;
  padding: 60px 0 30px;
}

.footer-modern .footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-modern .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.footer-modern .social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* Countdown Styles */
.countdown-timer {
    margin: 0 -5px;
}

.countdown-item {
    padding: 0 5px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-size: 0.875rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.mini-countdown .badge {
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  section { padding: 60px 0; }
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}


/* Estilos específicos para la sección de ejes temáticos */
#ejes-tematicos .card-modern {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

#ejes-tematicos .card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

#ejes-tematicos .card-title {
  font-weight: 600;
  color: var(--dark-color, #212529);
  font-size: 0.95rem;
  line-height: 1.3;
}

#ejes-tematicos .card-text {
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Iconos responsivos */
@media (max-width: 576px) {
  #ejes-tematicos .rounded-circle {
    width: 40px !important;
    height: 40px !important;
  }
  
  #ejes-tematicos .card-title {
    font-size: 0.9rem;
  }
  
  #ejes-tematicos .card-text {
    font-size: 0.8rem;
  }
}

/* Variables CSS para consistencia */
:root {
  --primary-color: #3D993B;
  --secondary-color: #008EC9;
  --dark-color: #212529;
}


.navbar-brand-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.navbar-brand-logo {
  margin-bottom: 0;
}

.navbar-brand-logo img {
  max-height: 60px;
  width: auto;
}

.navbar-brand-event {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color) !important;
  text-decoration: none;
  margin-left: 5px;
}

.navbar-brand-event:hover {
  color: var(--secondary-color) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-brand-container {
    align-items: center;
    text-align: center;
  }
  
  .navbar-brand-logo img {
    max-height: 35px;
  }
  
  .navbar-brand-event {
    font-size: 0.9rem;
  }
}
/* Estilos específicos para la sección de formato */
#formato-presentacion .format-spec {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  height: 100%;
  border-left: 4px solid var(--primary-color, #3D993B);
  transition: all 0.3s ease;
}

#formato-presentacion .format-spec:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

#formato-presentacion .format-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color, #3D993B);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

#formato-presentacion .format-value {
  font-size: 0.85rem;
  color: var(--dark-color, #212529);
  line-height: 1.5;
}

#formato-presentacion .content-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#formato-presentacion .content-list li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
}

#formato-presentacion .important-note {
  display: flex;

  gap: 10px;
}

#formato-presentacion .important-note i {
  margin-top: 2px;
  flex-shrink: 0;
}

#formato-presentacion .nomenclature-formula {

  font-weight: bold;
  text-align: center;
}

#formato-presentacion .example-file {
  text-align: center;
  font-weight: bold;
}

/* Hover effects para botones de descarga */
#formato-presentacion .btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  filter: brightness(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #formato-presentacion .format-spec {
    margin-bottom: 20px;
  }
  
  #formato-presentacion .important-note {
    margin-bottom: 15px;
  }
}

/* Variables CSS */
:root {
  --primary-color: #3D993B;
  --dark-color: #212529;
  --button-color: #ebaf35;
  --decoration-color: #0693e3;
  --bs-code-color: #212529;
}

/* Estilos para los logos en el hero */
.hero-logos {
  margin: 40px 0;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 160px;
  width: 230px;
  margin: 0 auto;
  backdrop-filter: blur(5px);
}

.logo-container:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.institution-logo {
  max-height: 140px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1) contrast(1.1);
  transition: all 0.3s ease;
}

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

.hero-support-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 1);
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-logos {
    margin: 30px 10px;
    padding: 20px 15px;
  }
  
  .logo-container {
    height: 100px;
    width: 160px;
    padding: 15px;
  }
  
  .institution-logo {
    max-height: 65px;
    max-width: 140px;
  }
  
  .hero-support-text {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .hero-logos .row.g-4 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }
  
  .logo-container {
    height: 90px;
    width: 140px;
  }
  
  .institution-logo {
    max-height: 55px;
    max-width: 120px;
  }
}

/* Animación de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logos {
  animation: fadeInUp 1s ease-out 0.8s both;
}

.logo-container:nth-child(1) { animation-delay: 1s; }
.logo-container:nth-child(2) { animation-delay: 1.2s; }
.logo-container:nth-child(3) { animation-delay: 1.4s; }
.logo-container:nth-child(4) { animation-delay: 1.6s; }


  /* Estilos para el programa */
  .program-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--decoration-color, #0693e3), #4a90e2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(6, 147, 227, 0.3);
  }

  .program-nav {
    background: #f8f9fa;
    border-radius: 50px;
    padding: 5px;
    width: 100%;
    justify-content: center;
  }

  .program-nav .nav-link {
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    margin: 0 5px;
    font-weight: 600;
    color: #6c757d;
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
  }

  .program-nav .nav-link.active {
    background: var(--primary-color, #3D993B);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(61, 153, 59, 0.3);
  }

  .day-header {
    background: linear-gradient(135deg, var(--primary-color, #3D993B), #4caf50);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
  }

  .day-header h3 {
    margin: 0;
    font-size: 1.5rem;
  }

  /* Timeline */
  .timeline {
    position: relative;
    padding-left: 30px;
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color, #3D993B), var(--decoration-color, #0693e3));
  }

  .timeline-item {
    position: relative;
    margin-bottom: 25px;
  }

  .timeline-marker {
    position: absolute;
    left: -30px;
    top: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    z-index: 2;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  /* Colores por tipo de actividad */
  .timeline-item.opening .timeline-marker {
    background: #28a745;
  }

  .timeline-item.conference .timeline-marker {
    background: var(--decoration-color, #0693e3);
  }

  .timeline-item.roundtable .timeline-marker {
    background: #fd7e14;
  }

  .timeline-item.break .timeline-marker {
    background: #6c757d;
  }

  .timeline-item.poster .timeline-marker {
    background: #e83e8c;
  }

  .timeline-item.presentation .timeline-marker {
    background: #20c997;
  }

  .timeline-item.case-study .timeline-marker {
    background: #6f42c1;
  }

  .timeline-item.closing .timeline-marker {
    background: var(--button-color, #ebaf35);
  }

  .timeline-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-left: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
  }

  .timeline-item.opening .timeline-card {
    border-left-color: #28a745;
  }

  .timeline-item.conference .timeline-card {
    border-left-color: var(--decoration-color, #0693e3);
  }

  .timeline-item.roundtable .timeline-card {
    border-left-color: #fd7e14;
  }

  .timeline-item.break .timeline-card {
    border-left-color: #6c757d;
  }

  .timeline-item.poster .timeline-card {
    border-left-color: #e83e8c;
  }

  .timeline-item.presentation .timeline-card {
    border-left-color: #20c997;
  }

  .timeline-item.case-study .timeline-card {
    border-left-color: #6f42c1;
  }

  .timeline-item.closing .timeline-card {
    border-left-color: var(--button-color, #ebaf35);
  }

  .timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  }

  .timeline-time {
    background: #f8f9fa;
    color: var(--primary-color, #3D993B);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
  }

  .timeline-card h5 {
    color: var(--primary-color, #3D993B);
    margin-bottom: 10px;
    font-weight: 700;
  }

  .timeline-card h6 {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
  }

  .timeline-details p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #6c757d;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .timeline {
      padding-left: 20px;
    }

    .timeline::before {
      left: 15px;
    }

    .timeline-marker {
      left: -25px;
      width: 30px;
      height: 30px;
      font-size: 1rem;
    }

    .timeline-card {
      margin-left: 20px;
      padding: 15px;
    }

    .program-nav .nav-link {
      padding: 10px 16px;
      font-size: 0.9rem;
    }

    .day-header h3 {
      font-size: 1.3rem;
    }
  }

  /* Variables CSS */
  :root {
    --primary-color: #3D993B;
    --decoration-color: #0693e3;
    --button-color: #ebaf35;
  }
