/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Mulish:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/SpaceGrotesk-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}
/* Variables */
:root {
    --primary-color: #0b2038; /* Footer dark blue */
    --secondary-color: #f26f42; /* Orange accent */
    --text-dark: #222222;
    --text-light: #555555;
    --text-muted: #888888;
    --bg-light: #f9f9f9;
    --font-serif: "Times New Roman", Times, serif;
    --font-sans: "Mulish", sans-serif;
    --pink-box: #ffb8b8;
    --color-text: #4a6fa5;
    --color-title: #053b78;
    --color-bg: #f6f3ec
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    color: var(--color-title);
    font-size: 35px;
}

h4, h5 {
    font-size: 20px;
    font-family: var(--font-sans);
}

p,
span,
a,
li,
label,
input,
textarea,
button {
    font-size: 18px;
    font-family: var(--font-sans);
    color: var(--color-title);
}
/* Header */
.site-header {
    padding: 5px 0;
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
    position: fixed;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

    .site-header.scrolled {
        padding: 10px 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 200px;
    object-fit: contain;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    background: #fff;
    z-index: 99999;
    transform: translateY(-110px);
    transition: .35s;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

    .search-overlay.active {
        transform: translateY(0);
    }

.search-header {
    height: 110px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-input {
    flex: 1;
    border: none;
    border-bottom: 2px solid #ddd;
    outline: none;
    font-family: var(--font-body);
    padding: 10px 0;
}

    .search-input:focus {
        border-color: var(--accent-color);
    }

.search-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--accent-color);
    color: var(--color-title);
}

.search-close {
    width: 50px;
    height: 50px;
    border: none;
    background: none;
}

.nav-divider {
    width: 1px;
    height: 26px;
    background: #d9d9d9;
    margin: 0 18px;
    align-self: center;
}

@media (max-width:991px) {

    .logo-img {
        height: 42px;
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    color: var(--color-title);
    font-size: 1.2rem;
    font-weight: 400;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

    .nav-link:hover {
        color: var(--secondary-color);
    }

    .nav-link.active {
        font-weight: 500;
    }

    .nav-link i {
        font-size: 0.7rem;
    }

.search-icon {
    color: var(--text-dark);
    margin-left: 10px;
    border-left: 1px solid #eaeaea;
    padding-left: 20px;
    cursor: pointer;
}

/* Hero Section */

.hero-title {
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 30px;
    font-size: 50px;
}

.hero-text {
    margin-bottom: 25px;
    max-width: 95%;
}

.hero-image {
    width: 100%;
    /*height: 400px;*/
    object-fit: cover;
}

/* Leadership Section */
.leadership-section {
    background-color: #fff;
    margin-top: 10px;
}

.section-subtitle {
    color: var(--secondary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    font-size: 16px;
}

.text-color {
    color: var(--color-title);
    font-family: 'Times New Roman', Times, serif;
}

.section-subtitle::after {
    content: '';
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.section-subtitle-transaction::after {
    content: '';
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.section-subtitle-transaction {
    letter-spacing: 1px;
    /*text-transform: uppercase;*/
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    font-size: 23px;
}


.leadership-title {
    font-weight: 400;
    line-height: 1.2;
    font-size: 35px;
}

.leadership-text {
    color: var(--text-light);
    margin-bottom: 25px;
    max-width: 95%;
}

.color-banner h4 {
    color: var(--color-title);
}

.color-banner h2 {
    color: var(--color-title);
}

.color-banner p {
    color: var(--color-text);
}

.color-banner ul li {
    color: var(--color-text);
}

/* Team Grid */
.team-section {
    padding: 0 0 100px;
}

.team-card {
    margin-bottom: 50px;
}

.team-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f0f0f0;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.pink-box {
    background-color: var(--pink-box);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.read-bio-link {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s;
}

    .read-bio-link:hover {
        opacity: 0.7;
    }

.team-name {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2px;
}

.team-title {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Footer */
.site-footer {
    color: #fff;
    position: relative;
}

.footer-top-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient( 90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.1) 2px, transparent 2px, transparent 4px );
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 5px;
    font-weight: bold;
}

.footer-logo-text {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
}

.social-links a {
    color: #fff;
    margin-right: 15px;
    font-size: 1rem;
    transition: color 0.3s;
}

    .social-links a:hover {
        color: var(--secondary-color);
    }

.footer-title {
    font-family: var(--font-sans);
    margin-bottom: 20px;
    color: #d7d7d7;
    font-size: 20px;
}

.footer-logo-img {
    width: 180px;
    max-width: 100%;
    height: auto;
    display: block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: var(--bg-light);
        text-decoration: none;
        transition: color 0.3s;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 16px;
    }

        .footer-links a:hover {
            color: #fff;
        }

.news-filter a {
    text-decoration: none;
}

    .news-filter a:hover {
        color: var(--secondary-color);
    }

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
        border-radius: 20px;
        color: var(--color-title);
        /*padding-right: 54px;*/
    }
.section-about {
    padding-right: 54px;
}
/* --- Careers Page Styles --- */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0; /* Button appears square/flat */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

    .btn-primary:hover {
        background-color: #d85c32;
        border-color: #d85c32;
        color: #fff;
    }

.culture-section {
    padding: 25px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.culture-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.culture-title {
    font-family: var(--font-serif);
    font-weight: 600;
    margin-bottom: 15px;
}


.why-join-section {
    padding: 25px 0;
}

.why-join-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding-right: 30px;
}

.why-join-item {
    display: flex;
    margin-bottom: 30px;
}

.why-join-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-right: 20px;
    line-height: 1;
}

.why-join-title {
    font-weight: 600;
    margin-bottom: 5px;
}


.opportunities-section {
    padding: 25px 0;
    background-color: #fff;
}

.look-for-list {
    list-style: none;
    padding: 0;
}

    .look-for-list li {
        margin-bottom: 15px;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

        .look-for-list li i {
            color: var(--secondary-color);
            font-size: 1.1rem;
        }

.position-item {
    display: flex;
    align-items: flex-start;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
    gap: 15px;
}

    .position-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.position-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 5px;
}

.position-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.position-desc {
    margin: 0;
}

.position-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: .3s;
}

    .position-title a:hover {
        color: var(--accent-color);
        text-decoration: underline;
    }

.cta-section {
    padding: 100px 0;
    background-color: #f6f5ee; /* Warm beige background */
}

.cta-email {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-left: 20px;
}

    .cta-email:hover {
        text-decoration: underline;
        color: var(--secondary-color);
    }

.cta-image {
    width: 100%;
    mix-blend-mode: multiply;
    opacity: 0.8;
}

/* --- Contact Page Styles --- */
.contact-hero-image {
    width: 100%;
    /*height: 450px;*/
    object-fit: cover;
    display: block;
    margin-top: 80px;
}

.contact-info-section {
    background-color: #f4f4f4;
    padding: 60px 0;
}

.contact-title {
    font-family: var(--font-sans);
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-company {
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-address {
    margin-bottom: 20px;
    max-width: 90%;
}

.contact-extra {
    font-weight: 600;
}

.contact-map-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
}

    .contact-map-wrapper iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

.contact-form-section {
    background-color: #fcfbf9; /* Very light beige/warm background */
    padding: 80px 0;
}

.contact-form-heading {
    font-family: var(--font-sans);
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-card {
    background-color: #fff;
    padding: 50px 60px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.form-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 30px;
}

    .form-section-title:first-child {
        margin-top: 0;
    }

.custom-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
    color: var(--text-dark);
    background: transparent;
    transition: border-color 0.3s;
    margin-bottom: 30px;
}

    .custom-input:focus {
        outline: none;
        border-bottom-color: var(--secondary-color);
    }

    .custom-input::placeholder {
        color: #999;
    }

.btn-submit {
    background-color: #f59e0b; /* Orange-yellow */
    border: none;
    color: #111;
    font-weight: 600;
    padding: 12px 24px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .btn-submit:hover {
        background-color: #d98a08;
    }

.btn-maples {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f36d21;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    clip-path: polygon( 0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px) );
    transition: .3s;
}
/* --- Homepage Styles --- */
.hero-home {
    position: relative;
    padding: 120px 0 100px;
    color: #fff;
    margin: 0 50px;
}

    .hero-home::before {
        content: '';
        position: absolute;
        padding: 0 100px 100px 0;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .hero-home .container {
        position: relative;
        z-index: 2;
    }

.hero-home-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
}

.hero-home-text {
    max-width: 500px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

.btn-primary-blue {
    background-color: #1a56db;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

    .btn-primary-blue:hover {
        background-color: #1e40af;
        color: #fff;
    }

.btn-outline-white {
    background-color: white;
    color: var(--color-text);
    border: 1px solid rgba(255,255,255,0.5);
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin-left: 15px;
    display: inline-block;
}

    .btn-outline-white:hover {
        background-color: rgba(255,255,255,0.1);
        border-color: #fff;
        color: #fff;
    }

.hero-stats {
    display: flex;
    margin-top: 340px;
}

.hero-stats {
    display: flex;
    align-items: stretch;
}

.hero-stat-item {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.hero-divider {
    width: 1px;
    height: 100%;
    background: #e5e5e5;
}

.hero-stat-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.hero-stat-icon {
    font-size: 3rem;
    color: #a0aec0; /* Lighter grey-blue for icon */
    line-height: 1;
}

.hero-stat-title {
    font-weight: 600;
    letter-spacing: 1px;
    color: rgb(255, 255, 255);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.hero-stat-desc {
    font-weight: 500;
    margin: 0;
    font-size: 16px;
    color: white;
}

.features-banner {
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
    margin-top: -60px; /* Overlap hero */
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px;
}

.feature-icon {
    font-size: 45px;
    color: var(--color-title);
    line-height: 1;
}

.feature-title {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.feature-desc {
    color: var(--text-muted);
    margin: 0;
}

.solutions-section {
    background-color: var(--color-bg);
}

.solutions-title {
    font-size: 3rem;
    color: var(--primary-color);
}

.solution-card {
    background-color: #fff;
    padding: 30px;
    height: 100%;
    border-top: 3px solid transparent;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

    .solution-card:hover {
        border-top-color: var(--secondary-color);
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

.solution-num {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.solution-icon {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.solution-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.solution-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

    .solution-list li {
        font-size: 0.85rem;
        color: var(--text-light);
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .solution-list li::before {
            content: '•';
            color: var(--secondary-color);
        }

.solution-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .solution-link:hover {
        color: #d85c32;
    }

.portfolio-section {
    text-align: center;
    margin-top: 25px;
}

.portfolio-title {
    font-family: var(--font-sans);
    color: var(--color-text);
    margin-bottom: 50px;
}

.portfolio-logo-box {
    background-color: #f8f9fa;
    
	 width: 100%;
    display: flex;
    position: relative;
}

.portfolio-hover:hover {
    color: var(--pink-box);
}

.image-box {
    position: relative;
    overflow: hidden;
}

    .image-box img {
        display: block;
        transition: .4s ease;
    }

    .image-box::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: .4s ease;
        z-index: 1;
    }

    .image-box:hover::before {
        opacity: 1;
    }

    .image-box:hover img {
        transform: scale(1.05);
    }

    .image-box::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.55);
        transition: .4s;
    }

    .image-box:hover::before {
        bottom: 0;
    }

.image-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: .35s;
    z-index: 2;
}

.image-box:hover .image-overlay {
    opacity: 1;
}

.overlay-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #222;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: .3s;
}

    .overlay-arrow i {
        font-size: 20px;
        transition: .3s;
    }

    .overlay-arrow:hover i {
        transform: translate(4px,-4px);
    }

.portfolio-logo-box.pink-bg {
    background-color: var(--pink-box);
}

.portfolio-logo-box img {
    width: 100%;
}

.portfolio-item-title {
    margin-bottom: 5px;
    text-align: left;
    font-family: var(---font-serif);
}

.portfolio-item-desc {
    color: var(--text-light);
    text-align: left;
    font-family: var(---font-serif);
}

.portfolio-link-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.about-highlight-section {
    padding: 50px 0;
}

.about-highlight-title {
    font-size: 2.5rem;
    color: var(--color-title);
    line-height: 1.1;
    margin-bottom: 20px;
}

.about-highlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    padding-right: 40px;
}

.network-section {
    padding: 25px 0;
    background-color: #fff;
}

.network-title {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 50px;
    text-align: center;
}

.network-box {
    border: 1px solid #eaeaea;
    padding: 40px;
    background-color: #fff;
}

.network-map {
    width: 100%;
    margin-bottom: 30px;
    max-height: 500px;
}

.network-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.network-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background-color: rgba(242, 111, 66, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.network-item-title {
    margin-bottom: 5px;
    color: var(--color-title);
}

.network-item-desc {
    color: var(--color-title);
}

.net-stat-num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.net-stat-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.net-stat-text {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.home-leadership-section {
    padding: 10px 0;
}

    .home-leadership-section .container {
        background-color: var(--color-bg);
    }

.home-leadership-img {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
    padding-right: 40px;
}

.btn-link-orange {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
}

    .btn-link-orange:hover {
        color: #d85c32;
    }

/* --- News & Insights Page Styles --- */
.news-header-section {
    background-color: #fcfbf9; /* Very light beige */
    padding: 60px 0;
    text-align: center;
}

.news-header-title {
    font-size: 2.2rem;
    color: var(--color-title);
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.news-header-subtitle {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: #4a6fa5; /* Light blue/grey */
    font-weight: 400;
}

.news-content-section {
    padding: 0px 0;
    background-color: #fff;
}

.news-filter {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 40px;
}

    .news-filter span {
        margin: 0 10px;
        color: #ccc;
    }

.news-card {
    margin-bottom: 40px;
}

.news-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #f0f0f0;
    overflow: hidden;
    margin-bottom: 15px;
}

    .news-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.news-card:hover .news-img-wrapper img {
    transform: scale(1.05);
}

.news-tag-left {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #222;
    color: #fff;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    font-weight: 500;
}

.news-tag-right {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #222;
    color: #fff;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    font-weight: 500;
}

.news-tag-green {
    background-color: #05d58b;
    color: #000;
    font-weight: 600;
}

.news-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    width: 90%;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

    .news-overlay-text.dark-text {
        color: #222;
        text-shadow: none;
    }

.news-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

    .news-date.dark-text {
        color: #222;
    }

.news-img-wrapper.has-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.news-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.news-meta {
    font-size: 0.8rem;
    color: var(--text-light);
}

    .news-meta a {
        color: var(--text-dark);
        text-decoration: underline;
    }

.pink-news-bg {
    background-color: #ffb6b9;
}

.pagination-wrapper {
    margin-top: 40px;
}

.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .custom-pagination li a {
        color: var(--text-light);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
    }

    .custom-pagination li.active a {
        color: var(--secondary-color);
        text-decoration: underline;
    }

    .custom-pagination li a:hover {
        color: var(--secondary-color);
    }

/* --- Services Page Styles --- */
.service-block {
    padding: 25px 0;
    background-color: #fff;
}

    .service-block:nth-child(even) {
        background-color: #fcfbf9;
    }

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 450px;
}

.service-num {
    color: var(--secondary-color);
    font-family: var(--font-serif);
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    font-size: 25px;
}

.service-title {
    color: var(--color-title);
    margin-bottom: 25px;
    line-height: 1.1;
}

.service-desc {
    margin-bottom: 40px;
    max-width: 95%;
}

.service-subtitle {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.service-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    row-gap: 25px;
}

    .service-list li {
        width: 50%;
        padding-right: 15px;
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }

.service-list-icon {
    color: var(--secondary-color);
    line-height: 1;
}

.service-list-text {
    font-weight: 500;
    line-height: 1.3;
}

.support-banner {
    background-color: var(--primary-color);
    color: #fff;
    padding: 100px 0;
}

    .support-banner .section-subtitle {
        color: var(--secondary-color);
        text-align: center;
        align-items: center;
    }

        .support-banner .section-subtitle::after {
            display: none;
        }

.support-banner-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 60px;
}

.support-item {
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 30px;
    height: 100%;
}

@media (max-width: 991px) {
    .support-item {
        border-left: none;
        padding-left: 0;
        margin-bottom: 40px;
    }
}

.support-item:first-child {
    border-left: none;
    padding-left: 15px;
}

.support-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.support-item-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.support-item-desc {
    color: rgba(255,255,255,0.7);
}

.bottom-cta-section {
    padding: 100px 0;
    background-color: #fff;
}

.bottom-cta-title {
    font-size: 2.5rem;
    color: var(--color-title);
    line-height: 1.2;
}

.bottom-cta-divider {
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 25px 0;
}

.bottom-cta-img-wrapper {
    position: relative;
    width: 100%;
}

.bottom-cta-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.bottom-cta-badge {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: bold;
    border: 4px solid #fff;
    z-index: 2;
}

/* --- Transaction Page Styles --- */
.yellow-bg {
    background-color: #fce300; /* Vibrant yellow */
}

.portfolio-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #222;
    color: #fff;
    font-size: 0.6rem;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-white {
    background-color: #fff;
    color: var(--primary-color);
    border: 1px solid #fff;
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin-left: 15px;
    display: inline-block;
}

    .btn-white:hover {
        background-color: transparent;
        color: #fff;
    }

.portfolio-expanded-section {
    padding: 25px 0;
    background-color: #fcfbf9;
}

    .portfolio-expanded-section .portfolio-title {
        color: #4a6fa5;
        font-size: 2.2rem;
        margin-bottom: 50px;
        font-weight: 400;
    }

    .portfolio-expanded-section .section-subtitle {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-color);
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 5px;
    }

.read-story-link {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-dark);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
}

    .read-story-link i {
        font-size: 1.1rem;
    }

#mainMenu li:hover {
    background: #F7F7F7;
    color: #F58220;
}

.dropdown-menu li:hover {
    background: #F7F7F7;
    color: #F58220;
}

@media(min-width:992px) {

    #mainMenu {
        display: none !important;
    }
}

/* Mobile menu */
@media (max-width: 991.98px) {

    .navbar-nav {
        width: 100%;
    }

        .navbar-nav .dropdown > .nav-link {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding: 14px 0;
        }

            .navbar-nav .dropdown > .nav-link i {
                margin-left: auto;
                font-family: var(--font-sans);
            }
}

.service-item {
    height: 100%;
    padding: 10px 28px 0;
    border-right: 1px solid #ececec;
    transition: .35s;
}

    .service-item:hover {
        transform: translateY(-6px);
    }

.service-number {
    color: #f58220;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #faf6f2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 28px;
}

    .service-icon i {
        color: #f58220;
        font-size: 50px;
    }

.service-item h4 {
    font-family: var(--font-serif);
    color: #143d8d;
    font-size: 24px;
    margin-bottom: 18px;
}

.service-item ul {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
    min-height: 180px;
}

    .service-item ul li {
        margin-bottom: 8px;
        line-height: 1.6;
    }

.service-item a {
    color: #f58220;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
}

    .service-item a i {
        margin-left: 6px;
        transition: .3s;
    }

.service-item:hover a i {
    margin-left: 12px;
}

@media(max-width:991px) {

    .service-item {
        border-right: none;
        border-bottom: 1px solid #ececec;
        padding: 30px 0;
    }
}

.service-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px 10px;
    border-right: 1px solid #ececec;
}

    .service-item ul {
        list-style: none;
        padding: 0;
        margin: 0;
        flex: 1; /* chiếm toàn bộ khoảng trống */
    }

.section-subtitle-transaction {
    font-family: var(--font-serif);
    color: var(--color-title);
}

.service-item a {
    margin-top: auto; /* luôn nằm dưới cùng */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f58220;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 11px;
}

.btn-maples {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f36d21;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    clip-path: polygon( 0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px) );
    transition: .3s;
}

.network-wrapper {
    border: 1px dashed #d7d7d7;
}

.network-left {
    border-right: 1px dashed #d7d7d7;
    padding: 45px;
}

.network-right {
    padding: 45px;
}

.network-heading {
    font-family: var(--font-heading);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 35px;
}

.network-map {
    max-width: 480px;
    width: 100%;
}

.network-stats {
    display: flex;
    margin-top: 40px;
    border-top: 1px solid #ececec;
}

.stat-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 18px;
}

    .stat-box:not(:last-child) {
        border-right: 1px solid #ececec;
    }

    .stat-box i {
        color: #f58220;
        font-size: 40px;
    }

    .stat-box h2 {
        margin: 0;
        font-size: 42px;
        font-weight: 700;
    }

    .stat-box h6 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
    }

    .stat-box p {
        margin: 5px 0 0;
        font-size: 13px;
        color: #666;
        text-transform: uppercase;
        line-height: 1.6;
    }

