/* ===========================================
   MAIN CSS FILE - CONSOLIDATED IMPORTS
   =========================================== */

/* Import all existing CSS files */
@import url('../styles.css');
@import url('../pricing-enhanced-styles.css');
@import url('../accessibility-improvements.css');
@import url('../mobile-responsive.css');
@import url('../modal-form.css');
@import url('../cookie-banner.css');
@import url('../desktop-navigation.css');
@import url('../mobile-business-types-fix.css');
@import url('../modern-menu-2025.css');

/* ===========================================
   EXTRACTED INLINE STYLES FROM INDEX.HTML
   =========================================== */

/* Mobile business types styling fix */
@media (max-width: 768px) {
    /* Force white background and dark text for active state */
    .business-type-item.active,
    .business-type-item.active:hover,
    .business-type-item.active:focus,
    .business-type-item.active:active,
    .business-type-item.active:visited,
    .business-types-menu .business-type-item.active,
    .business-types-content .business-type-item.active,
    .business-types .business-type-item.active {
        border: 2px solid #2563eb !important;
        background: white !important;
        color: #374151 !important;
        box-shadow: 0 4px 8px rgba(37, 99, 235, 0.1) !important;
    }
    
    /* Force dark text for span elements */
    .business-type-item.active span,
    .business-type-item.active:hover span,
    .business-type-item.active:focus span,
    .business-type-item.active:active span,
    .business-type-item.active:visited span,
    .business-types-menu .business-type-item.active span,
    .business-types-content .business-type-item.active span,
    .business-types .business-type-item.active span {
        color: #374151 !important;
        font-weight: 600 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    /* Force blue icon with white background */
    .business-type-item.active .business-icon,
    .business-type-item.active:hover .business-icon,
    .business-type-item.active:focus .business-icon,
    .business-type-item.active:active .business-icon,
    .business-type-item.active:visited .business-icon,
    .business-types-menu .business-type-item.active .business-icon,
    .business-types-content .business-type-item.active .business-icon,
    .business-types .business-type-item.active .business-icon {
        color: #2563eb !important;
        background: rgba(37, 99, 235, 0.15) !important;
        border: 2px solid #2563eb !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
    }
    
    /* Ensure normal state for inactive items */
    .business-type-item {
        background: white !important;
        color: #374151 !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    
    .business-type-item:hover {
        background: white !important;
        color: #374151 !important;
        border-color: rgba(0, 0, 0, 0.1) !important;
    }
    
    .business-type-item span {
        color: #374151 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    .business-type-item .business-icon {
        color: #2563eb !important;
        background: rgba(37, 99, 235, 0.1) !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
    }
}

/* FAQ toggle styling */
.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-toggle::before {
    width: 16px;
    height: 2px;
    border-radius: 1px;
}

.faq-toggle::after {
    width: 2px;
    height: 16px;
    border-radius: 1px;
}

.faq-item.expanded .faq-toggle::after {
    display: none;
}

/* ===========================================
   ROI CALCULATOR MODAL STYLES
   =========================================== */
.roi-calculator .modal-content {
    max-width: 900px;
    width: 90%;
    margin: 2rem auto;
}

.roi-calculator .modal-header {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    text-align: center;
    padding: 2rem;
    border-radius: 12px 12px 0 0;
}

.roi-calculator .modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white !important;
}

.roi-calculator .modal-header i {
    margin-right: 0.5rem;
    color: #fbbf24;
}

.calculator-container {
    padding: 2rem;
}

.calculator-form h3 {
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.calculator-form .form-group {
    margin-bottom: 1.5rem;
}

.calculator-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.calculator-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.calculator-form input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.calculator-results {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.savings-summary {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.current-costs,
.soundcare-costs {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.savings-result {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.savings-summary h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.cost-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #2563eb;
}

.savings-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a365d !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.savings-amount small {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 1;
    color: #e2e8f0 !important;
    display: block;
    margin-top: 0.5rem;
}

.savings-yearly {
    font-size: 1.1rem;
    margin-top: 1rem;
    color: #f1f5f9 !important;
}

.savings-yearly strong {
    color: white !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.results-actions {
    text-align: center;
    margin-top: 2rem;
}

.results-actions .btn {
    margin: 0.5rem;
}

/* ===========================================
   QUICK CONTACT SECTION STYLES - REDESIGNED
   =========================================== */
.quick-contact {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 6rem 0;
    margin: 6rem 0;
    overflow: hidden;
}

/* Beautiful background effects */
.quick-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="1000,0 1000,100 0,100"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.quick-contact::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.quick-contact-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.quick-contact-text {
    color: white;
}

.quick-contact-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quick-contact-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    opacity: 0.95;
}

.quick-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.benefit-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(59, 130, 246, 0.1));
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 20px;
}

.benefit-item:hover::before {
    left: 100%;
}

.benefit-item:hover::after {
    opacity: 1;
}

.benefit-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.25));
    transform: translateX(12px) translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 30px rgba(251, 191, 36, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.benefit-item:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-item:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-item:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-item i {
    color: #ffffff;
    font-size: 2.2rem;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.benefit-item:nth-child(1) i {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.benefit-item:nth-child(2) i {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
}

.benefit-item:nth-child(3) i {
    background: linear-gradient(135deg, #48cae4, #023e8a);
}

.benefit-item i::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48cae4, #ff6b6b);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: rotate360 3s linear infinite;
}

@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.benefit-item:hover i::before {
    opacity: 1;
}

.benefit-item:hover i {
    transform: scale(1.25) rotate(10deg) translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6), 0 0 30px rgba(254, 202, 87, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.benefit-item span {
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.benefit-item:hover span {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transform: translateY(-1px);
}

/* Spectacular staggered animation on page load */
@keyframes slideInBenefit {
    0% {
        opacity: 0;
        transform: translateX(-60px) translateY(30px) scale(0.8) rotate(-10deg);
        filter: blur(10px);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-20px) translateY(10px) scale(0.95) rotate(-3deg);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1) rotate(0deg);
        filter: blur(0px);
    }
}

.benefit-item {
    animation: slideInBenefit 0.9s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Enhanced pulse animation for icons */
@keyframes iconGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 12px 35px rgba(255, 107, 107, 0.7), 0 0 20px rgba(254, 202, 87, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.4);
        filter: brightness(1.1);
    }
}

.benefit-item i {
    animation: iconGlow 2.5s ease-in-out infinite;
}

.benefit-item:hover i {
    animation: none;
}

/* Additional magnetic effect */
@keyframes magneticPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.01);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

.benefit-item {
    animation: slideInBenefit 0.9s cubic-bezier(0.4, 0, 0.2, 1) both, magneticPulse 4s ease-in-out infinite 1s;
}

.quick-contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: slideInForm 0.8s ease-out 0.5s both;
}

@keyframes slideInForm {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #db2777 100%);
    border-radius: 20px 20px 0 0;
}

.quick-contact-form h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1e3a8a;
    font-size: 1.5rem;
    font-weight: 700;
}

