/* ==========================================
   USPS SERVICE PAGE STYLES
   ========================================== */

/* Hero Section */
.usps-hero-section {
    background: radial-gradient(ellipse at 20% 30%, #2B4150 0%, #2B4150 25%, #207C7E 55%, #1D95D1 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* SVG Pattern Background - FULLY VISIBLE */
.usps-hero-section::before {
    content: '';
    position: absolute;
    top: -3%;
    left: 40%;
    right: -10%;
    bottom: -3%;
    background-image: url('https://arrowheadprstg.wpengine.com/wp-content/uploads/2026/01/subelement.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 750px;
    opacity: 1;
    pointer-events: none;
    z-index: 2;
}

.usps-hero-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.usps-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.usps-hero-content {
    color: #FFFFFF;
}

.usps-hero-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #6EB510;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
}

.usps-hero-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 600px; /* Reduced title width */
}

.usps-hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #F5F5F5;
    margin-bottom: 32px;
    max-width: 800px; /* Increased description width - extends much further */
}

.usps-hero-cta .btn-primary {
    display: inline-block;
    background: #FFFFFF !important;
    color: #2B4150 !important;
    padding: 16px 40px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.usps-hero-cta .btn-primary:hover {
    background: #2B4150 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.usps-hero-cta .btn-primary:focus {
    outline: none !important;
    box-shadow: none !important;
}

.usps-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.usps-hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Text + Image Section */
.usps-text-image-section {
    background: #FFFFFF;
    padding: 100px 0;
}

.usps-text-image-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.usps-text-image-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Reverse layout option */
.usps-text-image-reverse .usps-text-image-inner {
    direction: rtl;
}

.usps-text-image-reverse .usps-text-image-content,
.usps-text-image-reverse .usps-text-image-image {
    direction: ltr;
}

.usps-text-image-content h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #2B4150;
    line-height: 1.2;
    margin-bottom: 24px;
}

.usps-text-image-content p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2B4150;
    margin-bottom: 20px;
}

.usps-text-image-content strong {
    color: #1D95D1;
    font-weight: 700;
}

.usps-text-image-content a {
    color: #1D95D1;
    font-weight: 600;
}

.usps-text-image-content .btn-primary {
    margin-top: 20px;
    display: inline-block;
    background: #2B4150;
    color: #FFFFFF;
    padding: 16px 40px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.usps-text-image-content .btn-primary:hover {
    background: #1D95D1;
    transform: translateY(-2px);
}

.usps-text-image-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.usps-text-image-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(43, 65, 80, 0.15);
    display: block;
}

/* Postal Pricing Section */
.usps-pricing-section {
    background: #F5F5F5;
    padding: 100px 0;
}

.usps-pricing-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.usps-pricing-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.usps-pricing-header h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: #2B4150;
    margin-bottom: 20px;
}

.usps-pricing-header .rate-change-notice {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #2B4150;
    margin-bottom: 12px;
}

.usps-pricing-header .download-notice {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
}

.usps-pricing-header .download-notice a {
    color: #1D95D1;
    font-weight: 600;
    text-decoration: underline;
}

.usps-pricing-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2B4150;
    margin-bottom: 40px;
    text-align: center;
}

/* PDF Embed Container */
.usps-pdf-embed {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(43, 65, 80, 0.1);
}

.usps-pdf-embed iframe {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 4px;
}

/* ========== TABLET BREAKPOINT ========== */
@media (max-width: 1024px) {
    .usps-hero-inner,
    .usps-text-image-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .usps-hero-image {
        order: -1;
    }
    
    .usps-text-image-reverse .usps-text-image-inner {
        direction: ltr;
    }
}

/* ========== MOBILE BREAKPOINT ========== */
@media (max-width: 768px) {
    .usps-hero-section,
    .usps-text-image-section,
    .usps-pricing-section {
        padding: 60px 0;
    }
    
    .usps-hero-section .container,
    .usps-text-image-section .container,
    .usps-pricing-section .container {
        padding: 0 20px;
    }
    
    .usps-hero-section::before {
        display: none;
    }
    
    .usps-hero-title {
        font-size: 40px !important;
    }
    
    /* IMPROVED TEXT + IMAGE SECTION MOBILE STYLES */
    .usps-text-image-inner {
        gap: 30px; /* Reduced gap between image and text */
    }
    
    .usps-text-image-image {
        order: -1; /* Image displays first on mobile */
        margin-bottom: 10px; /* Extra space below image */
    }
    
    .usps-text-image-content h2 {
        font-size: 28px;
        margin-bottom: 16px; /* Reduced spacing */
        line-height: 1.3; /* Better mobile line height */
    }
    
    .usps-text-image-content p {
        font-size: 15px; /* Slightly smaller for mobile */
        line-height: 1.6;
        margin-bottom: 16px; /* More compact spacing */
    }
    
    .usps-text-image-content .btn-primary {
        width: 100%; /* Full width button on mobile */
        text-align: center;
        padding: 14px 30px;
        font-size: 14px;
        margin-top: 10px;
    }
    
    .usps-text-image-image img {
        border-radius: 6px; /* Slightly smaller border radius */
        box-shadow: 0 6px 24px rgba(43, 65, 80, 0.12); /* Lighter shadow */
    }
    
    .usps-pricing-header h2 {
        font-size: 32px;
    }
    
    .usps-pdf-embed iframe {
        height: 600px;
    }
}

@media (max-width: 480px) {
    .usps-hero-title {
        font-size: 28px;
    }
    
    /* EXTRA SMALL MOBILE IMPROVEMENTS */
    .usps-text-image-section {
        padding: 40px 0; /* Less vertical padding */
    }
    
    .usps-text-image-inner {
        gap: 24px; /* Even tighter spacing */
    }
    
    .usps-text-image-content h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .usps-text-image-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 14px;
    }
    
    .usps-text-image-content .btn-primary {
        padding: 12px 24px;
        font-size: 13px;
        letter-spacing: 0.5px;
    }
    
    .usps-pricing-header h2 {
        font-size: 28px;
    }
    
    .usps-pdf-embed {
        padding: 10px;
    }
    
    .usps-pdf-embed iframe {
        height: 500px;
    }
}