/********** Template CSS **********/

:root {
    --bs-primary: #204D77;
    --bs-primary-rgb: 32, 77, 119;
}

body {
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar .navbar-brand,
.navbar .navbar-phone {
    height: 100px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

/* Custom premium hover/active underline animation */
@media (min-width: 1200px) {
    .navbar .navbar-nav .nav-link {
        position: relative;
    }
    
    .navbar .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 3px;
        bottom: 15px;
        left: 0;
        background-color: var(--bs-primary);
        transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border-radius: 2px;
    }
    
    .navbar .navbar-nav .nav-link:hover::after,
    .navbar .navbar-nav .nav-link.active::after {
        width: 100%;
    }
}

/* Custom margins for screen sizes close to collapse breakpoint to avoid overflow */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 15px;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 1199.98px) {
    .navbar .navbar-brand {
        margin-right: 0;
        border: none !important;
        height: 70px;
    }

    .navbar .navbar-brand img {
        max-height: 50px !important;
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
.portfolio-inner {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.portfolio-img {
    position: relative;
}

.portfolio-cat {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 10px 24px;
    background: rgba(255, 255, 255, .7);
    z-index: 1;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-light);
    font-weight: normal;
    text-transform: uppercase;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--bs-primary);
}

.footer .copyright a:hover {
    color: var(--bs-light);
}


/*** Custom Modal & Competency Card Styling ***/
.custom-modal-header {
    background-color: var(--bs-primary);
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
}

.custom-modal-header .modal-title {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.custom-modal-header .btn-close {
    background: none;
    font-size: 1.5rem;
    color: #ffffff;
    opacity: 0.8;
    transition: all 0.3s ease;
    border: none;
    line-height: 1;
    padding: 0;
    margin: 0;
}

.custom-modal-header .btn-close:hover {
    opacity: 1;
    transform: scale(1.15) rotate(90deg);
}

.competency-card {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    background-color: #ffffff;
    border-radius: 8px;
}

.competency-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(32, 77, 119, 0.15);
    border-color: var(--bs-primary) !important;
}

.competency-card .icon-container {
    width: 42px;
    height: 42px;
    background-color: rgba(32, 77, 119, 0.08);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.05rem;
    transition: all 0.4s ease;
}

.competency-card:hover .icon-container {
    background-color: var(--bs-primary);
    color: #ffffff;
    transform: rotate(360deg);
}

.competency-card .skill-title {
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    font-weight: 600;
    color: #2b354e;
}

.modal-intro-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    border-left: 4px solid var(--bs-primary);
    padding-left: 1rem;
    margin-bottom: 2rem;
}


