:root {
    --primary-blue: #0a5ba8;
    --primary-dark-blue: #0a5ba8;
    --text-color: #333;
    --text-light: #555;
    --white: #ffffff;
    --bg-color: #f4f7fb;
    --font-serif: 'Times New Roman', Times, serif;
    --font-sans: 'Inter', sans-serif;
    --text-3xl: 1.875rem;
    --text-3xl--line-height: 2.25rem;
    --tw-leading: 2.25rem;
}

html,
body {
    font-family: var(--font-sans);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: auto !important;
    scroll-padding-top: 72px;
}

main {
    overflow-x: hidden;
}

/* Typography overrides for Bootstrap Reboot */
h1,
h2,
h3,
.logo-text,
.font-serif {
    font-family: var(--font-serif);
    margin-bottom: 0;
}

p {
    margin-bottom: 0;
}

/* Navbar overrides */
.custom-shadow {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.custom-nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-blue) !important;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.custom-nav-link:hover,
.custom-nav-link.active {
    color: var(--primary-blue) !important;
}

.custom-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
}

.custom-btn-primary {
    background-color: #0a5ba8 !important;
    color: var(--white) !important;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    transition: background-color 0.3s, transform 0.2s;
}

.custom-btn-primary:hover {
    background-color: var(--primary-dark-blue) !important;
}

/* Hero Section */
.custom-hero {
    background: #0A5BA8 !important;
    background-color: #0A5BA8 !important;
    color: var(--white);
    min-height: 540px !important;
    display: block !important;
    overflow: hidden;
    padding: 60px 30px !important;
}

@media (max-width: 1023px) {
    .custom-hero {
        padding: 60px 30px !important;
    }
}

.hero-bg-image {
    display: none !important;
}

/* Advantage Section */
.advantage-section {
    padding: 48px 0px !important;
    background-color: #F5F7FA;
}

.advantage-card-hover {
    transition: all 0.5s ease;
    border-color: #f1f5f9 !important;
}

.advantage-card-hover:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.icon-circle {
    width: 5rem;
    height: 5rem;
    background-color: #E7ECF7;
    transition: all 0.5s ease;
}

.advantage-card-hover:hover .icon-circle {
    background-color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(10, 91, 168, 0.3), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 2.25rem;
    height: 2.25rem;
    object-fit: contain;
    transition: all 0.5s ease;
}

.advantage-card-title {
    color: rgb(10, 91, 168);
    font-size: 17px;
    font-weight: 700;
    font-family: var(--font-serif);
}

.advantage-card-text {
    color: #334155;
    font-size: 14px;
    line-height: 1.625;
}

/* Milestone Section */
.milestone-section {
    background: linear-gradient(135deg, #3b71c1 0%, #16468b 100%);
    padding: 80px 0;
    color: var(--white);
}

.badge-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 10px;
    min-height: 80px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.badge-card img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 576px) {
    .badge-card {
        min-height: 100px;
    }

    .badge-card img {
        max-height: 70px;
    }
}

.badge-left {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 1.5;
}

.badge-logo-box {
    background-color: var(--primary-dark-blue);
    color: var(--white);
    padding: 12px 18px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 4px;
}

.milestone-title {
    font-size: clamp(36px, 5vw, 48px);
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 700;
}

.milestone-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.milestone-highlight {
    font-size: 18px;
    font-weight: 700;
    margin-top: 30px;
}

.milestone-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Collective Growth Section */
.collective-growth-section {
    padding: 80px 0;
    background-color: #f8faff;
}

.collective-header h2 {
    color: var(--primary-dark-blue);
    font-size: clamp(30px, 4vw, 36px);
    line-height: 1.25;
    margin-bottom: 24px;
    font-weight: 700;
}

.collective-lead {
    color: #334155;
    font-size: clamp(17px, 2vw, 19px);
    line-height: 1.625;
    margin-top: 16px;
    margin-bottom: 24px;
}

.collective-subtext {
    color: #475569;
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.625;
    margin-top: 16px;
}

/* Hero Section New Typography and Cards */
.hero-h1 {
    font-family: var(--font-serif);
    font-size: clamp(30px, 4vw, 36px);
    line-height: 1.25;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0;
}

.hero-lead-new,
.hero-text-new {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.625;
    margin-bottom: 0;
}

.hero-card-new {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #f1f5f9;
    padding: 1.75rem;
    gap: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.5s ease;
}

.hero-card-new:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.icon-circle-sm {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: #E7ECF7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title-new {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: rgb(10, 91, 168);
    letter-spacing: 0.025em;
    margin-bottom: 0;
}

.card-divider-new {
    height: 4px;
    border-radius: 9999px;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    width: 3rem;
    background-image: linear-gradient(90deg, rgb(10, 91, 168) 0%, rgb(10, 91, 168) 45%, rgb(245, 130, 32) 70%, rgb(29, 139, 58) 100%);
}

.card-text-new {
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.625;
    margin: 9px 0px 0px;
}

.text-primary-blue {
    color: rgb(10, 91, 168);
}

.highlight-blue-bold {
    color: rgb(10, 91, 168);
    font-weight: 600;
}

.font-semibold {
    font-weight: 600;
}

.card-divider-new {
    height: 2px;
    border-radius: 9999px;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    width: 3rem;
}

.card-text-new {
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.625;
    margin-bottom: 0;
}

.highlight-blue-bold {
    color: rgb(10, 91, 168);
    font-weight: 600;
}

.font-semibold {
    font-weight: 600;
}

.highlight-blue {
    color: var(--primary-blue);
    font-weight: 600;
}

