/* Custom Styles & Overrides for Bridgeway Manpower Services */

/* 1. Navbar Transparency & Scroll Transitions */
.navbar-default {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.4s ease-in-out !important;
    min-height: 80px !important;
    padding: 20px 0 !important;
}

.navbar-default.scrolled {
    background: #ffffff !important;
    padding: 10px 0 !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
}

.navbar-default .navbar-brand {
    color: #ffffff !important;
    transition: all 0.4s ease-in-out;
}

.navbar-default.scrolled .navbar-brand {
    color: #333333 !important;
}

.navbar-default .navbar-brand .brand-highlight {
    color: #f7691f !important;
}

.navbar-default .navbar-nav > li > a {
    color: #ffffff !important;
    transition: all 0.4s ease-in-out;
}

.navbar-default.scrolled .navbar-nav > li > a {
    color: #333333 !important;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #ffffff !important;
    background-color: #f7691f !important;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
    color: #ffffff !important;
    background-color: #f7691f !important;
}

/* 2. Hero Section (#home) */
#home {
    background: url('../images/bms_banner_v2.4.png') no-repeat center center fixed !important;
    min-height: 100vh !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #ffffff;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding-bottom: 80px;
    padding-top: 100px;
    position: relative;
}

#home .dmw-license {
    color: #000000;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
}

#home .btn-bottom {
    background: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    padding: 15px 40px !important;
    font-size: 16px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease-in-out !important;
    border-radius: 0;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
}

#home .btn-bottom:hover {
    background: #f7691f !important;
    border-color: #f7691f !important;
    color: #000000 !important;
    transform: translateY(-5px);
}

/* 3. About Us Section Styling */
#about {
    padding: 80px 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
}

#about h2, #about h3 {
    color: #003366;
    font-weight: 800;
}

#about .title h3 {
    color: #003366;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

#about .title h4 {
    font-style: italic;
    color: #666666;
    font-size: 20px;
    margin-bottom: 15px;
}

#about p, #about li {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    line-height: 1.8;
    color: #333333;
    font-size: 16px;
}

.content-segment {
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.content-segment.bordered-top {
    border-top: 3px solid #FF8C00;
    padding-top: 30px;
    margin-top: 20px;
}

/* Side-by-Side Mission & Vision */
.mv-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin: 40px auto;
    max-width: 1000px;
}

.mv-box {
    flex: 1;
    border-top: 3px solid #FF8C00;
    padding-top: 20px;
    background: #ffffff;
}

.mv-box h3 {
    text-align: left;
    color: #003366;
    font-weight: 800;
    margin-bottom: 15px;
}

/* Services Grid Section */
.services-grid-section {
    border-top: 3px solid #FF8C00;
    padding-top: 50px;
    margin-top: 40px;
}

.services-intro {
    margin-bottom: 30px;
    text-align: center;
}

.services-intro h3 {
    color: #003366;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.service-item {
    padding: 25px 20px;
    border-left: 4px solid #FF8C00;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
    text-align: left;
}

.service-item:hover {
    background-color: #fffbf5;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.service-item h4 {
    color: #FF8C00;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-size: 1.05rem;
    text-align: left;
}

.service-item p {
    font-size: 0.95rem;
    color: #444444;
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Core Values Section */
.core-values-section {
    border-top: 3px solid #FF8C00;
    padding-top: 50px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.values-main-title {
    text-align: center !important;
    color: #003366;
    font-weight: 800;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.value-card-row {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    border-left: 6px solid #FF8C00;
    transition: all 0.3s ease;
    text-align: left !important;
}

.value-card-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
    border-color: #FF8C00;
}

.value-name {
    color: #FF8C00;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

.value-description {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    line-height: 1.8;
    color: #444444;
    margin: 0;
}

/* Guiding Principles Section */
.principles-section {
    border-top: 3px solid #FF8C00;
    padding-top: 50px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.principles-main-title {
    text-align: center !important;
    color: #003366;
    font-weight: 800;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.principle-card-row {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    border-left: 6px solid #FF8C00;
    transition: all 0.3s ease;
    text-align: left !important;
}

.principle-card-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
    border-color: #FF8C00;
}

.principle-name {
    color: #FF8C00;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

.principle-description {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    line-height: 1.8;
    color: #444444;
    margin: 0;
}

/* Why Choose BMS Section */
.bms-section {
    border-top: 3px solid #FF8C00;
    padding-top: 50px;
    margin-top: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.bms-main-title {
    text-align: center !important;
    color: #003366;
    font-weight: 800;
    margin-bottom: 45px;
    text-transform: uppercase;
}

.bms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.bms-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    border-bottom: 5px solid #FF8C00;
    transition: all 0.3s ease;
    text-align: center !important;
    position: relative;
    overflow: hidden;
}

.bms-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #003366;
}

.bms-letter {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(197, 104, 15, 0.52);
    line-height: 1;
    margin-bottom: 10px;
}

.bms-card h4 {
    color: #FF8C00;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.bms-text {
    text-align: center !important;
    line-height: 1.7;
    color: #555555;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* Meaning of BRIDGEWAY Section */
.bridgeway-acronym-section {
    border-top: 3px solid #FF8C00;
    padding: 50px 0;
    margin-top: 40px;
    width: 100%;
}

.acronym-title {
    text-align: center !important;
    color: #003366;
    font-weight: 800;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.acronym-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

.letter-item {
    background: #ffffff;
    border-left: 8px solid #FF8C00;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-radius: 4px;
    width: 100%;
}

.letter-item:hover {
    background-color: #fffaf5;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.15);
    transform: translateX(4px);
}

.big-char {
    font-size: 2.2rem;
    font-weight: 900;
    color: #003366;
    margin-right: 30px;
    width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.char-word {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333333;
    letter-spacing: 0.5px;
}

/* Contact Us Section (#contact) */
#contact {
    background-color: #ffffff !important;
    padding: 80px 0 !important;
}

#contact h3 {
    color: #003366;
    font-weight: 800;
}

#contact .contact-form .form-control {
    border: 1px solid #cccccc;
    margin-bottom: 15px;
    border-radius: 4px;
    padding: 12px;
    font-size: 15px;
}

#contact .btn-send {
    cursor: pointer;
    font-weight: bold;
    background: #f7691f;
    color: #ffffff;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 4px;
    font-size: 16px;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

#contact .btn-send:hover {
    background: #222222;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar-default {
        background: #ffffff !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
        padding: 10px 0 !important;
    }
    .navbar-default .navbar-brand {
        color: #333333 !important;
    }
    .navbar-default .navbar-nav > li > a {
        color: #333333 !important;
    }
    .mv-container {
        flex-direction: column;
        gap: 20px;
    }
    .services-container {
        grid-template-columns: 1fr;
    }
    .core-values-section, .principles-section, .bms-section {
        padding: 40px 15px;
    }
    .big-char {
        font-size: 1.8rem;
        margin-right: 20px;
        width: 40px;
    }
    .char-word {
        font-size: 1.1rem;
    }
}
