Files
ukaiautomation/button-fixes.css
2025-06-08 11:21:30 +01:00

113 lines
2.0 KiB
CSS

/* Fix for button display issues */
.btn {
display: inline-block;
padding: 14px 28px;
border: none;
border-radius: 8px;
text-decoration: none;
font-weight: 500;
font-size: 16px;
text-align: center;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
line-height: 1.4;
min-height: 50px;
vertical-align: middle;
white-space: nowrap;
overflow: visible;
color: inherit;
}
.btn-primary {
background: #179e83 !important;
color: white !important;
border: 2px solid #179e83;
}
.btn-primary:hover {
transform: translateY(-2px);
background: #11725e !important;
box-shadow: 0 4px 16px rgba(23, 158, 131, 0.3);
color: white !important;
text-decoration: none;
}
.btn-secondary {
background: transparent;
color: #179e83;
border: 2px solid #179e83;
}
.btn-secondary:hover {
background: #179e83;
color: white;
transform: translateY(-2px);
text-decoration: none;
}
/* Ensure text is visible in buttons */
.btn * {
color: inherit !important;
}
/* Fix for CTA sections */
.expert-consultation-cta {
background: #f8fafc;
padding: 2rem;
border-radius: 8px;
text-align: center;
margin: 2rem 0;
border: 1px solid #e2e8f0;
}
.expert-consultation-cta h3 {
margin-bottom: 1rem;
color: #1a202c;
}
.expert-consultation-cta p {
margin-bottom: 1.5rem;
color: #4a5568;
}
.cta-buttons {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
margin-top: 1.5rem;
}
.cta-content {
text-align: center;
max-width: 600px;
margin: 0 auto;
}
.cta-content h2 {
margin-bottom: 1rem;
color: #1a202c;
font-size: 2rem;
}
.cta-content p {
margin-bottom: 2rem;
color: #4a5568;
font-size: 1.125rem;
}
/* Mobile responsiveness for buttons */
@media (max-width: 768px) {
.cta-buttons {
flex-direction: column;
align-items: center;
}
.btn {
width: 100%;
max-width: 300px;
text-align: center;
}
}