:root {
    --azul-caribeno: #1f6157ff;
    --verde-oscuro: #002e28ff;
    --azul-tiffany: #a9e6ddff;
    --purpura-tiranio: #720c38ff;
    --oro-satin: #c39e58ff;
    --primary-color: #1f6157; /* Azul Caribeño */
    --secondary-color: #002e28; /* Verde Oscuro */
    --accent-color: #c39e58; /* Oro Satín */
    --light-bg: #a9e6dd; /* Azul Tiffany */
    --dark-bg: #720c38; /* Púrpura Tiranio */
    --blanco: #ffffff; /* Azul Tiffany */
}

body {
    background-color: white;
    color: black;
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: var(--verde-oscuro);
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: white !important;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.navbar-nav .nav-link {
    color: white;
    margin-left: 15px;
}

.navbar-nav .nav-link:hover {
    color: var(--azul-tiffany);
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('/img/hero/hero-diabetes01.jpg');  /* Updated path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    color: #e8f5e9;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.btn-cta {
    background-color: #C5A572; /* Satin Gold */
    color: white;
    border-radius: 30px;
    padding: 15px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #B69662;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 165, 114, 0.3);
}

.hero-buttons .btn-outline-light {
    border-radius: 25px;
    padding: 10px 30px;
    margin: 0 5px;
}
    

.accordion-button:focus {
    border-color: var(--azul-caribeno);
    box-shadow: 0 0 0 0.25rem rgba(31, 97, 87, 0.25);
}

.list-group-item {
    border-left: 3px solid var(--azul-caribeno);
    margin-bottom: 5px;
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}
@media (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
    }
}
.carousel-item {
    height: 100vh;
    min-height: 500px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* Add these carousel styles */
/* Update carousel styles */
#heroCarousel {
    max-height: 600px;
    overflow: hidden;
    max-width: 1140px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#heroCarousel .carousel-item {
    max-height: 600px;
}

#heroCarousel .carousel-item img {
    object-fit: cover;
    object-position: center;
    height: 600px;
    border-radius: 10px;
}

/* Add padding to header for spacing */
header {
    padding: 2rem 0;
    background-color: var(--light-bg);
}

/* Adjust responsive behavior */
@media (max-width: 1200px) {
    #heroCarousel {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    #heroCarousel {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    #heroCarousel {
        max-width: 540px;
    }
    #heroCarousel,
    #heroCarousel .carousel-item,
    #heroCarousel .carousel-item img {
        max-height: 400px;
        height: 400px;
    }
}

@media (max-width: 576px) {
    #heroCarousel {
        max-width: 100%;
        border-radius: 0;
    }
    #heroCarousel .carousel-item img {
        border-radius: 0;
    }
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #heroCarousel, 
    #heroCarousel .carousel-item,
    #heroCarousel .carousel-item img {
        max-height: 400px;
        height: 400px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}
.objetivo-programa {
    background-color: var(--azul-caribeno);
    color: white;
}

.programa-detalle {
    background-color: var(--azul-tiffany);
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.cta-buttons {
    padding: 2rem 0;
}

.cta-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}
.emd-logo-banner {
    background-color: var(--verde-oscuro);
    padding: 1rem 0;
    text-align: center;
}

.emd-header-logo {
    height: 200px;
   
    transition: transform 0.3s ease;
}

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

/* Adjust existing navbar styles */
.navbar {
    margin-top: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
    }
}
.carousel-item {
    height: 100vh;
    min-height: 500px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* Add these carousel styles */
/* Update carousel styles */
#heroCarousel {
    .btn-outline-primary {
        color: var(--azul-caribeno);
        border-color: var(--azul-caribeno);
    }
    
    .btn-outline-primary:hover {
        background-color: var(--azul-caribeno);
        border-color: var(--azul-caribeno);
        color: white;
    }
    
    .btn-primary {
        background-color: var(--azul-caribeno);
        border-color: var(--azul-caribeno);
    }
    
    .btn-primary:hover {
        background-color: var(--verde-oscuro);
        border-color: var(--verde-oscuro);
    }
   
    overflow: hidden;
    max-width: 1140px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#heroCarousel .carousel-item {
    max-height: 600px;
}

#heroCarousel .carousel-item img {
    object-fit: cover;
    object-position: center;
    height: 600px;
    border-radius: 10px;
}

/* Add padding to header for spacing */
header {
    padding: 2rem 0;
    background-color: var(--light-bg);
}

/* Adjust responsive behavior */
@media (max-width: 1200px) {
    #heroCarousel {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    #heroCarousel {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    #heroCarousel {
        max-width: 540px;
    }
    #heroCarousel,
    #heroCarousel .carousel-item,
    #heroCarousel .carousel-item img {
        max-height: 400px;
        height: 400px;
    }
}