.network-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
}

.network-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff4ee;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-right: 22px;
}

    .network-icon i {
        color: #f58220;
        font-size: 32px;
    }

.network-item h5 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.network-item p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.network-box {
    position: relative;
    border: 1px dashed #d9d9d9;
    padding: 40px;
}

.network-arrow {
    position: absolute;
    top: -22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #f36d21;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(243,109,33,.25);
    z-index: 10;
}

.arrow-left {
    left: 25%;
    transform: translateX(-50%);
}

.arrow-right {
    left: 75%;
    transform: translateX(-50%);
}

.modal-content {
    border: none;
    border-radius: 18px;
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding: 25px 35px;
}

.modal-body {
    padding: 35px;
}

.modal-title {
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

.transaction-toolbar {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 18px 25px;
    margin-bottom: 40px;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toolbar-icon {
    width: 38px;
    height: 38px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    transition: .3s;
}

    .toolbar-icon:hover,
    .toolbar-icon.active {
        background: var(--accent-color);
        color: #fff;
        border-color: var(--accent-color);
    }

.toolbar-result {
    font-size: 15px;
    color: #666;
    margin-left: 10px;
}

.toolbar-right {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.category-select {
    width: 220px;
    height: 45px;
    border-radius: 0;
    border: 1px solid #ddd;
    font-size: 15px;
}

.search-group {
    position: relative;
    width: 320px;
}

    .search-group input {
        height: 45px;
        border-radius: 0;
        padding-right: 55px;
        border: 1px solid #ddd;
    }

    .search-group button {
        position: absolute;
        right: 0;
        top: 0;
        width: 50px;
        height: 45px;
        border: none;
        background: var(--secondary-color);
        color: #fff;
        transition: .3s;
    }

        .search-group button:hover {
            background: var(--accent-color);
        }

.transaction-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    transition: .35s;
    height: 100%;
    overflow: hidden;
}

    .transaction-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 35px rgba(0,0,0,.08);
    }

/* IMAGE */

.transaction-image {
    position: relative;
    overflow: hidden;
}

    .transaction-image img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        transition: .5s;
    }

