.wrap {
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 25px -4px #9da5ab;
}

article {
    padding: 25px 0;
    line-height: 150%;
    text-align: left;
}

nav .item {
    text-decoration: none;
}

nav .active {
    border-bottom: 1px solid;
}

@media only screen and (min-width: 768px) {
    article {
        padding: 40px;
    }

    .wrap {
        max-width: 750px;
        margin: 50px auto;
        padding: 30px 40px;
    }
}


hr {
    display: block !important;
    height: 1px !important;
    border: 0 !important;
    border-top: solid #dedede !important;
    margin: 1em 0 !important;
    padding: 0 !important;
}

default-color {
    display: block !important;
    height: 1px !important;
    border: 0 !important;
    border-top: 1px solid green !important;
    margin: 1em 0 !important;
    padding: 0 !important;
}

.resume-name {
    font-size: 1.75rem !important;
    font-weight: 700;
    letter-spacing: 0.4rem;
    color: #0067B5;
}

.resume-tagline {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
}

.resume-main .item-title {
    font-size: 0.9rem !important;
}

.title {
    display: block;
    width: 200px;
    float: left;
    color: #333333;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
}

.title-lowercase {
    display: block;
    color: #333333;
    font-weight: 700;
    line-height: 20px;
}

.simple-highlight {
    background-color: yellow;
    padding: 0.1em 0.2em;
    font-weight: 700;
}

.highlight-title {
    background-image: linear-gradient(to right, #0067B5,#0067B5, #0067B5);
    border-radius: 6px;
    padding: 3px 6px;
    font-weight: 700;
    color:white !important;
  }
  
.my-margin-left {
    margin-left: 200px;
}

.overview-section .item {
    margin-bottom: 1rem !important;
}

.resume-education-list,.resume-awards-list {
    font-size: 1rem !important;
}

.resume-intro {
    font-size: 1rem !important;
}

.my-green {
    color: #0067B5 !important;
    font-size: 0.9rem !important;
    font-weight: 700;
}

.resume-degree-time-org, .resume-degree-time {
    font-size: 1rem !important;
}

.overview-section .item-desc {
    color: #4f4f4f !important;
    font-size: 1rem !important;
}

.resume-main .item-title {
    font-size: 0.9rem !important;
}

.resume-intro {
    font-size: 0.875rem !important;
}

.resume-main .item-title {
    font-size: 0.875rem !important;
}

.resume-main .item-meta {
    font-size: 0.75rem !important;
}

.resume-main .item-content {
    font-size: 0.875rem !important;
    color: #333333 !important;
}

.custom-subsection-title {
    margin-bottom: 0.5rem !important; /* Adjust this value to control the spacing */
}

.tick-mark {
    color: #0067B5 !important;
}

.mb-2 {
    margin-bottom: .15rem !important;
}


.main-wrapper {
    background: #fff !important;
}


.accordion-header {
    border: 3px solid #DEE4EF !important; 
    border-radius: 2px !important;
    padding: 0px   !important;
}

.text-indent {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px !important; /* Add spacing between lines */
}

.text-indent strong {
    min-width: 220px; /* Adjust width to align labels */
    display: inline-block;
}

.text-content {
    display: inline-block;
    text-indent: 0; /* Prevent additional indentation */

}

.companies-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.companies-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 0;
}

.companies-container::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, #2c3e50, #6e849b) !important;
}

.companies-header {
    background: linear-gradient(135deg, #2c3e50 0%, #6e849b 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px 12px 0 0;
    margin: -2px -2px 0 -2px;
    position: relative;
    z-index: 2;
}

.companies-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: #ffffff !important;
}

.companies-header h1 i {
    color: #ffffff;
    margin-right: 0.75rem;
    font-size: 0.9em;
}

.companies-header .subtitle {
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 300;
    margin: 0;
}

.companies-content {
    padding: 2rem;
    line-height: 1.6;
    background: white;
    color: #333;
}

/* Filter buttons styling */
.companies-content .btn {
    border-radius: 8px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
}

.companies-content .row {
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
}

.companies-content .col-md-4 {
    display: flex !important;
    align-items: center !important;
}

