.modal-imagen {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-imagen img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 15px #fff;
}

.cerrar-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
/* Preloader container */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999999999;
  background:  linear-gradient(rgba(26, 26, 64, 0.918), rgba(26, 26, 64, 0.945)), 
        url('../assets/images/about-bg.jpg') center/cover no-repeat;;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease-in-out;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* Inner animation wrapper */
.preloader-inner {
  text-align: center;
  animation: fadeInScale 1s ease-in-out;
}

/* Caminata + construcción íconos */
.icon-track {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: iconBounce 2s infinite;
}

/* Bounce icons */
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Text animation setup */
.animated-text {
  font-weight: 1000;
  color: #ffffff;
  font-size: clamp(3rem, 5vw, 7rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
}

.animated-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #ffffff;
  animation: typing 2s steps(20, end) forwards;
}

/* Typing effect */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Subtitle styling */
.preloader-icon h2 {
  font-size: clamp(1.2rem, 3vw, 3rem);
  margin-top: 1rem;
  opacity: 0;
  animation: fadeInText 1s ease-in 2s forwards;
}

@keyframes fadeInText {
  to {
    opacity: 1;
  }
}

/* Scale-in */
@keyframes fadeInScale {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Hide transition */
.preloader.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease-in-out;
}
    .ft-search-container {
  margin-bottom: 2rem;
}

.ft-search-wrapper {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
}

.ft-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #8e8e8e;
}

.ft-search-input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border-radius: 25px;
  border: 1px solid #e0e0e0;
  font-size: 16px;
  background-color: #fafafa;
  transition: all 0.3s ease;
}

.ft-search-input:focus {
  outline: none;
  border-color: #3897f0;
  background-color: white;
  box-shadow: 0 0 0 2px rgba(56, 151, 240, 0.1);
}

/* Estilo para las cards */
.ft-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
}

.ft-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ft-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ft-card-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  position: relative;
}

.ft-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 12px;
}

.ft-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ft-card-user-info {
  flex: 1;
}

.ft-card-username {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #262626;
}

.ft-card-date {
  display: block;
  font-size: 12px;
  color: #8e8e8e;
}

.ft-card-actions {
  color: #262626;
  cursor: pointer;
}

.ft-card-actions svg {
  width: 20px;
  height: 20px;
}

.ft-card-image-container {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.ft-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ft-card:hover .ft-card-image {
  transform: scale(1.03);
}

.ft-card-content {
  padding: 16px;
}

.ft-card-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #262626;
}

.ft-card-description {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #262626;
}

.ft-card-footer {
  padding: 8px 16px 16px;
}

.ft-card-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #efefef;
  padding-top: 12px;
}

.ft-card-like, .ft-card-comment, .ft-card-share {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  color: #262626;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.ft-card-like svg, .ft-card-comment svg, .ft-card-share svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  stroke-width: 2;
}

.ft-card-like:hover, .ft-card-comment:hover, .ft-card-share:hover {
  background-color: #f5f5f5;
}

/* Estilo para el grid de 3 columnas */
.ft-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

/* Responsive */
@media (max-width: 1200px) {
  .ft-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ft-card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .ft-card-header {
    padding: 10px 12px;
  }
  
  .ft-card-content {
    padding: 12px;
  }
  
  .ft-card-title {
    font-size: 16px;
  }
  
  .ft-card-description {
    font-size: 13px;
  }
}
/* Estilos específicos para video */
.ft-card-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #000;
}

.ft-card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ft-video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.ft-video-play-button svg {
  width: 30px;
  height: 30px;
  color: white;
  stroke-width: 1.5;
}

.ft-card-video-container:hover .ft-video-play-button {
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Ocultar botón de play cuando el video está en reproducción */
.ft-card-video.playing + .ft-video-play-button {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ft-card-like.liked svg {
  fill: red;
  transform: scale(1.3);
  transition: all 0.3s ease;
}

.ft-card-like svg {
  transition: all 0.3s ease;
}
   .photo-card {
        border: none;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        margin-bottom: 25px;
    }
    
    .photo-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }
    
    .card-img-top {
        height: 750px;
        object-fit: cover;
    }
    
    .card-body {
        padding: 20px;
        background: #fff;
    }
    
    .card-title {
        font-weight: 600;
        color: #333;
        margin-bottom: 10px;
    }
    
    .card-text {
        color: #666;
        font-size: 14px;
    }
    
    .search-container {
        max-width: 1900px;
        margin: 0 auto;
        padding: 20px;
    }
.modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  padding-top: 60px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%;
  overflow: auto; 
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.download-btn {
  display: block;
  margin: 15px auto;
  text-align: center;
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

    .custom-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.custom-modal-content {
  position: relative;
  background-color: #fff;
  padding: 15px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow: auto;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.custom-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 25px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
}

.download-btn {
  display: inline-block;
  background-color: #0d104d;
  color: #fff;
  padding: 8px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #218838;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
  .pagination .page-item .page-link {
    color: #0d104d;
    cursor: pointer;
  }
  .pagination .page-item.active .page-link {
    background-color: #0d104d;
    border-color: #0f1357;
    color: white;
  }
