:root {
    --primary-color: #2f4f59;
    --secondary-color: #405358;
    --accent-color: #d0d0d1;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.navbar {
    background-color: rgba(48, 80, 93, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.navbar-brand {
    margin: 0 auto;
}
.navbar-brand img {
    width: auto;
    height: 40px;
}
.navbar-brand img:not(.logo_h) {
    height: 100px;
}

.nav-link{
    font-size: 18px;
}

.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel {
    height: 100vh;
}

.carousel-inner {
    height: 100vh;
}

.carousel-item {
    height: 100vh;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(3px);
    margin: 0 auto;
        top: 30%;
}

.carousel-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.carousel-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.btn-custom {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

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

.news-card-img {
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    overflow: hidden;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5rem 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 10px;
    padding: 12px 15px;
}

.form-control::placeholder, .form-select::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 110, 0.25);
    color: white;
}
.form-control, .form-select option {
    color: #000;
}
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .carousel-content h1 {
        font-size: 2.5rem;
    }
    
    .carousel-content p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 2.2rem;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #fff;
    text-decoration: none;
}
/*internas*/
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0 3rem;
    margin-bottom: 3rem;
    position: relative;
    border: 1px solid #2c3e50;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../uploads//1750804133_c2xpZGVyMQ==.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

#interna .news-card-img {
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.news-category {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    text-decoration: none;
}

.news-title:hover {
    color: var(--accent-color);
}

.news-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #999;
}

.news-author {
    display: flex;
    align-items: center;
}

.news-author i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.btn-read-more {
    background-color: var(--accent-color);
    border: none;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background-color: #b8975f;
    color: white;
    transform: translateY(-2px);
}

.pagination-custom {
    margin-top: 3rem;
}

.pagination-custom .page-link {
    border: none;
    color: var(--primary-color);
    margin: 0 0.2rem;
    border-radius: 8px;
}

.pagination-custom .page-link:hover,
.pagination-custom .page-item.active .page-link {
    background-color: var(--accent-color);
    color: white;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.recent-news-item {
    display: flex;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.recent-news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.recent-news-img {
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    flex-shrink: 0;
    margin-right: 1rem;
}

.recent-news-content a {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
    text-decoration: none;
}
.recent-news-content a:hover {
    color: var(--accent-color);
}

.recent-news-date {
    font-size: 0.8rem;
    color: #999;
}

.search-form {
    position: relative;
}

.search-form input {
    border-radius: 25px;
    padding-right: 3rem;
    border: 2px solid #eee;
}

.search-form button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    border: none;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}


        .breadcrumb-section {
            background-color: var(--light-bg);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
        }

        .breadcrumb {
            background: none;
            padding: 0;
            margin: 0;
        }

        .breadcrumb-item a {
            color: var(--primary-color);
            text-decoration: none;
        }

        .breadcrumb-item.active {
            color: var(--accent-color);
        }

        .article-header {
            margin-bottom: 2rem;
        }

        .article-category {
            background: var(--accent-color);
            color: white;
            padding: 0.3rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: inline-block;
            margin-bottom: 1rem;
        }

        .article-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .article-summary {
            font-size: 1.2rem;
            color: #666;
            font-style: italic;
            margin-bottom: 1.5rem;
            padding-left: 1rem;
            border-left: 4px solid var(--accent-color);
        }

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 2rem;
            padding: 1rem 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
            margin-bottom: 2rem;
        }

        .meta-item {
            display: flex;
            align-items: center;
            color: #666;
        }

        .meta-item i {
            margin-right: 0.5rem;
            color: var(--accent-color);
        }

        .social-share {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-left: auto;
        }

        .social-share span {
            font-weight: 600;
            color: var(--primary-color);
        }

        .social-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-btn:hover {
            transform: translateY(-2px);
            color: white;
        }

        .social-btn.facebook { background-color: #3b5998; }
        .social-btn.twitter { background-color: #1da1f2; }
        .social-btn.linkedin { background-color: #0077b5; }
        .social-btn.whatsapp { background-color: #25d366; }

        .article-image {
            width: 100%;
            
            object-fit: cover;
            border-radius: 10px;
            margin-bottom: 2rem;
        }

        .article-content {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 3rem;
        }

        .article-content h2 {
            color: var(--primary-color);
            font-size: 1.8rem;
            margin: 2rem 0 1rem;
            border-bottom: 2px solid var(--accent-color);
            padding-bottom: 0.5rem;
        }

        .article-content h3 {
            color: var(--primary-color);
            font-size: 1.4rem;
            margin: 1.5rem 0 1rem;
        }

        .article-content p {
            margin-bottom: 1.2rem;
            text-align: justify;
        }

        .article-content ul, .article-content ol {
            margin-bottom: 1.2rem;
            padding-left: 2rem;
        }

        .article-content blockquote {
            background: var(--light-bg);
            border-left: 4px solid var(--accent-color);
            padding: 1rem 1.5rem;
            margin: 1.5rem 0;
            font-style: italic;
        }

        .gallery-section {
            margin: 3rem 0;
        }

        .gallery-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 3rem;
        }

        .gallery-item {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .gallery-item:hover {
            transform: scale(1.05);
        }

        .gallery-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-overlay i {
            color: white;
            font-size: 2rem;
        }

        .related-articles {
            background: var(--light-bg);
            padding: 3rem 0;
            margin-top: 4rem;
        }

        .related-title {
            text-align: center;
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 2rem;
        }

        .related-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            margin-bottom: 1.5rem;
        }

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

        .related-card img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }

        .related-content {
            padding: 1.2rem;
        }

        .related-category {
            background: var(--primary-color);
            color: white;
            padding: 0.2rem 0.6rem;
            border-radius: 10px;
            font-size: 0.8rem;
            text-transform: uppercase;
            margin-bottom: 0.8rem;
            display: inline-block;
        }

        .related-title-link {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary-color);
            text-decoration: none;
            line-height: 1.3;
        }

        .related-title-link:hover {
            color: var(--accent-color);
        }

        .related-date {
            font-size: 0.9rem;
            color: #999;
            margin-top: 0.5rem;
        }