/* Insight Premium Master Widgets CSS V12 - Corporate Premium Edition */

:root {
    --ir-primary: #071f3f; /* Deep Corporate Authority Navy */
    --ir-accent: #2dad58; /* Brand Green replacing Safety Orange */
    --ir-accent-hover: #cc5200;
    --ir-light: #f4f6f9; /* Soft, clean corporate gray-white */
    --ir-text: #2c3e50;
    --ir-gray: #dde3ea;
    --ir-font: 'Inter', 'Roboto', 'Helvetica Neue', sans-serif;
}

/* ================================
   CRITICAL FIX: HIDE DEFAULT PAGE TITLE & FIX CONTRAST
   ================================ */
/* Hides the default "Home" page title outputted by the theme */
h1.entry-title, .page-header {
    display: none !important;
}

/* Hides the default text site title and tagline if no logo is uploaded yet */
.site-title a, .site-description {
    display: none !important;
}
.site-logo a {
    display: block !important;
}

/* Forces extremely dark text across white sections to override Elementor defaults */
.insight-services-section p,
.insight-services-section span,
.insight-services-section li,
.insight-process-section p,
.insight-process-section span,
.insight-process-section li,
.insight-testimonials-section p,
.insight-testimonials-section span,
.insight-testimonials-section li {
    color: #1e293b !important;
}

/* ================================
   MASTER WRAPPER & SECTIONS
   ================================ */
.insight-master-wrapper {
    width: 100%;
    font-family: var(--ir-font);
    color: var(--ir-text);
    background-color: #ffffff;
}

.insight-section {
    padding: 90px 20px;
    position: relative;
    width: 100%;
}

.insight-container {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.insight-section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.insight-section-header h2 {
    font-size: 2.8rem;
    color: var(--ir-primary);
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.insight-section-header p {
    font-size: 1.15rem;
    color: #5c6b7a;
    line-height: 1.6;
}

/* ================================
   1. PREMIUM CORPORATE HERO
   ================================ */
.insight-master-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80'); /* Professional commercial architecture */
    background-size: cover;
    background-position: center;
    position: relative;
}

.insight-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Solid, dark, authoritative gradient overlay - No glassmorphism */
    background: linear-gradient(90deg, rgba(7,31,63,0.95) 0%, rgba(7,31,63,0.7) 100%);
    z-index: 1;
}

.insight-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.insight-hero-content h1 {
    color: #ffffff;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.insight-hero-subtitle {
    color: #b0c4de;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.insight-hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.insight-btn {
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 2px; /* Square, sharp edges for corporate feel */
    transition: all 0.2s ease-in-out;
    display: inline-block;
    letter-spacing: 0.5px;
}

.insight-btn-emergency {
    background-color: var(--ir-accent);
    color: #fff;
    border: 2px solid var(--ir-accent);
}

.insight-btn-emergency:hover {
    background-color: var(--ir-accent-hover);
    border-color: var(--ir-accent-hover);
    color: #fff;
}

.insight-btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.insight-btn-outline:hover {
    background-color: #fff;
    color: var(--ir-primary);
}

.insight-btn-primary {
    background-color: var(--ir-primary);
    color: #fff;
    border: 2px solid var(--ir-primary);
}

.insight-btn-primary:hover {
    background-color: #04142b;
    border-color: #04142b;
    color: #fff;
}

/* ================================
   2. TRUST BADGES
   ================================ */
.insight-trust-bar {
    background-color: #ffffff;
    padding: 35px 20px;
    border-bottom: 1px solid var(--ir-gray);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.insight-trust-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #071f3f; /* Deep Navy Blue for strong contrast */
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.insight-badges-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap; /* Force one row on desktop */
    align-items: center;
}

.insight-badge {
    display: flex;
    align-items: center;
    font-weight: 800;
    color: #ffffff;
    font-size: 1.15rem;
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s;
}

.insight-badge:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.insight-badge span {
    border-bottom: 3px solid var(--ir-accent);
    padding-bottom: 4px;
}

.insight-badge-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex: 1 1 0; /* Equal width columns to force fit */
    min-width: 0;
}

.insight-badge-image img {
    height: 120px !important; 
    max-height: 140px !important;
    width: auto !important;
    max-width: 100% !important; /* Allow shrinking if needed */
    object-fit: contain;
    opacity: 0.85;
    mix-blend-mode: multiply; /* Magically removes white backgrounds from JPEGs! */
    transform: scale(1.3); /* Artificial scale up */
    transition: all 0.3s ease;
}

.insight-badge-image img:hover {
    opacity: 1;
    transform: scale(1.4) translateY(-3px);
}

/* ================================
   3. SERVICES OVERVIEW
   ================================ */
.insight-services-section {
    background-color: var(--ir-light);
}

.insight-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.insight-service-card-v2 {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid var(--ir-gray);
    border-top: 4px solid var(--ir-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02); /* Clean, flat shadow */
    transition: all 0.2s ease;
}

.insight-service-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-top-color: var(--ir-accent);
}

.insight-service-card-v2 h3 {
    font-size: 1.35rem;
    color: var(--ir-primary);
    margin-bottom: 15px;
    font-weight: 800;
}

.insight-service-card-v2 p {
    font-size: 0.95rem;
    color: #5c6b7a;
    line-height: 1.6;
    margin: 0;
}

/* ================================
   4. PROCESS TIMELINE
   ================================ */
.insight-process-section {
    background-color: #ffffff;
}

.insight-timeline-v2 {
    max-width: 900px;
    margin: 0 auto;
}

.insight-timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background: var(--ir-light);
    padding: 25px 35px;
    border-left: 4px solid var(--ir-primary);
    transition: all 0.2s ease;
}

