/* ==========================================================================
   TECHNICAL FACILITY MANAGEMENT SPECIFIC STYLE
   Theme: Engineering Navy (#0B1B3D), Precision Sky Blue (#0080FF), Clean White (#ffffff)
   Accents: Deep Navy-Slate (#071126), Soft Slate (#F8FAFC)
   ========================================================================== */

:root {
    --primary-tfm: #0B1B3D;
    --primary-dark: #071126;
    --accent-tfm: #0080FF;
    --accent-hover: #0066CC;
    --accent-light: #E0F2FE;
    --success-green: #10B981;
    --bg-light: #F8FAFC;
    --bg-white: #ffffff;
    --border-color: #E2E8F0;
    --text-dark: #1E293B;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 15px -3px rgba(11, 27, 61, 0.05), 0 4px 6px -2px rgba(11, 27, 61, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(11, 27, 61, 0.08), 0 10px 10px -5px rgba(11, 27, 61, 0.03);
    --shadow-premium: 0 20px 40px -10px rgba(0, 128, 255, 0.15);
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs-section {
    background-color: var(--bg-light);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumbs-list a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs-list a:hover {
    color: var(--accent-tfm);
}

.breadcrumbs-list .separator {
    color: var(--text-light);
    font-weight: 300;
}

.breadcrumbs-list .active-crumb {
    color: var(--primary-tfm);
    font-weight: 600;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.tfm-hero-section {
    padding: 90px 0;
    background: var(--bg-white) !important;
    position: relative;
    overflow: hidden;
}

.tfm-subtitle {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-tfm);
    letter-spacing: 2px;
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--accent-light);
    border-radius: 6px;
    margin-bottom: 20px;
}

.tfm-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--primary-tfm);
    line-height: 1.15;
    margin-bottom: 24px;
}

.tfm-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.service-details-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-proposal {
    background: linear-gradient(135deg, var(--accent-tfm) 0%, var(--accent-hover) 100%) !important;
    color: var(--bg-white) !important;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 128, 255, 0.25);
    border: none !important;
    transition: var(--transition);
}

.btn-proposal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 128, 255, 0.45);
    color: var(--bg-white) !important;
}

.btn-contact-outline {
    border: 2px solid var(--primary-tfm) !important;
    color: var(--primary-tfm) !important;
    background-color: transparent !important;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-contact-outline:hover {
    background-color: var(--primary-tfm) !important;
    color: var(--bg-white) !important;
    transform: translateY(-2px);
}

.tfm-img-box {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--bg-light);
    transition: var(--transition);
}

.tfm-img-box:hover {
    transform: scale(1.015) translateY(-3px);
    box-shadow: 0 25px 50px -12px rgba(11, 27, 61, 0.15);
}

/* ==========================================================================
   STATS BANNER SECTION
   ========================================================================== */
.tfm-stats-banner {
    background-color: var(--primary-tfm);
    padding: 55px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.rm-stat-col {
    position: relative;
}

@media (min-width: 992px) {
    .rm-stat-col:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 20%;
        width: 1px;
        height: 60%;
        background-color: rgba(255, 255, 255, 0.1);
    }
}

.rm-stat-item {
    text-align: center;
    color: var(--bg-white);
    padding: 10px;
    transition: var(--transition);
}

.rm-stat-item:hover {
    transform: translateY(-3px);
}

.rm-stat-badge-wrapper {
    margin-bottom: 16px;
    display: inline-block;
}

.rm-badge-circle,
.rm-badge-patch,
.rm-badge-shield,
.rm-badge-graph {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--accent-tfm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto;
    transition: var(--transition);
}

.rm-stat-item:hover .rm-badge-circle,
.rm-stat-item:hover .rm-badge-patch,
.rm-stat-item:hover .rm-badge-shield,
.rm-stat-item:hover .rm-badge-graph {
    background-color: var(--accent-tfm);
    color: var(--primary-tfm);
}

.rm-stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--bg-white);
    line-height: 1;
    margin-bottom: 8px;
}

.rm-stat-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--text-light);
}

/* ==========================================================================
   PHILOSOPHY SECTION
   ========================================================================== */
.tfm-philosophy-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.tfm-section-subtitle {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-tfm);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.tfm-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-tfm);
    line-height: 1.25;
}

.tfm-philosophy-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-tfm);
    border-radius: 16px;
    padding: 36px 30px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tfm-philosophy-card:hover {
    transform: translateY(-6px);
    background-color: var(--bg-white);
    border-color: var(--accent-tfm);
    box-shadow: var(--shadow-lg);
}

.tfm-philosophy-card-title {
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--primary-tfm);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.tfm-philosophy-card-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Dynamic counter numbers behind cards */
.tfm-philosophy-card::after {
    position: absolute;
    bottom: -15px;
    right: 15px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0, 128, 255, 0.04);
    line-height: 1;
    pointer-events: none;
    transition: var(--transition);
}

.col-lg-4:nth-child(1) .tfm-philosophy-card::after { content: "01"; }
.col-lg-4:nth-child(2) .tfm-philosophy-card::after { content: "02"; }
.col-lg-4:nth-child(3) .tfm-philosophy-card::after { content: "03"; }

.tfm-philosophy-card:hover::after {
    color: rgba(0, 128, 255, 0.08);
    transform: translateY(-5px);
}

/* ==========================================================================
   INTEGRATED ENGINEERING SERVICES SECTION
   ========================================================================== */
.tfm-integrated-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.tfm-integrated-img-box {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--bg-white);
    transition: var(--transition);
}

.tfm-integrated-img-box:hover {
    transform: scale(1.015) translateY(-3px);
    box-shadow: 0 25px 50px -12px rgba(11, 27, 61, 0.15);
}

