/* New card styles based on code.html design */
.hola-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(382px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

.hola-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.hola-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

.hola-card .card-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
    width: 100%;
}

.hola-card .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hola-card:hover .card-image {
    transform: scale(1.1);
}

.hola-card .image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.hola-card:hover .image-overlay {
    background-color: transparent;
}

.hola-card .card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1rem;
    padding-top: 0;
    background-color: #0a1628;
}

.hola-card .card-icon-container {
    margin-top: -2.5rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 0.75rem;
    background-color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    position: relative;
    z-index: 10;
    transition: all 0.3s;
    opacity: 0;
}

.hola-card:hover .card-icon-container {
    background-color: #C8A668; /* Primary gold color */
    color: #ffffff;
}

.hola-card .card-icon {
    font-size: 1.5rem;
    color: #1f3d3f;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;

    svg {
        width: 30px;
        height: auto;
    }
}

.hola-card:hover .card-icon {
    color: #ffffff;

    svg {
        path {
            fill: #ffffff;
        }
    }
}

.hola-card .card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0;
    background-color: transparent;
    border: none;
}

.hola-card .card-eyebrow {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: #C8A668; /* Primary gold color */
    background-color: rgba(200, 166, 104, 0.1); /* 10% opacity of primary */
    border-radius: 9999px;
    border: 1px solid rgba(200, 166, 104, 0.2); /* 20% opacity of primary */
}

/* Allow inline styles to override defaults */
/* .hola-card .card-eyebrow[style] {
    color: inherit !important;
    background-color: inherit !important;
    border: inherit !important;
} */

.hola-card .card-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.hola-card .card-description {
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.625;
}

.hola-card .card-bullets {
    margin: 0;
    padding: 0;
    margin-bottom: 0.5rem;
}

.hola-card .card-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.hola-card .card-bullets li:last-child {
    margin-bottom: 0;
}

.hola-card .bullet-marker {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background-color: #C8A668; /* Primary gold color */
    margin-top: 0.5rem;
    flex-shrink: 0;
    position: relative;
    top: 4px;
}

.hola-card .bullet-text {
    font-size: 14px;
    color: #fff;
}

.hola-card .card-footer {
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.hola-card .card-cta {
    display: inline-flex;
    align-items: center;
    color: #111827;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.hola-card .card-cta:hover {
    color: #C8A668; /* Primary gold color */
}

.hola-card .cta-arrow {
    margin-left: 0.5rem;
    font-size: 1.125rem;
    transition: transform 0.3s;
}

.hola-card:hover .cta-arrow {
    transform: translateX(4px);
}

/* Dark mode support - using class-based dark mode */
.hola-card.dark-mode {
    background-color: #1F2937;
    border-color: #374151;
}

.hola-card.dark-mode .card-title {
    color: #ffffff;
}

.hola-card.dark-mode .card-description {
    color: #d1d5db;
}

.hola-card.dark-mode .bullet-text {
    color: #9ca3af;
}

.hola-card.dark-mode .card-icon {
    color: #d1d5db;
}

.hola-card.dark-mode .card-footer {
    border-color: #374151;
}

.hola-card.dark-mode .card-cta {
    color: #ffffff;
}

.hola-card.dark-mode .card-cta:hover {
    color: #C8A668; /* Primary gold color */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hola-cards {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }
    
    .hola-card .card-content {
        padding: 1.5rem;
    }

/*     .hola-card .bullet-text,
    .hola-card .card-eyebrow {
        font-size: 10px;
    } */
}

/* Hover effects for service-card-hover class */
.service-card-hover {
    transition: all 0.3s ease;
}

/* Animation for icon */
.service-icon {
    transition: transform 0.3s ease;
}

.service-card-hover:hover .service-icon {
    transform: scale(1.1);
}

/* Animation for arrow */
.arrow-icon {
    transition: transform 0.3s ease;
}

.service-card-hover:hover .arrow-icon {
    transform: translateX(4px);
}

/* Slide up fade animation for cards */
@keyframes slideFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hola-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hola-card.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    animation: slideFadeUp 0.6s ease-out forwards;
}