.transaction-card:hover img {
    transform: scale(1.08);
}

/* TAG */

.transaction-price {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f58220;
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
}

/* BODY */

.transaction-content {
    padding: 22px;
}

.transaction-title {
    font-size: 22px;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

    .transaction-title a {
        color: var(--secondary-color);
        text-decoration: none;
    }

        .transaction-title a:hover {
            color: var(--accent-color);
        }

.transaction-author {
    font-size: 14px;
    color: #888;
    margin-bottom: 12px;
}

    .transaction-author i {
        color: var(--accent-color);
        margin-right: 6px;
    }

.transaction-desc {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* FOOTER */

.transaction-footer {
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    padding: 14px 22px;
    color: #888;
    font-size: 14px;
}

    .transaction-footer i {
        color: var(--accent-color);
    }

.transaction-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(245,130,32,.35);
    opacity: 0;
    transition: .4s;
    z-index: 1;
}

.transaction-card:hover .transaction-image::before {
    opacity: 1;
}

.sidebar-widget {
    border: 1px solid #e8e8e8;
    padding: 28px;
    margin-bottom: 30px;
    background: #fff;
}

.widget-title {
    font-size: 22px;
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
}

    .widget-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -10px;
        width: 45px;
        height: 2px;
        background: var(--accent-color);
    }

