﻿
.btn-outline-info {
    color: #11b0de !important;
    border-width: 3px;
    border-color: #11b0de !important;
    border-radius: 0;
    background-color: transparent !important;
}

    .btn-outline-info:hover,
    .btn-outline-info:focus,
    .btn-outline-info:active,
    .btn-outline-info.active,
    .btn-outline-info.dropdown-toggle.show {
        color: #fff !important;
        background-color: #11b0de !important;
        border-color: #11b0de !important;
    }

.btn-std-width {
    width: 240px;
}

.btn-short-width {
    width: 180px;
}

.me-md-4 {
    margin-right: 1.5rem;
}

/*#region Service */
#service-header {
    background-image: url(../../img/banner/AMPM-Software-Service-Banner.png);
    background-position: left center;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

/*****************************/
/* service second level menu */
/*****************************/
.service-second-level-menu {
    background-color: darkblue;
    padding: 20px 0 20px 0;
    text-align: center;
}

.service-second-level-menu .menu a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    display: inline-block; /* REQUIRED */
    transition: text-decoration-color 0.2s ease;
}

.service-second-level-menu .menu a:hover,
.service-second-level-menu .menu a:active,
.service-second-level-menu .menu a.active {
    text-decoration: underline; /* underline on hover & active */
    text-underline-offset: 10px; /* distance below text */
    text-decoration-thickness: 3px; /* double-size underline */
    text-decoration-color: skyblue;
}

.card-flat {
    border: 0;
    border-radius: 0;
    min-height: 260px;    
}

.card-background-grey {
    border: 0;
    border-radius: 0;
    min-height: 260px;
    background-color: #b1b1b1;
}

.card-background-grey:hover {    
    color: #ffffff;
    background-color: #2b348e;
}

.card-background-white {
    border: 0;
    border-radius: 0;
    min-height: 230px;
    background-color: #ffffff;
}

/*************************/
/* Professional services */
/*************************/
.phone-link-img {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    /* This prevents the image from overlapping other elements when it grows */
    overflow: visible;
}

.phone-link-img img {
    /* Controls how fast the zoom happens */
    transition: transform 0.3s ease-in-out;
}

/* The "Pop-up" effect on Hover */
.phone-link-img:hover img {
    /* Scale > 1 makes it grow (zoom in) */
    /* Use scale(0.95) if you specifically want it to shrink (zoom out) */
    transform: scale(1.05);
}

/* Keeps the "Press" effect for when they actually click */
.phone-link-img:active img {
    transform: scale(0.98);
}

/*******************************/
/* expertise-meets-reliability */
/*******************************/

.expertise-meets-reliability-container {
    width: 55%; /* your current width */
    margin: 0 auto; /* centers the div horizontally */
}

/**********************/
/* project management */
/**********************/
/* Container for the timeline line */
.timeline-container {
    border-left: 3px solid #11b0de;
    margin-left: 30px; /* Increased margin to give icon space */
    padding-left: 20px;
    position: relative;
    border-left: none; /* Removed the full-length line */
}

/* Individual timeline item adjustments */
.timeline-item {
    position: relative;
    border: none !important;
    background: transparent !important;
    margin-bottom: 0px;
    z-index: 1;
}

/* 3. The Line Segment */
.timeline-item::after {
    content: "";
    position: absolute;
    left: -40px; /* Align with your icon center */
    top: 0;
    width: 3px;
    height: 100%;
    background-color: #11b0de;
    z-index: 1;
}

/* 4. Hide the line above the first item */
.timeline-item:first-child::after {
    top: 15px; /* Starts the line at the icon center */
    height: calc(100% - 15px);
}

/* 5. Hide the line below the last item */
.timeline-item:last-child::after {
    height: 15px; /* Ends the line at the icon center */
}

/* Optional: Change icon color when completed */
.timeline-item.completed .timeline-icon {
    color: #11b0de; /* Bootstrap Success Green */
}