/*** Form Input Styling in Quote Section ***/
.quote .form-control,
.quote .form-select {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.quote .form-control:focus,
.quote .form-select:focus {
    background-color: #ffffff;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(32, 77, 119, 0.15);
}

/*** Custom White Footer Styles ***/
.footer-white {
    background-color: #ffffff;
    color: #555555;
}

.footer-white .footer-title {
    color: #111111;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: none;
}

.footer-white .footer-link {
    color: #555555 !important;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 4px 0;
    display: inline-block;
}

.footer-white .footer-link:hover {
    color: var(--bs-primary) !important;
    transform: translateX(4px);
    text-decoration: none;
}

.footer-white .contact-item {
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-white .contact-item i {
    font-size: 1rem;
    color: var(--bs-primary);
    width: 20px;
    margin-top: 3px;
}

.footer-white .social-btn {
    width: 38px;
    height: 38px;
    background-color: var(--bs-primary);
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-white .social-btn:hover {
    background-color: #112d47;
    transform: translateY(-3px);
    color: #ffffff;
}

.footer-copyright {
    background-color: var(--bs-primary);
    color: #ffffff;
    font-size: 0.9rem;
    padding: 22px 0;
    letter-spacing: 0.5px;
}

.footer-copyright a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

/*** CTA Custom Styles ***/
.cta-btn {
    border-radius: 8px;
    font-weight: 600;
    color: var(--bs-primary) !important;
    background-color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
    background-color: #f8f9fa !important;
}

/*** Resume Form Custom Styles ***/
.resume-form .form-control {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.resume-form .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(32, 77, 119, 0.15);
    background-color: #ffffff;
}

.resume-form .btn-primary:hover {
    background-color: #112d47 !important;
    border-color: #112d47 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 77, 119, 0.3) !important;
}

/*** Table Custom Styles ***/
.table-responsive table tbody tr {
    transition: background-color 0.2s ease;
}

.table-responsive table tbody tr:hover {
    background-color: rgba(32, 77, 119, 0.03) !important;
}

/*** Our Approach Diagram Custom Styles ***/
.approach-diagram-container {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(32, 77, 119, 0.05);
    border: 1px solid #eef2f5;
}

.approach-row {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.flex-row-reverse-custom {
    flex-direction: row; 
}

.approach-badge {
    width: 200px;
    min-width: 200px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-align: center;
    border-radius: 8px;
    position: relative;
    clip-path: polygon(0% 0%, 88% 0%, 100% 50%, 88% 100%, 0% 100%);
    padding-right: 25px;
    padding-left: 15px;
    box-shadow: 0 4px 10px rgba(32, 77, 119, 0.08);
}

.bg-primary-blue {
    background-color: #204d77;
}
.bg-dark-slate {
    background-color: #475569;
}
.bg-joint-blue {
    background-color: #3b82f6;
}
.bg-gold {
    background: #854d0e;
    clip-path: none !important;
    padding-right: 15px !important;
    border-radius: 8px;
}

.approach-steps-wrapper {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
    gap: 10px;
}

.flex-row-reverse-steps {
    flex-direction: row-reverse; 
}

.approach-step-card {
    flex: 1;
    min-width: 0;
    height: 75px;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.05);
}

.approach-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(32, 77, 119, 0.1);
}

.bg-light-blue {
    background-color: #ebf4fc;
    color: #1a4269;
    border-color: rgba(32, 77, 119, 0.15);
}
.bg-teal {
    background-color: #e6fcf5;
    color: #0c6b58;
    border-color: rgba(12, 107, 88, 0.15);
}
.bg-green {
    background-color: #10b981;
    color: #ffffff;
    border-color: #10b981;
}
.bg-light-grey {
    background-color: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}
.bg-dark-grey {
    background-color: #64748b;
    color: #ffffff;
    border-color: #64748b;
}

.approach-step-spacer {
    flex: 1;
    visibility: hidden;
    height: 75px;
}

.benefit-pill {
    flex: 1;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.benefit-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(16, 185, 129, 0.2);
}

.bg-emerald {
    background-color: #10b981;
}

.approach-arrow-right {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #ccc;
    margin: 0 5px;
}

.approach-arrow-left {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 15px solid #ccc;
    margin: 0 5px;
}

.arrow-blue {
    border-left-color: #204d77;
}
.arrow-teal {
    border-left-color: #0c6b58;
}
.arrow-green {
    border-right-color: #10b981;
}
.arrow-grey {
    border-left-color: #64748b;
}

.approach-connector-down-right {
    display: flex;
    justify-content: flex-end;
    padding-right: 90px; 
}

.approach-connector-down-left {
    display: flex;
    justify-content: flex-start;
    padding-left: 290px; 
}

.approach-arrow-down {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid #ccc;
}

.approach-arrow-down.arrow-teal {
    border-top-color: #0c6b58;
}
.approach-arrow-down.arrow-green {
    border-top-color: #10b981;
}

.approach-mobile-timeline {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.mobile-section-header {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.mobile-step-card {
    display: flex;
    align-items: center;
    padding: 15px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.05);
}

.mobile-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.mobile-benefit-pill {
    padding: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.1);
}

/*** Services Value Chain Custom Styles ***/
.value-chain-card {
    transition: all 0.3s ease;
    border: 1px solid #eef2f5;
    position: relative;
}

.value-chain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(32, 77, 119, 0.1) !important;
}

.border-top-primary {
    border-top: 5px solid #204d77 !important;
}
.border-top-orange {
    border-top: 5px solid #f97316 !important;
}
.border-top-green {
    border-top: 5px solid #10b981 !important;
}

.card-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.value-chain-card:hover .card-icon-container {
    transform: scale(1.1) rotate(5deg);
}

.bg-primary-light {
    background-color: rgba(32, 77, 119, 0.08);
}
.bg-orange-light {
    background-color: rgba(249, 115, 22, 0.08);
}
.bg-green-light {
    background-color: rgba(16, 185, 129, 0.08);
}

.text-orange {
    color: #f97316 !important;
}
.text-green {
    color: #10b981 !important;
}

.text-dark-blue {
    color: #112d47;
}

.value-chain-list li {
    font-size: 0.92rem;
    color: #4a5568;
    font-weight: 500;
}

.value-chain-list li i {
    font-size: 1.05rem;
}

/* Benefit Badges */
.benefit-badge {
    transition: all 0.3s ease;
    border-color: #e2e8f0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.benefit-badge:hover {
    transform: translateY(-3px);
    border-color: var(--bs-primary) !important;
    box-shadow: 0 8px 20px rgba(32, 77, 119, 0.06) !important;
}

.benefit-badge i {
    transition: transform 0.3s ease;
}

.benefit-badge:hover i {
    transform: scale(1.15);
}

/*** Leadership Custom Section Styles ***/
.leadership-card {
    border-radius: 12px;
    border-top: 5px solid var(--bs-primary);
    border-left: 1px solid #eef2f5;
    border-right: 1px solid #eef2f5;
    border-bottom: 1px solid #eef2f5;
    box-shadow: 0 8px 25px rgba(32, 77, 119, 0.05);
    transition: all 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(32, 77, 119, 0.12);
}

.leadership-img-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.leadership-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leadership-placeholder-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

/* Gradients for Placeholder Avatars */
.gradient-blue {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #3b82f6 100%);
}

.gradient-orange {
    background: linear-gradient(135deg, #f97316 0%, #facc15 100%);
}

/* Custom Badges */
.badge.bg-primary-light {
    background-color: rgba(32, 77, 119, 0.08);
    border: 1px solid rgba(32, 77, 119, 0.15);
}

.badge.bg-orange-light {
    background-color: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.15);
}

.badge.bg-light-grey {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
}

.leadership-card .badge {
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.leadership-bio {
    font-size: 0.88rem;
    line-height: 1.6;
    text-align: justify;
}