.sidebar-input {
    border-radius: 0;
    height: 46px;
    font-size: 15px;
}

.sidebar-btn {
    background: var(--secondary-color);
    color: #fff;
    border-radius: 0;
    height: 46px;
    font-weight: 600;
}

    .sidebar-btn:hover {
        background: var(--accent-color);
    }

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .category-list li {
        border-bottom: 1px solid #eee;
    }

        .category-list li:last-child {
            border-bottom: none;
        }

    .category-list a {
        display: block;
        padding: 12px 0;
        color: #555;
        text-decoration: none;
        transition: .3s;
    }

        .category-list a:hover {
            color: var(--accent-color);
            padding-left: 8px;
        }

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    background: #f5f5f5;
    color: #555;
    padding: 8px 14px;
    text-decoration: none;
    font-size: 13px;
    transition: .3s;
}

    .tag-item:hover {
        background: var(--accent-color);
        color: #fff;
    }

.latest-post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .latest-post-list li {
        border-bottom: 1px solid #eee;
        padding: 12px 0;
    }

        .latest-post-list li:last-child {
            border-bottom: none;
        }

    .latest-post-list a {
        color: #555;
        text-decoration: none;
        line-height: 1.7;
        transition: .3s;
    }

        .latest-post-list a:hover {
            color: var(--accent-color);
        }