.companies-content .btn-primary {
    background: linear-gradient(135deg, #34495e 0%, #4a6074 50%, #6e849b 100%) !important;
    border: 2px solid #4a6074 !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(52, 73, 94, 0.35) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

.companies-content .btn-primary:hover {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #4a6074 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(52, 73, 94, 0.4) !important;
}

.companies-content .btn-outline-primary {
    background: transparent !important;
    color: #34495e !important;
    border: 2px solid #34495e !important;
}

.companies-content .btn-outline-primary:hover {
    background: linear-gradient(135deg, #34495e 0%, #4a6074 50%, #6e849b 100%) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(52, 73, 94, 0.4) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

.companies-content .btn-warning {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 50%, #6c7b7d 100%) !important;
    border: 2px solid #7f8c8d !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.25) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
}

.companies-content .btn-warning:hover {
    background: linear-gradient(135deg, #7f8c8d 0%, #6c7b7d 50%, #5d6d6e 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(149, 165, 166, 0.3) !important;
}

.companies-content .btn-outline-warning {
    background: transparent !important;
    color: #95a5a6 !important;
    border: 2px solid #95a5a6 !important;
}

.companies-content .btn-outline-warning:hover {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 50%, #6c7b7d 100%) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(149, 165, 166, 0.3) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
}

.companies-content .btn-success {
    background: linear-gradient(135deg, #566573 0%, #6c7b7d 50%, #85929e 100%) !important;
    border: 2px solid #6c7b7d !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(86, 101, 115, 0.25) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
}

.companies-content .btn-success:hover {
    background: linear-gradient(135deg, #48525e 0%, #566573 50%, #6c7b7d 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(86, 101, 115, 0.3) !important;
}

.companies-content .btn-outline-success {
    background: transparent !important;
    color: #566573 !important;
    border: 2px solid #566573 !important;
}

.companies-content .btn-outline-success:hover {
    background: linear-gradient(135deg, #566573 0%, #6c7b7d 50%, #85929e 100%) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(86, 101, 115, 0.3) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
}

/* Section headings styling to match Company Overview */
.companies-content .overview-heading,
.companies-content .presence-heading,
.companies-content .services-heading,
.companies-content .metrics-heading {
    display: block !important;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    color: white !important;
    padding: 8px 15px !important;
    margin: 15px 0 10px 0 !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    border-left: 4px solid #3498db !important;
}

/* Pagination styling */
.pagination {
    background: #2c3e50 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
}

.pagination .btn {
    margin: 0 2px !important;
    border-radius: 6px !important;
    background: #34495e !important;
    border: 1px solid #6e849b !important;
    color: #ecf0f1 !important;
    font-weight: 500 !important;
}

.pagination .btn:hover {
    background: #6e849b !important;
    border-color: #6e849b !important;
    color: white !important;
}

.pagination .btn.disabled {
    background: #1a252f !important;
    border-color: #34495e !important;
    color: #7f8c8d !important;
}

.pagination .form-control {
    background: #34495e !important;
    border: 1px solid #6e849b !important;
    color: #ecf0f1 !important;
}

.pagination .form-control:focus {
    background: #34495e !important;
    border-color: #6e849b !important;
    color: #ecf0f1 !important;
    box-shadow: 0 0 0 0.2rem rgba(110, 132, 155, 0.25) !important;
}

.pagination .form-select {
    background: #34495e url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ecf0f1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 0.75rem center/16px 12px !important;
    border: 1px solid #6e849b !important;
    color: #ecf0f1 !important;
    padding-right: 2.25rem !important;
}

.pagination .form-select:focus {
    background: #34495e !important;
    border-color: #6e849b !important;
    color: #ecf0f1 !important;
    box-shadow: 0 0 0 0.2rem rgba(110, 132, 155, 0.25) !important;
}

.pagination span {
    color: #ecf0f1 !important;
    font-weight: 500 !important;
}

/* Pagination container styling */
.companies-section .d-flex.align-items-center.justify-content-between {
    background: #2c3e50 !important;
    border-radius: 8px !important;
    padding: 0.3rem 1rem !important;
}

/* View range - single container, no nested elements */
.view-range-container {
    margin: 0 2px !important;
    border-radius: 6px !important;
    background: #34495e !important;
    border: 1px solid #6e849b !important;
    color: #ecf0f1 !important;
    font-weight: 500 !important;
    margin-left: auto !important;
    padding: 0.375rem 0.75rem !important;
    text-decoration: none !important;
    display: inline-block !important;
    line-height: 1.5 !important;
}

.companies-section .ms-auto span {
    color: #ecf0f1 !important;
    font-weight: 500 !important;
    background: #34495e !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
    border: 1px solid #6e849b !important;
}

.card {
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    background: #2c3e50 !important;
}

.card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4) !important;
}

.card-header {
    background: #1a252f !important;
    color: white !important;
    border: none !important;
    padding: 0.8rem 1.2rem !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #34495e !important;
}

.card-header a {
    color: #ecf0f1 !important;
    text-decoration: none !important;
    font-size: 1rem !important;
}

.card-header a:hover {
    color: #6e849b !important;
}

/* Collapse arrow styling */
.card-header .collapse-arrow {
    transition: transform 0.3s ease !important;
    color: #6e849b !important;
    font-size: 0.9rem !important;
    margin-left: auto !important;
}

.card-header a[aria-expanded="true"] .collapse-arrow {
    transform: rotate(180deg) !important;
}

.card-header a[aria-expanded="false"] .collapse-arrow {
    transform: rotate(0deg) !important;
}

.card-body {
    background: #34495e !important;
    border: none !important;
    border-radius: 0 0 10px 10px !important;
    padding: 1.5rem !important;
    margin-bottom: 0px !important;
    color: #ecf0f1 !important;
}

.card-title {
    font-size: 1.5rem !important; /* Larger font size for the title */
    font-weight: bold !important; /* Bold font for the title */
    color: #333 !important; /* Dark gray text color */
    margin-bottom: 15px !important; /* Space below the title */
}

.card-text {
    font-size: 0.95rem !important; /* Standard font size for text */
    color: #bdc3c7 !important; /* Light gray text color for dark theme */
    line-height: 1.5 !important; /* Improved line spacing */
    margin-bottom: 15px !important; /* Space between sections */
}

.card-text strong {
    color: #ecf0f1 !important; /* Light color for strong text */
}

.card-text a {
    color: #6e849b !important; /* Blue color for links */
    text-decoration: none !important; /* Remove underline from links */
}

.card-text a:hover {
    color: #95a5a6 !important;
    text-decoration: underline !important; /* Underline links on hover */
}

.text-indent {
    margin-left: 25px !important; /* Indent text */
    margin-bottom: 8px !important; /* Add spacing between lines */
}

.text-start {
    text-align: left !important; /* Align text to the left */
}

.resume-name {
    font-size: 2rem !important; /* Larger font size for the header */
    font-weight: bold !important; /* Bold font for the header */
    color: #222 !important; /* Darker gray for the header */
    margin-bottom: 20px !important; /* Space below the header */
}


p {
    margin: 0 !important; /* Ensure no margin overrides */
    line-height: 1.6 !important; /* Set proper line height */
}
br {
    display: inline !important; /* Ensure <br> is displayed correctly */
}

.text-content {
    display: inline-block !important; /* Ensure inline-block for text content */
    margin-left: 0px !important; /* Adjust spacing between label and content */
}

.metrics-heading {
    display: block;
    margin-bottom: 10px; /* Add spacing below the heading */
}

/* Company section headings */
.overview-heading,
.presence-heading,
.services-heading,
.metrics-heading {
    display: block;
    margin-bottom: 12px !important;
    padding: 6px 10px !important;
    background: #1a252f !important;
    border-left: 4px solid #6e849b !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: #ecf0f1 !important;
}

mark {
    background: transparent;
    color: inherit;
    font-weight: 500
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
  }
  

  #viewDiv {
    width: 100%;
    height: 600px;
    max-width: 1200px;
    margin: 32px auto;
    border-radius: 0; /* No rounded corners */
    box-shadow: 0 2px 16px rgba(0, 112, 255, 0.12);
    background: #f4f8fb;
    border: 2px solid #b3c7e6;
    display: block;
    
}
  
  .arc-section {
    margin-top: 20px; /* Adds space above the ArcGIS map section */
    padding-bottom: 50px;    /* Optional: Add padding to the section for extra spacing */
  }

  #paneDiv {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    background-color: transparent;
    color: white;
  }

  .esri-button-overwrite {
    width: auto;
    display: table-cell;
    margin: 4px;
    background-color: white;
    color: #0079c1;
  }

  .highlight {
    background-color: #FBF719; /* Highlighter yellow */
    color: black; /* Text color for contrast */
    padding: 2px 0px; /* Optional padding for better visibility */
  }
  


  /* Fix Bootstrap secondary button colors */
.btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
}
.btn-secondary:hover, .btn-secondary:focus {
    background-color: #565e64 !important;
    border-color: #51585e !important;
    color: #fff !important;
}