/* --- History Section Wrapper --- */
.sales-history-section {
    padding: 100px 10% !important; /* Matches the hero section padding */
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

/* --- The History Title --- */
.sales-history-title h2 {
    color: var(--sales-navy) !important;
    font-family: var(--sales-font-serif) !important;
    font-size: 36px !important;
    font-weight: 600;
    margin-bottom: 30px !important; /* Space before the text starts */
    letter-spacing: -0.02em;
}

/* --- The Body Text --- */
.sales-history-text {
    /* Limits width to prevent long, hard-to-read lines */
    max-width: 950px !important; 
}

.sales-history-text .elementor-text-editor, 
.sales-history-text  {
    color: #525f7f !important; /* Soft professional gray */
    font-family: var(--sales-font-sans) !important;
    font-size: 16px !important;
    line-height: 1.85 !important; /* Critical for the "airy" feel of the original */
    margin-bottom: 22px !important; /* Spacing between paragraphs */
}

/* --- Highlighted Text --- */
.sales-history-text strong {
    color: var(--sales-navy) !important; /* Makes bold text stand out in navy */
    font-weight: 700;
}

/* --- Section & Main Title --- */
.sales-mvv-section {
    background-color: #f8f9fa !important;
}

.sales-mvv-main-title h2 {
    color: var(--sales-navy) !important;
    font-family: var(--sales-font-serif) !important;
    font-size: 32px !important;
    margin-bottom: 60px !important;
    text-align: center;
}

.sales-mvv-flex-container {
    display: flex !important;
    flex-wrap: wrap !important; /* This allows them to drop to new lines */
    justify-content: center !important;
    gap: 30px !important;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- The Card Styling --- */
.sales-mvv-card {
    background: #ffffff !important;
    padding: 45px 30px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    flex: 1 1 350px;
    max-width: 380px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
}

/* --- Icon, Title, and Text Spacing --- */
.sales-mvv-card .elementor-widget-icon {
    margin-bottom: 20px !important;
}

.sales-mvv-card .elementor-icon {
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sales-mvv-card .elementor-icon svg path {
    fill: var(--sales-gold) !important;
}

.sales-mvv-card .elementor-icon svg,
.sales-mvv-card .elementor-icon i {
    fill: var(--sales-gold);
    color: var(--sales-gold);
    font-size: 40px;
}


.sales-mvv-card h3 {
    color: var(--sales-navy) !important;
    font-family: var(--sales-font-serif) !important;
    font-size: 22px !important;
    margin-bottom: 15px !important; /* Tight to the text */
}

.sales-mvv-card p {
    color: #525f7f !important;
    font-family: var(--sales-font-sans) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

/* --- 1. Section & Headers --- */
.sales-diff-section {
    background-color: #ffffff !important;
    padding: 100px 10% !important;
    text-align: center;
}

.sales-diff-pretitle h5 {
    color: var(--sales-gold-accent) !important;
    font-family: var(--sales-font-sans) !important;
    font-size: 13px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px !important;
}

.sales-diff-main-title h2 {
    color: var(--sales-navy) !important;
    font-family: var(--sales-font-serif) !important;
    font-size: 36px !important;
    font-weight: 600;
    margin-top: 0 !important;
    margin-bottom: 50px !important;
}

/* --- 2. Flex Container for the Grid --- */
.sales-diff-flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* Space between the cards */
    max-width: 1200px;
    margin: 0 auto;
}

/* --- 3. Individual Difference Cards --- */
.sales-diff-card {
    /* Takes up 50% of the row minus the gap, forcing a 2x2 grid */
    flex: 0 1 calc(50% - 15px); 
    min-width: 350px; /* Forces stack to 1 column on mobile screens */
    
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    padding: 35px 30px !important;
    
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important; /* Aligns icon to top of text */
    gap: 20px !important;
    text-align: left;
    transition: all 0.3s ease;
}

/* Subtle hover effect to match previous sections */
.sales-diff-card:hover {
    border-color: var(--sales-gold) !important;
    transform: translateY(-3px);
}

/* --- 4. The Icon Background (Soft Rounded Square) --- */
.sales-diff-card .elementor-icon {
    background-color: #fcf9f1 !important; /* Very pale warm background */
    min-width: 55px !important;
    height: 55px !important;
    border-radius: 12px !important; /* Squarish corners instead of a circle */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0 !important; 
    flex-shrink: 0; /* Prevents icon from squishing if text is long */
}

/* Force Gold Icon Color */
.sales-diff-card .elementor-icon i,
.sales-diff-card .elementor-icon svg,
.sales-diff-card .elementor-icon svg path {
    fill: var(--sales-gold) !important;
    color: var(--sales-gold) !important;
    stroke: var(--sales-gold) !important;
    font-size: 22px !important;
}

/* --- 5. Text Styling --- */
/* Target Elementor widgets inside the card to remove default margins */
.sales-diff-card .elementor-widget-heading,
.sales-diff-card .elementor-widget-text-editor {
    margin-bottom: 0 !important;
}

.sales-diff-card h3 {
    color: var(--sales-navy) !important;
    font-family: var(--sales-font-serif) !important;
    font-size: 20px !important;
    font-weight: 600;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

.sales-diff-card p {
    color: #525f7f !important;
    font-family: var(--sales-font-sans) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

/* Section Background */
.sales-cta-section {
    background-color: #0F1F3D !important; /* Your brand navy */
    text-align: center;
}

/* Heading Styling */
.sales-cta-title h2 {
    color: var(--sales-gold) !important; /* Gold text from hero section */
    font-family: var(--sales-font-serif) !important;
    font-size: 36px !important;
    margin-bottom: 15px !important;
}

/* Subtitle Styling */
.sales-cta-subtitle p {
    color: var(--sales-gold-accent) !important;
    opacity: 0.9;
    font-family: var(--sales-font-sans) !important;
    margin-bottom: 0 !important;
}

/* --- Outer Flexbox for Buttons --- */
.sales-cta-button-wrapper {
    display: flex !important;
    flex-direction: row !important; /* Side-by-side on desktop */
    justify-content: center !important; /* Centers buttons horizontally */
    align-items: center !important;
    gap: 20px !important; /* Spacing between the two buttons */
    margin-top: 0 !important; /* Space between text and buttons */
    width: 100% !important;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 767px) {
    .sales-cta-button-wrapper {
        flex-direction: column !important; /* Stacks buttons on small screens */
        gap: 15px !important;
    }
    
    .sales-cta-button-wrapper .elementor-widget-button {
        width: 100% !important; /* Optional: buttons take full width on mobile */
    }
}

/* Button 1: Solid Gold */
.cta-button-gold .elementor-button {
    background-color: #C6A953 !important; /* Solid brand gold */
    color: #0a1a35 !important; /* Navy text for contrast */
    font-weight: 600 !important;
    border-radius: 5px !important;
    padding: 15px 30px !important;
    transition: all 0.3s ease;
}

/* Button 2: White Outline/Solid (Optional) */
.cta-button-white .elementor-button {
    background-color: #ffffff !important;
    color: var(--sales-gold) !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    padding: 15px 30px !important;
}