.transaction-tabs {
    border-bottom: none;
}

    .transaction-tabs .nav-link {
        border: none;
        background: #f5f5f5;
        color: #333;
        padding: 14px 40px;
        border-radius: 0;
        font-weight: 600;
    }

        .transaction-tabs .nav-link.active {
            background: var(--secondary-color);
            color: #fff;
        }

.team-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
}

/* Overlay */

.team-overlay {
    position: absolute;
    inset: 0;
    background: #f5f5f5;
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: .4s;
    z-index: 5;
}

.team-card:hover .team-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Partner */

.partner-text {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
}

.overlay-name {
    margin-top: 10px;
    font-size: 28px;
    color: var(--secondary-color);
}

/* Info */

.overlay-info {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

    .overlay-info i {
        color: var(--accent-color);
        font-size: 18px;
    }

    .overlay-info strong {
        display: block;
    }

    .overlay-info small {
        color: #777;
    }

/* Expertise */

.overlay-heading {
    text-transform: uppercase;
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.overlay-list {
    list-style: none;
    padding: 0;
}

    .overlay-list li {
        padding: 6px 0;
        font-size: 14px;
    }

/* Description */

.overlay-desc {
    margin: 20px 0;
    color: #666;
    line-height: 1.7;
}

/* Linkedin */

.linkedin-link {
    text-decoration: none;
    color: #222;
    font-weight: 600;
}

    .linkedin-link:hover {
        color: var(--accent-color);
    }

.hero-transaction {
    /*background-image: url("/assets/img/2aOboQhXjIC9bT6sAo4H1V7bgyWtBbi1TW50J8u8.jpg");*/
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 570px;
}

.career-section {
    background: #fff;
}

.career-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border: 1px solid #ececec;
    margin-bottom: 25px;
    transition: .35s;
}

    .career-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0,0,0,.08);
        border-color: var(--accent-color);
    }

