/**
 * 88I E-E-A-T SEO 2026 - CSS FIXES & ENHANCEMENTS
 * Fixing inline style conflicts and adding professional polish
 */

/* ===================================
   CRITICAL CSS FIXES
   =================================== */

/* Fix max-width wrapper override */
.home-content .col-inner > div[style*="max-width: 1200px"] {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 40px 30px !important;
}

/* Fix text-align justify */
.home-content .col-inner > div[style*="text-align: justify"] {
    text-align: justify !important;
}

/* Override inline line-height */
.home-content .col-inner > div[style*="line-height: 1.8"] {
    line-height: 1.8 !important;
}

/* ===================================
   FIX SPECIFIC INLINE STYLES
   =================================== */

/* H1 inline style fixes */
.home-content h1[style*="text-align: center"] {
    text-align: center !important;
}

.home-content h1[style*="margin-bottom: 20px"] b,
.home-content h1 b {
    font-weight: 800 !important;
}

/* H2 color fixes */
.home-content h2[style*="color: #1a73e8"] {
    color: #1a73e8 !important;
}

.home-content h2[style*="margin-top: 35px"] {
    margin-top: 35px !important;
}

.home-content h2[style*="margin-bottom: 20px"] {
    margin-bottom: 20px !important;
}

/* H3 color fixes */
.home-content h3[style*="color: #0d47a1"] {
    color: #0d47a1 !important;
}

.home-content h3[style*="margin-top: 25px"] {
    margin-top: 25px !important;
}

.home-content h3[style*="margin-bottom: 15px"] {
    margin-bottom: 15px !important;
}

/* ===================================
   FIX INFO BOXES SPECIFICITY
   =================================== */

/* Gray box (features) */
.home-content div[style*="background: #f8f9fa"][style*="padding: 25px"] {
    background: #f8f9fa !important;
    padding: 25px !important;
    border-radius: 12px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
}

/* Green box (registration guide) */
.home-content div[style*="background: #e8f5e9"][style*="border-left: 4px solid #4caf50"] {
    background: #e8f5e9 !important;
    padding: 20px !important;
    border-left: 4px solid #4caf50 !important;
    margin-bottom: 25px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 12px rgba(76, 175, 80, 0.15) !important;
}

/* Orange box (contact info) */
.home-content div[style*="background: #fff3e0"] {
    background: #fff3e0 !important;
    padding: 20px !important;
    border-radius: 8px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 2px 12px rgba(255, 152, 0, 0.12) !important;
    border: 1px solid rgba(245, 158, 11, 0.2) !important;
}

/* ===================================
   FIX GRADIENT BOXES
   =================================== */

/* Purple gradient (promotions) */
.home-content div[style*="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%)"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 25px !important;
    border-radius: 10px !important;
    margin-bottom: 25px !important;
}

.home-content div[style*="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%)"] ul {
    list-style: none !important;
    padding: 0 !important;
}

.home-content div[style*="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%)"] li {
    margin-bottom: 12px !important;
    color: white !important;
}

.home-content div[style*="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%)"] li::before {
    content: '🎁' !important;
    background: none !important;
    left: -30px;
    width: auto;
    height: auto;
    font-size: 18px;
}

/* Red gradient (final CTA) */
.home-content div[style*="background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%)"] {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 50%, #DC2626 100%) !important;
    color: white !important;
    padding: 45px 35px !important;
    border-radius: 16px !important;
    margin-top: 40px !important;
    margin-bottom: 30px !important;
    text-align: center !important;
}

.home-content div[style*="background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%)"] h3 {
    color: white !important;
    font-size: 2rem !important;
    margin-top: 0 !important;
}

.home-content div[style*="background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%)"] h3::before {
    display: none !important;
}

.home-content div[style*="background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%)"] p {
    color: rgba(255,255,255,0.95) !important;
}

/* ===================================
   FIX FAQ SECTION
   =================================== */

.home-content div[style*="border: 1px solid #e0e0e0"][style*="border-radius: 8px"] {
    border: none !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 25px !important;
}

.home-content div[style*="background: #f5f5f5"][style*="padding: 15px"] {
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%) !important;
    padding: 15px !important;
    font-weight: 600 !important;
    color: #0F172A !important;
}

.home-content div[style*="padding: 15px"]:not([style*="background"]) {
    padding: 15px !important;
    background: white !important;
}

/* ===================================
   FIX LIST STYLES IN BOXES
   =================================== */

/* Fix list in gray box */
.home-content div[style*="background: #f8f9fa"] ul[style*="list-style: none"] {
    list-style: none !important;
    padding: 0 !important;
}

.home-content div[style*="background: #f8f9fa"] ul[style*="list-style: none"] li {
    padding-left: 35px !important;
    position: relative !important;
    margin-bottom: 15px !important;
}

.home-content div[style*="background: #f8f9fa"] ul[style*="list-style: none"] li::before {
    content: '✓' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 24px !important;
    height: 24px !important;
    background: linear-gradient(135deg, #38BDF8 0%, #22D3EE 100%) !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
}

/* Fix trust/security list */
.home-content ul[style*="line-height: 2"] {
    line-height: 2 !important;
}

.home-content ul[style*="line-height: 2"] li {
    padding-left: 35px !important;
    position: relative;
}

.home-content ul[style*="line-height: 2"] li::before {
    content: '🔒' !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    font-size: 18px !important;
}

/* ===================================
   FIX LINK STYLES
   =================================== */

.home-content a[href^="https://ranapagalhogea.gb.net/"] {
    color: #0EA5E9 !important;
    font-weight: 500 !important;
}

.home-content a[href^="tel:"] {
    color: #d32f2f !important;
    font-weight: 600 !important;
}

/* CTA Button fix */
.home-content a[style*="display: inline-block"][style*="background: white"][style*="color: #f5576c"] {
    background: white !important;
    color: #F97316 !important;
    padding: 15px 40px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 18px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

.home-content a[style*="display: inline-block"][style*="background: white"][style*="color: #f5576c"]:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35) !important;
}

/* ===================================
   FIX FOOTER WARNING
   =================================== */

.home-content p[style*="text-align: center; color: #666; font-size: 14px"] {
    text-align: center !important;
    color: #666 !important;
    font-size: 14px !important;
    background: #FEF3C7 !important;
    padding: 20px 25px !important;
    border-radius: 8px !important;
    border-left: 4px solid #F59E0B !important;
    margin-top: 35px !important;
}

/* ===================================
   FIX HASHTAGS
   =================================== */

.home-content p[style*="text-align: center; margin-top: 20px"] {
    text-align: center !important;
    margin-top: 20px !important;
}

.home-content p[style*="text-align: center; margin-top: 20px"] strong[style*="color: #1a73e8"] {
    color: #1a73e8 !important;
    display: block !important;
    margin-bottom: 10px !important;
    font-size: 1.05rem !important;
}

/* ===================================
   MOBILE RESPONSIVE FIXES
   =================================== */

@media (max-width: 768px) {
    .home-content .col-inner > div[style*="max-width: 1200px"] {
        padding: 25px 20px !important;
    }
    
    .home-content h1 {
        font-size: 1.8rem !important;
    }
    
    .home-content h2 {
        font-size: 1.5rem !important;
    }
    
    .home-content h3 {
        font-size: 1.25rem !important;
    }
    
    .home-content div[style*="background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%)"] {
        padding: 30px 20px !important;
    }
    
    .home-content div[style*="background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%)"] h3 {
        font-size: 1.5rem !important;
    }
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */

.home-content * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .home-content div[style*="background: linear-gradient"] {
        background: #f5f5f5 !important;
        color: #000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
