/* K9 Security UK Landing Page - Custom Styles */
/* ULTRA-SPECIFIC SELECTORS TO OVERRIDE ALL OTHER STYLES */

/* Remove video background offset and hero section */
body .header-container {
    min-height: auto !important;
    position: relative !important;
    height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Hide hero section if it exists in header */
body .header-container .hero {
    display: none !important;
}

/* Remove main content top spacing */
body #main-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body {
    padding-top: 0 !important;
}

/* Hero Section - Compact and visible - CENTERED */
body #intro {
    padding: 40px 0 30px 0 !important;
    margin-top: 0 !important;
}

body #intro .section-title,
body #intro h1 {
    font-size: 3rem !important;
    margin-bottom: 25px !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body #intro .about-content {
    max-width: 850px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

body #intro .about-content p {
    font-size: 1.3rem !important;
    line-height: 1.7 !important;
    margin-bottom: 0 !important;
    color: #e0e0e0 !important;
    font-weight: 400 !important;
    text-align: center !important;
}

/* Services Section - Compact spacing - CENTERED */
body #services {
    padding: 40px 0 30px 0 !important;
}

body #services .section-title,
body #services h2 {
    font-size: 2.3rem !important;
    margin-bottom: 15px !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body #services .section-subtitle,
body #services p.section-subtitle {
    font-size: 1.15rem !important;
    margin-bottom: 40px !important;
    max-width: 750px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: #d0d0d0 !important;
    text-align: center !important;
}

/* Fixed 3-column grid for cards */
body #services .services-grid,
body #why-choose-us .services-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
}

/* Card styling with better contrast - CENTERED */
body .service-card {
    padding: 28px !important;
    background: linear-gradient(135deg, #2a2a2a 0%, #1f2023 100%) !important;
    border: 2px solid rgba(191, 196, 202, 0.3) !important;
    border-radius: 10px !important;
    text-align: center !important;
}

body .service-card .service-title,
body .service-card h3 {
    font-size: 1.35rem !important;
    margin-bottom: 12px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body .service-card .service-description,
body .service-card p {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: #c0c0c0 !important;
    text-align: center !important;
}

/* CTA Section - Prominent and high contrast - CENTERED */
body #cta {
    padding: 50px 0 !important;
    background: linear-gradient(135deg, #bfc4ca 0%, #9fa4aa 100%) !important;
    margin: 30px 0 !important;
}

body #cta h2 {
    font-size: 2.8rem !important;
    color: #000 !important;
    margin-bottom: 15px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body #cta p {
    font-size: 1.4rem !important;
    color: #1a1a1a !important;
    margin-bottom: 30px !important;
    font-weight: 600 !important;
    text-align: center !important;
}

body #cta .container {
    text-align: center !important;
}

body #cta a[href^="tel"] {
    color: #000 !important;
    text-decoration: none !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
}

body #cta a[href^="/#contact-form"] {
    display: inline-block !important;
    padding: 20px 55px !important;
    background: #000 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 1.15rem !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4) !important;
}

/* Why Choose Us Section - CENTERED */
body #why-choose-us {
    padding: 35px 0 !important;
}

body #why-choose-us .section-title,
body #why-choose-us h2 {
    font-size: 2.3rem !important;
    margin-bottom: 35px !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Coverage Section - CENTERED */
body #coverage {
    padding: 35px 0 !important;
    background: rgba(42, 42, 42, 0.4) !important;
}

body #coverage .section-title,
body #coverage h2 {
    font-size: 2.3rem !important;
    margin-bottom: 25px !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body #coverage .about-content {
    text-align: center !important;
}

body #coverage .about-content p {
    font-size: 1.15rem !important;
    line-height: 1.75 !important;
    color: #d5d5d5 !important;
    text-align: center !important;
}

body #coverage .about-content p:first-child {
    margin-bottom: 18px !important;
}

body #coverage .about-content p:last-child {
    margin-bottom: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    body #services .services-grid,
    body #why-choose-us .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    body #intro .section-title,
    body #intro h1 {
        font-size: 2.2rem !important;
    }
    
    body #intro .about-content p {
        font-size: 1.1rem !important;
    }
    
    body #services .services-grid,
    body #why-choose-us .services-grid {
        grid-template-columns: 1fr !important;
    }
    
    body #cta h2 {
        font-size: 2rem !important;
    }
}
