/* ==========================================================================
   CSS Reset & Variables
   ========================================================================== */
:root {
    --bg-color: #f3f6f9;
    --primary-navy: #09233d;
    --primary-red: #ea323d;
    --text-gray: #5e6d7d;
    --text-light-gray: #8292a5;
    --card-bg: #ffffff;
    --icon-bg: #fff0f1;
    --icon-bg-gray: #f4f7fb;
    --icon-color-gray: #4a5d73;
    --check-green: #00b37e;
    --badge-bg: #fffcfc;
    --badge-border: #fce2e4;
    --form-border: #d4dce6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-gray);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
    width: 100%;
}
.container-2 {
    display: none;
}
#primeagile__46754 {
    padding-top: 5rem;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    margin-top: 80px;
    padding: 40px 20px;
    background-color: #ffffff;
}

/* ==========================================================================
   Hero Section Styling
   ========================================================================== */
/* Top Badge */
.badge {
    color: var(--text-gray);
    padding: 6px 0px;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-wrap: wrap;
    text-transform: uppercase;
}

/* Headline */
.headline {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.highlight {
    color: var(--primary-red);
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-color: var(--primary-red);
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}

/* Cards Section */
.cards {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    flex: 1;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.icon-box {
    width: 40px;
    height: 40px;
    background-color: var(--icon-bg);
    color: var(--primary-red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.card-title.red {
    color: var(--primary-red);
}

.card-title.navy {
    color: var(--primary-navy);
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* Features Section */
.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text {
    font-size: 1.05rem;
    color: var(--text-gray);
}

.feature-text strong {
    color: var(--primary-navy);
    font-weight: 700;
}

/* ==========================================================================
   Form Styling
   ========================================================================== */
form.hvac_form {
    font-family: inherit;
    background-color: #ffffff;
    max-width: 480px;
    margin: 40px auto 0; /* Adjusted for flow */
    box-sizing: border-box;
}

/* Header text section */
.hvac_form h3 {
    color: var(--primary-navy);
    font-size: 1.85rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.hvac_form p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 30px;
}

.hvac_form p strong {
    color: var(--primary-navy);
    font-weight: 700;
}

/* Form group spacing */
.hvac_form div.hvac_form > div {
    margin-bottom: 20px;
    width: 100%;
}

/* Label styling */
.hvac_form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #708198;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Input styling */
.hvac_form input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid var(--form-border);
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hvac_form input::placeholder {
    color: #a0aec0;
    font-weight: 500;
}

.hvac_form input:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(9, 35, 61, 0.1);
}

/* Button styling */
.hvac_form .meet-btn {
    width: 100%;
    background-color: var(--primary-red);
    color: #ffffff;
    font-weight: 600;
    padding: 16px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(234, 42, 49, 0.2);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.hvac_form .meet-btn:hover {
    background-color: #d6242a;
}

.hvac_form .meet-btn:active {
    transform: scale(0.98);
}

/* ==========================================================================
   Trust / Features Grid Section (NEW)
   ========================================================================== */
.trust-header {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light-gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.trust-icon-wrap {
    width: 48px;
    height: 48px;
    background-color: var(--icon-bg-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--icon-color-gray);
}

/* If using SVGs for the icons, target them here */
.trust-icon-wrap svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5px;
}

.trust-text h4 {
    color: var(--primary-navy);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.trust-text p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #primeagile__46754 {
        max-width: 98vw;
    }
    .headline {
        font-size: 2.5rem;
    }
    
    .cards {
        flex-direction: column;
        margin: 2rem auto;
        max-width: 90vw;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .container-2 {
        display: block;
    }
    .to-hide {
        display: none;
    }
}