/* BNSF Code of Conduct - Soul CSS */
/* Global Variables and Base Styles */
:root {
    --bnsf-orange: #f15f22;
    --bnsf-dark-blue: #48434a;
    --bnsf-light-gray: #F8F9FA;
    --bnsf-light-gray2: #d3d5d5;
    --bnsf-light-gray3: #e0e4e7;
    --bnsf-med-gray: #aeb1b1;
}

body {
    font-family: "Roboto", "Helvetica Neue", Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 1rem; background-color: #e9eaea;
    padding-top: 90px; /* Increased to accommodate navigation with hotline banner */
    line-height:1.5;
  	color:#212529;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Add scroll padding to account for fixed header */
html {
    scroll-padding-top: 100px;
}
.rounded { border-radius: 1rem !important; }

.roundedpic {
    border-radius: 1.6rem;
    object-fit: cover;
}
/* Header and Navigation */
.hotline-banner {
    background-color: var(--bnsf-orange);
    color: white;
    padding: 8px 15px;
    text-align: center;
    font-weight: bold;
    font-size: .9rem;
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    display: inline-block;
}

.main-navigation {
    background-color: white;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-content {
    padding: 0;
    padding-top: 4px; /* Make room for hotline banner */
}

.main-navigation .navbar-nav {
    justify-content: center;
    width: 100%;
    padding-bottom:0px;
    padding-top:5px;
}

.main-navigation .navbar-nav .nav-link {
    color: var(--bnsf-dark-blue);
    font-weight: bold;
    padding: 1.5rem 1.5rem 0rem 1.5rem;
    transition: all 0.3s ease;
    position: relative; text-transform: uppercase; font-size: .8rem; border-bottom: 5px solid transparent;
    display: flex;
    
    align-items: center;
    justify-content: center;
    height: 77px;
}

.main-navigation .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid var(--bnsf-orange);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    transform: translateY(-50%) rotate(90deg);
}
.mceo::after { border: none !important; }
    
.mceo { font-weight: normal !important; }
.main-navigation .navbar-nav .nav-link:hover,
.main-navigation .navbar-nav .nav-link.active {
   border-bottom: 5px solid var(--bnsf-orange);
}

/* Dropdown Menu Styles */
.main-navigation .nav-item.dropdown .dropdown-toggle::after {
    content: none; /* Remove Bootstrap default arrow */
}

.main-navigation .dropdown-menu {
    background-color: white;
    border: 1px solid var(--bnsf-light-gray2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    margin-top: 0;
    min-width: 280px;
    border-radius: 0;
}

.main-navigation .dropdown-item {
    color: var(--bnsf-dark-blue);
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.main-navigation .dropdown-item:hover,
.main-navigation .dropdown-item:focus {
    background-color: var(--bnsf-light-gray);
    color: var(--bnsf-orange);
    /* padding-left: 1.75rem; */
}

p{
  line-height:1.5;
  margin-bottom:1rem;
  padding-bottom:0px;
}

  
/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
    .main-navigation .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .main-navigation .nav-item.dropdown .dropdown-menu {
        margin-top: 0;
    }
}

/* Hide dropdown submenu items on mobile */
@media (max-width: 991.98px) {
    .main-navigation .dropdown-menu {
        display: none !important;
    }
    
    .main-navigation .nav-item.dropdown .dropdown-toggle::after {
        display: none;
    }
}

.main-navigation .navbar-nav .nav-item:last-child .nav-link {
    border-right: none;
}

.navbar-brand {
    color: var(--bnsf-dark-blue) !important;
    font-weight: bold;
    padding: 1rem 1.5rem;
}

.breadcrumb-nav {
    background: var(--bnsf-light-gray);
    padding: 1rem 0;
}

/* Hero Sections */
.hero-section {
    background: url('images/header-home.jpg') no-repeat center/cover;
    min-height: 800px;
    position: relative;
    color: white;
}

.hero-content {
    display: flex;
    align-items: center;
    min-height: 70vh;
}

/* Hero sections for other pages */
body.code-overview .hero-section,
body.workplace-integrity .hero-section,
body.business-integrity .hero-section,
body.protecting-what-powers-us .hero-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    color: white;
}

body.code-overview .hero-section {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), 
                url('https://via.placeholder.com/1200x400/FF6B35/FFFFFF?text=Code+Overview') center/cover;
}

body.workplace-integrity .hero-section {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), 
                url('https://via.placeholder.com/1200x400/FF6B35/FFFFFF?text=Workplace+Integrity') center/cover;
}