.timeline-icon {
    position: absolute;
    left: -48px;
    top: 12px;
    font-size: 20px;
    color: #11b0de;
    background-color: #101010;
    z-index: 10;
}

/* Ensure the header doesn't swallow the icon */
.accordion-header {
    position: relative;
    padding-bottom: 0;
    z-index: 3;
}

/* 1. The Header: Slightly darker at the bottom to make the body "pop" */
.accordion-button {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%) !important;
    color: #333 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #dee2e6 !important;
    box-shadow: none !important;
}

/* 2. The Body: Pure high-contrast white */
.accordion-body {
    background-color: #ffffff !important;
    color: #444;
    /* We'll keep a very faint shadow to show where the header ends and white begins */
    box-shadow: inset 0 4px 6px -6px rgba(0,0,0,0.2);
    padding: 20px;
}

/* 3. Ensure the collapse wrapper is also pure white */
.accordion-collapse {
    background-color: #ffffff !important;
}

/* 4. Active State: When the milestone is open, make the header even more distinct */
.accordion-button:not(.collapsed) {
    background: linear-gradient(180deg, #e9ecef 0%, #dee2e6 100%) !important;
    border-bottom: none !important;
}

.milestone-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: #11b0de;
    margin-right: 15px;
    min-width: 20px;
}


/********************/
/* asset management */
/********************/
/* Sidebar Container */
.sidebar-nav {
    width: 320px;
    background-color: #b3b3b3; /* Grey background from image */
    padding: 0;
    height: fit-content;
}

/* Base Navigation Styling */
.nav-link {
    color: #000 !important;
    font-weight: 800;
    padding: 22px 25px;
    border: none;
    border-radius: 0;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
    display: block;
    text-decoration: none;
}

/* Active State (Blue Highlight) */
.nav-link.active {
    background-color: #00aeef !important; /* Cyan/Blue from image */
}

/* Creating the Arrow Tip */
.nav-link.active::after {
    content: "";
    position: absolute;
    right: -25px; /* Matches the width of the triangle */
    top: 0;
    width: 0;
    height: 0;
    /* Border triangle trick */
    border-top: 34px solid transparent; /* Half the height of the link */
    border-bottom: 34px solid transparent;
    border-left: 25px solid #00aeef; /* Same blue color */
    z-index: 10;
}

/* Simple Hover Effect for non-active items */
.nav-link:hover:not(.active) {
    background-color: #a6a6a6;
}

.tab-content-no-border-top {
    border-top: 0px !important;
    padding: 0 !important;
}

/***************/
/* call center */
/***************/
.upper-img {
    position: absolute;
    bottom: 50%;
    width: 50%;
    height: auto;
}

.lower-img {
    width: 60%;
    height: auto;
    z-index: 100;
}

.upper-text {
    position: absolute;
    bottom: 0%;
    width: 40%;
    height: auto;
}

.phone-link {    
    cursor: pointer;
    text-decoration: none;    
}

.phone-link:hover {
    color: blue;
    font-weight: 900;
}
    /* Mobile Friendly Adjustments */
    @media (max-width: 991px) {
        .upper-img, .lower-img, .upper-text {
        position: relative !important; /* Force back into vertical flow */
        width: 100% !important; /* Use full screen width */
        bottom: auto !important;
        margin-bottom: 20px;
    }

    /* Remove the 45% width restriction for the top header */
    #call-center .ms-auto {
        width: 100% !important;
        margin-left: 0 !important;
    }

    /* Center text for better mobile aesthetics */
    #call-center {
        text-align: center;
        margin-top: 50px !important;
    }

    /* Stack images vertically */
    .position-relative.d-flex {
        flex-direction: column !important;
    }

    /* Fix checkmark alignment */
    .col-md-4 {
        margin-bottom: 15px;
        text-align: left; /* Keep checkmark text left-aligned */
    }
}