.tfm-section-lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.tfm-integrated-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tfm-integrated-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.tfm-integrated-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background-color: var(--accent-light);
    color: var(--accent-tfm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: var(--transition);
}

.tfm-integrated-item:hover .tfm-integrated-icon {
    background-color: var(--accent-tfm);
    color: var(--bg-white);
}

.tfm-integrated-text {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

.tfm-integrated-text strong {
    color: var(--primary-tfm);
    font-weight: 700;
}

/* ==========================================================================
   SERVICE DELIVERY / BOOTS ON THE GROUND
   ========================================================================== */
.tfm-delivery-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.tfm-delivery-card {
    background-color: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border-color);
    padding: 0 !important; /* Overwrite original padding */
    transition: var(--transition);
}

.tfm-delivery-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-white);
    border-color: var(--accent-tfm);
    box-shadow: var(--shadow-premium);
}

.tfm-delivery-img-wrapper {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.tfm-delivery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tfm-delivery-card:hover .tfm-delivery-img {
    transform: scale(1.08);
}

.tfm-delivery-body {
    padding: 28px 24px;
}

.tfm-delivery-icon-badge-inline {
    width: 40px;
    height: 40px;
    background-color: var(--accent-light);
    color: var(--accent-tfm);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: var(--transition);
}

.tfm-delivery-card:hover .tfm-delivery-icon-badge-inline {
    background-color: var(--accent-tfm);
    color: var(--bg-white);
}

.tfm-delivery-card-title {
    font-size: 17px;
    font-weight: 750;
    color: var(--primary-tfm);
}

.tfm-delivery-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tfm-delivery-list li {
    font-size: 13.5px;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.tfm-delivery-list li::before {
    content: '\F272'; /* Bootstrap Icon check-circle */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--success-green);
    font-size: 13px;
}

/* ==========================================================================
   OUTCOME-BASED SLA GOVERNANCE
   ========================================================================== */
.tfm-sla-section {
    background: linear-gradient(135deg, var(--primary-tfm) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    color: var(--bg-white);
    border-bottom: 4px solid var(--accent-tfm);
}

.tfm-sla-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 36px 30px;
    height: 100%;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.tfm-sla-card:hover {
    transform: translateY(-6px);
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-tfm);
    box-shadow: 0 15px 35px rgba(0, 128, 255, 0.1);
}

.tfm-sla-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent-tfm);
    margin-bottom: 12px;
    line-height: 1.1;
}

.tfm-sla-subtitle {
    font-size: 16px;
    font-weight: 750;
    color: var(--bg-white);
    margin-bottom: 12px;
}

.tfm-sla-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   CONSTRAINT CTA BANNER
   ========================================================================== */
.tfm-constraint-cta-section {
    background: linear-gradient(135deg, var(--primary-tfm) 0%, var(--primary-dark) 100%);
    padding: 85px 0;
    color: var(--bg-white);
    border-top: 4px solid var(--accent-tfm);
}

.tfm-constraint-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.65;
    color: var(--bg-white);
    margin-bottom: 35px;
}

.btn-constraint {
    background: linear-gradient(135deg, var(--accent-tfm) 0%, var(--accent-hover) 100%) !important;
    color: var(--bg-white) !important;
    font-weight: 600;
    padding: 15px 36px;
    border-radius: 8px;
    border: none !important;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 128, 255, 0.3);
}

.btn-constraint:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 128, 255, 0.5);
    color: var(--bg-white) !important;
}

/* ==========================================================================
   INDUSTRY APPLICATIONS SECTION
   ========================================================================== */
.tfm-industries-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.tfm-industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
}

.tfm-industry-pill {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 50px;
    color: var(--primary-tfm);
    font-weight: 600;
    font-size: 14.5px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    cursor: default;
}

.tfm-industry-pill i {
    color: var(--accent-tfm);
    font-size: 16px;
    transition: var(--transition);
}

.tfm-industry-pill:hover {
    background-color: var(--primary-tfm);
    color: var(--bg-white);
    border-color: var(--primary-tfm);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(11, 27, 61, 0.15);
}

.tfm-industry-pill:hover i {
    color: var(--accent-tfm);
    transform: scale(1.1);
}

/* ==========================================================================
   FINAL HERO BANNER
   ========================================================================== */
.tfm-final-banner-section {
    background: linear-gradient(135deg, #1E293B 0%, var(--primary-tfm) 100%);
    padding: 95px 0;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--accent-tfm);
}

.tfm-final-banner-title {
    font-size: 2.85rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.tfm-final-banner-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.tfm-final-banner-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-final-proposal {
    background: linear-gradient(135deg, var(--accent-tfm) 0%, var(--accent-hover) 100%) !important;
    color: var(--bg-white) !important;
    font-weight: 700;
    padding: 15px 32px;
    border-radius: 8px;
    border: none !important;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 128, 255, 0.3);
}

.btn-final-proposal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 128, 255, 0.5);
    color: var(--bg-white) !important;
}

.btn-final-call {
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    color: var(--bg-white) !important;
    background-color: transparent !important;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-final-call:hover {
    background-color: var(--bg-white) !important;
    color: var(--primary-tfm) !important;
    border-color: var(--bg-white) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVENESS ADJUSTMENTS
   ========================================================================== */
@media (max-width: 991px) {
    .tfm-title {
        font-size: 2.5rem;
    }
    .tfm-final-banner-title {
        font-size: 2.25rem;
    }
    .tfm-hero-section,
    .tfm-philosophy-section,
    .tfm-integrated-section,
    .tfm-delivery-section,
    .tfm-sla-section,
    .tfm-industries-section,
    .tfm-final-banner-section {
        padding: 70px 0;
    }
    .rm-stat-col:not(:last-child) {
        margin-bottom: 30px;
    }
}