.form-inline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-inline .form-group {
    margin: 0;
    position: relative;
}

.form-inline input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: white;
    color: #1e293b;
}

.form-inline input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.form-inline input::placeholder {
    color: #94a3b8;
    transition: all 0.3s ease;
}

.form-inline input:focus::placeholder {
    opacity: 0.7;
    transform: translateX(5px);
}

.form-inline .btn {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-inline .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.form-inline .btn:hover::before {
    left: 100%;
}

.form-inline .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
}

/* Enhanced form interactions */
.quick-contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.2);
}

.form-inline input:hover {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-privacy {
    font-size: 0.9rem;
    color: #64748b;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #2563eb;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    transform: scale(1.2);
    accent-color: #2563eb;
}

.checkbox-label a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.checkbox-label a:hover {
    color: #1d4ed8;
}

.form-success {
    text-align: center;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.form-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="white" opacity="0.1"><circle cx="20" cy="20" r="2"/><circle cx="80" cy="40" r="1.5"/><circle cx="40" cy="80" r="1"/><circle cx="90" cy="90" r="1"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    33% { transform: translateY(-20px) translateX(10px) rotate(120deg); }
    66% { transform: translateY(10px) translateX(-10px) rotate(240deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(360deg); }
}

.form-success i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    animation: bounce 2s infinite;
}

.form-success h3 {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.form-success p {
    font-size: 1.1rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

/* ===========================================
   EXIT INTENT POPUP STYLES
   =========================================== */
.exit-intent .modal-content {
    max-width: 600px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.exit-intent .modal-header {
    background: transparent;
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.exit-intent .modal-header h2 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.exit-intent .modal-header i {
    color: #fbbf24;
    margin-right: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.exit-popup .modal-body {
    padding: 1rem 2rem 2rem;
}

.offer-content h3 {
    text-align: center;
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
}

.offer-content p {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 1;
    color: #f1f5f9 !important;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
}

.offer-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.offer-benefits .benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.offer-benefits .benefit i {
    color: #fbbf24;
    font-size: 1.25rem;
    width: 1.5rem;
}

.offer-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.offer-actions .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 8px;
}

.offer-actions .btn-primary {
    background: #fbbf24;
    color: #1e3a8a;
    border: none;
}

.offer-actions .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* ===========================================
   BUTTON OVERRIDES FOR BETTER CONTRAST
   =========================================== */
/* Fix for secondary button in hero - better contrast */
.hero-buttons .btn-secondary {
    background: rgba(37, 99, 235, 0.1);
    color: #1e3a8a;
    border: 2px solid #2563eb;
    font-weight: 600;
}

.hero-buttons .btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.urgency {
    text-align: center;
    background: rgba(239, 68, 68, 0.2);
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #ef4444;
}

.urgency i {
    color: #fbbf24;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */
@media (max-width: 768px) {
    .savings-summary {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .quick-contact {
        padding: 4rem 0;
        margin: 3rem 0;
    }
    
    .quick-contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }
    
    .quick-contact-text h2 {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .quick-contact-text p {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .quick-benefits {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .quick-contact-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .quick-contact-form h3 {
        font-size: 1.3rem;
    }
    
    .form-inline {
        gap: 1.2rem;
    }
    
    .form-inline input {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
    }
    
    .form-inline .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .roi-calculator .modal-content {
        width: 95%;
        margin: 1rem auto;
    }
    
    .calculator-container {
        padding: 1rem;
    }
    
    .exit-intent .modal-content {
        width: 95%;
        margin: 2rem auto;
    }
    
    .offer-actions {
        gap: 0.75rem;
    }
}

/* ===========================================
   FIX FOR SAVINGS SUMMARY LAYOUT
   =========================================== */
/* Override the compressed savings cards layout */
.savings-summary {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
    margin: 4rem auto !important;
    max-width: 100% !important;
    width: 100% !important;
    justify-content: center !important;
}

.savings-card, 
.efficiency-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Ensure proper spacing on desktop */
@media (min-width: 769px) {
    .savings-summary {
        max-width: 900px !important;
        padding: 0 2rem;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .savings-summary {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin: 2rem auto !important;
    }
}

/* ===========================================
   FIX FOR COMPARISON CARDS LAYOUT
   =========================================== */
/* Fix overflow and padding issues in cost comparison cards */
.comparison-container {
    padding: 2rem !important;
    margin: 2rem 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.comparison-cards {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.cost-card {
    padding: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    min-height: 600px !important;
}

.cost-breakdown {
    margin-bottom: 2rem !important;
    gap: 1rem !important;
}

.cost-item {
    padding: 1rem 1.2rem !important;
    margin-bottom: 0.5rem !important;
    word-break: break-word !important;
}

.cost-label {
    padding-right: 1rem !important;
    line-height: 1.3 !important;
}

.cost-value {
    white-space: nowrap !important;
    min-width: 90px !important;
}

.cost-total {
    padding: 1.2rem !important;
    margin-top: 1.5rem !important;
}

.total-label {
    padding-right: 1rem !important;
    font-weight: 600 !important;
}

.total-value {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

/* Mobile responsive for comparison cards */
@media (max-width: 768px) {
    .comparison-container {
        padding: 1rem !important;
        margin: 1rem 0 !important;
    }
    
    .comparison-cards {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .cost-card {
        padding: 1.5rem !important;
        min-height: auto !important;
    }
    
    .cost-item {
        padding: 0.8rem 1rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
    
    .cost-label {
        padding-right: 0 !important;
    }
    
    .cost-value {
        font-size: 1.1rem !important;
        min-width: auto !important;
    }
}

/* ===========================================
   FIX FOR PRICING TOOLTIPS Z-INDEX
   =========================================== */
/* Disable original tooltip from pricing-enhanced-styles.css */
.tier-ideal::after {
    display: none !important;
}

/* Smart wrapping tooltip - mobile friendly */
.tier-ideal:hover::after {
    content: attr(data-tooltip) !important;
    display: block !important;
    position: absolute !important;
    bottom: calc(100% + 12px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: rgba(30, 41, 59, 0.95) !important;
    color: white !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    /* Smart text wrapping */
    white-space: normal !important;
    max-width: 250px !important;
    width: max-content !important;
    min-width: 150px !important;
    text-align: center !important;
    word-wrap: break-word !important;
    /* Smart viewport positioning */
    left: clamp(10px, 50%, calc(100vw - 260px)) !important;
    /* Enhanced styling */
    z-index: 999999 !important;
    pointer-events: none !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fix for pricing section container overflow - be more specific */
.pricing,
.pricing-section,
.pricing-container,
.pricing-tiers,
.pricing-tiers-enhanced,
.tiers,
.tiers-grid,
#pricing,
.section.pricing {
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

/* The key missing element - pricing-tiers-enhanced */
.pricing-tiers-enhanced {
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Also check the main container */
.pricing .container {
    overflow: visible !important;
    position: relative !important;
}

.tier-card {
    overflow: visible !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Ensure all pricing containers allow shadow overflow */
.pricing-container,
.pricing-grid,
.pricing-cards,
.tier-cards,
.tiers-container {
    overflow: visible !important;
    position: relative !important;
}

/* Fix for specific tier card containers that might clip shadows */
.tier-card,
.tier-card * {
    overflow: visible !important;
}

.tier-card .tier-ideal {
    overflow: visible !important;
    position: relative !important;
    z-index: 10 !important;
}

.tier-ideal {
    overflow: visible !important;
    position: relative !important;
    z-index: 3 !important;
}


/* Add arrow to tooltip */
.tier-ideal:hover::before {
    content: '' !important;
    position: absolute !important;
    bottom: calc(100% + 4px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 6px solid transparent !important;
    border-right: 6px solid transparent !important;
    border-top: 6px solid rgba(30, 41, 59, 0.95) !important;
    z-index: 999998 !important;
    pointer-events: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Mobile tooltip adjustments - better wrapping */
@media (max-width: 768px) {
    .tier-ideal:hover::after {
        /* Mobile tooltips show below element */
        bottom: auto !important;
        top: calc(100% + 12px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        /* Better mobile sizing */
        max-width: 180px !important;
        min-width: 120px !important;
        font-size: 12px !important;
        padding: 10px 12px !important;
        text-align: center !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        line-height: 1.3 !important;
    }
    
    .tier-ideal:hover::before {
        /* Arrow for mobile (pointing up) */
        bottom: auto !important;
        top: calc(100% + 6px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        border-top: none !important;
        border-bottom: 6px solid rgba(30, 41, 59, 0.95) !important;
        border-left: 6px solid transparent !important;
        border-right: 6px solid transparent !important;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .tier-ideal:hover::after {
        max-width: 220px !important;
        font-size: 12px !important;
    }
}