/* =========================================================
   POLICYNEO SEO PAGES - FULLY RESPONSIVE CSS
   ========================================================= */

/* Global */
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; margin: 0; padding: 0; background: #f4f7f6; color: #333; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Header */
.main-header { background: #002147; color: #fff; padding: 15px 0; border-bottom: 3px solid #f1c40f; }
.main-header .container { display: flex; justify-content: space-between; width: 100%; align-items: center; flex-wrap: wrap; }
.logo { font-size: 24px; font-weight: bold; letter-spacing: 0.5px; }
.contact-header a { color: #f1c40f; text-decoration: none; font-weight: bold; font-size: 18px; }

/* Hero Section */
.hero-section { background: #002147; color: white; padding: 60px 20px; text-align: center; }
.hero-section h1 { font-size: 38px; margin-bottom: 15px; line-height: 1.3; }
.hero-section p { font-size: 18px; opacity: 0.9; }

/* Content wrapper (Soft UI Touch) */
.content-wrapper { background: white; padding: 40px; margin: 20px auto; border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.04); }
h2 { color: #0056b3; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-top: 30px; font-size: 26px; }

/* Local SEO Block & TOC */
.local-seo-block { background: #eef5fb; padding: 20px; border-left: 5px solid #0056b3; margin: 20px 0; border-radius: 4px; font-size: 16px; }
.toc-box { background: #f4f9ff; padding: 20px; border-radius: 8px; border-left: 4px solid #0056b3; margin-bottom: 25px; }
.toc-box ul { list-style: none; padding-left: 0; margin: 0; }
.toc-box li { margin-bottom: 10px; }
.toc-box a { text-decoration: none; color: #0056b3; font-weight: 600; font-size: 16px; transition: 0.3s;}
.toc-box a:hover { color: #003d82; text-decoration: underline; }

/* Tables */
table.seo-table, table.comp-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
table.seo-table th, table.comp-table th, table.seo-table td, table.comp-table td { border: 1px solid #ddd; padding: 12px; text-align: left; }
table.comp-table th { background-color: #0056b3; color: white; }
table.seo-table th { background-color: #f4f4f4; color: #333;}

/* FAQ & Disclaimers */
.faq-item { margin-bottom: 15px; border: 1px solid #eee; padding: 15px; border-radius: 8px; background: #fafafa; transition: box-shadow 0.3s; }
.faq-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.faq-item h3 { margin-top: 0; color: #222; font-size: 18px; margin-bottom: 10px;}
.disclaimer-box { background: #fff3cd; color: #856404; padding: 15px; border: 1px solid #ffeeba; border-radius: 5px; margin-top: 40px; font-size: 13px; line-height: 1.5; }

/* Internal Links (Tags Style) */
.internal-links ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin-top: 15px;}
.internal-links li a { display: inline-block; padding: 10px 18px; background: #eef5fb; border: 1px solid #cce5ff; border-radius: 30px; text-decoration: none; font-size: 14px; color: #0056b3; font-weight: 600; transition: all 0.3s; }
.internal-links li a:hover { background: #0056b3; color: white; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,86,179,0.2); }

/* Footer */
.main-footer { background: #1a1a1a; color: #aaa; text-align: center; padding: 30px 20px; margin-top: 20px; }
.main-footer a { color: #f1c40f; text-decoration: none; transition: 0.3s;}
.main-footer a:hover { color: #fff; }

/* Mobile Sticky Buttons */
.sticky-footer { position: fixed; bottom: 0; left: 0; width: 100%; display: flex; z-index: 1000; box-shadow: 0 -2px 10px rgba(0,0,0,0.15); }
.sticky-footer .btn { flex: 1; text-align: center; padding: 15px; color: white; text-decoration: none; font-weight: bold; font-size: 16px; letter-spacing: 0.5px; }
.call-btn { background: #007bff; } 
.wa-btn { background: #25D366; }

/* =========================================================
   📱 MOBILE & TABLET MEDIA QUERIES
   ========================================================= */

/* Tablet Screens */
@media (max-width: 992px) {
    .content-wrapper { padding: 30px 20px; }
    .hero-section h1 { font-size: 32px; }
}

/* Mobile Screens */
@media (max-width: 768px) {
    /* Fix Header */
    .main-header .container { flex-direction: column; text-align: center; gap: 8px; }
    .logo { font-size: 22px; }
    
    /* Fix Hero */
    .hero-section { padding: 40px 15px; }
    .hero-section h1 { font-size: 26px; line-height: 1.4; }
    .hero-section p { font-size: 16px; }
    
    /* Fix Content Spacing */
    .content-wrapper { padding: 20px 15px; margin: 15px auto; border-radius: 8px; }
    h2 { font-size: 22px; }
    
    /* Responsive Tables (Allows horizontal scroll on mobile) */
    table.seo-table, table.comp-table { display: block; overflow-x: auto; white-space: nowrap; border: none; }
    table th, table td { font-size: 14px; }
    
    /* Fix Links & Buttons for Touch */
    .internal-links ul { flex-direction: column; gap: 8px; }
    .internal-links li a { width: 100%; text-align: center; padding: 12px; font-size: 15px; border-radius: 8px; }
    
    /* Prevent content from hiding behind mobile sticky footer */
    body { padding-bottom: 60px; }
}

/* Smaller Mobile Screens (iPhone SE, etc.) */
@media (max-width: 480px) {
    .hero-section h1 { font-size: 22px; }
    .local-seo-block { font-size: 14px; padding: 15px; }
    .faq-item h3 { font-size: 16px; }
}

/* Hide sticky footer on Desktop */
@media (min-width: 769px) { 
    .sticky-footer { display: none; } 
}