  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

/* Add this at the top of your CSS to ensure full-width sections */
body {
    overflow-x: hidden;
    width: 100%;
}

/* Fix for all full-width sections */
.full-width-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}



        /* Hero Banner Section */
/* Hero Banner Section - FIXED */
/* Hero Banner Section - Complete Working Version */
.forex-hero-section {
    position: relative;
    background: #0a1e5e;
    padding: 80px 0 120px;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
}

/* Background Image - Half width on desktop */
.forex-background-overlay {
    position: absolute;
    top: 0;
    right: 0;

    width: 55%;          /* only right half */
    height: auto;

    background-image: url('https://www.forex.com/en/-/media/project/gain-capital/forex/heroes/landing-pages/local-presence-global-reputation/mea-brand-campaign-hp-lp-banner-desktop.jpg');
    background-size: contain;        /* prevents zoom distortion */
    background-position: right center;
    background-repeat: no-repeat;

    z-index: 1;
}


/* Gradient Overlay */
.forex-background-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        #0a1e5e 0%,
        #0a1e5e 25%,
        rgba(10, 30, 94, 0.9) 35%,
        rgba(10, 30, 94, 0.7) 45%,
        rgba(10, 30, 94, 0.4) 55%,
        rgba(10, 30, 94, 0.1) 65%,
        transparent 75%
    );
    z-index: 2;
}