.career-type {
    display: inline-block;
    background: #f5f5f5;
    color: var(--accent-color);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.career-title {
    color: var(--secondary-color);
    margin-bottom: 18px;
    font-family: var(--font-heading);
}

.career-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #777;
    font-size: 15px;
}

    .career-info i {
        color: var(--accent-color);
        margin-right: 6px;
    }

.btn-apply {
    background: var(--accent-color);
    color: #fff;
    padding: 14px 26px;
    text-decoration: none;
    font-weight: 600;
    transition: .35s;
    white-space: nowrap;
    background: var(--secondary-color);
    color: #fff;
}

    /*.btn-apply:hover {
        background: var(--secondary-color);
        color: #fff;
    }*/


.section-title {
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

.section-desc {
    color: #666;
    line-height: 1.8;
}

@media(max-width:991px) {

    .career-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .btn-apply {
        width: 100%;
        text-align: center;
    }
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%,-50%);
    z-index: -2;
}

/* Overlay */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: -1;
}

/* .banner-contact {
    margin: 0 50px;
} */

.title-map {
    color: var(--color-title);
    font-family: var(--font-serif);
    font-size: 25px;
}

.header-pattern {
    width: 100%;
    height: 45px; /* Bạn có thể điều chỉnh chiều cao của dải này */
    display: flex;
    position: relative;
}

