/* Service Card Button Visibility Fix */

/* Make Learn More buttons more prominent on service cards */
.service-card .btn-primary {
    background: var(--gold) !important;
    color: #000 !important;
    font-weight: bold !important;
    padding: 0.8rem 2rem !important;
    display: inline-block !important;
    margin-top: 1.5rem !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 1rem !important;
}

.service-card .btn-primary:hover {
    background: var(--dark-gold) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3) !important;
}

/* Remove conflicting service card link styles for buttons */
.service-card a.btn-primary::after {
    display: none !important;
}

/* Ensure proper spacing */
.service-card ul {
    margin-bottom: 1.5rem;
}

/* Alternative style for service page specifically */
.services-grid .service-card a.btn-primary {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* Ensure even spacing for service cards */
.services-main .service-card > p {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

/* Ensure the image container doesn't affect button alignment */
.services-main .service-card > div:first-of-type {
    flex-shrink: 0;
}

/* Make sure the buttons align at the bottom */
.services-main .service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services-main .service-card ul {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.services-main .service-card .btn-primary {
    margin-top: auto !important;
    align-self: stretch;
}

/* Fix for CTA section buttons */
.cta-section .btn-primary,
.cta-section a.btn-primary {
    background: var(--gold) !important;
    color: #000 !important;
    font-weight: bold !important;
    border: 2px solid var(--gold) !important;
    padding: 0.8rem 2rem !important;
    display: inline-block !important;
    text-decoration: none !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 1.2rem !important;
    letter-spacing: 1px !important;
}

.cta-section .btn-primary:hover,
.cta-section a.btn-primary:hover {
    background: transparent !important;
    color: var(--gold) !important;
}

.cta-section .btn-secondary,
.cta-section a.btn-secondary {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
    padding: 0.8rem 2rem !important;
    display: inline-block !important;
    text-decoration: none !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 1.2rem !important;
    letter-spacing: 1px !important;
}

.cta-section .btn-secondary:hover,
.cta-section a.btn-secondary:hover {
    background: white !important;
    color: #000 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card .btn-primary {
        width: 100% !important;
        text-align: center !important;
    }
    
    .cta-section .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-section .cta-buttons a {
        margin: 0 !important;
        width: 100%;
    }
}