:root {
    /* HSBC Color Palette */
    --hsbc-red: #db0011;
    --hsbc-blue: #0066b3;
    --hsbc-dark-blue: #003d5d;
    --hsbc-green: #61b848;
    --hsbc-gold: #ffb81c;
    --hsbc-purple: #7200a1;
    --hsbc-teal: #00a3a1;
    --hsbc-white: #ffffff;
    --hsbc-light-gray: #f5f5f5;
    --hsbc-dark-gray: #333333;

    /* Theme Variables */
    --primary: var(--hsbc-red);
    --secondary: var(--hsbc-blue);
    --accent: var(--hsbc-gold);
    --background: var(--hsbc-white);
    --text: var(--hsbc-dark-gray);
    --light-bg: var(--hsbc-light-gray);
    --dark-bg: var(--hsbc-dark-blue);
}

/* HSBC Button Styles */
.hsbc-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.hsbc-button.primary {
    background-color: var(--hsbc-red);
    color: var(--hsbc-white);
    border: 2px solid var(--hsbc-red);
}

.hsbc-button.primary:hover {
    background-color: #c0000f;
    border-color: #c0000f;
}

.hsbc-button.secondary {
    background-color: transparent;
    color: var(--hsbc-red);
    border: 2px solid var(--hsbc-red);
}

.hsbc-button.secondary:hover {
    background-color: var(--hsbc-red);
    color: var(--hsbc-white);
}

.hsbc-button.large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* HSBC Navigation */
.hsbc-nav {
    background-color: var(--hsbc-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.hsbc-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

.hsbc-nav .marsx-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hsbc-red);
    margin-right: 10px;
}

.hsbc-nav .partner-badge {
    font-size: 0.8rem;
    color: var(--hsbc-dark-gray);
    display: flex;
    align-items: center;
}

.hsbc-nav .partner-badge img {
    height: 20px;
    margin-left: 5px;
}

.hsbc-nav .nav-links {
    display: flex;
    list-style: none;
}

.hsbc-nav .nav-links li {
    margin-left: 20px;
}

.hsbc-nav .nav-links a {
    text-decoration: none;
    color: var(--hsbc-dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.hsbc-nav .nav-links a:hover {
    color: var(--hsbc-red);
}

/* HSBC Hero Section */
.hsbc-hero {
    background:
        linear-gradient(rgba(0, 61, 93, 0.8), rgba(0, 61, 93, 0.8)),
        url("../images/hero-bg.svg");
    background-size: cover;
    background-position: center;
    color: var(--hsbc-white);
    padding: 180px 0 100px;
    text-align: center;
}

.hsbc-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hsbc-hero .subheadline {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hsbc-hero .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
/* ===== Your Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--background);
}
.nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--hsbc-white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 33%;
    height: auto;
}

/* ===== Your Section Styles ===== */
section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--hsbc-dark-blue);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--hsbc-blue);
}

/* ===== Partner Section - Adapted to Your Style ===== */
.partner-section {
    background-color: var(--hsbc-light-gray);
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--hsbc-red);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
    filter: grayscale(0%) brightness(100%);
    transition: filter 0.3s ease;
}

.partner-quote {
    font-style: italic;
    margin: 1rem 0;
    color: #000;
    position: relative;
    padding: 1rem;
    font-size: 1.5rem;
}

.partner-quote:before,
.partner-quote:after {
    content: '"';
    font-size: 2rem;
    color: var(--hsbc-red);
    opacity: 0.5;
    position: absolute;
}

.partner-quote:before {
    top: -10px;
    left: -5px;
}

.partner-quote:after {
    bottom: -30px;
    right: -5px;
}

.partner-name {
    font-weight: 700;
    margin-top: 1rem;
    color: var(--hsbc-dark-blue);
}

.partner-cta {
    margin-top: 2rem;
    text-align: center;
}

/* ===== HSBC Guarantee Section - Adapted to Your Style ===== */
.hsbc-section {
    background: var(--hsbc-dark-blue);
    color: var(--hsbc-white);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.hsbc-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hsbc-logo {
    max-width: 150px;
    margin-bottom: 1.5rem;
}

.hsbc-badge {
    display: inline-block;
    background: var(--hsbc-white);
    color: var(--hsbc-dark-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.hsbc-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.hsbc-feature {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(5px);
    border-left: 4px solid var(--hsbc-red);
}

.hsbc-feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--hsbc-white);
}

.hsbc-feature h3 {
    color: var(--hsbc-white);
    margin-bottom: 0.5rem;
}

/* ===== Compliance Section - Adapted to Your Style ===== */
.compliance-section {
    padding: 3rem 0;
    background-color: var(--hsbc-white);
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.compliance-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.compliance-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.compliance-header {
    background: var(--hsbc-dark-blue);
    color: var(--hsbc-white);
    padding: 1rem;
    font-weight: 700;
}

.compliance-body {
    padding: 1.5rem;
}

.compliance-list {
    list-style-type: none;
}

.compliance-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.compliance-list li:before {
    content: "✓";
    color: var(--hsbc-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.faq-question {
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--hsbc-dark-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-top: 0.5rem;
    color: var(--hsbc-dark-gray);
}

.faq-answer.active {
    max-height: 300px;
}

.regulator-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.regulator-logo {
    max-width: 100px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.regulator-logo:hover {
    opacity: 1;
}

/* ===== Your Button Styles ===== */
.btn {
    display: inline-block;
    padding: 12px 20px;
    background: var(--hsbc-dark-blue);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn:hover {
    background: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--hsbc-white);
    color: var(--hsbc-white);
}

.btn-outline:hover {
    background: var(--hsbc-white);
    color: var(--hsbc-dark-blue);
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .hsbc-feature {
        min-width: 100%;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .partner-quote {
        font-size: 1rem;
    }
}
