/* =========================================
   BASE STYLES
   ========================================= */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: #f8f9fa; 
    color: #111111;
    overflow-x: hidden; 
    width: 100%;
}

/* =========================================
   GLOBAL SECTION HEADER STYLES
   ========================================= */
.section-header {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-header h2 {
    color: #022047;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 15px 0;
}

.title-underline {
    width: 40px;
    height: 3px;
    background-color: #0d6efd;
    border-radius: 2px;
}

/* =========================================
   MODULE 1: HEADER STYLES
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0d6efd;
}

.logo h2 { 
    margin: 0; 
    font-weight: 800;
    font-size: 1.4rem;
    color: #022047;
}

.main-nav {
    display: flex;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: #444444;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: #0d6efd;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toggle-btn {
    background: none;
    border: 1px solid #cccccc;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
}

/* Mobile Menu Toggle Button (Hidden on Desktop) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #022047;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* =========================================
   MODULE 1: HERO SECTION STYLES
   ========================================= */
.hero-section {
    width: 100%;
    height: calc(100vh - 75px); 
    min-height: 650px;
    background-image: url('hero-image.jpg'); 
    background-size: cover; 
    background-position: center right; 
    background-repeat: no-repeat;
    display: flex;
    align-items: center; 
    background-color: #ffffff;
}

.hero-text-content {
    width: 100%;
    max-width: 850px; 
    padding-left: 8%; 
}

.trust-badge {
    display: inline-block;
    background-color: #e6f0ff;
    color: #0d6efd;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.badge-icon {
    margin-right: 5px;
}

.hero-text-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 800;
    color: #022047;
}

.text-blue {
    color: #0d6efd;
}

.hero-text-content p {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 550px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.feature-list li {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: #111111;
}

.check-icon {
    color: #ffffff;
    background-color: #0d6efd;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    margin-right: 12px;
}

.btn-group {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: #0d6efd;
    color: #ffffff;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-whatsapp {
    background-color: #25D366; 
    color: #ffffff;
    border: 1px solid #25D366; 
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebc55;
    transform: translateY(-2px);
}

/* =========================================
   MODULE 2: TRUSTED BROKERS STYLES
   ========================================= */
.trusted-brokers-section {
    background-color: #ffffff;
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trusted-brokers-section .section-title {
    color: #022047;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
}

.brokers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1300px;
}

.broker-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.broker-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
}

.broker-logo {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.broker-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.broker-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1; 
}

.broker-features li {
    font-size: 0.85rem;
    color: #444444;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.check-icon-outline {
    color: #0d6efd;
    border: 1.5px solid #0d6efd;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 0.6rem;
    margin-right: 10px;
}

