/* =========================================
   Homepage Redesign Styles
   ========================================= */

/* Intro Section */
.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-gray-dark);
    margin-top: 20px;
}

/* Industries Grid (Cards) */
.industry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card-image-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.card-image {
    position: relative;
    width: 350px;
    height: 350px;
    /* Fixed square dimension */
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    margin-bottom: 0;
    /* Handled by grid gap/padding */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Dark gradient overlay for text readability */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
}

.card-overlay h4 {
    color: var(--color-white);
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 5px;
}

/* Trust Section */
.trust-section {
    background-color: var(--color-bg-gray);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.h3-trust {
    font-size: 27px;
    text-align: center;
}

@media (max-width: 768px) {
    #trust-heading {
        padding-top: 50px;
    }
}

.display-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.guarantee-box {
    padding: 30px;
    background: var(--color-white);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
}

.guarantee-icon {
    margin-bottom: 20px;
}

.guarantee-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.process-list {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.8;
    display: inline-block;
    text-align: left;
}

.process-list li {
    margin-bottom: 15px;
}

/* Roles Checklist */
.role-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    margin-top: 30px;
}

.role-list {
    width: 30%;
    font-size: 16px;
    line-height: 2;
}

@media (max-width: 768px) {
    .role-list {
        width: 100%;
        margin-bottom: 20px;
    }

    .display-flex {
        display: block;
    }
}

/* Assessments Redesign (Premium) */
.assessments-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
}

.assessments-hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 40px 60px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin: 0 20px;
}

.assessments-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.assessments-hero p {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
}

#dimensions-heading {
    font-size: 20px;
}

.dimension-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.dimension-card {
    background: var(--color-white);
    padding: 30px 20px;
    border-radius: 3px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 2px solid var(--color-primary);
}

.dimension-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dimension-card .dimension-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.dimension-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.disc-pill {
    display: inline-block;
    padding: 8px 25px;
    border-radius: 3px;
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.disc-pill.dominance {
    background: var(--color-disc-d);
}

.disc-pill.influence {
    background: var(--color-disc-i);
}

.disc-pill.steadiness {
    background: var(--color-disc-s);
}

.disc-pill.compliance {
    background: var(--color-disc-c);
}

.compliance-badge {
    padding: 24px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0 50px 0
}

@media (max-width: 768px) {
    .assessments-hero {
        height: 40vh;
    }

    .assessments-hero-overlay {
        padding: 20px;
    }
}

/* Utilities for Assessments Redesign */
.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-light {
    background-color: var(--color-bg-gray) !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.border-radius-8 {
    border-radius: 8px !important;
}

.max-width-800 {
    max-width: 800px !important;
}

.max-width-500 {
    max-width: 500px !important;
}

.max-width-250 {
    max-width: 250px !important;
}

.max-width-200 {
    max-width: 200px !important;
}

.center-block {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.pd-50 {
    padding: 50px !important;
}

.text-xs {
    font-size: 12px !important;
}