:root {
    --brand-primary-dark: #182b38;
    --brand-primary-mid: #45546c;
    --brand-accent-gold: #fab549;
    --brand-accent-green: #77b800;
    --brand-neutral-ivory: #faf6e4;
    --brand-neutral-white: #ffffff;
    --brand-accent-muted-teal: #799aa3;
    --brand-accent-red: #b82e12;
    --brand-accent-gold-rgb: 250, 181, 73;
}

.service-inquiry-section {
    padding: 80px 0;
}

.section-title-main {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--brand-primary-dark);
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle-main {
    font-size: 1.3rem;
    color: var(--brand-primary-mid);
    margin-bottom: 60px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.inquiry-card {
    background-color: var(--brand-neutral-white);
    border: 1px solid var(--brand-accent-muted-teal); /* Subtle border */
    border-radius: 12px; /* Modern rounded corners */
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Soft, modern shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards are same height in a row */
    display: flex;
    flex-direction: column;
}

.inquiry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.inquiry-card-header {
    text-align: center;
    margin-bottom: 30px;
}

.inquiry-card-icon {
    font-size: 3rem;
    color: var(--brand-accent-gold);
    margin-bottom: 15px;
}

.inquiry-card-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--brand-primary-dark);
}

.inquiry-card-subtitle {
    font-size: 1.1rem;
    color: var(--brand-primary-mid);
    margin-top: -5px;
    margin-bottom: 20px;
}

.attribute-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
    flex-grow: 1; /* Allows list to take available space */
}

.attribute-list li {
    display: flex;
    align-items: flex-start; /* Align icon with first line of text */
    margin-bottom: 20px;
    font-size: 1rem;
}

.attribute-list .icon {
    color: var(--brand-accent-gold);
    margin-right: 12px;
    font-size: 1.2rem;
    width: 20px; /* Fixed width for alignment */
    text-align: center;
    margin-top: 2px; /* Fine-tune vertical alignment */
}

.attribute-list .attribute-label {
    font-weight: 600;
    color: var(--brand-primary-mid);
    display: block;
    margin-bottom: 4px;
}

.attribute-list .attribute-value {
    color: var(--brand-primary-dark);
    line-height: 1.6;
}

.cta-button {
    background-color: var(--brand-accent-gold);
    color: var(--brand-primary-dark);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 8px;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: block; /* Make button full width of its container if needed */
    width: 100%;
    margin-top: auto; /* Pushes button to the bottom */
}

.cta-button:hover {
    background-color: #e0a840; /* Darker gold */
    color: var(--brand-primary-dark);
    transform: translateY(-2px);
}

.contact-methods-section {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background-color: var(--brand-neutral-white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-methods-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brand-primary-dark);
    margin-bottom: 20px;
}

.contact-methods-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.contact-methods-list li {
    margin: 0 20px;
    font-size: 1.1rem;
    color: var(--brand-primary-mid);
}

.contact-methods-list .icon {
    color: var(--brand-accent-gold);
    margin-right: 8px;
    font-size: 1.3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title-main {
        font-size: 2.2rem;
    }
    .section-subtitle-main {
        font-size: 1.1rem;
    }
    .inquiry-card {
        padding: 25px;
    }
    .contact-methods-list li {
        margin: 10px 15px; /* Adjust spacing for smaller screens */
    }
}

/* Add these styles to your existing CSS */

.search-training-section {
    padding: 80px 0;
    background-color: var(--brand-neutral-white); /* Slightly different background for section differentiation if desired, or keep it --brand-neutral-ivory */
}

.search-card {
    background-color: var(--brand-neutral-white); /* Or var(--brand-neutral-ivory) if section is white */
    border: 1px solid #e0e0e0; /* Lighter border for a softer look */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* Ensure it takes full width of col */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
}

.search-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.search-card-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--brand-accent-gold); /* Gold accent */
    color: var(--brand-primary-dark); /* Dark icon for contrast on gold */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem; /* Icon size */
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(250, 181, 73, 0.4); /* Subtle shadow for the icon circle */
}

.search-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--brand-primary-dark);
    margin-bottom: 15px;
}

.search-card-description {
    font-size: 1rem;
    color: var(--brand-primary-mid);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes button to bottom if content varies */
}

.highlight-count {
    color: var(--brand-accent-green); /* Green for counts, or use --brand-accent-gold */
    font-weight: 700;
    font-size: 1.1em; /* Slightly larger */
}

.search-card-cta {
    background-color: transparent;
    color: var(--brand-accent-gold);
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 8px;
    border: 2px solid var(--brand-accent-gold);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-decoration: none; /* Remove underline from <a> */
    display: inline-block; /* Proper button behavior */
    margin-top: auto; /* Pushes button to the bottom */
}

.search-card-cta:hover {
    background-color: var(--brand-accent-gold);
    color: var(--brand-primary-dark); /* Dark text on gold hover */
    transform: translateY(-2px);
    text-decoration: none;
}

/* Re-using section title styles from previous section if they are globally defined */
/* If not, you might need to redefine .section-title-main and .section-subtitle-main or ensure they are accessible */
/* For example, if they were scoped to the previous section, you might need:
.search-training-section .section-title-main { ... }
.search-training-section .section-subtitle-main { ... }
But it's better to define them more globally if they are reused.
*/

/* Ensure d-flex works as intended for equal height cards in a row */
.d-flex {
    display: flex !important;
}
.flex-column {
    flex-direction: column !important;
}
.align-items-center {
    align-items: center !important;
}
/* Add this if you want the cards in a row to be of the same height and content to align */
.row.d-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
.row.d-flex > [class*='col-'] > .search-card {
    flex: 1 1 auto; /* This makes the card fill the column height */
}


/* Add these styles to your existing CSS */

.related-keywords-section {
    padding: 60px 0;
    background-color: var(--brand-neutral-ivory); /* Or var(--brand-neutral-white) depending on surrounding content */
}

.related-keywords-title {
    font-size: 1.8rem; /* Slightly smaller than main section titles */
    font-weight: 600;
    color: var(--brand-primary-dark);
    margin-bottom: 30px;
    position: relative;
    display: inline-block; /* To center the underline properly */
}

/* Optional: Add a subtle underline or accent to the title */
.related-keywords-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--brand-accent-gold);
    margin: 10px auto 0; /* Center the underline if title is text-center */
}


.keywords-tag-cloud {
    display: flex;
    flex-wrap: wrap; /* Allow tags to wrap to the next line */
    justify-content: center; /* Center tags */
    gap: 12px; /* Spacing between tags */
}

.keyword-tag {
    display: inline-block;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brand-primary-mid); /* Mid-dark text color */
    background-color: var(--brand-neutral-white); /* Light background for tags */
    border: 1px solid var(--brand-accent-muted-teal); /* Subtle border */
    border-radius: 20px; /* Pill-shaped tags */
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.keyword-tag:hover {
    color: var(--brand-neutral-white); /* White text on hover */
    background-color: var(--brand-accent-gold); /* Gold background on hover */
    border-color: var(--brand-accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--brand-accent-gold-rgb, 250, 181, 73), 0.3); /* Use RGB for opacity if var() is complex */
    text-decoration: none;
}