.stats-card {
    background-color: var(--primary-blue);
    border-radius: 10px;
    padding: clamp(30px, 5vw, 40px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon-wrapper-new img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.stat-icon-white {
    filter: brightness(0) invert(1);
}

.stat-content-new h3 {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.1;
    font-family: var(--font-serif);
}

.stat-content-new span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.locations-top-line {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 0 20px 0;
    opacity: 1;
}

.location-name {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-serif);
    letter-spacing: 0.025em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.06));
    white-space: nowrap;
}

@media (min-width: 992px) {
    .location-name {
        font-size: 18px;
    }
}

.location-dash {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .location-dash {
        font-size: 18px;
    }
}


.cta-hover.cta-btn:hover {
    background-color: #084a8a !important;
    box-shadow: 0 20px 25px -5px rgba(10, 91, 168, 0.3) !important;
    transform: translateY(-0.125rem);
}

/* RMJ Box Section */
.rmj-box {
    background-color: #0A5BA8;
    border: 1px solid #0A5BA8;
    border-radius: 1.5rem;
    overflow: hidden;
    color: white;
    padding: 2rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
    .rmj-box {
        padding: 3rem;
    }
}

.rmj-badge-glass {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.rmj-badge-white {
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.rmj-badge-text {
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    color: white;
    line-height: 1.4;
}

.rmj-logo {
    max-height: 4rem;
    width: auto;
    object-fit: contain;
}

.rmj-title {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 3vw, 2.25rem);
    font-weight: 700;
    color: white;
    line-height: 1.25;
}

.rmj-divider {
    height: 0.25rem;
    width: 5rem;
    border-radius: 9999px;
    background-image: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 45%, rgb(245, 130, 32) 70%, rgb(29, 139, 58) 100%);
}

.rmj-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.625;
}

.rmj-highlight {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.rmj-image-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.rmj-image-wrapper:hover {
    transform: translateY(-0.25rem);
}

.rmj-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Integrated Portfolio Section */
.integrated-portfolio-section {
    background-color: #f8fbff;
}

.portfolio-main-title {
    color: var(--primary-dark-blue);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    font-family: var(--font-serif);
}

.portfolio-line {
    height: 2px;
    width: 40px;
    background-color: var(--primary-blue);
}

.gradient-line-small {
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, #1b75bc, #8cc63f, #f7931e);
}

.portfolio-card {
    border: 1px solid rgba(9, 71, 155, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.portfolio-icon {
    width: 48px;
    height: 48px;
    background-color: #F5F7FA;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.portfolio-icon img,
.blue-filter {
    filter: invert(18%) sepia(85%) saturate(2250%) hue-rotate(205deg) brightness(96%) contrast(98%);
}

.portfolio-title {
    color: var(--primary-dark-blue);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: var(--font-serif);
}

.portfolio-text {
    font-size: 13px;
    line-height: 1.5;
}

.portfolio-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-link:hover {
    color: var(--primary-dark-blue);
}

/* Center Circle Animation */
.center-circle-wrapper {
    width: 100%;
    max-width: 250px;
    aspect-ratio: 1 / 1;
}

.rotating-arrows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: spin 20s linear infinite;
    z-index: 1;
}

.inner-circle {
    width: 76%;
    height: 76%;
    z-index: 2;
    border: 4px solid #f8fbff;
}

.inner-circle h5 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: clamp(12px, 1.5vw, 14px);
    line-height: 1.3;
    font-family: var(--font-serif);
}

.inner-circle p {
    font-size: clamp(9px, 1.2vw, 11px);
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Service Detail Panels */
.detail-box {
    border: 1px solid var(--primary-blue);
    border-radius: 16px;
    padding: 30px;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 10px;
}

.custom-bullet-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 13px;
    line-height: 1.6;
}

.custom-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--primary-blue);
}

.list-row {
    margin-top: 20px;
}

/* Sectors Section */
.sectors-section {
    background-color: #0a5ba8;
}

.sector-item {
    min-width: 140px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: transform 0.3s, opacity 0.3s;
}



.sector-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.sector-item i {
    font-weight: 300;
}

.sector-item h6 {
    font-size: 13px;
    line-height: 1.4;
    font-family: var(--font-sans);
}

/* Custom Scrollbar for Sectors */
.custom-scrollbar {
    scrollbar-width: thin;

}

.custom-scrollbar::-webkit-scrollbar {
    height: 12px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 20px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #777777;
    border-radius: 20px;
    border: 2px solid #ffffff;

}

/* Scrollbar Buttons (Arrows) */
.custom-scrollbar::-webkit-scrollbar-button:single-button {
    background-color: #ffffff;
    display: block;
    width: 20px;
    height: 12px;
    background-size: 8px;
    background-repeat: no-repeat;
    background-position: center;
}

.custom-scrollbar::-webkit-scrollbar-button:single-button:horizontal:decrement {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23777777"><path d="M15 19l-7-7 7-7v14z"/></svg>');
    border-radius: 20px 0 0 20px;
}

.custom-scrollbar::-webkit-scrollbar-button:single-button:horizontal:increment {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23777777"><path d="M9 5l7 7-7 7V5z"/></svg>');
    border-radius: 0 20px 20px 0;
}

.white-filter {
    filter: brightness(0) invert(1);
}

.font-bold {
    font-weight: 700;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

@media (min-width: 40rem) {
    .sm\:text-3xl {
        font-size: var(--text-3xl);
        line-height: var(--tw-leading, var(--text-3xl--line-height));
    }
}

.container {
    max-width: 80rem;
    margin: auto;
}