/* Container */
.forex-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Content */
.forex-hero-content {
    max-width: 600px;
    color: white;
    position: relative;
    z-index: 4;
}

        .forex-hero-title {
            font-size: 48px;
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 20px;
            color: white;
        }

        .forex-hero-title span {
            color: #00d84a;
            display: block;
        }

        .forex-hero-description {
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 25px;
            color: rgba(255, 255, 255, 0.95);
            font-weight: 300;
        }

        .forex-hero-features {
            margin-bottom: 25px;
        }

        .forex-hero-feature {
            display: flex;
            align-items: flex-start;
            margin-bottom: 12px;
            gap: 12px;
        }

        .forex-hero-feature:last-child {
            margin-bottom: 0;
        }

        .forex-feature-icon {
            flex-shrink: 0;
            width: 20px;
            height: 20px;
            background: transparent;
            border: 2px solid white;
            border-radius: 50%;
            margin-top: 2px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .forex-feature-icon::after {
            content: '✓';
            color: white;
            font-size: 11px;
            font-weight: bold;
        }

        .forex-feature-text {
            font-size: 14px;
            line-height: 1.6;
            color: white;
            flex: 1;
        }

        .forex-feature-text strong {
            font-weight: 600;
        }

        .forex-hero-buttons {
            display: flex;
            gap: 16px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .forex-btn {
            padding: 12px 28px;
            font-size: 13px;
            font-weight: 600;
            border-radius: 25px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .forex-btn-primary {
            background: #00d84a;
            color: white;
        }

        .forex-btn-primary:hover {
            background: #00f057;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 216, 74, 0.4);
        }

        .forex-btn-primary::after {
            content: '→';
            font-size: 16px;
        }

        .forex-btn-outline {
            background: transparent;
            color: white;
            border: 2px solid white;
        }

        .forex-btn-outline:hover {
            background: white;
            color: #0a1e5e;
        }

        .forex-btn-outline::after {
            content: '→';
            font-size: 16px;
        }

        .forex-hero-disclaimer {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.5;
            max-width: 600px;
        }

        .forex-hero-disclaimer p {
            margin: 0;
        }

        /* Trustpilot Banner */
        .forex-trustpilot-banner {
            background: rgba(10, 30, 94, 0.8);
            backdrop-filter: blur(10px);
            padding: 15px 25px;
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            max-width: 100%;
            margin: 40px auto 0;
            position: relative;
            z-index: 5;
        }

        .forex-trustpilot-banner .forex-customers-text {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 400;
        }

        .forex-trustpilot-banner .forex-excellent-text {
            font-size: 15px;
            color: white;
            font-weight: 700;
        }

        .forex-trustpilot-banner .forex-stars {
            display: flex;
            gap: 3px;
        }

        .forex-trustpilot-banner .forex-stars i {
            color: #00b67a;
            font-size: 16px;
        }

        .forex-trustpilot-banner .forex-rating-text {
            font-size: 13px;
            color: white;
            font-weight: 600;
        }

        .forex-trustpilot-banner .forex-trustpilot-logo {
            height: 20px;
        }

        .forex-trustpilot-banner .forex-trustpilot-note {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.8);
            text-align: center;
            width: 100%;
            margin-top: 5px;
        }

        /* Markets Section - Overlapping Cards */
        .forex-markets-section {
            position: relative;
            margin-top: -60px;
            padding: 0 20px 60px;
            z-index: 10;
            width: 100%;
        }

        .forex-markets-container {
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }

        .forex-markets-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 0;
            background: white;
            border-radius: 0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            width: 100%;
            overflow: hidden;
        }

        .forex-market-card {
            background: white;
            padding: 30px 25px;
            transition: all 0.3s ease;
            cursor: pointer;
            height: 100%;
            display: flex;
            flex-direction: column;
            border-right: 1px solid #e9ecef;
            position: relative;
        }

        .forex-market-card:last-child {
            border-right: none;
        }

        .forex-market-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: transparent;
            transition: all 0.3s ease;
        }

        .forex-market-card:hover {
            background: #f8f9fa;
        }

        .forex-market-card:hover::before {
            background: #0a1e5e;
        }

        .forex-market-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
        }

        .forex-market-title {
            font-size: 14px;
            font-weight: 700;
            color: #0a1e5e;
            margin: 0;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .forex-market-arrow {
            font-size: 18px;
            color: #0a1e5e;
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateX(-5px);
        }

        .forex-market-card:hover .forex-market-arrow {
            opacity: 1;
            transform: translateX(0);
        }

        .forex-market-description {
            font-size: 13px;
            line-height: 1.6;
            color: #555;
            margin: 0;
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .forex-markets-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .forex-market-card:nth-child(3) {
                border-right: none;
            }
            
            .forex-market-card:nth-child(4),
            .forex-market-card:nth-child(5) {
                border-top: 1px solid #e9ecef;
            }
        }

        @media (max-width: 1024px) {
            .forex-hero-section {
                padding: 60px 0 100px;
                min-height: 550px;
            }
            
            .forex-hero-title {
                font-size: 40px;
            }
            
            .forex-markets-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .forex-market-card:nth-child(2n) {
                border-right: none;
            }
            
            .forex-market-card:nth-child(3),
            .forex-market-card:nth-child(4),
            .forex-market-card:nth-child(5) {
                border-top: 1px solid #e9ecef;
            }
        }

        @media (max-width: 768px) {
            .forex-hero-section {
                padding: 40px 0 80px;
                min-height: 500px;
            }
            
            .forex-background-overlay {
                opacity: 0.5;
            }
            
            .forex-background-overlay::after {
                background: linear-gradient(
                    to bottom,
                    rgba(10, 30, 94, 0.95) 0%,
                    rgba(10, 30, 94, 0.8) 50%,
                    rgba(10, 30, 94, 0.6) 100%
                );
            }
            
            .forex-hero-content {
                max-width: 100%;
            }
            
            .forex-hero-title {
                font-size: 32px;
            }
            
            .forex-trustpilot-banner {
                flex-direction: column;
                padding: 15px;
                gap: 10px;
            }
            
            .forex-markets-section {
                margin-top: -40px;
            }
            
            .forex-markets-grid {
                grid-template-columns: 1fr;
            }
            
            .forex-market-card {
                border-right: none;
                border-bottom: 1px solid #e9ecef;
            }
            
            .forex-market-card:last-child {
                border-bottom: none;
            }
        }

        @media (max-width: 480px) {
            .forex-hero-section {
                padding: 30px 0 60px;
            }
            
            .forex-hero-title {
                font-size: 28px;
            }
            
            .forex-hero-description {
                font-size: 14px;
            }
            
            .forex-btn {
                width: 100%;
                justify-content: center;
            }
            
            .forex-hero-buttons {
                flex-direction: column;
            }
        }



/* forex banner and services blocks section end */

/* WHY FOREX.COM SECTION — FIXED LEFT/RIGHT LAYOUT */
.why-forex-section {
    padding: 80px 0;
    background: #ffffff;
}

.why-forex-container {
    width: 85%;
    margin: auto;
    display: flex;                  /* left + right layout */
    justify-content: space-between;
    align-items: center;            /* vertical alignment */
}

/* LEFT SIDE TEXT */
.why-forex-left {
    width: 38%;                     /* left column width */
    text-align: left;
}

.why-forex-left h2 {
    font-size: 34px;
    font-weight: 700;
    color: #0a1e5e;
}

.why-forex-left p {
    margin-top: 10px;
    color: #333;
    font-size: 16px;
}

.why-forex-btn {
    display: inline-block;
    margin-top: 20px;
    background: #18a63a;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    text-decoration: none;
}

/* RIGHT SIDE CARDS GRID */
.why-forex-right {
    width: 55%;                     /* right column wider */
}

.why-forex-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.why-forex-card {
    padding: 25px;
    background: #fff;
    border: 1px solid #ccd3e0;
    border-radius: 6px;
    text-align: left;
}

.why-forex-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0a1e5e;
}