body.business-integrity .hero-section {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), 
                url('https://via.placeholder.com/1200x400/FF6B35/FFFFFF?text=Business+Integrity') center/cover;
}

body.protecting-what-powers-us .hero-section {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), 
                url('https://via.placeholder.com/1200x400/FF6B35/FFFFFF?text=Protecting+Assets') center/cover;
}

/* Common Background Classes */
.orange-bg {
    background-color: var(--bnsf-orange);
    color: white;
}

.dark-bg {
    background-color: var(--bnsf-dark-blue);
    color: white;
}
.light-gray-bg {
    background-color: var(--bnsf-light-gray2);
}
.light-gray-bg3 {
    background-color: var(--bnsf-light-gray3);
}
.med-gray-bg {
    background-color: var(--bnsf-med-gray);
}
/* Home Page Specific */
.integrity-badge img {
    width: 200px;
    height: 200px;
    display: block;
    margin: -100px auto 2rem;
}

.integrity-text {
    text-align: center;
    font-weight: bold;
}

/* Cards and Sections */
.section-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
    position: relative;
}

.section-card:hover {
    transform: translateY(-2px);
}

.card-overlay {
    background: (rgba(72,67,74,0.3), rgba(0,0,0,0.5));
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Navigation Cards Styles */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.card-content-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(72,67,74,0.57);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.card-content-bottom h5 {
    margin: 0;
    color: #fff;
    font-size: .6rem !important;
    font-weight: bold !important;
    display: block;
    text-align: center;
    align-items: center;
    width: 100%;
}

.triangle-arrow {
    width: 0; 
    height: 0; 
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 12px solid #f15f22;
    margin-left: 7px;
    display: inline-block;
}

/* Message Section */
.message-section {
    padding: 4rem 0;
}

.ceo-photo {
    max-width: 450px;
    margin: 0 auto;
}
 
.transaction_integrity li {
 padding-bottom:0px;
 line-height:1.5;
}

/* Code Overview Specific */
.decision-framework {
    background: url(images/bg-fast.png) no-repeat var(--bnsf-dark-blue); background-size: 100%;
    color: white;
    padding: 2rem;
    border-radius: 0px;
    margin: 2rem 0 0 0;
    text-align: center;
}
.decision-framework li { list-style: none;}
.decision-card {
    color: var(--bnsf-dark-blue);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}

.decision-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.stop-icon {
    background: #DC3545;
    color: white;
}

.ask-icon {
    background: var(--bnsf-orange);
    color: white;
}

.go-icon {
    background: #28A745;
    color: white;
}

/* Integrity Check Sections */
.integrity-check {
    background: var(--bnsf-dark-blue);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

/* Workplace Integrity Specific */
.did-you-know {
    background: var(--bnsf-orange);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.key-steps {
    background: url(images/bg-key-steps.jpg) no-repeat top center; background-size: cover;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem;
}
.step-item strong {
 color:#212529;
  font-weight:bolder;  
}

.step-number {
    background: var(--bnsf-orange);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
}

/* Business Integrity Specific */
.remember-box {
    background: var(--bnsf-orange);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.safety-section {
    background: linear-gradient(45deg, var(--bnsf-orange), #FF8A65);
    color: white;
    padding: 3rem 0;
}

div > img {
 padding:0px; 
}

.retaliation-warning {
    background: var(--bnsf-orange);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
}

/* Protecting What Powers Us Specific */
.info-shared-box {
    background: var(--bnsf-orange);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
}

.col-lg-8 a, .col-lg-4 a, .col-md-6 a, .col-7 a {
  text-decoration:underline;
  color:#000;
}

.your-voice a:hover {
 text-decoration:underline;
 color:#000;
}

.when-legal-hold {
    background: var(--bnsf-orange);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
}

/* Utility Classes */
.orange-text {
    color: var(--bnsf-orange);
}


/* typography */
h2.orange-text { border-bottom: 2px solid var(--bnsf-orange); padding-bottom: .8rem; width: 100%; font-size: 2.5rem !important; }
h2 { font-weight:500;line-height:1.2; padding:0px; margin-bottom:0.5rem; font-size:2rem;  }
h3 { font-size: 1.4rem !important; font-weight: bold !important; margin-bottom: 1rem; padding:0px; }
h4 { font-size: 1.6rem !important; font-weight: bold !important; margin-bottom: 1rem; padding:0px; }
h5 { font-size: 1.2rem !important; font-weight: bold !important; margin-bottom: .7rem; padding:0px; }
footer {  font-size: 0.7rem; }
.thetitle { font-size: 3rem !important; font-weight: 600 !important; margin-bottom: 1rem; color: #fff; text-align: center; width: 100%; }
.thetitlebox { background: var(--bnsf-orange); color: white; padding: 40px; display: flex; align-items: center; justify-content: space-between; text-align: center; }
blockquote { background: var(--bnsf-dark-blue); color: #ccc !important; margin: 0; font-size: 23px; font-weight: bold; text-align: center; }
blockquote h4 { color: #ccc !important; font-size: 23px !important;text-align: center; font-weight: bold; line-height: 38px; }
blockquote h5 { font-size: 16px !important; font-weight: normal; text-align: right; }
.fwbold { font-weight: bold !important; }
.btn { border: 0; border-radius: 0; transition: all 0.25s ease; }
.btn-primary { background: var(--bnsf-orange); color: white; }
.btn-primary:hover { background: var(--bnsf-dark-blue); color: white; }

.talkarrow { position: absolute; bottom: -35px; left: 30%; width: 0; height: 0; border-left: 35px solid transparent; border-right: 0px solid transparent; border-top: 35px solid var(--bnsf-orange); }
footer a { color: #ddd !important; text-decoration: none !important; }
footer a:hover { color: #fff !important; text-decoration: underline !important; }
footer a.active { color: #fff !important; font-weight: bold !important; }
footer a.active:hover { text-decoration: none !important; }
.text-left { text-align: left !important; }
/* backgrounds */
.bgcode2 { background: url(images/code-bg2.jpg) no-repeat center/cover; }
.bgcode4 { background: url(images/code-bg4.jpg) no-repeat center/cover; }
.w-10 { width: 10% !important; }
.w-20 { width: 20% !important; }
.w100 { width: 100% !important; }
.revpol a { width: 350px; float: none; display: block; margin: 0 auto; }

.revpol a:hover {
  text-decoration:none;
}

.revpol h4 { font-weight: normal !important; font-style: italic !important; }
.bgtraintrack { background: url(images/bg-traintracks.jpg) no-repeat center/cover; }
.bgconfide { background: url(images/bg-confide.jpg) no-repeat center/cover; }
.bglake { background: url(images/bg-lake.jpg) no-repeat center/cover; }
.headerbus { background: url(images/header-business.jpg) no-repeat center/cover; }
.headerpower { background: url(images/header-power.jpg) no-repeat center/cover; }
.iconsize { width: 90px; margin: 0 0 20px 0; }
.brright { border-right: 1px solid #aaa; }
.bgliving { background: url(images/bg-living.png) no-repeat center/contain; }
.bgretailation { background: url(images/bg-retailation.png) no-repeat center/contain; }
.bgwhitequestion { background: url(images/bg-white-question.png) no-repeat var(--bnsf-med-gray) center/contain; background-size: 20% }
.homeheadertextbox { bottom: 0; left: 0; right: 0; }
.homeheadertext { width: 1000px; padding: 0 15px; display: block; margin: 0 auto;}
.moff { display: block !important; }
.mon { display: none !important; }





@media screen and (min-width: 1900px) {
    .integrity-badge {
      margin-top: -350px;
    }
  }

  /* Responsive Design */
@media (max-width: 768px) {
    body { padding-top: 70px; }
    .hero-section {
        min-height: 50vh;
    }
    
    .integrity-badge img {
        width: 150px;
        height: 150px;
    }
    
    .main-navigation .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    .homeheadertextbox { position: relative !important; }
    .homeheadertext { width: auto; }
    .hero-content { min-height: 40vh; }
    .ceo-photo { max-width: 100%; }
    .message-section {
        padding: 2rem 0;
    }
    .hotline-banner { position: relative !important; width: 100%; }
    .nav-content { padding: 7px 0;}
    .nav-content .navbar-toggler { margin: auto; }
    .hero-section {
        background: url(images/header-home.jpg) no-repeat right center;
        background-size: cover;
    }
    footer a {
        display: block;
        width: 100%;
    }
    .moff { display: none !important; }
    .mon { display: block !important; }
    .integrity-badge img {
        width: 100px;
        height: 100px;
        display: block;
        margin: -130px auto 2rem;
    }
    .did-you-know, .bgwhitequestion { width: 85% !important; padding: 3rem !important; }
    .did-you-know p, .bgwhitequestion p { text-align: left !important; }
    .thetitle { font-size: 2rem !important; }
    .bgliving { background-size: 50% !important;  }
    .mnp { padding: 0 !important; }
    .bgretailation,.bgconfide { background-image: none !important; }
    .w-20 { height: auto !important; }
    .brright { border-right: none !important; }
    .micon { width: 70% !important; }
    .mtop { margin-top: 100px !important; }
}