@media (max-width: 576px) {
    #heroCarousel {
        max-width: 100%;
        border-radius: 0;
    }
    #heroCarousel .carousel-item img {
        border-radius: 0;
    }
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #heroCarousel, 
    #heroCarousel .carousel-item,
    #heroCarousel .carousel-item img {
        max-height: 400px;
        height: 400px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}
.objetivo-programa {
    background-color: var(--azul-caribeno);
    color: white;
}

.programa-detalle {
    background-color: var(--azul-tiffany);
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.cta-buttons {
    padding: 2rem 0;
}

.cta-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}
.footer {
    background-color: var(--verde-oscuro);
    color: var(--blanco);
    padding: 2rem 0;
}

.footer h5 {
    color: var(--blanco);
    font-weight: 600;
}

.footer a {
    color: var(--blanco);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    color: var(--verde-oscuro);
    opacity: 0.8;
}

.footer .social-icons a {
    color: var(--verde-oscuro);
    font-size: 1.2rem;
}

.footer hr {
    border-color: var(--blanco);
    opacity: 0.2;
}
.nav-pills .nav-link {
    color: var(--azul-caribeno);
}

.nav-pills .nav-link.active {
    background-color: var(--azul-caribeno);
    color: white;
}

.nav-pills .nav-link:hover:not(.active) {
    color: var(--verde-oscuro);
}

.nav-pills .nav-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(31, 97, 87, 0.25);
}

.btn-outline-primary {
    color: var(--azul-caribeno);
    border-color: var(--azul-caribeno);
}

.btn-outline-primary:hover {
    background-color: var(--azul-caribeno);
    border-color: var(--azul-caribeno);
    color: white;
}

.btn-primary {
    background-color: var(--azul-caribeno);
    border-color: var(--azul-caribeno);
}

.btn-primary:hover {
    background-color: var(--verde-oscuro);
    border-color: var(--verde-oscuro);
}

.fas, .fab, .far, .bi {
    color: var(--azul-caribeno);
}

.feature-icon .fas {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--azul-caribeno);
}

.card-body .text-success {
    color: var(--azul-caribeno) !important;
}


.nav-item {
    color: var(--blanco);
    border-color: var(--azul-caribeno);
}

.nav-pills .nav-link {
    color: var(--azul-caribeno);
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background-color: var(--oro-satin) !important;
    color: white;
}

.nav-pills .nav-link:hover:not(.active) {
    color: var(--oro-satin);
}

.nav-pills .nav-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(195, 158, 88, 0.25);
}

.bg-primary {
    background-color: var(--azul-caribeno)!important;
}
/* Contact section styles */
.contact-info .bi {
    color: var(--azul-caribeno);
}

.contact-info a {
    color: var(--azul-caribeno);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--verde-oscuro);
    opacity: 0.8;
}

.text-primary {
    color: var(--azul-caribeno) !important;
}
.footer {
    background-color: var(--verde-oscuro);
    color: var(--blanco);
    padding: 2rem 0;
}

.footer h5 {
    color: var(--blanco);
    font-weight: 600;
}

.footer a {
    color: var(--blanco);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    color: var(--verde-oscuro);
    opacity: 0.8;
}

.footer .social-icons a {
    color: var(--verde-oscuro);
    font-size: 1.2rem;
}

.footer hr {
    border-color: var(--blanco);
    opacity: 0.2;
}
.nav-pills .nav-link {
    color: var(--azul-caribeno);
}

.nav-pills .nav-link.active {
    background-color: var(--azul-caribeno);
    color: white;
}

.nav-pills .nav-link:hover:not(.active) {
    color: var(--verde-oscuro);
}

.nav-pills .nav-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(31, 97, 87, 0.25);
}

.btn-outline-primary {
    color: var(--azul-caribeno);
    border-color: var(--azul-caribeno);
}

.btn-outline-primary:hover {
    background-color: var(--azul-caribeno);
    border-color: var(--azul-caribeno);
    color: white;
}

.btn-primary {
    background-color: var(--azul-caribeno);
    border-color: var(--azul-caribeno);
}

.btn-primary:hover {
    background-color: var(--verde-oscuro);
    border-color: var(--verde-oscuro);
}

.fas, .fab, .far, .bi {
    color: var(--azul-caribeno);
}

.feature-icon .fas {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--azul-caribeno);
}

.card-body .text-success {
    color: var(--azul-caribeno) !important;
}


.nav-item {
    color: var(--blanco);
    border-color: var(--azul-caribeno);
}

.nav-pills .nav-link {
    color: var(--azul-caribeno);
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background-color: var(--oro-satin) !important;
    color: white;
}

.nav-pills .nav-link:hover:not(.active) {
    color: var(--oro-satin);
}

.nav-pills .nav-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(195, 158, 88, 0.25);
}

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