.broker-btn {
    background-color: #f0f6ff;
    color: #0d6efd;
    text-decoration: none;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.broker-btn:hover {
    background-color: #e0ecff;
}

/* =========================================
   MODULE 3: WHY CHOOSE US STYLES
   ========================================= */
.why-choose-us-section {
    padding: 80px 3%;
    background-color: #f8f9fa;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 35px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.feature-icon {
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1rem;
    color: #022047;
    margin: 0 0 15px 0;
    font-weight: 700;
    line-height: 1.3;
}

.feature-card p {
    font-size: 0.85rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   MODULE 4: OUR SERVICES STYLES
   ========================================= */
.services-horizontal-section {
    padding: 80px 3%;
    background-color: #ffffff;
    text-align: center;
}

.services-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card-hz {
    background-color: #f8fbff; 
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    align-items: center; 
    gap: 15px; 
    text-align: left; 
    border: 1px solid #edf2f9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card-hz:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.08); 
}

.card-image {
    flex: 0 0 100px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.card-text {
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-text h3 {
    font-size: 1rem;
    color: #022047;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.card-text p {
    font-size: 0.8rem;
    color: #666666;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.card-link {
    font-size: 0.85rem;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}

.card-link:hover {
    text-decoration: underline;
}

/* =========================================
   MODULE 4.5: STATS & CTA BANNER MODULE
   ========================================= */
.stats-cta-section {
    padding: 20px 5% 80px 5%;
    background-color: #f8fbff; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* --- Stats Banner --- */
.stats-banner-container {
    background-color: #f4f8ff; 
    width: 100%;
    max-width: 1400px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

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

.stat-icon {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-icon img {
    max-width: 100%;
    object-fit: contain;
}

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

.stat-text h4 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #022047;
    margin: 0 0 2px 0;
    line-height: 1;
}

.stat-text p {
    font-size: 0.85rem;
    color: #444444;
    margin: 0;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.08); 
}

/* --- CTA Banner --- */
.cta-banner-container {
    background: linear-gradient(90deg, #1a56db 0%, #3b82f6 100%);
    width: 100%;
    max-width: 1400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 30px 50px;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.15);
    position: relative;
}

.cta-robot-wrapper {
    flex: 0 0 140px;
    display: flex;
    justify-content: center;
}

.cta-robot-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
}

.cta-text-content {
    flex: 1;
}

.cta-text-content h2 {
    font-size: 2.1rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #ffffff !important;
}

.cta-text-content p {
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9) !important;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-cta-white {
    background-color: #ffffff;
    color: #0d6efd;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.btn-cta-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

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

/* =========================================
   MODULE 5: RESOURCES & COMMUNITY STYLES
   ========================================= */
.module-five-section {
    padding: 80px 5%;
    background-color: #f8fbff;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.module-five-container {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.yt-videos-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea; 
    border-radius: 16px;
    padding: 30px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    height: 100%; 
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.yt-header-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 1.2rem;
    color: #022047;
    font-weight: 800;
}

.youtube-logo-img {
    height: 18px; 
    object-fit: contain;
    vertical-align: middle;
}

.view-all-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap; 
    margin-left: 15px;
}

.view-all-link:hover {
    text-decoration: underline;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.video-thumbnail {
    width: 90px;
    height: 55px;
    background-color: #022047;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.video-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222222;
    line-height: 1.3;
}

.stay-connected-card {
    background-color: #ffffff; 
    border: 1px solid #eaeaea; 
    border-radius: 16px;
    padding: 30px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    overflow: hidden;
    height: 100%; 
    box-sizing: border-box;
}

.sc-text-content {
    flex: 1;
    padding-right: 20px;
    min-width: 220px; 
}

.sc-text-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: #022047;
    font-weight: 800;
}

.sc-text-content p {
    font-size: 0.95rem;
    color: #444444;
    line-height: 1.6;
    margin-bottom: 25px;
}

.telegram-btn {
    background-color: #0d6efd;
    color: #ffffff;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s;
}

.telegram-btn:hover {
    background-color: #0b5ed7;
}

.sc-image-holder {
    width: 140px; 
    height: 220px; 
    flex-shrink: 0; 
    flex-grow: 0;   
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 40px; 
}

.sc-image-holder img {
    width: 100%;
    height: 100%;
    max-width: 140px;
    max-height: 220px;
    object-fit: contain; 
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1)); 
}

/* =========================================
   MODULE 6: LIVE CHAT WIDGET STYLES
   ========================================= */
.chat-widget-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    font-family: 'Inter', -apple-system, sans-serif;
}

.chat-toggle-btn {
    background: #0d6efd;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s;
}

.chat-toggle-btn:hover {
    background: #0b5ed7;
    transform: scale(1.08);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #eaeaea;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: linear-gradient(90deg, #1a56db 0%, #3b82f6 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.chat-avatar img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

.chat-header-info h4 {
    margin: 0 0 3px 0;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff !important;
}

.chat-header-info span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.chat-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.chat-close-btn:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    background-color: #f8fbff;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    display: flex;
    flex-direction: column;
}

.message.received {
    align-self: flex-start;
}

.message.sent {
    align-self: flex-end;
}

.message p {
    margin: 0;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.received p {
    background-color: #ffffff;
    color: #444444;
    border: 1px solid #eaeaea;
    border-bottom-left-radius: 4px;
}

.message.sent p {
    background-color: #0d6efd;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.message .time {
    font-size: 0.7rem;
    color: #999999;
    margin-top: 5px;
    margin-left: 4px;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.quick-reply-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    background-color: #f0f6ff;
    color: #0d6efd;
    border: 1px solid #0d6efd;
    border-radius: 16px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    outline: none;
}

.quick-reply-btn:hover {
    background-color: #0d6efd;
    color: #ffffff;
}

.chat-input-area {
    padding: 15px;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input-area input {
    flex: 1;
    border: 1px solid #cccccc;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input-area input:focus {
    border-color: #0d6efd;
}

.chat-send-btn {
    background: #0d6efd;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.chat-send-btn:hover {
    background: #0b5ed7;
}

/* =========================================
   ABOUT US SECTION STYLES
   ========================================= */
.about-section {
    padding: 80px 5%;
    background-color: #ffffff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about-header-text {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.about-header-text h2 {
    color: #022047;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 15px 0;
}

.about-header-text .title-underline {
    margin: 0 auto 25px auto;
}

.about-header-text .lead-text {
    font-size: 1.15rem;
    color: #0d6efd;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.5;
}

.about-header-text p {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.7;
}

.vms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vms-card {
    background-color: #f8fbff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vms-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(13, 110, 253, 0.08);
}

.vms-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.vms-card h3 {
    color: #022047;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.vms-card p {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.about-why-us {
    background-color: #022047;
    border-radius: 20px;
    padding: 60px 50px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.why-us-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 35px 0;
    text-align: center;
    color: #ffffff;
}

.about-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.about-feature-list li {
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    color: #e2e8f0;
}

.about-feature-list .check-icon {
    margin-top: 2px;
    margin-right: 15px;
    flex-shrink: 0;
}

.about-cta-box {
    text-align: center;
    background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 100%);
    border: 1px solid #e0ecff;
    border-radius: 20px;
    padding: 50px 30px;
}

.about-cta-box h2 {
    color: #022047;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-cta-box p {
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 15px auto;
}

.about-cta-box .trusted-tagline {
    color: #0d6efd;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* =========================================
   MODULE 7: BROKER SELECTION PAGE STYLES
   ========================================= */
.broker-selection-section {
    padding: 80px 5%;
    background-color: #ffffff;
    text-align: center;
}

.global-brokers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.global-broker-card {
    background-color: #f8fbff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.global-broker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(13, 110, 253, 0.08);
}

.gb-logo-wrap {
    height: 60px;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.gb-logo-wrap h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #022047;
    font-weight: 800;
}

.gb-logo-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.gb-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.gb-features li {
    font-size: 0.95rem;
    color: #444444;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-weight: 500;
}

.gb-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gb-btn {
    text-align: center;
    padding: 12px;
}

.btn-gb-help {
    background-color: transparent;
    color: #0d6efd;
    border: 1px solid #0d6efd;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    font-size: 0.95rem;
}

.btn-gb-help:hover {
    background-color: #0d6efd;
    color: #ffffff;
}

/* =========================================
   MODULE 8: SERVICES PAGE SPECIFIC STYLES
   ========================================= */
.services-hero {
    background-color: #f4f8ff;
    padding: 60px 5%;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

.services-hero h1 {
    color: #022047;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 15px 0;
}

.services-hero p {
    color: #555555;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.core-services-section {
    padding: 80px 5%;
    background-color: #ffffff;
}

.services-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-detail-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 40px 30px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(13, 110, 253, 0.08);
}

.service-icon-box {
    width: 65px;
    height: 65px;
    background: #e6f0ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem; /* Forces the emoji to render much larger */
    margin-bottom: 25px;
}

.service-detail-card h3 {
    color: #022047;
    font-size: 1.3rem;
    margin: 0 0 15px 0;
}

.service-detail-card p {
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* --- Dark Mode Overrides for Services Page --- */
body.dark-mode .services-hero,
body.dark-mode .core-services-section {
    background-color: #0a0e17 !important;
    border-color: #1f2937 !important;
}

body.dark-mode .service-detail-card {
    background-color: #111827 !important;
    border-color: #1f2937 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important;
}

body.dark-mode .service-icon-box {
    background-color: #1f2937 !important;
}

/* Force headings and text to bright white/gray in dark mode */
body.dark-mode .services-hero h1,
body.dark-mode .service-detail-card h3 {
    color: #ffffff !important;
}

body.dark-mode .services-hero p,
body.dark-mode .service-detail-card p {
    color: #94a3b8 !important;
}

/* =========================================
   MODULE 9: CONTACT PAGE STYLES
   ========================================= */
.contact-hero {
    background-color: #f4f8ff;
    padding: 60px 5%;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

.contact-hero h1 {
    color: #022047;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 15px 0;
}

.contact-hero p {
    color: #555555;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-info-section {
    padding: 60px 5%;
    background-color: #ffffff;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: #f8fbff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.08);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: #022047;
    font-size: 1.2rem;
    margin: 0 0 10px 0;
}

.contact-card p {
    color: #0d6efd;
    font-weight: 700;
    margin: 0 0 10px 0;
    font-size: 1.05rem;
}

.contact-card span {
    color: #666666;
    font-size: 0.85rem;
    line-height: 1.4;
    display: block;
}

.contact-main-section {
    padding: 20px 5% 80px 5%;
    background-color: #ffffff;
}

.contact-two-column {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-container {
    flex: 1.2;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.contact-form-container h2 {
    color: #022047;
    font-size: 1.8rem;
    margin: 0 0 10px 0;
}

.contact-form-container p {
    color: #666666;
    margin: 0 0 30px 0;
}

.custom-contact-form .form-group {
    margin-bottom: 20px;
}

.custom-contact-form label {
    display: block;
    font-weight: 600;
    color: #222222;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.custom-contact-form input,
.custom-contact-form select,
.custom-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    background: #ffffff;
    color: #333;
}

.custom-contact-form input:focus,
.custom-contact-form select:focus,
.custom-contact-form textarea:focus {
    border-color: #0d6efd;
}

.why-us-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.why-us-container h2 {
    color: #022047;
    font-size: 1.8rem;
    margin: 0 0 25px 0;
}

.why-us-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.why-us-checklist li {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    color: #444444;
}

.why-us-checklist .check-icon {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
}

.response-time-box {
    background: #f8fbff;
    border-left: 4px solid #0d6efd;
    padding: 25px;
    border-radius: 0 12px 12px 0;
}

.response-time-box h4 {
    color: #022047;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.response-time-box p {
    color: #555555;
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.faq-section {
    padding: 60px 5% 80px 5%;
    background-color: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #022047;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #0d6efd;
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-content {
    padding: 0 20px 20px 20px;
}

.faq-content p {
    color: #555555;
    margin: 0;
    line-height: 1.6;
}

/* --- Mobile Responsiveness for Contact Page --- */
@media screen and (max-width: 900px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-two-column {
        flex-direction: column;
    }
}

@media screen and (max-width: 600px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-container {
        padding: 25px 20px;
    }
}

/* --- Dark Mode Overrides for Contact Page --- */
body.dark-mode .contact-hero,
body.dark-mode .contact-info-section,
body.dark-mode .contact-main-section,
body.dark-mode .faq-section {
    background-color: #0a0e17 !important;
}

body.dark-mode .contact-card,
body.dark-mode .contact-form-container,
body.dark-mode .faq-item {
    background-color: #111827 !important;
    border-color: #1f2937 !important;
}

body.dark-mode .contact-hero h1,
body.dark-mode .contact-card h3,
body.dark-mode .contact-form-container h2,
body.dark-mode .why-us-container h2,
body.dark-mode .response-time-box h4,
body.dark-mode .faq-item summary {
    color: #ffffff !important;
}

body.dark-mode .contact-hero p,
body.dark-mode .contact-card span,
body.dark-mode .contact-form-container p,
body.dark-mode .why-us-checklist li,
body.dark-mode .response-time-box p,
body.dark-mode .faq-content p {
    color: #94a3b8 !important;
}

body.dark-mode .custom-contact-form label {
    color: #e2e8f0 !important;
}

body.dark-mode .custom-contact-form input,
body.dark-mode .custom-contact-form select,
body.dark-mode .custom-contact-form textarea {
    background-color: #1f2937 !important;
    border-color: #374151 !important;
    color: #ffffff !important;
}

body.dark-mode .custom-contact-form input:focus,
body.dark-mode .custom-contact-form select:focus,
body.dark-mode .custom-contact-form textarea:focus {
    border-color: #3b82f6 !important;
}

body.dark-mode .response-time-box {
    background: #111827 !important;
    border-left-color: #3b82f6 !important;
}

/* =========================================
   MODULE 10: EDUCATION PAGE STYLES
   ========================================= */
.education-hero {
    background-color: #f8fbff;
    padding: 80px 5%;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

.education-hero h1 {
    color: #022047;
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 20px 0;
}

.education-hero p {
    color: #555555;
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.edu-categories-section {
    padding: 80px 5%;
    background-color: #ffffff;
}

.edu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
}

.edu-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 30px 25px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.edu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.edu-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.edu-card h3 {
    color: #022047;
    font-size: 1.25rem;
    margin: 0 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

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

.edu-list li {
    color: #555555;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.edu-list li::before {
    content: '•';
    color: #0d6efd;
    font-weight: bold;
    margin-right: 8px;
}

.articles-videos-section {
    padding: 80px 5%;
    background-color: #f8f9fa;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.article-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.article-image {
    width: 100%;
    height: 180px;
}

.article-content {
    padding: 25px;
    flex: 1;
}

.article-tag {
    background: #e6f0ff;
    color: #0d6efd;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.article-content h3 {
    color: #022047;
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.article-content p {
    color: #666666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.video-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
}

.video-thumbnail-large {
    width: 100%;
    height: 250px;
    background: #022047;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
}

.video-card h3 {
    padding: 20px;
    margin: 0;
    color: #022047;
    font-size: 1.1rem;
    text-align: center;
}

.edu-faq-section {
    padding: 80px 5%;
    background-color: #ffffff;
}

/* --- Mobile Responsiveness for Education Page --- */
@media screen and (max-width: 1024px) {
    .edu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 768px) {
    .articles-grid, .videos-grid { grid-template-columns: 1fr; }
    .education-hero h1 { font-size: 2.2rem; }
}

@media screen and (max-width: 600px) {
    .edu-grid { grid-template-columns: 1fr; }
}

/* --- Dark Mode Overrides for Education Page --- */
body.dark-mode .education-hero,
body.dark-mode .articles-videos-section,
body.dark-mode .edu-categories-section,
body.dark-mode .edu-faq-section {
    background-color: #0a0e17 !important;
}

body.dark-mode .edu-card,
body.dark-mode .article-card,
body.dark-mode .video-card {
    background-color: #111827 !important;
    border-color: #1f2937 !important;
}

body.dark-mode .education-hero h1,
body.dark-mode .edu-card h3,
body.dark-mode .article-content h3,
body.dark-mode .video-card h3,
body.dark-mode .why-us-container h2 {
    color: #ffffff !important;
}

body.dark-mode .education-hero p,
body.dark-mode .edu-list li,
body.dark-mode .article-content p,
body.dark-mode .why-us-container p {
    color: #94a3b8 !important;
}

body.dark-mode .edu-card h3 {
    border-bottom-color: #1f2937 !important;
}

body.dark-mode .article-image {
    background-color: #1f2937 !important;
}


/* =========================================
   MOBILE RESPONSIVE MEDIA QUERIES & FONT FIXES
   ========================================= */
@media screen and (max-width: 1024px) {
    .brokers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .services-grid-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 900px) {
    .vms-grid {
        grid-template-columns: 1fr;
    }
    .about-feature-list {
        grid-template-columns: 1fr;
    }
    .global-brokers-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media screen and (max-width: 768px) {
    /* Prevent horizontal page breakout */
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        font-size: 16px;
    }

    /* Header & Navigation */
    header {
        width: 100%;
        padding: 12px 4%;
        flex-wrap: wrap;
        box-sizing: border-box;
    }
    .logo {
        order: 1; 
    }
    .header-actions {
        display: flex; 
        order: 2; 
        margin-left: auto;
        margin-right: 15px; 
    }
    .header-actions .btn-primary {
        display: none; 
    }
    .mobile-menu-toggle {
        display: flex;
        order: 3; 
    }
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 15px;
        background-color: #ffffff;
        padding: 20px 0;
        border-top: 1px solid #eaeaea;
        margin-top: 15px;
        order: 4; 
    }
    .main-nav.active {
        display: flex;
    }

    /* Hero Section */
    .hero-section {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
        padding: 40px 5%;
        background-color: #ffffff;
        background-size: cover;
        background-position: center center;
        box-sizing: border-box;
    }
    .hero-text-content {
        width: 100%;
        max-width: 100%;
        padding: 25px 20px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }
    .hero-text-content h1 {
        font-size: 2.2rem;
        font-weight: 800;
        color: #022047;
        line-height: 1.2;
    }
    .hero-text-content p {
        font-size: 1.05rem;
        color: #333333;
        font-weight: 500;
    }
    .feature-list li {
        font-size: 1rem;
        font-weight: 700;
        color: #111111;
    }
    .btn-group {
        flex-direction: column;
        gap: 12px;
    }
    .btn-primary, .btn-whatsapp {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Section Headers */
    .section-header h2, .trusted-brokers-section .section-title {
        font-size: 1.5rem;
        font-weight: 800;
    }

    /* Column Resets */
    .services-grid-horizontal,
    .module-five-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }
    
    .service-card-hz,
    .yt-videos-card,
    .stay-connected-card {
        width: 100%;
        box-sizing: border-box;
    }
    
    .stay-connected-card {
        padding: 25px 20px; 
    }

    .brokers-grid,
    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
    }
    
    .broker-card,
    .feature-card {
        width: 100%;
        box-sizing: border-box;
        padding: 15px 10px; 
    }

    .broker-features li {
        font-size: 0.75rem; 
        margin-bottom: 8px;
    }

    .broker-btn {
        padding: 10px 5px;
        font-size: 0.8rem;
    }

    .feature-card h3 {
        font-size: 0.9rem; 
        margin-bottom: 10px;
    }

    .feature-card p {
        font-size: 0.8rem; 
    }

    /* Mobile Stats & CTA Fixes */
    .stats-banner-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        padding: 30px 20px;
    }
    .stat-divider {
        display: none; 
    }
    .stat-text h4 {
        font-size: 1.3rem;
    }
    .stat-text p {
        font-size: 0.75rem;
    }
    .cta-banner-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 20px;
    }
    .cta-text-content h2 {
        font-size: 1.7rem;
    }
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .btn-cta-white, .btn-cta-outline {
        width: 100%;
        justify-content: center;
    }

    /* About Us Mobile Fixes */
    .about-header-text h2 {
        font-size: 1.8rem;
    }
    .about-why-us {
        padding: 40px 25px;
    }
    .about-feature-list li {
        font-size: 0.95rem;
    }
    .about-cta-buttons {
        flex-direction: column;
    }
}

@media screen and (max-width: 600px) {
    .global-brokers-grid { 
        grid-template-columns: 1fr; 
    }
}

@media screen and (max-width: 480px) {
    .hero-text-content h1 {
        font-size: 1.9rem;
    }
    
    /* Mobile Chat adjustments */
    .chat-widget-container {
        bottom: 15px;
        right: 15px;
    }
    .chat-window {
        width: calc(100vw - 30px);
        height: 60vh;
        bottom: 75px;
    }
}

/* =========================================
   DARK MODE OVERRIDES
   ========================================= */
body.dark-mode {
    background-color: #0a0e17 !important;
    color: #e2e8f0 !important;
}

body.dark-mode header,
body.dark-mode .trusted-brokers-section,
body.dark-mode .why-choose-us-section,
body.dark-mode .services-horizontal-section,
body.dark-mode .stats-cta-section,
body.dark-mode .module-five-section,
body.dark-mode .about-section,
body.dark-mode .broker-selection-section {
    background-color: #0a0e17 !important;
}

body.dark-mode .hero-section {
    background-color: #0a0e17 !important;
    background-image: url('hero-image-dark.jpg') !important;
}

body.dark-mode .broker-logo {
    background-color: #ffffff !important;
    border-radius: 8px !important;
    padding: 5px 15px !important;
    height: 65px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

body.dark-mode .broker-card,
body.dark-mode .feature-card,
body.dark-mode .service-card-hz,
body.dark-mode .yt-videos-card,
body.dark-mode .stay-connected-card,
body.dark-mode .stats-banner-container,
body.dark-mode .vms-card,
body.dark-mode .global-broker-card {
    background-color: #111827 !important;
    border-color: #1f2937 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode .section-title,
body.dark-mode .yt-header-title,
body.dark-mode .logo h2,
body.dark-mode .video-title,
body.dark-mode .feature-list li,
body.dark-mode .stat-text h4,
body.dark-mode .about-header-text h2,
body.dark-mode .vms-card h3,
body.dark-mode .about-cta-box h2,
body.dark-mode .gb-logo-wrap h3 {
    color: #ffffff !important;
}

body.dark-mode p,
body.dark-mode .broker-features li,
body.dark-mode .main-nav a,
body.dark-mode .trust-badge,
body.dark-mode .stat-text p,
body.dark-mode .about-header-text p,
body.dark-mode .vms-card p,
body.dark-mode .about-cta-box p,
body.dark-mode .gb-features li {
    color: #94a3b8 !important;
}

body.dark-mode .trust-badge {
    background-color: #1e293b !important;
}
body.dark-mode .stat-divider {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* About Us & Open Account specific Dark Mode fixes */
body.dark-mode .about-why-us {
    background-color: #111827 !important;
    border: 1px solid #1f2937 !important;
    box-shadow: none;
}
body.dark-mode .about-cta-box {
    background: #111827 !important;
    border-color: #1f2937 !important;
}
body.dark-mode section[style*="background-color: #f8fbff"] { 
    background-color: #111827 !important; 
}
body.dark-mode section h4 { 
    color: #ffffff !important; 
}
body.dark-mode section[style*="background: #fff"] { 
    background-color: #1f2937 !important; 
    border-color: #374151 !important; 
}

@media screen and (max-width: 768px) {
    body.dark-mode .hero-text-content {
        background: rgba(17, 24, 39, 0.95) !important; 
        box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
    }
    body.dark-mode .main-nav {
        background-color: #111827 !important;
        border-top-color: #1f2937 !important;
    }
    body.dark-mode .mobile-menu-toggle span {
        background-color: #ffffff !important;
    }
}

/* --- Dark Mode Overrides for Chat --- */
body.dark-mode .chat-window {
    background-color: #111827 !important;
    border-color: #1f2937 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .chat-messages {
    background-color: #0a0e17 !important;
}

body.dark-mode .message.received p {
    background-color: #1f2937 !important;
    color: #e2e8f0 !important;
    border-color: #374151 !important;
}

body.dark-mode .message .time {
    color: #6b7280 !important;
}

body.dark-mode .quick-reply-btn {
    background-color: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-color: #3b82f6;
}

body.dark-mode .quick-reply-btn:hover {
    background-color: #3b82f6;
    color: #ffffff;
}

body.dark-mode .chat-input-area {
    background-color: #111827 !important;
    border-top-color: #1f2937 !important;
}

body.dark-mode .chat-input-area input {
    background-color: #1f2937 !important;
    color: #ffffff !important;
    border-color: #374151 !important;
}

body.dark-mode .chat-input-area input::placeholder {
    color: #9ca3af;
}

body.dark-mode .chat-input-area input:focus {
    border-color: #3b82f6 !important;
}


/* =========================================
   MODULE 11: GOLDEN DARK MODE OVERRIDES
   ========================================= */

/* 1. Primary Buttons & Solid Elements */
body.dark-mode .btn-primary,
body.dark-mode .chat-toggle-btn,
body.dark-mode .chat-send-btn,
body.dark-mode .telegram-btn {
    background-color: #FFC107 !important;
    color: #111827 !important; /* Dark text for high contrast against gold */
    border-color: #FFC107 !important;
}

body.dark-mode .btn-primary:hover,
body.dark-mode .chat-toggle-btn:hover,
body.dark-mode .chat-send-btn:hover,
body.dark-mode .telegram-btn:hover {
    background-color: #FFD54F !important;
    border-color: #FFD54F !important;
    transform: translateY(-2px);
}

/* 2. Outlined Buttons & Quick Replies */
body.dark-mode .btn-cta-outline,
body.dark-mode .btn-gb-help,
body.dark-mode .quick-reply-btn,
body.dark-mode .broker-btn {
    background-color: transparent !important;
    color: #FFC107 !important;
    border-color: #FFC107 !important;
}

body.dark-mode .btn-cta-outline:hover,
body.dark-mode .btn-gb-help:hover,
body.dark-mode .quick-reply-btn:hover,
body.dark-mode .broker-btn:hover {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #FFC107 !important;
}

/* 3. Text Highlights, Links & Navigation */
body.dark-mode .text-blue,
body.dark-mode .main-nav a.active,
body.dark-mode .main-nav a:hover,
body.dark-mode .view-all-link,
body.dark-mode .card-link,
body.dark-mode .about-cta-box .trusted-tagline,
body.dark-mode .contact-card p,
body.dark-mode .faq-item summary::after {
    color: #FFC107 !important;
}

/* 4. Checkmarks, Icons & Bullets */
body.dark-mode .check-icon {
    background-color: #FFC107 !important;
    color: #111827 !important;
}

body.dark-mode .check-icon-outline {
    color: #FFC107 !important;
    border-color: #FFC107 !important;
}

body.dark-mode .edu-list li::before {
    color: #FFC107 !important;
}

/* 5. Accents, Borders & Badges */
body.dark-mode .title-underline {
    background-color: #FFC107 !important;
}

body.dark-mode .trust-badge,
body.dark-mode .article-tag {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #FFC107 !important;
}

body.dark-mode .response-time-box {
    border-left-color: #FFC107 !important;
}

/* 6. Form & Chat Focus States */
body.dark-mode .custom-contact-form input:focus,
body.dark-mode .custom-contact-form select:focus,
body.dark-mode .custom-contact-form textarea:focus,
body.dark-mode .chat-input-area input:focus {
    border-color: #FFC107 !important;
}

/* 7. CTA Banners & Chat Header (Changes blue gradients to dark gray with gold borders) */
body.dark-mode .cta-banner-container,
body.dark-mode .chat-header {
    background: #111827 !important;
    border: 1px solid #374151 !important;
}

/* 8. Sent Chat Messages */
body.dark-mode .message.sent p {
    background-color: #FFC107 !important;
    color: #111827 !important;
}

/* Fix for YouTube logo visibility in Dark Mode */
body.dark-mode .youtube-logo-img {
    background-color: #ffffff !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* 9. Onboarding Step Cards (Fix for invisible text and blue circles) */
body.dark-mode .step-card {
    background-color: #111827 !important; /* Dark grey card background */
    border-color: #1f2937 !important;
}

body.dark-mode .step-card h3 {
    color: #ffffff !important; /* White headers */
}

body.dark-mode .step-card p {
    color: #94a3b8 !important; /* Light grey text */
}

body.dark-mode .step-number {
    background-color: #FFC107 !important; /* Gold circle */
    color: #111827 !important; /* Dark numbers inside the circle */
}