/* Định dạng chung cho các phân đoạn đường kẻ */
.line-segment {
    height: 100%;
    flex: 1; /* Chia đều chiều rộng cho 4 phần */
}

/* Sử dụng repeating-linear-gradient để vẽ các đường kẻ ngang.
           - Đường kẻ màu xanh sáng (opacity thay đổi theo từng đoạn) cao 2px.
           - Khoảng cách trong suốt giữa các đường kẻ là 4px (tổng cộng bước lặp là 6px).
        */

/* Đoạn 1: Đường kẻ rất mờ (độ mờ thấp nhất) */
.segment-1 {
    background-image: repeating-linear-gradient( to bottom, rgba(65, 126, 183, 0.15) 0px, rgba(65, 126, 183, 0.15) 2px, transparent 2px, transparent 6px );
}

/* Đoạn 2: Đường kẻ rõ hơn một chút */
.segment-2 {
    background-image: repeating-linear-gradient( to bottom, rgba(65, 126, 183, 0.4) 0px, rgba(65, 126, 183, 0.4) 2px, transparent 2px, transparent 6px );
}

/* Đoạn 3: Đường kẻ rõ hơn nữa */
.segment-3 {
    background-image: repeating-linear-gradient( to bottom, rgba(65, 126, 183, 0.6) 0px, rgba(65, 126, 183, 0.6) 2px, transparent 2px, transparent 6px );
}

