:root {
            --color-primario: #005f87;
            --color-secundario: #17a2b8;
        }
        
        .hero-section {
            background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)), url('../img/fondo.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat; 
            color: white;
            margin-top: 0px;
            padding: 220px 0;
        }
           .hero-about {
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/fondo.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 120px 0;
        }
        .bg-primary-custom {
            background-color: var(--color-primario) !important;
        }
        
        .text-primary-custom {
            color: var(--color-primario) !important;
        }
        
        .btn-primary-custom {
            background-color: var(--color-primario);
            border-color: var(--color-primario);
        }
        
        .btn-outline-custom {
            color: var(--color-primario);
            border-color: var(--color-primario);
        }
        
        .btn-outline-custom:hover {
            background-color: var(--color-primario);
            color: white;
        }
        
        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--color-primario);
        }
        
        .nav-pills .nav-link.active {
            background-color: var(--color-primario);
        }
        .water-drop {
            color: var(--color-secundario);
        }
        
        .timeline {
            position: relative;
            padding-left: 50px;
        }
        
        .timeline:before {
            content: '';
            position: absolute;
            left: 20px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: var(--color-secundario);
        }
        
        .timeline-item {
            position: relative;
            margin-bottom: 30px;
        }
        
        .timeline-item:before {
            content: '';
            position: absolute;
            left: -40px;
            top: 5px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--color-primario);
            border: 3px solid var(--color-secundario);
        }
        
        .team-card {
            transition: transform 0.3s;
            border: none;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .team-card:hover {
            transform: translateY(-10px);
        }
        
        .mission-vision-card {
            border-left: 5px solid var(--color-secundario);
        }
        .custom-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 4rem 0;
            position: relative;
            overflow: hidden;
        }
        
        .section-container {
            position: relative;
            z-index: 2;
        }
        
        .section-title {
            font-weight: 700;
            margin-bottom: 1rem;
            color: #212529;
            position: relative;
            display: inline-block;
        }
        
        .section-title::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(to right, #0d6efd, #0dcaf0);
        }
        
        .section-description {
            color: #6c757d;
            margin-bottom: 2rem;
            max-width: 600px;
        }
        
        .custom-btn {
            position: relative;
            padding: 0.75rem 2.5rem;
            font-weight: 500;
            border-radius: 50px;
            transition: all 0.3s ease;
            overflow: hidden;
            border: none;
            background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
            color: white;
            box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
        }
        
        .custom-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
            color: white;
        }
        
        .custom-btn:active {
            transform: translateY(1px);
        }
        
        .custom-btn i {
            margin-left: 8px;
            transition: all 0.3s ease;
        }
        
        .custom-btn:hover i {
            transform: translateX(3px);
        }
        
        .decorative-shape {
            position: absolute;
            width: 300px;
            height: 300px;
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            background: rgba(13, 110, 253, 0.05);
            z-index: 1;
        }
        
        .shape-1 {
            top: -100px;
            right: -100px;
            width: 400px;
            height: 400px;
        }
        
        .shape-2 {
            bottom: -150px;
            left: -100px;
            width: 350px;
            height: 350px;
        }
        .tramite-card {
            border-radius: 10px;
            transition: all 0.3s ease;
            overflow: hidden;
            margin-bottom: 20px;
        }
        .tramite-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .tramite-header {
            background: linear-gradient(135deg, #0d6efd, #0dcaf0);
            color: white;
            padding: 15px;
        }
        .requisitos-list {
            list-style-type: none;
            padding-left: 0;
        }
        .requisitos-list li {
            padding: 8px 0;
            border-bottom: 1px solid #eee;
        }
        .requisitos-list li:last-child {
            border-bottom: none;
        }
        .requisitos-list li i {
            margin-right: 10px;
            color: #0d6efd;
        }
        .badge-tramite {
            font-size: 0.8rem;
            padding: 5px 10px;
        }
        .section-title {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 40px;
        }
        .section-title:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #0d6efd, #0dcaf0);
        }
        .payment-info {
            background-color: #f8f9fa;
            border-left: 4px solid #0d6efd;
            padding: 15px;
            border-radius: 0 5px 5px 0;
        }
         .tarifa-section {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        .tarifa-header {
            border-bottom: 3px solid #0d6efd;
            padding-bottom: 10px;
            margin-bottom: 20px;
        }
        .tarifa-card {
            border-left: 4px solid #0d6efd;
            background-color: white;
            border-radius: 5px;
            padding: 15px;
            margin-bottom: 15px;
            transition: transform 0.3s ease;
        }
        .tarifa-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .tarifa-price {
            font-size: 1.5rem;
            font-weight: 700;
            color: #0d6efd;
        }
        .note-box {
            background-color: #fff8e1;
            border-left: 4px solid #ffc107;
            padding: 15px;
            border-radius: 0 5px 5px 0;
            margin-top: 20px;
        }
        .section-title {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 40px;
        }
        .section-title:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #0d6efd, #0dcaf0);
        }
        .badge-periodo {
            background-color: #0d6efd;
            color: white;
            font-size: 0.9rem;
        }
        .gallery-section {
            padding: 4rem 0;
            background-color: #f8f9fa;
        }
        .gallery-container {
            position: relative;
        }
        
        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 250px;
        }
        
        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }
        
        .gallery-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .gallery-item:hover .gallery-img {
            transform: scale(1.05);
        }
        
        .gallery-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            color: white;
            padding: 1rem;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }
        
        .gallery-item:hover .gallery-caption {
            transform: translateY(0);
        }
        
        .view-more-btn {
            position: relative;
            padding: 0.75rem 2rem;
            font-weight: 500;
            border-radius: 50px;
            background: linear-gradient(135deg, #0d6efd, #0b5ed7);
            color: white;
            border: none;
            transition: all 0.3s ease;
            margin-top: 2rem;
        }
        
        .view-more-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
        }
        
        .view-more-btn i {
            margin-left: 8px;
            transition: transform 0.3s ease;
        }
        
        .view-more-btn:hover i {
            transform: translateX(5px);
        }
        
        /* Efecto lightbox */
        .modal-img {
            width: 100%;
            border-radius: 5px;
        }
        footer {
            background-color: #333; /* Color de fondo */
            color: white; /* Color del texto */
            text-align: center;
            padding: 20px 0;
           /* position: fixed; /* Para que quede fijo al pie */
            bottom: 0;
            width: 100%;
        }
        .footer-logo, .footer-social, .footer-links {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-logo h2 {
    margin-bottom: 10px;
}

.footer-social h3, .footer-links h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #0077b5; /* Cambia según la red social */
}

.breadcrumb-item.active {
  color: white var(--bs-breadcrumb-item-active-color);
}
