body {
    background: linear-gradient(135deg, #00b4cc, #00dffc);
    min-height: 100vh;
    color: #fff;
    margin: 0;
    padding: 0;
}

/* Hero */
.hero {
    height: 50vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

/* Cards semi-transparentes */
.card {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.card-title, .card-text {
    color: #000;
}

.content-wrapper {
    min-height: calc(100vh - 100px);
    padding-top: 20px;
    padding-bottom: 20px;
    margin-left: 80px; /* Espacio para el sidebar */
    transition: margin-left 0.3s ease;
}

#sidebar-menu {
    background-color: #fff !important;
    width: 60px;
    transition: width 0.3s ease;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

#sidebar-menu:hover {
    width: 200px;
}

.sidebar-item {
    color: #005f6b !important;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    padding: 10px 10px;
    text-decoration: none !important;
    border-radius: 8px;
    margin: 5px 10px;
}

.sidebar-item:hover {
    background-color: rgba(0, 123, 255, 0.1) !important;
    color: #005f6b !important;
}

.menu-text {
    opacity: 0;
    white-space: nowrap;
    margin-left: 10px;
    transition: opacity 0.3s ease;
    color: #00b4cc;
    font-weight: 500;
    font-size: 0.9rem;
}

#sidebar-menu:hover .menu-text {
    opacity: 1;
}

.sidebar-item i {
    color: #00b4cc !important;
    font-size: 1.3rem;
    min-width: 25px;
    text-align: center;
}

.portfolio-footer {
    background: linear-gradient(135deg, #005f6b, #008c9e);
    border-top: 3px solid rgba(255, 255, 255, 0.1);
    margin-top: auto; /* Para que siempre esté abajo */
}

.footer-brand {
    font-weight: 600;
    font-size: 1.2rem;
    color: #fff;
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
}

.tech-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 3px 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 2px;
    display: inline-block;
}

/* Contenedor interno del footer centrado */
.footer-content-wrapper {
    display: inline-block;
    text-align: left;
    width: auto;
    max-width: 100%;
}

/* Centrar el contenedor dentro de cada columna */
.portfolio-footer .col-lg-3,
.portfolio-footer .col-md-6 {
    display: flex;
    justify-content: center;
}

.portfolio-header {
  background: linear-gradient(135deg, #005f6b, #008c9e); 
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary{
    background-color: #005f6b;
    border: #000000 1px;
    transition: background 0.3s;
}

.btn-secondary{
    background-color: #00b4cc;
    border: #000000 1px;
    transition: background 0.3s;
}

.btn-txt{
    color: white;
}

.bg-principal{
    background-color: #005f6b;
}

.bg-span{
    background-color: #008c9e;
}

.pagination .page-link {
  color: #005f6b;
  border: 1px solid #cde3e6;
  background-color: #f5fbfc;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.pagination .page-link:hover {
  background-color: #d2f0f4;
  color: #004651;
  border-color: #a9d7dc;
}

.pagination .page-item.active .page-link {
  background-color: #005f6b;
  border-color: #005f6b;
  color: white;
  font-weight: 600;
  box-shadow: 0 0 6px rgba(0, 95, 107, 0.4);
}

.pagination .page-item.disabled .page-link {
  color: #aaa;
  background-color: #f2f2f2;
  border-color: #ddd;
}