.insight-timeline-item:hover {
    border-left-color: var(--ir-accent);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.insight-timeline-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--ir-gray);
    margin-right: 30px;
    min-width: 40px;
}

.insight-timeline-item:hover .insight-timeline-num {
    color: var(--ir-accent);
}

.insight-timeline-content h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--ir-primary);
    font-weight: 800;
    text-transform: uppercase;
}

/* ================================
   5. INDUSTRIES SHOWCASE
   ================================ */
.insight-industries-section {
    background-color: var(--ir-primary);
}

.insight-industries-section .insight-section-header h2 {
    color: #ffffff;
}

.insight-industries-section .insight-section-header p {
    color: #b0c4de;
}

.insight-industry-card-v2 {
    background: rgba(255,255,255,0.05); /* Solid transparent overlay */
    padding: 30px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.2s ease;
}

.insight-industry-card-v2:hover {
    background: var(--ir-accent);
    border-color: var(--ir-accent);
    transform: translateY(-4px);
}

.insight-industry-card-v2 h3 {
    color: #fff;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.insight-center-btn {
    text-align: center;
    margin-top: 50px;
}

.insight-center-btn .insight-btn-primary {
    background: #ffffff;
    color: var(--ir-primary);
    border-color: #ffffff;
}

.insight-center-btn .insight-btn-primary:hover {
    background: var(--ir-accent);
    color: #ffffff;
    border-color: var(--ir-accent);
}

/* ================================
   6. TESTIMONIALS
   ================================ */
.insight-testimonials-section {
    background-color: #ffffff;
}

.insight-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.insight-testimonial-card {
    background: var(--ir-light);
    padding: 40px;
    border-top: 4px solid var(--ir-accent);
}

.insight-quote {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--ir-text);
}

.insight-author {
    font-weight: 800;
    color: var(--ir-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* ================================
   INTERIOR PAGE HEADER WIDGET
   ================================ */
.insight-interior-hero {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 50px;
}

/* Ensure no horizontal scrollbar from 100vw */
body {
    overflow-x: hidden;
}

.insight-interior-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(7,31,63,0.95) 0%, rgba(7,31,63,0.7) 100%);
    z-index: 1;
}

.insight-interior-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.insight-interior-subtitle {
    color: var(--ir-accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.insight-interior-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .insight-hero-content h1 { font-size: 3rem; }
    .insight-hero-content { text-align: center; }
    .insight-hero-actions { justify-content: center; }
}

@media (max-width: 768px) {
    .insight-hero-content h1 { font-size: 2.5rem; }
    .insight-grid-2 { grid-template-columns: 1fr; }
    .insight-trust-bar {
        padding: 20px;
    }
    .insight-badges-grid {
        flex-wrap: wrap; /* Allow wrapping on mobile */
        gap: 20px;
        justify-content: center;
    }
    .insight-badge-image {
        flex: 0 0 calc(50% - 20px); /* 2 per row on mobile */
    }
    .insight-timeline-item { padding: 20px; }
    .insight-timeline-num { font-size: 1.5rem; margin-right: 20px; }
    
    /* Interior Hero Mobile */
    .insight-interior-hero {
        min-height: 25vh;
        padding: 60px 20px;
    }
    .insight-interior-title {
        font-size: 2.2rem;
    }
}

/* ================================
   7. INTERIOR SPLIT WIDGET
   ================================ */
.insight-split-container {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 60px auto;
}

.insight-split-content {
    flex: 1;
}

.insight-split-title {
    color: #071f3f;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.insight-split-text {
    color: #1e293b;
    font-size: 1.1rem;
    line-height: 1.8;
}

.insight-split-text p, 
.insight-split-text span, 
.insight-split-text ul, 
.insight-split-text li {
    color: #1e293b !important;
}

.insight-split-image {
    flex: 1;
}

.insight-split-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ================================
   8. INTERIOR FEATURES GRID
   ================================ */
.insight-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.insight-feature-card {
    background: #ffffff;
    border-top: 4px solid var(--ir-accent);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insight-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.insight-feature-title {
    color: #071f3f;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.insight-feature-desc,
.insight-feature-desc p,
.insight-feature-desc span {
    color: #1e293b !important;
    font-size: 1.05rem !important;
    line-height: 1.6;
    font-weight: 500 !important;
}

/* Responsive adjustments for Split */
@media (max-width: 900px) {
    .insight-split-container {
        flex-direction: column !important;
        text-align: center;
    }
}

/* ================================
   9. NAV MENU DROPDOWN FIX
   ================================ */
.elementor-nav-menu--dropdown {
    background-color: #071f3f !important;
    border-top: 3px solid var(--ir-accent) !important;
    padding: 10px 0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.elementor-nav-menu--dropdown ul,
.elementor-nav-menu--dropdown li,
.elementor-nav-menu--dropdown a {
    list-style: none !important;
    list-style-type: none !important;
}

.elementor-nav-menu--dropdown ul::before,
.elementor-nav-menu--dropdown li::before,
.elementor-nav-menu--dropdown a::before {
    display: none !important;
    content: none !important;
}

.elementor-nav-menu--dropdown a.elementor-item,
.elementor-nav-menu--dropdown a.elementor-sub-item {
    color: #ffffff !important;
    padding: 12px 25px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
}

.elementor-nav-menu--dropdown a.elementor-sub-item:hover,
.elementor-nav-menu--dropdown a.elementor-sub-item.elementor-item-active {
    background-color: rgba(255,255,255,0.05) !important;
    color: var(--ir-accent) !important;
    padding-left: 30px !important;
}
