/* Online Trading Page Styles */

.downloads-container {
    margin-top: 20px;
}

.download-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.download-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.download-info h5 {
    margin: 0 0 5px 0;
    color: #333;
    font-weight: 600;
}

.download-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.download-action .btn {
    min-width: 120px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-action .btn:hover {
    transform: scale(1.05);
}

.download-action .btn i {
    margin-right: 8px;
}

.mobile-apps-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    color: white;
}

.mobile-apps-section h5 {
    color: white;
    font-weight: 600;
}

.app-downloads {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.app-badge {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.app-store-link:hover .app-badge,
.play-store-link:hover .app-badge {
    transform: scale(1.1);
}

.manual-content,
.agreement-content,
.pcc-content {
    padding: 20px 0;
}

.manual-content .download-item,
.agreement-content .download-item,
.pcc-content .download-item {
    max-width: 600px;
    margin: 20px auto;
}

/* Service sections improvements */
.services3-list {
    padding: 60px 0;
}

.services3-list.gray {
    background-color: #f8f9fa;
}

.text-padding {
    padding: 30px;
}

.text-padding h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.text-padding span {
    font-size: 48px;
    color: #007bff;
    display: block;
    margin-bottom: 10px;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Tab improvements */
.tabbable.bigtabs .nav-tabs {
    border-bottom: 3px solid #007bff;
}

.tabbable.bigtabs .nav-tabs > li > a {
    padding: 15px 20px;
    font-weight: 500;
    color: #666;
    border: none;
    border-radius: 0;
    background: none;
}

.tabbable.bigtabs .nav-tabs > li.active > a {
    background-color: #007bff;
    color: white;
    border: none;
}

.tabbable.bigtabs .nav-tabs > li > a .badge {
    background-color: #28a745;
    margin-right: 10px;
}

.tab-content {
    padding: 30px 20px;
    background: white;
    border: 1px solid #e9ecef;
    border-top: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .download-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .download-info {
        margin-bottom: 15px;
    }
    
    .app-downloads {
        flex-direction: column;
        align-items: center;
    }
    
    .text-padding {
        padding: 20px;
        text-align: center;
    }
    
    .service-image {
        margin-top: 30px;
    }
    
    .tabbable.bigtabs .nav-tabs > li > a {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .download-item {
        padding: 15px;
    }
    
    .mobile-apps-section {
        padding: 20px;
    }
    
    .app-badge {
        height: 50px;
    }
}

/* Intro section styling */
.introtext {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.introtext h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.introtext h2 span {
    color: #007bff;
}

.introtext p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.introtext hr.small {
    width: 100px;
    height: 3px;
    background-color: #007bff;
    border: none;
    margin: 0 auto;
}
