/* Modern Forex Services Page Styles */
.forex-modern-section {
    padding: 40px 0;
    background: #f8fafc;
}

.forex-modern-container {
    max-width: var(--custom-max-width);
    margin: 0 auto;
    padding: 0 30px;
}

/* Main Title */
.forex-modern-title {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 24px;
    text-align: left;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.forex-modern-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 280px !important;
    height: 4px !important;
    background: linear-gradient(90deg, #667eea 0%, #00d88a 65%, transparent 100%) !important;
    border-radius: 2px;
}

/* Intro Text */
.forex-modern-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 48px;
    text-align: left;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Activities List - Modern Clean Style */
.forex-activities-modern-list {
    list-style: none;
    padding: 0;
    margin: 0 0 56px 0;
    display: grid;
    gap: 12px;
}

.forex-activities-modern-list li {
    padding: 18px 24px;
    background: #ffffff;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    font-size: 16px;
    color: #1f2937;
    line-height: 1.6;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.forex-activities-modern-list li:hover {
    background: #eff6ff;
    border-left-color: #2563eb;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

/* Contact Section - Modern Card Layout */
.forex-modern-contact {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-modern-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.contact-modern-header i {
    font-size: 28px;
    color: #f59e0b;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.contact-modern-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Contact Grid Layout */
.contact-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-left-column,
.contact-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Manager Cards */
.manager-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.manager-card:hover {
    background: #ffffff;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}

.manager-card h4 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin: 0 0 8px 0;
}

.manager-card .name {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    display: block;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #475569;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail i {
    color: #3b82f6;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-detail strong {
    color: #1e293b;
    font-weight: 600;
}

/* Officers Section */
.officers-section {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #fcd34d;
}

.officers-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.officers-section h4 i {
    color: #f59e0b;
    font-size: 18px;
}

.officer-item {
    padding: 16px 0;
    border-bottom: 1px solid #fde68a;
}

.officer-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.officer-item:first-child {
    padding-top: 0;
}

.officer-name {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.officer-role {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 8px;
    font-style: italic;
}

/* Corporate Section */
.forex-modern-corporate {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.corporate-modern-title {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
    text-align: left;
    letter-spacing: -0.3px;
}

.corporate-modern-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 24px;
}

.corporate-modern-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.corporate-modern-list li {
    font-size: 16px;
    color: #1f2937;
    padding-left: 32px;
    position: relative;
    line-height: 1.6;
    font-weight: 500;
    padding: 12px 16px 12px 44px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.corporate-modern-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Pro';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #10b981;
    font-size: 16px;
    font-weight: 900;
    width: 24px;
    height: 24px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.corporate-modern-list li:hover {
    background: #eff6ff;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-modern-grid {
        grid-template-columns: 1fr;
    }
    
    .corporate-modern-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .forex-modern-section {
        padding: 40px 0;
    }
    
    .forex-modern-container {
        padding: 0 20px;
    }

    .forex-modern-title {
        font-size: 28px;
    }

    .forex-modern-contact,
    .forex-modern-corporate {
        padding: 24px;
    }

    .corporate-modern-title {
        font-size: 22px;
    }

    .contact-modern-header {
        flex-direction: column;
        text-align: center;
    }

    .contact-modern-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Title Backgrounds */
#tf-page-title .bg-layer {
    background-image: url(../images/background/innerbanner02.webp);
}

#tf-page-title .pattern-1 {
    background-image: url(../images/shape/shape-18.png);
}

#tf-page-title .pattern-2 {
    background-image: url(../images/shape/shape-17.png);
}