.why-forex-card p {
    margin: 12px 0;
    font-size: 14px;
    color: #444;
}

.why-forex-link {
    font-size: 13px;
    color: #0a1e5e;
    font-weight: 600;
    text-decoration: none;
}
/* the three sections */
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
        }
    /* Hero Section */
/* Hero Section */
.hero-section {
    background: #0a1e5e;
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

/* Background phone image overlay with smooth gradient blend */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    background: 
        linear-gradient(
            90deg,
            #0a1e5e 0%,
            #0a1e5e 15%,
            #0b1f5f 18%,
            #0c2060 21%,
            rgba(13, 33, 66, 0.97) 24%,
            rgba(14, 36, 70, 0.93) 27%,
            rgba(15, 39, 74, 0.88) 30%,
            rgba(16, 42, 78, 0.82) 33%,
            rgba(17, 45, 82, 0.75) 36%,
            rgba(18, 48, 86, 0.67) 39%,
            rgba(19, 51, 90, 0.58) 42%,
            rgba(20, 54, 94, 0.48) 45%,
            rgba(21, 57, 98, 0.38) 48%,
            rgba(22, 60, 102, 0.28) 51%,
            rgba(23, 63, 106, 0.18) 54%,
            rgba(24, 66, 110, 0.10) 57%,
            rgba(25, 69, 114, 0.05) 60%,
            transparent 65%
        ),
        url('https://t3.ftcdn.net/jpg/08/04/40/64/360_F_804406429_bW5ozmwYRDzDzup8pXuxqkvXASjSk3yO.jpg');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-text h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 25px;
    opacity: 0.95;
}

.hero-text p {
    font-size: 16px;
    margin-bottom: 12px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 35px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: #00c853;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: #00a844;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    padding: 16px 32px;
    border: 2px solid white;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* FIXED: Hero Image positioning */
.hero-image {
    flex: 0 0 50%; /* Take up 50% of the space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px;
}

.spread-label {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 10px;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.spread-display {
    font-size: 140px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -5px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

/* Alternative: Position absolutely within the image area */
.hero-content::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-image {
        flex: 0 0 auto;
        width: 100%;
        min-height: 300px;
        padding: 20px;
        margin-top: 20px;
    }
    
    .spread-display {
        font-size: 100px;
    }
    
    .spread-label {
        font-size: 18px;
    }
    
    .hero-section::before {
        width: 100%;
        background: 
            linear-gradient(
                to bottom,
                #0a1e5e 0%,
                #0a1e5e 30%,
                rgba(10, 30, 94, 0.9) 40%,
                rgba(10, 30, 94, 0.7) 50%,
                rgba(10, 30, 94, 0.4) 60%,
                transparent 70%
            ),
            url('https://t3.ftcdn.net/jpg/08/04/40/64/360_F_804406429_bW5ozmwYRDzDzup8pXuxqkvXASjSk3yO.jpg');
        background-size: cover;
        background-position: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-text h2 {
        font-size: 24px;
    }
    
    .spread-display {
        font-size: 80px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: 13px;
    }
    
    .hero-buttons {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .spread-display {
        font-size: 70px;
        letter-spacing: -3px;
    }
    
    .spread-label {
        font-size: 16px;
    }
}
/* Active Trader Section */
.active-trader-section {
    background-color: #fff;
    padding: 80px 20px;
}

.active-trader-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Left Logo - CENTERED and clean */
.active-trader-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.finance-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
}

/* Right Content */
.active-trader-text {
    flex: 1;
}

.active-trader-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.intro-text {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 400;
}

/* Feature Items with NUMBERS */
.feature {
    display: flex;
    margin-bottom: 25px;
    gap: 20px;
}

.feature-number {
    width: 36px;
    height: 36px;
    background-color: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-content {
    flex: 1;
}

.feature h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.feature p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.btn-tertiary {
    background-color: transparent;
    color: #0066cc;
    padding: 14px 32px;
    border: 2px solid #0066cc;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-tertiary:hover {
    background-color: #0066cc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .active-trader-content {
        gap: 60px;
    }
    
    .logo-container {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 1024px) {
    .active-trader-content {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    
    .logo-container {
        width: 160px;
        height: 160px;
    }
    
    .active-trader-text {
        text-align: left;
        width: 100%;
    }
    
    .feature {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .active-trader-section {
        padding: 60px 20px;
    }
    
    .active-trader-text h2 {
        font-size: 28px;
    }
    
    .intro-text {
        font-size: 15px;
    }
    
    .feature h3 {
        font-size: 17px;
    }
    
    .feature p {
        font-size: 14px;
    }
    
    .feature-number {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .logo-container {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .btn-tertiary {
        padding: 12px 24px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }
    
    .feature {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .feature-number {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }
    
    .logo-container {
        width: 120px;
        height: 120px;
    }
}
/* News Section */
.news-section {
    background-color: white;
    padding: 80px 20px;
    border-top: 1px solid #eaeaea;
}

.news-content {
    max-width: 1200px;
    margin: 0 auto;
}

.news-header {
    text-align: center;
    margin-bottom: 20px;
}

.news-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.2;
}

.news-subheader {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 60px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* News Grid - 3 Column Cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.news-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* DATE ABOVE HEADING */
.news-date {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
    flex: 0 0 auto;
}

.news-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.news-footer {
    text-align: center;
}

.news-view-more {
    display: inline-block;
    background-color: transparent;
    color: #0066cc;
    padding: 14px 32px;
    border: 2px solid #0066cc;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-view-more:hover {
    background-color: #0066cc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .news-card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 20px;
    }
    
    .news-header h2 {
        font-size: 32px;
    }
    
    .news-subheader {
        font-size: 15px;
        margin-bottom: 50px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        gap: 30px;
    }
    
    .news-card-image {
        height: 220px;
    }
    
    .news-card h3 {
        font-size: 20px;
    }
    
    .news-card p {
        font-size: 16px;
    }
    
    .news-view-more {
        padding: 12px 28px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .news-section {
        padding: 50px 15px;
    }
    
    .news-header h2 {
        font-size: 28px;
    }
    
    .news-card-content {
        padding: 20px;
    }
    
    .news-card-image {
        height: 180px;
    }
    
    .news-card h3 {
        font-size: 18px;
    }
    
    .news-card p {
        font-size: 14px;
    }
    
    .news-view-more {
        padding: 10px 24px;
        font-size: 13px;
        width: 100%;
        max-width: 200px;
    }
}
/* Trading Section Styles */
.trading-platform-section {
    background: #ffffff;
    padding: 80px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.platform-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-content {
    padding-right: 40px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: #666666;
    margin-bottom: 40px;
    line-height: 1.5;
}

.platform-features {
    margin-bottom: 40px;
}

.platform-item {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #eaeaea;
}

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

.platform-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.platform-icon {
    width: 32px;
    height: 32px;
    background: #0a1e5e;
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.platform-name {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.platform-description {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0;
    padding-left: 44px; /* Align with platform name */
}

.platform-cta {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 2px solid #eaeaea;
}

.cta-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
   
}

.platform-image {
    width: 100%;
    height: auto;
    display: block;
}
/* Add these styles to your existing CSS file */

/* Center aligned header */
.section-header.center-align {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Remove the old section-title and subtitle positioning from .text-content */
.text-content .section-title,
.text-content .section-subtitle {
    display: none; /* Hide the old headings in text-content */
}

/* Update text-content to remove the padding-right that was for headings */
.text-content {
    padding-right: 0; /* Remove the 40px padding since headings are now centered */
}

/* Button styles - REPLACE the .cta-title styles */
.platform-cta {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 2px solid #eaeaea;
    text-align: left; /* Keep button left-aligned with content */
}

.platform-button {
    display: inline-block;
    background: #0a1e5e;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    border: 2px solid #000000;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
}

.platform-button:hover {
    background: #0a1e5e;
    border-color: #0a1e5e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Remove old .cta-title styles */
.cta-title {
    display: none; /* Hide the old text heading */
}

/* Responsive adjustments for the centered header */
@media (max-width: 768px) {
    .section-header.center-align {
        margin-bottom: 40px;
    }
    
    .platform-button {
        padding: 14px 32px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .section-header.center-align {
        margin-bottom: 30px;
    }
    
    .platform-button {
        padding: 12px 24px;
        font-size: 13px;
    }
}
/* Responsive Design */
@media (max-width: 992px) {
    .platform-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .text-content {
        padding-right: 0;
        order: 2;
    }
    
    .image-content {
        order: 1;
    }
    
    .image-placeholder {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .trading-platform-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .platform-name {
        font-size: 18px;
    }
    
    .platform-description {
        font-size: 15px;
        padding-left: 0;
    }
    
    .cta-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .platform-header {
        align-items: flex-start;
    }
    
    .platform-description {
        padding-left: 0;
    }
}
/* trading view */
.forex-tradingview-section {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Full-width blue container */
.forex-tradingview-card {
    background: #0a1e5e;
    width: 100%;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.forex-tradingview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.tradingview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Image on LEFT side */
.tradingview-image {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.image-container {
    width: 100%;
    max-width: 550px;
}

.tv-screenshot {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
    transform: perspective(1000px) rotateY(5deg);
    transition: transform 0.5s ease;
}

.tv-screenshot:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Text content on RIGHT side */
.tradingview-text {
    color: #ffffff;
}

.tv-title {
    font-size: 44px;
    font-weight: 700;
    margin: 0 0 24px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.tv-description {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.9);
}

.tv-description:last-of-type {
    margin-bottom: 32px;
}

/* Button styles */
.tv-button {
    display: inline-block;
    background: #ffffff;
    color: #0a1e5e;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 42px;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.tv-button:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .tradingview-content {
        gap: 60px;
    }
    
    .tv-title {
        font-size: 40px;
    }
}

@media (max-width: 992px) {
    .forex-tradingview-card {
        padding: 60px 0;
    }
    
    .tradingview-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    /* On mobile, image stays on top, text below */
    .tradingview-image {
        order: 1;
        justify-content: center;
    }
    
    .tradingview-text {
        order: 2;
        text-align: center;
    }
    
    .image-container {
        max-width: 450px;
    }
    
    .tv-title {
        font-size: 36px;
    }
    
    .tv-description {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .forex-tradingview-card {
        padding: 50px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .tv-title {
        font-size: 32px;
    }
    
    .tv-description {
        font-size: 16px;
    }
    
    .tv-button {
        padding: 14px 36px;
        font-size: 15px;
    }
    
    .tv-screenshot {
        transform: perspective(1000px) rotateY(0deg);
    }
}

@media (max-width: 480px) {
    .forex-tradingview-card {
        padding: 40px 0;
    }
    
    .tradingview-content {
        gap: 40px;
    }
    
    .tv-title {
        font-size: 28px;
    }
    
    .tv-button {
        padding: 12px 32px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
    }
}
/*calender treding container  */

 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #f5f5f5;
        }

        /* Header Section */
        .forex-trading-content {
            background: #ffffff;
            padding-top: 60px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .content-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .brand-header {
            margin-bottom: 25px;
        }

        .brand-title {
            font-size: 40px;
            font-weight: 800;
            color: #1a1a1a;
            margin: 0 0 5px 0;
            letter-spacing: -0.5px;
        }

        .brand-subtitle {
            font-size: 14px;
            color: #666;
            margin: 0;
            font-weight: 400;
        }

        .main-heading {
            font-size: 36px;
            font-weight: 700;
            color: #1a1a1a;
            margin: 0 0 12px 0;
            letter-spacing: -0.3px;
        }

        .main-subheading {
            font-size: 18px;
            color: #666;
            margin: 0 0 20px 0;
            font-weight: 400;
        }

        .experience-line {
            font-size: 18px;
            color: #333;
            margin-bottom: 40px;
        }

        .experience-dropdown {
            display: inline-block;
            padding: 8px 35px 8px 15px;
            border: 2px solid #003d82;
            border-radius: 20px;
            background: white;
            color: #003d82;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            position: relative;
            appearance: none;
        }

        .experience-dropdown:after {
            content: '▼';
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 10px;
        }

        /* Tab Navigation - Horizontal Boxes */
        .tab-navigation {
            background: #f8f9fa;
            padding: 30px 0;
            margin-bottom: 0;
        }

        .tab-grid {
            display: flex;
            gap: 0;
            max-width: 1100px;
            margin: 0 auto;
            background: white;
            border: 1px solid #e0e0e0;
        }

        .tab-item {
            flex: 1;
            padding: 25px 15px;
            text-align: center;
            cursor: pointer;
            background: white;
            border-right: 1px solid #e0e0e0;
            transition: all 0.3s ease;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .tab-item:last-child {
            border-right: none;
        }

        .tab-item:hover {
            background: #f8f9fa;
        }

        .tab-item.active {
            background: #003d82;
            color: white;
        }

        .tab-icon {
            width: 32px;
            height: 32px;
            margin: 0 auto 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .tab-icon svg {
            width: 24px;
            height: 24px;
            stroke: #003d82;
        }

        .tab-item.active .tab-icon svg {
            stroke: white;
        }

        .tab-title {
            font-size: 13px;
            font-weight: 500;
            color: #1a1a1a;
            line-height: 1.3;
        }

        .tab-item.active .tab-title {
            color: white;
            font-weight: 600;
        }

        /* Content Sections */
        .content-sections {
            padding: 80px 0;
            background: white;
        }

        .content-section {
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .content-section.active {
            display: block;
        }

        .content-detail {
            display: flex;
            align-items: center;
            gap: 60px;
            max-width: 1100px;
            margin: 0 auto;
        }

        .detail-text {
            flex: 1;
        }

        .detail-title {
            font-size: 36px;
            font-weight: 700;
            color: #1a1a1a;
            margin: 0 0 25px 0;
            line-height: 1.3;
        }

        .detail-description {
            font-size: 17px;
            color: #444;
            line-height: 1.7;
            margin: 0 0 35px 0;
        }

        .detail-button {
            display: inline-block;
            background: white;
            color: #003d82;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 14px 32px;
            border-radius: 4px;
            text-decoration: none;
            border: 2px solid #003d82;
            transition: all 0.3s ease;
        }

        .detail-button:hover {
            background: #003d82;
            color: white;
        }

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

        .image-wrapper {
            width: 100%;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .image-wrapper img {
            width: 100%;
            height: auto;
            display: block;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .tab-grid {
                flex-wrap: wrap;
            }
            
            .tab-item {
                flex: 1 1 calc(50% - 1px);
                border-right: 1px solid #e0e0e0;
                border-bottom: 1px solid #e0e0e0;
            }
            
            .tab-item:nth-child(2n) {
                border-right: none;
            }
            
            .content-detail {
                gap: 40px;
            }

            .detail-image {
                flex: 0 0 350px;
            }
        }

        @media (max-width: 768px) {
            .forex-trading-content {
                padding-top: 40px;
            }
            
            .brand-title {
                font-size: 32px;
            }
            
            .main-heading {
                font-size: 28px;
            }
            
            .tab-navigation {
                padding: 30px 0;
            }
            
            .content-sections {
                padding: 50px 0;
            }
            
            .content-detail {
                flex-direction: column;
                gap: 30px;
            }

            .detail-image {
                flex: 0 0 auto;
                width: 100%;
                max-width: 400px;
            }
            
            .detail-title {
                font-size: 28px;
            }
        }

        @media (max-width: 480px) {
            .tab-grid {
                flex-direction: column;
            }
            
            .tab-item {
                flex: 1 1 100%;
                border-right: none;
                border-bottom: 1px solid #e0e0e0;
            }

            .tab-item:last-child {
                border-bottom: none;
            }
            
            .brand-title {
                font-size: 28px;
            }
            
            .main-heading {
                font-size: 24px;
            }
            
            .detail-title {
                font-size: 24px;
            }
            
            .detail-description {
                font-size: 16px;
            }
            
            .detail-button {
                width: 100%;
                text-align: center;
            }
        }
        /* FIX 1: Safe container handling */
body {
    overflow-x: hidden;
    width: 100%;
}

/* FIX 2: Keep hero section as proper full-width */
.forex-hero-section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* FIX 3: Important - Make the hero section container stretch full width */
.forex-hero-section .forex-container {
    position: relative;
    z-index: 3;
    max-width: 1400px; /* Increased from 1200px to allow more space */
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* FIX 4: Adjust background overlay positioning */
.forex-background-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('https://www.forex.com/en/-/media/project/gain-capital/forex/heroes/landing-pages/local-presence-global-reputation/mea-brand-campaign-hp-lp-banner-desktop.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 1;
}

/* FIX 5: Gradient overlay - Keep the image half visible */
.forex-background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        #0a1e5e 0%,
        #0a1e5e 20%,
        rgba(10, 30, 94, 0.9) 30%,
        rgba(10, 30, 94, 0.7) 40%,
        rgba(10, 30, 94, 0.4) 50%,
        rgba(10, 30, 94, 0.1) 60%,
        transparent 70%
    );
    z-index: 2;
}

/* FIX 6: Market section positioning */
.forex-markets-section {
    position: relative;
    margin-top: -80px;
    padding: 0 15px 60px;
    z-index: 10;
    width: 100%;
}

.forex-markets-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* FIX 7: Mobile responsiveness for half-image banner */
@media (max-width: 1024px) {
    .forex-background-overlay {
        width: 45%;
    }
}

@media (max-width: 768px) {
    /* On mobile, make image full width but faded */
    .forex-background-overlay {
        width: 100%;
        opacity: 0.3;
        background-position: center;
    }
    
    .forex-background-overlay::after {
        background: linear-gradient(
            to bottom,
            #0a1e5e 0%,
            rgba(10, 30, 94, 0.8) 30%,
            rgba(10, 30, 94, 0.4) 60%,
            transparent 90%
        );
    }
    
    .forex-hero-content {
        max-width: 100%;
        margin-top: 20px;
    }
}

/* FIX 8: Other sections that need full width */
.forex-tradingview-card,
.tab-navigation {
    width: 100%;
    position: relative;
}

/* FIX 9: Container consistency */
.forex-container,
.why-forex-container,
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    overflow: visible;
}

/* FIX 10: Prevent horizontal scrolling */
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        position: relative;
    }
    
    * {
        max-width: 100%;
    }
}
/* =====================banner and why forex section recovery start========================== */

/* ========== FIX 2: WHY FOREX.COM SECTION RESPONSIVENESS ========== */

/* Make the container responsive */
.why-forex-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: space-between;
    align-items: flex-start;
}

/* LEFT SIDE - Make responsive */
.why-forex-left {
    width: 40%; /* Slightly adjusted width */
    text-align: left;
    padding-right: 20px;
}

/* RIGHT SIDE - Make responsive */
.why-forex-right {
    width: 56%; /* Slightly adjusted width */
}

/* Responsive grid for cards */
.why-forex-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    /* Banner adjustments */
    .forex-background-overlay {
        width: 45%; /* Slightly smaller on tablet */
    }
    
    .forex-hero-content {
        max-width: 500px;
    }
    
    /* Why Forex.com - Stack vertically */
    .why-forex-container {
        flex-direction: column;
    }
    
    .why-forex-left,
    .why-forex-right {
        width: 100% !important;
        max-width: 100%;
    }
    
    .why-forex-left {
        margin-bottom: 40px;
        padding-right: 0;
        text-align: center;
    }
    
    .why-forex-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Mobile (576px - 768px) */
@media (max-width: 768px) {
    /* Banner adjustments for mobile */
    .forex-hero-section {
        padding: 50px 0 80px;
    }
    
    .forex-background-overlay {
        width: 100%;
        opacity: 0.25;
        background-position: center;
    }
    
    .forex-background-overlay::after {
        background: linear-gradient(
            to bottom,
            #0a1e5e 0%,
            rgba(10, 30, 94, 0.8) 20%,
            rgba(10, 30, 94, 0.5) 40%,
            rgba(10, 30, 94, 0.3) 60%,
            transparent 80%
        );
    }
    
    .forex-hero-content {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    
    /* Why Forex.com - Single column cards */
    .why-forex-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .why-forex-card {
        padding: 20px;
    }
    
    .why-forex-left h2 {
        font-size: 28px;
    }
}

/* Small Mobile (under 576px) */
@media (max-width: 576px) {
    /* Banner adjustments */
    .forex-hero-title {
        font-size: 28px;
    }
    
    .forex-hero-description {
        font-size: 14px;
    }
    
    /* Why Forex.com - Further adjustments */
    .why-forex-section {
        padding: 50px 0;
    }
    
    .why-forex-left h2 {
        font-size: 24px;
    }
    
    .why-forex-left p {
        font-size: 15px;
    }
    
    .why-forex-card h3 {
        font-size: 18px;
    }
    
    .why-forex-card p {
        font-size: 13px;
    }
}

/* ========== FIX FOR OTHER SECTIONS ========== */

/* Ensure all containers are consistent */
.forex-container,
.why-forex-container,
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Prevent horizontal scrolling */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
}
/* =====================banner and why forex section recovery end========================== */