/* Đoạn 4: Đường kẻ sáng nhất (bên phải cùng) */
.segment-4 {
    background-image: repeating-linear-gradient( to bottom, rgba(65, 126, 183, 0.85) 0px, rgba(65, 126, 183, 0.85) 2px, transparent 2px, transparent 6px );
}

.language-switch {
    display: flex;
    align-items: center;
    font-weight: 500;
}

    .language-switch span {
        color: #666;
        transition: .3s;
    }

    .language-switch .active {
        color: var(--accent-color);
        font-weight: 700;
    }

    .language-switch:hover span {
        color: var(--accent-color);
    }

.filter-btn {
    text-decoration: none;
    transition: .3s;
}

    .filter-btn.active {
        color: var(--accent-color);
        font-weight: 700;
    }

.portfolio-item {
    transition: .35s;
}

.unified-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Hiệu ứng kính mờ chuẩn đồng nhất */
    /*backdrop-filter: blur(2px) brightness(0.85);*/
    /*-webkit-backdrop-filter: blur(4px) brightness(0.85);*/
    background: rgba(15, 23, 42, 0.25);
    /* Dùng clip-path 6 điểm để vẽ cả vùng chéo và dải đáy 100px trên cùng một layer */
    /* Công thức: Điểm 1(trái trên) -> Điểm 2(cắt chéo trên) -> Điểm 3(giao giữa đường chéo và lề phải tại cao độ đáy) -> Điểm 4(phải dưới) -> Điểm 5(trái dưới) */
    clip-path: polygon(0% 0%, 36% 0%, calc(52% - 18px) calc(100% - 200px), 58% 101%, 0% 100%);
    z-index: 1;
    pointer-events: none;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .4s ease, transform .4s ease;
}

/* Ảnh mặc định */
.img-default {
    opacity: 1;
}

/* Ảnh hover */
.img-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

/* Hover */
.team-image-wrapper:hover .img-default {
    opacity: 0;
    transform: scale(1.05);
}

.team-image-wrapper:hover .img-hover {
    opacity: 1;
    transform: scale(1.05);
}
.navbar .nav-link.active {
    color: var(--secondary-color);
}
.nav-item .nav-link-lg.active {
    color: var(--secondary-color);
}

/* Serach */

.list-search {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .15);
    max-height: 420px;
    overflow-y: auto;
    display: none;
    z-index: 9999;
}

    .list-search ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .list-search li {
        border-bottom: 1px solid #f1f1f1;
    }

        .list-search li:last-child {
            border-bottom: none;
        }

    .list-search a {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 20px;
        text-decoration: none;
        color: #1d3557;
        transition: all .25s;
    }

        .list-search a:hover {
            background: #f8f9fc;
            color: #0d6efd;
        }

        .list-search a::before {
            content: "\F138";
            font-family: "bootstrap-icons";
            color: #0d6efd;
            font-size: 18px;
        }

.search-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.search-summary {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.no-result {
    padding: 18px;
    text-align: center;
    color: #888;
}


#backToTop {
    position: fixed;
    right: 25px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #ff6b00;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 15px rgba(0,0,0,.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s ease;
    z-index: 9999;
}

    #backToTop.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    #backToTop:hover {
        background: #ff7f24;
        transform: translateY(-4px);
    }

.service-block.active-service {
    animation: highlight 2s ease;
}

@keyframes highlight {
    0% {
        background: #fff4e8;
    }

    100% {
        background: transparent;
    }
}

.service-block {
    scroll-margin-top: 120px;
}





.section-subtitle-transaction {
    font-weight: 700;
    margin-bottom: 18px;
}

.partnership-divider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.line-group {
    display: flex;
    align-items: center;
    width: 160px; /* chỉnh độ dài line */
}

    .line-group.left {
        justify-content: flex-start;
        color:var(--color-text);
    }

    .line-group.right {
        justify-content: flex-end;
        color: var(--color-text);
    }

.line {
    flex: 1;
    height: 1px;
    background: #d9d9d9;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #17365d;
}

.line-group.left .dot {
    margin-right: 14px;
}

.line-group.right .dot {
    margin-left: 14px;
}

.section-desc {
    max-width: 620px;
    margin: auto;
    line-height: 1.3;
    color: var(--color-text);
}



.portfolio-logo-box {
    position: relative;
    overflow: hidden;
}

.country-flag {
    position: absolute;
    top: 15px;
    left: 15px; /* đổi từ right sang left */
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    z-index: 3;
}

    .country-flag img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }